Fix spelling mistakes

Fixes a few spelling mistakes in the README.

/// The minium pressure that the button press has to receive in order to trigger the related haptic feedback. The value has to be between 0 and 1 and the default is 0.25.

Changed to:

/// The minimum pressure that the button press has to receive in order to trigger the related haptic feedback. The value has to be between 0 and 1 and the default is 0.25.

The user is required to press the button and activate 3D Touch with a minimum pressure threshold (you can specify the minimum value to trigger the button via the feedbackThreshold property). This allows for a cool interaction that gives an haptic feedback to the user when the button is triggered. 👍

Changed to:

The user is required to press the button and activate 3D Touch with a minimum pressure threshold (you can specify the minimum value to trigger the button via the feedbackThreshold property). This allows for a cool interaction that gives a haptic feedback to the user when the button is triggered. 👍

Thank you!

No problem 👍


Video streaming over network

Hi,
I looked into one of the demos for 360 video playback. I was wondering if there is any demo for networked streaming of videos, that can use MPEG-DASH?
If your players work on top of Android's MediaPlayer, it doesn't support DASH yet. Google has an open source project called ExoPlayer (http://google.github.io/ExoPlayer/) that supports DASH.

Interesting.  I'm not familiar with the ExoPlayer api, but I would hope it at least has some similar apis to MediaPlayer.  If you look into the source of GVRVideoSceneObject.java, you'll see the key thing needed is to give the MediaPlayer a SurfaceTexture to use.  The GVRVideoSceneObject creates the SurfaceTexture and then hands it to the MediaPlayer.  Assuming the same capability exists with ExoPlayer, you should be able to modify GVRVideoSceneObject to use ExoPlayer.

Is this the thing you wanted me to look into?
From: thomasflynn<EMAIL_ADDRESS>Sent: Thursday, June 2, 2016 6:00 PM
To: Samsung/GearVRf<EMAIL_ADDRESS>Subject: Re: [Samsung/GearVRf] Video streaming over network (#598)
Interesting. I'm not familiar with the ExoPlayer api, but I would hope it at least has some similar apis to MediaPlayer. If you look into the source of GVRVideoSceneObject.java, you'll see the key thing needed is to give the MediaPlayer a SurfaceTexture to use. The GVRVideoSceneObject creates the SurfaceTexture and then hands it to the MediaPlayer. Assuming the same capability exists with ExoPlayer, you should be able to modify GVRVideoSceneObject to use ExoPlayer.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Samsung/GearVRf/issues/598#issuecomment-223464879, or mute the threadhttps://github.com/notifications/unsubscribe/AQw1S3-390CTWp39zJeI8ajq55ufhorJks5qH3x3gaJpZM4ItHJR.

No, this is a new issue that popped up a few minutes ago.
From: NolaDonato<EMAIL_ADDRESS>Sent: Thursday, June 02, 2016 6:19 PM
To: Samsung/GearVRf
Cc: Thomas Flynn; Comment
Subject: Re: [Samsung/GearVRf] Video streaming over network (#598)
Is this the thing you wanted me to look into?
From: thomasflynn<EMAIL_ADDRESS>Sent: Thursday, June 2, 2016 6:00 PM
To: Samsung/GearVRf<EMAIL_ADDRESS>Subject: Re: [Samsung/GearVRf] Video streaming over network (#598)
Interesting. I'm not familiar with the ExoPlayer api, but I would hope it at least has some similar apis to MediaPlayer. If you look into the source of GVRVideoSceneObject.java, you'll see the key thing needed is to give the MediaPlayer a SurfaceTexture to use. The GVRVideoSceneObject creates the SurfaceTexture and then hands it to the MediaPlayer. Assuming the same capability exists with ExoPlayer, you should be able to modify GVRVideoSceneObject to use ExoPlayer.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Samsung/GearVRf/issues/598#issuecomment-223464879, or mute the threadhttps://github.com/notifications/unsubscribe/AQw1S3-390CTWp39zJeI8ajq55ufhorJks5qH3x3gaJpZM4ItHJR.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Samsung/GearVRf/issues/598#issuecomment-223467311, or mute the threadhttps://github.com/notifications/unsubscribe/AJOFSvHUyI24h3FEGpyYfT1Y8mNDYT1Uks5qH4EQgaJpZM4ItHJR.

Looks like ExoPlayer accepts a Surface. You pass a SurfaceTexture to the Surface constructor. So it seems feasible that a tweaked GVRVideoSceneObject would work with ExoPlayer.
@arianaa30 Does this help?

That would be awesome! Is it possible put a sample using exoplayer? More importantly my only need to pay multiple videos on a 360 view. Maybe you tie this to my open case #609 ?

Hi @arianaa30 ! Is it finally possible to use ExoPlayer instead of MediaPlayer? If so, do you have any example?
Thanks a lot

They suggested it is possible. I never tested it though.
Sent from my phone. Pls excuse typos and brevity.
On Sep 5, 2016 5:50 AM, "LaraMunozSanchez"<EMAIL_ADDRESS>wrote:

Hi @arianaa30 https://github.com/arianaa30 ! Is it finally possible to
use ExoPlayer instead of MediaPlayer? If so, do you have any example?
Thanks a lot
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Samsung/GearVRf/issues/598#issuecomment-244718173,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFQSzUhPzjF4RYKUcz-t6FGrPHKqtclhks5qm_PegaJpZM4ItHJR
.

Don´t worry! Thanks for your quick answer.

Please share the example if you made it work!
Sent from my phone. Pls excuse typos and brevity.
On Sep 6, 2016 3:25 AM, "LaraMunozSanchez"<EMAIL_ADDRESS>wrote:

Don´t worry! Thanks for your quick answer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Samsung/GearVRf/issues/598#issuecomment-244883121,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFQSzeg8O17PkaDySFqS9uKAxqsI49zjks5qnSNygaJpZM4ItHJR
.

We have something in the works. The pull requests are pending review so they are subject to changes.
Small changes to the framework to let the videoSceneObject use ExoPlayer
https://github.com/Samsung/GearVRf/pull/845
Updated sample that can use either MediaPlayer or the ExoPlayer. Set the USE_EXO_PLAYER flag to have the sample use ExoPlayer.
https://github.com/gearvrf/GearVRf-Demos/pull/318

Thanks a lot @liaxim , I have a question... How can I play a DASH content? Do you have any example?

Hi, playing DASH would be an ExoPlayer question. You should look around at their web site - I am sure they have examples. If you have problems integrating that with GVRF we can provide further assistance.

Hi, that was my problem. I can play DASH content using ExoPlayer, but I don't know how to integrate it with GVRF. In the ExoPlayer example you can specify that you are using DASH content, but I can't find how to specify it throw GVRF so any assistance will be welcomed.
Thanks!

Hi, that was my problem. I can play DASH content using ExoPlayer, but I don't know how to integrate it with GVRF. In the ExoPlayer example you can specify that you are using DASH content, but I can't find how to specify it through GVRF so any assistance will be welcomed.
Thanks!

The change in the framework has been merged. Please look at the gvr-360video sample, specifically the Minimal360VideoActivity class. There is a flag to enable use of the ExoPlayer (USE_EXO_PLAYER). The essence of the integration is in the makeExoPlayer method.

Any luck using the ExoPlayer? Can we close this issue now?

I can´t play DASH content with GVRF yet. I will continue trying.

Let us know if you are experiencing problem with GVRF itself.

It seems like the manifest is never loaded. Doing the same with the ExoPlayer´s demo it works, so it can be a GVRF or an integration problem, I´m not sure. Any idea? Has anyone tried to use other renderers (DASH, HLS or SmoothStreaming)?

Can you share any logcat output? To my knowledge nobody has tried other renderers. I will try DASH but I can't give a time frame when.


Question about a small detail

In evaluate.py, function calc_dists, the Euclidean distance will be calculated under the condition:
if target[n, c, 0] > 1 and target[n, c, 1] > 1:
It seems that you exclude the case where the target coordinates are in [0, 1], so why do this?

I think you may aim to preserve the groundtruth coordinates when carry on one pixel shifting of flip testing. Is it right?

@seekFire
You may need to ask the author of HRNet
https://github.com/leoxiaobin/deep-high-resolution-net.pytorch/


Update .Net Core runtime from 3.0-preview6 to preview7

PR Summary
Update also the out of band NuGet packages to preview7 as well except the ones that could not be updated in the past (System.ServiceProcess.ServiceController and the WindowsCompatibility package that has a dependency on it, issue #10067 is tracking that)
Notes: .Net Core Runtime does not ship SOS dll any more by default (out of band now) and it seems they've removed a few localised DLLs as well (probably as part of their SDK size optimisation). The SOS dll is now an optional install addon to the dotnet cli and not a NuGet package. I'm not 100% sure if we can just stop shipping that DLL or some people have a dependency on it somehow?
Fixes #9998 (manually tested)
PR Context
https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0-preview-7
https://github.com/dotnet/core/blob/master/release-notes/3.0/preview/3.0.0-preview7.md
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
SOS DLL not shipped any more. Should we re-add it for back-compat?
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

We could set <LangVersion>preview</LangVersion>.

@iSazonov According to the docs, this should already be the default but even if not, I'd prefer a separate PR for that as it seems unrelated
https://docs.microsoft.com/dotnet/csharp/language-reference/configure-language-version

The SOS dll is used when it's time to debug powershell using WinDbg. It's useful to keep it there.

The SOS dll is now an optional install addon to the dotnet cli and not a NuGet package.

Can you please point me to the instructions about installing SOS dll?

@daxian-dbw Installation instructions for SOS are here now:
https://github.com/dotnet/diagnostics#installing-sos

NB: I now also update the out of band NuGet packages to preview7 as well since the tests are green with it. This applies to all out of band Nuget packages except the ones that could not be updated in the past for preview6 (System.ServiceProcess.ServiceController and the WindowsCompatibility package that has a dependency on it, issue #10067 is tracking that)

@bergmeister Does the service cmdlet failure still persist even with the preview7 version of the System.ServiceProcess.ServiceController NuGet package?

@daxian-dbw Yes, see the test build here. I have even tried older preview version (back to preview3) of .Net Core 3 and all those packages cause the same 2 failures. @iSazonov suspects it might be the GC: https://github.com/PowerShell/PowerShell/issues/10067#issuecomment-508948459
After the STA commit got merged into master recently, the newly added tests is failing now for preview7, I provided lots of details in my comment here and it is again not easy to isolate the problem into a simple repro that we could give the WPF team but maybe just the error message could help them find out what goes wrong

The static analysis failure is fixed via https://github.com/PowerShell/PowerShell/pull/10297
Doing a manual build of your branch, there is a warning that <UseWpf> and <UseWindowsForms> needs to be explicitly set to true.  This appears to be a change from Preview6 where it was implicit when using the DesktopSDK.  Adding it conditionally fixes the type exception.

The static analysis failure is unrelated to this PR and a fix is coming in a separate PR.
[-] http://powershell.com/cs/blogs/ebookv2/default.aspx should work 92ms
        RuntimeException: retry of URL failed with error:
        at <ScriptBlock>, /home/vsts/work/1/s/test/common/markdown/markdown-link.tests.ps1: line 111


GoogleMap not re-rendering on navigation

Google Maps is not rendering when navigating from the  component and back.
Steps:

Open the demo app
Click any link in the left side
Click 'Maps'
The 'Rendered Google JavaScript Maps:' is empty.

Hi @rodael,
Thanks for noticing this issue. It seems Google map JS problems. I will try to come up with some solutions.

All looks good now. Fix will be released in v1.4.0 with other new components. Probably in 1 month or so... Until then if you find anything else just report it as well. Thanks.

Hi @rodael,
This issue now fixed and released with v1.4.0

Hi @rodael,
This issue now fixed and released with v1.4.0

Awesome! Thanks :)

Hello
I have a bit of similar issue
When using the map inside a Modal
After closing the Modal and trying to open again
we get this error and the map isn't visible
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Cannot access a disposed object.
Object name: 'JSObjectReference'.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'JSObjectReference'.
I Also have the same issue even when used in pages and after navigating out of the page that has the map and then back in, i get the same exception
Thank you.

Hi @NO1225,
Thanks for contacting. The original issue was in v1.3.0. Due to gtag.js registration problems. So this seem a different issue. You can test it by reverting back to v1.3.0...
For me it seems you might have a @ref to the Maps component outside of the Modal dialog. When HTML of the dialog removed from the DOM or you navigate to another page. Blazor Framework will disposes all IDisposable or IAsyncDisposable components. And since you hold a reference "outside" you still can access the component or service reference, but it was already disposed. Is this the case?
Please see Google Maps demo. When you navigate back and forth to this page it does not throws exception. So probably the issue is in your code.
Please try to check the demo code and compare what is the diff. If you cannot find it please provide some example how you are using the Maps components.

Thank you very much
The problem was that I added the services as scoped
And scoped services act like singletons in blazor
Switching to transient solved the problem.
Thank you for the wonderful library

Ah ok so it is already fixed... Quick one :)
Not sure which service registrations are you referring. But if it is belonging to the Maps or JS interop, Geolocations, etc. Then you can use the extension methods provided by components. Check the docs Usage sections.
Blazor WASM:
builder.Services.AddJsInteropExtensions();
builder.Services.AddMapExtensions();

Blazor Server:
services.AddJsInteropExtensions();
services.AddMapExtensions();

I enjoy developing these components and learning new tech... So welcome!
Check out the other components I also have Modal, etc. Many new is coming soon. Next ones should be some more Map types. Also you can the repo, etc. Thank you!


do not set mono paths in standalone mode

Since we now run in stand alone mode on top of mono 6.4.0 and raised the global mono minimum version to 6.4.0, we should not need to set mono paths in stand alone mode anymore.
This fixes https://github.com/OmniSharp/omnisharp-vscode/issues/3410 and fixes https://github.com/OmniSharp/omnisharp-vscode/issues/3340 and a couple of other issues that I need to dig up (also lots of errors were reported as comments under old closed issues). In short the problem was, if you have old Mono (say 5.4.0) installed, we don't pick it as global Mono as it's < 6.4.0 and run in standalone mode. However we still set:
TargetFrameworkRootPath = /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks
MSBuildExtensionsPath = /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild

which causes .NET Core 3.0 to fail.
By the way, the tests explicitly avoided to set any mono paths, so any problem with this, and users reported plenty, only ever manifested itself only once running OmniSharp server in real world.

fixes https://github.com/OmniSharp/omnisharp-roslyn/issues/1650 too

Thanks!


numberOfFoundDocuments

in version 1.2 - $this->numberOfFoundDocuments = $response->getNumFound();
in FS/SolrBundle/Solr.php on line 259.
In version 1.5, this is not method getNumFound () always returns 0.
Or I do not understand how you can get the number of results found?

getNumFound is a bit deprecated
If you use query() you get an array of document which is countable, same with repository methods like findAll().

The documentation is written:
$ Query = $ this-> get ( 'solr.client') -> createQuery ( 'AcmeDemoBundle: Post');
$ Query-> addSearchTerm ( 'title', 'my title');
$ Query-> addSearchTerm ( 'collection_field', array ( 'value1', 'value2'));
$ Result = $ query-> getResult ();
By default, array ($ result) 10 elements that needs to be done to find out the number of found suddenly all was found 11 records or 11 million? :)
If more specific I need to do pagination on the search page.
Or do I need to put a large number of known $ query-> setRows (1000000); and then calculate the result?

$query->setRows(1000000); would be to expensive only for a calculation. I have restored the old behavior of getNumFound.

Thank you very much.


[FLINK-30783][Connectors/AWS] Add a pull request template

Purpose of the change
Adds a pull request template.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request change:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Thanks for the contributions @hlteoh37 , LGTM


Add pre- and post-download scripts

Specially marked scripts in the Gist could be ran and then deleted before/after the files have been downloaded.
This should have a fairly prominent warning. For security I'm marking this as blocked by #1 and in fact maybe this should require a separate flag?

The script will be made executable and then ran; I'm marking this as blocked by #8 as the code for chmoding the files should be shared.


Update SFCalc entry... again

Description
Updated SF version
Reason
New SF version (RC-16) came out

Done


[FLINK-21050][examples-table] Add some advanced function examples

What is the purpose of the change
/**
 * Example for implementing more complex {@link UserDefinedFunction}s.
 *
 *
In many use cases, function signatures can be reflectively extracted from a UDF class. The
 * annotations {@link DataTypeHint} and {@link FunctionHint} help if reflective information is not
 * enough and needs to be enriched with further logical details. Check the website documentation as
 * well as the docs of {@link ScalarFunction}, {@link TableFunction}, and {@link AggregateFunction}
 * for more information.
 *
 *
Both reflective extraction and annotations are suitable for function signatures with fixed
 * input and output types. However, for advanced use cases it might be required to derive an output
 * type from one of the argument types or perform stricter validation.
 *
 *
This example demonstrates various UDF implementations. We are executing multiple Flink jobs
 * where the result is written to stdout.
 */

Brief change log

LastDatedValueFunction aggregate function added
InternalRowMergerFunction function added

Verifying this change
This change added tests and can be verified as follows:  AdvancedFunctionsExampleITCase
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? JavaDocs

Thanks for the review @sjwiesman. I agree general UDF blog post would be nice. Better examples are just the beginning ;)

Thanks for the review @sjwiesman. I agree general UDF blog post would be nice. Better examples are just the beginning ;)


include config file syntax

Should support url includes

things get a little more interesting with nested includes or relative resource refs from an included file


Flag disabling SplitBrain

NoSplitBrain flag; If false (default) splitBrain is enabled, no metter what EdgeDNSType you use.
To disable SplitBrain, set NO_SPLIT_BRAIN to true

I added new field to depresolver Config (NoSplitBrain) and introduced new env var NO_SPLIT_BRAIN.
I updated Infoblox provider to skip TXT interractions when !NoSplitBrain
Me & @k0da made e2e tests against test clusters
Fix heartbeat issue for Infoblox provider

Signed-off-by: kuritka<EMAIL_ADDRESS>

@somaritane @ytsarev @k0da
pushed,

e2e tests with @k0da
with k0da we also fixed the heartbeat issue [1] [2]

Consider making splitbrain 'enabling' semantics instead of prevention. It will be much more obvious for end user

yes I see -  with default value true, but what if value is invalid, also true? disabling semantics is much easier in this.

Consider making splitbrain 'enabling' semantics instead of prevention. It will be much more obvious for end user

yes I see - with default value true, but what if value is invalid, also true? disabling semantics is much easier in this.

Ok, https://github.com/AbsaOSS/k8gb/pull/465#discussion_r626320501 proposal looks fine


[FEATURE_REQUEST] Widget for displaying locally stored images

Is your feature request related to a problem? If so, please describe.
I would like to include images on my dashboard.
This can be rendered Grafana graphics or just pictures from my last vacation.
Describe the solution you'd like
The widget should display an image from the local /app/public/item-icons directory. Maybe it would be better to provide a separate directory for this. It would be great to be able to select a single image or play random images from a directory.
Thanks a lot for DASHY! I use it every day and find it really cool.
Priority
Low (Nice-to-have)
Is this something you would be keen to implement
No response

Heya,
So you can actually already do this, with either of the dynamic widget options, you can make your own widget.
Foe example, using the HTML Embedded Widget, your config would be:
- type: embed
  options:
    html: ''

We could add a dedicated widget just for displaying images, it would be really easy to do by extending from the widgetMixin.
For example, src\components\Widgets\ImageWidget.vue:
<template>

</template>

Then just import that file in WidgetBase.vue, and maybe add it into the docs. More details on doing so is available here.

I've implemented this in #488, Let me know how you get on with that

Example
- name: Image Example
  icon: far fa-image
  widgets:
  - type: image
    options:
      imagePath: https://picsum.photos/400

See the Docs for full usage instructions.

Thanks a lot, this works great!
In docker-compose I mount the directory
- ${SSDPROD}/dashy/media:/app/public/media
and then can use
      - type: image
        options:
           imagePath: /media/bobcat1.png

in Dashy to show it.
The given links on https://github.com/Lissy93/dashy/blob/master/docs/widgets.md#image are very helpful!


Expanded/updated the docs explaining transaction validation

based on reading the code for the validate method of the Transaction class, in bigchaindb/models.py.

Current coverage is 96.44% (diff: 100%)

Merging #766 into master will not change coverage

@@             master       #766   diff @@
==========================================
  Files            25         25
  Lines          1602       1602
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1545       1545
  Misses           57         57
  Partials          0          0

Powered by Codecov. Last update bd12972...78694b6

:+1:


climc: k8s remove registrysecret create command

这个 PR 实现什么功能/修复什么问题:

是否需要 backport 到之前的 release 分支:

3.1

/area climc
/cc @wanyaoqi

Codecov Report

Merging #5669 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5669      +/-   ##
==========================================
+ Coverage    6.96%    6.97%   +0.01%
==========================================
  Files         624      624
  Lines      105534   105534
==========================================
+ Hits         7347     7358      +11
+ Misses      97612    97600      -12
- Partials      575      576       +1

Flag
Coverage Δ

#aFlag
6.97% <ø> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudcommon/cronman/cronman.go
50.87% <0.00%> (+4.82%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8adc5ed...5c55c98. Read the comment docs.

/lgtm
/approve


Rl

Changes:

CMakeList.txt: compile mode changed to release, optimization level changed from o2 to o3.
Added benchmarks circuits circuit/QFT_and_Adders/.
Reoranized benchmark qasm files. In circuits, added  1)nam_circs, containing benchmarks in nam's gate set; 2) nam_rm_circs, containing benchmarks in nam's gate set after rotation merging; 3) t_tdg_circs, containing benchmarks in t_tdg gate set; 4) t_tdg_rm_circs, containing benchmarks in t_tdg gate set after rotation merging. All files in these four directories are originated from nam-benchmark, and used greedy toffoli flip to decompose toffoli gates.
Added four python test files in src/test, which are 1) test_nam_rm.py and test_nam_worm.py, testing optimization in nam's gate set with and without rotation merging respectively; 2) test_t_tdg_rm.py and test_t_tdg_worm.py testing optimization in t_tdg gate set with and without rotation merging respectively.
Added new optimize API in Graph.
Added src/test/test_optimize to test the new optimize API.
Added API to directly load a qasm file into Graph in Graph.
Added src/test/test_from_and_to_qasm to test the new API that load qasm to Graph.
Added constrain for GraphXfer creation, that is, the source circuit must be connected.
Formatted some unformatted qasm files.

