WSL2: Programms e.g. git exiting unexpectedly

Windows Build Number
11.0.22000.194
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Debian 11.0
Other Software
PhpStorm 2021.2.2
Build #PS-212.5284.49, built on September 16, 2021
git version 2.30.2
nginx/1.18.0
PHP 8.0.11 (cli) (built: Sep 23 2021 22:04:05) ( NTS )
Repro Steps

Starting up the environment
Starting up services nginx, php-fpm
Starting PhpStorm within Windows and working for a while on the code in the git repos located within WSL

Expected Behavior

Being able to use WSL as a dev environment without the necessity for a reboot to be able to continue work
No unexpectedly exiting applications anymore

Actual Behavior

From time to time git exits unexpectedly with code 1
Also in the terminal session itself git sometimes just freezes
After several time passed WSL completely freezes and even LxssManager can not be restarted
A reboot is required to get things to work again for a while

Diagnostic Logs
Excerpt of dmesg right after the issue happend:
[  901.884823] init[20337]: segfault at 564e454c536f ip<PHONE_NUMBER>262c2c sp 00007ffeee6a6fa0 error 6 in init[257000+ed000]
[  901.884829] Code: 48 39 c8 75 1d 48 c7 c0 fe ff ff ff 44 89 e9 48 d3 c0 f0 48 21 05 fc 4a 0f 00 49 8b 4f 10 49 8b 47 18 48 89 48 10 49 8b 4f 10 <48> 89 41 18 49 8b 47 08 48 89 c1 48 83 c9 01 49 89 4f 08 48 83 e0
[  901.884834] potentially unexpected fatal signal 11.
[  901.884836] CPU: 15 PID: 20337 Comm: init Not tainted <IP_ADDRESS>-microsoft-standard-WSL2 #1
[  901.884843] RIP: 0033:0x262c2c
[  901.884845] Code: 48 39 c8 75 1d 48 c7 c0 fe ff ff ff 44 89 e9 48 d3 c0 f0 48 21 05 fc 4a 0f 00 49 8b 4f 10 49 8b 47 18 48 89 48 10 49 8b 4f 10 <48> 89 41 18 49 8b 47 08 48 89 c1 48 83 c9 01 49 89 4f 08 48 83 e0
[  901.884848] RSP: 002b:00007ffeee6a6fa0 EFLAGS: 00010297
[  901.884850] RAX:<PHONE_NUMBER>300000 RBX:<PHONE_NUMBER>000020 RCX: 0000564e454c5357
[  901.884851] RDX:<PHONE_NUMBER>357718 RSI:<PHONE_NUMBER>000003 RDI:<PHONE_NUMBER>000001
[  901.884852] RBP:<PHONE_NUMBER>357720 R08: fefefefefefefeff R09:<PHONE_NUMBER>808080
[  901.884854] R10: fefefefefefefeff R11:<PHONE_NUMBER>000206 R12:<PHONE_NUMBER>000020
[  901.884855] R13:<PHONE_NUMBER>000000 R14:<PHONE_NUMBER>000000 R15:<PHONE_NUMBER>3028f0
[  901.884857] FS:<PHONE_NUMBER>356ce0 GS:<PHONE_NUMBER>000000
[ 3029.277998] init: (13687) ERROR: Create:129: bind failed 98
[ 3128.007767] init: (14077) ERROR: Create:129: bind failed 98
[ 3131.144419] init: (14121) ERROR: Create:129: bind failed 98
[ 3135.575953] init: (14197) ERROR: Create:129: bind failed 98
[ 3149.998440] init: (14364) ERROR: Create:129: bind failed 98
[ 3178.126922] init: (14456) ERROR: Create:129: bind failed 98
[ 4025.063289] init: (15779) ERROR: Create:129: bind failed 98

I also have the same issue. I need to try open several bash windows to get one without 'process exited with code 1'.

This is utterly annoying. Some mentioned netsh winsock reset in similar issue but this does not work completely.

I've found a workaround on JetBrains' forum that works for me. This should give a better clue about the problem to the WSL2 devs as well:
rm -rf /run/WSL/*
Then everything works fine for few hours.

yeah, also solved this problem for the moment with the workaround described in https://youtrack.jetbrains.com/issue/IDEA-276250.
As it looks like a bug specific to Windows 11 (Windows 10 looks okay), when can we expect a fix for this from the developers?

Just wanted to add that I am experiencing a very similarly looking issue with WSL on Windows 10 for almost a year (on the Insider channel, Dev if I recall correctly) so I don't think that it is a Windows 11 specific issue, and probably not new at all.

If you are getting same error output as OP then init process failed at bind() function call with a Unix socket file. Does the program hook into the undocumented /run/WSL/*_interop Unix socket files? Would you like to try the WSL Store version from here https://www.microsoft.com/store/productId/9P9TQF7MRM4R

I swear this had gotten worse since upgrading to v0.61.4/5 but that might just be coincidence.
@OneBlue @benhillis would it be possible to get some eyes on this? (or a comment saying that eyes have been on it) It's a really barrier to being able to comfortably use JetBrains products on WSLv2, and so far I've not seen a lot of hope that this will get improved or fixed.
Everyone over on IDEA-276250 seems to think that #7883 is meant to be fix the problem, which you said a fix was being rolled out yet this problem remains; I also don't actually see a strong connection between this issue and that one (for one it's about Windows programs hanging inside WSL when I'd expect IntelliJ to be calling WSL programs from Windows + hanging wouldn't cause an exit code of 1 since by definition there is no exit) so am not sure why people are thinking this is the same issue.
Everyone keeps suggesting removing the interop sockets in /run/WSL but I again have not seen any solid explanation on why that is believed to be the problem and it doesn't actually fix the problem - I get this when I have old ~100 sockets, I get this when I have old ~900 sockets, and clearing out the sockets appears to have a minimal effect if any (definitely not enough to rule out correlation vs causation); not to mention that the clearing out breaks the ability to invoke Windows commands for all current processes (like terminals). Granted it does look there could be a bug as the number of sockets seems to steadily rise, but maybe that's because these processes are exiting incorrectly in the first place (so it's a symptom rather than the cause).
I've also not seen any indication that MS & JetBrains are working together on this, which seems silly - either JetBrains are really abusing WSLv2 somehow, which probably means there's some opportunity to improve WSLv2 by trying implementing "something" that'll let them do what they need to do in a stable way which would benefit others too (this problem occurs across the board in IntelliJ: ESLint, TypeScript, Node, Git, Ruby, rake, rubocop, go fmt, prettier, etc so I don't think this is a case of a very niche use-case), or there's a real bug in WSLv2 which should be fixed (pretty much for the same end reason: it'll make things better for everyone).
I would love to be wrong about this: maybe you folks are in deep discussions, maybe that issue is the fix it's just not completely rolled out yet (in which case it'd be cool to get that confirmed!), and so; but it's really frustrating to not see any engagement on something that is so disruptive - up until now I've avoided commenting because I know this (i.e. Linux Kernels, cross-vm communications, low-level OS apis, etc) is not my domain but I feel I'm at the point where I have to say something to try and poke the bear.
fwiw I'm able to reproduce this from PowerShell just with wsl.exe echo '$PWD':

It doesn't happen a lot, but it does happen - it actually feels like it happens more the less you do the command, e.g. if I run that command a bunch in a short period I generally won't hit this bug, but if I alt-tab away for a few minutes and come back it seems to happen first time. This could just be more coincidence though 🤷

Thanks for reporting this @G-Rath. Can you capture logs of a repro where wsl.exe fails and returns 1 ?

/logs

Here you go!
WslLogs-2022-07-02_11-56-34.zip

@OneBlue I'm assuming that those logs are not terminal/instance specific (so those were captured in an admin pwsh instance after I'd reproduced the issue in a second non-admin pwsh instance) but let me know if that's not the case and I'll capture the logs from the same terminal that I did the reproduction in

@OneBlue these logs might be better:
WslLogs-2022-07-02_12-04-53.zip
I think the way I was initially starting pwsh as an admin meant it didn't correctly handle the "press any key" part so it just immediately collected logs which I assume won't include the stuff you want.
These logs were done by:

Run the script until it says "reproduce the problem and press any key"
Reproduce the exit code 1 problem in another terminal
Press any key on the log terminal, and upload the results here.

Ok looking at the logs I see multiple things:
1 - Errors while accessing the terminal HANDLE. It doesn't appear to be fatal, but it's definitely unexpected
2 - A failed bind() call for the interop socket, which returns EADDRINUSE, which is probably what's causing wsl.exe to fail.
I'm not sure what the IDE is doing with WSL2 interop sockets, but it could explain this error.
After looking at this though I can confirm that this has nothing do with #7883.

I'm not sure what the IDE is doing with WSL2 interop sockets

As far as I know they're not doing anything specifically with the sockets, they're just calling wsl.exe to run commands like git, ruby, etc. Likewise when I'm doing wsl.exe echo '$PWD' from a native powershell which fails for the same reason.
Is there anything else I can do to help you with this?

One thing that would be interesting to see would be what's running inside WSL once you get in this state.
If you can repro this easily, can you share a screenshot of htop, and wsl ls -la /proc/*/fd when after the first wsl.exe failure ? (You might need to open a shell before WSL gets into this bad state to do this)

I'll see if I can get that for you 👍

Ok so I've been trying to reproduce it again but so far had no luck - I restarted my laptop since I was working on a few things so wanted to make the processes all fresh and whatnot, and now I've not been able to reproduce it since (and have not yet opened my IDE).
I'm not that surprised since as in the OP a restart typically resolves the problem for a while, but this is all pointing to there being a stateful component to this (and that it's probably not just the number count for the sockets since I've got 2500+ of them now).
This is the script I'm using to try and reproduce this in bulk:
$MaxAttempts = 0
do {
    wsl.exe echo '$PWD'
    $exitCode = $LastExitCode
    if ($exitCode -eq 0) {
        $MaxAttempts++
    }
} until ($exitCode -ne 0 -or $MaxAttempts -ge 500)

if ($exitCode -ne 0) {
  echo "wsl.exe exited with a non-zero exit code!"
}

