Could not find assembly 'System.Threading.ThreadPool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' referenced by 'Nito.AsyncEx.Interop.WaitHandles'.

I have an UWP App when I try to build it for ARM in Release configuration it can't find the
System.Threading.ThreadPool assembly. Also the build takes forever before showing the output. (Over an hour, but not sure if this is actually part of the problem)
The project where this happens is https://github.com/LokiMidgard/WP10-Music-Player Actual Commit
I assume it'll work in x64. But I just started the build and if it takes as long as ARM I will comment on this thread when I'll be back from work.
Target Version is 1809 (Build 17763)
Min Version is Creators Update (Build 15063)
Library Version Nito.AsyncEx (5.0.0)
I think the only class I need is AsyncManualResetEvent
Stack Trace (Interresting part I think)

2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0010: Could not find assembly 'System.Threading.ThreadPool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' referenced by 'Nito.AsyncEx.Interop.WaitHandles'.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Microsoft.EntityFrameworkCore.Properties.Microsoft.EntityFrameworkCore.rd.xml(7): warning : ILTransform : warning ILT0027: Assembly name 'System.Collections.NonGeneric' failed to bind.
2>  Computing application closure and generating interop code
2>    Loading 135 modules...
2>    Generating code...
2>    Interop code generated.
2>  Generating serialization code
2>  Compiling interop code
2>  Generating System.Reflection.DispatchProxy proxy code.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0005: Type 'System.Threading.RegisteredWaitHandle' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0005: Type 'System.Threading.WaitOrTimerCallback' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration+<>c'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0003: Method 'WaitHandleAsyncFactory.ThreadPoolRegistration..ctor(WaitHandle, TimeSpan, TaskCompletionSource)' will always throw an exception due to the missing method 'WaitOrTimerCallback..ctor(object, IntPtr)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0003: Method 'WaitHandleAsyncFactory.ThreadPoolRegistration.System.IDisposable.Dispose()' will always throw an exception due to the missing method 'RegisteredWaitHandle.Unregister(WaitHandle)'. There may have been a missing assembly.
2>  Cleaning up unreferenced code
2>  Generating native code
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Internal Compiler Error
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Type 'System.Threading.RegisteredWaitHandle' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Type 'System.Threading.WaitOrTimerCallback' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration+<>c'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Method 'WaitHandleAsyncFactory.ThreadPoolRegistration..ctor(WaitHandle, TimeSpan, TaskCompletionSource)' will always throw an exception due to the missing method 'WaitOrTimerCallback..ctor(object, IntPtr)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Method 'WaitHandleAsyncFactory.ThreadPoolRegistration.System.IDisposable.Dispose()' will always throw an exception due to the missing method 'RegisteredWaitHandle.Unregister(WaitHandle)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Type 'System.Threading.RegisteredWaitHandle' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Type 'System.Threading.WaitOrTimerCallback' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration+<>c'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Method 'WaitHandleAsyncFactory.ThreadPoolRegistration..ctor(WaitHandle, TimeSpan, TaskCompletionSource)' will always throw an exception due to the missing method 'WaitOrTimerCallback..ctor(object, IntPtr)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Method 'WaitHandleAsyncFactory.ThreadPoolRegistration.System.IDisposable.Dispose()' will always throw an exception due to the missing method 'RegisteredWaitHandle.Unregister(WaitHandle)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : ILT0005: 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\ARM\ilc\Tools\nutc_driver.exe @"C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\obj\ARM\Release\ilc\intermediate\MDIL\MusicPlayer.rsp"' returned exit code 1

Complete StackTrace

2>------ Build started: Project: MusicPlayer, Configuration: Release ARM ------
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Controls\Albums.xaml.cs(3,7,3,13): warning CS0105: The using directive for 'System' appeared previously in this namespace
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Controls\Albums.xaml.cs(5,7,5,33): warning CS0105: The using directive for 'System.Collections.Generic' appeared previously in this namespace
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Controls\Albums.xaml.cs(71,28,71,41): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Controls\TiledBackgroundPanel.cs(211,18,211,29): warning CS8321: The local function 'ResizeArray' is declared but never used
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Pages\SettingsPage.xaml.cs(44,26,44,30): warning CS0219: The variable 'path' is assigned but its value is never used
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\App.xaml.cs(57,39,57,49): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Viewmodels\MediaplayerViewmodel.cs(104,17,104,36): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Viewmodels\MediaplayerViewmodel.cs(134,28,134,40): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\OldMainPage.xaml.cs(53,27,53,48): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\NowPlaying.xaml.cs(29,13,29,29): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\NowPlaying.xaml.cs(32,51,32,60): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Viewmodels\AlbumViewmodel.cs(81,35,81,44): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\OneDriveLibrary.cs(342,46,342,47): warning CS0168: The variable 'e' is declared but never used
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Controls\DisabledCommand.cs(15,35,15,52): warning CS0067: The event 'DisabledCommand.CanExecuteChanged' is never used
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Viewmodels\AlbumViewmodel.cs(236,44,236,49): warning CS0649: Field 'AlbumViewmodel.cover' is never assigned to, and will always have its default value null
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Controls\DelegateCommand.cs(17,35,17,52): warning CS0067: The event 'DelegateCommand.CanExecuteChanged' is never used
2>  MusicPlayer -> C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\bin\ARM\Release\MusicPlayer.exe
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(3126,5): warning : APPX4001: Build property AppxBundlePlatforms is not explicitly set and is calculated based on currently building architecture. Use 'Create App Package' wizard or edit project file to set it.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0010: Could not find assembly 'System.Threading.ThreadPool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' referenced by 'Nito.AsyncEx.Interop.WaitHandles'.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0010: Could not find assembly 'System.Threading.ThreadPool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' referenced by 'Nito.AsyncEx.Interop.WaitHandles'.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0010: Could not find assembly 'System.Threading.ThreadPool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' referenced by 'Nito.AsyncEx.Interop.WaitHandles'.
2>  Processing application code
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0010: Could not find assembly 'System.Threading.ThreadPool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' referenced by 'Nito.AsyncEx.Interop.WaitHandles'.
2>C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\Microsoft.EntityFrameworkCore.Properties.Microsoft.EntityFrameworkCore.rd.xml(7): warning : ILTransform : warning ILT0027: Assembly name 'System.Collections.NonGeneric' failed to bind.
2>  Computing application closure and generating interop code
2>    Loading 135 modules...
2>    Generating code...
2>    Interop code generated.
2>  Generating serialization code
2>  Compiling interop code
2>  Generating System.Reflection.DispatchProxy proxy code.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0005: Type 'System.Threading.RegisteredWaitHandle' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0005: Type 'System.Threading.WaitOrTimerCallback' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration+<>c'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0003: Method 'WaitHandleAsyncFactory.ThreadPoolRegistration..ctor(WaitHandle, TimeSpan, TaskCompletionSource)' will always throw an exception due to the missing method 'WaitOrTimerCallback..ctor(object, IntPtr)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): warning : ILTransform : warning ILT0003: Method 'WaitHandleAsyncFactory.ThreadPoolRegistration.System.IDisposable.Dispose()' will always throw an exception due to the missing method 'RegisteredWaitHandle.Unregister(WaitHandle)'. There may have been a missing assembly.
2>  Cleaning up unreferenced code
2>  Generating native code
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Internal Compiler Error
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Type 'System.Threading.RegisteredWaitHandle' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Type 'System.Threading.WaitOrTimerCallback' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration+<>c'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Method 'WaitHandleAsyncFactory.ThreadPoolRegistration..ctor(WaitHandle, TimeSpan, TaskCompletionSource)' will always throw an exception due to the missing method 'WaitOrTimerCallback..ctor(object, IntPtr)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Method 'WaitHandleAsyncFactory.ThreadPoolRegistration.System.IDisposable.Dispose()' will always throw an exception due to the missing method 'RegisteredWaitHandle.Unregister(WaitHandle)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Type 'System.Threading.RegisteredWaitHandle' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Type 'System.Threading.WaitOrTimerCallback' was not included in compilation, but was referenced in type 'Nito.AsyncEx.Interop.WaitHandleAsyncFactory+ThreadPoolRegistration+<>c'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Method 'WaitHandleAsyncFactory.ThreadPoolRegistration..ctor(WaitHandle, TimeSpan, TaskCompletionSource)' will always throw an exception due to the missing method 'WaitOrTimerCallback..ctor(object, IntPtr)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : Method 'WaitHandleAsyncFactory.ThreadPoolRegistration.System.IDisposable.Dispose()' will always throw an exception due to the missing method 'RegisteredWaitHandle.Unregister(WaitHandle)'. There may have been a missing assembly.
2>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : ILT0005: 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\ARM\ilc\Tools\nutc_driver.exe @"C:\Users\patri\source\repos\MusicPlayer\MusicPlayer\obj\ARM\Release\ilc\intermediate\MDIL\MusicPlayer.rsp"' returned exit code 1
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Update, no it does not work under x64 :(

ThreadPool is unavailable in UWP with target lower than Fall Creators Update (16267 version, if i am right).
https://apisof.net/catalog/System.Threading.ThreadPool

@StephenCleary I think, WaitHandles project should target netstandard1.6;netstandard2.0 instead of netstandard1.3;netstandard2.0. Or do not depend from ThreadPool, if it is possible.

ThreadPool is unavailable in UWP with target lower than Fall Creators Update

Well, that's unfortunate. UWP claims to support ThreadPool even in the original 10.0.
Changing WaitHandles to netstandard1.6 seems like a viable option. Removing the dependency isn't possible; WaitHandles pretty much only uses ThreadPool.

Note to self: it may be better to use UWP-specific versioned dependencies so that UWP pre-16267 will not attempt to pull in WaitHandles at all.


Patch gitlab temporarily.

Bugfix release pending on opam-repository gitlab,gitlab-unix 0.1.7.
See https://github.com/tmcgilchrist/ocaml-gitlab/pull/75.
Fixes issues with deserialising the projects introduced with https://github.com/ocurrent/ocaml-ci/pull/749

There are a few other fixes and improvements pending for gitlab bindings. I would like to keep it as a submodule while I sort those out and then do another opam release to include them.


(SERVER-1196) Add instrumentation to env-class-int-cache-enabled test

This PR adds some instrumentation to the
environment-classes-integration-cache-enabled-test, in an attempt to
get more information about why it fails when it does.
This commit adds a timeout to the initial wait that the
class-info-updated-after-cache-flush-during-prior-request does to see
that the getClassInfoForEnvironment method in a JRubyPuppet instance has
been invoked.  The current code waits indefinitely for that action,
which may never happen in the case that some higher-level failure has
occurred, e.g., the client fails to connect to the server, in which case
the test could hang.

I apologize in advance for how horrible the whitespace diffs look in environment_classes_int_test in 7996803.  Most of the line differences are indentation caused by surrounding the pre-existing test body with let and try/catch blocks.  Might be easiest to review that commit with w=1.

+1

Wouldn't mind letting this run through Travis once first before we merge this.  Would be nice to see it fail in a useful way.

:+1:


Access external calendars privately

Hi @haydenull,
I've tried out the plugin and experimented with the subscription feature but unless I'm doing something wrong it seems that it's only possible to access the data from calendars that have been made public. Would it be possible to improve this so one could, for example, provide their login credentials and avoid making their calendars public?
Thanks in advance

Sorry, this can not be done at present, each channel is not uniform in the way of authentication.
If you can ensure that the subscription link is not leaked, it is actually safe. The plugin does not collect information about your settings.

Thank you for the feedback @haydenull


Find a way to move the config file outside of the JAR

Having to rebuild the JAR when making a config change is annoying.
Also, I'm paranoid that I'm going to accidentally commit the production login credentials at some point. If it's a separate file, I can put it in gitignore.

Maybe close this issue? :)


