There's a flaky matcher test in CI

Specifically, "throws MatcherException if it fails to lock secondary works"
I have tried to repro this locally before and been unable to, annoyingly.

catalogue_build_2871_matcher.log


style: contracts linting

:notebook: Overview
Contracts linting.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

15 of 15 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0009%) to 98.821%

Totals

Change from base Build<PHONE_NUMBER>:
0.0009%

Covered Lines:
916

Relevant Lines:
922

💛  - Coveralls


Update blazor-preview-notice.md

@Rick-Anderson What if we call out the Blazor repo, too? See my "Update" commit.

@Rick-Anderson ... and probably better if we break that out. See: "Break it out"


Sugarcane should only be 6-8 blocks by default

The current lack of a limit is absolutely ridiculous and OP as heck. I genuinely thought this was a feature of serene seasons, since it would make sense for them to grow taller during the summer only, but from sugarcane to just always do that is just OP.
so at least make it only 6-8 blocks by default, but can be increased via config if you want.

Eh, probably.  They'll be reworked for 1.21 due to replacement finally not being a thing which forces me to deal with them.  For now I won't bother changing it.


Add db scripts for migration from 2.6.0 to 3.0.0

This PR adds AM_DB migration scripts and data migration scripts for changing the default static configuration value as false, for migrating from 2.6.0 to 3.0.0

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Edit CSS is missing exit button

There's no way to exit or save in the edit css window. It used to be there but for the past few months it has been gone.

I have just started having this issue as well. Very annoying.

Found you can edit the CSS in the stylebot options screen. Now slightly less annoying.

The editor UI will be much improved in the upcoming v3 release. And the "Code" mode will have a way to close the window


Variants can be unintendedly reassigned to other objects (dangling Variants)

Godot version:
4.0 (b4a066188579458412159e35c697070cb5e77070)
OS/device including version:
N/A
Issue description:
A Variant can be reassigned to a different object if the one it was pointing to is freed and a new one is created afterward.
There's a protection against that, but only works on debug/release_debug with the debugger attached.
In 3.2 the situation is quite the same, so this proposal was created: https://github.com/godotengine/godot-proposals/issues/1589
Steps to reproduce:
Run the MRP directly from the command line, so the debugger is not attached, and therefore the checks that prevent the bug aren't active.
A non-tools, release build would work the same, but I think it's not working yet in 4.0.
Minimal reproduction project:
Dangling Variant.zip
For me, this project is enough to trigger the buggy behavior. For me, it prints<PHONE_NUMBER>8<PHONE_NUMBER>8 (the same number).
Note that depending on the compiler. OS, etc. the problem may require a more complicated example to show up.

Please include the exact commit, Variant has been changed twice a day lately :)

I confirm the error in my project. Godot 3.2.4.b1.
Everything is fine in debug mode, erroneous behavior only in release export.

The MRP gives me an error in current master (0a38d5c), so maybe the issue is fixed?
Attempt to call function 'get_instance_id' in base 'null instance' on a null instance.

The problem happens by running it from the command line, so the debugger is not attached.
I've compiled latest master and I still get the problem (same value). I've needed to tweak the project a bit to make it work after recent changes in Godot, but the script is the same.

It kinda looks like the wrong error is being thrown, though. In debug it should check the validity of the ID before calling the function.

Is this still relevant in any form nowadays?

Not last time I checked, and it was long ago. I'll check once more tomorrow and close it myself if I can confirm it belongs to the past.

Not reproducible anymore.


Predict catalog given DECaLS survey image

~Uses pyvo.dal SIA service to download image cutouts given RA, Dec, and size in width, height~ Downloads coadded brick image data
Downloads associated tractor catalog from DECaLS server
Workflow is (very roughly) DECaLS.prepare_data() > DECaLS.predict_dataloader() > Encoder.predict_step(), similar to SDSS
Some fixes for bugs due to encoder assuming always multi-band image data.

Closes #772.

