Link update and navigation problem solved

solution to PR #28
please review my PR.
Video after updating the link
https://user-images.githubusercontent.com/95894045/193490877-e9967850-bc97-4bdf-8da4-6e7e296992fb.mp4

kindly review it.

Great work @thisisharsh7 , Thanks for Enhancing the User Experience for Internship page.
Happy Coding❤.


Add support for WalletConnect v2

follow-up to #451 to add back wallet-adapter-walletconnect. the WalletConnect code hit 2.0.0-rc1 recently, which i hope will lead to some stability here!
here's a demo video:
https://user-images.githubusercontent.com/1118534/183523644-1d86c631-23a9-4db4-a9a7-2f16a10096a9.mov
if you're building against this in a dApp, here's a working WCv2-enabled Solana wallet UI (devnet), and a demo dApp with wallet-adapter-walletconnect
this is a draft because i could use some feedback on:
the WalletConnect client has some functionality to remember previous "pairings"; this means folks don't need to scan their QRCode again until the session is manually disconnected from the dApp. surfacing this functionality in the wallet-adapter requires introduce (yet more) custom UI code that doesn't quite make sense to surface here. i know we already use @walletconnect/qrcode-modal but at least that's already packaged. i'm happy to ship this without the pairing UI and have follow-up code that handles the pairing part. high-level thoughts? should i yoink this into a separate repository altogether?
i already plan to fast-follow to make this a wallet-standard-compatible wallet, but want this in this repository first to make it easier for folks to begin integration work with WCv2
before landing...

[x] Remove changes to components/ContextProvider
[x] Verify the yarn.lock changes

/cc @AlexBHarley!

@jordansexton ready for another look... but don't look at this until next week :) enjoy your weekend!


Display stock empty image for cat profiles without an image

Currently there are no images displayed for new cats without pictures. We'd like to have an empty image placeholder. Likewise if an image is removed from a cat profile, we'd like to display a placeholder
Requires issue: https://github.com/Jr-14/cat-kit-web/issues/8

Duplicate of https://github.com/Jr-14/cat-kit-web/issues/8


mpvScripts.buildLua: Strip mpv- from pname when inferring scriptName

Description of changes
Under mpvScripts:

buildLua: strip mpv- and mpv_ from pname when inferring a script's name;
simplify mpv-playlistmanager, quality-menu and thumbfast as a result.

Things done

Built on platform(s)

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

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

Priorities
Add a :+1: reaction to pull requests you find important.

LGTM. The motivation to be (seemingly) inconsistent with the mpv[_-] prefix was, for me, to follow whatever the upstream packaged called itself, but I'm not against dropping it in all cases. The only issue I can see is if somebody makes an mpv script called e.g. playlistmanager, but I'm sure we can find another way to disambiguate in that case.

Ah I see now. My second point can be disregarded if pname does not change.


Ember cli upgrade

Lots of updates, including some refactoring using let. This fixes lots of 3.12 breakage in the library.

@jweakley and @Nathan-O re-req'd you guys for review, had a few more bug fixes


[Do not merge] This PR is only to test if current master passes on Android targets

This should be fixed by rust-lang/libc#713


[api-docs] Changelog: Clarification on Permission Splits for Expressions and Events (#6578)

A new commit was made into the api-docs repo: https://github.com/discord/discord-api-docs/commit/8d9f1fb17458f7372c1a2c6b029e397483c8be2f

Rollback previous perm split changelog

Add dev note to CREATE_GUILD_EXPRESSIONS and CREATE_EVENTS

This is a bot created issue.

This rollback a change to the permissions but it seems this only affects the fact that they are not given in the bitfield for the permissions


Extremely slow build times for gdscript_vm.cpp with MSVC and optimizations enabled

Godot version
4.2.dev (4714e95896c8db02616ea6ec7f9aff92dec1cae4)
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX Vega (Advanced Micro Devices, Inc.; 31.0.21023.2010) - AMD Ryzen 7 2700 Eight-Core Processor (16 Threads)
Issue description
MSVC (tested with VS 2022, but I believe VS 2019 behaves the same) takes an inordinate amount of time to compile two files in the current codebase, when optimizations are enabled:

core/variant/variant_call.cpp
modules/gdscript/gdscript_vm.cpp

This issue is about gdscript_vm.cpp, I'll open another one to track variant_call.cpp as the resolution for each may not be the same.
On my system, with VS 2022 17.6.5 (MSVC 14.36.32532), compiling gdscript_vm.cpp with the default /O2 optimization level (used when compiling without specifying a different optimization or dev_build value) takes more than 25 min (!). This is more than half of the total build time for the whole Godot codebase.
We need to figure out why MSVC struggles so much with that file, and how to improve this. It's very likely that we can at least gain an order of magnitude here - at least that should be the goal, because those build times are not acceptable (I'm on Linux 99% of the time, I don't know how MSVC users deal with this on a daily basis...).
The GDScript VM is known to be a pretty heavy file with a massive switch for all opcodes. GCC/Clang do a good job at optimizing it, so good that it's one of the reasons why our official Windows builds are made with MinGW-GCC - it makes the GDScript VM 20% faster. I believe @RandomShaper has been looking into ways to get a similar performance gain with MSVC, using some undocumented MSVC builtins. This is about runtime performance, but if we're lucky this may also help with build time.
This can be debugged by compiling only the gdscript_vm.cpp file on the command line with cl.exe. You can do a build with scons p=windows target=editor verbose=yes to see what the command line would be, abort the build, remove the gdscript_vm.*.obj file, and run the command manually. Here's what I have:
"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\cl.exe" /Fomodules\gdscript\gdscript_vm.windows.editor.x86_64.obj /c modules\gdscript\gdscript_vm.cpp /TP /std:c++17 /nologo /MT /Gd /GR /utf-8 /bigobj /O2 /W4 /wd4100 /wd4127 /wd4201 /wd4244 /wd4245 /wd4267 /wd4305 /wd4514 /wd4714 /wd4820 /EHsc /WX /DTOOLS_ENABLED /DDEBUG_ENABLED /DNDEBUG /DNO_EDITOR_SPLASH /DWINDOWS_ENABLED /DWASAPI_ENABLED /DWINMIDI_ENABLED /DTYPED_METHOD_BIND /DWIN32 /DMSVC /DWINVER=0x0601 /D_WIN32_WINNT=0x0601 /DNOMINMAX /D_WIN64 /DVULKAN_ENABLED /DGLES3_ENABLED /DMINIZIP_ENABLED /DBROTLI_ENABLED /DZSTD_STATIC_LINKING_ONLY /DUSE_VOLK /DVK_USE_PLATFORM_WIN32_KHR /DGLAD_ENABLED /DGLES_OVER_GL /DTESTS_ENABLED /Ithirdparty\libpng /Ithirdparty\glad /Ithirdparty\volk /Ithirdparty\vulkan /Ithirdparty\vulkan\include /Ithirdparty\zstd /Ithirdparty\zlib /Ithirdparty\brotli\include /Iplatform\windows /I.

(Actually I used dev_mode=yes instead of verbose=yes, so it also enabled warnings=extra instead of the default warnings=all. This may negatively impact build time, I'll do another round of tests with just scons p=windows target=editor verbose=yes.)
The optimization flag is /O2, and can be replaced with other values for testing.
I did some comparisons with different optimization levels:
# `O2` (`optimize=speed` or `optimize=speed_trace`)
25m19.63s

# `O1` (`optimize=size`)
29m45.63s

# `Od` (`optimize=none` or `optimize=debug`)
2.93s

Steps to reproduce
Compile gdscript_vm.cpp with /O2 using MSVC, either with:

scons p=windows target=editor (full engine build)
cl /Fomodules\gdscript\gdscript_vm.windows.editor.x86_64.obj /c modules\gdscript\gdscript_vm.cpp /TP /std:c++17 /nologo /MT /Gd /GR /utf-8 /bigobj /O2 /W3 /w34458 /wd4100 /wd4127 /wd4201 /wd4244 /wd4245 /wd4267 /wd4305 /wd4514 /wd4714 /wd4820 /EHsc /DTOOLS_ENABLED /DDEBUG_ENABLED /DNDEBUG /DNO_EDITOR_SPLASH /DWINDOWS_ENABLED /DWASAPI_ENABLED /DWINMIDI_ENABLED /DTYPED_METHOD_BIND /DWIN32 /DMSVC /DWINVER=0x0601 /D_WIN32_WINNT=0x0601 /DNOMINMAX /D_WIN64 /DVULKAN_ENABLED /DGLES3_ENABLED /DMINIZIP_ENABLED /DBROTLI_ENABLED /DZSTD_STATIC_LINKING_ONLY /DUSE_VOLK /DVK_USE_PLATFORM_WIN32_KHR /DGLAD_ENABLED /DGLES_OVER_GL /Ithirdparty\libpng /Ithirdparty\glad /Ithirdparty\volk /Ithirdparty\vulkan /Ithirdparty\vulkan\include /Ithirdparty\zstd /Ithirdparty\zlib /Ithirdparty\brotli\include /Iplatform\windows /I.

This compiles only gdscript_vm.cpp so it's faster / more focused, won't have you mislead thinking it's the linking step taking forever. You can change /O2 for /Od to compare what it would be like with optimization off, and add/remove any flag which may have an impact on this build step.
Remove modules\gdscript\gdscript_vm.windows.editor.x86_64.obj between tests to always ensure you're rebuilding that file.

Minimal reproduction project
n/a

So the biggest contributor to that egregiously slow build time seems to actually be the warning flags.
My results above were with /W4 (warnings=extra), and the default is /W3 (warnings=all), which should be a bit faster but still very slow.
When compiling without warning flags (warnings=no), it's much faster:
# `O2` (`optimize=speed` or `optimize=speed_trace`)
1m49.69s

# `O1` (`optimize=size`)
1m59.86s

# `Od` (`optimize=none` or `optimize=debug`)
2.40s

Most likely the issue with core/variant/variant_call.cpp is similar, I'll test that next.

Did some more testing with core/variant/variant_call.cpp, and I noticed that servers/text/text_server_extension.cpp is also somewhat slow to build with warnings. Here are my test results.
core/variant/variant_call.cpp
# `O2` and `warnings=all`
10m22.13s

# `O2` and `warnings=no`
1m24.02s

# `Od` and `warnings=all`
8.07s

# `Od` and `warnings=no`
7.01s

servers/text/text_server_extension.cpp
# `O2` and `warnings=all`
59.03s

# `O2` and `warnings=no`
19.17s

# `Od` and `warnings=all`
2.15s

# `Od` and `warnings=no`
1.98s

Not as bad as gdscript_vm.cpp and variant_call.cpp, but it shows that in general warnings + optimization increases build time drastically.

Having both warnings and optimizations enabled is valuable as a lot of warnings are only raised/found when optimizations are enabled, so we'll have to see what's the right tradeoff.
We can try to find out what are the most egregious cases (like gdscript_vm.cpp and variant_call.cpp) and selectively force warnings off on those files when using MSVC + optimizations.
Or we could consider defaulting to warnings=no for MSVC when not using dev mode.
Either way, defaulting to warnings=no when production=yes is used would probably make sense.

So my above analysis is slightly misleading, as I wasn't actually testing with warnings=no, but with removing these flags from the command line, which are all added in the SConstruct section which handles warnings for MSVC:
/W3 /w34458 /wd4100 /wd4127 /wd4201 /wd4244 /wd4245 /wd4267 /wd4305 /wd4514 /wd4714 /wd4820 /EHsc

And the flag which causes this massive build performance issue is actually not /W3, but /EHsc, which is set to silence this kind of warning emitted by thirdparty code:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\vector(1137): error C2220: the following warning is treated as an error
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\vector(1241): note: see reference to function template instantiation 'void std::vector<T,glslang::pool_allocator<T>>::_Insert_counted_range<glslang::TArraySize*>(std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>,_Iter,const unsigned __int64)' being compiled
        with
        [
            T=glslang::TArraySize,
            _Ty=glslang::TArraySize,
            _Iter=glslang::TArraySize *
        ]
D:\Dev\Godot\godot\thirdparty\glslang\glslang\Include\arrays.h(138): note: see reference to function template instantiation 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>> std::vector<_Ty,glslang::pool_allocator<T>>::insert<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>,0>(std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>,_Iter,_Iter)' being compiled
        with
        [
            _Ty=glslang::TArraySize,
            T=glslang::TArraySize,
            _Iter=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<glslang::TArraySize>>>
        ]
D:\Dev\Godot\godot\thirdparty\glslang\glslang\Include\arrays.h(138): note: see the first reference to 'std::vector<T,glslang::pool_allocator<T>>::insert' in 'glslang::TSmallArrayVector::push_back'
        with
        [
            T=glslang::TArraySize
        ]
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\vector(1137): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc

We can't specify /EHsc only for building the thirdparty code, because the warnings are also raised by our module code that makes use of those thirdparty headers.
After discussing with @bruvzg, I'm testing how it goes if we remove /EHsc, and simply silence C4530, with the following patch:
diff --git a/SConstruct b/SConstruct
index<PHONE_NUMBER>..7c6a4ed45f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -734,14 +734,12 @@ if selected_platform in platform_list:
                     "/wd4267",
                     "/wd4305",  # C4305 (truncation): double to float or real_t, too hard to avoid.
                     "/wd4514",  # C4514 (unreferenced inline function has been removed)
+                    "/wd4530",  # C4530 (C++ exception handler used without unwind semantics)
                     "/wd4714",  # C4714 (function marked as __forceinline not inlined)
                     "/wd4820",  # C4820 (padding added after construct)
                 ]
             )