Upload and Refresh failure when Media Manager folder names are created with spaces

In the Media Manager, if a folder is created with a space in the folder name, the folder does get created on the filesystem, but any attempt to view the contents of the folder hangs with the "Loading" message.
A refresh at this time also fails. Refreshing the entire page makes no difference - it remains in "Loading".
An attempt to upload a file to the folder shows the file(s) uploading, but the files are never placed in the folder on the underlying filesystem, and are not visible through the media manager interface.
Removal of any space characters corrects this issue.
(Also, any possibility of entire folder uploads in future? ;-) )

@shaundewberry The push I just made should fix the issue with spaces in the folders, as it seems that this was a browser-specific issue with some browsers sending the encoded hash (i.e. with %20) and others sending a fully decoded version already. Always decoding the component seems to resolve the issue.
As for your second question, it is possible to allow bulk folder uploading via a drag-and-drop file upload mechanism, but support for it is shaky between browsers. I would love to implement it once support gets a little more stable across the board.

Tested and working beautifully. Thank you.


outside the mask area is changed

You can see that compared with the original image, the unmasked areas have also changed. Is there any good way for me to avoid this? Thanks

Hi, one thing you could try is to apply an attention-mask to cross-attention, similar to another work in our group(https://github.com/UCSB-NLP-Chang/Diffusion-SpaceTime-Attn).


Include meta in new IamDataFrames returned by aggregation functions

Please confirm that this PR has done the following:

[x] Tests Added
[x] Documentation Added
[x] Description in RELEASE_NOTES.md Added

Description of PR
This PR ensures that all aggregation functions include the meta table of the original IamDataFrame when returning a new instance (append=False). As part of the implementation, all test dataframes now have one or two meta column, and the merging of meta tables was moved from the append() function to an own function in utils to be reused.

Thanks for the review @znicholls

The one thing I couldn't see was an explicit test for the behaviour you've changed?

The new behavior is tested by adding meta-columns in the test dataframes provided in conftest.py, so the tests check that the new IamDataFrame instances returned by aggregation functions also have these meta indicators (via assert_iamframe_equal()). You could test the test behavior by only extracting the changes to the conftest.py and the test files, but not core.py and utils.py - that should fail.
Anyway, I added an explicit test for merge_meta() to make sure that the precedence of left over right is not accidentally changed in the future.


Standalone: deploy Nova with Ceph RBD

During adoption with Ceph, we want to use that backend for Nova on source and destination clouds again.
JIRA OSPRH-4287

/hold testing

We can merge this after https://github.com/openstack-k8s-operators/data-plane-adoption/pull/280

recheck

/approve

recheck

recheck

recheck

good to go

recheck

recheck

recheck dep

recheck dep

recheck RETRY LIMIT

recheck cix deps

recheck

recheck

recheck

The local storage CI job failure looks legit
TASK [dataplane_adoption : create a Nova Compute Extra Config service] *********
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "set -euxo pipefail\n\n\nCEPH_FSID=$(oc get secret ceph-conf-files -o json | jq -r '.data.\"ceph.conf\"' | base64 -d | grep fsid | sed -e 's/fsid = //')\n\noc apply -f - <<EOF\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: nova-compute-extraconfig\n  namespace: openstack\ndata:\n  19-nova-compute-cell1-workarounds.conf: |\n    [workarounds]\n    disable_compute_service_check_for_ffu=true\n---\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: ceph-nova\n  namespace: openstack\ndata:\n  03-ceph-nova.conf: |\n    [libvirt]\n    images_type=rbd\n    images_rbd_pool=vms\n    images_rbd_ceph_conf=/etc/ceph/ceph.conf\n    images_rbd_glance_store_name=default_backend\n    images_rbd_glance_copy_poll_interval=15\n    images_rbd_glance_copy_timeout=600\n    rbd_user=openstack\n    rbd_secret_uuid=$CEPH_FSID\n---\napiVersion: dataplane.openstack.org/v1beta1\nkind: OpenStackDataPlaneService\nmetadata:\n  name: nova-compute-extraconfig\n  namespace: openstack\nspec:\n  label: nova.compute.extraconfig\n  configMaps:\n    - nova-compute-extraconfig\n    - ceph-nova\n  secrets:\n    - nova-cell1-compute-config\n    - nova-migration-ssh-key\n  playbook: osp.edpm.nova\nEOF\n", "delta": "0:00:00.151113", "end": "2024-03-25 11:55:04.580396", "msg": "non-zero return code", "rc": 1, "start": "2024-03-25 11:55:04.429283", "stderr": "++ oc get secret ceph-conf-files -o json\n++ jq -r '.data.\"ceph.conf\"'\n++ base64 -d\n++ grep fsid\n++ sed -e 's/fsid = //'\nError from server (NotFound): secrets \"ceph-conf-files\" not found\n+ CEPH_FSID=", "stderr_lines": ["++ oc get secret ceph-conf-files -o json", "++ jq -r '.data.\"ceph.conf\"'", "++ base64 -d", "++ grep fsid", "++ sed -e 's/fsid = //'", "Error from server (NotFound): secrets \"ceph-conf-files\" not found", "+ CEPH_FSID="], "stdout": "", "stdout_lines": []}

We should not refer ceph-conf-files when testing w/o ceph

recheck

@fmount @jistr could we please figure the merge path for this and https://github.com/openstack-k8s-operators/data-plane-adoption/pull/280 that it needs (or vice versa) without blocking any CI jobs on the half-way of merging these?

Ideally we'd be able to set dependencies on both sides (a circular one) to get all the CIs green everywhere, and then force-merge on one side if necessary. We probably have more freedom on the DPA side for force-merging, but i'm not sure what will prow allow us to do here in install_yamls. We should probably include @marios and @cescgina in this discussion. They're off now and there is no CI meeting on Monday due to it being holidays in many countries, but i put it on Wednesday agenda next week, so we can discuss there at latest, or preferably earlier on Slack.

@fmount @jistr @SeanMooney could we please figure the merge path for this and openstack-k8s-operators/data-plane-adoption#280 that it needs (or vice versa) without blocking any CI jobs on the half-way of merging these?
We have now a few more of adoption jobs for local storage , swift , and ceph. The latter one will break as soon as we merge this PR w/o its dependency, or otherwise order

Shouldn't this patch be the dependency of https://github.com/openstack-k8s-operators/data-plane-adoption/pull/280 ?
We start with Ceph as Nova backend in the src Cloud, then you can take care about it w/ PR#280.
I'm basically thinking about reversing the order, merge the install_yamls patch first, and then recheck PR#280 that should be green and fixes the ceph adoption scenario.
@bogdando am I understanding things wrong? I assume if we merge this one than PR#280 should checkout the latest install_yamls version and it should work as expected.
Of course, I'm assuming that PR#280 is ready to go, and we're only discussing about the merge order to minimize the CI disruption.

Alternatively the DPA PR could perhaps be made to support the transition - detect which option is deployed and act accordingly? But i guess it depends on how easy that would be and what are our force-merging options.

I'm basically thinking about reversing the order, merge the install_yamls patch first, and then recheck PR#280 that should be green and fixes the ceph adoption scenario.
@bogdando am I understanding things wrong? I assume if we merge this one than PR#280 should checkout the latest install_yamls version and it should work as expected.

pr 280 is used to pass earlier with this one added as a dependency. And merging this one first was the plan to go. However, as soon as we merge this one, adoption CI with ceph will be broken, until we merge pr 280...

I think it's just a matter of coordinating the merges. I'm ok to merge this change as long as PR280 will be green and fix the Ceph job.

I'm basically thinking about reversing the order, merge the install_yamls patch first, and then recheck PR#280 that should be green and fixes the ceph adoption scenario.
@bogdando am I understanding things wrong? I assume if we merge this one than PR#280 should checkout the latest install_yamls version and it should work as expected.

pr 280 is used to pass earlier with this one added as a dependency. And merging this one first was the plan to go. However, as soon as we merge this one, adoption CI with ceph will be broken, until we merge pr 280...

I think it's just a matter of coordinating the merges. I'm ok to merge this change as long as PR280 will be green and fix the Ceph job.

let's start with this and follow up the ceph job and install yamls env var to control it.
let's please have the main deliverable no longer blocked ...
@jistr I'll poke this once CI is OK for pr 280 with this one added as a dependency, or vise-versa

recheck dep updated

@jistr @marios @cescgina hi, EDPM deployment time needs a poke to a 1 hour or more, see the log just ends in the middle of run: https://logserver.rdoproject.org/57/757/752f4d8a91a8789c1c14db7ea31982cd5cf891d2/github-check/cifmw-data-plane-adoption-osp-17-to-extracted-crc/5e21193/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/nova-compute-extraconfig-openstack-openstack-tk9fj/logs/openstackansibleee.log

recheck adoption CI seems better recently

reversed depends on again, no need to re-test as it's been alredy

recheck deps....

recheck

recheck

recheck dep conflicts

recheck retry_limit

As CI seems not happy with these being pushed in a breaking move, let's make it smooth

I think it's just a matter of coordinating the merges. I'm ok to merge this change as long as PR280 will be green and fix the Ceph job.

@SeanMooney done

recheck no logs

recheck

/retest-required

recheck

/test install-yamls-deploy

recheck

I may be missing something as the ceph-based job seems failing for the original cause (mismatched storage configs on source and dest)

We have a regression I think, see failed job uses pc-q35-rhel9.2.0, while the last passed (a week ago) used pc-i440fx-rhel7.6.0

pj-rehearse install-yamls-deploy

/test install-yamls-deploy

recheck  The Keystone service is temporarily unavailable

recheck new dep

recheck dep

recheck

/test install-yamls-deploy

the failue looks legit
+ export EDPM_COMPUTE_CEPH_NOVA=false
+ EDPM_COMPUTE_CEPH_NOVA=false
+ export 'CEPH_ARGS=-e /root/deployed_ceph.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/cephadm-rbd-only.yaml'
+ CEPH_ARGS='-e /root/deployed_ceph.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/cephadm-rbd-only.yaml'
+ [[ false == \f\a\l\s\e ]]
+ export 'CEPH_ARGS= -e /root/nova_noceph.yaml'
+ CEPH_ARGS=' -e /root/nova_noceph.yaml' (oops)

/lgtm


gcsfs.open encoding capability

I couldn't find anything in the documentation, but if I understand correctly there isn't support to predefining a sepcific encoding, as possible through the native python libraries.

You could always open in binary mode and wrap with TextIOWrapper. You may be interested in seeing what fsspec.open does (aka filesystem-spec, which has partial support for gcsfs). Given the progress there and the eventual plan to have all of these filesystems depend on fsspec, I would recommend against implementing a full text mode in gcsfs right now.

thanks @martindurant, is there any other line by line google cloud storage reader that you recommend using that does support pre defined encoding?

I have no idea, sorry.
If you did want to implement encoding here, I promise to review it. Actually checking the code of open(), would be trivial.

@martindurant I see that the code op open is wrapped with io.TextIOWrapper which supports encoding. Is there a reason not to use it there?

That's why I said it would be a trivial fix, if you wanted to implement it :)

This is now fixed in fsspec


[FLINK-26505][hive] Fix IndexOutOfBoundsException for non equality condition exists in left semi join in Hive dialect

What is the purpose of the change
The pr is try to fix the IndexOutOfBoundsException that when there's only 1 = 1 in semi join cluster like the sql: select * from a left semi join b on 1 = 1.
Also, with this fix, we are also enabled to support non equality condition for left semi join which is supported in Hive HIVE-17766.
Brief change log

Replace the method RelOptUtil.splitJoinCondition with HiveRelOptUtil.splitHiveJoinCondition for there're some bugs in RelOptUtil.splitJoinCondition
Not to throw exception when there're some non-equality conditions for semi join.
Constuct join condition with equality conditions and non-equality conditions.

Verifying this change
Added two sql statements involved with semijoin which are to fail before this fix in  join.q.
select count(1) from (select x from foo where x = 1) foo1 left semi join (select i from bar where i = 1) bar2 on 1 = 1;
select * from foo left semi join bar on (foo.x + bar.i > 4);
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, 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? not documented

@wuchong Could you please help review?


Fix bug in the event polling with Rx Executor scheduler

Fixes the issue Netflix#1806 where the executor scheduler does not poll messages from certain queue types when the thread pool size is less than the number of queues to poll for.
As per conversion in https://github.com/Netflix/conductor/issues/1806#issuecomment-722015404, restoring default behavior and keeping the option to configure the thread pool size for the scheduler.

Pull Request Test Coverage Report for Build 4782