@jeff-regier ptal in general
@sawanp813 ptal at encoder changes to allow single-band inference (specifically, changes to encoder.py and the new test test_predict.py's TestPredict::test_predict_sdss_single_band)
@aakashdp6548 ptal at changes to mocktests.py and how MockSDSSDownloader is being used


Sttripping url

in agular app i have included YASGUI and when i go to the page everything from the url is stripped to /#
the url is /#/sparql

@SBYDeveloper It's not entirely clear to me what you're referring to.  Feel free to reopen this issue in case you can give an MWE.


Wrong line ending added to js file when editing a multiline comment.

When I edit *.js files that have all LF line endings, Visual Studio mostly respects that and does not replace them with CR+LF when saving. However, when I turn a single-line JSDoc style comment into a multiple line comment, a CR+LF is added to the file.

/** My function for greeting the world. */
function myFn() {
  alert('Hello, world!');
}

Probably related to #67 and others...
Originally entered at madskristensen/WebEssentials2015#104 but I don't think that was the correct repo.

I've been unable to repro this issue with NTVS 1.2 using the Typescript backed editor (some of the functionality around comment completion was also removed #786). Please give it a try and let me know if you are still seeing the problem.
Thanks.


Path with cluster

From @levipadre on May 20, 2015 9:51
Hi,
Thanks for the great directive!
I have a question about path. I already managed to create a "network" between markers using multiPolyline. But there are a lot of markers, so I started to use cluster. The problem that I can't reduce the number of the paths. When I have 30 markers within a cluster, I got 30 paths.
Is there a way to check, how many cluster do I have and what's the position?
Thanks!
Copied from original issue: tombatossals/angular-leaflet-directive#761

From @levipadre on May 28, 2015 12:9
Does anybody know can I solve that problem?


C++ code should build cleanly with -Wsometimes-uninitialized enabled [phab:T20]

Created by fromberger at 2015-02-05 21:20:53:
Running a build with -Wsometimes-uninitialized enabled, Clang currently complains that, for example:
third_party/kythe/kythe/cxx/indexer/cxx/IndexerASTHooks.cc: third_party/kythe/kythe/cxx/indexer/cxx/IndexerASTHooks.cc:798:28: error:
 variable 'ParamIndex' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
    } else if (const auto *TTPD =
                           ^~~~

We should build cleanly with this turned on.

fromberger wrote at 2015-02-05 22:11:37:
This turns out to be a problem with g++, which doesn't recognize that assert is non-returning.

fromberger wrote at 2015-02-05 22:39:28:
Hat tip to zarko for helping me figure out what the dickens was going on here. The fix will be coming shortly.

commit a7a40c5296991752f06f28b8270c1f45f1b03147
b764b8adc9ec814c620f128d942a914046fafd70

revision #227


Add Design and Architecture pages

Adds:

changes to markdown component, allowing multiple block support
new Text Page Template
Route page controllers for Design and Architecture

Removes:

Basic Text Page Template
Applications Template
Knowledge Template

closes airwalk-digital/airview-issues#151

@mcuckson - Can you cast your eye over this one, there's a strange bug that's causing issues committing content on new pages.
Steps to recreate a successful commit of content to a new page:

Checkout and run locally in Chrome
Launch developer tools and check "disable cache" via the "Network" tab
Navigate to Microsoft Teams Application page http://localhost:3000/applications/microsoft_teams
Enable preview mode
Switch to my test branch "james-test"
Click the create page button and create a new page of type "design", (bug is present on all page creation types)
Once the redirect has taken you to the new page, enter some content in the markdown editor and save changes

Expected outcome:
The page should refresh and fetch the correct markdown and render it to the page and the content should be present on the github airview_demo_applications repo
Steps to recreate the bug that prevents the display of committed content to a new page

Follow steps above, albeit not checking the "disable cache" via the "Network" tab

Expected outcome:

The page should refresh and the request will not contain the correct markdown changes. However if you inspect the github airview_demo_applications repo you will see the content has been successfully committed.


Suggestion: Ability to browse blob container

I've got a static site deployed to a blob storage container and i would like to be able to right click on the container and browse to it.
Today there is no context menu to do this:

Are you asking for a way to copy the URI to the clipboard? Depending on settings, you may or may not be able to actually browse to it (if it's public and publicly enumerable).

@chrisdias I'm assuming you meant a "Get URL" context menu item and am implementing it that way.

@StephenWeatherford yes, that would be sufficient.

Fixed via #129


🐛2.0.0-next.23 版本下  headerActionIcons下的defaultHide属性不生效

🏷2.0.0-next.23

[✓] PivotSheet
[ ] TableSheet
[ ] GridAnalysisSheet
[ ] StrategySheet
[ ] EditableSheet

🖋 Description

在2.0.0-next.23 版本下 headerActionIcons下的defaultHide属性不生效，鼠标hover上去表格没有任何变化， 在官网和本地中测试都是不生效的。
⌨ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

按照文档配置了headerActionIcons,使用displayCondition属性根据所需条件判断那个单元格展示图标，判断完成之后，图标当即就显示了 ，使用defaultHide为true 之后 鼠标hover到单元格上 并没有作用
😊 Expected Behavior

headerActionIcons中按需展示了图标，配置defaultHide属性为true之后，希望鼠标hover到对应条件的单元格展示图标
😅 Current Behavior

Environment
Info

System
window 11

Browser

https://codesandbox.io/p/sandbox/kind-moore-4c63yj?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clxcnw8iu0006356krux3rkgp%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clxcnw8iu0002356kqu6l474q%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clxcnw8iu0003356k22f3jhxn%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clxcnw8iu0005356kvukepei8%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clxcnw8iu0002356kqu6l474q%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clxcnw8iu0001356kd6jeng2v%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Findex.js%2522%252C%2522state%2522%253A%2522IDLE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A70%252C%2522startColumn%2522%253A13%252C%2522endLineNumber%2522%253A70%252C%2522endColumn%2522%253A13%257D%255D%257D%255D%252C%2522id%2522%253A%2522clxcnw8iu0002356kqu6l474q%2522%252C%2522activeTabId%2522%253A%2522clxcnw8iu0001356kd6jeng2v%2522%257D%252C%2522clxcnw8iu0005356kvukepei8%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clxcnw8iu0004356kqj4rpxoe%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522id%2522%253A%2522clxcnw8iu0005356kvukepei8%2522%252C%2522activeTabId%2522%253A%2522clxcnw8iu0004356kqj4rpxoe%2522%257D%252C%2522clxcnw8iu0003356k22f3jhxn%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clxcnw8iu0003356k22f3jhxn%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D

:tada: This issue has been resolved in version @antv/s2-v2.0.0-next.24 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


doc: release testing

Goal
Document release-testing playbook.

Pull Request Test Coverage Report for Build 709952323

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.094%

Totals

Change from base Build 709910483:
0.0%

Covered Lines:
123

Relevant Lines:
128

💛  - Coveralls

@wraasch since this is just documentation.


Compilation fails with android ndk r15b

Here is the error:
...
./libcrypto.so: error: undefined reference to 'stderr'
./libcrypto.so: error: undefined reference to 'stdin'
./libcrypto.so: error: undefined reference to 'signal'
./libcrypto.so: error: undefined reference to 'tcsetattr'
./libcrypto.so: error: undefined reference to 'tcgetattr'
collect2: error: ld returned 1 exit status
make[2]: *** [link_app.gnu] Error 1
make[2]: Leaving directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
make[1]: *** [fuzz/asn1-test] Error 2
make[1]: *** Waiting for unfinished jobs....
./libcrypto.so: error: undefined reference to 'stderr'
./libcrypto.so: error: undefined reference to 'stdin'
./libcrypto.so: error: undefined reference to 'signal'
./libcrypto.so: error: undefined reference to 'tcsetattr'
./libcrypto.so: error: undefined reference to 'tcgetattr'
collect2: error: ld returned 1 exit status
make[2]: *** [link_app.gnu] Error 1
make[2]: Leaving directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
make[1]: *** [fuzz/asn1parse-test] Error 2
./libcrypto.so: error: undefined reference to 'stderr'
./libcrypto.so: error: undefined reference to 'stdin'
./libcrypto.so: error: undefined reference to 'signal'
./libcrypto.so: error: undefined reference to 'tcsetattr'
./libcrypto.so: error: undefined reference to 'tcgetattr'
fuzz/bndiv.o:bndiv.c:function FuzzerTestOneInput: error: undefined reference to 'stdout'
collect2: error: ld returned 1 exit status
make[2]: *** [link_app.gnu] Error 1
make[2]: Leaving directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
./libcrypto.so: error: undefined reference to 'stderr'
./libcrypto.so: error: make[1]: undefined reference to*** [fuzz/bndiv-test] Error 2
'stdin'
./libcrypto.so: error: undefined reference to 'signal'
./libcrypto.so: error: undefined reference to 'tcsetattr'
./libcrypto.so: error: undefined reference to 'tcgetattr'
fuzz/bignum.o:bignum.c:function FuzzerTestOneInput: error: undefined reference to 'stdout'
collect2: error: ld returned 1 exit status
make[2]: *** [link_app.gnu] Error 1
make[2]: Leaving directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
make[1]: *** [fuzz/bignum-test] Error 2
LD_LIBRARY_PATH=.: arm-linux-androideabi-gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="/usr/local/ssl" -DENGINESDIR="/usr/local/lib/engines-1.1" -Wall -O3 -pthread -mandroid -fPIC --sysroot=/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/sysroot -Wa,--noexecstack -fPIC -DOPENSSL_USE_NODELETE -Wl,-znodelete -shared -Wl,-Bsymbolic -Wl,-soname=libssl.so.1.1 -o ./libssl.so.1.1 -Wl,--whole-archive,--version-script=ssl.map ./libssl.a -Wl,--no-whole-archive -L. -lcrypto -ldl
make[2]: Leaving directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
make[1]: Leaving directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
make: *** [all] Error 2
Error ocurred.

I can send full log if you need it.
It was working fine with ndk r12b and r13b that I was using before.
Openssl has been configured with
./Configure android --cross-compile-prefix="$HOST-"

where HOST=arm-linux-androideabi
Here is the build script that I'm using:
https://github.com/supertuxkart/stk-code/blob/master/android/make.sh
I tested current stable version 1.1.0f and tbh. I checked only armv7 compilation. I will look how x86 compilation works later.

I suspect that adding "no-stdio" to your configuration should fix things.

Indeed the "no-stdio" helped with older openssl version. But the 1.1.0f still complains in different place:
make[2]: Entering directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
LD_LIBRARY_PATH=.: arm-linux-androideabi-gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="/usr/local/ssl" -DENGINESDIR="/usr/local/lib/engines-1.1" -Wall -O3 -pthread -mandroid -fPIC --sysroot=/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/sysroot -Wa,--noexecstack -pie -o test/buildtest_aes test/buildtest_aes.o -L. -lssl -L. -lcrypto -ldl
./libcrypto.so: error: undefined reference to 'stderr'
./libcrypto.so: error: undefined reference to 'stdin'
./libcrypto.so: error: undefined reference to 'signal'
./libcrypto.so: error: undefined reference to 'tcsetattr'
./libcrypto.so: error: undefined reference to 'tcgetattr'
collect2: error: ld returned 1 exit status
make[2]: *** [link_app.gnu] Error 1
make[2]: Leaving directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
make[1]: *** [test/buildtest_aes] Error 2
make[1]: Leaving directory `/home/Dokumenty/programowanie/supertuxkart/supertuxkart-git/android/obj/openssl'
make: *** [all] Error 2

Have similar issue compiling different software, not openssl. Worked using previous Android NDK versions, but getting
../testing/DHT_test.c:208: error: undefined reference to 'stdin'
../toxcore/DHT.c:2404: error: undefined reference to 'rand'
../toxcore/DHT.c:1626: error: undefined reference to 'rand'
../toxcore/DHT.c:1629: error: undefined reference to 'rand'
../toxcore/DHT.c:1938: error: undefined reference to 'rand'
../toxcore/network.c:548: error: undefined reference to 'srand'

using the latest one.
Likely that something in Android NDK has changed.
@deveee did you find how to fix this?

Ok, found how to temporary fix it.
When creating Android NDK toolchain using make_standalone_toolchain.py, pass --deprecated-headers as an argument. Found it reading NDK's changelog.
The fix is temporary because

Note: The deprecated headers will be removed in a future release, most likely r16. If they do not work for you, file bugs now.

So if these undefined reference errors are issues in OpenSSL, they should be fixed before new NDK comes out, and they are not OpenSSL bugs, then someone should file a bug to Google.

All those undefined references should have nothing to do with headers and everything to do with libraries you're linking with.  Is it possible that you need to link with some additional library you haven't specified?

Got my issue resolved in https://github.com/android-ndk/ndk/issues/445#issuecomment-313322546.

Ok then

Okay, but it looks that CFLAGS is not easy to set in openssl. And using clang gives another issue...
clang50: error: unknown argument: '-mandroid'

At least now I know the reason of these issues, thanks.

Well, as a workaround, you could replace the gcc binary with a bash script file named gcc which calls clang instead.
e.g. save
#!/bin/sh
$ANDROID_TOOLCHAIN_DIR/arm-linux-androideabi-clang "$@"

as $ANDROID_TOOLCHAIN_DIR/arm-linux-androideabi-gcc, overwriting the original gcc.
If using clang doesn't work because openssl detects that it's clang and tries to use the unsupported -mandroid, then try copying gcc to gcc-original and saving
#!/bin/sh
$ANDROID_TOOLCHAIN_DIR/arm-linux-androideabi-gcc-original -D__ANDROID_API__=$API "$@"

as gcc. Don't forget to set $API.

This can compile, I not test yet. Just posting here for reference.
CROSS_COMPILE=aarch64-linux-android- CC=clang ../openssl-1.1.0h/Configure --sysroot=/home/weiqi/android-ndk-r17/sysroot --sysroot=/home/weiqi/android-toolchain/sysroot --prefix=$(pwd)/prefix --openssldir=$(pwd)/prefix linux-aarch64

Hello guys,
Well i have the same problem when i try to "make" openssl with ndk r17b released in june.
so anyone know how can i fix this ?
in r17b ?
rgds

On a note here: even when OPENSSL_NO_STDIO is defined, the macro TEST_ENG_OPENSSL_RC4 is set, which causes a fprintf to stderr (In eng_openssl.c)

I had the same issue.
stdin/stdout/stderr weren't added as variables until API 23.
I build the code for API 21, but I've built libopenssl.a for a later API level.
set minSdkVersion to 23 in the gradle file fixes the issue for me.


Rack::Auth::Digest is deprecated and will be removed in Rack 3.1

Rack 3.0 deprecated Rack::Auth::Digest and began warning that it would be removed in Rack 3.1.
The main branch of rack removed Rack::Auth::Digest entirely on Sept. 10 2022.
Grape requires rack/auth/digest/md5 explicitly in v1.7.0 and appears to have done so for a long time because it's referenced in upgrading to >= 0.9.0. It's also mentioned in the README as a supported auth mechanism.
Using gem 'rack', github: 'rack/rack' raises a LoadError when starting a Grape app:
bundle exec puma
Puma starting in single mode...
* Puma version: 6.0.1 (ruby 3.1.2-p20) ("Sunflower")
*  Min threads: 1
*  Max threads: 1
*  Environment: development
*          PID: 51155
! Unable to load application: LoadError: cannot load such file -- rack/auth/digest/md5
bundler: failed to load command: puma (/app/vendor/bundle/ruby/3.1.0/bin/puma)
/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require': cannot load such file -- rack/auth/digest/md5 (LoadError)
        from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
        from /app/vendor/bundle/ruby/3.1.0/gems/grape-1.7.0/lib/grape.rb:8:in `<main>'
        from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
        from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
        from /app/config/environment.rb:26:in `<top (required)>'
        from config.ru:3:in `require_relative'
        from config.ru:3:in `block in <main>'
        from /app/vendor/cache/rack-a7d56490fd2f/lib/rack/builder.rb:103:in `eval'
        from /app/vendor/cache/rack-a7d56490fd2f/lib/rack/builder.rb:103:in `new_from_string'
        from /app/vendor/cache/rack-a7d56490fd2f/lib/rack/builder.rb:94:in `load_file'
        from /app/vendor/cache/rack-a7d56490fd2f/lib/rack/builder.rb:64:in `parse_file'
        from /app/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/lib/puma/configuration.rb:364:in `load_rackup'
        from /app/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/lib/puma/configuration.rb:286:in `app'
        from /app/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/lib/puma/runner.rb:158:in `load_and_bind'
        from /app/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/lib/puma/single.rb:44:in `run'
        from /app/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/lib/puma/launcher.rb:186:in `run'
        from /app/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/lib/puma/cli.rb:75:in `run'
        from /app/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/bin/puma:10:in `<top (required)>'
        from /app/vendor/bundle/ruby/3.1.0/bin/puma:25:in `load'
        from /app/vendor/bundle/ruby/3.1.0/bin/puma:25:in `<top (required)>'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/cli/exec.rb:58:in `load'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/cli/exec.rb:58:in `kernel_load'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/cli/exec.rb:23:in `run'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/cli.rb:484:in `exec'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/cli.rb:31:in `dispatch'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/cli.rb:25:in `start'
        from /installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:48:in `block in <top (required)>'
        from /installs/ruby/3.1.2/lib/ruby/3.1.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'
        from /installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:36:in `<top (required)>'
        from /installs/ruby/3.1.2/bin/bundle:25:in `load'
        from /installs/ruby/3.1.2/bin/bundle:25:in `<main>'

I can successfully run the app after removing the require call for rack/auth/digest/md5 in lib/grape.rb, the method definition for http_digest in lib/grape/middleware/auth/dsl.rb and the call to http_digest in lib/grape/middleware/auth/strategies.rb.
I'm happy to open a PR to completely remove support for digest auth from Grape but it's a major breaking change so I wanted to open a discussion before doing so in case there's a different course of action that's preferable.

What's the upgrade path for someone using Rack::Auth::Digest? Is there a GitHub issue on removing it somewhere that explains why?
For grape this sounds like a breaking change either way. Upgrade to Rack 3.x, remove any code that breaks, major version bump. Thanks!

Want me to make a PR?

Yes please!

It's completely insecure, unless you use it over TLS, in which case basic auth is simpler and just as secure.

Removed by #2361.

Nice work team!

Closed via https://github.com/ruby-grape/grape/pull/2361


Multiple code improvements - squid:S1118, squid:S1192

This pull request is focused on resolving occurrences of Sonar rules
squid:S1118 - Utility classes should not have public constructors.
squid:S1192 - String literals should not be duplicated.
You can find more information about the issues here:
https://dev.eclipse.org/sonar/rules/show/squid:S1118
https://dev.eclipse.org/sonar/rules/show/squid:S1192
Please let me know if you have any questions.
George Kankava

Automated message from Dropbox CLA bot
@georgekankava, it looks like you've already signed the Dropbox CLA. Thanks!

Hi, thanks for the PR.  These changes look really good. :+1:
For clarity's sake, it'd be helpful if you could split each of the code changes into commits corresponding with each of the rules that they're fixing.
The Zulip version control doc is a good reference for this: https://zulip.readthedocs.org/en/latest/code-style.html#version-control

I will resubmit this as separate pull requests.


Unable to debug tests from the IDE

Hi,
I am trying to debug the CompactionTest, but unfortunately I am unable to step through the code with breakpoints setup from my IDE (Intellij). Note: I am fairly new to the codebase.
Using maven:
Ran the test in isolation with debug on.
mvn -Dtest=CompactionTaskTest -Dmaven.surefire.debug test
...
INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ druid-indexing-service ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Listening for transport dt_socket at address: 5005

And when I create a remote application and connect to port 5005, I get the following stacktrace and the test terminates:
error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process
	at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169)
	at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(BsdDebuggerLocal.java:287)
	at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:671)
	at sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin(HotSpotAgent.java:659)
	at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:341)
	at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:304)
	at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:140)
	at sun.jvm.hotspot.tools.Tool.start(Tool.java:185)
	at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)