It seems that there are some conflicts with the master branch...

I'll try to resolve them right away.


Missing documentation: releases section of manifest supports URLs

I'm not sure anymore what variations are supported anymore in the various CLI versions.  At one point, it used to be:

can specify latest, and it will just use what's on the director
can specify version, and it will use it if it's on the director
can specify remote tarball URL, along with version and SHA1
can specify local tarball file:/// URL, along with version (no need for SHA1)
can specify local release directory path, along with version create, and it will create the release and upload it for you.

I think at minimum all versions of the CLI support the remote URL specification, though not sure whether they treat version and SHA1 the same.  Either way, would be nice to have all the supported fields in the releases block of the manifest documented.
/cc @tinygrasshopper

Closing - documented at bosh.io/docs/release-urls


Add support for edge cases around soft commitments

Currently in conductor, soft commits (gossiped) transactions are executed (via DoBlock) and firm commits (from DA) are finalized (FinalizeBlock).
We need support for various edge cases where transactions aren't seen immediately:

gossip not working, transactions seen first in DA
missed astria block via gossip (ie block number 10 received but 9 is not)

aren't those two cases the same? ie. the block was received from DA before gossip?

Related but not fully the same.
Both are blocks not received over gossip, but one is a flaky gossip vs fully borked. We could fully solve fully broken, while flaky is still incorrect.