-        # Set exception handling model to avoid warnings caused by Windows system headers.
-        env.Append(CCFLAGS=["/EHsc"])
-
         if env["werror"]:
             env.Append(CCFLAGS=["/WX"])
     else:  # GCC, Clang
diff --git a/methods.py b/methods.py
index 571a3f739e..99eedbf266 100644
--- a/methods.py
+++ b/methods.py
@@ -123,7 +123,7 @@ def disable_warnings(self):
         self["CCFLAGS"] = [x for x in self["CCFLAGS"] if not (x.startswith("/W") or x.startswith("/w"))]
         self["CFLAGS"] = [x for x in self["CFLAGS"] if not (x.startswith("/W") or x.startswith("/w"))]
         self["CXXFLAGS"] = [x for x in self["CXXFLAGS"] if not (x.startswith("/W") or x.startswith("/w"))]
-        self.AppendUnique(CCFLAGS=["/w"])
+        self.AppendUnique(CCFLAGS=["/w", "/wd4530"]) # Silence "C++ exception handler used without unwind semantics"
     else:
         self.AppendUnique(CCFLAGS=["-w"])

I don't know all the implications of the /EH flag, so this might need further review/discussion.
https://learn.microsoft.com/en-us/cpp/build/reference/eh-exception-handling-model?view=msvc-170

Test result:
# Clean Godot build with `/O2`, `warnings=all`, and `/EHsc`
35m   (didn't note down the precise number with seconds and too lazy to redo it)

# Clean Godot build with `/O2`, `warnings=all`, and `/wd4530`
15m57.171s

I'm just a random passerby, but I'm skeptical that globally disabling exception handling is the right fix, considering that the warning you're silencing indicates that your dependencies use exceptions.
You might be able to fix this by adding noexcept specifiers to functions that do not throw exceptions. It probably makes sense to focus on functions defined in or called by the slow file, gdscript_vm.cpp. https://en.cppreference.com/w/cpp/language/noexcept_spec


Any pending updates to comply with canada.ca style guide for form (not interface)

document summary

only pending item is color: required label should be #d3080c. Currently it is #b91c1c.


Turn DevAuthBackend on by default in dev env

Turn DevAuthBackend on by default on localhost/devlogin url and localhost/login url provide prominent login.
Fixes #3652

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

This looks pretty good; a few suggested tweaks:

Fix the settings not being right in development.
The Zulip logout URL (which basically uses Django's logout_then_login) takes you to /login, not /devlogin.
I think we should just enable EmailBackend for now, since the others require secret keys to work (see #3651)

@timabbott I think now it's ready for merge.

Merged, thanks @sinwar!  I tweaked the comments a bit and added a link back to the original login page in 3d3f9bc58eea0c7a8654c39cd3ddf411d7d65da0 so that it's more discoverable.


Fred sees OK button when open a modal

https://www.pivotaltracker.com/story/show/132098159

On it.


Maven wiki snippet missing

See https://github.com/uber/NullAway/wiki/Configuration#maven
      </plugin>
  </build>

should be:
       </plugin>
+    </plugins>
   </build>

Good catch! Should be fixed now.
As the song goes... "CS will make each day a quest to find a missing close-paren." 😅


Bug: AI and Machine Learning logo is not displaying in current interest

Describe the bug
In the user profile the AI and Machine Learning logo is not displaying in current interest section
you can check it out here
https://insights.opensauced.pizza/user/dev-phantom/highlights
here is a screenshot:

Steps to reproduce

go to https://insights.opensauced.pizza/
click on the github profile picure dropdown
navigate to your account profile
scroll down to current interest
see error

Browsers
Chrome
Additional context (Is this in dev or production?)
No response
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

This is happening due to not having a logo to that category, since both of them are using a placeholder:
https://insights.opensauced.pizza/ML/dashboard/filter/recent
https://insights.opensauced.pizza/react/dashboard/filter/recent
The src of the image is not being loaded, I think adding a default placeholder would solve the issue:

After a quick check, I found the next;
This is related to this code:
https://github.com/open-sauced/insights/blob/68f66a70bef124ceecb3f2ee0952b366e208578b/components/atoms/LanguagePill/LanguagePill.tsx#L6-L7
and this line:
https://github.com/open-sauced/insights/blob/68f66a70bef124ceecb3f2ee0952b366e208578b/components/atoms/LanguagePill/LanguagePill.tsx#L75
The issue were introduced at this PR:
https://github.com/open-sauced/insights/pull/1010/files?diff=split&w=1
One of the things it would worth to checked is writing the topic in lowercase letters, and fixing the link issue in the ML path.

Thank you for this issue!

Is anyone working on it?

Is anyone working on it?

Nope
Feel free to take on this issue

@anubhav1206 feel free to work on it.
Removing the extra slash would solve the issue:
https://github.com/open-sauced/insights/blob/9563116227f74c44b9cc2de729f1039190db9558/components/atoms/LanguagePill/LanguagePill.tsx#L7

@anubhav1206 feel free to work on it. Removing the extra slash would solve the issue:
https://github.com/open-sauced/insights/blob/9563116227f74c44b9cc2de729f1039190db9558/components/atoms/LanguagePill/LanguagePill.tsx#L7

sure thanks

I'm still able to reproduce this error

It works well on other people profile
@a0m0rajab can you reproduce this issue on your own end?

@dev-phantom  I checked my own profile: https://deploy-preview-1474--oss-insights.netlify.app/user/a0m0rajab/highlights and it worked with me,

I think there is another issue here that's related to backend, when I click on ML from your profile I got this link
https://deploy-preview-1474--oss-insights.netlify.app/ML/dashboard/filter/recent yet when I click on the one on my profile I got this link: https://deploy-preview-1474--oss-insights.netlify.app/ml/dashboard/filter/recent
You can see the ML one of them is small letters and the other is capital letters, can you update the interests in your profile and test again?

@dev-phantom I checked my own profile: https://deploy-preview-1474--oss-insights.netlify.app/user/a0m0rajab/highlights and it worked with me,
I think there is another issue here that's related to backend, when I click on ML from your profile I got this link https://deploy-preview-1474--oss-insights.netlify.app/ML/dashboard/filter/recent yet when I click on the one on my profile I got this link: https://deploy-preview-1474--oss-insights.netlify.app/ml/dashboard/filter/recent
You can see the ML one of them is small letters and the other is capital letters, can you update the interests in your profile and test again?

After updating it I get this

Now the issue is how do I remove the previous ML and AI

That's a good question! can you open a new issue for that? the new issue is out of scope of this issue.
it would be great to close this and track it there.

That's a good question! can you open a new issue for that? the new issue is out of scope of this issue. it would be great to close this and track it there.
Note: closing this issue since it's resolved and we got a new issue right now.

I don't think there's a need for that since I'm the only one that can reproduce this

I think it would be nice to have it as a trigger/warning to be consistent in these things, I can have reproduce it on your account.

Even if it's not solved it would be archived as in a searchable approach.

Even if it's not solved it would be archived as in a searchable approach.

To be honest I really don't know what to put in the issue template cause that's what I've added here it will look like I'm creating a duplicate issue


[ci] Move R Windows CI to GitHub Actions

This PR addresses https://github.com/microsoft/LightGBM/pull/3065#pullrequestreview-429217760, moving all Windows R CI jobs to GitHub Actions.
Why this is important
This should reduce the total runtime of CI for this project. GitHub Actions allows 20 concurrent builds...AppVeyor (which we currently use) allows 1 😬
While testing on my fork, I found that thanks to this concurrency, all 12 jobs for R run in 12-13 minutes!!!

As of this PR, we will have four R Windows jobs all in GitHub Actions:

R 4.0 + MSYS2 toolchain
R 4.0 + Visual Studio 2019
R 3.6 + MINGW toolchain
R 3.6 + Visual Studio 2017

You can see the full details of software versions for the GitHub Actions environments here.
What I Changed
We didn't move R jobs into GitHub Actions in #3119 because of the issues with Powershell jobs on GitHub Actions (https://github.community/t/powershell-steps-fail-nondeterministically/115496) / Powershell itself (https://github.com/PowerShell/PowerShell/issues/12823).
R, Rscript, and initexmf all produce harmless messages to stderr, which could trigger the issues linked above. I tried many approaches to fix this, including:

redirecting to $null
setting $ErrorActionPreference = "SilentlyContinue"
using -ErrorAction flag
piping to Out-Null with |
piping to Out-String with |
redirecting to a file

None of these approaches worked, but the one in this PR did: calling these commands with R and using R's built-in redirection, sink().

@jameslamb Very strange error at master r-package (windows-2016, MSVC, R 3.6):
2020-06-22T20:39:00.9756578Z Downloading R and Rtools
2020-06-22T20:39:01.0197729Z Downloading https://cloud.r-project.org/bin/windows/base/old/3.6.3/R-3.6.3-win.exe
2020-06-22T20:39:07.7544683Z Downloading https://cloud.r-project.org/bin/windows/Rtools/Rtools35.exe
2020-06-22T20:39:17.8466524Z Installing R
2020-06-22T20:39:54.6747608Z Done installing R
2020-06-22T20:39:54.6748751Z Installing Rtools
2020-06-22T20:40:39.7710780Z Done installing Rtools
2020-06-22T20:40:39.7712023Z Installing dependencies
2020-06-22T20:40:43.0911257Z package 'callr' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.1132167Z package 'prettyunits' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.1380186Z package 'backports' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.1600585Z package 'assertthat' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.1874920Z package 'glue' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.2174329Z package 'fansi' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.2429247Z package 'desc' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.2662949Z package 'pkgbuild' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.2903885Z package 'rprojroot' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.3226199Z package 'rstudioapi' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.3549368Z package 'ps' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.3881218Z package 'cli' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.4292255Z package 'crayon' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.4636846Z package 'digest' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.4783234Z package 'ellipsis' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.5258321Z package 'evaluate' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.5506307Z package 'magrittr' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.5764769Z package 'pkgload' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.5961975Z package 'praise' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.6386148Z package 'rlang' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.6659431Z package 'withr' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.7596015Z package 'data.table' successfully unpacked and MD5 sums checked
2020-06-22T20:40:43.8169609Z package 'jsonlite' successfully unpacked and MD5 sums checked
2020-06-22T20:40:44.1616615Z package 'Matrix' successfully unpacked and MD5 sums checked
2020-06-22T20:40:44.1981826Z package 'processx' successfully unpacked and MD5 sums checked
2020-06-22T20:40:44.2213825Z package 'R6' successfully unpacked and MD5 sums checked
2020-06-22T20:40:44.2953141Z package 'testthat' successfully unpacked and MD5 sums checked
2020-06-22T20:40:44.2992830Z
2020-06-22T20:40:44.2993625Z The downloaded binary packages are in
2020-06-22T20:40:44.2993977Z 	C:\Users\runneradmin\AppData\Local\Temp\RtmpgNi5C6\downloaded_packages
2020-06-22T20:40:44.3519903Z Building R package
2020-06-22T20:40:58.0415255Z ----- build and install logs -----
2020-06-22T20:40:58.0506063Z * checking for file 'D:/a/LightGBM/LightGBM/lightgbm_r/DESCRIPTION' ... OK
2020-06-22T20:40:58.0506283Z
2020-06-22T20:40:58.0506432Z * preparing 'lightgbm':
2020-06-22T20:40:58.0506821Z
2020-06-22T20:40:58.0506993Z * checking DESCRIPTION meta-information ... OK
2020-06-22T20:40:58.0507164Z
2020-06-22T20:40:58.0507639Z * cleaning src
2020-06-22T20:40:58.0507745Z
2020-06-22T20:40:58.0507902Z * checking for LF line-endings in source and make files and shell scripts
2020-06-22T20:40:58.0507981Z
2020-06-22T20:40:58.0508163Z * checking for empty or unneeded directories
2020-06-22T20:40:58.0508228Z
2020-06-22T20:40:58.0508377Z WARNING: directory 'lightgbm/src/compute/test' is empty
2020-06-22T20:40:58.0508510Z
2020-06-22T20:40:58.0508660Z * looking to see if a 'data/datalist' file should be added
2020-06-22T20:40:58.0508731Z
2020-06-22T20:40:58.0508877Z * building 'lightgbm_2.3.2.tar.gz'
2020-06-22T20:40:58.0508941Z
2020-06-22T20:40:58.0509033Z
2020-06-22T20:40:58.0509084Z
2020-06-22T20:40:58.0509306Z * installing to library 'd:/a/LightGBM/LightGBM/RLibrary'
2020-06-22T20:40:58.0509418Z
2020-06-22T20:40:58.0509520Z * installing *source* package 'lightgbm' ...
2020-06-22T20:40:58.0509627Z
2020-06-22T20:40:58.0509767Z ** using staged installation
2020-06-22T20:40:58.0509827Z
2020-06-22T20:40:58.0509973Z ** libs
2020-06-22T20:40:58.0510027Z
2020-06-22T20:40:58.0510218Z       1 [main] make (856) d:\a\LightGBM\LightGBM\RLibrary\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xF35410/0xE55410.
2020-06-22T20:40:58.0510430Z This problem is probably due to using incompatible versions of the cygwin DLL.
2020-06-22T20:40:58.0510610Z Search for cygwin1.dll using the Windows Start->Find/Search facility
2020-06-22T20:40:58.0512177Z and delete all but the most recent version.  The most recent version *should*
2020-06-22T20:40:58.0512409Z reside in x:\cygwin\bin, where 'x' is the drive on which you have
2020-06-22T20:40:58.0512585Z installed the cygwin distribution.  Rebooting is also suggested if you
2020-06-22T20:40:58.0512745Z are unable to find another cygwin DLL.
2020-06-22T20:40:58.0512948Z       1 [main] make 3824 fork: child -1 - forked process 856 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
2020-06-22T20:40:58.0513149Z make: d:/a/LightGBM/LightGBM/RLibrary/R/share/make/winshlib.mk:13: fork: Resource temporarily unavailable
2020-06-22T20:40:58.0513364Z       1 [main] make (140) d:\a\LightGBM\LightGBM\RLibrary\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xF35410/0xF15410.
2020-06-22T20:40:58.0513595Z This problem is probably due to using incompatible versions of the cygwin DLL.
2020-06-22T20:40:58.0513771Z Search for cygwin1.dll using the Windows Start->Find/Search facility
2020-06-22T20:40:58.0513951Z and delete all but the most recent version.  The most recent version *should*
2020-06-22T20:40:58.0514247Z reside in x:\cygwin\bin, where 'x' is the drive on which you have
2020-06-22T20:40:58.0514422Z installed the cygwin distribution.  Rebooting is also suggested if you
2020-06-22T20:40:58.0514587Z are unable to find another cygwin DLL.
2020-06-22T20:40:58.0514783Z   34110 [main] make 3824 fork: child -1 - forked process 140 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
2020-06-22T20:40:58.0514984Z make: d:/a/LightGBM/LightGBM/RLibrary/R/share/make/winshlib.mk:13: fork: Resource temporarily unavailable
2020-06-22T20:40:58.0515203Z       1 [main] make (520) d:\a\LightGBM\LightGBM\RLibrary\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xF35410/0x1085410.
2020-06-22T20:40:58.0515407Z This problem is probably due to using incompatible versions of the cygwin DLL.
2020-06-22T20:40:58.0515540Z Search for cygwin1.dll using the Windows Start->Find/Search facility
2020-06-22T20:40:58.0515718Z and delete all but the most recent version.  The most recent version *should*
2020-06-22T20:40:58.0515899Z reside in x:\cygwin\bin, where 'x' is the drive on which you have
2020-06-22T20:40:58.0516074Z installed the cygwin distribution.  Rebooting is also suggested if you
2020-06-22T20:40:58.0516232Z are unable to find another cygwin DLL.
2020-06-22T20:40:58.0516423Z   66502 [main] make 3824 fork: child -1 - forked process 520 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
2020-06-22T20:40:58.0516623Z make: d:/a/LightGBM/LightGBM/RLibrary/R/share/make/winshlib.mk:13: fork: Resource temporarily unavailable
2020-06-22T20:40:58.0516836Z       1 [main] make (2348) d:\a\LightGBM\LightGBM\RLibrary\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xF35410/0xF15410.
2020-06-22T20:40:58.0517033Z This problem is probably due to using incompatible versions of the cygwin DLL.
2020-06-22T20:40:58.0517205Z Search for cygwin1.dll using the Windows Start->Find/Search facility
2020-06-22T20:40:58.0517341Z and delete all but the most recent version.  The most recent version *should*
2020-06-22T20:40:58.0517515Z reside in x:\cygwin\bin, where 'x' is the drive on which you have
2020-06-22T20:40:58.0517684Z installed the cygwin distribution.  Rebooting is also suggested if you
2020-06-22T20:40:58.0517841Z are unable to find another cygwin DLL.
2020-06-22T20:40:58.0518030Z   98870 [main] make 3824 fork: child -1 - forked process 2348 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
2020-06-22T20:40:58.0518203Z make: fork: Resource temporarily unavailable
2020-06-22T20:40:58.0518357Z ERROR: compilation failed for package 'lightgbm'
2020-06-22T20:40:58.0518427Z
2020-06-22T20:40:58.0518578Z * removing 'd:/a/LightGBM/LightGBM/RLibrary/lightgbm'
2020-06-22T20:40:58.0518683Z
2020-06-22T20:40:58.0518894Z ----- end of build and install logs -----
2020-06-22T20:40:58.0610797Z The wrong compiler was used. Check the build logs.
2020-06-22T20:40:58.1127926Z ##[error]Process completed with exit code -1.

:scream: I have never seen that one!


geom_ribbon doesn't work as fluently as it is in R

I'm trying to plot something like this:
http://www.ats.ucla.edu/stat/r/seminars/ggplot2_intro/figures/ggplot2-b18-1.png
However, when using geom_ribbon in python, the aes color can only process something like 'r' or (1,0,0)
Using column name just return:
ValueError: to_rgba: Invalid rgba arg "arrow"
to_rgb: Invalid rgb arg "arrow"
could not convert string to float: 'arrow'
p.s. Here 'arrow' is one of the elements under the column
As it work fluently in ggplot command like: ggplot(aes(x='Time', y='Mean', color='Face|Arrow')), I don't know which part just fails to handle the geom_ribbon
Is there any solution?

the link is broken. Can you provide full and formated code?

Hi, DSLituiev. Thanks for your reply.
So sorry I'll be busy these two days, and I'll provide code later.
About the link, I don't know why but would you please copy and paste the url, and then it should be fine.
TTYL

For now, please use fill in the ggplot(aes(..., fill="column"))

Hi, DsLituiev. Sorry for replying late.
Thank you for your advice and updating the code.
Unfortunately, the problem remains after I adding your code to geom_ribbon.py
I have a piece of pandas data like:

Time
Face_Arrow
Mean
Sem
Mean_Minus_Sem
Mean_Plus_Sem

0
-1000.0
arrow
0.032725
0.007988
0.024737
0.040713

1
-1000.0
face
0.033514
0.007876
0.025639
0.041390

2
-999.0
arrow
0.033031
0.008034
0.024997
0.041064

3
-999.0
face
0.033200
0.007856
0.025344
0.041056

4
-998.0
arrow
0.033280
0.008066
0.025214
0.041347

and I want to plot two separate lines for arrow and face (of the 'Mean' column with area contain Mean ± Sem)
However, as the code
ggplot(aes(x='Time', y='Mean', color='Face_Arrow'), data=dfTemp2) + geom_point()
works properly,
after adding geom_ribbon
ggplot(aes(x='Time', y='Mean', color='Face_Arrow'), data=dfTemp2) + geom_point() + geom_ribbon(aes(ymin='Mean_Minus_Sem', ymax='Mean_Plus_Sem'), fill='Face_Arrow', alpha=0.2)
only returned the arrow points without any area.
Also, saving the plot raise
ValueError: to_rgba: Invalid rgba arg "f"
to_rgb: Invalid rgb arg "f"
could not convert string to float: 'f'
After I transferred the data to R, the similar code worked properly. So I'm not sure, but there still might be some bugs in geom_ribbon.py or elsewhere.

As said, try using fill='Face_Arrow', not in geom_ribbon, but in ggplot:
TESTDATA ="""	Time	Face_Arrow	Mean	Sem	Mean_Minus_Sem	Mean_Plus_Sem
0	-1000.0	arrow	0.032725	0.007988	0.024737	0.040713
1	-1000.0	face	0.033514	0.007876	0.025639	0.041390
2	-999.0	arrow	0.033031	0.008034	0.024997	0.041064
3	-999.0	face	0.033200	0.007856	0.025344	0.041056
4	-998.0	arrow	0.033280	0.008066	0.025214	0.041347
"""

import sys
if sys.version_info[0] < 3:
    from StringIO import StringIO
else:
    from io import StringIO

import pandas as pd

TESTDATA=StringIO(TESTDATA)

df = pd.read_csv(TESTDATA, sep="\t", index_col=0)
from ggplot import geom_point, geom_ribbon
ggplot(aes(x='Time', y='Mean', color='Face_Arrow', fill='Face_Arrow'), data=df) + geom_point() + geom_ribbon(aes(ymin='Mean_Minus_Sem', ymax='Mean_Plus_Sem'),  alpha=0.2)

Oh, I see. Sorry for the misunderstanding.
Yes, it's good now.
Thanks and finger crossed for your work!


Fix sign/transfer test on zemu

It is not working right now. It is not running the signing algorithm. It is only taking screenshoots and comparing them.

@emmanuelm41  is this still relevant? This issue should already be fixed. Please check latest release.

Cryptographic functions take a really LONG time to be executed in Zemu. We will update Zemu test to run this in CI but it is working if you wait long enough


Source control repo overview not displaying everything

Type: Bug
I've updated to the latest release. Since then the source control view is only showing a message box and commit button. Not the name of the repo or even other repo's that should be opened.
When opening another repo the view does show the open repo and the newly open repo, but still not the other repo's that should've been detected. When opening a repo that should've been automatically detected nothing changes. The broken source control stays the same.
Specific settings that apply to this behaviour:
    "git.ignoredRepositories": [
        "/Users/sennejanssens/Documents/GitHub/sennejan.github.io",
        "/Users/sennejanssens/Documents/GitHub/lefky.github.io",
        "davinsilabs_sa-hexagonviz",
        "davinsilabs_sa-timelineviz"
    ],
    "git.scanRepositories": [
        "TMS/tms-ucl",
        "TMS/splunk-tms",
        "splunk-id870433"
    ],

VS Code version: Code 1.77.1 (Universal) (b7886d7461186a5eac768481578c1d7ca80e2d21, 2023-04-04T23:23:33.779Z)
OS version: Darwin arm64 22.4.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.10GB free)

Process Argv
--crash-reporter-id 4c766144-8a53-4191-b173-dfc65ba3543c

Screen Reader
no

VM
0%

Extensions (15)

Extension
Author (truncated)
Version

vscode-splunk-search-linter
arc
0.5.0

vscode-splunk-search-syntax
arc
1.5.3

autofoldyeah
bob
1.0.6

transformer
dak
1.12.1

vscode-eslint
dba
2.4.0

gitlens
eam
13.4.0

gc-excelviewer
Gra
4.2.57

git-graph
mhu
1.30.0

remote-ssh
ms-
0.98.0

remote-ssh-edit
ms-
0.84.0

remote-explorer
ms-
0.4.0

vscode-commons
red
0.0.6

vscode-yaml
red
1.12.2

markdown-preview-enhanced
shd
0.6.8

splunk
Spl
0.2.10

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
6233i204:30672705
functionswalk:30687959
pythonms35:30701012

Update:
Disabling git.scanRepositories seems to restore the default behaviour although no updates were of this were mentioned in the release notes as I recall?
The functionality of that setting is obviously unusable for now.

Have seen the Source Control -> View & Sort -> Repositories flag list?

It would be cool to be able to manage the visible repos through the workspace settings json file.
In its current state this flag list is quite unmanageable. It just displays the root folder name where the repo is residing. In my case I generally call this root folder main as a subfolder of an umbrella folder where I put feature branches as sibling folders.
c:\work\git\reponame
|--- main
|--- 202304-featurebranch1
|--- 202304-featurebranch2

@cveld, please feel free to file a separate issue to track your feature request. Thanks!

@Lefky, this does seem like a bug and I would like to get to the bottom of this. Would it be possible for you to create a simplified repro case where you use 2 or 3 repositories to illustrate the issue? Thank you!

@Lefky, this does seem like a bug and I would like to get to the bottom of this. Would it be possible for you to create a simplified repro case where you use 2 or 3 repositories to illustrate the issue? Thank you!

Hi
Well I don't actually know what more info I can provide.
The exact steps would be:

Create a workspace on a folder containing a few repo's and have a subdirectory containing also a few repo's
Like in my example ignore some repo's in the root folder and scan some repo's in the subdirectory
The expected result would be the scanned repo's from the subdirectory to show in the source control panel together with the not ignored repo's from de root folder
In my case the ignored repo's seem to actually be ignored but the scanned repo's don't match. I get a repo that isn't even selected and in a different subdirectory from anything that has been defined. From the selected repo's to scan only 1 is shown (always the same one and seems to be the first one when sorted alphabetically).

Would this be enough info?

@Lefky, apologies for not getting back to you on this until now. Apart from the settings that you have already shared, I would appreciate if you would be able to provide the values of the following settings: git.repositoryScanMaxDepth, git.autoRepositoryDetection. Could you also please provide a screenshot of the folder structure highlighting the folders that contain git repositories.
The fact that disabling git.scanRepositories resolves the issue clearly indicates that this is a potential regression and I would like to make sure that I am getting to the bottom of it. Thank you!

@lszomoru To be honest, I don't think I have encountered the issue after a few releases later.
At the moment everything seems to be working as expected.
This is the requested info:
└── bitbucket
    ├── SPLAAS
    │   ├── splunk-enterprise
    │   └── splunk-kvstore-sync
    ├── SRE
    │   ├── ansible-collection-base
    │   ├── ansible-collection-bitbucket
    │   ├── ansible-collection-cribl
    │   ├── ansible-collection-dnsmasq
    │   ├── ansible-collection-insightvm
    │   ├── ansible-collection-other
    │   ├── ansible-collection-packaging
    │   ├── ansible-collection-redis
    │   ├── ansible-collection-scp
    │   ├── ansible-collection-splunk
    │   ├── ansible-collection-syslogng
    │   ├── ansible-collection-telegraf
    │   ├── ansible-collection-unbound
    │   ├── ansible-playbooks
    │   ├── ansible-playbooks-aap
    │   ├── ansible-playbooks-aws
    │   ├── ansible-playbooks-bitbucket
    │   ├── ansible-playbooks-dpg
    │   ├── ansible-role-bckp
    │   ├── ansible-role-haproxy
    │   ├── ansible-role-naviseccli
    │   ├── ansible-testing
    │   ├── base-testing
    │   ├── confluence-docs
    │   ├── cribl-testing
    │   ├── dsi-splunk-sdk
    │   ├── splunk-box-cleanup
    │   ├── splunk-build
    │   ├── splunk-testing
    │   └── tms-ucl-testing
    ├── TMS
    │   ├── splunk-ais
    │   ├── splunk-asset-reporting
    │   ├── splunk-itsi
    │   ├── splunk-platforminsights
    │   ├── splunk-tms
    │   ├── splunk-tms-forwarding
    │   └── tms-ucl
    ├── davinsilabs_sa-ais_app
    ├── davinsilabs_sa-ais_root_cause_viz
    ├── davinsilabs_sa-ais_service_focus_viz
    ├── davinsilabs_sa-ais_service_impact_viz
    ├── davinsilabs_sa-hexagonviz
    ├── davinsilabs_sa-timelineviz
    ├── splunk-id870433
    └── splunk-id870433-8604dc

@Lefky, thank you very much for the update. I will go ahead and close this issue for now, but please feel free to reopen it in case you are able to reproduce the issue again. Thanks!


Make integrity setting settable

Local Bootstrap sometimes fails to work because integrity attribute is always set.
Solution: move INTEGRITY to settings (css_integrity js_integrity, theme_integrity) and only set attribute if it is set.

Another problem. Users setting local Bootstrap URL's would have to manually turn off integrity. This is causing confusion even in our own team. So turning ON integrity should be an explicit choice, but obvious if you use external URL.

@mfcovington @Alex131089 I'm considering rolling back subresource integrity for now, because it's causing problems for people that use local static files for Bootstrap.
The solutions I can think of right now all require programmers taking lots of action to work around subresource integrity. I'd rather take it out and think of a good solution than spend 2-3 minor releases working out the kinks. We just didn't see the problems with local static files when accepting these pull requests.
Any insights welcome.

Our (@zostera) own projects are having problems with 8.0.0 because of integrity and local data, so I'm heavily leaning towards rolling this back ASAP, and wait for a better solution.

Done

See #355 for the continuing story.


Docker container on Synology keeps crashing

Hi,
I only just found out about RHEOS and the possibility of running it on my Synology NAS... I managed to download the image via Container Manager and start it up with all setting on default (I created a shared folder Docker with a subfolder RHEOS).
Roon discovers the extension correctly but before I get the chance to configure it the container keeps crashing (log attached).
Unfortunately my knowledge in this area is quite rudimentary so I hope you can nudge me in the right direction.
I use a Synology DS423+ running DSM 7.2.1-69057 Update 4  and I'm trying to discover my new Marantz Stereo 70s.
KInd regards,
Matt
rheos-roon-extension-rheos-1.csv

Please take a look at the community discussion.
Please share how you are running this on the Synology - which I don't officially support but others are using successfully.
Making sure you use network:host is key.
https://community.roonlabs.com/t/roon-extension-rheos-2-way-control-192hz-24bit-playback-and-grouping-on-denon-marantz-heos-devices-now-in-extension-manager/224846/1417?u=peter_richardson


missing Implementation for subscriptions mocking

Hi,
Now that subscriptions are supported (Thanks guys!! :))
we need to make it work with mocking.

Should be really simple, right? The Subscription type is just a regular GraphQL type like Query. Or do we need something special I'm missing?

@stubailo we need to think about it more deeply as mocking only 1 value for subscription doesn't really gives the ability to test subscriptions.
because there is going to be more then one value i think we need to do some special handling here.

I think it's fine not to mock subscriptions for the time being, because their execution is still separate from queries and mutations. If it's necessary to mock them, I think that is something that graphql-subscriptions or an associated package could provide.


Move PPO balancer to its own repository

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 95.427%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
313

Relevant Lines:
328

💛  - Coveralls


Add try catch blocks to pinecone index deletion

Add try catch blocks to pinecone index deletion

The issue is about adding try-catch blocks to the Pinecone index deletion process. This is to ensure that any errors that occur during the deletion process are properly caught and handled, preventing the program from crashing unexpectedly.
The relevant file for this issue is llama_index/vector_stores/pinecone.py. This file contains the PineconeVectorStore class, which has a delete method. This method is responsible for deleting nodes from the Pinecone index.
Here is the current implementation of the delete method:
def delete(self, ref_doc_id: str, **delete_kwargs: Any) -> None:
    """
    Delete nodes using with ref_doc_id.

    Args:
        ref_doc_id (str): The doc_id of the document to delete.

    """
    # delete by filtering on the doc_id metadata
    self._pinecone_index.delete(
        filter={"doc_id": {"$eq": ref_doc_id}},
        namespace=self.namespace,
        **delete_kwargs,
    )

As you can see, there are currently no try-catch blocks in this method. If an error occurs during the deletion process (for example, if the ref_doc_id does not exist in the index), the program will crash.
To address this issue, we can add a try-catch block around the deletion operation. If an error occurs, we can log the error message and optionally re-raise the error to be handled by the calling code.
Here is a proposed modification to the delete method:
def delete(self, ref_doc_id: str, **delete_kwargs: Any) -> None:
    """
    Delete nodes using with ref_doc_id.

    Args:
        ref_doc_id (str): The doc_id of the document to delete.

    """
    try:
        # delete by filtering on the doc_id metadata
        self._pinecone_index.delete(
            filter={"doc_id": {"$eq": ref_doc_id}},
            namespace=self.namespace,
            **delete_kwargs,
        )
    except Exception as e:
        _logger.error(f"Failed to delete document with id {ref_doc_id}: {str(e)}")
        raise

In this modification, if the deletion operation fails, the error message is logged and the error is re-raised. This allows the calling code to handle the error in a way that is appropriate for the specific context in which the delete method is being used.


Kadane’s Algorithm

Description
Write an efficient program to find the sum of contiguous subarray within a one-dimensional array of numbers that has the largest sum.
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

"/assign"


vv

Hello, I am currently learning how to use CS2 map parsing on kmbox, but I have read very little of the code you provided. I am a beginner in map parsing, do you have Discord? I would like to add your Discord to ask you some questions

As I mentioned in my README.md, "For information regarding the Map Parser, please refer to https://github.com/atombottle/cs2-map-parser." You can consult the map-parser, and then you should be able to figure it out.

As I said, I am a beginner,

I can pay you!

Are you looking to use my project or do you want to implement the map parser into your own project? In fact, using the map parser is quite straightforward; it simply analyzes the map and checks if two coordinates are obstructed by buildings. The code is clearly written out.
BTW, I have been studying Java recently and don't have the energy to provide further guidance.

I just want to know how to connect to an example of kmbox, such as how to send a move, connect, and then determine if vpk matches the enemy coordinates, which is false. But my biggest problem now is whether kmbox can integrate with this map analysis.

These features are already included in my code, and KmBox has nothing to do with whether the map parser can be received or not; it is merely a keyboard and mouse controller. You only need to make cover judgements in the aimbot and then call KmBox to use the aimbot functions.

u can dm me discord:cheems5566

So which one is the main call for map parsing

Something happened just now, I have already added you. Could you please agree


Styles not displaying after deploy

Problem
I've deployed my theme using yarn deploy, but the styles are not being display on the page. All the styles show up during local development with yarn start, but they do not appear after deploy (while previewing the theme).
Replication steps

yarn deploy
View Shopify store preview

More Information

Slate v1.0x

I do not get any browser console errors. Looking inside of the html <head> I can see the <link> element with an href attribute to the layout.theme.css file stored on the Shopify CDN. I've even visited the link to the CSS file and all the CSS declarations I wrote in my Sass files are found in the CSS file.
For some reason the stylesheet is just not applying styles to the html 🤔
For what it's worth here is the <link> element I'm talking about:
<link rel="prefetch" href="//cdn.shopify.com/s/files/1/2486/4986/t/2/assets/layout.theme.css?4955788339739835475" as="style">

I think this was recently updated in the start template

Ah, it looks like it has been updated! Thanks for pointing that out.

omg I was pulling my hair out because of this. Thanks so much for the update!

@lmartins Me too! Pretty major change passing the variable in, you would think the main theme stylesheet would have been included by default...

The Skeleton theme https://github.com/Shopify/skeleton-theme and Starter theme https://github.com/Shopify/starter-theme both mention the following.

Starter Theme and Slate v1 are currently in beta! You should expect potentially breaking changes between updates and more bugs than a finalized release. Slate v1.0 has not yet been tested on Windows.

I would be checking the commits in those themes until slate is out of beta.


Sieve support

Please add sieve support to manage the sieve filters on imap servers.

SIEVE support has been requested before - http://code.google.com/p/k9mail/issues/detail?id=451 and mentioned in #148 and discussed here: https://groups.google.com/forum/#!topic/k-9-notifications/gv6NxIdB4sA
The priority has always been low because it wasn't widely deployed. Is this something you are using a self-hosted email solution or has a provider picked it up?
Personally I'm disappointed that no email provider has tried to support a standardised way of doing this and there are lots of custom implementations, mostly not exposed to remote clients.

Much needed feature to me, as I am building a self hosting replacement of google services.

See https://github.com/k9mail/k-9/commit/b526d16a20cdd4bb17393cc5d3b77a274ef1518f for a very small step towards implementing this (namely creating the store). There's still acres of code you'd have to implement - lots of FilterStore actions, screens to build filters and so on.
A nice first step would be to contribute towards: https://github.com/Moosemorals/ManageSieveJ
For example changing it into a multi-module plugin and publishing a 'managesievej-core' module would be a good start so we could use it directly. There's a few other tweaks I had to make to get it to work. It might be nice if you could more easily handle the TLS usage too.
I don't have a SIEVE supporting server right now, so I can't really do much more than the commit I attached.  It is not a difficult thing to do.
Poke me (S[r]us) on IRC if you need help.

I'll try and look at setting one up this week. The easiest way to deploy it is probably to fire up my Linux box and deploy a local mail server rather than get it going on my over-worked laptop (which is my main development machine - currently in https://xkcd.com/349/ state).
Here's the work I can see so far (on top of what I have).

Implementing the LocalFilterStore
Implementing List-Get-Put-Delete-SetActive commands.
Some kind of view to list scripts (with a flag next to the active one).
Implementing some of kind of SIEVE writing tool. It's probable this will use Sieve-In-XML - the library above includes conversion to XML.

Ideally I don't want to tie it too closely to SIEVE to allow for other protocols (e.g. EWS Inbox Rules) to work in the same fashion. But there's no common script format (like MIME for email) so I'll probably stick to Sieve-In-XML internally and expect other stuff to be converted and from it. XML is readable and easily parsable so it seems like a good choice.
Either way, it's a sizeable chunk of work.

Hi. How did this evolve? Did the sharks eat some commits? :-D

Wow few years, but I'm heavily interested in this. I self-host and would be nice to interface my sieve filters directly in K9

I've recently moved to migadu who support sieve via ManageSieve

https://wiki1.dovecot.org/ManageSieve
https://doc.dovecot.org/admin_manual/pigeonhole_managesieve_server/

ManageSieve is a standard protocol, so users can manage their scripts using (hopefully) user-friendly ManageSieve clients. Many webmails already include a ManageSieve client.

Could K-9 Mail gain support for ManageSieve?

mailbox.org also supports this
https://kb.mailbox.org/service-desk/e-mail-article/can-i-use-sieve-mail-filtering
Would be nice to be able to add new rules from K-9 directly.


Sparse and dense embeddings and other feature from the Python lib ?

Hello,
Is an update will be pushed to be as powerful as the Python version ?
Thanks for considering ! :)

Not planned as such.


fix: check for error when deleting tkn prs

Signed-off-by: ankitm123<EMAIL_ADDRESS>

/hold

│ {"level":"warning","msg":"pipelinerun platform-cluster-pr-1992-verify-ftvpv not found, skipping","time":"2021-11-02T15:27:59Z"}                                                                                │
│ {"level":"info","msg":"deleting PipelineRun platform-cluster-pr-1992-verify-ftvpv","time":"2021-11-02T15:27:59Z"}                                                                                │
│ error: pipelineruns.tekton.dev "platform-cluster-pr-1992-verify-ftvpv" not found

Since we dont return error in the step before, just log it, it may be required to check for error.

/lgtm


fix: davidiseminger author metadata

MS alias used instead of GH one

@nschonni : Thanks for your contribution! The author, @davidiseminger, has been notified to review your proposed change.


Use a hazelcast queue to schedule builds

To prevent a single build from being taken by multiple instances.
Not prioritized, as there's a pretty slim chance of it actually happening when only running a few instances.

Using a Lock for now, a queue should be faster and more reliable - but for this use case not necessary.


Unable to packaging models when AML workspace enabled managed outbound access

[Enter feedback here]
When our workspace is in a VNET, we can't specify the copy mode in the model configuration.
If there are any limitations, please add them to the documentation(in step 1: how to specify the copy mode for the model configuration).
Below is the test result:
model_configuration=ModelConfiguration(mode="copy")
error: HttpResponseError: (UserError) Request is invalid and/or missing fields. Code: UserError Message: Request is invalid and/or missing fields. Exception Details: (RequestInvalid) The value provided is not a valid enum value. Field: modelConfiguration.mode. Allowed values: ReadOnlyMount,Download. Code: RequestInvalid Message: The value provided is not a valid enum value. Field: modelConfiguration.mode. Allowed values: ReadOnlyMount,Download. Additional Information:Type: ComponentName Info: { 'value': 'managementfrontend' }Type: Correlation Info: { 'value': { 'operation': '1ca518e0735d06e4433924631216bf69', 'request': '07546ed78159ec57' } }Type: Environment Info: { 'value': 'australiaeast' }Type: Location Info: { 'value': 'australiaeast' }Type: Time Info: { 'value': '2023-12-18T23:00:06.3914536+00:00' }Type: InnerError Info: { 'value': { 'code': 'RequestInvalid', 'innerError': null } }Type: MessageFormat Info: { 'value': 'Request is invalid and/or missing fields.' }
model_configuration=ModelConfiguration(mode="ReadOnlyMount")
error:HttpResponseError: (UserError) The request is invalid. Code: UserError Message: The request is invalid. Exception Details: (PackageVnetModelModeFailure) Mode for ModelConfiguration must be Download when using PL/Managed Vnet. Code: PackageVnetModelModeFailure Message: Mode for ModelConfiguration must be Download when using PL/Managed Vnet. Additional Information:Type: ComponentName Info: { 'value': 'managementfrontend' }Type: Correlation Info: { 'value': { 'operation': '79b30c4295d99ac74da3edcffbadc296', 'request': '1b7f7d2ebaaf0ef9' } }Type: Environment Info: { 'value': 'australiaeast' }Type: Location Info: { 'value': 'australiaeast' }Type: Time Info: { 'value': '2023-12-18T23:06:38.0842918+00:00' }
model_configuration=ModelConfiguration(mode="download")
Successful

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 742d6e4d-84be-1ed5-adfd-99d413a0b877
Version Independent ID: 19316df4-de58-d505-185a-94667cc53135
Content: Package and deploy models outside Azure Machine Learning (preview) - Azure Machine Learning
Content Source: articles/machine-learning/how-to-package-models-app-service.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @santiagxf
Microsoft Alias: fasantia

@yongzhaoyz
Thanks for your feedback! We will investigate and update as appropriate.

Hi @yongzhaoyz. Thanks for reaching out about this issue and providing feedback. Unfortunately, we don't support the copy mode when the workspace is under a private network by the time being. I will add this note to the documentation. Wondering if you can perform this operation on a workspace that is configured public?

Hi @santiagxf. On a workspace that is configured public, we get the same error with copy, but it works fine with ReadOnlyMount.

Thanks for the update. Indeed, copy and download are the right values and I see the documentation updated correctly. However, still copy is only supported in public workspaces by the time being. Glad to hear you sort it out! Let us know if you have any feedback about the package functionality and what's your opinion on how we should shape its future. We are eager to learn from your experience.

@yongzhaoyz
We are going to close this thread .if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Add FRC example to Container Example App

Summary of Changes
Replaces NSFetchedResultsController usage with our FetchedResultsController in the Container Example app.

Restarting build after it failed to run any tests due to the Xcode Rube Goldberg machine ("Early unexpected exit, operation never finished bootstrapping - no restart will be attempted").


Navigation text background not correctly set on larger screens

Screen titles looks normal at devices with smaller screens, like iPhone 5. But on other devices with larger screens, such as iPhone 6s, they look like a white block with missing text content. I am guessing that this must be related to a background color value not set correctly.
Issue is not specific to my customization, it also appear the same with the current repo. I checked several screens, storyboards with Xcode but couldn't find the exact location for the setting causing this.

Hi, Ali. Thanks for your feedback.
Our QA team have checked this. They can't reproduce this issue. Can you provide more details to us for further investigation? What xCode version do you use.  This issue appears with english version?

Hi @Vov4yk,
My Xcode version is 9.0 (9A235), and yes, the iOS11 appears to be specifically affected with the issue.
I have managed to find a workaround but, since I'm not a C programmer, didn't create a PR. A change in the UIConstants.h line #8 fixes the problem for me:
#ifndef DrupalCon_UIConstants_h
#define DrupalCon_UIConstants_h

#define NAV_BAR_TITLE_ATTRIBUTES                                           \
  [NSDictionary dictionaryWithObjectsAndKeys:                              \
                    [UIColor whiteColor], NSForegroundColorAttributeName,  \
                    [DCAppConfiguration eventDetailHeaderColour], NSBackgroundColorAttributeName,  \
                    [UIFont fontWithName:kFontOpenSansBold size:17], \
                    NSFontAttributeName, nil]

#endif

Hi @alikuru.
Yes, you are right, the problem is in UIConstants.h line #8. Changing NSBackgroundColorAttributeName to  [DCAppConfiguration eventDetailHeaderColour] or [UIColor clearColor] fixes the problem.


When I pan around the map, the camera snaps back to the plane.

Is there any way to add functionality where you can pan around the map without it snapping back to the plane. It'd be cool to zoom in and look around the area.
Thanks so much, I love the app!

@aqua5am you can click on the plane and then click the 'don't follow plane' button. OR you can toggle between follow and not follow with the ESC key.

@lian Oh that's perfect! Thank you so much :)


[Publisher] Improve resources tab to assign scopes to a resource

Description:

Implement UI feature to add scopes to an API

Implement UI feature to assign above-created scope for that API

Following is how it works in 2.2.x

This has been implemented for APIM 3.0.0 Publisher UI

Scope create UI

Scope listing page with scope edit, scope delete functionality

Scope assign view


Welcome to contribute

You can leave a link in the comments below if you have found some project not in the list. I will add it to the main list.
Comment sample:

name: QGIS
website: https://qgis.org
short description: A cross-platform free and open-source desktop GIS software.
category: Geographic Information System Software.

If the content was added to the master branch, a 😄 emoji will be show below.

name: solaris
website: https://github.com/CosmiQ/solaris
short description: CosmiQ Works Geospatial Machine Learning Analysis Toolkit
category: Deep Learning Framework for Geospatial , python

name: https://pygeoapi.io/
website: https://pygeoapi.io/
short description: a Python server implementation of the OGC API suite of standards.
category: python

name: geonode
website: http://geonode.org/
short description: Open Source Geospatial Content Management System
category: web service

#65

name: Unearth
website: https://unearthlabs.com/
short description: A simple, cloud-based GIS mapping platform designed for data and workflow management
category: Geographic information system software

@morgansullivan I suppose it should belong to SaaS

name: terracotta
website: https://github.com/DHI-GRAS/terracotta
short description: A light-weight, versatile XYZ tile server, built with Flask and Rasterio.
category: Python

name: geowave
website: https://locationtech.github.io/geowave/
short description: GeoWave is a software library that connects the scalability of distributed computing frameworks and key/value stores with modern geospatial software to store, retrieve and analyze massive geospatial datasets.
category: java or Spatial Database

name: Lets-Plot (Python)
website: https://github.com/JetBrains/lets-plot/blob/master/README_PYTHON.md
short description: An open-source, ggplot2-style plotting library for statistical data, supporting GeoPandas, interactive maps and geocoding
category: python

name: Lets-Plot (Kotlin)
website: https://github.com/JetBrains/lets-plot-kotlin/blob/master/README.md
short description: An open-source, ggplot2-style plotting library which includes a support of  GeoToos features and geometries.
category: Kotlin

name: modape
website: https://github.com/WFP-VAM/modape
short description: The MODIS Assimilation and Processing Engine combines a state-of-the art Whittaker smoother with a HDF5 based processing chain for downloading and processing MODIS data.
category: Python

name: vam.whittaker
website: https://github.com/WFP-VAM/vam.whittaker
short description: State-of-the art Whittaker smoother to filter atmospheric noise in remote-sensing data (used in modape)
category: Python

name: minemap.js
website: https://www.minedata.cn/support/index
short description: A web-based 3D rendering engine based on webgl
category: JavaScript

name: srai
website: https://github.com/kraina-ai/srai
short description: Spatial Representations for Artificial Intelligence. Set of tools for geospatial machine learning.
category: Python

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
smallpotato000, @vishallamba1988, @schoolex, @Watch996878, @0xSector, @kamalinux, @why2pac, @albieduffy, @Tarunadityaselva, @alexkorol, @CocoaPriest, @igx-C, @tspannhw, @noushkia, @James-Gilbert-, @MFrank2016, @gallottohugo, @Payden1224, @lenartowski, @Chas989x

name: SamGIS
website: https://github.com/trincadev/samgis-be
short description: Image Segmentation LLM-based (Segment Anything by Meta - Facebook) applied to GIS and geo data (there is also a SPA frontend similar to https://github.com/trincadev/samgis-fe used on HuggingFace). Online HuggingFace demo
category: python

Name: Galileo
Website: https://galileo.gisdata.io/
Short Description: Geospatial data discovery and management platform. Advanced filtering, spatial search, and Data Downloading!
Category: Data or Data List


Clean up build warnings on M1 devices

Building MoltenVK on an M1 machine seems to spit out warnings of the type:
objc[51715]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x2031b0188) and ?? (0x11826c2b8). One of the two will be used. Which one is undefined.
objc[51715]: Class AMSupportURLSession is implemented in both ?? (0x2031b01d8) and ?? (0x11826c308). One of the two will be used. Which one is undefined.

The build succeeds, but removing this warning logging noise would be helpful.

I think this is a bug in Xcode on M1.

I think this is a bug in Xcode on M1.

Yup. I looked into it. It's emanating directly from xcodebuild and is unrelated to the project. A simple xcodebuild -help triggers it.
Not much to be done beyond jumping through some creative grep hoops on the output. It's not causing trouble, so I'm going to leave it for Apple to clean up at their leisure.

Huh. On 11.3, I actually see which are the two modules. They're /usr/lib/libauthinstall.dylib and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice. Both AMFI-related, I assume. I'll file a feedback for this. Maybe now that the two modules can be identified, they can actually fix this now.

Facing same issue on m1 pro
Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x21ae86be0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104204318). One of the two will be used. Which one is undefined.   Tried with updating my react version to 64.1 and 'Flipper' => '0.74.0', 'Flipper-Folly' => '2.5.3'  on ios 15.2. Also tried erasing on emulator but no success.


Tests for chamber array fun

Design tests for the version of chamber that takes in arrays as inputs.

Initial thoughts:

[ ] Generate output for two runs using the scalar version of chamber for two different sets of inputs
[ ] Use build array inputs from the set of inputs used to generate the test output
[ ] Check output files are created
[ ] Compare output files from array version against results from scalar version

@cpaniaguam Here are updates based on your comment:
https://github.com/brown-ccv/Chamber.jl/commit/ed83774331ca236ef9efb2f0c17f89c97c9edeb4

Initial thoughts:

[ ]  Generate output for two runs using the scalar version of chamber for two different sets of inputs
[ ]  Use build array inputs from the set of inputs used to generate the test output
[ ]  Check output files are created
[ ]  Compare output files from array version against results from scalar version


Support encrypting user password with ed25519 SSH keys

Hello,
When attempting to encrypt a user password with an Ed25519 SSH public key, we encountered the following error in the startup log:
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init [-] plugin 'SetUserPasswordPlugin' failed with error 'Invalid SSH key': cloudbaseinit.utils.crypt.CryptException: Invalid SSH key
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init [-] Invalid SSH key: cloudbaseinit.utils.crypt.CryptException: Invalid SSH key
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init Traceback (most recent call last):
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py", line 67, in _exec_plugin
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init     shared_data)
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\setuserpassword.py", line 131, in execute
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init     self._set_metadata_password(password, service)
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\setuserpassword.py", line 64, in _set_metadata_password
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init     user_pwd_encryption_key, password)
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\setuserpassword.py", line 35, in _encrypt_password
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init     with cm.load_ssh_rsa_public_key(ssh_pub_key) as rsa:
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\crypt.py", line 173, in load_ssh_rsa_public_key
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init     raise CryptException('Invalid SSH key')
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init cloudbaseinit.utils.crypt.CryptException: Invalid SSH key
2024-02-14 13:50:30.467 5192 ERROR cloudbaseinit.init

I believe the problem stems from the cryptography library used to encrypt passwords (in cloudbaseinit/utils/crypt.py), which does not support encryption methods for elliptic key formats (like Ed25519).
Are there any plans to add support for these formats in the future?
Thank you.
Do you plan in future adding support for theses format ?

Hello, the RSA backend implementation has the encrypt function in python cryptography https://github.com/pyca/cryptography/blob/main/src/rust/src/backend/rsa.rs#L446, whereas the Ed25519 does not https://github.com/pyca/cryptography/blob/main/src/rust/src/backend/ed25519.rs#L120.
More investigation is required to see how to implement this in a safe way. From the literature, the Ed25519 keys are used primarly for signing, not for encryption/decryption.
One way would be similar to this https://stackoverflow.com/questions/65684414/how-to-use-ssh-keygen-ed25519-keys-for-encryption-in-python.
@kallioli can you please provide the broader context for the feature and a decryption workflow that you are already using to make sure the Python implementation is compatible for encryption?
Thank you,
Adrian Vladu

I am having the same issue using ECDSA with a curve P384


AMBARI-25156. /var/log/messages gets filled with unhandled Python exception

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/5490/
Test PASSed.


feat: add json to csv helper function

Please ensure your pull request adheres to the following guidelines:

[ ] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
https://github.com/adobe/spacecat-api-service/issues/210
https://github.com/adobe/spacecat-api-service/pull/214
Thanks for contributing!

🆒 Wdyt about using in the test a JSON that contains different types of values, e.g. object, array, number, Boolean, or null? It'd be good to see, with not additional configuration, what the output would be, so we know to use it in other areas where not all field values are strings.

Good point, thought about it but decided not to do it as it should be already tested in the library. But didn't think about usage examples, will add it 👍


Building Scrypt fails on Node 12

With Node 12, the underlying scrypt package fails to build. I was going to post my issue there, but that package's README states that it is a deprecated module and recommends other alternatives.
Being that this current repo depends on scrypt so heavily, I figured it'd make the most sense to post an issue here.
Do note that I have tried this with Node 11 and it built just fine.
How to test
Run the following under Node v12:

Start new project: npm init -y
Run npm install scrypt.js

Notice that scrypt fails to build.
Full log dump
➜  npm install scrypt.js

><EMAIL_ADDRESS>preinstall /Users/adrianli/dev/temp/node_modules/scrypt
> node node-scrypt-preinstall.js

><EMAIL_ADDRESS>install /Users/adrianli/dev/temp/node_modules/scrypt
> node-gyp rebuild

  SOLINK_MODULE(target) Release/copied_files.node
  CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o
  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
  LIBTOOL-STATIC Release/scrypt_wrapper.a
  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o
  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o
  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o
  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o
  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o
  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o
  LIBTOOL-STATIC Release/scrypt_lib.a
  CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o
  CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
../src/node-boilerplate/inc/scrypt_common.h:39:14: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
      N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
             ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
../src/node-boilerplate/inc/scrypt_common.h:39:63: error: too few arguments to function call, single argument 'context' was not specified
      N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
../src/node-boilerplate/inc/scrypt_common.h:40:14: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
      r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
             ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
../src/node-boilerplate/inc/scrypt_common.h:40:63: error: too few arguments to function call, single argument 'context' was not specified
      r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
../src/node-boilerplate/inc/scrypt_common.h:41:14: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
      p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
             ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:3412:3: note: 'Get' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
../src/node-boilerplate/inc/scrypt_common.h:41:63: error: too few arguments to function call, single argument 'context' was not specified
      p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
../src/node-boilerplate/inc/scrypt_async.h:53:17: warning: 'Call' is deprecated [-Wdeprecated-declarations]
      callback->Call(1, argv);
                ^
../../nan/nan.h:1673:3: note: 'Call' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
../../nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
../src/node-boilerplate/inc/scrypt_params_async.h:35:36: error: too few arguments to function call, single argument 'context' was not specified
      maxtime(info[0]->NumberValue()),
              ~~~~~~~~~~~~~~~~~~~~ ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:2564:3: note: 'NumberValue' declared here
  V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
../src/node-boilerplate/inc/scrypt_params_async.h:36:39: error: too few arguments to function call, single argument 'context' was not specified
      maxmemfrac(info[1]->NumberValue()),
                 ~~~~~~~~~~~~~~~~~~~~ ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:2564:3: note: 'NumberValue' declared here
  V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
../src/node-boilerplate/inc/scrypt_params_async.h:37:36: error: too few arguments to function call, single argument 'context' was not specified
      maxmem(info[2]->IntegerValue()),
             ~~~~~~~~~~~~~~~~~~~~~ ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:2565:3: note: 'IntegerValue' declared here
  V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
../src/node-boilerplate/inc/scrypt_params_async.h:38:39: error: too few arguments to function call, single argument 'context' was not specified
      osfreemem(info[3]->IntegerValue())
                ~~~~~~~~~~~~~~~~~~~~~ ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:2565:3: note: 'IntegerValue' declared here
  V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/node-boilerplate/scrypt_params_async.cc:23:8: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  obj->Set(Nan::New("N").ToLocalChecked(), Nan::New<Integer>(logN));
       ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/node-boilerplate/scrypt_params_async.cc:24:8: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  obj->Set(Nan::New("r").ToLocalChecked(), Nan::New<Integer>(r));
       ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/node-boilerplate/scrypt_params_async.cc:25:8: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  obj->Set(Nan::New("p").ToLocalChecked(), Nan::New<Integer>(p));
       ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/adrianli/.node-gyp/12.2.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/node-boilerplate/scrypt_params_async.cc:32:13: warning: 'Call' is deprecated [-Wdeprecated-declarations]
  callback->Call(2, argv);
            ^
../../nan/nan.h:1673:3: note: 'Call' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
../../nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
8 warnings and 7 errors generated.
make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/adrianli/n/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:196:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/Users/adrianli/n/bin/node" "/Users/adrianli/n/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/adrianli/dev/temp/node_modules/scrypt
gyp ERR! node -v v12.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/scrypt):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+<EMAIL_ADDRESS>added 12 packages from 6 contributors and audited 66 packages in 9.464s
found 0 vulnerabilities

I have contacted the author and this package is no longer maintained.

@ellis2323 So it should be marked as deprecated with suggested alternatives.

@filips123 Yes, sure but i'm not the author.

Note that scrypt is available in Node 10.x. No need to use a package:
https://nodejs.org/en/blog/release/v10.5.0/

Problem is that this package is currently used by many other packages. It should probably be updated to only use wrapper around Node.js 10 scrypt functions if they are available.

Is there a maintainer here ?

Please do a 1.x release of scrypt.JS with code as-is. Anyone that depends on<EMAIL_ADDRESS>will never see 0.3.0 because ^ doesn't update with 0.x versions, only works with 1.x.x and above.

@axic another option that might help speed up adoption of 0.3.0 would be to deprecate 0.2.0. It would still be installable, but the deprecation warnings might inspire packages to upgrade. Low cost but would help a lot.

typical abandonware, very cool!

is there anybody out there....


Cannot run systembridge at all

Description
After installing the deb version (3.8.2) i tried calling systembridge from the cli,
I can only run it as a sudo user, and it crush when i try to run it with gui
What Platform / OS are you running?
Linux
What version are you running?
3.8.2
Anything in the logs or a references that might be useful?
Exception in thread Thread-5 (_start_gui_sync):
Traceback (most recent call last):
  File "threading.py", line 1038, in _bootstrap_inner
  File "threading.py", line 975, in run
  File "systembridgebackend/gui.py", line 143, in _start_gui_sync
  File "asyncio/runners.py", line 190, in run
  File "asyncio/runners.py", line 118, in run
  File "asyncio/base_events.py", line 653, in run_until_complete
  File "systembridgebackend/gui.py", line 73, in _start
  File "systembridgeshared/websocket_client.py", line 149, in connect
  File "aiohttp/client.py", line 779, in _ws_connect
  File "aiohttp/client.py", line 536, in _request
  File "aiohttp/connector.py", line 540, in connect
  File "aiohttp/connector.py", line 901, in _create_connection
  File "aiohttp/connector.py", line 1155, in _create_direct_connection
  File "aiohttp/connector.py", line 874, in _resolve_host
  File "aiohttp/resolver.py", line 33, in resolve
  File "asyncio/base_events.py", line 867, in getaddrinfo
  File "asyncio/base_events.py", line 829, in run_in_executor
  File "concurrent/futures/thread.py", line 169, in submit
RuntimeError: cannot schedule new futures after interpreter shutdown
2023-09-21 19:07:15 ERROR (Thread-2) [asyncio] Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f458df696d0>
2023-09-21 19:07:16 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Refresh data by module: sensors
2023-09-21 19:07:16 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Data changed for module: sensors
2023-09-21 19:07:16 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Refresh data by module: display
2023-09-21 19:07:16 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Data changed for module: display
2023-09-21 19:07:16 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Refresh data by module: gpu
2023-09-21 19:07:16 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Data changed for module: gpu
2023-09-21 19:07:25 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Refresh data by module: cpu
2023-09-21 19:07:25 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Data changed for module: cpu
2023-09-21 19:07:25 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Refresh data by module: memory
2023-09-21 19:07:25 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Data changed for module: memory
2023-09-21 19:07:25 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Refresh data by module: network
2023-09-21 19:07:25 INFO (Thread-3) [systembridgebackend.modules.listeners.Listeners] Data changed for module: network
2023-09-21 19:07:25 INFO (Thread-3) [systembridgebackend.modules.update.Update] Finished updating frequent data
2023-09-21 19:07:29 INFO (Thread-2) [systembridgebackend.modules.system.System] Get latest version from GitHub
2023-09-21 19:07:29 INFO (Thread-2) [systembridgebackend.modules.listeners.Listeners] Refresh data by module: battery
2023-09-21 19:07:29 INFO (Thread-2) [systembridgebackend.modules.listeners.Listeners] Data changed for module: battery
2023-09-21 19:07:29 INFO (Thread-2) [systembridgebackend.modules.listeners.Listeners] Refresh data by module: disk
2023-09-21 19:07:29 INFO (Thread-2) [systembridgebackend.modules.listeners.Listeners] Data changed for module: disk
2023-09-21 19:07:29 ERROR (Thread-2) [systembridgebackend.modules.system.System] Unexpected error getting data from GitHub: Unexpected exception for 'https://api.github.com/repos/timmo001/system-bridge/releases' with - cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
  File "aiogithubapi/client.py", line 138, in async_call_api
  File "aiohttp/client.py", line 536, in _request
  File "aiohttp/connector.py", line 540, in connect
  File "aiohttp/connector.py", line 901, in _create_connection
  File "aiohttp/connector.py", line 1155, in _create_direct_connection
  File "aiohttp/connector.py", line 874, in _resolve_host
  File "aiohttp/resolver.py", line 33, in resolve
  File "asyncio/base_events.py", line 867, in getaddrinfo
  File "asyncio/base_events.py", line 829, in run_in_executor
  File "concurrent/futures/thread.py", line 169, in submit
RuntimeError: cannot schedule new futures after interpreter shutdown

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "systembridgebackend/modules/system/__init__.py", line 84, in version_latest
    releases = await github.repos.releases.list("timmo001/system-bridge")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "aiogithubapi/namespaces/releases.py", line 38, in list
  File "aiogithubapi/client.py", line 152, in async_call_api
aiogithubapi.exceptions.GitHubException: Unexpected exception for 'https://api.github.com/repos/timmo001/system-bridge/releases' with - cannot schedule new futures after interpreter shutdown

Additional information
No response

This should have been resolved in the later versions of the app. Please reopen with updated log output if still running into this issue


Display form submissions & Stripe form builder component

Form Submission edit page in CMS displays a read-only view of the form
Stripe component contains default values for testing purposes

The submissions are displayed in a table in the "Submissions" tab for Surveys:
https://bitbucket.org/locomotivemtl/city-survey/commits/368a3cbb17a34597552b37d3f23dda692e23d223