The above looks like a known JDK 1.8 bug - https://bugs.openjdk.java.net/browse/JDK-8160376. The recommendation is to bump up the JDK to 1.9 -- which is not supported in Druid AFAIK.
Using IDE:
I tried running the tests directly from the IDE with the JUnit, but wasn't successful either.

Environment:

Java version:

❯ java -version
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)

Maven version

❯ mvn -version
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T08:06:16-07:00)
Maven home: /Users/abradhak/apache-maven-3.6.2
Java version: 1.8.0_162, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

Intellij IDEA: 2019.3.1

Druid: 0.17.0

If there's a way to debug the tests directly from the IDE or otherwise, please let me know. Appreciate any tips. Thanks!
CC: @gianm @himanshug @ccaominh @clintropolis

Just tried from Intellij, worked for me.
~/work/druid[(HEAD detached at apache/master)]$ java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
~/work/druid[(HEAD detached at apache/master)]$ mvn -version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T11:49:05-08:00)
Maven home: /Users/hgupta/installations/apache-maven-3.5.3
Java version: 1.8.0_171, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"

I would suggest doing a mvn clean ,  then "Maven Reimport" in Intelliji and then try.

hey, thanks @himanshug, that worked! Closing this.


Workaround ROCm 4.3 LLVM_PATH issue in hipRTC

Seems ROCm 4.3.1 still have this issue
https://rocmdocs.amd.com/en/latest/Current_Release_Notes/Current-Release-Notes.html#hiprtc-file-not-found-error

Suggested Workarounds
...
Add “-I /llvm/lib/clang/13.0.0/include/” to compiler options in the call to hiprtcCompileProgram (). Note, this workaround requires the following changes in the code:

Here is a reproducer. It seems the problem only occurs when multi-versioned install is used?
(Sorry for the dirty Dockerfile...)
FROM ubuntu:20.04

RUN apt update && apt -y install curl ca-certificates
RUN apt -y install gnupg2
RUN echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | tee /etc/apt/sources.list.d/rocm.list
RUN curl -L https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add -
RUN apt update && apt -y install hipblas4.3.0 hipsparse4.3.0 rocsparse4.3.0 rocrand4.3.0 rocthrust4.3.0 rocsolver4.3.0 rocfft4.3.0 hipcub4.3.0 rocprim4.3.0 rccl4.3.0
RUN apt -y install python3-pip
RUN apt -y install initramfs-tools
RUN apt -y install rock-dkms
RUN export DEBIAN_FRONTEND=noninteractive && apt -y install rocm-dev4.3.0
RUN apt -y install libnuma-dev
RUN apt -y install hipfft4.3.0
RUN pip install 'cupy-rocm-4-3==10.0.0b3' -f https://pip.cupy.dev/pre
ENV LD_LIBRARY_PATH /opt/rocm-4.3.0/lib

docker build -t reproducer .
docker run --device=/dev/kfd --device=/dev/dri --rm -it reproducer

root@19709ad8d1a7:/# python3
Python 3.8.10 (default, Sep 28 2021, 16:10:42)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cupy
>>> cupy.arange(10)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/cupy/cuda/compiler.py", line 650, in compile
    nvrtc.compileProgram(self.ptr, options)
  File "cupy_backends/cuda/libs/nvrtc.pyx", line 136, in cupy_backends.cuda.libs.nvrtc.compileProgram
  File "cupy_backends/cuda/libs/nvrtc.pyx", line 148, in cupy_backends.cuda.libs.nvrtc.compileProgram
  File "cupy_backends/cuda/libs/nvrtc.pyx", line 67, in cupy_backends.cuda.libs.nvrtc.check_status