Remove tokens and classes helpers

Since #737, we no longer need these helpers.

@willcosgrove can you think of any reason why we should keep these?

I can't think of a long term reason to keep them around. It might be nice if they didn't disappear at the same time as a new way gets introduced, just so the migration isn't as cumbersome

It might be nice if they didn't disappear at the same time as a new way gets introduced, just so the migration isn't as cumbersome

That’s true, but introducing the new way and removing the old way are both breaking changes. We’d either need to keep them around until 3.0 or remove them with 2.0 or sneak the new way out in a 1.x release even though it’s technically breaking.

passing a Hash was previously resulting in to_s to be called
I think it would have made hyphenated HTML attributes:

div(class: { foo: true }) # => <div class-foo></div>

But I think your point still stands: while technically breaking existing behavior, it is unlikely anyone was relying on it for class and style specifically.

Can we make them issue a deprecation warning and remove them in a later point release? Or maybe I'm the only one using them 😳 In which case, I don't need a slow removal of them for myself.

It might be nice if they didn't disappear at the same time as a new way gets introduced, just so the migration isn't as cumbersome

That’s true, but introducing the new way and removing the old way are both breaking changes. We’d either need to keep them around until 3.0 or sneak the new way out in a 1.x release even though it’s technically breaking.

Does having the new way available really break any existing code?

Does having the new way available really break any existing code?

Technically/theoretically, yes. Realistically, no way.
Let’s port the new behaviour back to 1.x and add a deprecation warning to these helpers. I’m happy to work on that. We’re due a 1.11 release anyway.

I’m going to ship this to main, which is tracking 2.0. But I’ll back port the other changes and deprecations.


person update stream columns are in the wrong order

should be like this:
personId
firstName
lastName
gender
birthday
creationDate
locationIp
browserUsed
cityId
languages
emails
tagIds
studyAts
workAts

This should be fixed.


All test-databases patched to e88

Coverage decreased (-0.006%) to 81.581% when pulling f182365f5183b2a84a19f8c33258d81726bf0cba on muffato:testdb_patch into 7b10d32272918e6f8dc3e802e4217ad5b518252c on Ensembl:master.


React-native-v8 support?

Ask your Question
I'm using react-native-v8 instead of hermes or jsc. After complete installation guide and run command
react-native webpack-start --verbose
Produces (infinite running):
$ npx react-native webpack-start --verbose
ℹ [12:34:41.725Z][DevServerProxy] Server listening at http://[::]:8081
? [12:34:41.862Z][DevServerProxy] Message client connected { clientId: 'client#0' }
ℹ [12:34:42.340Z][DevServerProxy] Hermes device connected { deviceId: 0 }
? [12:34:58.240Z][DevServerProxy] Message client disconnected { clientId: 'client#0' }
? [12:34:58.276Z][DevServerProxy] Message client connected { clientId: 'client#1' }
? [12:34:58.981Z][DevServerProxy] Message client disconnected { clientId: 'client#1' }
ℹ [12:34:58.983Z][DevServerProxy] Hermes device disconnected { deviceId: 0 }

⠼ Running...

Have support for react-native-v8?

I don't see why react-native-webpack-toolkit wouldn't work with react-native-v8. From these logs the app is not requesting a bundle so nothing happens. Are you sure you're running your app in debug mode so that it get's JS from development server?

Closing due to inactivity.


Feature Request: Ability to see all available remote RBAC (SAML) groups for usage.

What kind of request is this (question/bug/enhancement/feature request):
Feature Request
Steps to reproduce (least amount of steps as possible):
Add a 3rd party RBAC system via any of our supported methods: SAML or AD or Azure AD, Key Cloak, etc. Then as a local or any user not in a remote group, try to add permissions for that group.
Result:
Only groups of which you are a member are displayed, regardless of admin status within Rancher.
Other details that may be helpful:
I would expect to be able to use the rbac service account credentials to be used to retrieve and update a list of groups on the Rancher side.
Environment information
Experienced in 2.3. 2.4, 2.5

Going to close this in favor of a more specific issue.

Going to close this in favor of a more specific issue.


Handle XML data (t-shirt)

Size = Rob's guess

Reduced placeholder, cards written

Epic completed, killing the placeholder


PostgreSQL database connection fails: No such file or directory

Setup
Versions

Rust: rustc 1.31.0 (abe02cefd 2018-12-04)
Diesel: 1.3.3
Database: PostgreSQL 11.1
Operating System Linux, Debian testing

Feature Flags

diesel: postgres

Problem Description
Establishing a DB connection to a postgresql server with the URL postgres://r@/ff-node-monitor fails saying
BadConnection("could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket \"/var/run/postgresql/.s.PGSQL.5432\"?\n")

What are you trying to accomplish?
Connecting to a PostgreSQL server.
What is the expected output?
A successful connection.
What is the actual output?
BadConnection("could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket \"/var/run/postgresql/.s.PGSQL.5432\"?\n")

It seems like the PID is off-by-1 for some reason:
$ ls /var/run/postgresql/ -lah
total 8,0K
drwxrwsr-x  3 postgres postgres  120 Dez  8 12:23 .
drwxr-xr-x 36 root     root     1,1K Dez  8 09:32 ..
drwxr-s---  2 postgres postgres  120 Dez  8 12:33 11-main.pg_stat_tmp
-rw-r--r--  1 postgres postgres    5 Dez  8 12:23 11-main.pid
srwxrwxrwx  1 postgres postgres    0 Dez  8 12:23 .s.PGSQL.5433
-rw-------  1 postgres postgres   69 Dez  8 12:23 .s.PGSQL.5433.lock

I don't know how diesel and postgres interact here. psql itself is working fine. This also used to work fine several weeks ago, but since then both postgres and diesel were updated.
Are you seeing any additional errors?
No.
Steps to reproduce
fn main() {
  use diesel::pg::PgConnection;
  use diesel::connection::Connection;
  PgConnection::establish("postgres://r@/ff-node-monitor").unwrap();
}

Checklist

[x] I have already looked over the issue tracker for similar issues.
[x] This issue can be reproduced on Rust's stable channel. (Your issue will be
closed if this is not the case.)

