too difficult to make modified arrow keys work on non-xterm terminals

Steps to reproduce
Run this shell command:
TERM=gnome vim -Nu NONE +'eval "foo bar"->setline(1)'

Press <C-Right>: the cursor does not move.
Expected behavior
The cursor jumps to the start of the next word (i.e. bar), because that's how it's documented to work at :help <C-Right>.
Operating system
Ubuntu 20.04.3 LTS
Version of Vim
8.2 Included patches: 1-3731
Additional Context
The issue comes from the fact that <xRight> is not set when &term does not contain the pattern xterm.
It is a very common pitfall.  Here is a sample of a few reports (with more time I could gather much more):

Control arrow keys don't move word per word when used with alacritty
Ctrl-Left and Ctrl-Right not jumping words
Jumping word by word using control + arrow keys doesn't works in vim
How to remap ctrl + Left/Right
Ctrl-Right does not work as expected inside tmux
How to get vim to work with tmux properly?

The solution is this snippet:
execute "set <xUp>=\<Esc>[@;*A"
execute "set <xDown>=\<Esc>[@;*B"
execute "set <xRight>=\<Esc>[@;*C"
execute "set <xLeft>=\<Esc>[@;*D"

But it's not easy to discover.  It is only documented at :help tmux-integration, but it is NOT specific to tmux.  Again, it affects Vim whenever &term does not match xterm.
Ideally, we would automatically set <xUp>, <xDown>, <xRight>, <xLeft> for more terminals (e.g. gnome, alacritty).
But if that's not possible, at least we should do a better job at documenting the solution.  What is the first keyword a user is going to look for in the help if <C-Right> does not work?  "arrow"
There is no help tag containing the word "arrow" which documents the previously mentioned snippet.  So, how about this patch:
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index d6f31d379..14b692915 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -151,7 +151,7 @@ terminal that tmux is running in): >
         let &t_fe = "\<Esc>[?1004h"
         let &t_fd = "\<Esc>[?1004l"

-        " Enable modified arrow keys, see  :help xterm-modifier-keys
+        " Enable modified arrow keys, see  :help modified-arrows
         execute "silent! set <xUp>=\<Esc>[@;*A"
         execute "silent! set <xDown>=\<Esc>[@;*B"
         execute "silent! set <xRight>=\<Esc>[@;*C"
@@ -528,6 +528,16 @@ If your terminal supports both inversion and standout mode, you can see two
 different modes.  If your terminal supports only one of the modes, both will
 look the same.

+							*modified-arrows*
+If the terminal is not recognized as being compatible with xterm, some key
+codes are not set, which may prevent you from using modified arrow keys.
+In that case, this snippet may fix the issue: >
+	" see :help xterm-modifier-keys
+	execute "set <xUp>=\<Esc>[@;*A"
+	execute "set <xDown>=\<Esc>[@;*B"
+	execute "set <xRight>=\<Esc>[@;*C"
+	execute "set <xLeft>=\<Esc>[@;*D"
+<
 							*keypad-comma*
 The keypad keys, when they are not mapped, behave like the equivalent normal
 key.  There is one exception: if you have a comma on the keypad instead of a

Actually, we should also add a link to this snippet somewhere around :help <C-Right>.  I'll try to send an updated patch later.

I'll try to send an updated patch later.

diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index b50bd65c5..b98c24e05 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -386,6 +386,7 @@ w			[count] words forward.  |exclusive| motion.

 <C-Right>	or					*<C-Right>* *W*
 W			[count] WORDS forward.  |exclusive| motion.
+			NOTE: If it doesn't work, see |modified-arrows|.

 							*e*
 e			Forward to the end of word [count] |inclusive|.
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index d6f31d379..5b8a4285b 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -151,11 +151,11 @@ terminal that tmux is running in): >
         let &t_fe = "\<Esc>[?1004h"
         let &t_fd = "\<Esc>[?1004l"

-        " Enable modified arrow keys, see  :help xterm-modifier-keys
-        execute "silent! set <xUp>=\<Esc>[@;*A"
-        execute "silent! set <xDown>=\<Esc>[@;*B"
-        execute "silent! set <xRight>=\<Esc>[@;*C"
-        execute "silent! set <xLeft>=\<Esc>[@;*D"
+        " Enable modified arrow keys, see  :help modified-arrows
+        execute "set <xUp>=\<Esc>[@;*A"
+        execute "set <xDown>=\<Esc>[@;*B"
+        execute "set <xRight>=\<Esc>[@;*C"
+        execute "set <xLeft>=\<Esc>[@;*D"
     endif
 <
 							*cs7-problem*
@@ -528,6 +528,16 @@ If your terminal supports both inversion and standout mode, you can see two
 different modes.  If your terminal supports only one of the modes, both will
 look the same.

+							*modified-arrows*
+If the terminal is not recognized as being compatible with xterm, some key
+codes are not set, which may prevent you from using modified arrow keys.
+In that case, this snippet may fix the issue: >
+	" see :help xterm-modifier-keys
+	execute "set <xUp>=\<Esc>[@;*A"
+	execute "set <xDown>=\<Esc>[@;*B"
+	execute "set <xRight>=\<Esc>[@;*C"
+	execute "set <xLeft>=\<Esc>[@;*D"
+<
 							*keypad-comma*
 The keypad keys, when they are not mapped, behave like the equivalent normal
 key.  There is one exception: if you have a comma on the keypad instead of a

I had a look at what were the most popular terminals on linux:

alacritty
gnome-terminal
konsole
st
terminator
xfce4-terminal

For all of them, if TERM is correctly set to reflect the true identity of the terminal, then <C-Left> and <C-Right> fail to properly work as documented in Vim's help.  And for all of them, the previous snippet fixes the issue.

I had a look at what were the most popular terminals on linux:

urxvt is problematic because <C-Right> emits a different kind of sequence.
kitty is also popular, but it should work fine by default, because it sets TERM with xterm-kitty.  Thanks to the presence of xterm in TERM, Vim correctly sets <C-Left> and <C-Right>.

Thanks.  I'll include something like this.
The hints are spread out in the help.  If someone is using a specific terminal, it would be nice to have one section to collect information for that terminal.  Thus if you use Konsole, you would find hints in one place (possibly with a number of lines to copy to the vimrc and links to more information).


Convert from autload to require

Per #26 I have converted the gem to use require instead of autoload. Note that in the process of developing this I opened #30 as there is one test that fails in master on ruby 2.3.x

@trevorrowe Looks like all test are passing.

I'll make sure to add 2.3 to our travis config when I work on the 2.3 issue.


Update elasticsearch14 to 1.4.5

New download URL and SHA256 sum

Merged in https://github.com/Homebrew/homebrew-versions/commit/dd01e0930158d42b2399e247253893cacf966aa0. Thank you for your contribution to Versions, we appreciate it! :smiley_cat:


Add a test for Monitoring Hive ClusterDeployments

Signed off by @jnpacker

Add tests for Monitoring ClusterDeployment
Fix some of the timeout code

/cc-auto

/cc @hanqiuzh

/lgtm


Extend all tools to accept the NUMBER_INPUT event for when they need a point input

Currently only the src/tools/line-tool accepts the NUMBER_INPUT event to enter a point
It works like this:

select the line tool
click to enter the first point
move the mouse in a certain direction
enter a number
the line tool will take the direction of the mouse from the start point and the entered distance to choose the endpoint of the line

This functionality should be extended to the other tools like CIRCLE and RECTANGLE. eg:

select the circle tool
click to enter the center point
move the mouse in a certain direction
enter a number
the circle tool will use the entered distance as the radius of the circle

fixed in

https://github.com/bertyhell/openwebcad/commit/9811c73ffcc6d62efb154c3f8f095bed8d189560
https://github.com/bertyhell/openwebcad/commit/6f60ef38eeef2639a329272105a3776738b0951b


error writing snapshot

System info
Influx v1.2.2
Ubuntu 16.04.2 LTS
Linux web1 4.9.87-xxxx-std-ipv6-64 #1 SMP Tue Mar 13 18:41:47 CET 2018 x86_64 x86_64 x86_64 GNU/Linux
Steps to reproduce:

Create a backup of 3 databases (x,y, and z) on host A.
Restore the meta from the x database to B.
Restore x, y, and z data to B.
Start inserting data

Expected behavior:
No "error writing snapshot" logs
Actual behavior:
The logs show the following, repeated approximatively every single second. Only the database prediction_db is impacted by this issue.
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z Snapshot for path /home/web/influxdb/data/prediction_db/autogen/775 written in 97.136903ms engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot: compaction in progress engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot from compactor: compaction in progress engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z Snapshot for path /home/web/influxdb/data/prediction_db/autogen/900 written in 106.127518ms engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot: compaction in progress engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot from compactor: compaction in progress engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z Snapshot for path /home/web/influxdb/data/prediction_db/autogen/770 written in 115.098612ms engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot: compaction in progress engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot from compactor: compaction in progress engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z Snapshot for path /home/web/influxdb/data/prediction_db/autogen/769 written in 55.496839ms engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot: compaction in progress engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot from compactor: compaction in progress engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z Snapshot for path /home/web/influxdb/data/prediction_db/autogen/774 written in 56.002377ms engine=tsm1
Apr 12 11:22:13 tdb influxd[30172]: [I] 2018-04-12T09:22:13Z error writing snapshot: compaction in progress engine=tsm1

Hi @makareth. We can't effectively support or triage issue on v1.2.2. I highly recommend you upgrade to the latest release (v1.5.1). You need to follow this upgrade path if you wish to move from 1.2.2 to 1.5.1 using the standard inmem index.
I'm happy to keep this issue open if you want to report back if you're still having issues.

Hi @e-dard, thank you. We have no upgrade planned for now but will definitely try to upgrade regularly to get support.
Looked like permissions of the failing database were no set correctly, so I suggest we have this issue closed.

@makareth thanks for letting us know.


Create ValidatingEditTextPreference for android.support.v7.preference.EditTextPreference

Please create ValidatingEditTextPreference for android.support.v7.preference.EditTextPreference

Hello @mayras unfortunately I don't have much time to create it myself. I do accept pull requests though.


How to import the USS API in a Svelte (typescript) project

Hello!  This API looks really well done and I'm excited to use it.    I seem to be missing something to make my app recognize the uss object.
Here are the steps I've taken, along with screenshots to clarify.

Downloaded the uss package via npm install
Copied the minified js file into my app's static directory
Included the minified js file in a script tag in my app.html's header

The caveat here is that I'm using Svelte-kit, which uses server side rendering.  Not sure if that is part of the equation or if I'm just missing something dumb.
-Directory structure-

-Script tag-

-uss object not recognized-

Very nice!  Thanks for the lesson and documentation!
Works perfect for Chrome.  Not currently working in iOS Safari.   Just want to verify that it's meant to.  If so, I can do some tinkering to see what does / doesn't work.
https://user-images.githubusercontent.com/55860945/154726878-f267ee2d-4dcc-49dd-b362-e9c08a1e3398.mov

Mobile Safari on iOS is supported by the API and it should work the same way as in Chrome.
That may be a specific implementation problem or an API bug.
To see if the API works in you emulator you can go to the official playground or my website (both uses the API for smooth-scrolling) and try to click the anchors (they internally use the uss.scrollIntoView function).
Official Playground: https://cristiandavideconte.github.io/universalSmoothScroll/
My Website: https://cristiandavideconte.github.io/myPersonalWebPage/

Good idea.   Both work fine in my emulator, so I'll have to tweak my implementation.  If/when I figure out what the hang up is I'll report back.
Thanks for creating this great resource and your personal help, I hope this API continues gaining popularity!


[AWS] Account for Cryptonet

Request Description
Cryptonet would like to have an AWS account set up and managed by us. This account would be used to run infrastructure for testnet/mainnet products/protocols. We also have a need for research and experimental projects.
Desired Results/Outcome
We can run sensitive infrastructure in a resilient manner with isolation from other teams' infrastructure; our cloud usage is directly billable to PL.
DRI: @jaeaster @nikkolasg @nicola
AWS Account ID: ??? <!— specify which account ID this request is for —>

I've created teh cryptonet account, credentials passed in slack.


Unable to find artifacts from Maven repository

I have the following error when I try to analyze an Android Gradle project:
16:47:07.402 [DefaultDispatcher-worker-3] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to find 'com.google.firebase:firebase-datatransport::18.1.1' in any of [https://repo.maven.apache.org/maven2, https://dl.google.com/dl/android/maven2/, https://jcenter.bintray.com/, http://repo.ncsoft.net/artifactory/libs-release].
16:47:14.478 [DefaultDispatcher-worker-3] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to find 'com.google.firebase:firebase-iid-interop::17.1.0' in any of [https://repo.maven.apache.org/maven2, https://dl.google.com/dl/android/maven2/, https://jcenter.bintray.com/, http://repo.ncsoft.net/artifactory/libs-release].
16:47:26.928 [DefaultDispatcher-worker-3] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to find 'com.google.firebase:firebase-installations::17.0.1' in any of [https://repo.maven.apache.org/maven2, https://dl.google.com/dl/android/maven2/, https://jcenter.bintray.com/, http://repo.ncsoft.net/artifactory/libs-release].
16:47:40.641 [DefaultDispatcher-worker-3] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to find 'com.google.firebase:firebase-installations-interop::17.0.1' in any of [https://repo.maven.apache.org/maven2, https://dl.google.com/dl/android/maven2/, https://jcenter.bintray.com/, http://repo.ncsoft.net/artifactory/libs-release].
16:47:53.145 [DefaultDispatcher-worker-3] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to find 'com.google.firebase:firebase-measurement-connector::19.0.0' in any of [https://repo.maven.apache.org/maven2, https://dl.google.com/dl/android/maven2/, https://jcenter.bintray.com/, http://repo.ncsoft.net/artifactory/libs-release].

The list adds up, and I don't know what is causing this problem.

Looks like these artifacts are exclusively hosted on https://maven.google.com/. Could you add that to the list of repos in your project, and test whether this makes a change?

I will close this as the missing Maven repository is obviously the reason for the issue.


A problem to watch webviz demo, player is always initializing

Hi, I have a problem on watching webviz demo from https://webviz.io/try/?demo,
The player always waits for initializing, so I can't watch the demo.
I use Chrome on Windows 7 and its version

76.0.3809.100 (Official Build) (64-bit)

I also try my phone & ubuntu 16.04, but the same result for me.
Does anyone know if I lose some plugins or other things on watching demo?
Thanks.

Oh you're right, thanks for reporting, we'll look into it!

It should be fixed now!!! Sorry for the inconvenience.


u-boot 2020_04 in dunfell affected by CVE-2020-29651

Describe the bug
u-boot version 2020.04 in dunfell branch (based on 02c6757) is affected by CVE-2020-29651 in the test component. While the test component is, as I understand, is not used by meta-tegra in bitbake the pip environment includes the affected package python-py version 1.8.0 in requirements.txt .
To Reproduce
Steps to reproduce the behavior:

Build meta-tegra branch 'dunfell' based on '02c6757'
See requirements.txt  contains py==1.8.0 at tmp/work/<MACHINE>-plaza-linux/u-boot-tegra/1_2020.04+gAUTOINC+14b16137af-r0/git/test/py/requirements.txt

Additional context
CVE-2020-29651 has description:

A denial of service via regular expression in the py.path.svnwc component of py (aka python-py) through 1.9.0 could be used by attackers to cause a compute-time denial of service attack by supplying malicious input to the blame functionality.

Thanks for the report.  I've back-ported the upstream fix for this (updating the requirement to py==1.10.0) to the relevant branches in our u-boot fork and have updated the recipes in all of the dunfell-based branches accordingly.


Blank page in WebView

Installed Facebook SDK. I am just trying to do whatever's in the example
SocialAuth.getFacebookCredentials(["email", "user_friends"], SocialAuth.facebookPermissionsType.read)
                  .then((credentials) => console.log(credentials))
                  .catch((error) => console.log(error));

However the promise is never resolved. And the webview post all authorization ends up being a blank page as below. Clicking on "Done" results in cancel request
 {message: "Credentials request was canceled", cancelled: true, code: -1}
Note that example works just fine. But am not able to figure the correct misconfiguration (or lack of proper configuration)

Are there any logs in XCode console?

I do have some errors in there like
2016-12-09 06:13:29.757 XXXX[61829:8555589] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2016-12-09 06:13:29.759 XXXX[61829:8555589] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"

And
__nw_socket_service_writes_block_invoke sendmsg(fd 9, 31 bytes): socket has been closed
2016-12-09 06:13:36.670958 MallJell[61829:8574160] [] nw_endpoint_flow_protocol_error [15.1 <IP_ADDRESS>:443 cancelled socket-flow (null)] Socket protocol sent error: [32] Broken pipe
2016-12-09 06:13:36.671154 MallJell[61829:8574160] [] nw_endpoint_flow_protocol_disconnected [15.1 <IP_ADDRESS>:443 cancelled socket-flow (null)] Output protocol disconnected

Attaching the full logs here.
xcode-logs.TXT

Check your info.plist
<key>CFBundleURLTypes</key>
<array>
  <dict>
    <key>CFBundleURLSchemes</key>
    <array>
      <string>fb{your-app-id}</string>
    </array>
  </dict>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
  <string>fbauth2</string>
</array>
// use setFacebookApp({id, name}) before login
// or add these lines
<key>FacebookAppID</key>
<string>{your-app-id}</string>
<key>FacebookDisplayName</key>
<string>{your-app-name}</string>

I seem to have all of the above and more
<key>CFBundleURLTypes</key>
    <array>
      <dict>
        <key>CFBundleURLSchemes</key>
        <array>
          <string>fb{my app id}</string>
        </array>
      </dict>
    </array>
    <key>FacebookAppID</key>
    <string>{my app id}</string>
    <key>FacebookDisplayName</key>
    <string>{my app name}</string>
    <key>LSApplicationQueriesSchemes</key>
    <array>
      <string>fbapi</string>
      <string>fb-messenger-api</string>
      <string>fbauth2</string>
      <string>fbshareextension</string>
    </array>

This link talks about the problem, but am not conversant with Swift or IOS development to even understand what this means

Try to add this into plist
or as described here https://forums.developer.apple.com/thread/50332#184417 (plist part)

Also look at  here and here

Awesome. Thank you. The last two changes did the trick - authentication is successful and am able to get back a response. Is this something thats there in the README that  I missed ? I did react-native link after npm installing

Docs about modifying AppDelegate there is in iOS part


Print results

Related Issue or Background Info
#426
Changes Proposed

Add menu selection for printing an individual result.
Creates an Actions Menu component that we can use in multiple places

TODO: Patients menu should be refactored to use this

Adds dialog for printing and print-specific styles
Updates the information being printed and minimizes patient info per the ticket

Additional Information
An early version of the code was already there but not accessible because the menu choice wasn't there.

I kept the result printouts to a single page because I was encountering formatting issues when going to a second page. We are right at the edge with the length of the positive result description.
To create a PDF the user will "print" the result using the computer's own print-to-PDF feature.
You can print a result marked as error but it will show a watermark...I thought maybe people would need documentation of an error as well.

Screenshots / Demos

SimpleReport-err.pdf
SimpleReport-neg.pdf
SimpleReport-pos.pdf

These are good questions, I think most need @aliciabeckett-gov and @hmyers-cms to weigh in.

There is both a "Collection Date" and a "Test Date" in the mock but only a "Test Date" in this PR. The "Test Date" in the mock has the test time as well (hour/minute of day)

I'm not sure whether we wanted both dates or not. At the point where I started this I think we only had Test Date but we've since added Collection Date.

Sex is lowercased in the app male rather than uppercased Male like the mock

I'll fix this.

The POSITIVE/NEGATIVE indicator in the mock is bold and either red or green.

I can make it bold but there can be contrast issues with using colors. Also it's very possible that the printer at the facility will only be black-and-white so it will end up being a lighter grayish color. I wonder if we should explain the meaning of POSITIVE with a word or two?

The links are formatted like links (blue, underlined). This would probably be free if they were actually links in the code.

Since we're using the system print dialog I don't have a lot of control over whether they are actual links, and the printed copy won't be clickable even if saved as PDF.

The title and list formatting of the "When to seek medical attention" section are different between the two.

That is where I had to trim the text to get it down to one page. I think it retains the same meaning but could use some more guidance on how important it is to have that exact longer content.

We should remove Sex. The only PII can be name and DOB.
Making Positive/Negative bold is good enough for now.

The title and list formatting of the "When to seek medical attention" section are different between the two.

This is fine. Let's ship it!


fix: prepend proxy sidecar container to prevent application container restarts

To fix application container startup errors due to incorrect container ordering (proxy sidecar will be triggered last instead of first).
fixes #1101
This PR builds on top of https://github.com/Azure/azure-workload-identity/pull/1102 and fixes the unit tests.

Codecov Report

Merging #1108 (ce2b86d) into main (6ea7815) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1108   +/-   ##
=======================================
  Coverage   55.49%   55.49%
=======================================
  Files          36       36
  Lines        2294     2294
=======================================
  Hits         1273     1273
  Misses        980      980
  Partials       41       41

Files Changed
Coverage Δ

pkg/webhook/webhook.go
86.26% <100.00%> (ø)


dosbox-x: Update to version 2022.12.26, fix autoupdate, add arm64 arch

Closes #10474

[x] I have read the Contributing Guide.

/verify


Create multiple-remotes.md

Hi, if you feel like this could help people please add it and edit it to your liking.

Thanks for the PR @naseemkullah.
@tirumaraiselvan waiting for your comments.

This is very nice! Added comments.

Thank you for the suggestions! I've pushed a revised version, kindly review. Thanks.


more reasonably small patches

trying to put together a reasonable default config.

The moveit_benchmark_suite_tools is missing the rviz dependency in the package.xml. Will merge when changed.
Thx for the great additions !


how to rebuild?

I don't know how to rebuild. if i reinput  zephir build than nothing.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40997943-how-to-rebuild?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

zephir fullclean
zephir build

thank you!


v2 only magnet links don't parse correctly

Tested on v3.0.0 alpha 0142:
The following v2 only magnet link doesn't parse correctly. It fails with System.FormatException: the magnet link did not contain a valid 'xt' parameter referencing the infohash. The v1/v2 hybrid one does work.
magnet:?xt=urn:btmh:1220caf1e1c30e81cb361b9ee167c4aa64228a7fa4fa9f6105232b28ad099f3a302e&dn=bittorrent-v2-test
Found those tests links here: https://blog.libtorrent.org/2020/09/bittorrent-v2/
Alan, I wouldn't mind having a go at fixing this one.

If you're interested, it's not a bug, it's just some code that hasn't been implemented yet! There are still some rough edges around V2 torrents :)
                            case "urn:btmh:":
                                // placeholder to parse v2 multihash
                                break;

work in progress: https://github.com/jpmikkers/monotorrent/commit/ac8bb0b3548bb6417d6ff4f35507d6866ef67dcd

Looks great so far! I like the usage of slicing the Memory here to cut out the identifier bytes! https://github.com/jpmikkers/monotorrent/commit/ac8bb0b3548bb6417d6ff4f35507d6866ef67dcd?w=1#diff-c86c3ce1d7bf3c4a55f211238b36781ed5c2b1f2975e8024d3fd26bb50470d72R195 . Glorious!


Zowe RSE CLI : command returning only after timeout while downloading a dataset

node -v
v20.10.0
zowe --version
7.25.1
zowe plugins list
-- pluginName: @ibm/rse-api-for-zowe-cli
-- package: @ibm/rse-api-for-zowe-cli
-- version: 4.3.0
-- registry: http://registry.npmjs.org/
-- pluginName: @zowe/db2-for-zowe-cli
-- package: @zowe/db2-for-zowe-cli@zowe-v2-lts
-- version: 5.0.7
-- registry: http://registry.npmjs.org/
Problem Description
While launching a command : zowe rse dl ds "xxx.yyy" -f "./tmp/myfile.txt"
I get a success response
success: true
from:    xxx.yyy
to:      ./tmp/myfile.txt
file_to_download: 1
success:          1
error:            0
skipped:          0
But then, the prompt in VsCode terminal don't give back hand during 60 seconds timeout.
So if you want to download files 1 by 1, your script will wait for 60 secondes between 2 downloads.

Fixed in v4.4.0. Can you let us know if it worked for you?


Render only after update/create?

Hi there,
I've just come across your package and it looks great and very similar to what I was trying to create.
Is it possible to register the cards so its only shown after creating or updating a resource?
I was hoping to show some form of "Please wait 5 minutes for this to take effect" message.
I started going down the resource tool route but it seemed a bit convoluted to show a simple message. I don't suppose anyone has done this before or the "Request $request" variable can detect if the resource has been created or updated?

Hi there @labcenter2020
Thanks for your feedback. I would like to know a bit more about your use-case.
So if I understood correctly, you want to show the card right after creating or updating the resource. Is that right?
In that case, if the user leaves the detail view, will you still want to be able to show the card for a certain period of time?

Hi @skoyah,
Thanks for the prompt reply. Sorry I didn't seem to get a notification.
Yep, that's right! I could see it working either way really. Either a flash or something which persists for a certain time would work nicely.
We currently have an observer class on a few resources which sends some data to an API so we could ideally do with a popup/message which says something about it taking a few minutes to take effect.
Thanks for the suggestion that sounds like a very viable option and is likely the one I will go with for the time being.
I actually put together a few bits I tested and posted on https://github.com/laravel/nova-issues/issues/2960
The only downside of using the canSee/card solution I found was if the user was using the "Update & Continue Editing" or "Create and Add Another" buttons.
I think the only way to get around those would be by having some emit / event bus trigger and a global modal/popup type component. I only have a limited knowledge of Vue JS though so there might be a more efficient way.
Thanks for your help!

No problem! Closing this since is not really an issue.


.zshrc is overriding the environment variable set by shell integration on macOS

Does this issue occur when all extensions are disabled?: Yes/No

Reporting on behalf of @pquadri: https://github.com/microsoft/vscode-python/issues/22901
VS Code version: Code 1.86.1 (Universal) (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:09:01.236Z)
OS version: Darwin arm64 23.3.0
Steps to Reproduce:

Python extension sets the environment variable collection using EnvironmentCollection.prepend API, by using options: {"applyAtShellIntegration":true,"applyAtProcessCreation":true}:

Prepending environment variable PATH in collection with value "<prepend>"

Value of PATH in zsh terminal:

/Users/paolo.quadri/.local/bin:/Users/paolo.quadri/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:<prepend>:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:<prepend>

As one can notice <prepend> is appearing twice, which is expected, but .zshrc seems to be running after it which is why <prepend> isn't the first entry in PATH.

shell integration:

As one can notice  is appearing twice, which is expected, but .zshrc seems to be running after it which is why  isn't the first entry in PATH.

.zshrc is meant to be called before here:
https://github.com/microsoft/vscode/blob/e4a37b21c72e8d78795803a4d1fcf714cc7aa9bd/src/vs/workbench/contrib/terminal/browser/media/shellIntegration-rc.zsh#L25-L33
@meganrogge might know more as she's the main maintainer of the zsh script and daily drives it.

see https://github.com/microsoft/vscode/issues/205133#issuecomment-1981491545

@pquadri Is this still an issue for you?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


when married with an hero => End relation with other hero (can't restart the relation)

The bug is : when i flirt with more then one women, when i married with one the other have the
romanticlevel set to Ended.

Thanks for the help!


Weapon Mastery not correctly displayed on the Abilities tab in the Attacks section

When a fighter has weapon mastery for a weapon, the system automatically increases the to hit bonus by exactly +1. But it should be increased by 1 + 1/2 level rounded down. In the roll dialog, it is shown correctly.

Possibly related to #143 @bakbakbakbakbak ?


Create Noise class

Class that can create noisy ImageData corrupted with Gaussian, Poisson, Salt & Pepper

But this simulates noise only on TestData.
If we create a tomophantom then we can use it. Should be an ImageDAta method?

But this simulates noise only on TestData.
If we create a tomophantom then we can use it. Should be an ImageDAta method?

TestData.random_noise is a static method of TestData (hence it can be used as a function). It adds noise to any DataContainer (children) and numpy arrays, as:

from ccpi.framework import TestData
noisy_data = TestData.random_noise(data, mode='gaussian')


Pagination bug

On almost every page, the bottom post is duplicated on the top of the following page. I believe there's a bug with the pagination logic.

also doesn't warrant a separate issue but if a summary ends in ! don't manually append a period


Change stdout and stderr default setting in LSF and Slurm cluster implementation

As mentionned in #122 and #139, default values for job output files in LSF and Slurm implementation are
"-e %s.err" % self.name
"-o %s.out" % self.name

If those configuration parameters have similar behavior as those from PBSPro, then this means every job submitted by dask-jobqueue will use this file name for writting its stdout and stderr when finished. So at one time, we will have only the last finished job stderr and stdout.
I'm not sure this is what we want. At least when trying to understand some bug, this can be problematic. I propose to use templating propose by both scheduler, e.g. for Slurm, something like (maybe with escaping char):
"-e %s-%j.err" % self.name
"-o %s-%j.out" % self.name

On the other hand, if we specify a value different for each job, we will get (as is happening currently with default PBSCluster implementation) the submission folder flooded with jobs stdout and stderr file.

Perhaps we should make a directory for log files and then flood that
directory?
On Tue, Aug 28, 2018 at 6:44 AM, Guillaume EB<EMAIL_ADDRESS>wrote:

As mentionned in #122 https://github.com/dask/dask-jobqueue/issues/122
and #139 https://github.com/dask/dask-jobqueue/issues/139, default
values for job output files in LSF and Slurm implementation are
"-e %s.err" % self.name"-o %s.out" % self.name
If those configuration parameters have similar behavior as those from
PBSPro, then this means every job submitted by dask-jobqueue will use this
file name for writting its stdout and stderr when finished. So at one time,
we will have only the last finished job stderr and stdout.
I'm not sure this is what we want. At least when trying to understand some
bug, this can be problematic. I propose to use templating propose by both
scheduler, e.g. for Slurm, something like (maybe with escaping char):
"-e %s-%j.err" % self.name"-o %s-%j.out" % self.name
On the other hand, if we specify a value different for each job, we will
get (as is happening currently with default PBSCluster implementation) the
submission folder flooded with jobs stdout and stderr file.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/141, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszGnllvwcZqV43U42wxz2iK3_zkOpks5uVR8FgaJpZM4WPXFz
.

+1 on this idea. Even better if that logs directory is configurable in the jobqueue config file.

Yeah and an additional parameter in the JobQueueCluster.__init__ as well. We may need to create the folder before, if it does not exist. I seem to remember that SGE fails not very helpfully when you are using a log folder that does not exist.

As PBS doesn't handle any replacement symbol in the output files option, the easiest is to do the qsub inside the log files directory. This should be fine for other schedulers too.

After some conversation with @lesteve in #145, I believe we have three choices:

Creating a folder, and submitting jobs from this directory using cwd arg in Popen. This could lead to some edge problems, mainly with eventual use of relative paths into user workflow. This is the better for having a good file name, at least for PBS.
Creating a folder, and configuring job script to use it for standard outputs. Problem is for some scheduler (PBS), you cannot chose the filename this way, it will be a PBS default name not very explicit. I don't know for other scheduler if this possibility exist.
Just leave the default, removing all -e or -o options, and let the user specify what he wants with job_extra.

Creating a folder, and configuring job script to use it for standard outputs. Problem is for some scheduler (PBS), you cannot chose the filename this way, it will be a PBS default name not very explicit.

Can you give the detail about the default PBS name? As long as the job id is in the name for the automatic PBS log name I think this is good enough.

I don't know for other scheduler if this possibility exist.

I know it works for SGE (for SGE the automatic name when only specifying the folder is <job-name>.o<job-id>). If schedulers don't support using a folder for -e/-o but they allow variable expansion in their directives (e.g. for SLURM you can do something like #SBATCH --error=hello-%J.out according to this, we can always use that instead.


Use JDK 11 in default images

Use JDK 11 in default images
As part of the 2.303.1 switch from Java 8 to Java 11 in the base images, this pull request adds Java 11 targets for Alpine, CentOS7, and Debian slim to the already existing Debian and UBI Java 11 images.  Java 8 images will continue to be generated with the '-jdk8' suffix.
Also updates from Java 8u292 to Java 8u302 now that releases are available for amd64, aarch64, ppc64le, and s390x.
Also updates from Java 11.0.11 to Java 11.0.12 now that releases are available for amd64, aarch64, ppc64le, and s390x.
Updates the UBI version from 8.4-206 to 8.4-209
Uses Jenkins 2.303 as the base image so that my development work was assured of doing a full build.  That change can be reverted if it is a distraction.
Removes the redundant "-lts" in tags that already include a version number, since the version number is clearly an LTS version number.  For example, the tag for 2.303.1-lts-slim will be 2.303.1-slim.
Removes some tag duplication that resulted from the transition to Java 11 and from the removal of the "-lts" string from tags that contain a version number.

Are you not making the same changes for the Windows side? It would be good to keep them in sync.

i think the latest tag is missing and is required, unless I'm missing somethign

Thanks very much for detecting that mistake!  I had dropped the latest, lts, and 2.303.1 tags.  They should have been moved to the Debian JDK 11 and were not.  Fixed in e08ebe035a7d1ec4f80c7b03b4aaa2815b61659f

Are you not making the same changes for the Windows side? It would be good to keep them in sync.

If I can understand the Windows Powershell script, I'll try to keep it in sync.  I'm not Powershell skilled, so I worry that I'll make some glaring mistake

The windows images aren’t publishing any fixed tag afaik just updating the same one all the time


Renamed deprecated objects in upgrade script babelfishpg_tsql--3.8.0--3.9.0.sql from deprecated_in_5_0_0 to deprecated_in_3_9_0

Description
Functions deprecated in upgrade script babelfishpg_tsql--3.8.0--3.9.0.sql should be named as *_deprecated_in_3_9_0. Although in cherry-pick PR: https://github.com/babelfish-for-postgresql/babelfish_extensions/pull/3251, we missed updating this change. This PR will fix this issue.
Issues Resolved
NO JIRA
Test Scenarios Covered

Use case based -

Boundary conditions -

Arbitrary inputs -

Negative test cases -

Minor version upgrade tests -

Major version upgrade tests -

Performance tests -

Tooling impact -

Client tests -

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
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 73.78%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
43103

Relevant Lines:
58421

💛  - Coveralls


Rename displaying-verification-statuses-for-all-of-your-commits.md to…

… $?!.

Why:
Closes [issue link]

What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Call me y
Be uhc iih75cmb


switched the labels for x25519 and secp256k1

I changed the labeling for secp256k1 and x25519 to be in line with https://w3c-ccg.github.io/did-method-key/ .
I used code https://gist.github.com/bshambaugh/e3730a24cf1f87813c32f7e7f41a1179 . I noticed that x25519 was only 31 bytes rather than 32.

Note that there are some 3ID test vectors available here: https://github.com/ceramicnetwork/js-ceramic/blob/develop/packages/3id-did-resolver/src/tests/vectors.json


Add dev dependency for @babel/runtime

When I tried to run the VS Code debugger, this error was emitted:
[webpack-cli] Error: Cannot find module '@babel/runtime/helpers/interopRequireDefault'

Via Stackoverflow, adding @babel/runtime resolves the issue for me.

When I run npm run install-local, I also get this error:
@types/vscode ^1.34.0 greater than engines.vscode ^1.32.0. Consider upgrade engines.vscode or use an older @types/vscode version

which may be related.

When I run npm run install-local, I also get this error:
@types/vscode ^1.34.0 greater than engines.vscode ^1.32.0. Consider upgrade engines.vscode or use an older @types/vscode version

which may be related.


CryptographyDeprecationWarnings in Ansible output

When the passbolt ansible lookup plugin is used 3 warnings are logged whenever the lookup is performed by Ansible:
 SymmetricKeyAlgorithm.CAST5: algorithms.CAST5,
/usr/local/lib/python3.9/site-packages/pgpy/constants.py:195: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release
  SymmetricKeyAlgorithm.Blowfish: algorithms.Blowfish,
/usr/local/lib/python3.9/site-packages/pgpy/constants.py:192: CryptographyDeprecationWarning: IDEA has been deprecated and will be removed in a future release
  bs = {SymmetricKeyAlgorithm.IDEA: algorithms.IDEA,
/usr/local/lib/python3.9/site-packages/pgpy/constants.py:194: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release

I assume this is due to: https://github.com/SecurityInnovation/PGPy/issues/398
reported 2 years ago, but it doesn't seem that the pgpy project has much activity..
Can we get rid of these warnings in the Passbolt Ansible plugin?

Is there anyway to suppress these warnings atleast?


idea: "Installers" for wasm-pack

Currently one of the main installations methods for wasm-pack is cargo install, and this has a few great benefits to it:

Users don't have to know what platform they're running on, they just need cargo which is already pretty easy to install.
Users don't need to set up PATH to get wasm-pack-the-subcommand because Cargo already takes care of those warnings.
It's a pretty seamless experience where everything is downloaded for you.

The downsides, however, of cargo install are:

Compilation of Rust code isn't always speedy, so it can take some time. Furthermore as wasm-pack continues to grow in functionality it'll pick up dependencies and slow down to compile.
Over time wasm-pack may pick up hard-to-compile dependencies. For example it recently picked up curl as a crate, but that needs to compile C code and deals with linkage of C libraries and such. That can often trip up a lot of newcomers who don't always have pristinely configured environments.

I think, though, that we may be able to solve these downsides while still preserving the benefits of cargo install today. We could employ a rustup-like solution to install wasm-pack but leave automatic updates for a future iteration. We've already got precompiled binaries (that are "quite compatible") for wasm-pack, so we just need a better way to get them to users.
I'm imagining something like:

There's a site like https://rustup.rs/ (hosted on gh-pages most likely) which users visit to install wasm-pack. This website does platform detection to tell users what installer to install.
On Unix we'd provide a curl | sh solution with a shell script in this repository (similar to rustup.sh). I don't think this'd be too hard to implement, as it'd largely just download a tarball from github (the precompiled release) and then extract the wasm-pack binary into $HOME/.cargo/bin.
On Windows we'd provide wasm-pack-init.exe (or something like that), which could actually simply be wasm-pack.exe itself. When run for the first time wasm-pack.exe would move itself into .cargo/bin as well, which should already be in PATH.

Overall this would free us from the above two downsides (long build times and sometimes complicated native dependencies) while also keeping wasm-pack as easy to install as it is today. One perhaps snag in this plan is that updates are a bit easier with Cargo ("run this command" vs "visit this website"), but updates with cargo install already aren't that great so it's perhaps not that bad!

FWIW this came up when @fitzgen and I were talking today about the possibility of linking wasm-pack with binaryen directly, but requiring all users to have a C++ compiler (especially new users) can make for a bad first impression pretty easily unfortunately


defpackage remembers partial symbol names

When editing a defpackage form, it'll end up declaring partial names as you type. The compiler then gives "package also exports" warnings for those partial names. Only way I've found to clear the warning is to delete the package and reload it.

Added a package tree view with a way to remove unwanted exports.


"Hodișești", "Hudricești" are listed in the drop-down menu

Description:
When user writes "Hodișești" and "Hudricești" the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Hodișești"

Expected results
The location appears in the drop-down menu as "Hodișești, Alba (Bistra)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Hudricești"

Expected results
The location appears in the drop-down menu as "Hudricești, Alba (Bistra)"


Private Land Deduction (in pasture) showing percent as a decimal but should be showing (allowing entry) as a percent (i.e. 10 rather than 0.1)

@calebissharp RAN099953 (a record in test) is showing 10% when created in the iPad but displaying as 0.1 in web. I wonder if what happens right now is:

staff enter something like 10 in the field on the iPad
it being recorded as 0.1 in the table
I'm not able to check that.  Regardless of what is being recorded in the table, we want the field to be a whole number.

@calebissharp I just checked the agreement holder web version and it is also incorrectly displaying the private land deduction as a decimal rather whole number percentage (ex. 0.1 instead of 10). I think the decimal is needed because we use it in math for the schedule to calculate crown AUMs but staff need to be able to enter and see it as whole number.  Staff should never see or enter a value with a decimal here but that is what will be recorded in the table. Make sense?

@LisaMoore1 Yep, that clears up some stuff.

@calebissharp When something is back to being ready for me to test can you pull the "unresolved" label off? I think we talked about that workflow before but can't remember.

@LisaMoore1 Yep, that's the plan. Sorry, I've been a bit busy today with another project. Next week I'm going to resolve a bunch of these issues.

@calebissharp Thanks for fixing to show %. Can we have it to whole numbers only please (i.e. no decimal points)?  Thanks


mobileview table

Added responsive design to table.
Description

Related Issue(s)

#{issue number}

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Codecov Report
Base: 94.04% // Head: 91.72% // Decreases project coverage by -2.32% :warning:

Coverage data is based on head (fb752c3) compared to base (da71c71).
Patch coverage: 48.97% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
- Coverage   94.04%   91.72%   -2.33%
==========================================
  Files          82       82
  Lines        1142     1184      +42
  Branches      339      358      +19
==========================================
+ Hits         1074     1086      +12
- Misses         59       89      +30
  Partials        9        9

Impacted Files
Coverage Δ

src/components/Table/Context.ts
73.91% <ø> (ø)

src/components/Pagination/Pagination.tsx
57.62% <40.62%> (-18.69%)
:arrow_down:

src/components/Table/TableCell.tsx
53.24% <43.63%> (-8.16%)
:arrow_down:

src/components/Map/Map.tsx
90.00% <100.00%> (-1.43%)
:arrow_down:

src/components/Table/Table.tsx
93.33% <100.00%> (+2.42%)
:arrow_up:

src/components/Table/index.ts
100.00% <100.00%> (ø)

src/components/index.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I took the liberty of converting this to draft, while you're working on it alongside the related task in app-frontend. Just let me know when you're ready (I believe you can mark it as ready and request a review in github, which will let me know).


Wrong parameter name

In section "Create PostgreSQL database using the psql command-line utility", step 1 provides the description "Specifies the PostgreSQL server port, which is 5432 by default." for "host" parameter for the second time. Should be "port" instead.

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

ID: 42aebd73-b9e2-c565-cb51-4212c6675087
Version Independent ID: feb7b212-4f0d-6c55-37fd-d5b383863bc9
Content: How to use Spring Data JPA with Azure PostgreSQL
Content Source: articles/java/spring-framework/configure-spring-data-jpa-with-azure-postgresql.md
Service: postgresql
GitHub Login: @bmitchell287
Microsoft Alias: brendm

@carniwar thanks for catching this! I've updated the topic and will close this issue when the change goes live.


You are not authorized to use this bot.

From what I see, this is related to the telegram, but I wonder why I got this You are not authorized to use this bot. even though I already use the token with ID from botFather
Thanks

If you are providing a TELEGRAM_ID, make sure it belongs to your user. Otherwise, you can leave it empty. Make sure to restart the program after you change the config!

Ouch my bad, thanks for the clarification!

If you want to get your telegram id. You can follow the link.
https://www.alphr.com/telegram-find-user-id/


Support for KDE / Qt apps

Kvantum might be relevant.

plasma-manager might be helpful here, as well.

Actually enabling the colour scheme could be as simple as a user systemd oneshot service, triggered on login and on system rebuild, that calls plasma-apply-colorscheme and the path to the colour scheme. Actually generating a qt colour scheme from a base 16 template is another story though, maybe this project would be able to help.

Btw Themix/Oomox can theme QT apps by exporting base16 colors to ~/.config/Trolltech.conf. Themix -> in right-upper corner arrow down -> Base16... -> Application: kde -> export path: ~/.config/Trolltech.conf

This is looking great! Please do create a pull request.
Something like {{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}} should work for kdeglobals.
https://github.com/tinted-theming/home/blob/main/builder.md#template-variables

Thanks!
It was great help and thank to theemix team for making this - https://github.com/themix-project/themix-plugin-base16/blob/master/templates_extra/kde/templates/default.mustache
So I just pasted close to appropriate values:
Trolltech.conf.mustache
[ColorEffects:Disabled]
Color=56,56,56
ColorAmount=0
ColorEffect=0
ContrastAmount=0.65
ContrastEffect=1
IntensityAmount=0.1
IntensityEffect=2

[ColorEffects:Inactive]
ChangeSelectionColor=true
Color=112,111,110
ColorAmount=0.025
ColorEffect=2
ContrastAmount=0.1
ContrastEffect=2
Enable=false
IntensityAmount=0
IntensityEffect=0

[Colors:Button]
BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
BackgroundAlternate={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundInactive=127,140,141
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
ForegroundVisited=127,140,141

[Colors:Complementary]
BackgroundAlternate=59,64,69
BackgroundNormal=49,54,59
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundInactive=175,176,179
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
ForegroundNormal=239,240,241
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
ForegroundVisited=61,174,230

[Colors:Selection]
BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
BackgroundAlternate=255,0,0
DecorationFocus=0,255,0
DecorationHover=0,0,255
ForegroundActive=252,0,0
ForegroundInactive=0,240,0
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
ForegroundVisited=189,195,0

[Colors:Tooltip]
BackgroundAlternate={{themix_BG-rgb-r}},{{themix_BG-rgb-g}},{{themix_BG-rgb-b}}
BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundInactive=189,195,199
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
BackgroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
ForegroundVisited=127,140,141

[Colors:View]
BackgroundAlternate={{themix_BG-rgb-r}},{{themix_BG-rgb-g}},{{themix_BG-rgb-b}}
BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundInactive=127,140,141
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
ForegroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
ForegroundVisited=127,140,141

[Colors:Window]
BackgroundAlternate={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
BackgroundNormal={{themix_BG-rgb-r}},{{themix_BG-rgb-g}},{{themix_BG-rgb-b}}
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundInactive=127,140,141
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
ForegroundNormal={{themix_FG-rgb-r}},{{themix_FG-rgb-g}},{{themix_FG-rgb-b}}
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
ForegroundVisited=127,140,141

[General]
ColorScheme=Breeze
Name={{scheme-name}}
shadeSortColumn=true

[KDE]
contrast=4

[WM]
activeBlend={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
activeBackground={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
activeForeground={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
inactiveBlend={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
inactiveBackground={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
inactiveForeground={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}

and in home.nix:
home.file = {
	".config/qt5ct/colors/oomox-current.conf".source = config.lib.stylix.colors {
	        template = builtins.readFile ./dotfiles/qt5ct/oomox-current.conf.mustache;
	        extension = ".conf";
	      };
    ".config/Trolltech.conf".source = config.lib.stylix.colors {
	        template = builtins.readFile ./dotfiles/Trolltech.conf.mustache;
	        extension = ".conf";
	      };
    ".config/kdeglobals".source = config.lib.stylix.colors {
	        template = builtins.readFile ./dotfiles/Trolltech.conf.mustache;
	        extension = "";
	      };
    ".config/qt5ct/qt5ct.conf".text = pkgs.lib.mkBefore (builtins.readFile ./dotfiles/qt5ct/qt5ct.conf);
    ".config/kdeglobals".source = ./dotfiles/kdeglobals;
};
home.packages = with pkgs; [
     qt5ct pkgs.libsForQt5.breeze-qt5
];
home.sessionVariables = {
    QT_QPA_PLATFORMTHEME="qt5ct";
  };
qt = {
    enable = true;
      style.package = pkgs.libsForQt5.breeze-qt5;
      style.name = "breeze-dark";
  };

Thou it still isn't proper solution because kate for some reason don't like this approach and ends in having semi-breeze semi-base16 colors. I guess that's because kate (as far as I know) was updated with with newer qt6 libraries and I have no idea why they doesn't like qt5ct... I guess I should place proper "breeze"-base16 theme as prescribed in Trolltech.conf. So, there is still things to do

@Casul51 any progress on this if you dont mind me asking?

@Casul51 any progress on this if you dont mind me asking?

Don't have time right now :(

@Casul51 Thanks for your work on this - I found it looks better if we remove qt5ct and configure everything through kdeglobals. I tweaked the colour choices to match the new style guide and it's now available on master.
Kate is still missing some styles as you mentioned - I think it needs a separate configuration file.

This broke eval for my config:
 error:
       … while evaluating a branch condition

         at /nix/store/b6028bvfc4fvg8qvlqvvj4ldqwalc9cs-source/lib/attrsets.nix:600:13:

          599|             name: value:
          600|             if isAttrs value && cond value
             |             ^
          601|               then recurse (path ++ [name]) value

       … in the left operand of the AND (&&) operator

         at /nix/store/b6028bvfc4fvg8qvlqvvj4ldqwalc9cs-source/lib/attrsets.nix:600:30:

          599|             name: value:
          600|             if isAttrs value && cond value
             |                              ^
          601|               then recurse (path ++ [name]) value

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: The option `home-manager.users.bemeurer.qt.style.name' has conflicting definition values:
       - In `/nix/store/ws9a0ar7k27zfg4ljx2j92pfglkl7645-modules/kde/hm.nix': "breeze"
       - In `/home/runner/work/nix-config/nix-config/users/bemeurer/graphical/linux.nix': "adwaita"
       Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
       ```

I know I can solve it with `mkForce`, but it's not clear to my why that attr is being set at all when I do not use KDE.

It works for me but most of my apps aren't using theme or using it partially.qt5ct is more ugly but more reliable thou I don't want switch it back :D
Gonna try to combine with breeze-dark to don't kill my eyes with so much white

it's not clear to my why that attr is being set at all when I do not use KDE

Within Home Manager there's no way to detect which desktop environment is in use, so it's enabled by default.

most of my apps aren't using theme or using it partially

Maybe one of us has some imperative config left over in our home directory.

For me it's like on peacture:

okular fits theme  + keepass don't fit at all
I've tried to delete all QT / KDE relative config files and it didn't helped at all. I will try to run on separate user when I have more time

I found out my culprit: kdeglobals - file doesn't exist. And I have no idea why...

@NovaViper see #74


Add JavaVersion.getName() back

Context
See #4856 :
When user click Gradle refresh button or import a gradle project in IDEA, IDEA will apply an internal init.gradle via Tooling API. However, this script uses JavaVersion.getName(), which is a private method here: https://github.com/JetBrains/intellij-community/blob/36a3503c9b72d5b79f3aba13360f4937706aec08/plugins/gradle/tooling-extension-impl/src/org/jetbrains/plugins/gradle/tooling/builder/ExternalProjectBuilderImpl.groovy#L207
After we refactored JavaVersion in #4759 and removed that private method, the IDEA-Gradle integration is broken, as reported by @timyates :
<ij_msg_gr>Project resolve errors<ij_msg_gr><ij_nav>/Users/tim/Code/Work/dotcom/buildSrc/buildSrc.gradle<ij_nav>root project 'buildSrc': Unable to resolve additional project configuration.<eol>Details: groovy.lang.MissingPropertyException: No such property: name for class: org.gradle.api.JavaVersion

This is a huge influence. I'm very much reluctant to add getName() back, but seems we still need to.

Thanks @eskatos !


Testing: OAI-PMH is not updated after Item update

This is not true, just tested and OAI-PMH data are changed immediately - on dev5:8443


New file not showing in Next project, but import working nonetheless

Describe the bug
Hello,
I created a utils/SupabaseClient.js file, as recommended in the Supabase documentation. I import it in the index.js page, and it works, but the Stackblitz editor show the utils folder as empty, and on Github the utils folder doesn't show at all.
Best regards
Link to the blitz that caused the error
https://stackblitz.com/edit/nextjs-bxym8z?file=pages%2Findex.js
Steps to reproduce

Go to index.js file, see the import
Check that the two posts are rendered

Expected behavior
I expect the utils/ folder to contain the file with the supabaseClient
I expect the utils/ folder to appear on Github
Parity with Local

[ ] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Browser name  = Chrome
Full version  = 88.0.4324.96
Major version = 88
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 83759928,
  "usedJSHeapSize": 74330788,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = 05388ae171e3a0a12539f1efbda0fa1189d4f549

Additional context
No response

Hey @ben21! I'm trying to look into this for you, but I'm having trouble reproducing this.
We recently pushed up some updates though that might've fixed this. Could you check to see if this is still a problem?

Closing this issue due to inactivity.


feat: bump version

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


fix(iis): deep merge configs

🔗 Linked issue

Closes #2350
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

deep merge use defu
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

@pi0 Can you help merge these? The current CI timeout error was not caused by this merge.


Moving from Errors to Warnings in power grid checker

Changing errors to warnings for unconnected PDNs.

Austin will change the flow to prevent the exit on Error messages. So this is not needed.


Check Endianness / get csnippet output

Is your feature request related to a problem? Please describe.
I am trying to detect the endianness of the platform I am compiling on. I do not know how to get the output of a program with configvar_check_csnippets or lib.detect.check_cxxsnippets. Is there a way to find out the endianness, or, get the output of the above commands?
Describe the solution you'd like

if(is_endian("little") or is_endian("big"))
configvar_check_endianness("MY_CONFIG_ENDIANNESS")
lib.detect.get_csnippet_output('int x = 1; printf("%d",*(char*)&x == 1);')

You only need detect it in c/c++ code. for example:
// words endian
#ifdef __BYTE_ORDER__
#   if __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__
#       define TB_WORDS_BIGENDIAN
#   endif
#endif
#if defined(MIPSEB) || defined(_MIPSEB) || defined(__MIPSEB__)
#   define TB_WORDS_BIGENDIAN
#endif

// float endian
#ifdef __FLOAT_WORD_ORDER__
#   if __FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__
#       define TB_FLOAT_BIGENDIAN
#   endif
#endif

configvar_check_csnippets only try to compile and link the snippet code, but do not run it. so it  can only do some compile-time testing.


Latest CRA installation is generating stream of websocket errors if i specify a PORT in .env file.

Describe the bug
My most recent install of create-react-app has broken HMR/fast refresh which has previously been working for a dozen or so test projects I have set up using the same environment. I am accessing my server through an ngninx proxy to re-route to a port defined in my project .env file.
There appears to be a problem with the client attempting to use the PORT specified in the env file to reach back to the server. I dont think this is right and I cant find anyway to override it using .env file settings. I have reverted to a recent working package.json file from which i conclude there is some recent modification that has broken fast refresh for proxied sites.
I am supplying a package.json for the broken install and a working install for side-by-side comparison. To test if this was a problem with a different environment or other settings i removed the broken (latest) package.json and replaced with a working version and fast refresh works just fine so it has to be an issue with a module in the latest install which i hope can be identified from the package.json comparison.
(Write your answer here.)
Did you try recovering your dependencies?
yes i deleted node_modules and reinstalled and then i resorted to a last know working package.json file which works as expected.

i rebuilt the node_modules using the corrupted (latest) package.json and the problem persist.
Which terms did you search for in User Guide?
I have been searching all over the internet for related problems and none of them resolves the issue other than replacing package.json with a last know working installation and rebuilding node_modules.
(Write your answer here if relevant.)
Environment

sorry this is not useful but this is my systems reply to the npx command
bash-5.1# npx create-react-app --info
Need to install the following packages:
create-react-app
Ok to proceed? (y)
Steps to reproduce

(Write your steps here:)

install using package.json.1
add .env file to project. see below
configure nginx using proxy to redirect to port in env file. see below
run npm start and observe a steady stream of websocket errors in the browser (see image 1)
delete node_modules and replace package.json.1 with package.json.2
run npm start and observe that fast refresh is working correctly in the browser

.env file
PORT = 3300
PUBLIC_URL = '/'

nginx proxy configuration
server {
    listen 80;
    server_name rtkq.syntapse.co.uk;
    location / {
        proxy_pass http://<IP_ADDRESS>:3300;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}

package.json.1 from most recent installation (results in broken websockets - see screenshot below)
{
  "name": "my-app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.16.1",
    "@testing-library/react": "^12.1.2",
    "@testing-library/user-event": "^13.5.0",
    "@types/jest": "^27.4.0",
    "@types/node": "^16.11.19",
    "@types/react": "^17.0.38",
    "@types/react-dom": "^17.0.11",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-scripts": "5.0.0",
    "typescript": "^4.5.4",
    "web-vitals": "^2.1.2"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

package.json.2 (correct operation  - see screenshot below)
{
  "name": "typedux",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@reduxjs/toolkit": "^1.7.1",
    "@testing-library/jest-dom": "^5.14.1",
    "@testing-library/react": "^12.0.0",
    "@testing-library/user-event": "^13.2.1",
    "@types/jest": "^26.0.24",
    "@types/node": "^16.4.13",
    "@types/react": "^17.0.16",
    "@types/react-dom": "^17.0.9",
    "@types/react-redux": "^7.1.18",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-redux": "^7.2.4",
    "react-scripts": "4.0.3",
    "typescript": "~4.3.5"
  },
  "scripts": {
    "start": "react-scripts --openssl-legacy-provider start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

Expected behavior

The tool behaves correctly when i build the project with package.json.2 without changing any other part of the project
Actual behavior

The react app generates a steady stream of websocket connection errors when i use package.json.1. See screenshots below. It works if I rebuilt the project using package.json.2
(Write what happened. Please add screenshots!)
screenshot showing websocket errors in browser using package.json.1

note the reference to the port specified in the .env file
screenshot showing correct network operation using package.json.2

note the env file remains the same but the browser is not making explicit reference to server ports.
Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

I found a workaround for a similar issue in https://github.com/facebook/create-react-app/issues/11897#issuecomment-1007206461, does it resolve the problem for you?


Broken link to RHUI update page

https://docs.microsoft.com/en-us/azure/virtual-machines/linux/rhel-images#current-naming-convention
The link to RHUI update page is broken, it points to https://aka.ms/rhui-udate instead of http://aka.ms/rhui-udate

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

ID: 768ba2bd-c8a7-9393-2cfd-387a3fc27783
Version Independent ID: fd920bf1-26ab-5b26-2f45-97ec1d0303ca
Content: Red Hat Enterprise Linux images in Azure
Content Source: articles/virtual-machines/linux/rhel-images.md
Service: virtual-machines-linux
GitHub Login: @BorisB2015
Microsoft Alias: borisb

Thanks for the feedback! We are currently investigating and will update you shortly.


committing-devs.gpg blindly trusted

I was happy to see that blog post announcing this tool. Although not a gentoo dev,  this could still be useful for users . I have taken a quick  look at gvgit and discovered some potential issues:
The script assumes that https://qa-reports.gentoo.org/output/committing-devs.gpg has not been tampered with. What is the process that generates the keyring, or who does it? But that may not even be relevant, an attacker that compromises the infrastructure may also perhaps compromise that qa-reports server. People will run gverify, which will fetch the compromised commiting-devs.gpg (unless cache is still fresh enough, but that is just luck then) and all checks will pass.
The security also then completely relies on https and the certificate authority system, since no cert pinning is used. Furthermore, it assumes that the wget it uses from PATH will correclty handle https connection. While perhaps a fair assumption for GNU wget, this is not true for busybox wget, which does not check certificates. Currently however, (luckily) it wouldn't work with busybox wget anyway, since it doesn't have the -N option. Thus, perhaps the commting-devs.gpg should itself be signed, which then of course is only of value if it not an automated signing key.
I realize it's a "Trivial gentoo.git signature verification tool", but I'm afraid due to the issues mentioned above, at this time it may not be a sufficient way to protect users and devs against some more sophisticated attacks on infrastrucuture servers.

The bundle is used merely to fetch keys. Authentication is done through gkeys seeds. However, this needs to change anyway as gkeys are dead.


Add metrics endpoint

Description
Is it possible to add the metrics endpoint to the OpenAPI for generation? I'm moving an API from typescript to go, and it seems to be the only endpoint missing.
Steps to reproduce

Expected Behavior

Actual Behavior

Metadata
Typesense Version:
OS:

Take a look at this github.com/aliml92/go-typesense.


Issue in extracting links if they are just extracted by commas

I had been trying to separate URL with
String res = " https://www.gooogle.com,https://facebook.com and www.googlle.com";
Now this gives me the result.

https://www.gooogle.com,https://facecbook.com
www.googlle.com

But the required result must be

https://www.gooogle.com
https://facebook.com
www.googlle.com

I think this library does not extract links even if they are separated by commas.
Look if anyone can help with this.
Thank You.

Hey, thanks for reporting this. Unfortunately, URLs can contain commas without having to be escaped. So if we split URLs on commas, we'd split up potentially valid URLs and break them.
Note that GitHub has the same logic of not splitting on commas, as you can see in your comment.


Package rn-image-transform.js

Right now any project that uses this package needs to manually copy the rn-image-transform.js from the git repo into the project and reference it in the jest setup.
This diff changes rn-image-transform.js so that it calculates image paths relative to the project root rather than relative to the rn-image-transform.js file's location.
It also updates package.json to package rn-image-transform.js.

ah very cool


How many sausages are you ordering?

Make new noms as config driven as possible (For example, define once in JSON config with no/minimal code changes).
Ditto new fields (though harder given model validation and form field complexity.
AB#96

Closing and merging into https://github.com/keithamoss/demsausage/issues/90


binding "jk" breaks typing Russian

I have binded "gj" for switching to command mode
{         "command": "vscode-neovim.compositeEscape1",         "key": "g",         "when": "neovim.mode == insert && editorTextFocus",         "args": "g"     },     {         "command": "vscode-neovim.compositeEscape2",         "key": "j",         "when": "neovim.mode == insert && editorTextFocus",         "args": "j"     }
and when I'm typing in Russian, instead of "п" or "р" editor types "g" or "j" accordingly.

yes please fix this is annoying bug:(

did you find a solution?

yes, switched back to vscodevim :)

Duplicate of #653


Multiple boxes and few points to remove certain region within certain box

As you can see in the image above, I would like to segment the image above using 5 boxes as input. Within the 5 boxes, I will need to refine 1 of the box by specifying the points onto it. How can I merge the masks? Below are the codes I used to draw the boxes and points.
input_boxes = torch.tensor([
    coordinates[0],
    coordinates[1],
    coordinates[2],
    coordinates[3],
    coordinates[4],
], device=predictor.device)

transformed_boxes = predictor.transform.apply_boxes_torch(input_boxes, image.shape[:2])

# green / red points
input_point = np.array([[[875, 400]], [[1160, 400]], [[900, 630]], [[1145, 630]],[[0,0]]])
input_label = np.array([[1], [1], [0], [0], [-1]])

# Show result
plt.figure(figsize=(10, 10))
plt.imshow(image)

for point, label in zip(input_point, input_label):
    print(point, label)
    show_points(point, label, plt.gca())

input_point = torch.from_numpy(input_point).to(device=device)
input_label = torch.from_numpy(input_label).to(device=device)

masks, _, _ = predictor.predict_torch(
    point_coords=input_point,
    point_labels=input_label,
    boxes=transformed_boxes,
    multimask_output=False,
)

Desired Output:

Could you explain what you mean by "merge the masks"? The mask are 2d arrays.
Do you just want to logically-or them together.
total = np.zeros(masks[0].shape)
for mask in masks:
     total = np.logical_or(total > 0, mask > 0).astype(np.int8)

Could you explain what you mean by "merge the masks"? The mask are 2d arrays. Do you just want to logically-or them together.
total = np.zeros(masks[0].shape)
for mask in masks:
     total = np.logical_or(total > 0, mask > 0).astype(np.int8)

Yes, that's what I meant to say, thank you very much ^^


Create local development env for SSO

What's Changed

Added the ability to ship a prebuilt keycloak container for local sso development
Provides ability to smoke test social auth core integration
Precursor to multiple sso

TODO

[ ] Explanation of Change(s)
[ ] Documentation Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

Would we gain anything by running the container in dev mode?

Is it normal for the SSO credential to get cached? Ex

Login to Nautobot with SSO
Logout of Nautobot
Click login again, click login with SSO
Automatically logged in with the same SSO user that you logged in with before

The caching of creds is actually a cached session with keycloak not cached with nautobot. The timeout/auth settings can be updated from keycloak if you would like to chance this behavior.

@gsnider2195 dev mode may give more logging but I am not familiar enough to say for sure. Please review the updated docs I just added.

@glennmatthews @gsnider2195 @bryanculver Outside of adding the documentation, I have resolved all outstanding items. If we are good with how it's implemented I will start the SSO dev docs. If you could 👍 this comment to let me know it would be appreciated.

If you forget to run invoke provision-sso and try to bring up the keycloak container docker ends up creating a development/nautobot-realms.json/ directory which breaks subsequent calls to invoke provision-sso. Can we use a small bash or python script to generate that json file when the container starts up instead of using a separate invoke command? I think this would be a better developer experience

Still waiting to convert the invoke provision_sso logic into something that happens in the keycloak container at runtime.

Please also address merge conflicts.

@nautobot/core having this in place will help for #3142


Fix producer cache key for JSON schema

The key used to cache producers includes the producer schema.
This works well for primitive schema types and for complex schema types when the schema is the exact same instance. However, the schema contract does not enforce equals/hashCode.
This results in cases where 2 producers using the same type of schema are not matching in the cache (eg. Schema.JSON()).
This commit fixes this by using the schema hash for matching rather than the schema itself.
ℹ NOTE we ran into this issue in Spring for Apache Pulsar and solved it the same way in this PR. As part of the code review alpreu investigated if SchemaHash was safe to use (wrt to private/public API) and we came to the conclusion it is for now. Alexandar also created PIP-197 so we can avoid things like this in the future.

Good catch and great work, thanks @onobc !


fix: Android WireUpControls throws exception in VS2019

Removed the assumption that the array holds a correct list as it's now alphabetical except for mscor.lib
Changed the assumption to the calling assembly as this is "generally" the Assembly that will want to wire up the controls

What kind of change does this PR introduce?
Fixes #1993
What is the current behavior?
When using ReactiveUI.Android it crashes the entire app due to the compiler in VS2019
#1993
What might this PR break?
It assumes that the WireUpControls being called will be called from the Assembly that is interested in wiring up controls
Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)

Unsure how to test this correctly, please advise which Test Solution to write this in?

[ ] Docs have been added / updated (for bug fixes / features)

Other information:

This looks good. Thanks

Going to close this one due to @clintonrocksmith  doing a rewrite which will be ready for the weekend.


Proposal Feedback

Would it be possible to get proposal feedback before the deadline? I know there is an option to send a draft, but would that be read by Salesforce GSoC people?
Thanks.

@tovbinm I'm guessing this is directed at your project.

Please email me at<EMAIL_ADDRESS>


feat: task json output

Problem description
This idea is inspired from the list --json and provides some ground work for new features regarding the tasks:

one of the features for the vscode extension is creating a Task Provider where users can easily run tasks for a project.

 proof of concept

Ideally, I'd like to add separators in the dropdown menu for environments and features, and the user can start typing either of them and vscode will match on any of those fields.

As my projects grow, it actually becomes pretty difficult to remember what all my tasks do, and passing as many people work on it, it would be useful to provide context without peers needing to sift through the config file. There was a good idea to https://github.com/prefix-dev/pixi/issues/1113 , and taking that a step further I think it might be helpful to give users a structured understanding of the tasks as well through a tree breakdown.

 proof of concept `tree`

I think both of these would greatly benefit from a structured description of the tasks. just fooling around with the code, I started with mirroring the way the packagetojson works with whatever information was stored:

 proof of concept

I think we would just need to add some information regarding which environment and feature the task belongs to.

 high level representation?
{
  "envs": [
    {
      "<ENVIRONMENT_NAME>": [
        {
          "<FEATURE_NAME>": [
            {
              "<TASK_NAME>": {
              ...
              }
            },
            {
              "<TASK2_NAME>": {
              ...
              }
            }
          ]
        },
        {
          "<FEATURE2_NAME>": [
            {
              "<TASK3_NAME>": {
              ...
              }
            }
          ]
        }
      ]
    },
    {
      "<ENVIRONMENT2_NAME>": [
        {
          "<FEATURE3_NAME>": [
            {
              "<TASK_NAME>": {
              ...
              }
            }
          ]
        }
      ]
    }
  ]
}

Posting as an idea right now, as I realized this can get very complicated very quickly:

in my case, the environments are exclusive for the most part, features dont belong to multiple environments
it looks like there are different types of tasks (Plain, Execute, Alias, Custom).
I have yet to implement a pixi.feature.target.<platform>.task but that might need to be accounted for if those are exclusive to platforms.

in general I think the structured output can just be exhaustive but looking for insight on if there are any glaring flags in this idea

closed by #2608


Bluetooth LE support

Does the HoloLens not support Bluetooth LE devices?
DeviceWatcher and AdvertisementWatcher can find our device, but when querying GATT services there is a catastrophic failure exception. Seems like GATT discovery is either not implemented or something else. BT 5 usually means BLE is supported.
If not is this on the roadmap? If it is on roadmap when can we expect support?

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

ID: 4ff4a915-cffe-849d-800b-7f339ddb01c0
Version Independent ID: 6f1c3aa3-8a90-ed5e-9d93-3f09680acaa8
Content: Connect to Bluetooth and USB-C devices
Content Source: devices/hololens/hololens-connect-devices.md
Product: hololens
Technology: windows
GitHub Login: @Teresa-Motiv
Microsoft Alias: v-tea

https://docs.microsoft.com/hololens/hololens-faq#hololens-settings-lists-devices-as-available-but-the-devices-dont-work
"You can pair other Bluetooth HID and GATT devices together with your HoloLens. However, you may have to install corresponding companion apps from Microsoft Store to actually use the devices."
Is this helpful?

Can you check to see if that's true with HoloLens 2? It seems that it cannot read GATT devices at all. We are writing a companion app.
Thanks!


Temp resource in copy from to

potential race condition here:
https://github.com/apache/incubator-mxnet/blob/master/src/ndarray/ndarray.cc#L472
resource.var should be pushed to engine.

Also we should print warning message when cast_storage happened during CopyFromTo

fix here, https://github.com/apache/incubator-mxnet/pull/8867


Dark theme doesn't work properly

Describe the bug
When I set dark theme and click on button it will quickly change colors from white to gray.
Screenshots

Desktop (please complete the following information):

OS: Win 11
FluentAvalonia Version 1.1.8
Avalonia Version 0.10.11

Could you show your App.axaml?

<Application xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:sty="using:FluentAvalonia.Styling"
             xmlns:ui="using:FluentAvalonia.UI.Controls"
             xmlns:uip="using:FluentAvalonia.UI.Controls.Primitives"
			 x:Class="AvaloniaApplication.App">
	<Application.Styles>
		<sty:FluentAvaloniaTheme/>
        <FluentTheme Mode="Dark"/>
    </Application.Styles>
</Application>

Could you try removing <FluentTheme Mode="Dark"/>?


Bash Error: 0x80070005

Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!

A brief description
Trying to start bash and got Error: 0x80070005
Expected results
Get the bash prompt and continue.
Actual results (with terminal output if applicable)
Error: 0x80070005
Press any key to continue...
Your Windows build number
Version 1703 (OS Build 15063.138)
Steps / All commands required to reproduce the error from a brand new installation

Install package required for yocto build:
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect libsdl1.2-dev xterm
Get Yocto project using "git clone git://git.yoctoproject.org/poky". Before it complete, hit control-C to stop it.
Close the power shell window.
Open a new power shell window and enter "bash", got error 0x8007005
Restart windows and try again, same error.
Attempted to delete files in %localappdata%\lxss in admin power shell failed.

There were issues like this reported, seem not for creator update. The way I see it means I cannot recover without uninstall bash. Not a preferred option.
Trace enclosed.
lxcore.zip

Strace of the failing command

Required packages and commands to install

See our contributing instructions for assistance.

In step 6, I meant files in %localappdata%\lxss\temp. I tried to delete them but failed.

Thanks for reporting. I have a repro of this locally and will debug this.

Marking as a duplicate of #651.


Full configuration of kafka by enviroment variables

Is there any chance of getting this merged? I can build my own image, but this would be a nice addition (wanting to set delete.topic.enable=true)


libpcl and libpcl-dev for wily and xenial

See: http://packages.ubuntu.com/search?suite=xenial&searchon=names&keywords=libpcl

+1


Mirek/definition strings

Optional definition names + possible to configure

Great Mirek! What is the next step on this? Are we ready to test this on ministdlib? Or did you already do this?

I think the next step is for me to review these changes before merging into main, but in the meantime tests on mini-stdlib can be run if they haven't been run already...

As a side note, @mirefek can you check your git sign-off workflow? It looks like GitHub is unhappy with "Olk Miroslav<EMAIL_ADDRESS>in place of "Mirek Olsak<EMAIL_ADDRESS>and some other commits are unsigned (note that merging another branch into the branch you are working on involves creating a commit, so you have to git commit --amend --signoff immediately afterwards)

As a side note, @mirefek can you check your git sign-off workflow? It looks like GitHub is unhappy with "Olk Miroslav<EMAIL_ADDRESS>in place of "Mirek Olsak<EMAIL_ADDRESS>and some other commits are unsigned (note that merging another branch into the branch you are working on involves creating a commit, so you have to git commit --amend --signoff immediately afterwards)

I thought it is only unhappy with the unsigned commits (I forgot to sign them some time ago, and I didn't properly understood how to fix them). How do you see that it is also unhappy with the Ols Miroslav?

Maybe see if this link works for you:
https://github.com/IBM/graph2tac/pull/57/checks?check_run_id=7860851275
The summary at the bottom says:
Commit sha: a0ce2c0, Author: Mirek Olsak, Committer: Mirek Olsak; Expected "Mirek Olsak<EMAIL_ADDRESS>but got "Olk Miroslav<EMAIL_ADDRESS>Commit sha: 5d2a24f, Author: Olk Miroslav, Committer: Olk Miroslav; The sign-off is missing.
Commit sha: 945e6d9, Author: Olk Miroslav, Committer: Olk Miroslav; The sign-off is missing.
Commit sha: b246950, Author: Olk Miroslav, Committer: Olk Miroslav; The sign-off is missing.
(Note that there's also instructions to fix this)

I found a number of issues @mirefek and @fidel-schaposnik.  The issues aren't so much with the previous code setting up the tokenizer.
Technically if we are using a tokenizer without an explicit vocabulary, that is a trained model.   (And we do appear to be training the model here with adapt.) In particular:

The tokenizer should be be trained on only the training set.

As far as I can see it is being trained on all the data.

When we save our model we also need to save the tokenizer.

I can’t see where it is being saved

When we load our model we should load the tokenizer (instead of retraining it).

I can’t see where it is being loaded.
In training it appears to re-trained from the data (if say one is restarting the training from a checkpoint).
Retraining the tokenizer and expecting the same outcome requires that both adapt is deterministic and the dataset is the same as with the previous checkpoint.  These are not safe assumptions.

When we apply our model to new data (as we do when updating definitions during benchmarking) we apply the trained tokenizer to the data.

The only place that tokenize_definition_graph is being called is in training.
I think the definition embeddings recreation would crash since the model would expect “definition_name_vectors” in the definition graph, but it wouldn't be there.
tokenize_definition_graph should also be called everywhere we create a tfgnn definition graph consistantly.  I can’t find the specific code which does that, but it should be bundled with that code instead of something we do much later.

Another more radical approach is not to vectorize the names at the point of the data loader, but to do it inside the model.  So we will be passing strings to the model instead of vectors of integers.  That way the tokenizer would live in the model and be part of the model weights.  When one loads the model, they would also load the tokenizer.  One still needs to train a tokenizer before training the model.  But after that is done the tokenizer itself would be part of the model.  I don’t know if this is silly or not.  (I doubt tokenizing strings would slow down the definition task.)  But if we don't do this, then we would need to save and load the tokenizer alongside the model.
Another quick fix would be to use a fixed vocabulary for the tokenizer, so no training is required.  Then we wouldn’t train it with adapt.  Most of my bullets above would be null and void.  The only thing we would still need to do, is tokenize the definition graphs coming from recomputing definition embeddings in the server (and other places we recompute definition embeddings).

Putting the tokenizer inside the model would indeed be more elegant, and it was @mirefek 's original choice too, but unfortunately you cannot use tf.RaggedTensor objects of type tf.string in conjunction with tf.distribute.MirroredStrategy (i.e. with multi-GPU training). This is a problem because our graph clusters have a variable number of definition names, so they would produce such objects when batched if you simply include the definition names in the graph (instead of their tokenization, which results in tf.RaggedTensor objects of type tf.int32).
The solution I found was to move the tokenizer to the input pipeline, which runs on the CPU anyway, but indeed this brings its own bag of (more minor) issues. I think the simplest solution, at least in order to test whether this idea helps at all, is to use a fixed vocabulary for the tokenizer and then mostly forget about it. Otherwise, one should indeed pay close attention to how the tokenizer is trained, saved and reloaded.
Finally, I was under the impression that @mirefek had already implemented the re-computation of new definitions during evaluation, but indeed it seems strange that no tokenization is going on. I'd say that at least tokenize_definition_graph should be called here: https://github.com/IBM/graph2tac/blob/1cc028c46449c53fa724d90b74e85e465291a8c6/graph2tac/tfgnn/predict.py#L308 . Then hopefully if the model was saved with a layer for definition names the rest should be mostly fine, though that remains to be checked...

Ok, so for now, I think Fidel is saying the simplest approach is:

To use a fixed vocabulary in here.  The vocabulary for Coq names is a-zA-Z0-9_'. (plus unicode which we can skip for now).  Don't forget the period (.).
Remove adapt here since we are no longer training the adapter if using a fixed vocab.
Add a call to tokenize_definition_graph here and anywhere else we are recomputing definitions.

I would be supportive of this.

Where does this stand?  Is it ready to be merged?

Next I'm going to benchmark this to make sure it works there.  Also, I want to wait until the names are in before merging.


Documentation needs usage information.  How To

Documentation needs to be updated with usage examples.
The installation instructions simply instruct you how to use common vscode extension installation functionality... I know how to find extensions and install them.  What I've found most of us need is information on "setup" after the extension is installed.

This is addressed in the sections https://github.com/stef-levesque/vscode-perforce#activation and https://github.com/stef-levesque/vscode-perforce#source-control-in-vs-code .
Feel free to add or request more info in the README.md