cupy_backends.cuda.libs.nvrtc.NVRTCError: HIPRTC_ERROR_COMPILATION (6)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/dist-packages/cupy/_creation/ranges.py", line 57, in arange
    _arange_ufunc(typ(start), typ(step), ret, dtype=dtype)
  File "cupy/_core/_kernel.pyx", line 1185, in cupy._core._kernel.ufunc.__call__
  File "cupy/_core/_kernel.pyx", line 1212, in cupy._core._kernel.ufunc._get_ufunc_kernel
  File "cupy/_core/_kernel.pyx", line 952, in cupy._core._kernel._get_ufunc_kernel
  File "cupy/_core/_kernel.pyx", line 62, in cupy._core._kernel._get_simple_elementwise_kernel
  File "cupy/_core/core.pyx", line 2078, in cupy._core.core.compile_with_cache
  File "/usr/local/lib/python3.8/dist-packages/cupy/cuda/compiler.py", line 453, in compile_with_cache
    return _compile_with_cache_hip(
  File "/usr/local/lib/python3.8/dist-packages/cupy/cuda/compiler.py", line 816, in _compile_with_cache_hip
    base = _preprocess_hiprtc('', options)
  File "/usr/local/lib/python3.8/dist-packages/cupy/cuda/compiler.py", line 739, in _preprocess_hiprtc
    result, _ = prog.compile(options)
  File "/usr/local/lib/python3.8/dist-packages/cupy/cuda/compiler.py", line 667, in compile
    raise CompileException(log, self.src, self.name, options,
cupy.cuda.compiler.CompileException: <built-in>:1:10: fatal error: '__clang_hip_runtime_wrapper.h' file not found
#include "__clang_hip_runtime_wrapper.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated when compiling for gfx900.
Error: Failed to compile opencl source (from CL or HIP source to LLVM IR).


Saw all your work in the middle of things an am appreciative of your efforts.

NPM is working on getting access to the original modules back after the account was hacked in march. I would like to review and merge your modifications when that happens as well as put you on as the lead maintainer. Once NPM and I get things sorted perhaps we could set up a video meeting to discuss?

NPM has restored access.
Thanks.

Hi @RIAEvangelist, apologies as I only saw the notification for your latest comment. I appreciate you reaching out regarding the above.
I'm glad to hear you were able to regain access to your package!
I know it's a delayed reply, but unfortunately beyond contingency planning, I don't think I can contribute much to the project.
After all, the forks were merely designed for maintenance, not improvement. For example, I don't think there's much modifications that have been on this fork.
Of course, I'm always open to discussions on how we can support the FOSS ecosystem moving forward.

Ok, thanks!


C reference implementation: BLAKE3_MAX_SIMD_DEGREE is unused

blake3.h defines BLAKE3_MAX_SIMD_DEGREE:
#define BLAKE3_MAX_SIMD_DEGREE 16
It then ignores it, and instead uses MAX_SIMD_DEGREE, defined in blake3_impl.h.

Ah thanks, I'll clean that up. I think that got missed in some refactoring early on.


Allow terminal quick fixes to return simple commands to run from getActions

getActions returns IAction[] | undefined. This is fine, but it means that every action chooses its own format for what to run. I suggest we change this to return a IAction[] | string | undefined, and when it's a string an action is created with the label Run: git status, where the part after the colon is exactly what will get run.
I expect this will also increase trust in the tool as the push set upstream quick fix currently has a label of Git push <branch>, whereas it would be a lot clearer what it's actually doing if it read Run: git push --set-upstream origin <branch>

This will decrease code duplication

I don't think we want to allow actions to be undefined, but adding string makes sense

@Tyriar started working on this, but realized your vision might be diff't than mine here, so will leave with you.
We'll still need the provider to pass in the run callback for instance, so not sure how just a string will work

@meganrogge the idea was basically to change this:
export interface ITerminalQuickFixOptions {
	getQuickFixes: QuickFixCallback;
}
export type QuickFixCallback = (matchResult: QuickFixMatchResult, command: ITerminalCommand) => ITerminalQuickFixAction[] | undefined;
export interface ITerminalQuickFixAction extends IAction {
	commandToRunInTerminal?: string;
	addNewLine?: boolean;
}

To something like:
export interface ITerminalQuickFixOptions {
	getQuickFixes: QuickFixCallback;
}
export type QuickFixCallback = (matchResult: QuickFixMatchResult, command: ITerminalCommand) => QuickFixAction[] | undefined;
export type QuickFixAction = ITerminalQuickFixAction | ITerminalQuickFixRunAction | ITerminalQuickFixOpenLinkAction
export interface ITerminalQuickFixAction extends IAction {
	commandToRunInTerminal?: string;
	addNewLine?: boolean;
}
export interface ITerminalQuickFixRunAction {
	type: 'run';
	command: string;
}
export interface ITerminalQuickFixOpenLinkAction {
	type: 'openLink';
	link: string;
}

Notice how the last 2 don't extend IAction, we would leave that up to a core component


Jwt doesn't work out of the box with ember-cli.

Using the latest version of ember-cli (0.1.15), the latest install steps do not seem to be working when using JWT (simple-auth-authenticator:jwt).
I ran the following steps in a clean dummy project:
npm install --save-dev ember-cli-simple-auth
ember generate ember-cli-simple-auth
npm install --save-dev ember-cli-simple-auth-token
ember generate simple-auth-token

Following this, I created the login route and controller for jwt authentication per the steps listed in the README.md.
Once I try to login, I get the following error in chrome:
Uncaught Error: Assertion Failed: No authenticator for factory "simple-auth-authenticator:jwt" could be found

I see what I did wrong here. I'm a bit too bleeding edge :)
It looks like jwt is not yet in the NPM repository so I pulled down the latest master branch. I look forward to the npm repo update!

@techiemac woops, sorry about, should've had merged that into another branch instead of master.

@techiemac Can you please elaborate more what was the problem and how to solve it? I had exactly the same problem but could not figure out what went wrong.
Thanks

What versions of Ember, EmberSimpleAuth and SimpleAuthToken are you using (I also had some issues making this work with the latest ember, maybe I can help)

DEBUG: -------------------------------
ember.debug.js:5332DEBUG: Ember                       : 1.13.5
ember.debug.js:5332DEBUG: Ember Data                  : 1.13.7
ember.debug.js:5332DEBUG: jQuery                      : 1.11.3
ember.debug.js:5332DEBUG: Ember Simple Auth           : 0.8.0
SimpleAuthToken is the latest 0.7.3.
Thanks @corrspt , never mind, though. I'm able to go through it.. I was stuck on this for hours and just to find that restarting ember app solved it!  I feel so frustrated.
For anyone who runs into the same issue as I have, restart the ember application might help. Auto-reloading seems does not help in this case.

I'm experiencing this issue when deploying from a CI server. Locally it builds and runs just fine. When the CI builds it and deploys it I get this error. How do I debug this? What's going on?


feat(update-collection-v3): add migration 'disable-thanos'

See individual commits for the refactoring and adding the new migration.

IMHO default and other shouldn't be placed in thanos tests, because this kind of tests will apply to all of the migrations

I don;t know why you want to push it so badly, because it won't help with anything. Also @mswiatek-sumo should look at those changes


Marko templating

Any plans to have Marko templates as an option?
Great boilerplate, much appreciated.

Hey @patbegg,
Glad to hear you enjoy using yeogurt :+1:
As for Marko templating, I don't have any plans for supporting it. It might be beneficial for a Guide to be written on how to add Marko templating to a generated yeogurt project. If you have successfully implemented Marko, I would gladly except a PR with a step-by-step guide.

Feel free to open up a PR if you get around to adding a guide for using Marko templates with Yeogurt.
Closing out.


Can you load this with a default tag or context?

e.g
ActiveSupport::TaggedLogging.new(Syslog::Logger.new('foo'))

How would you initialize SemanticLogger to behave like this?

Can you describe what you are trying to do?
Tagged logging is built into Semantic Logger, so it should not be used with ActiveSupport::TaggedLogging

Basically, I am trying to replace Rails logger without using the gem because there's a lot of config baked into the gem already.
Because at an organization I work at, we don't even log to file but directly to syslog. Is it possible to only have one appender?

We have users of the Rails Semantic Logger gem that only send logs to a centralized logging service. I.e. Without any local file logging.
There is a config option to turn off the local file logger with Rails Semantic Logger. In application.rb:
config.rails_semantic_logger.add_file_appender = false

Then just add the Syslog appender in a Rails initializer, application.rb, or environment config file:
SemanticLogger.add_appender(appender: :syslog)

Documentation Updated


Default GW support for overlay networks

Support for Default gateways with overlay network for windows.
Windows CI results:
PS C:\Windows\system32> C:\Tools\HNSCI.ps1 -remoteMachine <IP_ADDRESS>
Describing HNS Network and Endpoint tests
Context Validate NAT Networks
[+] Should be able to build IIS Image 2.99s
[+] Should Publish all ports 5.26s
[+] Should Publish specific port 3.1s
[+] Should be able to ping external host 2.06s
[+] Validate hair pinning works 31.12s
[+] Validate service discovery 6.52s
[+] Should work with transparent network after service restart 8.4s
Context Validate Transparent Networks
[+] Should able to create single Transparent network. 7.14s
[+] Should able to create multiple Transparent network. 10.44s
[+] Should be able to ping external host 9s
[+] Should able to communicate across containers. 14.09s
[+] Should able to communicate across containers with non zero vlan. 14.37s
Context Validate L2Bridge Networks
[+] Should able to communicate across containers. 27.37s
Signed-off-by: msabansal<EMAIL_ADDRESS>

Added port mapping support aswell.
PS C:\Windows\system32> C:\Tools\HNSCI.ps1 -remoteMachine <IP_ADDRESS> Describing HNS Network and Endpoint tests    Context Validate NAT Networks     [+] Should be able to build IIS Image 2.99s     [+] Should Publish all ports 5.26s     [+] Should Publish specific port 3.1s     [+] Should be able to ping external host 2.06s     [+] Validate hair pinning works 31.12s     [+] Validate service discovery 6.52s     [+] Should work with transparent network after service restart 8.4s    Context Validate Transparent Networks     [+] Should able to create single Transparent network. 7.14s     [+] Should able to create multiple Transparent network. 10.44s     [+] Should be able to ping external host 9s     [+] Should able to communicate across containers. 14.09s     [+] Should able to communicate across containers with non zero vlan. 14.37s    Context Validate L2Bridge Networks     [+] Should able to communicate across containers. 27.37s PS C:\Windows\system32> C:\Tools\HNSCI.ps1 -remoteMachine <IP_ADDRESS> Describing HNS Network and Endpoint tests    Context Validate NAT Networks     [+] Should be able to build IIS Image 385ms     [+] Should Publish all ports 3.85s     [+] Should Publish specific port 3.17s     [+] Should be able to ping external host 1.93s     [+] Validate hair pinning works 32.01s     [+] Validate service discovery 7.55s     [+] Should work with transparent network after service restart 11.44s    Context Validate Transparent Networks     [+] Should able to create single Transparent network. 4.36s     [+] Should able to create multiple Transparent network. 10.53s     [+] Should be able to ping external host 8.92s     [+] Should able to communicate across containers. 14.42s     [+] Should able to communicate across containers with non zero vlan. 14.43s    Context Validate L2Bridge Networks     [+] Should able to communicate across containers. 24.55s

Added port mapping support

PS C:\Windows\system32> C:\Tools\HNSCI.ps1 -remoteMachine <IP_ADDRESS>
Describing HNS Network and Endpoint tests
Context Validate NAT Networks
[+] Should be able to build IIS Image 2.99s
[+] Should Publish all ports 5.26s
[+] Should Publish specific port 3.1s
[+] Should be able to ping external host 2.06s
[+] Validate hair pinning works 31.12s
[+] Validate service discovery 6.52s
[+] Should work with transparent network after service restart 8.4s
Context Validate Transparent Networks
[+] Should able to create single Transparent network. 7.14s
[+] Should able to create multiple Transparent network. 10.44s
[+] Should be able to ping external host 9s
[+] Should able to communicate across containers. 14.09s
[+] Should able to communicate across containers with non zero vlan. 14.37s
Context Validate L2Bridge Networks
[+] Should able to communicate across containers. 27.37s
PS C:\Windows\system32> C:\Tools\HNSCI.ps1 -remoteMachine <IP_ADDRESS>
Describing HNS Network and Endpoint tests
Context Validate NAT Networks
[+] Should be able to build IIS Image 385ms
[+] Should Publish all ports 3.85s
[+] Should Publish specific port 3.17s
[+] Should be able to ping external host 1.93s
[+] Validate hair pinning works 32.01s
[+] Validate service discovery 7.55s
[+] Should work with transparent network after service restart 11.44s
Context Validate Transparent Networks
[+] Should able to create single Transparent network. 4.36s
[+] Should able to create multiple Transparent network. 10.53s
[+] Should be able to ping external host 8.92s
[+] Should able to communicate across containers. 14.42s
[+] Should able to communicate across containers with non zero vlan. 14.43s
Context Validate L2Bridge Networks
[+] Should able to communicate across containers. 24.55s

Thanks @msabansal
LGTM

LGTM


Fix playground

The playground uses  https://docs-search-bar.meilisearch.com that is down today. We need to update the playground to make it usable again.
https://github.com/meilisearch/docs-searchbar.js/blob/a419a4a2f3cf7af10bb47b76e07dc246125b289f/playgrounds/javascript/src/index.js#L6

@bidoubiwa I let you explain what is the best solution to solve this 🙂

Hey! The playground is using the remote server. We need to change that with a local server containing documents compatible with the playground.
To achieve this, these must be done:

[ ] Create a setup script (like this one)
[ ] Add in the contributing guide how to use the script
[ ] Add the command to launch the script in package.json

fixed by #563


mysql dump restore has ERROR, "You can't use locks with log tables"

Describe the bug
Backing up Galera MariaDB:
When I take backup and restore manually using the command below command it SUCCEEDS
On my UNIX machine..
$ mysqldump --single-transaction --all-databases -h <IP_ADDRESS> -P 32741 -u root  > ssinside_common.sql
$ mysql -u root --host <IP_ADDRESS> --port 30188 -p < ssinside_common.sql
However, when same is done inside the mysqldump chart using the CronJob or EXEC into the container with same command below, it FAILS
$ mysqldump --single-transaction --all-databases -h <IP_ADDRESS> -P 32741 -u root  > ssinside_common.sql
$ mysql -u root --host <IP_ADDRESS> --port 30188 -p < ssinside_common.sql
ERROR 1556 (HY000) at line 1208: You can't use locks with log tables
Based on bug report this should fix the error: https://bugs.mysql.com/bug.php?id=37748
I tried using below flags with mysqldump, but still same error:
--lock-tables=0 --skip-lock-tables
Reason:
One reason might be the difference in the Version  of Mysqldump:
Manual UNIX machine Version: (NO ERROR)
$ mysqldump --version
mysqldump  Ver 10.16 Distrib 10.3.10-MariaDB, for Linux (x86_64)
$ mysql --version
mysql  Ver 15.1 Distrib 10.3.10-MariaDB, for Linux (x86_64) using  EditLine wrapper
Another docker container with high version: (NO ERROR)
$ mysqldump --version
mysqldump  Ver 10.17 Distrib 10.4.12-MariaDB, for Linux (x86_64)
$ mysql --version
mysql  Ver 15.1 Distrib 10.4.12-MariaDB, for Linux (x86_64) using readline 5.1
mysqlDump chart container version: (ERROR)
$ mysqldump --version
mysqldump  Ver 10.16 Distrib 10.2.15-MariaDB, for Linux (x86_64)
$ mysql --version
mysql  Ver 15.1 Distrib 10.2.15-MariaDB, for Linux (x86_64) using readline 5.1
Which chart:
charts/stable/mysqldump/
Anything else we need to know:
Bumping the version up can fix the issue.
Not sure why the, skip-lock-tables flag wont work.

@ganchandrasekaran I'm having the same issue. Did you manage to fix it?

I had the same problem. As a workaround, I suggest you remove the LOCK/UNLOCK commands from the SQL file:
cat ssinside_common.sql | grep -v LOCK | grep -v UNLOCK > ssinside_common_NoLock.sql
Then you can import the ssinside_common_NoLock.sql with no errors.

@ganchandrasekaran I'm having the same issue. Did you manage to fix it?

In my case, I had changed the version of mysqldump and started working with it.


Setting pythonPath with ${workspaceFolder} in launch.json configs doesn't work

When I set e.g. this in a config of my workspace's launch.json:
 "pythonPath": "${workspaceFolder}/build/my/own/python",

I get an error about the pythonPath being invalid when I try to run it. As soon as I replace it with the full path it works fine, e.g.
 "pythonPath": "/home/myusername/my_workspace/build/my/own/python",

Note that it works fine with my workspace's settings.json with:
"python.pythonPath": "${workspaceFolder}/build/my/own/python",

I happen to use a custom interpreter and I actually have a variety of workspace folders that draw their settings from a same template for my .vscode settings, so it would be great it we could get the variable to work...
I'm using Ubuntu 18.04, with latest vscode (1.46.0). For anyone trying to debug this: I guess it can be easily reproduced by symlinking your system's python into a folder under your workspaceFolder.
Environment data

VS Code version: 1.46.0
Extension version (available under the Extensions sidebar): 2020.5.86806
OS and version: Ubuntu 18.04
Python version (& distribution if applicable, e.g. Anaconda): 2.7.17 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): custom
Relevant/affected Python packages and their versions: N/A
Relevant/affected Python-related VS Code extensions and their versions: N/A
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): N/A?
Value of the python.languageServer setting: not set