(This stable-only requirement makes it a lot of work to create a bugreport, when the issue only occurs in a nightly-only project. For errors like this one, I don't think it is reasonable.)

Turns out Debian considers it normal to change the psql DB port during a DB upgrade.  Hence my DB now listens on port 5433, where it previously listened on 5432.  I find that rather startling, but it's not diesel's problem.

Seems like this is a configuration error.
The "requirement" to reproduce this on stable is coming from a time where we got the same bug report about some known nightly breakage several times a day.


WIP: Rustify absolute url

See #334. This is still work in progress, since I'm not sure how to do the error handling. See comments.

Coverage decreased (-0.1%) to 40.094% when pulling 78eb68ed11a7c68bd9901b070bf80b87620f0bac on rnestler:rustify-absolute-url into 6e9660f5dcf5a4c7ca5a7c39b10873359f27186d on newsboat:master.

Coverage decreased (-0.1%) to 40.094% when pulling 78eb68ed11a7c68bd9901b070bf80b87620f0bac on rnestler:rustify-absolute-url into 6e9660f5dcf5a4c7ca5a7c39b10873359f27186d on newsboat:master.

Coverage decreased (-0.1%) to 40.094% when pulling 78eb68ed11a7c68bd9901b070bf80b87620f0bac on rnestler:rustify-absolute-url into 6e9660f5dcf5a4c7ca5a7c39b10873359f27186d on newsboat:master.

Coverage decreased (-0.1%) to 40.094% when pulling 78eb68ed11a7c68bd9901b070bf80b87620f0bac on rnestler:rustify-absolute-url into 6e9660f5dcf5a4c7ca5a7c39b10873359f27186d on newsboat:master.

Thank you very much, @rnestler!


initial version for release action

This requires the following organisation or repository secrets:

GPG_PRIVATE_KEY, the private key for signing the release
GPG_PASSPHRASE, the passphrase for using the private key
OSSRH_TOKEN_USER, the user name of a user for OSSRH for deploying to Maven Central, https://central.sonatype.org/publish/publish-guide/
OSSRH_TOKEN_PASSWORD, the token of a user for OSSRH for deploying to Maven Central, should be created via https://oss.sonatype.org/#profile;User Token. Used instead of password to decouple from the named user's credentials.

@davidjgonzalez Can you set those up?

@davidjgonzalez Please set up OSSRH credentials as repo/orga secrets otherwise no one apart from you will ever be able to create releases.


MPAS Product Configuration Preservation & Conflict Resolution

User Story
As an operator when starting an installation upgrade I want to keep my configuration settings and get informed about
new required configuration options and conflicts of my current settings with the upcoming new configuration options.
Background
Background: The initial configuration is created based on a delivered configuration template. Every new release brings a new
version for this kind of configuration. This must be merged somehow with the active settings provided by the operator.
The new inbound setup should not overwrite the currently active configuration.
Requirements

keep, insofar as possible, old config values
identify and report new required options in the voter for the PR
identify conflicts with existing settings

Prior Art
This could be done formally by a 3-way merge as done in the MPAS POC based on Git mechanims (see https://github.com/mandelsoft/mergetest for an adoption for the new MPAS setup).
Proposal
The configuration schema is defined using CUE. The schema specifies the required fields, their types and can also provide default values. The schema.cue file will be part of the production definition. The MPAS system will use the schema.cue  to generate a config.cue file. config.cue   contains fields that can or must be configured be the operator.
The schema.cue  can also be used to validate the values configured in config.cue by the operator.
Finally we can use schema.cue to automatically generate documentation that provides details about the available configuration parameters.
The final configuration values that are passed to MPAS itself are the result of unifying config.cue and schema.cue.
Proof of Concept
With regards to how the configuration generation using the CUE Go API will be handled, a proof of concept is available here: https://github.com/phoban01/confgen-test.
Example
The following CUE schema contains 3 fields:

number of replicas, with a default value of 2.
the endpoint for a redis service, a required field with no default value.
labels, an optional field specifying labels that will be applied to all resources created by the product

The schema.cue might look as follows:
// Comments will be replicated in the
// the `config.cue`  file.

#SchemaVersion: "v1.0.0"

// this field has a default value of 2
replicas: *2 | int

// this is a required field with of type string with a constraint
redis_url!: string & =~ "^https://"

// this is an optional field
labels?: {[string]:string}

// this is a generated field that will not be exposed to in the `config.cue`  but will be
// part of the final configuration values
max_replicas: replicas * 5 @private(true)

The config.cue file generated by MPAS for user input would look as follows:
// Comments will be replicated in the
// the `config.cue`  file.

// this field has a default value of 2
replicas: 2

// this is a required field with of type string with a constraint
redis_url: string

Until the operator provides the appropriate values for the redis_url field the configuration will not successfully validate against the schema.
Here is the config.cue after the operator has updated the values:
// Comments will be replicated in the
// the `config.cue`  file.

// this field has a default value of 2
replicas: 4

// this is a required field with of type string with a constraint
redis_url: "https://redis.svc.cluster.local:6379"

This configuration will now validate successfully and can be used to generate the final values which will look as follows:
replicas: 4
redis_url: "https://redis.svc.cluster.local:6379"
max_replicas: 20

If the schema is subsequently updated to introduce some new fields or changes to existing fields this can be seamlessly handled.
Here is a schema update that introduces a new field, updates a constraint and modifies a private field:
// Comments will be replicated in the
// the `config.cue`  file.

#SchemaVersion: "v1.1.0"

// this field has a default value of 3
replicas: *3 | int

// this is a required field with of type string with a constraint
redis_url!: string & =~ "^https://.+:6379$"

// should tls be enabled for the service
tls: *true | bool

// this is an optional field
labels?: {[string]:string}

// this is a generated field that will not be exposed to in the `config.cue`  but will be
// part of the final configuration values
max_replicas: replicas * 2 @private(true)

MPAS will now generate an updated config.cue for the operations team to review and modify:
// Comments will be replicated in the
// the `config.cue`  file.

// this field has a default value of 3
replicas: 4

// this is a required field with of type string with a constraint
redis_url: "https://redis.svc.cluster.local:6379"

// should tls be enabled for the service
tls: true

We can see that a new field tls has been added to config.cue  however nothing else has changed. When we run validation against this configuration our redis_url is already valid and so everything passes successfully.
Finally, we can take a look at the resulting values:
replicas: 4
redis_url: "https://redis.svc.cluster.local:6379"
tls: true
max_replicas: 8

Here replicas and redis_url remain unchanged, tls has been added and the private field max_replicas has been changed inline with the new schema.

Hi Piaras, I copied the example and @mandelsoft 's comment from the Slack channel:
--------------------- initial -----------------------------
ruleset:
  default X: 1
  default Y: 1
  default Z: X + Y

user config:

X: 1

===> eff

X: 1
Y: 1
Z: 2

------------------- operator change -----------------------

user config:

X: 2

===> eff

X: 2
Y: 1
Z: 3

------------------- version update ------------------------

update ruleset:

  default A: 1
  default X: 2
  default Y: 2
  default Z: X + Y

unmodified user config:

X: 2

===> eff

A: 1
X: 2
Y: 2
Z: 4

@mandelsoft : "Hi Piaras, I've assembled a short history for configuration settings  with an intermediate upgrade of the product version. It should illustrate why it is important to strictly separate the settings consciously maintained by an operator from the derived/generated complete set of config settings.
The shown scenario would yield completely different results and would not be possible anymore if only the generated config is maintained by the operator, because it is not possible anymore to differentiate between explicitly maintained settings an generated ones."

I've updated the description with the final proposal on the basis of our discussions over the past few weeks.


Updating the Readme.md

your Readme.md is not maked so i will make your Readme.md based on your website in user-friendly way,plz assign me so i can do it....

Thank you @QuickHarsh

Work Done kindly Accept the Pull request........Thank You....


Qu-Prolog only supports dynamic multifile predicates

Qu-Prolog requires any multifile predicate to also be declared dynamic. This limitation explains the failed unit tests for the multifile/1 directive.

Qu-Prolog is no longer supported (since version 3.44.0, released on February 3, 2021) due to limitations on its memory model that prevent loading the Logtalk compiler/runtime.


Fixed formatting

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

@shyamunnikrishnan This actually breaks the formatting.


Branch to keep up-to-date with bevy repo?

The Bevy main repo has upgraded wasm-bindgen, and renamed the AppBuilder to just App. Is there a possibility of keeping a branch up-to-date with bevy repo until an official release is made? I've worked around this by pulling the repo and making the changes locally, but it would be preferable to use the git repo.
An additional branch would mean fixes can be applied to the main branch (for the "official" bevy release) without breaking any existing dependencies.

There is a possibility. PRs welcome.

Fixed by #42


forgejo: 1.19.4-0 -> 1.20.1-0

Description of changes
https://codeberg.org/forgejo/forgejo/releases/tag/v1.20.1-0
https://codeberg.org/forgejo/forgejo/src/commit/47a6afa94718b7396d21669304c85c19f5b6ff52/RELEASE-NOTES.md#1-20-1-0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

forgejo
forgejo.data

Updated my personal instance to 1.20.1-0 as well now, notably without #241497.
I am getting the expected error log:
[E] Unable to update WORK_PATH=/var/lib/gitea to config "/var/lib/gitea/custom/conf/app.ini": failed to save "/var/lib/gitea/custom/conf/app.ini": open /var/lib/gitea/custom/conf/app.ini: permission denied
You must set it manually, otherwise there might be bugs when accessing the git repositories.

And the service does not crash, and instead continues to run just fine, as expected :+1:


Clarify the jsonexpected for a block_height chainhook that uses the between operator

Context:
https://hiropbc.slack.com/archives/C053LE0SN67/p1690571212031469

PR: https://github.com/hirosystems/chainhook/pull/366. @MicaiahReid Please review.

The fix is available in this PR. @BLuEScioN, Thanks!


add suport to custom namespaces with their dimensions

What?

add a new property called customMetrics that allows users to set custom namespaces.
the logic will get the list of metrics that the user added in the configuration file, get their datapoints and dimensions and export them to Prometheus.
The configuration is based on the one mentioned in 224 issue.
The configuration file would look like the below:

apiVersion: v1alpha1
sts-endpoint: eu-west-1
customMetrics:
  - name: customMetrics
    namespace: CustomEC2Metrics
    regions:
      - us-east-1
    metrics:
      - name: cpu_usage_idle
        statistics:
          - Average
        period: 300
        length: 300
        nilToZero: true
      - name: disk_free
        statistics:
          - Average
        period: 300
        length: 300
        nilToZero: true

Why?

in my company we had a scenario where we needed to collect the metrics from a custom namespace.

How?

By adding a new YAML property in the configuration file to describe the custom namespace metrics.
By collecting the description of the metrics for that custom namespace and their respective data points from CloudWatch.

OBS.: I didn't add the unit tests yet as I don't know if you will suggest changes in the code. When it looks ok I can add them.

Looks awesome! - If you add some tests to this, we can merge and release it this week.

@thomaspeitz my environment has a bunch of custom metrics and we are transitioning from prometheus cloudwatch exporter to YACE, any update on when we can start using this feature :)

@thomaspeitz, I added some unit tests based on what the project currently have. Please let me know if we need anything else to merge this PR. :)