4 of 9 (44.44%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 70.157%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/src/main/java/com/netflix/conductor/core/events/queue/EventPollSchedulerProvider.java
2
7
28.57%

Totals

Change from base Build 4752:
0.02%

Covered Lines:
12998

Relevant Lines:
18527

💛  - Coveralls

@rickfish Does this change fix the issue #1806?

@mdepak according to the documentation for Schedulers.computation():
the number of threads, by default, is equal to the number of processors
again, when using OpenShift or any Kubernetes implementation I believe, each pod (jvm) is allocated logical CPUs so it could definitely have just one logical CPU so that would again mean that only one event could be processed, unless I am missing something...

@mdepak Can you please pick this back up and drive to completion as it seems to be affecting other users as well? Thanks.

@apanicker-nflx I will work on identifying the root cause and ensure it is fixed sooner. Apologies for the delay.

@mdepak Pinging again as a reminder.

The intent of this pull request is to ensure that the default behavior is maintained before my previous changes (https://github.com/Netflix/conductor/pull/1748) of introducing Execuution scheudler. The following version of Obervable.interval() method was invoked earlier from the ObservableQueue implementations and it is using compuation scheudler.
public static Observable<Long> interval(long initialDelay, long period, TimeUnit unit) {
        return interval(initialDelay, period, unit, Schedulers.computation());
}

With this PR, when the config (Configuration#getEventSchedulerPollThreadCount()) is not provided (NULL), Schedulers.computation() is returned thus maintining the default behavior. I have verified with 100 types of event queues in my local with Schedulers.computation() scheduler and it works as expected. Whereas dedicated threadpool helps in high througput scenairos where each thread is allocated for one event type.  Could we merge this PR so that existing behavior is maintained before I dig deep to identify root cause to fix in Executor scheduler area as well?  Please let me know your thoughts on this.
Sidenote: Ideally, the obervables from interval() should share the threads from the passed scheduler object to poll from the queues. This happends as expected for Schedulers.computation(). In theory,Executor scheduler is expected to behave same way. But a thread from the Executor scheudler pool always polls a particular queue type instead of relinquishing it after a single call. This causes only few event types to be processed. RxJava version (1.2.2) is deprecated and I guess no support is available. I just started trying to migrate to latest RxJava 3.0.0 version to see if any bug is fixed. Apologies for the dealyed respones.

@mdepak Please resolve conflicts.


[Components][Fixes #6953] Prevent multiple threads from entering ProcessRenderQueue

We were seeing some errors in the CI on tests dealing with async rendering. I was able to repro them by running the tests on a tight loop. I believe the main cause was that two threads were entering ProcessRenderQueue simultaneously, one doing synchronous work and one or more threads coming in from async callbacks.
I added a lock to control the access to the method so that only one thread can be processing the queue at a time.

Closing this PR as we changed it for https://github.com/aspnet/AspNetCore/commit/f456e3d153039986e62d969b1c9d63aa301daf65


analyzer: do not depend on local network (#50528)

Fixes https://github.com/istio/istio/issues/50533

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio_release-1.20
ab2aed88c10e19b7b52614fce92d47d51b7c6542
link
true
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-basic-arm64


Retry dataproc transient errors

resolves #1271
docs dbt-labs/docs.getdbt.com/# N/A
Problem
Python models that are configured to use dataproc serverless jobs will fail when the polling API call returns a transient 5xx error. The actual dataproc batch job will still run to completion successfully, and data becomes available in the table, but all downstream models will get skipped because dbt thinks it failed.
Solution
This PR solves the problem by adding exponential retry to the API polling calls, which will retry all transient API errors.
It also increases the time between polling calls while the dataproc job is still in a "pending" state. This is because Dataproc serverless batch jobs take at least 60 seconds to start up, which leads to a lot of additional polling, and increases the chance of getting a transient error.
This increase in time does mean that any models that normally complete within 10 seconds of the Dataproc job transitioning from "pending" to "running" will see increased runtime. In practice I would be very surprised if this were to cause any issues, as this is only impacting jobs that are submitted via dataproc serverless, which are expected to run longer than interactive/dedicated cluster methods.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

I am finding it hard to reproduce the issue in a test environment where I'm just running a handful of Python models, but the production environment hits the problem daily (10s/100s of concurrent Python models). I'll be applying this patch to our prod environment for our next daily run, and if all goes well, I'll check off the relevant testing checklist items.

I've been running this in our production environment for a couple weeks and have not seen any more cases of Python models incorrectly marked as failed.

Thanks for the PR, all the research, and context @OSalama! I wound up running into this same issue when addressing retries in general in dbt-biguqery. I'll add you to the changelog on that PR (#1395) since you identified an issue and a fix, and because we really appreciate the time and effort you spend on this. In the meantime, feel free to comment on that PR if you feel it's not achieving the goal you set out for with this change. Fair warning, we're looking to merge the other PR soon. If there's still a gap, we can always submit another change. I'm going to close this one for now though.


Microsoft.PowerPlatform.Cds.Client.Utils.CdsClientOperationException: The user with SystemUserId=6fc9a520-xx-xx-xxb1 in OrganizationContext=xx is disabled

I use Azure Keyvault to pass my clientsecret and clientid. Upon insert I get an error.
Microsoft.PowerPlatform.Cds.Client.Utils.CdsClientOperationException: The user with SystemUserId=6fc9a520-xx-xx-xxb1 in OrganizationContext=xx is disabled  ---> Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'BadRequest'    at Microsoft.PowerPlatform.Cds.Client.CdsConnectionService.ExecuteHttpRequestAsync(String uri, HttpMethod method, String body, Dictionary2 customHeaders, CancellationToken cancellationToken, CdsTraceLogger logSink, Nullable1 requestTrackingId, String contentType, Nullable1 sessionTrackingId, Boolean suppressDebugMessage, HttpClient providedHttpClient)
at Microsoft.PowerPlatform.Cds.Client.CdsServiceClient.CdsCommand_WebExecute(String queryString, String body, HttpMethod method, Dictionary2 customHeaders, String contentType, String errorStringCheck, Guid requestTrackingId)    --- End of inner exception stack trace ---    at Microsoft.PowerPlatform.Cds.Client.CdsServiceClient.Create(Entity entity)
When I look into my application insights log I see that in between a lot of operations with the same clientid, this error is thrown by the cdsclient. However, I checked and this SystemUserId is not my clientid. Can something go wrong in the cloning process? I will ask the IT guys to look if this SystemUserId is part of the AzureAD. But it is strange as the keys are only loaded at startup.
I looked at the Clone() but did not find anything. I do use early bounding (strong typed generated class with entities), but I do not use it with cdsclient.
`        public static void AddCdsServiceClient(this IServiceCollection services, Action configureOptions)
{
CdsServiceClientOptions cdsServiceClientOptions = new CdsServiceClientOptions();
configureOptions(cdsServiceClientOptions);
        services.AddSingleton(sp =>
            new CdsServiceClientWrapper(
                cdsServiceClientOptions,
                sp.GetRequiredService<ILogger<CdsServiceClientWrapper>>(),
                cdsServiceClientOptions.TraceLevel)
            );

        services.AddScoped<IOrganizationService, CdsServiceClient>(sp =>
            sp.GetService<CdsServiceClientWrapper>()._cdsServiceClient.Clone());

        if (cdsServiceClientOptions.IncludeOrganizationServiceContext)
        {
            services.AddScoped(sp =>
                new OrganizationServiceContext(sp.GetService<IOrganizationService>()));
        }
    }`

This is the Error: The user with SystemUserId=6fc9a520-xx-xx-xxb1 in OrganizationContext=xx is disabled
That will be the user ID that your application user is mapped too.  have you checked to see that it is not disabled?

I understand. No code has been changed and functionality works fine. This SystemUserId must be a clientid which is not present in the app registrations, nor in the azure ad as user. So how can this error only happen on PowerPlatform-CdsServiceClient and not for the regular httpsclient and servicecontext calls just before and after this error?

@V4A001,  so im clear on what your saying as the helpers your using are not our code..
You have created a connection string with authtype=ClientSecret? or are you using the constructor to create a Client\Secret based auth flow?
The constructor is not throwing an error?
and is the CdsServiceClient.IsReady == true?
is this happening on the first call your making? or is your client working properly, then you .clone it and it fails?
thanks
MattB

Going  to close this due to no Response...
if its still an issue.. please do reopen and add some info
thanks!

Thank you. It turned out that in D365CE (CRM) the user who owns the process was disabled. This process sent out an email immediately upon record creation. So it was not the clientId/ clientSecret upon authentication. Initially I could not find the userid as it was not in the Active Directory. The userId shown was of the CRM user.
thank you for your kind help. Appreciated.


Allow to be run as a module

It would be lovely if it could be run as a module accepting standard input, so I could do day10.py < day10.txt | python -m advent_of_code_ocr.
As mentioned in Reddit comment

I'd be happy to do this issue.

Sounds good to me, go for it!


Performance issue

Hello
We are trying to implement Xonomy in our website.
But we encounter a perfomance issue on IE11 and Edge :
As you can see on our test page « Test2.html», it’s difficult to expand/collapse Xml
With profiler tool (F12), we can see that action "event" seems take long time : we are under the impression that jQuery animation (fadeIn,slideUp) is part of the issue.

Any advice to optimize our code ?
Is it possible to create an option to disable animation ?
Best regards
test2.zip

We have found an explanation :
We think that part of the issue is in xonomy.css.
If we delete this class: .xonomy.nerd * { position: relative; }, performance problem solved in IE11 and Edge.
But there are some impacts :
1)plus/minus issue : modify this class :
.xonomy.nerd .element .connector :{ border-top: 1px dotted #b6b6b6; width: 24px; height: 10px; position: relative; top: 9px; left: -10px; }

Chewed selectable text issue : modify this class :
.xonomy.nerd .element > .children > .textnode .char { position : relative;}
with this last modification, performance issue reappears a little.

Maybe, InlineMenu could be restructured without using a "position:relative" ?


Add option to remove hocuspocus from bundle

"Fixes" #440
This PR replaces CollabServer with an interface ICollabServer and a concrete implementation, HocuspocusCollabServer. It also adds another implementation, NoOpCollabServer, that does nothing.
A plugin is added to esbuild in build_bundle.ts that replaces the import of HocuspocusCollabServer with NoOpCollabServer if the SB_NO_COLLAB environment variable is set.
Since the npm import of hocuspocus won't be included in the final bundle with SB_NO_COLLAB the bundle can be deployed.

I may  want to take this one step further: #449

Closing this, as real-time collab (and with that HocusPocus) has now been removed from SB entirely. Thanks for the effort though!


Manual installation of libgconf-2-4 is not required anymore

The issue was fixed
https://bugs.chromium.org/p/chromium/issues/detail?id=795759#c7

Thanks @peleccom!


temp

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#170  👈
#166
#160
#163
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @richardhuaaa and the rest of your teammates on  Graphite


Common steps doesn't working

Current behavior
I created my project according to the recommended structure. I have set up the common steps in the common directory /cypress/features/common.
If I set  "stepDefinitions"：" **/*.step.ts"  in the package.json., the common steps work fine, but Before hooks become global, and when I run home.features, the Before log in srp steps is printed.

If I remove  "stepDefinitions"：" **/*.step.ts"  from the package.json., Before hooks can work for specific feature, but common steps don't work.

Desired behavior

Test code to reproduce
https://github.com/amber-yuan/cypress-cucumber-demo

Versions

Cypress version:
Preprocessor version:
Node version:

Checklist

[ ] I've read the FAQ.
[ ] I've read Instructions for logging issues.
[ ] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

Working as intended, try this.
diff --git a/package.json b/package.json
index 70afa8a..6ed9da4 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,9 @@
   },
   "cypress-cucumber-preprocessor": {
     "nonGlobalStepDefinitions": true,
-    "stepDefinitions": "**/*.steps.ts"
+    "stepDefinitions": [
+      "[filepath]/*.steps.ts",
+      "cypress/features/common/*.steps.ts"
+    ]
   }
 }

@badeball Hi~ I tried this approach and it worked very well, thank you very much.
I try to change the structure and failed.

It can't find the step that defines in properties.steps.ts

You have to figure out this stuff yourself. I recommend updating to the latest version for somewhat improved error messages.

I push a new version to https://github.com/amber-yuan/cypress-cucumber-demo
I configured the stepDefinition in package.json and the common steps can be recognized. But the same issue occurred "Before hooks become global, and when I run home.features, the Before log in srp steps is printed."

And I try to set like below
"cypress-cucumber-preprocessor": {
    "nonGlobalStepDefinitions": true,
    "nonGlobalStepBaseDir": "cypress/step_definitions"
  }

The Before hooks is also global.
Any help would be appreciated!  @badeball

You've essentially reverted my changes, so why would it work?
In any case, you appear to be about to stumble upon another, unresolved issue.


Fix!: In Airflow only generate cadence DAGs for snapshots promoted to prod

we weren't doing this already?

we weren't doing this already?

@tobymao  I was surprised too!


Feature Request: Create threads for /move

whenever the user wants to play a game with Lise in Discord, the current channel gets clogged with spam Discord messages, this can be resolved by creating a thread each time /move is run and running the game within this thread. Now, the question of how Lise can keep track of which thread to respond to the next move function is tricky. Any help is appreciated

actually this is bit of tricky, not really sure if someone new can figure it out, but if you can that be great

https://github.com/jalpp/Chesslise/commit/9de21650503eeee07ff32ad3ab5484877075a15a partially fixes this


Do not use 'U' mode with python 3

It only exists for backwards compatibility and was deprecated in python 3.4.
https://docs.python.org/3/library/functions.html#open

Coverage decreased (-0.02%) to 77.033% when pulling 3669beafc87c1ef845d3dc48832c703a81f273c3 on michael-k:universal-newline-mode into 5ec2927f332708c76103bf199d05094c8a92badf on klen:develop.

The tests are not failing because of this change.  I think it's due to travis' infrastructure update.

@michael-k Thank you!


Feature Request for Alarm Manager running status.

Need API for knowing whether the alarm is running or not, when it scheduled.

Even when the alarm is started or cancelled, The API returns true which is supposed to be the actual status (true/false). Please event fix it.

I have added this API, could any one verify it?

May be i will be having issue with pull request as i dont have a mac machine
On Tue, Aug 27, 2019 at 11:57 PM Ben Konyi<EMAIL_ADDRESS>wrote:

@GadepalliAditya1998 https://github.com/GadepalliAditya1998 awesome,
thanks for that! I'll take a closer look later today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/39314?email_source=notifications&email_token=AMGJTW3MPSCHEGOHZ2TP3MLQGVWYTA5CNFSM4IQAC7GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IVSKA#issuecomment-525424936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMGJTW2KUE5WYLRF6JHTOITQGVWYTANCNFSM4IQAC7GA
.

Hey Ben , I even need your help in geofencing
On Wed, Aug 28, 2019 at 12:01 AM Gss Aditya<EMAIL_ADDRESS>wrote:

May be i will be having issue with pull request as i dont have a mac
machine
On Tue, Aug 27, 2019 at 11:57 PM Ben Konyi<EMAIL_ADDRESS>wrote:

@GadepalliAditya1998 https://github.com/GadepalliAditya1998 awesome,
thanks for that! I'll take a closer look later today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/39314?email_source=notifications&email_token=AMGJTW3MPSCHEGOHZ2TP3MLQGVWYTA5CNFSM4IQAC7GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IVSKA#issuecomment-525424936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMGJTW2KUE5WYLRF6JHTOITQGVWYTANCNFSM4IQAC7GA
.

iam facing this issue
[image: image.png]
On Wed, Aug 28, 2019 at 12:01 AM Gss Aditya<EMAIL_ADDRESS>wrote:

Hey Ben , I even need your help in geofencing
On Wed, Aug 28, 2019 at 12:01 AM Gss Aditya<EMAIL_ADDRESS>wrote:

May be i will be having issue with pull request as i dont have a mac
machine
On Tue, Aug 27, 2019 at 11:57 PM Ben Konyi<EMAIL_ADDRESS>wrote:

@GadepalliAditya1998 https://github.com/GadepalliAditya1998 awesome,
thanks for that! I'll take a closer look later today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/39314?email_source=notifications&email_token=AMGJTW3MPSCHEGOHZ2TP3MLQGVWYTA5CNFSM4IQAC7GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IVSKA#issuecomment-525424936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMGJTW2KUE5WYLRF6JHTOITQGVWYTANCNFSM4IQAC7GA
.

Hey @bkonyi , My pull request is getting failed every time. Because of the Build issue. Can you suggest me any way?

That is awesome! Thanks @GadepalliAditya1998 . Could we have a link to your PR?

Hey,
I just signed the petition "CM Devendra Fadnavis, JICA Stop the cutting of
3500 trees in Aarey Forest" and wanted to see if you could help by adding
your name.
Our goal is to reach 500,000 signatures and we need more support. You can
read more and sign the petition here:
http://chng.it/CYx7YKJtms
Thanks!
Aditya

Closing as android_alarm_manager is deprecated in favor of android_alarm_manager_plus.


macOS Catalina

Hey all,
I've been having some terrible issues getting molecule to work properly as it was before I got a new laptop on Catalina.
Below is what I get when just running a simple molecule create
`--> Validating schema /Users/justintrantham/git/ansible/roles/malwarebytes-scan/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix
└── default
├── dependency
├── create
└── prepare
--> Scenario: 'default'
--> Action: 'dependency'
Skipping, missing the requirements file.
--> Scenario: 'default'
--> Action: 'create'
Traceback (most recent call last):
File "/usr/local/bin/molecule", line 8, in
sys.exit(main())
File "/Users/justintrantham/Library/Python/3.7/lib/python/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/Users/justintrantham/Library/Python/3.7/lib/python/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/justintrantham/Library/Python/3.7/lib/python/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/justintrantham/Library/Python/3.7/lib/python/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/justintrantham/Library/Python/3.7/lib/python/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/justintrantham/Library/Python/3.7/lib/python/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/molecule/command/create.py", line 117, in create
base.execute_cmdline_scenarios(scenario_name, args, command_args)
File "/usr/local/lib/python3.7/site-packages/molecule/command/base.py", line 98, in execute_cmdline_scenarios
execute_scenario(scenario)
File "/usr/local/lib/python3.7/site-packages/molecule/command/base.py", line 141, in execute_scenario
execute_subcommand(scenario.config, action)
File "/usr/local/lib/python3.7/site-packages/molecule/command/base.py", line 128, in execute_subcommand
return command(config).execute()
File "/usr/local/lib/python3.7/site-packages/molecule/command/create.py", line 90, in execute
self._config.provisioner.create()
File "/usr/local/lib/python3.7/site-packages/molecule/provisioner/ansible.py", line 700, in create
pb.execute()
File "/usr/local/lib/python3.7/site-packages/molecule/provisioner/ansible_playbook.py", line 92, in execute
self.bake()
File "/usr/local/lib/python3.7/site-packages/molecule/provisioner/ansible_playbook.py", line 67, in bake
self._ansible_command = sh.ansible_playbook.bake(
File "/Users/justintrantham/Library/Python/3.7/lib/python/site-packages/sh.py", line 3349, in getattr
return self.__env[name]
File "/Users/justintrantham/Library/Python/3.7/lib/python/site-packages/sh.py", line 3226, in getitem
raise CommandNotFound(k)
sh.CommandNotFound: ansible_playbook
`

Disregard will update if more come of this still troubleshooting


Improve documentation

Awesome work! I don't really recognize the docstrings as being a particular standard, can you elaborate on the chosen style?
Also, I prefer api.rst (it gives a much cleaner url), also, any reason to rename it? The caption/title is taken from the 'h1/h2', which is given already:
API reference
=============

(I can push the change for the renaming back if you want)

Awesome work! I don't really recognize the docstrings as being a particular standard, can you elaborate on the chosen style?

Thanks :) I found it on this page: https://pythonhosted.org/an_example_pypi_project/sphinx.html#full-code-example. I tried it and found that the generated HTML looked better :) If you would like to use another standard I'm fine with changing it.
I also prefer api.rst, I think I renamed it when trying to change the documentation section title, we can rename it back :)

I found it on this page: https://pythonhosted.org/an_example_pypi_project/sphinx.html#full-code-example.

I think you are mixing google and sphinx style. What I don't like about the google style is that it contains so much vertical waste since docstrings in jupyter are not HTML rendered, the plain text formatting still matters. In any case, I would drop the Kwargs, since the distinction isn't really meaningful.  See also https://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html

I think I renamed it when trying to change the documentation section title, we can rename it back :)

that's what I guessed, yeah, if you could do that, awesome!

since the distinction isn't really meaningful

Why do you think it is not meaningful? I think it matters for the user

I mean, if there was a  **kwargs, a section like that makes sense, for the rest I see no added value between argument with and without default values. I've never seen this in docs, it's also not used here https://google.github.io/styleguide/pyguide.html#doc-function-raises (example directly below)

if you have a standard

Since we're close to it, lets stay with google https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings

@maartenbreddels widgets are not visible in the documentation: https://ipysheet.readthedocs.io/en/latest/. There's a JS error. I'm not sure how to fix it

I see I'll take a look at it.
Btw, my standard workflow for working on the docs is to have a 'docs' branch in the main repo, have rtd set up to build that, and push directly to that branch (instead of our own fork). The rest is the name, you can just open a PR from the main repo docs branch into master.
Unless you have a better idea, I suggest to close this PR, push this branch to upstream/docs, and I'll set up rtd. Sound good?

Sounds good :) I'll do that


[chore] update pkg

Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Hi, guys, we need to revert this PR. Here are some issues of the CI
  Running [/home/runner/golangci-lint-1.54.2-linux-amd64/golangci-lint run --out-format=github-actions --timeout=5m] in [] ...
  level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildir: failed to load package openapi: could not load export data: no export data for \"sigs.k8s.io/kustomize/kyaml/openapi\""
  level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package openapi: could not load export data: no export data for \"sigs.k8s.io/kustomize/kyaml/openapi\"\n\n"

  Error: golangci-lint exit with code 3

Uh-oh. @nebula-aac where might we go from here?

Never mind. I didn't realize that @theBeginner86 has it covered here - https://github.com/meshery/meshkit/pull/393


Suggestion: (To change the twitter icon to it's new logo)

What problem do you want to solve?
As twitter has a new brand logo now so it's better to change twitter's old icon in website.
What do you think is the correct solution?
Replace it with the new one

Participation

[X] I am willing to submit a pull request for this change.

Additional comments
No response

Sounds good to me! 👍 Go for it.


update id/remove dup. plugin.json

to align w/ the id we're publishing the plugin with.

can we change the publishing id to align with the name of the repo/existing id? if possible i don't think we should publish it with the Spotify name - it should remain agnostic.

hm, i can ask, but looking @ other plugins it seems generally most have the org name IN the plugin id. I think it IS agnostic, just as agnostic as any other plugin some org/user makes "matts-custom-plugin", etc etc.

@sjoeboo how are the one for prometheus and influx named? if we split heroic into it's own github org because we got it in to CNCF sandbox calling it spotify-* would be strange.

influx is under the grafana org. so its grafana-influxdb-datasource. I think prom is built in, as the only one in the repo is "camptocamp-prometheus-alertmanager-datasource"

https://github.com/grafana/grafana-plugin-repository/blob/9016a4faab0bf9acb77c839e894fe1be229528dd/repo.json is the repo FYI.

I think if we moved heroic into its own org @ somepoint, we'd change the plugin name/id to follow it.

closed by https://github.com/spotify/heroic-grafana-datasource/pull/84


White cells are impossible to discern against background

This is mostly a problem with white 0-cells.

I'm aiming to fix this for the signature panel (excluding previews) as part of #632. I'm not sure if there is a good way of accomplishing it for svg without significant change.
As part of #632, we will be able to tell whether a colour is too light Color::is_light(&self) to be shown clearly. This should be of help.

I think it's worth considering switching #ffffff to #f6f5f4 for our default white. We can discuss this at the next standup.
A minor thing I just noticed in your #632 build: the custom hex colour field does not accept the "enter" key for "done".
It should be a quick fix though.

I like the idea of changing the default white colour to a light grey, but if the user picked true white using the colour picker, we should probably not change that. For example, someone might want to use true white for the unique object of a monoidal category so that the regions blend in with the background.

A minor thing I just noticed in your https://github.com/homotopy-io/homotopy-rs/pull/632 build: the custom hex colour field does not accept the "enter" key for "done".

This is fixed I think, assuming the default behaviour should be to exit editing mode completely.

This is fixed I think (7e881f3), assuming the default behaviour should be to exit editing mode completely.

Thank you for the quick fix, I'm happy with this behaviour, but we could discuss it at the next standup.

I like the idea of changing the default white colour to a light grey, but if the user picked true white using the colour picker, we should probably not change that. For example, someone might want to use true white for the unique object of a monoidal category so that the regions blend in with the background.

Isn't colour serialised anyway? If it is we wouldn't be breaking old .homs, and "true white" is still one of the colours displayed in the extended colour picker.

I meant we should replace white as one of the eight default colours to discourage people from using white.

I meant we should replace white as one of the eight default colours to discourage people from using white.

Amazing, then I guess we all agree on doing it this way. Is #f6f5f4 a good alternative "light grey"?

How about #F5F5F5?

How about #F5F5F5?

They're basically indistinguishable, but #F6F5F4 is on the current extended palette. Tbh I'd be happy to switch both to #F5F5F5.

In that case don't worry about it. It's just in general grey should have equal amounts of red, green, and blue.

@thud any chance you could include this change in your #632 branch? We are most likely going to conflict otherwise.
I think it should just come down to changing homotopy-web/src/model/proof/signature.rs:17

Have added!
Am I missing something? Where can I find the extended palette / which palette are we using (is it FlatUI)?

Thanks!

Am I missing something? Where can I find the extended palette / which palette are we using (is it FlatUI)?
By extended palette, I meant this:

In that case don't worry about it. It's just in general grey should have equal amounts of red, green, and blue.

(Complete bikeshed but people tend to find slightly warmer greys more visually appealing hence the slight hue shift towards red.)

Aha, nice thanks.

Why don't we make the workspace background a light gray?
On Fri, 5 Aug 2022, 13:48 Chiara Sarti, @.***> wrote:

@thud https://github.com/thud any chance you could include this change
in your #632 https://github.com/homotopy-io/homotopy-rs/pull/632
branch? We are most likely going to conflict otherwise.
I think it should just come down to changing homotopy-web/src/model/proof/
signature.rs:17
—
Reply to this email directly, view it on GitHub
https://github.com/homotopy-io/homotopy-rs/issues/657#issuecomment-1206407229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQ4OHXLTXD63ZS3TZINTWLVXUER7ANCNFSM55TL6H7A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Then we would have the same problem with light grey generators.
I think the current solution is fine, the default "white" colour is actually a very light grey. And if the user manually sets the colour to true white, it's on them.

Same here, I made this comment months ago via email and weirdly only just appeared.


1.69.0 Install error - Node 16.0

There is an error in v1.69.0 which prevents the engine being installed using various package managers such as yarn, pnpm or npm.
This has been reported on the forum but it is also affecting some CDN's
ESM.sh v1.69.1 ❌
ESM.sh v1.69.0 ❌
ESM.sh v1.68.1 ✅
Skypack v1.69.1 ✅
Skypack v1.69.0 ❌
Skypack v1.68.1 ✅
This seems to be 2 separate issues.

[x] No extras mjs files was included. https://github.com/playcanvas/engine/pull/6153
[ ]  Versions of  Node  < 18 cannot resolve the circular dependancy at https://github.com/playcanvas/engine/blob/607e3a8e7fe621087c32b2b60b38e2c73b25365e/package.json#L108

Update - added 1.69.1

It looks like playcanvas-extras.mjs is listed as an export, but the file is not included in the build
https://github.com/playcanvas/engine/blob/607e3a8e7fe621087c32b2b60b38e2c73b25365e/package.json#L29
https://github.com/playcanvas/engine/blob/607e3a8e7fe621087c32b2b60b38e2c73b25365e/package.json#L85-L103

Keeping this open, as it be also be related to https://github.com/playcanvas/engine/blob/607e3a8e7fe621087c32b2b60b38e2c73b25365e/package.json#L108

We've had also issues installing 1.69.0, and it was a very obscured error.
1.68.2 - works great.

Worked for me using yarn add playcanvas -D:
{
  "name": "test",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "devDependencies": {
    "playcanvas": "^1.69.1"
  }
}

Node v16 seems to have an issue resolving the circular dependancy at https://github.com/playcanvas/engine/blob/607e3a8e7fe621087c32b2b60b38e2c73b25365e/package.json#L108

version v21.1.0 of node does not work.  From my experience having a circular dependency is always a bad idea, whatever it is for could there be a better way?  The issue I see is not that it can't find it, its also that its stuck in a infinite loop, it tries to fetch playcanvas, then tries to fetch the playcanvas of the playcanvas etc

Thanks @MAG-AdrianMeredith we're looking into it. Can you confirm what version of yarn you're using?

@marklundin This is now fixed, right?


integration: add more lease tests

Fix https://github.com/coreos/etcd/issues/6102.

Can you try to run these test before commit https://github.com/coreos/etcd/pull/6098?

LGTM

@xiang90 Without your Fix Lease PR, it fails:
go test -v -run TestV3LeaseRecoverKeyWithDetachedLease
=== RUN   TestV3LeaseRecoverKeyWithDetachedLease
--- FAIL: TestV3LeaseRecoverKeyWithDetachedLease (0.16s)
	v3_lease_test.go:530: only detached lease removed, key should remain
FAIL
exit status 1
FAIL	github.com/coreos/etcd/integration	0.169s
gyuho@gyuho: ~/go/src/github.com/coreos/etcd/integration $
go test -v -run TestV3LeaseRecoverKeyWithMutipleLease
=== RUN   TestV3LeaseRecoverKeyWithMutipleLease
--- FAIL: TestV3LeaseRecoverKeyWithMutipleLease (0.16s)
	v3_lease_test.go:589: only detached lease removed, key should remain

And we need to create a new client after restart because gRPC fails fast (we don't pass FailFast(false) in integration test). I added comments on this.
Will merge after greens, if there's no objection.
Thanks!


Offensive project name

Please consider renaming this project. The term "spack" (from the etymology "spastic" -> "spacker") is a highly offensive term for someone with cerebral palsy, in British English.
Naming your project "r spack" is far too close to this insulting term for such differently able people, and puts your project in breach of its own code of conduct.
Thank you for your consideration on this matter.

you can treat it as rs-pack

We took your tip very seriously, consulted with a number of relevant linguists, and investigated the situation of similarly named open source projects. We don't think it's necessary to change the project name at this time.


Shared Security Model

For example....in paragraph 4.

Reference SFR and SAR to ISO document

Original:  To accommodate this scenario, the collaborative protection profile for the virtualized network
device on the public cloud should specify the requirements for log consumption from the CSP’s
logging infrastructure.
Change to To accommodate this scenario, the collaborative protection profile for the network
device on the public cloud should specify the requirements for log consumption from the CSP’s
logging infrastructure.

Change TOE Vendor to TOE developer in all cases

Spell out TSS (first use)

In the Shared Security Model section and needed to break it up into the 3 types of TOEs involved to the security levels involved.  Below is what I wrote for the 3rd paragraph:
While the CSP maintains the security and availability of the TOE Platform, the TOE administrator (customer) is assumed to be tasked with safeguarding their applications, data, and configurations within the cloud environment for a SaaS. For PaaS and IaaS, the safeguarding extends into OS and hypervisor safeguarding controls.  For all cloud levels, the TOE administrator actively manages security controls, such as authentication mechanisms, encryption protocols, and network access policies, and others needed to overall protect their assets and mitigate potential risks.

Done.


USUM Shiny Rayquaza #NPC

The default number of NPC while RNG-ing shiny Rayquaza is 1. I'm not sure if it's just me or not, but the number of NPC is definitely 0. I don't have pokeCalc NTR, so I found it via QR code checker.
Steps to reproduce:

Stationary RNG, Hoenn Legendary, Rayquaza, Jolly Sync Nature
Use default # of NPC which is 1
Stop Eontimer 3-4 seconds before target shiny frame
Check current frame via QR code

Result:
It tells me I'm still 8 seconds away.
Expected Result:
I should be around 3-4 seconds away.
Current workaround:
Manually set # of NPC to 0.

https://github.com/wwwwwwzx/3DSRNGTool/commit/51490cff1d5340e33ddbd7353dddfe1f9975c906


[freerdp] update to 2.10.0

Fixes https://github.com/microsoft/vcpkg/issues/32644
1.Update to 2.10.0.
2.Fix usage errors.
3.Remove the patch merged from upstream.
Usage test pass with following triplets:
x86-windows
x64-windows
x64-windows-static

[X] Changes comply with the maintainer guide
[X] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[X] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Work in progress with more testing: https://github.com/microsoft/vcpkg/pull/32416

Duplicate of https://github.com/microsoft/vcpkg/pull/32416


go modules checksum mismatch for tag v1.6.4

go modules saves checksums of the used package versions.
this checksum changed for the git tag v1.6.4 breaking go modules build.
go: verifying<EMAIL_ADDRESS>checksum mismatch
	downloaded: h1:K8wPlkrP02HzHTJbbUQQ1CZ2Hw6LtpG4xbNEgnlhMZU=
	go.sum:     h1:r+X/d8WTO9ZiCOyXBBMVKiwn+LNGZiB4z4C6axyYpIg=

@ekle Sorry about that. We moved the tag. You can manually edit go.sum to use the new checksum and you may need to remove<EMAIL_ADDRESS>


The size of tensor a (192) must match the size of tensor b (3) at non-singleton dimension 2

Hii @sergeywong ,
when I tested this model for custom images it gives an error, I have also implemented all the possible solution that mentioned in Issues like :

I used im_h.permute in cp_dataset.py
Installed different torchvision version(0.2.1).
converted rgb to grey image for tensor resize.
used different normalize in cp_dataset.py
self.transform = transform = transforms.Compose([transforms.ToTensor(),transforms.Normalize((0.5,), (0.5,))])
manually resize in (1,256,192) but still facing tensor size issue.

Here are all possible outcomes that I applied when implementing this model. Please help me to solve this problem.

You should save the parsed images as indexed color image format.

"Down to the latest detail" is better than cpvton model in terms of accuracy. That's I'm switching this model.


tikv w/ 8GB mem OOM while lightning importing

Bug Report

What version of TiKV are you using?

# bin/tikv-server -V
TiKV
Release Version:   5.0.0-alpha
Edition:           Community
Git Commit Hash:   d71c78ef7c74b65e429ce24bd91389d06eb8ec0b
Git Commit Branch: release-5.0-rc
UTC Build Time:    2020-12-25 12:40:50
Rust Version:      rustc 1.49.0-nightly (b1496c6e6 2020-10-18)
Enable Features:   jemalloc mem-profiling portable sse protobuf-codec test-engines-rocksdb
Profile:           dist_release

What operating system and CPU are you using?

Ubuntu 18.04 inside container
# lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              40
On-line CPU(s) list: 0-39
Thread(s) per core:  2
Core(s) per socket:  10
Socket(s):           2
NUMA node(s):        2
Vendor ID:           GenuineIntel
CPU family:          6
Model:               79
Model name:          Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Stepping:            1
CPU MHz:             1200.573
CPU max MHz:         3100.0000
CPU min MHz:         1200.0000
BogoMIPS:            4399.67
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            25600K
NUMA node0 CPU(s):   0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38
NUMA node1 CPU(s):   1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_pt ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts spec_ctrl intel_stibp

Steps to reproduce

Importing 2TB data w/ lightning
What did you expect?
Lightning successfully
What did happened?
TiKV crashed and lightning failed w/ error 'tikv server timeout'

/assign @Little-Wallace

8G memory is not the recommended memory configuration for storing 2TB data.


Distinguish between Preemption due to reclamation and fair sharing

What would you like to be added:
An additional reason in the Preemption condition to indicate that the preemption was due to fair sharing and not regular reclamation.
The current reason for reclamation or fair sharing is InCohort
We could have: InCohortReclamation and InCohortFairSharing.
Why is this needed:
For better visibility
Completion requirements:
This enhancement requires the following artifacts:

[ ] Design doc
[ ] API change
[ ] Docs update

The artifacts should be linked in subsequent comments.

I think the decision is based entirely on the preemptor. If the preemptor fits in the nominal quota of its ClusterQueue, then it's preempting others that are borrowing its quota.
Otherwise, it's past the nominal quota, meaning that it's using resources from the fair share.
Note that whether fair sharing is enabled is global.
/assign @vladikkuzn

cc @gabesaba

I think the decision is based entirely on the preemptor. If the preemptor fits in the nominal quota of its ClusterQueue, then it's preempting others that are borrowing its quota.
Otherwise, it's past the nominal quota, meaning that it's using resources from the fair share.

Also, if the preemptor and preemptee are in the same cluster queue we can say it's a simple priority based eviction (no quota is reclaimed from a borrower)


Fixed crash when attempting to kill target that doesn't exist

"First" will raise an exception if there is no elements so replace with "FirstOrDefault".

Thanks! :)


Tooltip position is not calculated correctly in modal and tooltip is cut off

When I use react-tooltip-lite in a modal somehow the left is no calculated correctly and the tooltip is rendered with part of it cutoff.
This only happens when I use it in desktop in a modal, if the page has a similar size due to being on mobile the tooltip is rendered perfectly.
Not sure I think it takes into account the size of the entire screen so when it thinks it has a large desktop screen it renders itself beyond the edges of the modal.

Hi, don't you have the same issue on mobile as I described here https://github.com/bsidelinger912/react-tooltip-lite/issues/84 ? If not can you share som code about usage this lib maybe and I am using it wrong and some keys are required...

Hi, don't you have the same issue on mobile as I described here #84 ? If not can you share som code about usage this lib maybe and I am using it wrong and some keys are required...

No sorry, it's not your issue.
I can't post code the context is more complicated.
You can replicate the issue by for example using it in a parent div then shrinking the div the tooltip will overhang.
When used on mobile, when the parent isn't less wide than the screen the tooltips works as intented.

Hey @GBora, yeah it's not considering the modal to be a boundary, just the edge of the screen.  Can you send a screenshot of what it looks like?  The idea of specifying some boundary div to constrain itself within has been floated before, but I wasn't wanting to take on the complexity of that for this simple component.  I can think about it a little more and a visual of what your seeing helps.


Exception while trying getting bytearray from view

Hello, i'm trying to run the tool to generate pdf from razor view, but i am getting this error ;
Could not find an IRouter associated with the ActionContext. If your application is using endpoint routing then you can get a IUrlHelperFactory with dependency injection and use it to create a UrlHelper, or use Microsoft.AspNetCore.Routing.LinkGenerator.
PS: I am running this from a controller.
Please help.

Hi! did you see the example project? https://github.com/fpanaccia/Wkhtmltopdf.NetCore.Example
Could you upload an example of how you are using it?

@messaddek  try setting Layout to null:
@{
    Layout = null;
}


Create mg-babatonka

Baba Tonka High School of Mathematics
domain is: @mg-babatonka.bg

@YordanYordanovGIT Please rename lib/domains/bg/mg-babatonka  to lib/domains/bg/mg-babatonka.txt
Thank you.

@YordanYordanovGIT Pull request merged. Thank you!


Remove milestones and generate changelog from commit diff

Kevin recently made a related design doc
### Tasks
- [x] Try release-drafter (bad fit: only deals with Github Releases, not changelog.md)
- [x] Get list of PRs between two "commitish" items
- [x] Use graphQL instead of REST for higher rate limits
- [x] Extract correct author of the original commit
- [x] Extract labels from PR (changelog, bugfix, feature, plugin, ...)
- [x] Differentiate Enterprise PRs
- [x] Get proper PR title (without backported PR prefix) -- is regexp strip the only option? (yes)
- [x] How do we get previous tag for a given version (parse semver?)
- [x] dry-run option to print changelog markdown but create no PRs and don't publish a github release
- [x] we seem to have a bug with issues link in the changelogs? -> replace issues with pulls in the url
- [x] is date of the changelog always "today"? what is the source of truth there? (default: today, unless specified otherwise)
- [x] Publish markdown into a release draft
- [x] Fix: Version in the headline of a markdown should be without "v" prefix
- [x] Merge into grafana/grafana (instead of a sandbox)
- [x] Dry-run for the July release(s)
- [x] Publish markdown into a `CHANGELOG.md` PR

Closed as finished.


Can't use underscore on model form configuration file name

Reproducing steps:
Builder->Select Plugin->Models->Select Model->Forms->Plus Button to add new file
Name the file my_fields.yaml and hit the Save button.
Error message:

The file name can contain only Latin letters, digits, underscores, dots and hashes.

Fixed in 81bd6f31989be5f4b8a559ae9f8a59e0ab6e17ed


How to create vocabulary for my dataset?

Hi,
I have digged in the documentation of the tutorial here:
https://google.github.io/seq2seq/nmt/
However, it is unclear to me on how to create vocab_source and vocab_target for my own dataset.

You can have a look at the preprocessing script for the wmt16 data here.
The script creates vocabularies of characters, words and BPE units.

As @geert-heyman  mentioned you can go through those scrips . Simply these are the following steps

Create a vocabulary using both languages .
Index them (word 2 Index)
If you have word2vec model like glove , assign each vector to word.
Other wise let the words learn their vector while training . Read About tensorflow embedding lookup function .

@shamanez , let's say I generate pre-trained word-embeddings for each word in my vocabulary (using glove/word2vec).
How do I feed both the words and word embeddings to seq2seq?
Do I need a special format for the vocabulary file?
In the tutorial each word in the vocabulary is followed by its counter.

I think the vocabulary file format is just   (as in prevalence in the training text used to source the vocab)


Left click on Title Bar doesn't always get released on Wayland

On Wayland it seems that after left clicking on the title bar to move the window around, it doesn't always "release" that move mode after releasing the mouse button.
I'm trying to figure out the best way to describe it. Essentially below are the steps

Left click on the Title Bar
Move the window
Release the left mouse button
I can now move the mouse around without moving the window, but the cursor is still set on that "Move window" cross, and if I try to interact with the window using the left mouse button (anywhere not just on the title bar) instead of performing the correct interaction it "grabs" the window and if I move the mouse will start moving the window.

To "release" it, I usually either need to right click somewhere, or left click again on the Title Bar (although I think that sometimes doesn't release it).
I've tested this on Wayland, and Windows 11. This doesn't seem to happen on Windows 11, only on Wayland, although I haven't tested this on X11 or MacOS yet.

I need to look into it a bit more, but I saw some evidence this was happening on X11 as well as Wayland.


zero_tendency for sgs variables doesn't work on GPU

This doesn't work on GPU. See the error here.

I think you should be able to use fill(xxxx, 0)

I think you should be able to use fill!(xxxx, 0)

Thanks! I'll give it a try later.

This should be closed by the latest ClimaCore release please reopen if that’s not the case 🙂

Yes, it works now, thanks!


I recommend adding a Future/Promise C++ library

I recommend adding a Future/Promise C++ library, similar to the scala programming language for future and promise implementations.
Future/Promise
There are already a lot of implementations of Future mechanism in C++:
std::future - no API at all, except very basic operations like retrieve value and wait for it. There is a Concurrency TS with .then, but it is still not in the standard.
boost::future - almost the same as std::future.
Folly - Folly futures are also inspired by Scala ones (but different ones, from Twitter framework) and have good API but are a part of huge framework which is too hard to use partially.
But the above libraries are either imperfect or have a lot of dependencies, which is not easy to install and use.So why not to create another one?
Thank you！

Future in particular is a fraught thing to design in C++, for two big
reasons:

C++ is the language about minimal overhead. That often leaves less room
for early mistakes in api design.
The question of "how do we represent execution (on a
thread/cpu/gpu/etc)" is an open question and a moving target.

Some of Eric Niebler / Kirk Shoop's work at FB (probably starting with
http://wg21.link/p1055) suggests to me that the right primitive for a
future is stack-allocated and thread-compatible by default, in order to
avoid unnecessary allocation+locking overhead when chaining futures
together to represent the result of a complex computation.  We simply don't
have a good example of that, but the use case is ... compelling. And the
overhead different is meaningful, especially given #1.
So I think it's not that we don't want a good future type, it's that there
isn't a clear understanding of what exactly that means - certainly not to
the level of correctness/performance/future-compatibility that we'd want
for Abseil. Anything we put here is going to either be meaningfully better
than the standard in some dimension that we think is critical, or is going
to be close enough to the standard that it can eventually melt away and
become the standard. We don't have enough certainty on the topic to hit
either of those goals.
On Fri, Jun 14, 2019 at 10:20 PM firecat<EMAIL_ADDRESS>wrote:

I recommend adding a Future/Promise C++ library, similar to the scala
programming language for future and promise implementations.
Future/Promise
There are already a lot of implementations of Future mechanism in C++:
std::future - no API at all, except very basic operations like retrieve
value and wait for it. There is a Concurrency TS with .then, but it is
still not in the standard.
boost::future - almost the same as std::future.
Folly - Folly futures are also inspired by Scala ones (but different ones,
from Twitter framework) and have good API but are a part of huge framework
which is too hard to use partially.
But the above libraries are either imperfect or have a lot of
dependencies, which is not easy to install and use.So why not to create
another one?
Thank you！
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/abseil/abseil-cpp/issues/328?email_source=notifications&email_token=AC7CRX4PCIB2K6FPRA74N43P2RGXDA5CNFSM4HYOBZDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZVPUZA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7CRX5Z36RIPGUPLDQ6CDDP2RGXDANCNFSM4HYOBZDA
.

ok

@tituswinters
@rogeeff
What do you think about promises from chromium?

We simply don't have a good example of that

https://github.com/chromium/chromium/commit/112c5128dc6bc95cd7bfadbe5ebba15a226ece4b#diff-dadf55e86fb5f4ed44cff9f8318c821d

Hence we should sadly delete this unused code.

https://chromium-review.googlesource.com/c/chromium/src/+/1916479
Looks like chromium promises better than the standard promise. Sadly eng-review removed unused code.

I can't really absorb the design from those links - is there a design
summary / design doc / writeup somewhere?
At a glance it looks like there is way too much synchronization for that to
be the right answer, but I could be way off base.
On Fri, Apr 9, 2021 at 11:22 AM cppdevspace @.***>
wrote:

@tituswinters https://github.com/tituswinters
@rogeeff https://github.com/rogeeff
What do you think about promises from chromium?
We simply don't have a good example of that
@.***#diff-dadf55e86fb5f4ed44cff9f8318c821d
https://github.com/chromium/chromium/commit/112c5128dc6bc95cd7bfadbe5ebba15a226ece4b#diff-dadf55e86fb5f4ed44cff9f8318c821d
Hence we should sadly delete this unused code.
https://chromium-review.googlesource.com/c/chromium/src/+/1916479
Looks like chromium promises better than the standard promise. Sadly
eng-review removed unused code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/abseil/abseil-cpp/issues/328#issuecomment-816759851,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7CRX2UXW74X3LCQT7HWPLTH4LSTANCNFSM4HYOBZDA
.

--
*If you get an email from me outside of the 9-5 it is not because I'm
always on or expect an immediate response from you; it is because of work
flexibility
http://www.inc.com/john-boitnott/how-flexible-hours-can-create-a-better-work-life-balance.html
.  Evening and weekend emails are a sign I allocated some regular working
hours for other things (such as family, gym, friends,...).  And I encourage
you to feel free to do the same.

@tituswinters

summary / design doc / writeup somewhere?

C++ Promises for Chromium - Google Docs https://docs.google.com/document/d/1l12PAJgEtlrqTXKiw6mk2cR2jP7FAfCCDr-DGIdiC9w/
Some code examples:
https://github.com/blockspacer/basis/blob/3a8129cc6bc89f3c405f3649bf3fccceb55177cd/basis/promise/README.md

UPD:
Added proof-of-concept Promise::Race and co_await support based on Alex Clarke ( https://chromium-review.googlesource.com/q/owner:alexclarke%2540chromium.org ) code.
If anyone interested, see:
https://github.com/blockspacer/chromium_base_conan/blob/45de75e165496e88c7a8950d6aa86feed8eac602/extensions/basic/promise/promise_unittest.cc#L2878

From discussions of promise types in WG21/LEWG, we believe it's
likely/possible to have a much more efficient vocabulary for this type of
work.
At a high level: first solve the problem of "how do I express a DAG of
computational steps in a thread-compatible fashion without allocation?"
That is, what is the set of types/templates/expression templates that we
need in order to support expressing the chained .then / .allof / .anyof
graph, with the assumption that it's going to be kicked off immediately on
this thread and the result will be immediately available? (This is also the
step to design in error handling.)
Then as a second step, we need to figure out how to abstract that family
of types so the computation can be provided an executor, and the result may
not be immediately available (a promise type).
I'm almost positive that the right design for futures/promises in C++
must support the immediate-execution-without-allocation case. If we
immediately fall back to thread-safe / ref-counted / synchronized /
heap-allocated designs, that adds a potentially significant overhead
everywhere: lots of execution chains are only actually going to stall on
one or two steps, and forcing out-of-line storage and synchronziation is
maybe acceptable in other languages, but may not be appropriate in C++.
I wouldn't endorse adding a vocabulary type for futures/promises that
doesn't meet those use cases (or that doesn't come with a substantive proof
that such a design is unattainable).
On Sun, Apr 11, 2021 at 12:48 PM cppdevspace @.***>
wrote:

UPD:
Added proof-of-concept Promise::Race and co_await support based on Alex
Clarke (
https://chromium-review.googlesource.com/q/owner:alexclarke%2540chromium.org
) code.
If anyone interested, see:
https://github.com/blockspacer/chromium_base_conan/blob/45de75e165496e88c7a8950d6aa86feed8eac602/extensions/basic/promise/promise_unittest.cc#L2878
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/abseil/abseil-cpp/issues/328#issuecomment-817336870,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7CRX3JX57PSBQFFPBEPBTTIHHEJANCNFSM4HYOBZDA
.

--
*If you get an email from me outside of the 9-5 it is not because I'm
always on or expect an immediate response from you; it is because of work
flexibility
http://www.inc.com/john-boitnott/how-flexible-hours-can-create-a-better-work-life-balance.html
.  Evening and weekend emails are a sign I allocated some regular working
hours for other things (such as family, gym, friends,...).  And I encourage
you to feel free to do the same.


.netstandard compatibility release

Hi all, not sure if I can ask this on here. I wanted to understand when the changes for .net standard compatibility are going to be released. I can see there is a milestone completed 9 months ago but I couldn't find more information.

We've just increased .NET Standard minimum requirement from .NET Standard 1.6 to 2.0.


Yaml filter tests - importLocalizedAssetCommandTest

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.montedonioluiz seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


ionic command is not working

i just install node on mac pc and then i installed ionic.
when i type command on terminal node -v it shows v8.9.1 .It means node is installed. But when i type command ionic it shows following error:
Nirajs-MacBook-2:~ nirajviveksheel$ ionic
module.js:538
throw err;
^
Error: Cannot find module 'internal/util/types'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at evalmachine.:31:26
at Object. (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
Please tell me solution ......

Hello! Thank you for opening an issue with us!
The Ionic Framework issues list is designated for the reporting of bugs with the Ionic Framework or for requesting new features. As this seems like more of a support question I am going to close this issue.
I urge that you ask this question on our forum or on our slack channel.
Thanks for using Ionic!