Expected behaviour
I expect that setting this in my launch.json works:
 "pythonPath": "${workspaceFolder}/build/my/own/python",

Actual behaviour
It doesn't work. But a full path works fine so it seems the variable is not being resolved:
 "pythonPath": "/home/myusername/my_workspace/build/my/own/python",

Steps to reproduce:
Just make a symlink into your workspace to python:
cd to/you/workspace
ln -s $(which python)

Then create a debug config with:
 "pythonPath": "${workspaceFolder}/python",

Then try to run that debug config

@koenlek If you want to use the workspace pythonPath setting in launch.json, you can just use,
"pythonPath": "${command:python.interpreterPath}"

Please let me know if that works for you.

@karrtikr, unfortunately, that doesn't work. It gives an error "The Python path in your debug configuration is invalid" once I try to run it. I just feel like any variable expression (e.g. ${...}) under "pythonPath" doesn't work...

That's weird, can you please check the values supported for the property "pythonPath"?
You can do that in some new launch.json task, adding the property key and then trying to add a value. You should see which options are available

Found it! There was a small typo in your suggestion.
// Correct
"pythonPath": "${config:python.interpreterPath}"
// Though your suggestion was:
"pythonPath": "${command:python.interpreterPath}"

@koenlek Can you update to the latest stable version of the extension? We use ${command:python.interpreterPath} in there. Also, does the workaround work?

 I assume it changed in a recent release, because I committed the working config to git and after updating my vscode + extensions, the config was changed from "${config:python.interpreterPath}" to "${command:python.interpreterPath}"...
This workaround works great for me, thanks!

Do you want to close the issue? I still think it would be good to make variables like ${workspaceFolder} work better in launch.json for the python plugin...

Yup let's leave it open. It's useful it cases where debugging interpreter is different than the one selected.


Building jupyterhub container fails

In step 7 of this lab the building of of the jupyterhub container image fails.
[~/exercises/jupyterhub-v4] $ skaffold build --cache-artifacts=false
Generating tags...
 - lab-jupyter-on-k8s-03-w01-s001-registry.<IP_ADDRESS>.nip.io/jupyterhub -> lab-jupyter-on-k8s-03-w01-s001-registry.<IP_ADDRESS>.nip.io/jupyterhub:latest
Some taggers failed. Rerun with -vdebug for errors.
Creating docker config secret [docker-cfg]...
Building [lab-jupyter-on-k8s-03-w01-s001-registry.<IP_ADDRESS>.nip.io/jupyterhub]...
error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "lab-jupyter-on-k8s-03-w01-s001-registry.<IP_ADDRESS>.nip.io/jupyterhub:latest": creating push check transport for lab-jupyter-on-k8s-03-w01-s001-registry.<IP_ADDRESS>.nip.io failed: Get "https://lab-jupyter-on-k8s-03-w01-s001-registry.<IP_ADDRESS>.nip.io/v2/": x509: certificate is valid for ingress.local, not lab-jupyter-on-k8s-03-w01-s001-registry.<IP_ADDRESS>.nip.io
couldn't build "lab-jupyter-on-k8s-03-w01-s001-registry.<IP_ADDRESS>.nip.io/jupyterhub": pod has failed

It seems that a docker registry is expected to have been installed but steps to do that are not included?
This is with minikube v1.15.1

It was most likely because secure ingress wasn't being used for workshop.


Update text labels for PESU Auth

Can you make one more change?
https://github.com/sach-12/pesu-bot-verify/blob/main/pages/api/info.js#L37C29-L37C29
Update this response to "PRN not found. Try the PESU Academy authentication method instead"

Looks good, merging


bug: temporary red outline remains after "un-sliding" an ion-item-sliding element

Bug Report
Ionic version:

[x] 4.6.2
Current behavior:

When using ion-item-sliding with a red, "danger"-colored ion-item-option, after un-sliding a list item, a red outline remains (temporarily) where the ion-item-option was at.
Expected behavior:

In this scenario, a list item should not have a red outline after un-sliding it.
Steps to reproduce:

Please run the demo from the repository linked below to reproduce the bug.
Related code:

Demo repository here.
Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 5.2.2 (/Users/andy/.nvm/versions/node/v11.15.0/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.6.2
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Cordova:

   Cordova CLI       : 9.0.0<EMAIL_ADDRESS>   Cordova Platforms : android 8.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.0, (and 5 other plugins)

Utility:

   cordova-res : 0.3.0 (update available: 0.6.0)
   native-run  : 0.2.2 (update available: 0.2.7)

System:

   Android SDK Tools : 26.1.1 (/Users/andy/Documents/SDKs/Android)
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.1
   NodeJS            : v11.15.0 (/Users/andy/.nvm/versions/node/v11.15.0/bin/node)
   npm               : 6.10.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.2.1 Build version 10E1001

Thanks for the issue. Which platform/browser are you seeing this on?

macOS Mojave (10.14.5), Chrome Version 75.0.3770.100

Thanks for the follow up. Are you able to post a screenshot of what the issue looks like? I am unable to reproduce this issue, but perhaps I am looking for the wrong thing.

@liamdebeasi I tried this out in Safari (probably should have been one of the first steps, tbh), and the problem isn't showing up there. It must be related to the way Chrome's responsive inspector renders things.
I talked about this with Mike on the Slack channel as well, and that's what he guessed before I tried it on Safari.
Thanks for your help! Sorry if I clogged up the issue tracker at all


osx: set the default thread stack size to RLIMIT_STACK

Fixes: https://github.com/libuv/libuv/issues/669
R=@bnoordhuis
I'll try to write a test later today.

@xzyfer @58bits can you try to apply this change to your node engine source, recompile and see if that alleviates the problem we have in https://github.com/sass/node-sass/issues/1289 ?

@bnoordhuis updated, can you PTAL?

Just tried compiling stable node source with the updated src/unix/thread.c and got the following error...
../deps/uv/src/unix/thread.c:83:25: error: use of undeclared identifier 'RLIMIT_INFINITY'
    if (lim.rlim_cur == RLIMIT_INFINITY) {

RLIMIT_STACK is defined in sys/resource.h
Where is RLIMIT_INFINITY?

@58bits sorry, you caught the code in flux, it's fixed now and I added a test for it.
@bnoordhuis can you PTAL now?

Ok thanks @saghul! I'll try again :)

@saper @xzyfer @Snugug this works! I've just compiled Node stable v5.3.0 with @saghul's patch and node-sass compiles singularity style sheets in debug mode fine. w00t!

@58bits sweet, thanks for confirming!

LGTM with a suggestion.

@bnoordhuis pushed a fix simplifying the code as suggested.

LGTM with a nit.

Addressed the nit and merged, thanks as always Ben!

Hi All, was just checking if this had made it into node/deps/uv/src/unix/ - and see that the patch is in the v1.x branch, but not yet in a tagged release. Is there an ETA for the next libuv release?

No ETA yet.

Okay thanks @saghul - understood.


Added [iOS / Google Maps] support for showsIndoorLevelPicker.

Thanks for the PR. Could you add this to the docs as well?

Documentation updated as well now.


Unable to run window subsystem for linux. It keeps saying window subsystem for linux has no installed distribution

This bug-tracker is monitored by developers and other technical types.  We like detail!  So please use this form and tell us, concisely but precisely, what's up.  Please fill out ALL THE FIELDS!
If you have a feature request, please post to the UserVoice.
Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues. Instead, send dumps/traces to<EMAIL_ADDRESS>referencing the GitHub bug number. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".

Your Windows build number:  (Type ver at a Windows Command Prompt)

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

What's wrong / what should be happening instead:

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here)

See our contributing instructions for assistance.

What Windows version do you use? Did you really installed any distribution? Check that with wslconfig.exe /l command.

it is now working(less than 10 mins ago)... i used npm cache clean --f
command and then download the latest version of nodejs from the official
website. After reinstalling it, i was able to install the vue-cli globally
at once.
On Thu, Dec 7, 2017 at 10:49 AM, Biswapriyo<EMAIL_ADDRESS>wrote:

What Windows version do you use? Did you really installed any
distribution? Check that with wslconfig.exe /l command.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/WSL/issues/2728#issuecomment-349916746, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AUOWfcWB-AIEAFvdH74xI1G1NP0JRX1Yks5s97SWgaJpZM4Q45of
.

it is now working(less than 10 mins ago)... i used npm cache clean --f command and then download the latest version of nodejs from the official website. After reinstalling it, i was able to install the vue-cli globally at once.

And after running the command, i have:
C:\Users\TAHYWOH\workspace\Mr.Vue\testing-vue-cli\myApp>wslconfig.exe/list
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
It's working now though.
Thanks!

Fiverr
  {
      "@context": "http://schema.org",
      "@type": "EmailMessage",
      "action": {
        "@type": "ViewAction",
        "url": "https://www.fiverr.com/s2/1a1b97b5e5",
        "name": "Browse Services on Fiverr"
      },
      "description": "Browse Services on Fiverr"
  }

    Taiwo is tired of keeping Fiverr a secret.

    Fiverr is the world’s largest marketplace for services,where you can get everything you need at an unbeatable value.

    Sounds too good to be true? See for yourself!

                                                        Browse Services On Fiverr

		The Fiverr Team

                                © Fiverr International Limited 2010-2016, Fiverr Inc. | 401 Broadway, Suite 1600 New York NY, 10013 USA.
                                Your personal information will not be stored or used for any marketing purposes.

If you would like to unsubscribe and stop receiving these emails click here.

It just happened to me as well, right after the reboot. I did absolutely nothing, and 10 minutes later it's working.

Same, after about 10 mins it just worked again!

    Fiverr

  {
      "@context": "http://schema.org",
      "@type": "EmailMessage",
      "action": {
        "@type": "ViewAction",
        "url": "https://www.fiverr.com/s2/259699e00a",
        "name": "Browse Services on Fiverr"
      },
      "description": "Browse Services on Fiverr"
  }

    Taiwo is tired of keeping Fiverr a secret.

    Fiverr is the world’s largest marketplace for services,where you can get everything you need at an unbeatable value.

    Sounds too good to be true? See for yourself!

                                                        Browse Services On Fiverr

		The Fiverr Team

                                © Fiverr International Limited 2010-2016, Fiverr Inc. | 401 Broadway, Suite 1600 New York NY, 10013 USA.
                                Your personal information will not be stored or used for any marketing purposes.

If you would like to unsubscribe and stop receiving these emails click here.


stdout from node opens tray

this totally makes sense since console.log simply prints to stdout with a newline at the end.
Would we like special behavior for this?

it should work like stdout in the other languages, which goes into the cell output area.

kk :+1:


circleci check change version  src/electron/package.json

What type of PR is this?

/kind feature

What this PR does / why we need it:
circleci check  src/electron/package.json version change

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Webview font becomes Times New Roman when switching themes

Have you tried with other themes as well? is there the same issue?

duplicate of #25370


point of .js.flow files

I'm not understanding the point of the .js.flow style of declarations yet.
The docs say they must be colocated with the .js file with the same name.
The example in the docs shows that types are also declared in the implementation file.
It seems like since those are present, there is no need for the .js.flow file.
However, the example shows that the type of the year parameter to the isLeapYear function differs between the implementation and declaration files. Why would it be useful for them to differ?
Please let me know if you would prefer that I not ask questions like this in Github issues.

Please let me know if you would prefer that I not ask questions like this in Github issues.

This is a perfect use of GitHub issues!
So the main point of .js.flow files is to let you compile to ordinary JS (which can lose some type info -- like, say, classes in favor of imperative prototype building. Or various compiled-away type annotations) while retaining the original fully-expressive information for Flow to pick up.
In general, if you're going to ship Flow-typed JS to example, we'd recommend that you do so via cp orig.js orig.js.flow; babel orig.js > orig.js (I sort of fudged the CLI interface for Babel there, but hopefully you get the point).

IOW: .js.flow files are a way of telling Flow what the original file was (pre-compilation) while allowing runtimes (like node or packagers) deal in terms of "vanilla"/compiled JS

Thanks Jeff! I understand the benefit of removing type information from the implementation file and specifying that in a separate .js.flow file. But why does the example in the docs show the implementation file still containing types and having types that differ from those in the .js.flow file?

@mvolkmann The example in the docs is showing that a .js.flow declaration always override any type defined in the real .js implementation file; in this case, the declaration is clearly incorrect, and as the docs say:

As this example shows, declaration files must be written with care: it is up to the programmer to ensure they are correct, otherwise they may hide type errors.

Flow doesn't care if original implementation .js file still contains annotations. The .js.flow will provide and eventually override type annotations; an use case may be, as docs suggest:

[...] Sometimes, the implementation code may not yet be free of type errors, but we may want to move on and come back to fixing the type errors later [...]

Hope this helps!

Thanks! I get it now. I suppose it's a matter of personal preference, but currently I think I would prefer to include type annotations in the .js files and provide tooling to strip the type annotations as part of the build process (for example, using babel-plugin-transform-flow-strip-types).

@mvolkmann: Yea, that will work -- but it means that downstream consumers of your library will consume the compiled version of the code (which is likely to exclude much of the information that Flow would need to typecheck consumers of the code).
Another alternative that we tried for a while was having the compiler simply use comment-syntax for the output, but this broke down when we discovered that not all compiler output easily takes the shape of the original code in way that Flow-comments make sense (i.e. compiling a class to a function is something that you can't really just sugar comments on to to give the shape of the original code). As a result, we've landed on .js.flow.
All that said, I'd actually like to see the babel plugin take on the responsibility of outputting .js.flow files as well. Of course you could always do the cps yourself -- but it probably makes sense for the plugin to just DoTheRightThing for you. I might look in to what this would take in a few weeks and see where things land.

@jeffmo I wish I had read this before reading the docs, which as @mvolkmann pointed out are quite confusing. Since two days ago I've completely refactored my codebase using .js.flow files presuming they were like C++ header files - partitioning type declarations away separately from implementations and thus enabling the implementations to stay in vanilla javascript.
P.S.: I think the above interpretation would be a really powerful enhancement, as vanilla js projects could migrate to Flow without a single line of code change - and should they ever migrate away from Flow cleanup is easy: rm -rf *.js.flow


The imported image becomes squashed when displaying it and it is displayed in black and white

Hi, the image that I am importing becomes squashed when importing it as well as it becomes black and white.
This is how it looks like when being displayed without using opencv-rust:

This is how it is being displayed when using opencv-rust

The resolution for the image file is 640 x 427.
I am following this tutorial

Here is my source code:
extern crate opencv;
//use opencv::prelude::*;

use opencv::highgui;
use opencv::imgcodecs;

#[allow(dead_code)]
fn main()
{
    let image = imgcodecs::imread(r"opencv-course\Resources\Photos\cat.jpg", 0).unwrap();
    highgui::named_window("hello opencv!", 0).unwrap();
    highgui::imshow("hello opencv!", &image).unwrap();
    highgui::wait_key(10000).unwrap();
}

You are not passing any flags to imread (just 0), that’s probably why.

You are not passing any flags to imread (just 0), that’s probably why.

What flags am I supposed to pass?

Depends on the representation of pixels in the resulting Mat you want to achieve. You should read the documentation for OpenCV library: https://docs.opencv.org/4.5.1/ it has some tutorials too. Usually translating those C++ and Python tutorials to Rust is trivial.

@twistedfall

You should read the documentation for OpenCV library: https://docs.opencv.org/4.5.1/ it has some tutorials too.

I am not too sure where to find how to import image files.

Depends on the representation of pixels in the resulting Mat you want to achieve.

let image = imgcodecs::imread(r"opencv-course\Resources\Photos\cat.jpg", 0).unwrap(); so I replace 0 with a flag, what do I put as a replacement mate?

@twistedfall Hey man, the tutorials for opencv C++ does not have the flag specification in imread().

Take a look at this video.
I have taken look at the docs but the docs fails to specify what i32 number I should pass in the argument of opencv::imgcodecs::imread() function. What number should I pass if you happen to know?

The default argument values are documented under “C++ default parameters”, in this case it says:
flags: IMREAD_COLOR

It is better but the image is coming out as squashed, here is the code I am using:
extern crate opencv;
//use opencv::prelude::*;

use opencv::highgui;
use opencv::imgcodecs;

#[allow(dead_code)]
fn main()
{
    let image = imgcodecs::imread(r"opencv-course\Resources\Photos\cat.jpg", 1).unwrap();
    highgui::named_window("hello opencv!", 0).unwrap();
    highgui::imshow("hello opencv!", &image).unwrap();
    highgui::wait_key(10000).unwrap();
}

Same thing with named_window, you are passing 0, which probably means not what you want

Seems to work now, thanks :)
So what does 1 mean and what does 0 mean when passing it as a flag?

I know I am going off topic but like does opencv use GPU acceleration?

You shouldn't be passing raw numbers there, the flags that are accepted are described in the documentation: https://docs.rs/opencv/0.49.1/opencv/highgui/fn.named_window.html
OpenCV supports GPU acceleration given that you enable them during the compilation. This crate exposes support for both CUDA and OpenCL

Ah I see, thanks mate :)

OpenCV supports GPU acceleration given that you enable them during the compilation. This crate exposes support for both CUDA and OpenCL

How would I enable this mate?

I suggest you do a google search for something like "opencv enable cuda" or "opencv enable opencl". Don't get me wrong, I'm ready to provide support for the crate, but for support on the OpenCV itself it's better to refer to specialized channels like OpenCV forums or Stackoverflow.

Ah right thanks mate
On Tue, Feb 9, 2021 at 7:46 PM twistedfall<EMAIL_ADDRESS>wrote:

I suggest you do a google search for something like "opencv enable cuda"
or "opencv enable opencl". Don't get me wrong, I'm ready to provide support
for the crate, but for support on the OpenCV itself it's better to refer to
specialized channels like OpenCV forums or Stackoverflow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twistedfall/opencv-rust/issues/209#issuecomment-775770921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIKO7IKRO7E74MFNLQLYMV3S6DY53ANCNFSM4XG5F5LA
.


Add error handling for npm_and_rest example

For example of fetch service, there is some more in depth portion of code in examples/dashboard but I was overwhelmed by the size (number of lines of code) of that example. I try fetch example in npm_and_rest because it is much simpler to understand, but something went wrong and it took me some hours to figure out what is missing.
So I added the error handling to make it clear that there are something to check there. (For anyone like me - that the Error in Response<Json<Result<Profile, Error>>> is not enough)

Looks good to me! Thank you :+1:

bors r+


Consider wrapping request exceptions to contain less garbage