@thomaspeitz just checking if this is planned for merge anytime soon.

@cristiangreco Could we get a look at this PR too. It would close the loop on Amazon Managed Prometheus metrics by enabling us to fetch metrics for AWS/Usage namespace.

Sorry to ask, but what is the advantage of using this new custom metrics section, instead of creating an entry on the static section of the config? We do that extensively with custom namespaces, and works fine.
I can clearly see that this job may be reused by the scrapper to make a discovery of custom metrics in the future, but today it seems like it creates a redundant way of defining exactly the same.

@pauruiz - Auto-discovery is the keyword here. Static configuration doesn't support auto-discovery of resources. For instance, for AWS/Usage metrics, we require to search for Managed Prometheus workspaces based on the "Required Dimensions" criteria. This can only be done if auto-discovery is enabled. Else, we'd need to manually add dimension name and value for each workspace which is not productive.

@datsabk - Thanks a lot for the quick response - We have sorted the auto-discovery on the static config by scheduling a cron job that would launch a new re-deploy when a new metric is detected, and using the delay property to capture the although lost event from this newly detected metric (although as a drawback this recaptured event will appear with a significant delay on the grafana system).
I have tried 0.42.0-alpha on my system, and it does not seem to auto-discover the metrics. As per your words, current implementation seems to capture only the dimensions for the given metrics (I have to agree with you, the auto-discovery of the dimensions is an improvement from the original state), but that does not looks like the optimal solution.
On the #224 proposal, an empty custom metric like this one:
customMetrics:   metrics:     # Scrape all metrics in namespace     - namespace:         - MyService
Would capture all metrics inside the custom namespace (like the discovery section does), but the implemented solutions seems to rely on the list of metrics, thus only half of the work is done?
Is there a plan to implement that?
May we be doing the config wrong? Or misunderstanding the proposal?
The config we tried was as simple as:
`
customMetrics:

name: fdc385296a106746ae2ed133ddf91ed3
namespace: lambda-metrics
regions:

eu-west-1
statistics:
Average
Maximum
Sum
period: 60
length: 300
nilToZero: true
`

Am I naive to expect this configuration enough to capture Average, Maximum and Sum dimensions for all metrics inside the custom namespace lambda-metrics?


grains: Change return type to Maybe

Currently, the exercise grains has a function square :: Int -> Integer that returns the number of grains of wheat on sequentially numbered squares on a chessboard. The problem doesn't specify what should be returned if the number given is not in the chessboard.
This is a great opportunity to make it more idiomatic and get the users acquainted with Maybe.
I propose to to the following:

Change the return type of function square from an Integer to a Maybe Integer.
Add three test:

square (-1)
square   0
square  65

Add a stub solution.

Change seems good here, :+1:
Might be good to see if this should be specified in x-common?

Maybe we don't need to change there:

There is no mention in exercism/x-common/grains.md about values out of the board.
There is no exercism/x-common/grains.json.

Should we write something in exercism/x-common/grains.md?

Yeah we can see if other tracks might want to check for out of bounds values like here. Maybe they'll like it, in which case it can be standard for all tracks. Or maybe they won't, an argument against might be https://github.com/exercism/x-common/pull/287#issuecomment-231602657 , but that means it'll just be a specific characteristic of this track.

I think that grains.md is good enough the way it is, but I understand that it would be nice to exposed the other tracks to out-of-bound cases. Maybe a exercism/x-common/grains.json marking the out-of-bound cases as implementation specific could be the solution.


Make the env variables bit more consistant

Description

The environment variables in the project do not have consistant casing. Do make it more consistant.
Since Mailpit is a single word, we can keep it as mailpitX.

Suggested Changes:

mailpitUrl
mailpitAuth
mailPitUsername -> mailpitUsername
mailPitPassword -> mailpitPassword

Or the otherway around like mailPitX

@chrissmartin new set of feature has been release in V1.0.0


Extract metadata (fps/resolution/color,depth,ir formats, etc) from a bag file in python

Required Info

Camera Model
D435i

Firmware Version
<IP_ADDRESS>

Operating System & Version
Debian

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC

SDK Version
2.34

Language
python

Segment
{Robot/Smartphone/VR/AR/others }

Apologies if this has been asked already, but I couldn't quite find what I was looking for in my search. Is there a simple way to extract all metadata (fps, resolution, color/depth/ir format, etc) given a random bag file, in python? Basically all the things I'd need to feed into config.enable_stream, to start playback.
Thanks

Hi @avasbr  There have been some RealSense users who have extracted bag file data to files such as images and .csv depth matrix files.  It sounds as though you would prefer to read the metadata information directly from the bag file instead of saving it as text into a csv file and then reading the information from the csv file.  Is that a correct interpretation, please?
If you prefer to try to access metadata information directly with Python, the discussion in the link below may provide useful insights.
https://github.com/IntelRealSense/librealsense/issues/3179

@MartyG-RealSense thanks for the quick response! yes, ideally i'd want to read that info directly in python, but if push comes to shove, I don't mind going the csv approach either. Are there any links you're able to provide to past issues around this? in the meantime i'll check out the issue you linked above

@avasbr   The long discussion in the link below looks at approaches to writing camera data to csv file.
https://github.com/IntelRealSense/librealsense/issues/1485