I've got this running in three terminals to try and simulate multiple calls happening at once in case that's part of the trigger but so far they've been fine - I've got more than 5000 sockets without trouble, yet usually this happens when there's less than 1000 sockets. To me this does also indicate there's a potentially just "cosmetic" bug given that all those sockets should be for processes that have long since terminated:
~ via  v16.15.0 via 💎 v3.1.2
❯ ls /run/WSL | wc -l
6189
~ via  v16.15.0 via 💎 v3.1.2
❯ ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   2196  1548 ?        Sl   12:37   0:01 /init
root         8  0.0  0.0   2476   372 ?        Ss   12:37   0:00 /init
root         9  0.0  0.0   2476   380 ?        S    12:37   0:00 /init
gareth      10  0.0  0.1  12940  8016 pts/0    Ss   12:37   0:00 -bash
gareth     102  0.0  0.0   6036   456 ?        Ss   12:37   0:00 ssh-agent
root       615  0.0  0.0   2208   112 ?        Ss   12:37   0:00 /init
root       616  0.0  0.0   2216   112 ?        S    12:37   0:00 /init
root       617  0.0  0.3 1606856 30620 pts/1   Ssl+ 12:37   0:01 /mnt/wsl/docker-desktop/docker-desktop-user-distro proxy --distro-name Ubuntu --docker-desktop-root /mnt/wsl/docker-desktop
root       630  0.0  0.0   2216   112 ?        S    12:37   0:00 /init
gareth     631  0.0  0.6<PHONE_NUMBER>6 pts/2    Ssl+ 12:37   0:00 docker serve --address unix:///home/gareth/.docker/run/docker-cli-api.sock
root      4029  0.0  0.0   2476   372 ?        Ss   13:02   0:00 /init
root      4030  0.0  0.0   2476   380 ?        S    13:02   0:00 /init
gareth    4031  0.0  0.1  12948  8020 pts/3    Ss+  13:02   0:00 -bash
root      4869  0.0  0.0   2476   372 ?        Ss   13:04   0:00 /init
root      4870  0.0  0.0   2476   380 ?        S    13:04   0:00 /init
gareth    4871  0.0  0.0  12944  7980 pts/4    Ss   13:04   0:00 -bash
gareth    5342  0.0  0.0   8752  3516 pts/4    S+   13:04   0:00 bash /usr/local/bin/docker_run_postgres 12
gareth    5410  0.0  0.5<PHONE_NUMBER>8 pts/4    Sl+  13:04   0:00 docker logs postgres-12 -f
gareth    5424  0.0  0.7 1495912 58636 pts/4   Sl+  13:04   0:00 /bin/com.docker.cli logs postgres-12 -f
gareth   26069  0.0  0.0  10616  3272 pts/0    R+   13:28   0:00 ps aux
gareth   26070  0.0  0.0  12940  4596 pts/0    D+   13:28   0:00 -bash

I would have thought these sockets should get deleted/closed/cleaned up at some point, but there might not be any cost to them still existing so maybe this is already known 🤷
Currently I still don't think the IDE is doing something extoic with WSL that causes this (based on what I have/have not seen in its logs & from my digging), but I'm now going to open it to see if the issue become reproducible since I expect it to be interacting with WSL in a more complex way than my little script.

Ok I was able to reproduce this easily with my script as soon as I opened a Go project in my IDE.
@OneBlue here's a "before" and "after" of ls -la /proc/*/fd in my WSL instance:
after.txt
before.txt
There doesn't seem to be anything interesting in htop:

(out of shot there are just a couple more docker serve processes, the htop process, and ssh-agent)
I'm going to restart my laptop again and this time try reproducing with the IDE open straight away to see if that reduces the diff of those ls -la /proc/*/fds

After restarting my laptop and then starting up the IDE the issue is reproducible pretty much straight away so yeah I'm starting to think it is doing something that's a factor.
I also remembered something that I think might have a role in this: in order to get file events, the IDE uses a filesystem watcher that it runs in the WSL instance in the background - since I'm not a JetBrains dev I can't be sure of much more than this, but my thinking is that that would be long-running process which somehow has to be communicated with..
I could be completely off the mark though, as I'm not that knowledgeable on this sort of stuff - I did do a bit of digging in the JetBrains open source repository:

it seems like the fsnotifier lives here, and doesn't have anything specific for WSL (e.g. it's not got a direct reference to /run/WSL, WSL_INTEROP, or *_interop)
this is at least one class that heavily interacts with WSL - it looks like it could be a service implementation but I can't say how much of the IDE actually uses it
I've searched the open source codebase for similar things like I did with the fsnotifier, and didn't find anything so either they're not trying to interact with the sockets directly or doing so in their private source code

I might try and have a play around with the fsnotifier-wsl binary as that is easily accessible from within WSL, but otherwise I think it'll have to be up to you @OneBlue & folks from JetBrains to take this further (I've mentioned this issue on the respective YouTrack issue, so hopefully they'll reach out).

From the JetBrains side, I'd like to see the issue resolved, but can't see how I can help. To the best of my knowledge, IDEA doesn't do anything hacky to WSL or its VMs - it just launches wsl.exe, either to collect WSL configuration or to run commands in VMs.

Something else that just occurred to me is that IDEA does interact with WSL in another way: via it's filesystem on \\wsl$\ (which I believe is a special network mount).
This might be something for @OneBlue to weight in on as to if these two areas could impact each other (I've got no idea how the fs side interacts with the kernel/process side), but I'm wondering if this issue could be because of potentially high interaction from IDEA over that? This is a shot in the dark, but that would be something IDEA always interacts with when it starts up, and keeps interacting over time...

I'd like to know what exactly is needed. Blanket collection like you're suggesting is possible, but will produce too much raw data to comfortably dig through. WSLDistribution and related classes all use wsl.exe - either to collect data (wsl --list), or to run some command in a VM (directly, like wsl -d ... -e ...\fsnotifier-wsl, or in a shell: wsl -d ... <shell> -c <command>). Of course, IDEA also reads (and occasionally writes) files via \\wsl$\ paths; I would not expect any problems from this side.

Thank you for all the info @G-Rath.
Based on the error we're seeing I'm suspecting that someone has a file descriptor opened on the unix socket that init uses.
Unfortunately, the output of ls -la /proc/*/fd  that you shared earlier is incomplete because it wasn't ran as root.
Can you share that output again before and after a repro of the issue, along with an htop screenshot (if possible can you also press 'F5' before taking the htop screenshot, so we get a tree view).
Once you have the repro, please also share the output of dmesg.

@OneBlue here you go

ls-before.txt
ls-after.txt
dmesg-after.txt

htop before:

htop after:

I've also captured some output caused by having IntelliJ run go fmt via the "Go Format" action:

Interestingly (or maybe not?) nothing seems to happen in htop for git actions even though that is using git from WSL, and we can't see the actual command that's meant to be being run in the above screenshots.

Maybe this information helps getting closer to the cause.
On my win 11 machine I have this problem since months. Think it already started 2021.
On my win 10 Pro 21H2 machine I didn't have this problem before, until today, after installation of KB5015807 (https://support.microsoft.com/en-au/topic/july-12-2022-kb5015807-os-builds-19042-1826-19043-1826-and-19044-1826-8c8ea8fe-ec83-467d-86fb-a2f48a85eb41)

Removing all files in /run/WSL/ will solve issues for new processes, but existing processes will have issues. I have created a script to run periodically to remove /run/WSL/*_interop of non existing processes.
#!/bin/sh

skip_files=$(ps -Ao pid= | sed 's/.*/&_interop/')

find /run/WSL -name '*_interop' $(printf "! -name %s " $skip_files) | xargs rm -f

This is still a workaround but I never encounter interop issues again.

Thank you for all the info @G-Rath.
I have a couple theories on what could be causing this, but I need more info to confirm.
When this reproes again, can you please share:

Logs of a failing wsl.exe invocation (with dmesg)
The htop screenshot
The output of ls /run/WSL
The output of ss -elx
The output of findmnt

@OneBlue here you go.
before:

before-ss-elx-out.txt
before-dmesg-out.txt
before-findmnt-out.txt
before-run-wsl-out.txt
after:

after-ss-elx-out.txt
after-dmesg-out.txt
after-findmnt-out.txt
after-run-wsl-out.txt
logs:
WslLogs-2022-07-19_08-53-27.zip

Thanks for everything @G-Rath, with your help we found the root cause:
There's a code path in which we leave the unix socket we use for interop behind.
It's usually not a problem because it's named after the process leader's pid, but when pids start getting reused, things start failing because the socket already exists when we try to create it.
We checked it a fix to make sure that the unix sockets are properly removed when the session leader exits.
The fix is included in 0.64.0

Thanks to everybody for the help sorting this out!

@OneBlue I've just updated to the latest Kernel and can no longer reproduce this so looks like it has been solved - thanks so much for that!

I'm still having this issue - seems like a kernel version problem.  When will the fix in 0.64.0 make it into LTS?
As of today, I am not seeing anything after March 2022 on either https://www.catalog.update.microsoft.com/Search.aspx?q=wsl or https://github.com/microsoft/WSL2-Linux-Kernel which I believe is what Microsoft Update pulls from if you're not using Windows Insider / Fast-Ring; nor am I seeing anything in Microsoft Store.

I'm not a Windows Insider and cannot join to access 0.64.0 because someone named "organization" doesn't want me to.  Releeease this to the masses now, it was a big bug!  Financial impacts!  Critical levels of highest criticality!  Didn't this make the news?  What if $MSFT falls precipitously!?!  Our pants are literally on fire.  It's patch Tuesday TODAY!!!!

@surfaceowl

seems like a kernel version problem

Actually no, the fix is in WSL itself, not a kernel release.

As of today, I am not seeing anything after March 2022

Those are only kernel releases.  Since Windows 10 21H2 and Windows 11 were released, there hasn't been a new GA release of WSL that I'm aware of.  In November, the WSL team transitioned to a "Preview" model via an App installed through the Microsoft Store.
You can see the latest WSL release notes here in this repo, on the releases page.  However, there are no binary (or source, for that matter) releases here.
Windows 11 users can install the latest, which is currently 0.64.0, through the Microsoft Store using the "Windows Subsystem for Linux Preview".
It's not yet clear or announced how this will come to GA users.  I personally have theorized several possibilities, but I have no insight into the decision making process:

It is most likely that Windows 11 22H2 will contain a new stable release.  I would assume that it is still far enough out that 0.64.0 (or even later) will be included in the GA release of 22H2.

There's a possibility that the Store version will (eventually) follow the Windows Terminal store-release-model, where both a Stable and Preview release are available in the Store at the same time.  There was a tweet back during the Build 2022 conference that indicated that the WSL Store version had gone GA, but it was quickly deleted, and WSL has remained in Preview-only via Store install.
The Store-installed version does have some additional limitations that I believe are due to Windows Appx limitations.  For instance, you can't start wsl.exe if you ssh into Windows, but you can on the GA release.  My optimistic side thinks that perhaps the Windows team is fixing this limitation on their end, and those fixes will be in 22H2.  If that's the case, then the WSL team could then go on to GA WSL versions (in the future) via the Store, leading to a much faster release cycle.

There's also the possibility that the team will just decide that the limitations on Store-installed WSL are "acceptable", and eventually GA versions there.  I personally hope for the former, since I do like the ability to start WSL via SSH.

For Windows 10, the situation is less clear.  We know that the WSL feature set has diverged on Windows 11, and some features just aren't there on Windows 10 (WSLg, boot.command, --mount, and more).  As far as I'm aware, we simply don't how much, or even if, WSL will be updated on Windows 10 in the future.  The team could certainly backport some fixes like this to Windows 10, but that's going to be a business decision on Microsoft's part, and Windows 10 users may not like the answer.

@NotTheDr01ds What a tortured release process.  WSL2 looks it is being run like a product to this outsider, not an OS feature, and it should get patch releases on the team's release cadence just like any other Microsoft app.  I could understand WSL1 being released with Windows because it was all nanoprocesses with lots of low level kernel/file system hackery.

Because I didn't have the same problems in Win 10 (until 10 Pro 21H2) as I did in Win 11 there must definatley be a difference between the two versions. Luckily it also didn't happen in Win 10 again; so was just once at 13th of July (above). Until the problems are not fixed on Win 11 I wouldn't suggest to upgrade to Windows 11 only for the "worse" WSL experience :)

@surfaceowl Apologies - I was wrong on one thing in my comment yesterday (which I've now edited).  I completely missed the fact that there are binary releases of the Preview here in this repo.  On the Releases page, expand the Assets for a particular release, and you'll see the .msixbundle (the new Microsoft Store package format).
Warning
I am not sure how "supported" the following is.  I'm posting this on the basis that:

It worked for me on a Windows 11 test machine; but I have not tested extensively yet to uncover any potential issues.
The WSL team is publishing these assets here, which I don't believe they would do if using them would be harmful.
These releases are clearly "Preview" (and labeled as such even when installed through the Microsoft Store).

Second Warning
I do not know what effect these will have on a Windows 10 system (or even if they will install).  They are clearly intended for Windows 11, since they included WSLg (which makes use of functionality only available in Windows 11).  If they will cause issues on Windows 10, then I would hope that there is a mechanism that would prevent their installation there.
That said, I have not attempted this on either of my Windows 10 systems, as those are both installations that I don't want to potentially corrupt.  At some point, I may try to convert my "test" system back to Windows 10 and give it a go, but this is time intensive, of course.
If you've ignored the warnings and want to proceed ...
With that said, I was able to install the Preview without using the Microsoft Store by:

Downloading the .msix for the Preview release from the Releases page.
Running an Administrative PowerShell
Add-AppxPackage -path .\Microsoft.WSL_<IP_ADDRESS>_x64_ARM64.msixbundle (or another release)

The command completes without any message, and then wsl --status shows:
Default Distribution: Ubuntu
Default Version: 2
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.40
MSRDC version: 1.2.3213
Direct3D version: 1.601.0
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.795

@ProvokerDave It seems to me from the WSL team's actions that they definitely want to move to a "Product" release cycle, similar to what the Terminal team does.  However, as I mentioned, there are Windows limitations that aren't yet fixed that don't seem to allow them to do this just yet.  Hopefully, and if possible, these limitations will be fixed in 22H2.

I'm not a Windows Insider and cannot join to access 0.64.0 because someone named "organization" doesn't want me to.

You don't need to be on a Windows Insider release in order to use 0.64.0 -- Just Windows 11.  If you have Windows 11, and your organization won't let you use the Store to install the "Windows Subsystem for Linux Preview" (which is currently 0.64.0), then you can try the process in my comment above to install the Preview without access to the Store.

@NotTheDr01ds Thanks for the powershell tips!

I am having this problem with phpstorm on windows 11 2 years later. exact same issue.   i would imagine i should be running the version that includes the bugfix 2 years lateR?


Add addinvoice to the Read Only permissions

It is basically the equivalent of generating addresses.

Replaced by #904.


GHPAGES-DOCKER needs to be updated

GitHub Pages is now using v231 of the GitHub Pages Ruby Gem. You are using v227. Please refer to the ghpages-docker Wiki for instructions on how to update.

This issue is a test, it can be deleted


add disabled to Fieldset

Hi @snehilvj
Can we include this small update in the next release?
@MichaelODeli has the docs PR ready to merge after this is released as well :tada:

Here is a sample app to give it a try

import dash_mantine_components as dmc
from dash import Dash, _dash_renderer, Input, Output
_dash_renderer._set_react_version("18.2.0")

app = Dash(external_stylesheets=dmc.styles.ALL)

component = dmc.Fieldset(
    children=[
        dmc.TextInput(label="Your name", placeholder="Your name"),
        dmc.TextInput(label="Email", placeholder="Email"),
        dmc.Group(
            [
                dmc.Button('Send')
            ],
            justify='flex-end'
        )
    ],
    legend="Personal information",
    disabled = True,
    m=20
)

app.layout = dmc.MantineProvider([
    component
])

if __name__ == "__main__":
    app.run(debug=True)

Whenever I try the fieldset - as part of a drawer element - the heading does now show up like shown in the documentation

@AnnMarieW @snehilvj  - just tagging as the issue is closed
Am I doing something stupid?

@sssaha What version are you using?  Can you please provide a complete minimal example that reproduces the issue?   Hard to tell what the problem is just from an image.


Qt interface on ubuntu

I realise that you Qt lets you build cross platform, but this is the sole Qt application on my busy Ubuntu 14.04 LTS machine, and it looks very ugly with default settings for everything, and now I'm also dragging in a load of KDE, phonon dependencies.

So, what's the actual issue here?

Hi. I think the issue is bringing in Qt dependencies in Ubuntu, which I highly expect you to disagree with, but since: Qt is not part of a regular Ubuntu installation, it carries a lot of dependencies, and looks ugly, I think most people would prefer a Gtk interface.

This application is a QT app and will remain so, however you have a few options:
First off, you can use the command line tools accompanying the underlying libraries, which are all available from our PPA as well. These are pretty lightweight in dependencies.
If you're looking for a GTK version, you're out of luck, unless you write one yourself. Feel free to do so.
Lastly, I believe a lot of the QT dependencies can (and probably should) actually be removed (such as Phonon) as they are not used. I've created an issue to track this: Yubico/yubikey-neo-manager-dpkg#3.


Recurrent Neural Network (RNN)

I am looking to implement an RNN in swift and I'm wondering if there's already some effort underway to add an RNN to Swift-AI. So that there is no duplication of effort. Is there some RNN effort by somebody?
Thanks in advance.

I'd be willing to help you out in that effort if you'd have me, joobei. Sounds like a cool undertaking.

Looks like an RNN is still open and ripe for development (according to the documentation). Plus it's been more than a week. Wanna try? :+1:

I have proposed this to Jorden hill from Birdbrain. He doesn't seem interested and I don't know if we can use his RNN as a base. He has "Copyright ® Jorden Hill" so I'm not sure we can.
https://github.com/jordenhill/Birdbrain

I don't see an MIT license so that probably means we should stay away. Not that it matters since I started on the repo last night,

@joobei Honestly dude we could crack this out ourselves. Would you like to sync up? I'm @BaselNotBasil on twitter.

Yeah I'm totally interested. I'm in the mountains until Saturday noon but come Saturday afternoon I could get started on this.

Yo! Joobei hit me up at kacheflo we at g mai l  do t c  om.

Check your email, joobei!

Are you guys going to do this here or seperately?

Here's some pseudo-code from wiki for back-propagation through time method of training RNNs,
Back_Propagation_Through_Time(a, y)   // a[t] is the input at time t. y[t] is the output
Unfold the network to contain k instances of f
do until stopping criteria is met:
x = the zero-magnitude vector;// x is the current context
for t from 0 to n - 1         // t is time. n is the length of the training sequence
Set the network inputs to x, a[t], a[t+1], ..., a[t+k-1]
p = forward-propagate the inputs over the whole unfolded network
e = y[t+k] - p;           // error = target - prediction
Back-propagate the error, e, back across the whole unfolded network
Update all the weights in the network
Average the weights in each instance of f together, so that each f is identical
x = f(x);                 // compute the context for the next time-step

@loopbum Hello friend! Thanks for the pseudo-code, actually, we'll be working on it here although how we'll apply the code will differ.

Closing this issue so we can start a new conversation over at #11.


Exception thrown in Blazor Server .NET 8 when directly accessing a page containing

Greetings,
I would like to use BlazorPanzoom in a Blazor Server .NET 8 project. The library seem to work properly most of the time, however I think I found a case where it doesn't.
When accessing directly a page that contains a <Panzoom> component, a NullReferenceException is thrown from the Panzoom.cs file:
public async ValueTask DisposeAsync()
{
	GC.SuppressFinalize(this);
	await _underlyingPanzoomInterop.DisposeAsync(); // <<< the line throwing the exception
}

For some reason, the _underlyingPanzoomInterop variable seems to be null... which means the component is, for some reason, disposed before it is even rendered at all? If so, I have no idea why. Maybe the fix is as simple as this?
	await _underlyingPanzoomInterop?.DisposeAsync();

But I don't know for certain and might be unaware of some indirect implications that you probably know about. You will find a very basic Blazor Server .NET 8 project (with global rendering config) in attachment of this issue that highlights the problem: BlazorPanzoomDotNet8.zip
Also, here are some useful links related to exception handling when disposing in .NET:

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1065#dispose-methods
https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-disposeasync

I have this issue as well, and it is blocking me from upgrading to .NET 8. I have spent a great deal of time sleuthing around inside of BlazorPanzoom (as well as the original panzoom), so I am going to take a look at it and see if I can't find the source of the issue. If I do, I'll submit a pull request with the fix.

Fortunately, the general cause of this problem is very clear: .NET 8's rendering modes. We know this because this behavior doesn't occur in WebAssembly environments, such as the included repository's included demos.
I created two absolutely minimal projects from a stripped down BlazorWebApp template, and set up one to render via InteractiveServer and the other to render via client-side WASM, and the issue only occurred in the server-rendered app. Here's the code from Home.razor in the InteractiveServer project which triggered the issue:
@page "/"
<PageTitle>Home</PageTitle>
@rendermode InteractiveServer

    <Panzoom @ref="_panzoom">
        <div<EMAIL_ADDRESS>class="panzoom">

    </Panzoom>

@code
{
    private Panzoom? _panzoom;

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (_panzoom != null)
        {
            await _panzoom.ZoomAsync(1);
        }
    }
}

Specifically, the _underlyingPanzoomInterop object in Components/Panzoom.cs is null, and throws an exception here:
public async ValueTask DisposeAsync()
{
    GC.SuppressFinalize(this);
    if (_underlyingPanzoomInterop != null)
    {
        await _underlyingPanzoomInterop.DisposeAsync();
    }
}

I think this related to issue #12 and unrelated to dotnet 8. The bug has been patched, unfortunately a new package has not been released.

I think I'm experiencing the same issue. @shaigem could you push a fixed release please?


Analysis modal issues (Firefox)

For reference, this is chrome (I guess this is the desired display):

And this is firefox:

Notice:

[x] There is no "back" button at the top
[x] The "Add analysis" button at the bottom is cut with the bottom of the screen (the screenshot is not cropped)

Do it for the fox:

cc @ivanmalagon @ramiroaznar

I noticed that while fixing onpremise issues for different browsers and it is already fixed ❤ We can close it!

So you did ignore the cute fox and fixed it for the old grumpy grandpa (ie) :sadpanda:

The screenshot of Elena is on Firefox and it's working on production. Is it still failing on Firefox with Linux?

Works perfectly fine in FF/Linux as well :heart:

✨


chore(deps): use @krakenjs/cross-domain-utils

The other part we have to do is a project-wide find and replace for cross-domain-utils -> @krakenjs/cross-domain-utils.
Also I don't know how dist gets updated, not sure you'd have to run a build task locally and check in the changes

The other part we have to do is a project-wide find and replace for cross-domain-utils -> @krakenjs/cross-domain-utils.
Also I don't know how dist gets updated, not sure you'd have to run a build task locally and check in the changes

Good point Shane! I totally forgot about that.

Closing in favor of #102


KAFKA-17919: enable back the failing testShareGroups test

JIRA: https://issues.apache.org/jira/browse/KAFKA-17919
I have looped the test 40 times on my local, all pass.
Command:
I=0; while ./gradlew core:test --tests PlaintextAdminIntegrationTest.testShareGroups --rerun --fail-fast; do (( I=$I+1 )); echo "Completed run: $I"; sleep 1; done
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I think I had another failure of this test. Let's be careful here.

I think I had another failure of this test. Let's be careful here.

Do you mean after the fix you did, this test is again flaky? Is it the same NOT_COORDINATOR error?

Yes, it's the same NOT_COORDINATOR error. I ran it extensively on 2 computers yesterday and it was clean on both. The CI and everyone else's testing also appears clean. However, on my third computer today, I get the same failure. I don't understand why, yet.

Yes, it's the same NOT_COORDINATOR error. I ran it extensively on 2 computers yesterday and it was clean on both. The CI and everyone else's testing also appears clean. However, on my third computer today, I get the same failure. I don't understand why, yet.

The other doubt I had was NOT_COORDINATOR is a retriable exception hence should we retry as part of https://github.com/apache/kafka/pull/17645 (ofcourse it was not the right fix for testShareGroups test but not sure why a retriable exception is not retried)

The test is still flaky, with the same symptom, but a different reason. The fix in https://github.com/apache/kafka/pull/17656 looks good, but there is more to it. I would say there's a timing problem in initialization.

When https://github.com/apache/kafka/pull/17645 is merged, then I think the test will be properly deflaked.

Thanks for both clarifying and explaining this. Let's wait until #17645  is merged.


Help, I can't delete no_modules!

My no_modules folder just won't delete, no matter what I do! 😭
chmod save me ;_;

I think you misunderstand, to delete no_modules you can't use the normal rm/rmdir commands, you must follow the following process:

Do nothing.

If that doesn't work please do not post more details as they are not required. I recommend taking a nap and coming back refreshed to not tackle the non-problem.


Error message still referencing ngx-qrcode2

This might be related to #10.
I'm getting the following error message when ng serve:
ERROR in ../src/app/app.module.ngfactory.js
Module not found: Error: Can't resolve 'ngx-qrcode2' in 'D:\path_to_project\src\app'

As suggested in a comment from 2017 in that issue, using ngx-qrcode2 directly, works.
Versions:

Angular CLI: 8.3.20
Node: 13.11.0
OS: Windows 10
Angular: 8.2.14
@techiediaries/ngx-qrcode: ^9.0.0

Usage (just adding the relevant lines):

package.json

  "dependencies": {
    "@techiediaries/ngx-qrcode": "^9.0.0"
  }

app.module.ts

import { NgxQRCodeModule } from '@techiediaries/ngx-qrcode';

@NgModule({
  imports: [
    NgxQRCodeModule,
  ]
})

home.component.ts

export class HomeComponent implements OnInit {
  elementType = 'url';
  exampleLink = '';

  constructor(private toastr: ToastrService,private authService: AuthService) { }

  ngOnInit() {
    this.exampleLink = 'http://localhost:4200/example/qrc?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJsb2dnZWRJbkFzIjoiYWRtaW4iLCJpYXQiOjE0MjI3Nzk2Mzh9.gzSraSYS8EXBxLN_oWnFSRgCzcmJmMjLiuyu5CSpyHI';
  }
}

home.component.html

<ngx-qrcode [elementType]="elementType" [value]="exampleLink"></ngx-qrcode>

Thanks

Hi, Have you found solution ?

@anakin59490, no. I have not.
They say they are working on a similar problem right now (see #10 last comments), but I expected they would at least have commented something here by now

@bergamin we are working to solve this problem ASAP.

@rafa-as thanks for updating us on this issue

@bergamin we just published a new 9.1.0 version. Can you check it?

Hi @rafa-as ,
here is my result:

@anakin59490 can you provide more information about your environment and error, please?

With previous version (9.0.0), I had same error as @bergamin  : Error: Can't resolve 'ngx-qrcode2'
I have just changed version :  9.1.0 and now I have this mesage (cf picture)

Sorry @anakin59490 I don't saw your reply.
Did you removed the node_modules folder and reinstall it?

I removed the node_modules and reinstalled it but i get the same error.
I use Angular 6

@rafa-as, it worked for me. Waiting for next issues on my project to try it out on a real environment

@bergamin can you post your package.json please ? It's may be version conflict..

@anakin59490, there you go:

package.json
{
  "name": "xxxxxx",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~8.2.4",
    "@angular/cdk": "^8.2.3",
    "@angular/common": "~8.2.4",
    "@angular/compiler": "~8.2.4",
    "@angular/core": "~8.2.4",
    "@angular/forms": "~8.2.4",
    "@angular/material": "^8.2.3",
    "@angular/platform-browser": "~8.2.4",
    "@angular/platform-browser-dynamic": "~8.2.4",
    "@angular/router": "~8.2.4",
    "@ngrx/effects": "^8.5.2",
    "@ngrx/store": "^8.5.1",
    "@ngrx/store-devtools": "^9.0.0",
    "@zxing/ngx-scanner": "^3.0.0",
    "date-fns": "^2.7.0",
    "ngx-cookie-service": "^3.0.4",
    "@techiediaries/ngx-qrcode": "^9.1.0",
    "ngx-toastr": "^11.3.0",
    "rxjs": "~6.4.0",
    "tslib": "^1.10.0",
    "zone.js": "~0.9.1"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.803.3",
    "@angular/cli": "~8.3.3",
    "@angular/compiler-cli": "~8.2.4",
    "@angular/language-service": "~8.2.4",
    "@types/node": "~8.9.4",
    "@types/jasmine": "~3.3.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "^5.0.0",
    "jasmine-core": "~3.4.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.1.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~2.0.1",
    "karma-jasmine-html-reporter": "^1.4.0",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.15.0",
    "typescript": "~3.5.3"
  }
}

@anakin59490 I don't test the new version with Angular 6 yet. But I'm sure that doesn't work as @bergamin said because the version is not compatible.
Please, can you open a new issue to check the compatibility and create documentation about this?
@bergamin you can check in the readme the solution about your issue: https://github.com/techiediaries/ngx-qrcode#troubleshoots

Closed by #63
As the original issue, it's solved we close this issue. To solve the Angular 6 compatibility open a new issue, please.


port createMakeDirs to remake

createMakeDirs looks through the makefile and creates directories such as cache, figures, and vizlab/make/timestamps. we'll need to create these in the remake system, too

resolved by #316, 79242a0


Adds - CategoricalArrays

CategoricalArrays & Fix TSF

Codecov Report

Merging #5 into master will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master      #5      +/-   ##
=========================================
+ Coverage    0.57%   0.58%   +0.01%
=========================================
  Files           5       5
  Lines         173     170       -3
=========================================
  Hits            1       1
+ Misses        172     169       -3

Impacted Files
Coverage Δ

src/IntervalBasedForest.jl
0.00% <0.00%> (ø)

src/datapath.jl
0.00% <0.00%> (ø)

src/interface.jl
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


typescript(vx-event): Re-write package in TypeScript

🚀 Enhancements
This PR builds off of #488 which added TypeScript build support, and converts the @vx/event package to TypeScript.
The functions in this package were a bit gnarly/confusing to follow with different call signatures and duplicative, so I consolidated and cleaned them up with type guards.
Depends on #490 (@vx/point) for types, closes #492.
Testing

[x] CI
[x]  Generates .d.ts files
[x] tested functionally

[x] /areas and /zoom-i in /gallery (which use @vx/event)
[x] modified /areas to test the two call signatures of localPoint

@hshoff @schillerk @milesj @techniq @kristw

(noting that the build is failing because of the missing @vx/point types; could @ts-ignore to remove this dependency but @vx/point is quite straight forward)

@hshoff I updated this to return null for non-event / invalid inputs as discussed offline.


Comments on Windows Vision Skills Tutorial

"A machine learning model in ONNX format to identify a face in an image and infer its sentiment". I thought we use a Windows API to detect face region, and not an ONNX model. Sentiment detection portion, on the other hand is indeed done with the ONNX model.

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

ID: bd9c2f05-e537-3874-3ea2-bfc7b2f23558
Version Independent ID: 9c57a643-914e-3c6b-4e55-2d069448bb77
Content: Create your own vision skill (C#/C++)
Content Source: docs/windows-vision-skills/tutorial.md
Product: machine-learning
GitHub Login: @eliotcowley
Microsoft Alias: elcowle

Correct, modified the doc to reflect the same.


Docker container is stuck after a while

This Ticket was moved/copied from here.
Hi,
i have observed a strange issue while running barcode buddy in a docker container on my rasberry-pi: After some running time, the docker container seems to be stuck somehow. I can open the login screen on the frontend, but after i try to login i see a white screen.
That's what i see, after i log in in the developer console:
Console

what i see, after i log in in the developer console:
Network

I have tried to restart the container, but that doesn't seem to help. Also restarting the entire raspberry pi does not help. After logging in i only see a white screen.
I can stop the container and delete the volumes, that helps, but 1. i loose all my settings and 2. i would have to do that periodically.
Anyone had a similar issue?

After checking the log in /var/log/nginx/error.log i got this error message:
*7 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /app/bbuddy/index.php on line 495" while reading response header from upstream, client: <IP_ADDRESS>, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://<IP_ADDRESS>:9000", host: "<IP_ADDRESS>:50080"

Same error here.


Group mock content (Cardigan, tests)

We have a few instances of mock content for Cardigan as well as for tests. They tend to go stale and aren't kept up to date when changes happen, so in the spirit of simplifying that, we think a first step would be to group them and only have one of each (for example, one mock article could be used both in tests and in Cardigan).
Such examples can be found in https://github.com/wellcomecollection/wellcomecollection.org/blob/main/cardigan/stories/content.ts as well as https://github.com/wellcomecollection/wellcomecollection.org/blob/main/content/webapp/services/prismic/types/images.mocks.ts and https://github.com/wellcomecollection/wellcomecollection.org/blob/main/content/webapp/mocks/events.ts
Worth noting that currently, not all of them are up to par with the current types, so some fixes will be required on that part as well.
Done when

[ ] We only have one source of truth for mock content
[ ] They all match their types (no type error)
[ ] Tests and Cardigan files are updated to fetch those files and modified so they still work
[ ] If there are type errors on those files, it gets flagged to ensure maintenance

The last point might be a separate ticket - whoever picks this up can decide how to split.

Moving back to Backlog, did a tidy of Cardigan mocks (removed unused, added types) as a first step but need to have further chats before taking on next steps.


Delta Lake: High-Performance ACID Table Storage over Cloud Object Stores

https://databricks.com/wp-content/uploads/2020/08/p975-armbrust.pdf
来源：Kubeflow CN 微信群

Delta Lake 解决的是如何在对象存储上搭建性能不差的数据湖的问题。
这里有很多挑战，比如对象存储上 rename 等操作很昂贵，同时没有事务。
Delta Lake 的核心设计：we maintain information about which objects
are part of a Delta table in an ACID manner, using a write-ahead log
that is itself stored in the cloud object store. The objects themselves
are encoded in Parquet, making it easy to write connectors from
engines that can already process Parquet. This design allows clients
to update multiple objects at once, replace a subset of the objects
with another, etc., in a serializable manner while still achieving high
parallel read and write performance from the objects themselves
(similar to raw Parquet). The log also contains metadata such as
min/max statistics for each data file, enabling order of magnitude
faster metadata searches than the “files in object store” approach.
Crucially, we designed Delta Lake so that all the metadata is in
the underlying object store, and transactions are achieved using
optimistic concurrency protocols against the object store (with some
details varying by cloud provider). This means that no servers need
to be running to maintain state for a Delta table; users only need
to launch servers when running queries, and enjoy the benefits of
separately scaling compute and storage.


Setting MIME/data type for formatted text output?

Hello,
I see that clipboardjs is not intended for formatted output. But is there a way to set the data/MIME type for
the output text - to format it using HTML tags?

Hello @Mershl!
From my understanding this is not possible with document.execCommand, which is the browser API we use.


⚠ Bofrost.at has degraded performance

In f7c157f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2351 ms

Resolved: Bofrost.at performance has improved in a4f0d6d.


PrimaryButtons Binding

Is it possible to Bind PrimaryButtons property to some list?

Yes. You would need to bind it to a list of HamburgerButtonInfo items.


[GHSA-q47p-v5rw-v574] Ankitects Anki LaTeX Blocklist Bypass vulnerability

Updates

Affected products

Comments
We (@Jayy001 and @bee-san) discovered this vulnerability. I've updated the patched version.

Hi @Jayy001, I cannot add you as a Finder but I will add you as an Analyst since you provided an update to the advisory.


Venetian blind support for proprietary Fibaro FGRM-222 Roller Shutter devices

Breaking Change:
Should not break anything
Description:
The Fibaro FGR-222/FGRM-2222 ZWave roller shutter devices have a proprietary command class to support setting the tilt angle of venetian blinds (= type of window cover). This PR adds the support to HA for this. This allows the user to set the height of the blinds and the tilt angle separately. It can be used to create nice scenes, e.g. blinds down and angle at 30% so that there is still some light coming.
:warning: This PR depends on a change in the open-zwave library: https://github.com/home-assistant/open-zwave/pull/6
Related issue (if applicable): fixes #
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):
zwave:

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Awesome, looking forward so much for this to land :tada:

I propose to make it configurable.
Hardcode to a default of 99 or 50 (49?), and  let the user be able to configure an override. Somebody other than us might have a third opinion about what open means, we never know.
Even in my case I might use this feature to set "open" to around 90, because fully open allows the light to bounce off the slat and directly into my eye in some situations, which is inconvenient. Whereas a very tiny downwards angle already prevents that but still has the "open" feeling.
Because of that, I would be fine with whatever hardcodinf you go for.

OK, I added a parameter (see config example above).

Thanks for the update!
For lack of pushing rights to your branch, leaving this diff here (should be better readable than text comments in this case):
diff --git a/homeassistant/components/zwave/cover.py b/homeassistant/components/zwave/cover.py
index 3542df9..b1fe772 100644
--- a/homeassistant/components/zwave/cover.py
+++ b/homeassistant/components/zwave/cover.py
@@ -2,7 +2,7 @@
 import logging
 from homeassistant.core import callback
 from homeassistant.components.cover import (
-    DOMAIN, SUPPORT_OPEN, SUPPORT_CLOSE, ATTR_POSITION)
+    DOMAIN, SUPPORT_OPEN, SUPPORT_CLOSE, ATTR_POSITION, ATTR_TILT_POSITION)
 from homeassistant.components.cover import CoverDevice
 from homeassistant.helpers.dispatcher import async_dispatcher_connect
 from . import (
@@ -252,17 +252,17 @@ class FibaroFGRM222(ZwaveRollershutter):
         else:
             # Limit the range to [0-99], as this what that the ZWave command
             # accepts.
-            tilt_position = max(0, min(99, kwargs.get(ATTR_POSITION)))
+            tilt_position = max(0, min(99, kwargs.get(ATTR_TILT_POSITION)))
             _LOGGER.debug("setting tilt to %d", tilt_position)
             self._value_tilt.data = tilt_position

     def open_cover_tilt(self, **kwargs):
         """Set slats to horizontal position."""
-        self.set_cover_tilt_position(position=self._open_tilt_position)
+        self.set_cover_tilt_position(tilt_position=self._open_tilt_position)

     def close_cover_tilt(self, **kwargs):
         """Close the slats."""
-        self.set_cover_tilt_position(position=0)
+        self.set_cover_tilt_position(tilt_position=0)

     def set_cover_position(self, **kwargs):
         """Move the roller shutter to a specific position.

My tests:

[x] Slider working.
[x] Open/Close buttons working.
[x] tilt_open_position config parameter working.

I applied the patch @andre-richter supplied. I can't test this right now...

@home-assistant/z-wave, I have independently verified the functionality of this PR on my Fibaro controllers. The code works for @ChristianKuehnel as well, hence two real-life tests in total.
Feel free to start your review :)
BR,
Andre

@balloob, sorry to bother you on this one. It's not visible to us who is in the @home-assitant/z-wave group. Since it seems like this PR is getting little attention, wanted ask you if you could ping/delegate somebody for review or tell us who to talk to?
Thanks,
Andre

Pinging again since this is now over two weeks old.
@dmulcahey @Adminiuga please let us know how we can help you to drive this to closure.
Thanks,
Andre

@a-andre hrm, I really have 0 exposure to the ZWave component, more on the ZHA/Zigbee side. From my perspective nothing jumps out, but again, have no zwave exposure.
@cgarwood any chance you could take a look at this PR?

@ChristianKuehnel can you please rebase it? showing conflicts with the current dev.

@ChristianKuehnel can you please rebase it? showing conflicts with the current dev.

I just squashed the changes and rebased them on dev.

I don't have a lot of experience in the zwave quirks/workarounds or covers, but the python looks fine to me. I can't speak for the required openzwave patch though.

I can't speak for the required openzwave patch though

I would argue that QA/review on this one has already been done by the openzwave guys themselves, since the respective patch is already upstream in openzwave master.

Ping =/
Guys believe me I am not comfortable nagging here all the time. But we still got no idea who would be responsible for zwave code in the homeassistant team at the moment.
I tried to ping @pvizeli on the corresponding zwave patch but he seems busy.
Best,
Andre

@MartinHjelmare I just removed the init statement.
So the rest is fine and can be merged?
Can you also do the review for the related change https://github.com/home-assistant/open-zwave/pull/6  to the Z-Wave library?

Someone that knows the zwave integration should review here.

@MartinHjelmare Could you do us a big favor and reach out in your internal channels who currently owns this.
We tried to ping all people that, from the outside, looked responsible, but no luck so far in finding someone who wants to own this.
Thanks a lot,
Andre

Rebased on top of 0.98.1:
https://github.com/andre-richter/home-assistant/tree/0.98.1_fibaro_222_tilt

I think we should close this PR, since it depends on another PR that hasn't been merged yet. If the dependency is merged a new PR can be opened.

Any chance to get more traction on the other PR? Its been ignored for 3 months straight now :(
And it's not even a complicated patch that needs much review, because it is just a cherry-pick from the master open-zwave repo where the code has been reviewed by open-zwave maintainers ans is merged already.

Still can't speak for the HA ozw1.4 fork, but I'm in the process of updating the HA zwave component for OZW1.6 which should re-align HA with the OZW master. Downside is I'm still a few weeks out most likely from having the updated component ready to go.

Let's close this for now. As soon as the library is ready we can accept this again.

1.6 sounds good. Let's wait for that 👍

The library changes was just merged: https://github.com/home-assistant/open-zwave/pull/6
Not sure if we need to wait for a release or if the master branch is being used...


Search Page seems to no longer exist

Search Page seems to no longer exist

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

ID: 3e8d2de3-73e5-857c-f87e-38ad9ed1358d
Version Independent ID: 86ad9550-7a64-948e-440a-4b97bf5c812d
Content: Using Search in Azure Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/diagnostic-search.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

@OliverRC Thanks for your feedback.
Assigning to content author @lgayhardt for review and document enhancement.

Search is now "Transaction Search".  I made an internal work item to update the doc and screenshots to reflect the name change.
Thank you.
#please-close


Fix smoosh get_priority/2 case clause

Fixes the case when get_index/3 returns a database_not_found error.

Before:
smoosh_server:get_priority(foo, {<<"shards/80000000-ffffffff/db2.1666895357">>, <<"x">>}).
** exception error: no case clause matching {database_does_not_exist,
                                                [{mem3_shards,load_shards_from_db,"db2",
                                                     [{file,"src/mem3_shards.erl"},{line,430}]},
                                                 {mem3_shards,load_shards_from_disk,1,
                                                     [{file,"src/mem3_shards.erl"},{line,405}]},
                                                 {mem3_shards,load_shards_from_disk,2,
                                                     [{file,"src/mem3_shards.erl"},{line,434}]},
                                                 {mem3_shards,for_docid,3,
                                                     [{file,"src/mem3_shards.erl"},{line,100}]},
                                                 {fabric_doc_open,go,3,
                                                     [{file,"src/fabric_doc_open.erl"},{line,39}]},
                                                 {couch_index_server,'-get_index/3-fun-0-',2,
                                                     [{file,"src/couch_index_server.erl"},{line,74}]}]}
     in function  smoosh_server:get_priority/2 (src/smoosh_server.erl, line 348)

With the PR:
smoosh_server:get_priority(foo, {<<"shards/80000000-ffffffff/db2.1666895357">>, <<"x">>}).
0


It only works with login details or its a universal downloader?

i Want to know this requires username and password to work or it doesn't require login details?

i Want to know this requires username and password to work or it doesn't require login details?

It doesn't require any credentials to download. However if you want to save and manage your playlists you can create an account and download all those by logging in through the script.


statusBarIconBrightness is not working on Xiaomi 11

Steps to Reproduce

when upgrade flutter from 2.2.0 to 2.8.1,
try to set statusBarIconBrightness: Brightness.dark, it works on HUAWEI，Samsung, iOS and other devices, but it doesn't work on XiaoMi 11. but it looks normal on XiaoMi 11 when flutter version is 2.2.0.
Expected results: Status bar icon colors must be a dark color
Actual results: Status bar icon colors are still white

Code sample

AnnotatedRegion<SystemUiOverlayStyle>(
  value: SystemUiOverlayStyle(
    statusBarColor: Colors.transparent,
    statusBarIconBrightness: Brightness.dark,
    statusBarBrightness: Brightness.dark ,
    systemNavigationBarColor: Colors.blue,
    systemNavigationBarDividerColor: Colors.transparent,
    systemNavigationBarIconBrightness: Brightness.dark,
  )
 child : MaterialApp(...)
),

Logs

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 11.5.1 20G80 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 12.5.1)
    ! Flutter recommends a minimum Xcode version of 13.0.0.
      Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.63.2)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Possiblly related to https://github.com/flutter/flutter/issues/95973

Possibly related to https://github.com/flutter/flutter/issues/95973

@cwf1992
Looking at your code sample, it seems to be similar / duplicate of https://github.com/flutter/flutter/issues/95614. Take a look at the underlying comments from that issue which hopefully should resolve your issue.
Closing this as a duplicate. If you disagree, write in comments and I'll reopen.


Lack of "zh" message folder, when I try to set language to "zh-HK".

What steps will reproduce the problem?
Set yii language to "zh-HK", [error][yii\i18n\PhpMessageSource::loadFallbackMessages] The message file for category 'yii' does not exist
What is the expected result?
The message folder only have "zh-TW" and "zh-CN", "zh-HK" not found and  try to locate the "zh" folder, but not exist.
What do you get instead?
The message folder only have "zh-TW" and "zh-CN", "zh-HK" not found and  try to locate the "zh" folder, but not exist.
Additional info
I try to make a simple link from "zh-CN" to "zh" , problem fixed. So please add the "zh" message folder.

Q
A

Yii version
2.0.?

PHP version

Operating system

We can probably move  "zh-CN" to "zh".

@samdark done https://github.com/yiisoft/yii2/pull/19832


Code submission for OS.get_process_ID on windows

os_windows.h:
	virtual int get_process_ID() const;

os_windows.cpp:
#include <process.h>

int OS_Windows::get_process_ID() const {
	return _getpid();
}

It would be simpler if you made a pull request directly, an issue is not really the best place to discuss code additions.

Should be easy to make a PR out of it if _getpid() does work on Windows. Currently OS.get_process_ID is only implemented for Unix.


UI 3703

Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          3 Errors

:no_entry_sign:
Please add a CHANGELOG.md file

:no_entry_sign:
A README.md is required for new templates

:no_entry_sign:
Please add labels to this Pull Request

          1 Warning

:warning:
Should this include readme changes

          1 Message

:book:
Checking CAT aws/rs_aws_compute/aws_compute_plugin.rb

  Generated by :no_entry_sign: Danger


repetition sentences/phrases in response

Hi, how how I penalize the model for generating repetition of sentences/phrases in response, if I want to edit the current custom "generate.py" instead of the transformer pipeline library? Thanks!

See https://huggingface.co/blog/how-to-generate
You don't need to use generate.py but you're welcome to start from that.
This is just a matter of using transformers settings, not particularly specific to this model.


VAT query

Hi,
We are currently being charged VAT on our invoices but are a VAT registered business. Our VAT number is 111 2777 45. If you could please add this to our billing account and refund the VAT paid on the past three invoices would be much appreciated.
Best,
Lizzy

This is strange, it shouldn't have invoiced you the VAT.
I'll get this refunded and corrected as quickly as I can. Thanks for letting me know

To add: I'll also comment here when I've completed the refund.

Ah, no, sorry, I jumped the gun.
Your business is registered in the UK (or at least, that's what you selected when you upgrade). If that's correct, UK business are charged VAT and you claim your VAT back using the normal VAT reporting process.


run_audit setup finds ORACLE and not RHEL

Describe the Issue
On Oracle 9U2 (at least), running the RHEL9-CIS-AUDIT extracts os_vendor from hostnamectl , which returns ORACLE and not RHEL.
Thus when one sets AUDIT_CONTENT_LOCATION, rather than RHEL9 being inserted, ORALCE9 is instead. If one has cloned the repository, it will be /path/RHEL9-CIS-AUDIT, and not /path/ORACLE9-CIS-AUDIT
Expected Behavior
Neither /etc/os-release nor hostnamectl contain and reference to RHEL. At this time, there should be a mapping to identify Oracle as RHEL, as for the future, who knows. If one maps ORACLE to RHEL , then it will functions as intended.
Actual Behavior
The following shows how the run_audit script identifies the os family
++ hostnamectl
++ cut -d : -f2
++ grep Oper
++ awk '{print $1}'
++ tr a-z A-Z

os_vendor=ORACLE
++ awk '-F"' '{print $2}'
++ cut -d . -f1
++ grep -w VERSION_ID= /etc/os-release
os_maj_ver=9
audit_content_version=ORACLE9-CIS-Audit
audit_content_dir=/home/opc/ORACLE9-CIS-Audit

Control(s) Affected
What controls are being affected by the issue
Environment (please complete the following information):

branch being used: devel
Ansible Version: 2.15.2
Host Python Version:  Python 3.11.12
Ansible Server Python Version: Python 3.9.16
Additional Details:

Additional Notes
Anything additional goes here
Possible Solution
In run_audit, have an associative array mapping ORACLE -> RHEL (only as it eliminates having a conditional)

hi @moljnir
Thank you for feeding back and helping us to continue to improve this content. I have raised a new branch sept23
Please let me know if this works now as expected.
many thanks
uk-bolly

hi @moljnir
Thank you for feeding back and helping us to continue to improve this content. I have raised a new branch sept23 Please let me know if this works now as expected.
many thanks
uk-bolly

Hi,
This now runs cleanly on Oracle Linux 9 (U2) as cloned from this branch.
(Should I have "closed" this, or is this comment sufficient ?)
Regards


Header overlapping - DE site

between 1000 to 1600px you can see some overlapping of elements in the header nav
https://main--accenture-newsroom-de--hlxsites.hlx.page/
open Branchen

working fine now


Error Detail Page

To add content to this page, start capturing more details about the user's browser at the point where the error occurred.

For example, show the stack track


Project status update

Just wanted to give everyone an update on the project and an opportunity to discuss the next steps. First I'll introduce the individuals who have contributed or are interested in contributing:

@cgreene, my current advisor at Penn.
@stevemclaugh, an expert on SciHub / LibGen, who has provided important advice and worked with many of the relevant datasets. Stephen currently has limited time but potentially can provide advice if we have questions.
@gedankenstuecke, who has also analyzed SciHub datasets, and is interested in contributing

Over the past few weeks, I've worked to bring the data dependencies up to speed. Here are the current related repositories:

dhimmel/journalmetrics which tidies the public Scopus and Journal Metrics datasets. We're currently using this database for journal metadata since the Crossref API is deficient. This repository contains journal ISSN mappings, citation metrics, and other metadata like publisher and open access status
greenelab/crossref which provides metadata for all DOIs in Crossref. This resource provides the following essential information for each DOI: its type, its containing ISSN, and its date issued.
dhimmel/delays (see upgrade branch) which downloads metadata for all articles in PubMed. There is no immediate plan to incorporate this data, but it's there if we need it.

As of https://github.com/greenelab/scihub/commit/d7dcd98f3ce4d6f681f343ad45e8d09caac862bf, this repository computes the coverage of SciHub for all journals (Scopus titles) and publishers. If you download and open journal-coverage.tsv (perhaps in a spreadsheet app), there's already lot's of cool findings.
Future plans
Step 1: Create article and journal level metrics based on

article presence in LibGen/SciHub
time from article publication date to LibGen upload date
number of article downloads in the SciHub logs

Step 2: See which article or journal attributes associate with the pirate metrics above.
Current issues

existing studies or other projects can be posted in https://github.com/greenelab/scihub/issues/3
see https://github.com/greenelab/scihub/issues/2 for importing LibGen metadata

Any ideas are welcome on how we should go about step 1 or 2. In the next few days, I work on updating this repo and the README to make contributions easier.

Is there a way to snag field information for keywords from some resource? From my quick glance, genetics journals seem to have pretty good coverage, while journals with a more clinical audience (NEJM, Sci Trans Med) lack coverage.

Do you mean resolving ASJC topic codes from Crossref to more general academic fields, or applying field codes to items items that don't have them?
For the former, I used the algorithm from this UC Libraries report (p. 160) to narrow sets of codes to a single field. This table, scraped from Scopus, maps ASJC codes to intermediate field categories.
Microsoft Academic Graph offers a quasi-hierarchy of academic topics at the article level, but since the topic codes (as well as their parent-child relationships) are determined using machine learning, that dataset isn't very useful for this kind of analysis. At one point I flattened the MAG topic graph into an actual tree (trusting the listed probabilities for parent-child relationships), and Theology ended up resolving to Economics as its parent field. That should clearly be the other way around.

Is there a way to snag field information for keywords from some resource?

@cgreene we can assign topics to papers on a per journal or per article level:

On a per journal level, we can use Scopus and their ASJC codes (see asjc-codes.tsv and subject-areas.tsv for the subject to journal mapping). There's also a Scopus journal to top-level code mapping: title-top-levels.tsv. These top levels look a bit different than the UC Libraries report @stevemclaugh mentioned. @stevemclaugh I edited your comment to add #page=161 to the end of the UC Libraries PDF URL. This trick works (at least in chrome) to go to a specific page.

On a per article level, we could use MEDLINE major topics, which have actual curators assign topics to papers in PubMed. The downside here is that PubMed doesn't cover all DOIs.

There are likely other good ways to assign topics to journals / articles. We'll certainly want to do some topic analyses. I'll revisit @stevemclaugh resources at that time.

From my quick glance, genetics journals seem to have pretty good coverage, while journals with a more clinical audience (NEJM, Sci Trans Med) lack coverage.

From looking at the journal coverages, chemistry and Japanese journals had really high coverage. If I remember correctly, @stevemclaugh and @gedankenstuecke also noticed this in their past analyses.

A couple notes:

Some journals have multiple ASJC codes that point to different top-level categories, so it's necessary to have a heuristic to fall back on. That's what the Pay It Forward (PIF) system addresses.

The top-level Scopus categories are very coarse. Chemistry falls under "Physical Sciences," which may or may not suit your purposes. What really bothers me is that all humanities fields point to "Social Sciences" as their top-level code, which is plainly inaccurate. (Humanities texts make up a small percentage of SH downloads, but since it's my background I hate to see them left out.)

From my quick glance, genetics journals seem to have pretty good coverage, while journals with a more clinical audience (NEJM, Sci Trans Med) lack coverage.

From looking at the journal coverages, chemistry and Japanese journals had really high coverage. If I remember correctly, @stevemclaugh and @gedankenstuecke also noticed this in their past analyses.

Yes, that's one observation I made. A commenter on my pre-print brought up something unrelated about the high coverage for The Lancet. My reply hasn't been approved by the biorxiv yet, but the gist is that indeed 235,740 of the ~450,000 Lancet articles are in Sci-Hub. So might partially be more of a journal factor than a discipline factor.

coverage for The Lancet

@gedankenstuecke Lancet coverage discussion moved to https://github.com/greenelab/scihub/issues/6#issuecomment-293921597.

Some journals have multiple ASJC codes that point to different top-level categories

In the past, I haven't found this a big problem (previous analysis). If a journal has multiple categories, it will contribute to multiple stats. Of course, some analyses will require a one-to-one journal-to-topic mapping... In the previous analysis, I filtered ASJC codes with too few articles/journals. We could do something similar here. But @stevemclaugh I agree there's lot's of considerations, drawbacks, and workarounds. We should probably defer any topic decisions for as long as possible (until the use case is more clear).

Corpus Processing Complete
I've completed processing external datasets, which can be found in the download directory. I tidied the data and ironed out all of the encoding issues (fingers crossed).
In addition, we selected the types of Crossref works (DOIs) to include in #7. The updated journal-coverage.tsv and publisher-coverage.tsv now compute coverage across all included types. Here's an excel file for browsing: journal-coverage.xlsx. The results are fun to look at. For example, here's the coverage of PLOS journals:

scopus_id
title_name
scihub
crossref
coverage

4000151809
PLoS Pathogens
4,557
6,183
74%

4000151808
PLoS Genetics
4,868
7,074
69%

4000151810
PLoS Computational Biology
3,676
5,472
67%

144840
PLoS Medicine
2,225
3,417
65%

12977
PLoS Biology
2,933
4,530
65%

11900154404
PLoS Neglected Tropical Diseases
3,092
5,338
58%

10600153309
PLoS ONE
4,731
177,260
3%

Possible next steps are:

creating an interactive table of journal coverage using GitHub Pages
identifying coverage by journal attributes (open access status, subject area, CiteScore)
computing Sci-Hub resistance scores for journals as suggested by @stevemclaugh
survival analysis of time to LibGen as suggested by @cgreene. Correlating this with visitor requests from the Sci-Hub logs.

@gedankenstuecke and @stevemclaugh: I'm going to invite you to be members of this repo. Accepting the invitation does not entail any obligations, but is instead a recognition of your contributions thus far. Note that by default, GitHub makes these memberships private unless you change it to public.

Coverage by Category
6.journal-metrics.ipynb computes Sci-Hub coverage by categories available from Scopus. The following figure shows coverage for active status, open access status, and subject:

You can see coverage by publisher here
So 76% coverage of subscription titles (journals) and 45% coverage of open access titles. A rare corpus to have better coverage of non-open content!
What do people think of the subjects... is it worth reassigning subjects based on @stevemclaugh's mapping?

Sorry for the long absence. I was conference-traveling and pretty busy with that.
One thing that might be interesting would be to compare the coverage by publisher to the kind of journals they publish?
I.e. are the low-coverage publishers the ones that are from lowly covered fields? Or are these outliers in their respective categories?

Coverage updates
In previous comments, we had not consistently cased DOIs, so coverage appeared lower than it actually is. For more details, see https://github.com/greenelab/scihub/issues/9. See coverage.svg and coverage-by-publisher.svg for updated coverage stats based on Scopus. For a single number, Sci-Hub DOIs covered 68.9% of Crossref DOIs (see cell 19).
Coverage by Crossref work type is in type-coverage.tsv. Journal articles have 77.8% coverage and proceedings articles have 79.7% coverage. Book chapters have 14.2% coverage, which is one of the major influences dragging overall coverage to below 70%. The rest of the work types have under one million DOIs and thus are not :whale: :whale2: :whale: .
Coverage by year issued date is in year-coverage.tsv. I should plot this.
Coverage by Journal
From 7.journal-prestige.ipynb: we see that for a given journal coverage is usually near complete or near zero:

Sci-Hub coverage has a weak positive correlation with journal prestige (as measured by citations). Foremost, journals with coverage from 0% to 2.5% have a markedly lower average CiteScore.

Sci-Hub access rates
3.scihub-access-rates.ipynb identifies innaccessible articles using the Sci-Hub request logs. The analysis filters for valid requests, where the article was issued on or before the date of the request and the DOI is in our Crossref subset. A request is considered successful (fulfilled) if the Sci-Hub DOI list contains that DOI. Therefore, if a user was not served an article during the period of the request logs, but that article was later added to Sci-Hub, then that request would incorrectly be counted as fulfilled. I'm assuming this is a relatively rare occurrence.
Here's the amazing finding: Sci-Hub fulfilled 99.3% of valid requests between 2015-09 and 2016-02. The fulfillment rates are near 100% for all article types besides book chapters. Users that requested book chapters received access 82% of the time. The results are slightly lower if counting each unit of access as an article rather than a request. So these findings suggest that Sci-Hub provides near universal access to requested DOIs. The fulfillment rate almost too high to be true.
As a sanity check, we can look at the inaccessible articles: journal-inaccessibility-counts.tsv. Here are the top titles for inaccessible book chapters

scopus_id
title_name
book-chapter
journal-article

25674
Lecture Notes in Computer Science
14154
0

12196
Methods in molecular biology (Clifton, N.J.)
2189
0

17700155007
Communications in Computer and Information Science
1787
0

19700186822
Lecture Notes in Electrical Engineering
1552
0

26761
Advances in Experimental Medicine and Biology
1293
0

Here are the top titles for inaccessible journal articles

scopus_id
title_name
book-chapter
journal-article

144910
Acta Crystallographica Section E: Structure Reports Online
0
21

30422
Journal of Physical Chemistry
0
17

10600153309
PLoS ONE
0
17

39687
Computers in Physics
0
7

20682
Current Pharmaceutical Design
0
6

21100427192
Acta Crystallographica Section E: Crystallographic Communications
0
6

PLoS ONE is interesting since it's an open access journal. One thing to note is that no titles of journal articles had widespread inaccessibility. Only titles of book-chapters had widespread inaccessibility.


Add ability to parse subtitle names

After a quick glance of the source code, I believe this should not be very hard to add, but I could be wrong.
My suggestion for implementing this would be to check the end of the name for an ISO-639-1 (2-letter) or ISO-639-2/B (3-letter) language name or a language name + keyword (forced, sdh, etc). If none of those are present and the file extension (if provided) is not for a subtitle file, then the name can be parsed as usual.
Examples:
A.Movie.2021.1080p.bluray.x264-xxx.en.srt
A.Movie.2021.1080p.bluray.x264-xxx.eng.sub
A.Movie.2021.1080p.bluray.x264-xxx.eng.forced.ssa
A.Movie.2021.1080p.bluray.x264-xxx.eng.sdh.srt

A.Series.2021.s01e01.1080p.bluray.x264-xxx.en.srt
A.Series.2021.s01e01.1080p.bluray.x264-xxx.eng.sub
A.Series.2021.s01e01.1080p.bluray.x264-xxx.eng.forced.ssa
A.Series.2021.s01e01.1080p.bluray.x264-xxx.eng.sdh.srt

Thanks for opening an issue!
I'll definitely be looking to add subtitle file extensions (might add a file-type field, possibly replacing container).
As for the language stuff, the (admittedly, few) examples I've seen simply copy the video title, the only difference being the file extension. Do you have any real examples, or a place to find them, that are similar to the examples you provided? This would help with knowing which subtitle categories to look for (from your examples, "forced" and "sdh"), so I can see if/what new fields will be necessary.

I've pushed some initial work towards this on the dev branch.
container is now filetype, and includes support for srt, sub, and ssa. There are some issues with sub (the subtitles field gets filled), but this is more related to #19.


update the content of deploying helloworld agent in the readme

Signed-off-by: zhujian<EMAIL_ADDRESS>related PR: https://github.com/open-cluster-management-io/addon-framework/pull/36

/approve
/lgtm


Ability to run only specified tests

As per https://github.com/sindresorhus/eslint-plugin-unicorn/issues/501 , there is a use for only running certain tests, whether individual tests are marked by only or specific indexes of valid and invalid tests are designated for inclusion.

Fixed by #22


Add To Be Executed component

Add component for products still alive, but scheduled to be killed.

closed in latest PR


Exclude unix sockets using NO_SYS_UN_H

This replaces the usage of #ifdef AF_UNIX in bio/* with #ifndef NO_SYS_UN_H. This is already set for the systems we currently undefine AF_UNIX on.

Checklist

I am not sure this is a right fix, at least it is no straightforwardly clear

My assumption was that since we do not include <sys/un.h> on the same platforms:
https://github.com/openssl/openssl/blob/a381897470f5c6ac2f4e71f48d33d71cde7873dd/include/internal/sockets.h#L19-L25
where <sys/un.h> which includes sockaddr_un. So currently we set NO_SYS_UN_H to prevent the inclusion of <sys/un.h> and then later undef AF_UNIX to prevent us from using sockaddr_un.

Hmm, but there might be other systems that do not define AF_UNIX but are not covered by the cases where we define NO_SYS_UN_H in the sockets.h.
Is this PR fixing a concrete issue or what is the purpose?

Hmm, but there might be other systems that do not define AF_UNIX but are not covered by the cases where we define NO_SYS_UN_H in the sockets.h.

Is there any reason to import <sys/un.h when AF_UNIX is not defined?

Is this PR fixing a concrete issue or what is the purpose?

I am working on an OS, which defines AF_UNIX, but does not support unix sockets. Currently this would require me to patch the source files, while with this change I can directly pass NO_SYS_UN_H into my build system.
Another way would be to add something like OPENSSL_NO_UNIX_SOCK, which gets defined on OPENSSL_SYS_WINDOWS and OPENSSL_SYS_VMS, which feels a bit more official than NO_SYS_UN_H.

Is there any reason to import <sys/un.h when AF_UNIX is not defined?

You've misunderstood. There is no reason for that, but what I am saying is that the NO_SYS_UN_H is defined in sockets.h only in two particular cases but there might be other targets that weren't defining AF_UNIX and your PR would break these.

Another way would be to add something like OPENSSL_NO_UNIX_SOCKETS, which gets defined on OPENSSL_SYS_WINDOWS and OPENSSL_SYS_VMS.

OK, then do it. Put it at the end of sockets.h and also define it when AF_UNIX is not defined. (Also do not forget to check whether OPENSSL_NO_UNIX_SOCKETS is already defined.)

This appears to build correctly on NonStop. However, other independent issues are preventing the build from completing.

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 61 days ago

This pull request is ready to merge

Merged, thanks for the contribution.


python311Packages.ring-doorbell: 0.8.1 -> 0.8.3

Changelog: https://github.com/tchellomello/python-ring-doorbell/releases/tag/0.8.3
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 270578 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.ring
python310Packages.ring-doorbell
python310Packages.ring-doorbell.dist
python311Packages.ring-doorbell
python311Packages.ring-doorbell.dist


Grey screen in VR MSFS 2020

Describe the bug
VR in MSFS 2020 won't work on my system with the Varjo Aero  and Varlo base version <IP_ADDRESS> when the latest BETA 2 Hotfix 2 (0.9.6) is enabled. I get just a grey screen. The System status page of OpenXr shows the Varjo runtime version 3.4.2 and API layers to be installed and also shows the install in the C drive Program Files folder as should be. I've tried every combination of opening and closing the programs and the grey screen appears when the Toolkit is enabled and VR works normally when i disable. I've uninstalled and reinstalled both the toolkit and Aero base. There's nothing in the community folder.
The GPU is an EVGA 3090 FTW3 Ultra, Nvidia driver 511.23, 12900k cpu, Windows 11 completely updated. MSFS 2020 is updated to latest.
Log File
XR_APILAYER_NOVENDOR_toolkit.log
[OXRTK] 2022-02-11 10:54:35 -0500: dllHome is "C:\Program Files\OpenXR-Toolkit"
[OXRTK] 2022-02-11 10:54:35 -0500: XR_APILAYER_NOVENDOR_toolkit layer (Beta-2) is active
[OXRTK] 2022-02-11 10:54:43 -0500: Using OpenXR runtime Varjo OpenXR Runtime 3.4.2

I suspect this is due to the (broken) prediction dampening setting.
Can you follow these steps: https://mbucchia.github.io/OpenXR-Toolkit/troubleshooting.html#start-in-safe-mode
and use Safe mode to revert all your settings. Please please do not use the prediction dampening setting. It will be removed for Varjo in the next release.

Thanks for the reply. I appreciate your time.
I had tried safe mode a couple times and it didn't fix the issue. I checked and the prediction dampening was at 0%. I tried it again with opening and closing the toolkit, the sim, rebooting, etc. Didn't work. I did note that the headset also would not see anything in normal vr mode. I would see the program was in VR on the comp screen but moving the headset around did nothing. Fiddled with this back and forth for about twenty minutes. Suddenly, it worked and i don't have a clue  why. Now it works fine every time. Whatever.....in the end, your suggestion led to the fix. Thanks again.


AMD support does not work as expected for pkg/sinon.js

When loading pkg/sinon.js via requirejs, AMD detection does not work correctly here.
The problem happens when loading pkg/sinon.js due to a var define; right before the IEFF for sinon runs.  The var define; causes define to be undefined when detecting AMD.
Take a look here sinon and search exactly for var define; to see where the problem occurs.  I got things working by simply removing var define;, but I am not sure how that's getting inserted during the build process, so I will defer to someone with more knowledge here.
I am happy to test any proposed changes.

Run into this issue when using<EMAIL_ADDRESS>inside karma test runner:
PhantomJS 1.9.8 (Linux) ERROR
  Error: Mismatched anonymous define() module: function () {
        return (root.sinon = factory());
      }
  http://requirejs.org/docs/errors.html#mismatch
  at /home/maiku/Projects/xxx/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux): Executed 0 of 0 ERROR (0.088 secs / 0 secs)

Last version that works for me is 1.10.3.
Version 1.11.1 has a different error:

INFO [karma]: Karma v0.12.31 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Linux)]: Connected on socket ATQ3s07m5Yok_HQoJog7 with id 72830728
PhantomJS 1.9.8 (Linux) ERROR
  Error: Mismatched anonymous define() module: function loadDependencies(require, exports, module) {
          sinon = module.exports = require("./sinon/util/core");
          require("./sinon/extend");
          require("./sinon/typeOf");
          require("./sinon/times_in_words");
          require("./sinon/spy");
          require("./sinon/call");
          require("./sinon/behavior");
          require("./sinon/stub");
          require("./sinon/mock");
          require("./sinon/collection");
          require("./sinon/assert");
          require("./sinon/sandbox");
          require("./sinon/test");
          require("./sinon/test_case");
          require("./sinon/match");
          require("./sinon/format");
          require("./sinon/log_error");
      }
  http://requirejs.org/docs/errors.html#mismatch
  at /home/maiku/Projects/xxx/node_modules/requirejs/require.js:141
PhantomJS 1.9.8 (Linux): Executed 0 of 0 ERROR (0.077 secs / 0 secs)

@MaikuMori how do you conclude that this is related to the original bug report?

@MiguelCastillo thank you for reporting this :fireworks:
Would you mind providing a bit more detail on how to produce the error?
It could be:

a pull request with a failing test
a git repo with an example
a gist
jsfiddle
even some code pasted into a comment on this ticket

Having a runable example that shows the code failing goes a long way towards understanding it, and towards fixing it.

@mroderick You're right, the bug I encountered seems to be more related to #591.
I can open a seperate issue if that helps.

@mroderick For sure, let me put something together for ya in the next day or two.


Question regarding imagination process

I can't fully understand the imagination process
in https://github.com/Eclectic-Sheep/sheeprl/blob/main/notebooks/dreamer_v3_imagination.ipynb,
from the "context" of beginning of imagination
    if i == initial_steps - imagination_steps - 1:
        stochastic_state = player.stochastic_state.clone()
        recurrent_state = player.recurrent_state.clone()

the imagination is performed
        # imagination step
        imagined_stochastic_state, recurrent_state = world_model.rssm.imagination(
            stochastic_state, recurrent_state, actions
        )

but doesn't stochastic_state_{t-1} have to be fed into world_model.rssm.imagination to output stochastic_state_{t}?
i.e.
        # imagination step
        stochastic_state, recurrent_state = world_model.rssm.imagination(
            stochastic_state, recurrent_state, actions
        )

Really appreciate if you could help me understand this process!

Thanks for the reply!
but my qusestion is,
https://github.com/Eclectic-Sheep/sheeprl/blob/2bae37985d789a67d569bf37ed937b9445ae9ab8/sheeprl/algos/dreamer_v3/dreamer_v3.py#L235
why isn't "next" stochastic used for next next stochastic like shown in behavior learning?

You're super right! Thank you both you and @michele-milesi for spotting that! I thought i was going blind!
I'll fix it up right now

Opened here a new branch: can you try it out?

Yup I think the fix is correct! We can close this issue!

I have two questions!

shouldn't initial stochastic_state be flattened s.t.

stochastic_state = player.stochastic_state.view(1, 1, -1).clone()

in
    if i == initial_steps - imagination_steps - 1:
        stochastic_state = player.stochastic_state.clone()
        recurrent_state = player.recurrent_state.clone()

shouldn't 0.5 also be added to imagined reconstructed obs? s.t.

        rec_obs = world_model.observation_model(imagined_latent_states) + 0.5

in
 # imagination step
        stochastic_state, recurrent_state = world_model.rssm.imagination(stochastic_state, recurrent_state, actions)
        # update current state
        imagined_latent_states = torch.cat((stochastic_state.view(1, 1, -1), recurrent_state), -1)
        rec_obs = world_model.observation_model(imagined_latent_states)
        step_data["rgb"] = rec_obs["rgb"].unsqueeze(0).detach().cpu().numpy()


Describe more accurately when the order of context flavors matters

See https://github.com/grammyjs/hydrate/pull/1

@Loskir regarding https://t.me/grammyjs/52668


[Butterfly Aspect] fix typo

Changes / Comments

fix typo

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ x ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ x ] Is this a bug fix?

Character Sheet Info Roll20 Internal Use only.


fix (mipro): enable running mipro using only labeled demos

Enable performing mipro prompt optimization while only using labeled demos. Here, bootstrapped demos are solely used for the meta-prompt to enhance the final prompt.
Before fix:

max_bootstrapped_demos = 0
and
max_labeled_demos > 0

mipro optimizer raises ValueError: "No examples found for the given predictor"

Thank you @famimahmud !
@XenonMolecule @klopsahlong thoughts?

Thanks a lot @famimahmud ! Deciding to close after discussion internally. Bootstrapping is good :D Let us know if you want to consider this more deeply.