Currently at the debug level, the bot sdk will spew a great big IncomingMessage object containing a tone of useless information, each bit taking up a whole line of log. Can we reduce this to the useful bits of data, perhaps something like: Method,Path,StatusCode,Body,ResponseTime,Headers?.
11:22:45:931 DEBUG [MatrixClient] Error getting foo room account data in !zkvkNhbPEMVvCCNtqH:foo: <ref *2> IncomingMessage {
  _readableState: ReadableState {
    objectMode: false,
    highWaterMark: 16384,
    buffer: BufferList { head: null, tail: null, length: 0 },
    length: 0,
    pipes: [],
    flowing: true,
    ended: true,
    endEmitted: true,
    reading: false,
    sync: false,
    needReadable: false,
    emittedReadable: false,
    readableListening: false,
    resumeScheduled: false,
    errorEmitted: false,
    emitClose: true,
    autoDestroy: false,
    destroyed: false,
    errored: null,
    closed: false,
    closeEmitted: false,
    defaultEncoding: 'utf8',
    awaitDrainWriters: null,
    multiAwaitDrain: false,
    readingMore: false,
    decoder: null,
    encoding: null,
    [Symbol(kPaused)]: false
  },
  _events: [Object: null prototype] {
    end: [ [Function: responseOnEnd], [Function (anonymous)] ],
    close: [ [Function (anonymous)], [Function (anonymous)] ],
    data: [Function (anonymous)],
    error: [Function (anonymous)]
  },
  _eventsCount: 4,
  _maxListeners: undefined,
  socket: <ref *1> TLSSocket {
    _tlsOptions: {
      allowHalfOpen: undefined,
      pipe: false,
      secureContext: [SecureContext],
      isServer: false,
      requestCert: true,
      rejectUnauthorized: true,
      session: <Buffer  ... 1939 more bytes>,
      ALPNProtocols: undefined,
      requestOCSP: undefined,
      enableTrace: undefined,
      pskCallback: undefined,
      highWaterMark: undefined
    },
    _secureEstablished: true,
    _securePending: false,
    _newSessionPending: false,
    _controlReleased: true,
    secureConnecting: false,
    _SNICallback: null,
    servername: 'teams-staging.ems.host',
    alpnProtocol: false,
    authorized: true,
    authorizationError: null,
    encrypted: true,
    _events: [Object: null prototype] {
      close: [Array],
      end: [Function: onReadableStreamEnd],
      newListener: [Function: keylogNewListener],
      secure: [Function: onConnectSecure],
      session: [Function (anonymous)],
      free: [Function: onFree],
      timeout: [Function: onTimeout],
      agentRemove: [Function: onRemove],
      error: [Function: socketErrorListener],
      finish: [Function]
    },
    _eventsCount: 10,
    connecting: false,
    _hadError: false,
    _parent: null,
    _host: 'teams-staging.ems.host',
    _readableState: ReadableState {
      objectMode: false,
      highWaterMark: 16384,
      buffer: BufferList { head: null, tail: null, length: 0 },
      length: 0,
      pipes: [],
      flowing: true,
      ended: false,
      endEmitted: false,

The SDK will fix its default logging of these, but the expectation is that consumers will clean up their logging manually. The SDK will export a function to help with this.


Wrong usage example

In README.md
hs = HaproxyStats(base_urls,user='<username>',user_pass='<password>')

but correct version i think is
hs = HaproxyStats(base_urls,user='<username>',password='<password>')

Thanks @yoghi; usage has been updated.


Single Function Definition for Multiple TRANSFORM_ARGUMENT

I think it would be quite common to want to use the same TRANSFORM_ARGUMENT function for both Create and Update, such as this example which creates a computed fullname from ${firstname}  ${lastname}

Same would apply for the doc example for the computed value area...

module.exports = function (event) {
  console.log('Compute area')
  event.data.area = event.data.width * event.data.length

  return event
}

So my request would be to allow functions to be assigned to multiple mutation contexts, not just one at a time as is the case now...

If the Auth0 Extend webtask container would be exposed differently (see https://github.com/graphcool/feature-requests/issues/213#issuecomment-310173026), you could just select an existing webtask on both hooks.

The new CLI allows you to reference the same function handler from different functions. More information about this will be announced soon in the Forum!


Update druid version to 29.0.0

After this change rovio-ingest only works with Druid DB schema that has the used_status_last_updated column, which was added in 28.0.0.
Additionally the MySQLContainer test is fixed to work with aarch64.
This code was extracted from https://github.com/fabricebaranski/rovio-ingest/commit/9c6eb40e1b7b00ac9f5126e38bb27c8e644ef173, as agreed with the author. Thank you for the contribution!

👍


Consider removing horn_node

Currently, we have no horn. But with the assumption that we will get one (this is pending discussion):
Shouldn't car_interface also process CarPose for handling turning horn on and off? Why do we need a separate node and separate message simply to say "horn is on/off", when the CarPose will already encode this information? (and if it doesn't currently encode it, it should shouldn't it?)

I agree, it seems unnecessary. It is just that car_horn was a node ported from buzzmobile_old. Not sure if there was some reason for breaking it out separately last time.

@coletaylor788 didn't you fix this also?

Probably fixed but not tested

We'll we can't actually test the horn at all anytime soon because we won't have a physical horn (issue tracked in #66 ). I'll close this issue and whenever we get a horn I'll make a new issue to check implementation.


Release the GIL for several NCCL ops

(patch authored by Greg Brockman)

Hi @hauntsaninja, thank you for the contribution!
Overall this PR looks good to go, but want to understand the context. Did you see performance improvements by this fix?

(patch authored by Greg Brockman)

The credit of this pull-request goes to @gdb? (Just wanted to make sure 😃 )

Yup, @gdb wrote the patch and I just made some small fixups.
We were looking to optimise NCCL comm creation time. As you'd expect, without the patch, it takes about the same time to create them serially vs in threads; with the patch you get a nice speed up. Also, when creating NCCL comms in threads without the patch, it's easy to deadlock.
Here's an example script I wrote up (to be run using MPI):
import os
import platform
import random
import threading
import time
import sys

from cupy.cuda import Stream, get_current_stream, nccl
from mpi4py import MPI

def get_comm_groups():
    groups = []
    mpi_rank = MPI.COMM_WORLD.Get_rank()
    mpi_num_ranks = MPI.COMM_WORLD.Get_size()
    if mpi_rank == 0:
        rand = random.Random(12345)
        groups = [
            (
                nccl.get_unique_id(),
                rand.sample(range(mpi_num_ranks), rand.randrange(1, mpi_num_ranks)),
            )
            for _ in range(50)
        ]
    groups = MPI.COMM_WORLD.bcast(groups, root=0)
    return groups

def create_comm(unique_id, group, comms):
    mpi_rank = MPI.COMM_WORLD.Get_rank()
    if mpi_rank not in group:
        return

    comm = nccl.NcclCommunicator(len(group), unique_id, group.index(mpi_rank))
    comms.append(comm)

def serial_create():
    groups = get_comm_groups()

    comms = []
    for unique_id, group in groups:
        create_comm(unique_id, group, comms)
    MPI.COMM_WORLD.Barrier()

def parallel_create():
    groups = get_comm_groups()

    comms = []
    threads = [
        threading.Thread(target=create_comm, args=(unique_id, group, comms))
        for unique_id, group in groups
    ]
    # without the patch, shuffling should make us deadlock pretty consistently
    # without the patch and without the shuffle, there's no benefit to creating comms in parallel without the patch
    # with the patch, we don't deadlock and we get a speedup from creating comms in parallel
    random.shuffle(threads)
    for t in threads:
        t.start()
    for t in threads:
        t.join()
    MPI.COMM_WORLD.Barrier()

if __name__ == "__main__":
    rank = MPI.COMM_WORLD.Get_rank()
    node = platform.node()
    rank_nodes = MPI.COMM_WORLD.allgather((rank, node))
    local_rank = sum(1 for r, n in rank_nodes if r < rank and n == node)
    os.environ["CUDA_VISIBLE_DEVICES"] = str(local_rank % 8)
    MPI.COMM_WORLD.Barrier()

    start = time.time()

    if sys.argv[1] == "serial":
        serial_create()
    elif sys.argv[1] == "parallel":
        parallel_create()
    else:
        raise ValueError("Invalid argument")

    end = time.time()

    print(f"Time taken: {end - start:.2f}")

It would be interesting to see a stack trace of where the processes are stuck.

When you deadlock after creating NcclCommunicators in different orders on different ranks (in threads)? It's what one would expect.
Python stacktrace:
Thread 66880 (idle): "Thread-50"
    create_comm (cupyrepro.py:34)
    run (threading.py:865)
    _bootstrap_inner (threading.py:917)
    _bootstrap (threading.py:885)

C stacktrace:
#0  0x00007faddbdf87c7 in __libc_accept (fd=65, addr=..., len=0x7fadd29bc980) at ../sysdeps/unix/sysv/linux/accept.c:26
#1  0x00007fad7a251232 in ?? () from /usr/lib/x86_64-linux-gnu/libnccl.so.2
#2  0x00007fad7a23edcb in ?? () from /usr/lib/x86_64-linux-gnu/libnccl.so.2
#3  0x00007fad7a242460 in ?? () from /usr/lib/x86_64-linux-gnu/libnccl.so.2
#4  0x00007fad7a2430a0 in ?? () from /usr/lib/x86_64-linux-gnu/libnccl.so.2
#5  0x00007fad7a24331f in ncclCommInitRank () from /usr/lib/x86_64-linux-gnu/libnccl.so.2
#6  0x00007fad7d9449a3 in __pyx_pf_13cupy_backends_4cuda_4libs_4nccl_16NcclCommunicator_2__init__ (__pyx_v_rank=4, __pyx_v_commId=0x55a6b18db618, __pyx_v_ndev=14,
    __pyx_v_self=0x7fad76f318f0) at cupy_backends/cuda/libs/nccl.cpp:3806
#7  __pyx_pw_13cupy_backends_4cuda_4libs_4nccl_16NcclCommunicator_3__init__ (__pyx_v_self=0x7fad76f318f0, __pyx_args=<optimized out>, __pyx_kwds=<optimized out>)
    at cupy_backends/cuda/libs/nccl.cpp:3720
#8  0x000055a6aec429b8 in type_call (kwds=0x0, args=0x7fad76f45990, type=<optimized out>) at /tmp/build/80754af9/python_1553721932202/work/Objects/typeobject.c:949
#9  _PyObject_FastCallKeywords () at /tmp/build/80754af9/python_1553721932202/work/Objects/call.c:199
#10 0x000055a6aec9e7ae in call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>) at /tmp/build/80754af9/python_1553721932202/work/Python/ceval.c:4619
...

Because this patch changes things so that the GIL isn't held during ncclCommInitRank, other threads are able to progress and create their comms / comms creation actually happens in parallel and saves time.
Lmk if I was unclear about something or if the example in my previous message gives you different results :-)

Nice! understood now :) thanks!!!

pfnCI, test this please.

Jenkins CI test (for commit 8c3eddca3236153b0d819969d84df21c79bf3549, target branch master) succeeded!


Support grouping of pull requests

From @StephanBijzitter on November 20, 2017 12:19
Currently Dependabot creates one pull request per updated dependency, and while this is generally awesome, it is not always preferred.
For example, I would like to update React and React-DOM at the same time, but right now that means I have to merge Dependabot's pull request into another pull request by Dependabot.
I'd like to propose a mechanic similar to @dependabot rebase, where this is handled automatically for you. @dependabot group with #123 would open a new pull request which includes the changes of both the current pull request and pull request #123. This would also be very useful for @types/x dependencies.
Example:

PR #123 updates React - pull request fails
PR #124 updates React-DOM - pull request fails
user types @dependabot group with #123 on the #124 pull request
Dependabot opens PR #125 with updates for React and React-DOM - pull request succeeds
Dependabot closes #123 and #124

Optionally, dependabot could probably also remember which dependencies to group together.
Copied from original issue: dependabot/feedback#52

From @StephanBijzitter on November 20, 2017 13:3
Going to link a few issues together here:
This would resolve #5: Handle upgrades that require upgrading multiple dependencies at once
And would very likely lay the groundwork for #11: Option for single pull request per update (or that request lays the groundwork for this request, whichever you do first I guess)

That's a really nice idea - I'm totally behind that as a UI solution for this.
It'll need quite a bit of work on our backend (which currently assumes PR are for one dependency only) but we need to do that work anyway. Once it's done, I'll look at implementing this.
Thanks masses for the suggestion!

I'm sorry, I messed up. I thought it would be better to have feedback live on this repo, but I was wrong. I'm moving this back to a feedback repo, over at https://github.com/dependabot/feedback/issues. Sorry for the comment spam.


Web Unblocker is Not Working

Wsg Skyegames I used the unblocker in the proxey folder and it say you need to verify your account to wake the repl.

Yea, This is really only for me, because it's only active when I run it, and I don't have money to pay for Replit's 24/7 Runtime option. I've tried uptimerobot, and others but nothing will work.

Its alr bro just wanted to bring it to your attention if you didn't know


Reading data as a string

I have some input data in a spreadsheet. The column data is 694142.01
I have no control over the formatting as the spreadsheet is created by an external system. When I do reader.GetString(0) on that file is throws an exception "Unable to cast object of type 'System.Double' to type 'System.String'."
I don't really care that the data can be treated as a double. I want it as a string. Why does reading the data as a string cause it to throw an error?

Found this that solves this issue: https://github.com/ExcelDataReader/ExcelDataReader/issues/452

Found a workaround https://github.com/ExcelDataReader/ExcelDataReader/issues/452

It isn't solved, particularly for dates. For whatever reason the library decides to interpret strings as dates/numbers if possible. If I wanted to do that, I can trivially do it myself. What isn't trivial is getting the original raw representation.

The raw representation is a double.


Default Credentials (master, guest, rest)

Problem:
The Framework is delivered with default users (master:master, guest:guest, rest:rest).
This can lead to unprotected systems on the internet as Users might not take the time to set strong passwords. Especially the not well documented guest user could remain on systems.
Solution:
Disable all users besides master by default.
Deliver Framework without a master password and force user during setup to set a strong master password.

Already fixed in the SNAPSHOT version. No default users are created. The static user configuration is managed via the con file config/ogema.roles and user can be created dynamically via the frameworkadmin page.


Java jobs using ubuntu-latest get cancelled midway with no logs available

Description
The log just show  "The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.",and do not continue the work.
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions

Virtual environments affected

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
2.292.0
Is it regression?
no
Expected behavior
It should continue the gradle build and release the apk
Actual behavior
When I tried to build the app written by kotlin,it just throw the error "The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.",and it do not give a detailed log.
Here is the actions link
Repro steps
Just run the workflows

Hello @projectsal, could you provide the steps to reproduce please?

Hello @projectsal, could you provide the steps to reproduce please?

fill the release tag like 0.8.6,and the other three fill with y or just ignore,then click run the workflow,then it will always stop at the process of gradle build.

here is the workflow file
workflow

Hey @projectsal, could you please make sure your workflow is not draining the runner resources.

@projectsal closing the issue since we can't do anything more from our side. Please feel free to reopen if there is any new information we can help with.


Output in terminal ignores line/column numbers

VSCode Version: 1.10.2 (Commit 8076a19f)
OS Version: Windows 10 Enterprise v1607

Steps to Reproduce:

Run a js/ts file from terminal (press ctrl-') (in my case I ran using ts-node myfile.ts)
Throw an error
Click on one of the call stack lines

Expected

Editor window jumps to correct line number within file.

Actual

Editor window jumps to the top of the file.

When I hover over the line of the call stack, you can see that only the file is highlighted, not the line or column number (see underlined file):

Duplicate https://github.com/Microsoft/vscode/issues/21472


Update main.yml

Also, could you describe the change in your commit title and message? There is at least one main.yml per role, so we can't know which role is modified or why it is modified with the current commit message. It would be very helpful when looking at the git log.
eg.: Feat: Create the NFS directories to export
Thanks :)

Dear @sobrase ,
I honestly would prefer to skip directory creation on the nfs_server part. While I find it relevant in nfs_client part, I think it can be difficult to handle, or dangerous on the nfs_server part. At least, there must be a variable, false by default, to activate/deactivate this feature :-)
Ben