Sorry, I let this go for a while, but these links aren't providing me the information I need. When I read a bag file and process it, I have to pass in the following settings:
    "height": 1280,
    "width": 720,
    "color_fps": 30,
    "depth_fps": 30,
    "ir_fps": 30,
    "color_format": "rgb8",
    "depth_format": "z16",
    "ir_format": "y8",
}```

I would like to be able to, in python, do something along the lines of `get_metadata(<path_to_bag_file>)` and it just outputs this information. is there a full example you can point me to which does this?

The SDK has a C++ tool called rosbag-inspector that can read bag file contents.
https://github.com/IntelRealSense/librealsense/tree/master/tools/rosbag-inspector
I re-researched the subject but did not find any new links for Python other than the ones shared earlier, unfortunately.


FullScreenHelper gives the error "Usage of Kotlin internal declaration from different module"

Hey @raghavagg01, that seems understandable because the class you try to acces is not visible (declared internal aka. package private in java). This is probably for a reason.
What do you try to achieve with the class instantiation?

I have copied the code from CustomPlayerUiController.java file as i am trying to implement the Complete Youtube player in my android app.

Seems like you are importing classes from the wrong package.
I guess you are supposed to copy all the classes from the sample project to yours and import the copied classes. What you do however is importing the package private core classes.
In other words:
Copy the class(es) from the Core Sample App directory (in your case the FullScreenHelper.java) into your project under utils for exmaple, and then import your class from your project. I guess the core's FullScreenHelper.kt class is for defaults purposes in case the developer does not want to implement customizations.
Hope that solves your problem. :)

@malliaridis thanks for helping out! my bad for give the same name to internal and sample app class.

Thanks for the help, Appreciated !


Error: prisma2 init hello-prisma

I try to install prisma2 on Windows 10 Pro build 1703 x64.
When start "prisma2 init hello-prisma" I got following output messages:
(OK means green check sign, ERR means red cross sign, + selected option from list)
OK Connected to database
OK Connected to database
OK Connected to database
Which parts of Prisma do you want to use?
Learn more about the tools at prisma.io/docs
¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦

From Scratch        Basic Prisma setup + simple script
+>  GraphQL boilerplate GraphQL server example
REST boilerplate    REST API example (using express.js)
gRPC boilerplate    gRPC API example (client + server)
¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
<  Back                (Language selection)
OK Downloading starter from https://api.github.com/repos/prisma/photonjs/tarball/master
OK Extracting content to G:\prisma2\hello-prisma
ERR Installing dependencies

Your template has been successfully set up!
Here are the next steps to get you started:
1. Run prisma2 lift save --name init to create a migration.
2. Run prisma2 lift up to apply the migration.
3. Run yarn seed to seed the database.
4. Run yarn start (Starts the GraphQL server)
5. That's it !
PS G:\prisma2> prisma2 lift save --name init
[migration-engine] error: Error: spawn C:\Users{Username}\AppData\Roaming\npm\node_modules\prisma2\migration-engine ENOENT
Error: Error in lift engine:
It's confusing red cross sign when install dependencies?! Message under says "Your template has been successfully set up!"
After that when I start command "prisma2 lift save --name init", I got error:
[migration-engine] error: Error: spawn C:\Users{Username}\AppData\Roaming\npm\node_modules\prisma2\migration-engine ENOENT
Error: Error in lift engine:
Does anyone have an idea of what the problem is?
Thanks in advance

Windows is currently isn't supported.
Closing as a duplicate of https://github.com/prisma/prisma2/issues/4****


[Bug] Pause while rendering dialogue window

When the dialogue windows pop up in cutscenes there'll be an obvious pause of rendering. I think it's caused by fetching the translated text from the API synchronously, which blocks the rendering procedure.
Is it possible to change it to async when replacing the text?

I was gonna comment you the same of micro cuts, but ive seen someone already did it, keep up the work. You re doing an essential thing for alot of people, thanks alot.
Also a quick question, when you release the version with no cuts, do i have to do something or it will auto update, thanks again.

Hello and thanks for the feedback! When it comes out your plugin will be
auto-updated by FFXIVQuickLauncher. If there is some new option in the
configs i'll let the users know through the release notes.
Em dom., 7 de nov. de 2021 às 19:03, VictorPozoSallent <
@.***> escreveu:

I was gonna comment you the same of micro cuts, but ive seen someone
already did it, keep up the work. You re doing an essential thing for alot
of people, thanks alot.
Also a quick question, when you release the version with no cuts, do i
have to do something or it will auto update, thanks again.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lokinmodar/Echoglossian/issues/17#issuecomment-962688248,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADXF6ILHLCEQOSKMB575SNDUK3ZSDANCNFSM5GULM5AQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks for the quick answer, and hopefully the micro cuts will be fixed soon, already uninstalled tataru, thanks for your job :D

Hi. The problem with microfreezes has been around for some time. The animation stops and the dialog box appears without translation. This happens 80% of the time. In fact, the plugin doesn't work.

Hi. The problem with microfreezes has been around for some time. The animation stops and the dialog box appears without translation. This happens 80% of the time. In fact, the plugin doesn't work.

Yes indeed. I am having some problems due to work schedule and couldn't release a new version since the last one. Also, the translations not happening issue surfaced because Google is sending different responses when the plugin calls the api. I already have a fix for this specific issue but could not tie up the code for a new release yet. I may be able to do so by the next weekend. Sorry for all the trouble

This isnt sovled yet right? Im having same problem even if im suing 3.0 ver.

Yes. Not solved yet. I'm working on it (slowly, yes, but still working on
it)

Solved in v3.5.x and later versions


Unable to use Splitting in React JS

for some reason the code just doesn't execute, no warnings no errors, it just doesn't run
I have tried both the CDN and NPM methods, both fail. What is the problem here?
To recreate my scenario, just create a react project using npx create-react-app and then try adding splitting js either through NPM or CDN

Not too sure what you've attempted but the below worked for me using NPM.
import React, { useState, useRef, useEffect } from 'react'

import 'splitting/dist/splitting.css'
import 'splitting/dist/splitting-cells.css'
import Splitting from 'splitting'

export const SplittingJS = () => {
  const [lines, setLines] = useState([])
  const splitRef = useRef(null)

  useEffect(() => {
    if (splitRef) {
      let split_res = Splitting({
        by: 'lines',
      })
      setLines(split_res[0].lines)
      console.log(`Split text into ${lines} lines`)
    }
  }, [splitRef])

  return (
    <p
      ref={splitRef}
      data-splitting='true'
    >
      split some text here
    </p>
  )
}

Kindly explain this part of your code:
const [lines, setLines] = useState([])
const splitRef = useRef(null)
useEffect(() => {
if (splitRef) {
let split_res = Splitting({
by: 'lines',
})
setLines(split_res[0].lines)
console.log(Split text into ${lines} lines)
}
}, [splitRef])

@Reyyah09 I should have commented my code better, my bad.
import React, { useState, useRef, useEffect } from 'react'

import 'splitting/dist/splitting.css'
import 'splitting/dist/splitting-cells.css'
import Splitting from 'splitting'

export const SplittingJS = () => {
  // state for the array of lines found after running Splitting
  const [lines, setLines] = useState([])
  // create a ref object to our text to split
  const splitRef = useRef(null)

  // should fire anytime splitRef is changed (onload splitRef won't exist)
  useEffect(() => {
    // double checking we actually have a reference (and the value is not null)
    if (splitRef) {
      // run the SplittingJS magic here, using 'lines' as the splitting technique
      let split_res = Splitting({
        by: 'lines',
      })
      // finding the first block of text and its lines - then assigning it to our state defined above
      setLines(split_res[0].lines)
      console.log(`Split text into ${lines} lines`)
    }
  }, [splitRef])

  return (
    <p
      ref={splitRef}
      data-splitting='true'
    >
      split some text here
    </p>
  )
}

@lukethacoder  I think this method will work, I haven't tried this yet

@lukethacoder this was very helpful thank you!

@lukethacoder do you know how to re-split if I were to change the text split some text here ?

@jackdewhurst suppose something like this could work (havnt tested this - but makes sense in my head)
import React, { useState, useRef, useEffect } from 'react'

import 'splitting/dist/splitting.css'
import 'splitting/dist/splitting-cells.css'
import Splitting from 'splitting'

export const SplittingJS = () => {
  // state for the array of lines found after running Splitting
  const [lines, setLines] = useState([])
  // create a ref object to our text to split
  const splitRef = useRef(null)

  // should fire anytime splitRef is changed (onload splitRef won't exist)
  useEffect(() => {
    splitTheWords()
  }, [splitRef])

  const splitTheWords = () => {
    // double checking we actually have a reference (and the value is not null)
    if (splitRef) {
      // run the SplittingJS magic here, using 'lines' as the splitting technique
      let split_res = Splitting({
        by: 'lines',
      })
      // finding the first block of text and its lines - then assigning it to our state defined above
      setLines(split_res[0].lines)
      console.log(`Split text into ${lines} lines`)
    }
  }

  const testFireOffSplit = () => {
    // this could be run via setTimeout instead
    splitTheWords()
  }

  return (
    <>
      <p ref={splitRef} data-splitting='true'>
        split some text here
      </p>
      <button onClick={testFireOffSplit}>re-split</button>
    </>
  )
}

or could run it from another useEffect that is watching another value change too.

This doesn't seem to run when I build my Gatsby project. Throws this error on the import Splitting from 'splitting' line. What can I do to fix it?
`"document" is not available during server side rendering.
See our docs page for more info on this error: https://gatsby.dev/debug-html
5 | }(this, (function () { 'use strict';
6 |

7 | var root = document;
| ^
8 | var createText = root.createTextNode.bind(root);
9 |
10 | /**

WebpackError: ReferenceError: document is not defined

splitting.js:7
node_modules/splitting/dist/splitting.js:7:1

splitting.js:2
node_modules/splitting/dist/splitting.js:2:62

splitting.js:5
node_modules/splitting/dist/splitting.js:5:2`


자동완성

Issue Type: Feature Request
VS code를 사용하는데 자동완성이 지원이 안돼요..
어떻게 작동돼는지 알려주세요
VS Code version: Code 1.60.1 (83bd43bc519d15e50c4272c6cf5c1479df196a4d, 2021-09-10T17:07:10.714Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

I'm using VS code, but autocomplete is not supported..
Can you show me how it works?

There is still in sufficient information to proceed with this issue

@Matthew-Jeon
Which programming language are you using?
어떤 프로그래밍 언어를 사용하고 있습니까?

Yeah, there is English in my comment. The reason why I add Korean to my comment is to ensure this user can understand my meaning. 😂


Operator Overloading for * on Transform2D fallbacks inconsistently

Issue:
The Transform2D * operator does not catch the type of a variable, but will handle an inline Vector2.
My suspicion is the order the * overloads are setup is causing some issue for handling the overload. there is a bug with the current version of Swift (<IP_ADDRESS>.108)
Minimum Setup:
import SwiftGodot

@Godot
class ExampleNode: Node2D {
  override func _ready() {
    if Engine.isEditorHint() { return }
    if let viewport = getViewport() {
      let size: Vector2 = Vector2(x: 0, y: 0)
      // Fails
      var first = viewport.getScreenTransform() * getGlobalTransformWithCanvas() * size
      // Works
      var second =
        viewport.getScreenTransform() * getGlobalTransformWithCanvas()
        * Vector2(x: size.x, y: size.y)
      // Works
      var canvasTransformed = viewport.getScreenTransform() * getGlobalTransformWithCanvas()
      var third = canvasTransformed * size
    }
  }
}

Result:
error: cannot convert value of type 'Vector2' to expected argument type 'Transform2D'
      viewport.getScreenTransform() * getGlobalTransformWithCanvas() * size
``

Boiled this down to:
https://swiftfiddle.com/lo23y3354jgodbosjl35wh25m4
Seems like a Swift bug for sure.

I filed an issue on Swift for this, we'll see what they say!  https://github.com/apple/swift/issues/69904


Design calendar layout and user interactions

tbd

https://fullcalendar.io/docs/editable

https://fullcalendar.io/docs/dateClick


Append job logs link to bot-authored PR descriptions

Same as aws/eks-distro-build-tooling#488. Modularizing the script a bit to set the PR body.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test cni-plugins-1-23-presubmit

/lgtm

/approve


Added IsAITeam flag

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 97.302%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Battle.Logic/GameController/Team.cs
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
2155

Relevant Lines:
2211

💛  - Coveralls


feat: add state_reader_factory to Gateway and AppState

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.51%. Comparing base (f39ef95) to head (2e03728).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #139      +/-   ##
==========================================
+ Coverage   45.68%   47.51%   +1.83%
==========================================
  Files          17       17
  Lines         602      623      +21
  Branches      602      623      +21
==========================================
+ Hits          275      296      +21
  Misses        316      316
  Partials       11       11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

crates/gateway/src/stateful_transaction_validator.rs line 23 at r1 (raw file):

pub struct StatefulTransactionValidator {
    pub config: StatefulTransactionValidatorConfig,
}

Why would we need a clone of the StatefulTransactionValidator itself?
Suggestion:
pub struct StatefulTransactionValidator {
    pub config: StatefulTransactionValidatorConfig,
}

crates/gateway/src/lib.rs line 15 at r1 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
Unblocking, but maybe after this one gets in: #141.

The feature testing is now supported. Please rebase and add:

crates/gateway/src/stateful_transaction_validator.rs line 93 at r2 (raw file):

        }
    }
}

The feature testing is now supported. Please rebase and add:
Suggestion:
#[cfg(any(feature = "testing", test))]
impl StatefulTransactionValidatorConfig {
    pub fn create_for_testing() -> Self {
        StatefulTransactionValidatorConfig {
            max_nonce_for_validation_skip: Default::default(),
            validate_max_n_steps: 1000000,
            max_recursion_depth: 50,
            chain_info: Default::default(),
        }
    }
}


Fix config loading

Config file loading is done in the wrong order and always overwrites modified config. Also fixes config key that is inconsistent so it was always loading the default value.
(made a new pr because I picked the wrong branch)

Fixed via migrating to Exill's ConfigLib. Thanks for your work regardless, sorry I kept forgetting to fix this!


Missing real sample project using package not project

I think you should create another repo with a Sample in 3 part :

CodeGenerator Lib
Attribute Lib
Test

That's a good idea.

You can look at mine project until it's node because now I just have what do you need: a simple project that  consume CodeGeneration.Roslyn as a dependency: https://github.com/Pzixel/RemoteClient.Roslyn


Upgrade from ansible to go operator + some fixes

Changes for upgrade:

Change controller as Deployment (which was wrongly used as StatefulSet earlier)
Add a health_check.go file similar to ansible health_check.sh and make changes in Dockerfile to use the same
Make Ready as an optional field as it is not present in ansible, which otherwise blocks the upgrade from ansible to go operator
Reconcile SecurityContext, SCC only for OpenShift
Some fixes to pod specs for upgrade
Some fixes to annotations, secrets, etc.

Other changes :

Make Primary as optional field as this can be empty in case of remote cluster
Change golang image to 1.17

Note:
To build the operator image following 2 changes are required:

docker version should be at least 20.10
To build operator image, use DOCKER_BUILDKIT=1 in docker build command
e.g.

 DOCKER_BUILDKIT=1 docker build -t <image_name>:<tag>

Or alternatively, this option can be skipped if we set following in /etc/docker/daemon.json
{
    "features": {
        "buildkit": true
    }
}

and run systemctl reload docker after this change.

@amdabhad The last commit seems to be made from root user. It seems you made the commit from the command line with incorrect git configuration. Give it a check once.

@amdabhad The last commit is made from root user. It seems you made the commit from the command line with incorrect git configuration. Give it a check once.

I committed the code from a new cluster node, on which I have not set git author set yet.. will add it from next PR onward, Thank you!

@amdabhad The last commit is made from root user. It seems you made the commit from the command line with incorrect git configuration. Give it a check once.

I committed the code from a new cluster node, on which I have not set git author set yet.. will add it from next PR onward, Thank you!

@madhuthorat I am not aware of the consequences of merging commits from root user, I am fine with it if there in no major issues around it. Let me know your views.

I think this shouldn't be a problem as the PR is created and will be merged by my github id only.


Parameter name: _gitVersion - value cannot be null

Environment
VSTS
Agent:
On premises
Windows Server 2012 R2
Agent: 2.123.0
VS Enterprise 15.5
Issue Description
Get Sources Task (from VSTS Git)
Sometimes when new builds are queued an error is generated during get sources phase
Retry normally fixes this.
The main issue is with scheduled builds, if these run overnight and nobody is around and we get this error then the builds fails.
Error logs
2018-05-23T07:35:59.1679627Z ##[section]Starting: Get Sources
2018-05-23T07:35:59.2089296Z Syncing repository: ****** (TfsGit)
2018-05-23T07:35:59.2163327Z Prepending Path environment variable with directory containing 'git.exe'.
2018-05-23T07:35:59.2248352Z ##[command]git version
2018-05-23T07:35:59.2958375Z
2018-05-23T07:35:59.3431548Z ##[error]Value cannot be null.
Parameter name: _gitVersion
2018-05-23T07:35:59.3521760Z ##[section]Finishing: Get Sources

should log this issue in the vsts-agent repo
Also, what are your source options on the definition and are there any source/git related variables set on the definition (like custom path to git etc...)


NPE in FileParser for composer

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
composer
What you expected to see, versus what you actually saw
Looks like there is NPE in FileParser for composer code:
https://github.com/dependabot/dependabot-core/blob/6535db13c37f05f268c7251216fe689ecbb9e346/composer/lib/dependabot/composer/file_parser.rb#L168
undefined method `find' for nil:NilClass\n\n
parsed_lockfile.fetch(key, []).find { |d| d[\"name\"] == name }\n

I get this error in this repo: https://github.com/JoshuaEstes/ServerTools

We should try to repro this using the dry-run script against that repo... if it doesn't reproduce, then close for the reasons outlined here:

https://github.com/dependabot/dependabot-core/issues/5824#issuecomment-1302396988

It seems to be indeed crashing, so let's keep open!

This will be picked up by @garryhurleyjr

added some defensive coding around nil for key file and lockfile.  still have debugging code to remove.

Code merged


[Ruby] Add a method to return column names in Arrow::Table

Describe the enhancement requested
Target method
Arrow::Table#keys or #names (tentative)
Proposed feature
Return an Array columns(&name).
Impact of this request
It will be useful in enhancements of #join .
Reference of this request
I am testing this feature in RedAmber by refinements.
https://github.com/heronshoes/red_amber/blob/main/lib/red_amber/refinements.rb#L144-L146
Component(s)
Ruby

How about Arrow::Table#column_names?

I agree. 'Key' is the word for join or group, 'name' is ambiguous. Thanks.
I will try to implement Arrow::Table#column_names.


Ncrcat fixes and make timeseries generation compatible with all model components & filenames

Modify timeseries generation so that it works on all model components and all history file numbers by replacing hist_num with hist_str (eg cam.h1 or pop.h.ecosys.nday1). Default if missing is cam.h0 for backward compatibility
Modify ncrcat call to include --no_cll_mth option, which fixes Issue 222 until the nco's are fixed and updated on CISL machines
Modify ncrcat call so that it doesn't require PS to be in the same file as any 3D variable. Generates a warning but continues
Modify ncrcat call to add strings as necessary so that changes to the base call or flags don't have to be implemented in multiple places

Fixes #222

I made changes, committed and pushed them; thought they would come in here automatically.

Just a FYI to my future self that I updated the conda environment in this PR to add the missing matplotlib version number from the adf_v0.1 version, and so a new adf_v0.11 tag will need to be made from this PR.


Debugger-invocation command line assumes a POSIX-like shell on Unix; fails with PowerShell as the default shell

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
 Version:   2.1.403
 Commit:    04e15494b6

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.403/

Host (useful for support):
  Version: 2.1.5
  Commit:  290303f510

.NET Core SDKs installed:
  2.1.403 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

VS Code version: 1.28.1
C# Extension version: 1.16.2
Steps to reproduce

On a Unix-like platform with PowerShell Core installed, make the latter your default shell as follows: chsh -s /usr/local/bin/pwsh (macOS) or chsh -s /usr/bin/pwsh (Linux).

On Linux, reboot to make the new default shell take effect (not necessary on macOS).

Open any C# project in VS Code and debug with a ".NET Core Launch (console)" configuration with setting "console": "externalTerminal"

Expected  behavior
Debugger invocation should succeed.
Actual behavior
Debugger invocation fails, because the command line sent to the terminal assumes POSIX-like-shell syntax (e.g., bash), which PowerShell doesn't support.
Sample symptom:
PS /Users/jdoe> cd '/Users/jdoe/.vscode/extensions/ms-vscode.csharp-1.16.2/.debugger/';  '/Users/jdoe/.vscode/extensions/ms-vscode.csharp-1.16.2/.debugger/vsdbg' '--interpreter=vscode' '--connection=/var/folders/19/0lxcl7hd63d6fqd813glqppc0000gn/T/CoreFxPipe_vsdbg-ui-9bb838baf07245f591dda2adcfd2536f'
At line:1 char:155
+ ... -vscode.csharp-1.16.2/.debugger/vsdbg' '--interpreter=vscode' '--conn ...
+                                            ~~~~~~~~~~~~~~~~~~~~~~
Unexpected token ''--interpreter=vscode'' in expression or statement.
At line:1 char:178
+ ... ter=vscode' '--connection=/var/folders/19/0lxcl7hd63d6fqd813glqppc000 ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token ''--connection=/var/folders/19/0lxcl7hd63d6fqd813glqppc0000gn/T/CoreFxPipe_vsdbg-ui-9bb838baf07245f591dda2adcfd2536f'' in expression or statement.
+ CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

With a quoted path to vsdbg, the call would have to be prefixed with &   to make PowerShell happy.
A pragmatic workaround would be not to quote the vsdbg path, which would make the call succeed in PowerShell too, without special-casing.
This should be safe as long as the user's $HOME path has no embedded spaces - something I've never seen in the Unix world.

@gregg-miskelly might be, though @weinand would be better to answer here since he is the author.

When using an "external" terminal, VS Code assumes a POSIX-like shell on Unix platforms.
When using an "integrated" terminal, VS Code honours the VS Code setting terminal.integrated.shell.<platform> (but it does not respect the shell configured via chsh either).
I suggest that you file a feature request against VS Code.
As a workaround you can use an "integrated" terminal  and set terminal.integrated.shell.osx to /usr/local/bin/pwsh.

Thanks, guys.
I've opened https://github.com/Microsoft/vscode/issues/60971, as a generalized feature request.


Add Kargo to kubefirst to streamline staging

What is your feature idea?
In a nutshell, I'm separating CI from CD, which comes with many benefits. Among others, Bazel & BuildBuddy building my container images at record speed, that is, at least 3 to 4 times faster than Docker ever could.
However, that also means a lot of legacy designed CD end to end pipelines aren't needed anymore. Instead, you only want to subscribe to a container registry, and whenever a new image with a new hash gets released by BuildBuddy, just pull the new image, run it through all stages and if it passes, auto-update the deployment.
Here is a nice summary why separating CI from CD leads to better multi stage deployment:
https://www.youtube.com/watch?v=tl8w72tehZ0&t=412s

Kargo lets you do just that and basically streamlines and automates the progressive rollout of changes across the many stages of an application's lifecycle.
https://kargo.akuity.io/
Also, the per artifact pipeline in Kargo is way more sensible because, in my experience, you always end up with some artifacts requiring extra tests, checks, or sometimes even extra provisining so this approach makes sense.
The license is not an issue because Kargo is under the Apache 2.0 license, which can be used in any commercially licensed software or enterprise application for free so no hazzle as far as I read the tealeaves. But better ask legal if in doubt.
Why is it needed?
Right now, I have to install and configure Kargo separately, which I am doing anyway, so technically I don't even need KubeFirst.  I am currently trying to setup Kargo on top of KubeFirst, but the actual outcome remains to be seen. I may update the issue later.
On the other hand, if KubeFirst would ship Kargo, even as an option to instal later, KubeFirst would be a complete no-brainer to adopt and keep.
Is this missing feature preventing you from using kubefirst?

[x] Yes

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Solved via: https://github.com/kubefirst/kubefirst/issues/2150


jbuilder clean specific folder

Currently jbuilder clean cleans the entire project, but perhaps we should allow it to accept a path argument so it only cleans things within a specific subtree.
example:
jbuilder clean .
jbuilder clean src

Is there a concrete use case for this? I think more motivation is necessary to implement this.

Closing as there's not enough motivation given. Please re-open if you have some convincing use cases.


Create build without parser

Hi,
If I want to use precompiled templates via node.js, can I create custom build of paperclip.js without parser module, do you have other dependencies for parser in the code? I think it can significantly reduce the size of the file.
Thanks.

Yep - currently working on speccing this out actually: https://github.com/mojo-js/immutable-virtual-dom. A large chunk of the file size actually comes from he.js which does proper HTML entity encoding & decoding - adds > 60kb to the minified size. Tried taking the library out at one point but it cased a number of issues - haven't looked to figure out a work-around yet.

Good, thanks for comments, will wait for it.
If I can help with development, maybe you can share some actual issue for project.

Sweet - thanks for offering! Currently freezing development on parts of paperclip for a bit until immutable-virtual-dom is done - I could probably use some help on that when I get started on it in a few weeks.

Moving this over to the 3.x milestone. The parser will likely be removed from the browser build by default.

See #280.

to register in the browser, do this:
var pc = require("paperclip");
pc.compile = require("paperclip/compilers/default");


HPTK Hand tracking with OpenXR

Hello, I am unable to set up HPTK with OpenXR in Unity.
Unity 2021.3.16f1
HPTK 0.6.6
HPTK Posing & Snapping 2.0.2
Target: Win(Vive)+Android(Quest)
I followed the guide for UnityXR and then tried steps from Issue #16 but no luck.
Is there any guide that I can follow?
My current setup is

The hands does not follow your controllers or they do but they are offseted? Are you getting any error messages?

This issue has received no response and will be closed.


Use a common gating script for gating host prep

Rather than repeat the preparation of apt sources
and the installation of python/python-yaml in
several locations, we consolidate the necessary
preparation into a common script.
Part of this includes ensuring that we use the
Rackspace apt mirrors. This is a necessary change
specifically for MNAIO tests where they are setup
to use archive.ubuntu.com which is slow and fails
often due to there being more hops to it.
JIRA: RE-1730
(cherry picked from commit c3674b33ec550fa21dc5d248a2bc4f15a70898ab)
Issue: RE-1730

recheck_xenial_no_artifacts_swift_deploy


Add option for parsing figureProps

Type: Minor
Review: @iefserge

@ellell why do we want this to be optional? should we parse by default?
otherwise lgtm

@iefserge I think not parsing by default is nice, because it's an easy way to clean up the html, and I think we should keep that as the default. By doing this optionally we can explicitly parse the attributes we need though.

But in this case we can't store articles in json since we still need original html?

sorry, misunderstood the purpose of this option
LGTM


Using custom object as Obs

Hi,
I would like to know your thoughts when using custom objects and forms.
As I see we have 2 choices for this, the simplest is making all the object obs doing:
customClass.obs or make every field obs that would be really painful.
The problem comes when i want to update single properties of my object. As I understood, making all the object obs will make every property obs as well, so If i update a single property, then every part where I have GetX/Obx should be updated but this is not the case. I just made it work calling customClass.refresh() what I consider the same of using just update() and GetBuilder.
Am I missing something here or we are missing a better way to this kind of scenarios? Or should we not use GetX/Obx for forms?
Thanks.

Why is it really painful to make every field observable?

Why is it really painful to make every field observable?

Doing so I see 2 alternatives:
1-Creating an obs in the controller itself, so meaning i case of create/edit i need to map manually the field of the controller with the field of the model.
2-Inside of my class make every field obs. In this case, first, i need to mix my model class with something not related with my model like obs meaning I have more dependencies to handle on different parts of my app. Also when parsing values or saving in DB i need to handle specific logic for obs.value for each value. In case of big models can be really painful.
Anyway, the debate is not that. If make a custom class observable is supported by the framework I guess is for a reason :)

You can wrap any class in an Rx. I'm not sure what you mean by "making a custom class observable".
In the end what you observe are either events saying that the whole instance changed (by using a Rx) or that the individual fields of the class changed (by wrapping each field).
You say that making your model observable is 'unrelated'. That is your choice, not a given.
I'm not sure what problem arises related to the DB but you might be able to make your own subclass of Rx to fix that.

You can wrap any class in an Rx. I'm not sure what you mean by "making a custom class observable".
In the end what you observe are either events saying that the whole instance changed (by using a Rx) or that the individual fields of the class changed (by wrapping each field).
You say that making your model observable is 'unrelated'. That is your choice, not a given.
I'm not sure what problem arises related to the DB but you might be able to make your own subclass of Rx to fix that.

Exactly, wrap the whole class with observable doing MyClass().obs. Doing reference to the documentation:
"
final user = User(name: 'John', last: 'Doe', age: 33).obs;
// user is "reactive", but the properties inside ARE NOT!
// So, if we change some variable inside of it...
user.value.name = 'Roi';
// The widget will not rebuild!,
// Rx don't have any clue when you change something inside user.
// So, for custom classes, we need to manually "notify" the change.
user.refresh();
// or we can use the update() method!
user.update((value){
value.name='Roi';
});
print( user );
"
So what is the point of having this? I mean, what it is the benefit of having the whole class wrap in obs if the properties inside are not observable? Dont you think if quite weird to have this?

Note that this is definitely not the appropriate place to ask questions, this was notified to you when you clicked on the issue form. Please use the community channels for this.
An observable object is one that generates one notifies its listeners when its object receives a new instance. When creating an Observable Model, you must either create the properties you want to be reactive with a .obs, or using the update method, which will make a copy of your current class, and update only the changed property (in the case of mutable classes ) or a new object (in the case of immutable classes).
The documentation is clear enough about that, including examples.
Well, as this question shouldn't even be here, I'm closing. Please do not use this channel for questions of use again, however if you find a bug or have a request for resources, open an issue, otherwise, look for a suitable channel for it like Discord, Telegram, Slack, or even StackOverflow.

Note that this is definitely not the appropriate place to ask questions, this was notified to you when you clicked on the issue form. Please use the community channels for this.
An observable object is one that generates one notifies its listeners when its object receives a new instance. When creating an Observable Model, you must either create the properties you want to be reactive with a .obs, or using the update method, which will make a copy of your current class, and update only the changed property (in the case of mutable classes ) or a new object (in the case of immutable classes).
The documentation is clear enough about that, including examples.
Well, as this question shouldn't even be here, I'm closing. Please do not use this channel for questions of use again, however if you find a bug or have a request for resources, open an issue, otherwise, look for a suitable channel for it like Discord, Telegram, Slack, or even StackOverflow.

Sorry but my issue it was not a question, it is pointing something that is not clear in the documentation because it is saying the 2 ways are equivalent when it is not(https://github.com/jonataslaw/getx/blob/master/documentation/en_US/state_management.md#where-obs-can-be-used)

Note that this is definitely not the appropriate place to ask questions, this was notified to you when you clicked on the issue form. Please use the community channels for this.
An observable object is one that generates one notifies its listeners when its object receives a new instance. When creating an Observable Model, you must either create the properties you want to be reactive with a .obs, or using the update method, which will make a copy of your current class, and update only the changed property (in the case of mutable classes ) or a new object (in the case of immutable classes).
The documentation is clear enough about that, including examples.
Well, as this question shouldn't even be here, I'm closing. Please do not use this channel for questions of use again, however if you find a bug or have a request for resources, open an issue, otherwise, look for a suitable channel for it like Discord, Telegram, Slack, or even StackOverflow.

Sorry but my issue it was not a question, it is pointing something that is not clear in the documentation because it is saying the 2 ways are equivalent when it is not(https://github.com/jonataslaw/getx/blob/master/documentation/en_US/state_management.md#where-obs-can-be-used)

I agree with you, i still don't understand what is the benefit doing all object with .obs and if it's can't be read, then all of syntactic sugar offered by package will be wasted.

Note that this is definitely not the appropriate place to ask questions, this was notified to you when you clicked on the issue form. Please use the community channels for this.
An observable object is one that generates one notifies its listeners when its object receives a new instance. When creating an Observable Model, you must either create the properties you want to be reactive with a .obs, or using the update method, which will make a copy of your current class, and update only the changed property (in the case of mutable classes ) or a new object (in the case of immutable classes).
The documentation is clear enough about that, including examples.
Well, as this question shouldn't even be here, I'm closing. Please do not use this channel for questions of use again, however if you find a bug or have a request for resources, open an issue, otherwise, look for a suitable channel for it like Discord, Telegram, Slack, or even StackOverflow.

Sorry but my issue it was not a question, it is pointing something that is not clear in the documentation because it is saying the 2 ways are equivalent when it is not(https://github.com/jonataslaw/getx/blob/master/documentation/en_US/state_management.md#where-obs-can-be-used)

I agree with you, i still don't understand what is the benefit doing all object with .obs and if it's can't be read, then all of syntactic sugar offered by package will be wasted.

Usually, I use copyWith with reactive class and update them inside the controller
Something like this
class Controller extends GetxController {
  final Rx<User> _user = Rx<User>();

  submit() {
    _user.value = userModel.copyWith(...);
  }
}

Note that this is definitely not the appropriate place to ask questions, this was notified to you when you clicked on the issue form. Please use the community channels for this.
An observable object is one that generates one notifies its listeners when its object receives a new instance. When creating an Observable Model, you must either create the properties you want to be reactive with a .obs, or using the update method, which will make a copy of your current class, and update only the changed property (in the case of mutable classes ) or a new object (in the case of immutable classes).
The documentation is clear enough about that, including examples.
Well, as this question shouldn't even be here, I'm closing. Please do not use this channel for questions of use again, however if you find a bug or have a request for resources, open an issue, otherwise, look for a suitable channel for it like Discord, Telegram, Slack, or even StackOverflow.

Sorry but my issue it was not a question, it is pointing something that is not clear in the documentation because it is saying the 2 ways are equivalent when it is not(https://github.com/jonataslaw/getx/blob/master/documentation/en_US/state_management.md#where-obs-can-be-used)

I agree with you, i still don't understand what is the benefit doing all object with .obs and if it's can't be read, then all of syntactic sugar offered by package will be wasted.

I agree with all you guys in documentation as @jonataslaw  specified i don't see any explanation for custom class objects .

i use freezed package to make sealed class state for combine with getx.
method refresh() works!
var state = const ManageOrderState.initial().obs;
final List<String> _tabs = [];
state.value = ManageOrderState.update(_tabs);
state.refresh();