No activity, and still don't think creating directories automatically is a good idea on server side.
Closing.


Modify one individual row without recreating section

Given the example project I'm not sure on how to modify or append one individual row without recreating a whole section. Could you provide a simple example? Thanks

Ok, found the solution. I had to replace
self.sections.last!.items.append(newItem)
```
with

self.sections[lastSectionIndex].items.append(newItem)
because the `last` accessor returns an immutable value.


automating multiple idp applying scenarios

Test cases:

https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-64030
https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-66408

note - both of the tests are using oc login. when testing locally sometimes the tests passed and sometimes not,
this is something that still needs to be investigated in the future.

/test rosa-sts-private-critical-high-presubmit
/test rosa-sts-advanced-critical-high-presubmit

/test rosa-sts-private-critical-high-presubmit

/lgtm
/retest

/test rosa-sts-advanced-optional-critical-high-presubmit
/test rosa-sts-private-optional-critical-high-presubmit

/retest

/approve

/lgtm


ClearDefaultValue function work not correctly with Default value is uuid_generate_v1

When I'm working with postgresDB, i've set default value is uuid_generate_v1 up to my column . then I generate ORM.
[Actual]:  My column I set default value before didn't have in ORM generated.
[Expect]: it should have : defaultValue: Seq.UUIDV1

@PhiNguyen1991, please use pg-generator instead of this module as written in README.
Both sequelize-pg-generator and pg-generator does not generate default values well, because it is impossible to cover every case. (i.e. SQL functions or complex SQL syntax may be used in default values. They cannot be represented in JavaScript and ORMs.)
However, if you use pg-generator, you can modify template according to your needs and cover your use case for default values.

Hi @ozum , because my project are using sequelize-pg-generator,
So that, I use definition-files-custom for custom the ORM when it load.
ex: util.setDefaultValue('id', Seq.UUIDV1);
Thanks


Phone #58 [TGER-111]

#58

add Migration / Model for Phone

Note:
There is a format called E.164, varchar(15)
https://www.twilio.com/docs/glossary/what-e164
For Validation and Formatting, we can use Twilio if we use E.164
https://www.twilio.com/docs/lookup

I need to think about this model a little more and decide what all it needs. I'm still in the brainstorming phase on it.

added Models PhoneArea, CountryCallingcode
updated Model relationships

Note:
Model CountryCallingcode
$table->foreignIdFor(app('country')); // Some countries have more than one Calling Code
Instead of Country hasMany CountryCallingcode, I used CountryCallingcode hasMany Country, e.g. +1 for USA, Canada

I am adding these classes to the support config here:

https://github.com/tipoff/support/pull/99

@devjk1 It's the other way around from your comment:

Note:
Model CountryCallingcode
$table->foreignIdFor(app('country')); // Some countries have more than one Calling Code
Instead of Country hasMany CountryCallingcode, I used CountryCallingcode hasMany Country, e.g. +1 for USA, Canada

A country calling code can only belong to 1 country, but some countries have multiple country calling codes. List here:

https://en.wikipedia.org/wiki/List_of_country_calling_codes

Dominican Republic is an example.


Add setting to block hovers

Would completely change everything, and I kind of think this should be the default. Or maybe we limit the number of hovers?
Just dont want this to only be a hover to end lol mod.

Barg added this Zed will make it better


📄 Webhook guide #2: Auto-ReTrain

Heavily inspired by #627
Assets also need to be removed after merging

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Heavily inspired by #627
Assets also need to be removed after merging

Why not upload them to https://huggingface.co/datasets/huggingface/documentation-images ?

Yes will definitely do that @coyotte508 😄

The guide looks good! :)
Just to be sure, is it on purpose that the guide is not listed in _toctree.yml ? Or is it an omission ?

BTW @coyotte508 your assets in webhooks.md are still under https://s3.amazonaws.com/moonup :)


Fail to open ZED depth viewer on Win10

I installed the latest SDK 3.5.0 and I cannot run ZED depth viewer. No error, just nothing happened after I run the application.
Win 10, CUDA 10.2, RTX2080super

I tried the ZED diagnostic, everything was correct.

@SimonSongg can you please write an email to<EMAIL_ADDRESS>adding the report generated by the ZED Diagnostic tool as an attachment?

When I disconnect the wifi connection, I can open the depth viewer. Otherwise I can't open it.

@SimonSongg Have you sorted this issue? I have the same problem as you had.

If you are using an antivirus try to disable it.
Some kind of antivirus stop the ZED SDK if not correctly configured.


[GSoC2024] Add Cypress tests for counting annotations, labels, and issues in CVAT

Motivation and context
This pull request introduces Cypress tests for issue #4662 .
Describe what the tests cover:
-> Counting annotations created using specific shapes.
-> Verifying the number of labels displayed.
-> Simulating saving changes.
-> Creating and verifying the count of an issue for an annotation.
Checklist

[*] I submit my changes into the develop branch
[*] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[*] I have added tests to cover my changes
[*] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[*] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

Currently, the test case is failing


Feat/faucet tasks

This PR implements task events in faucet domain.
It removes the original isProcessing state in faucet store in favor of generic task management.

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: