[youtube] premature download termination with --live-from-start

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
(URLs are no longer playable.)
Unfortunately I did not have an HLS download, but no playback issue was noticed in the browser.
Generally speaking, it seems possible for --live-from-start to prematurely terminating the download of each stream, resulting in a truncated or corrupted file.
First download, video lasted longer than the audio, 01:19:23.000 vs 00:52:58.998 (I believe the video is full-length). On playback in mpv, the following warning is logged, at the 53 minute mark:
[lavf] Too many packets in the demuxer packet queues:
[lavf]   video/0: 16054 packets, 157294896 bytes
[lavf]   audio/1: 0 packets, 0 bytes

Seeking beyond that point is considerably slower.
Second download, video and audio downloads terminated even earlier, at 00:43:38:00. The fragments after that point were never downloaded.
I suspect the reworking of --live-from-start may be at fault. It may also be another issue somewhere in the downloader as well, I do not know.
I do know, however, that based on the logs the interruption seems tied to a spontaneous webpage download in the middle of downloading the fragments. Presumably when this happens the stream download is permanently interrupted.
Verbose log
# First download
date; ytdlp -v --write-thumbnail --write-description --write-info-json  --live-from-start --wait-for-video=2-3 -N4 J5c7fJOMeXk; date
Sat Feb 26 02:00:06 AM EST 2022
[debug] Command-line config: ['-v', '--write-thumbnail', '--write-description', '--write-info-json', '--live-from-start', '--wait-for-video=2-3', '-N4', 'J5c7fJOMeXk']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.02.04 [c1653e9ef] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: f0734e119
[debug] Python version 3.10.2 (CPython 64bit) - Linux-5.15.25-1-lts-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 5.0 (setts), ffprobe 5.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: J5c7fJOMeXk
[youtube] J5c7fJOMeXk: Downloading webpage
[youtube] J5c7fJOMeXk: Downloading android player API JSON
WARNING: [youtube] This live event will begin in 15 minutes.
[wait] Waiting for 00:00:03 - Press Ctrl+C to try now
[wait] Wait period ended; Re-extracting data
[debug] [youtube] Extracting URL: J5c7fJOMeXk
[youtube] J5c7fJOMeXk: Downloading webpage
[youtube] J5c7fJOMeXk: Downloading android player API JSON
WARNING: [youtube] This live event will begin in 15 minutes.
[wait] Waiting for 00:00:03 - Press Ctrl+C to try now
[wait] Wait period ended; Re-extracting data
<cut...>
[youtube] J5c7fJOMeXk: Downloading webpage
[youtube] J5c7fJOMeXk: Downloading android player API JSON
WARNING: [youtube] This live event will begin in a few moments.
WARNING: Release time of video is not known
[wait] Waiting for 00:00:02 - Press Ctrl+C to try now
[wait] Wait period ended; Re-extracting data
[debug] [youtube] Extracting URL: J5c7fJOMeXk
[youtube] J5c7fJOMeXk: Downloading webpage
[youtube] J5c7fJOMeXk: Downloading android player API JSON
WARNING: [youtube] This live event will begin in a few moments.
WARNING: Release time of video is not known
[wait] Waiting for 00:00:02 - Press Ctrl+C to try now
[wait] Wait period ended; Re-extracting data
[debug] [youtube] Extracting URL: J5c7fJOMeXk
[youtube] J5c7fJOMeXk: Downloading webpage
[youtube] J5c7fJOMeXk: Downloading android player API JSON
[youtube] J5c7fJOMeXk: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: best/bestvideo+bestaudio
[info] J5c7fJOMeXk: Downloading 1 format(s): 299+140
[info] Writing video description to: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].description
[info] Downloading video thumbnail 46 ...
[info] Writing video thumbnail 46 to: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].webp
[info] Writing video metadata as JSON to: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].info.json
[debug] Invoking downloader on "https://manifest.googlevideo.com/api/manifest/dash/expire/1645881617/ei/sdQZYtmOJeOA2LYPtcufyA8/ip/<IP_ADDR>/id/J5c7fJOMeXk.1/source/yt_live_broadcast/requiressl/yes/hfr/1/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/vprv/1/pacing/0/itag_bl/376%2C377%2C384%2C385%2C612%2C613%2C617%2C619%2C623%2C628%2C655%2C656%2C660%2C662%2C666%2C671/keepalive/yes/fexp/24001373%2C24007246/itag/0/playlist_type/LIVE/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag%2Cplaylist_type/sig/AOq0QJ8wRAIgfR6yUNDocKcpqwWm3rXlVaUPRJzTOQAGbQC4M880p44CIBEZWRSHiK-oMYi-c5d4BsaJnZd48LBQU1DZLJNPB83D", "https://manifest.googlevideo.com/api/manifest/dash/expire/1645881617/ei/sdQZYtmOJeOA2LYPtcufyA8/ip/<IP_ADDR>/id/J5c7fJOMeXk.1/source/yt_live_broadcast/requiressl/yes/hfr/1/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/vprv/1/pacing/0/itag_bl/376%2C377%2C384%2C385%2C612%2C613%2C617%2C619%2C623%2C628%2C655%2C656%2C660%2C662%2C666%2C671/keepalive/yes/fexp/24001373%2C24007246/itag/0/playlist_type/LIVE/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag%2Cplaylist_type/sig/AOq0QJ8wRAIgfR6yUNDocKcpqwWm3rXlVaUPRJzTOQAGbQC4M880p44CIBEZWRSHiK-oMYi-c5d4BsaJnZd48LBQU1DZLJNPB83D"
[dashsegments] Total fragments: unknown (live)
[download] Destination: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f299.mp4
[dashsegments] Total fragments: unknown (live)
[download] Destination: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f140.mp4
WARNING: The download speed shown is only of one thread. This is a known issue and patches are welcome
WARNING: The download speed shown is only of one thread. This is a known issue and patches are welcome
[download] 1.60GiB at  1.62MiB/s (52:53) (frag 3177)[youtube] J5c7fJOMeXk: Downloading webpage
[download] 1.60GiB at  2.59MiB/s (52:53) (frag 3179)
[download] 65.68MiB at 147.60KiB/s (52:53) (frag 3179)[youtube] J5c7fJOMeXk: Downloading android player API JSON
[youtube] J5c7fJOMeXk: Downloading MPD manifest
[download] 2.43GiB at  2.59MiB/s (01:19:19) (frag 4763)[download] Got server HTTP error: The read operation timed out. Retrying (attempt 1 of 10) ...
[youtube] J5c7fJOMeXk: Downloading webpage
[youtube] J5c7fJOMeXk: Downloading android player API JSON
[youtube] J5c7fJOMeXk: Downloading m3u8 information
[youtube] J5c7fJOMeXk: Downloading MPD manifest
[youtube] J5c7fJOMeXk: Downloading m3u8 information
[youtube] J5c7fJOMeXk: Downloading MPD manifest
[download] Got server HTTP error: HTTP Error 502: Bad Gateway. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: IncompleteRead(227304 bytes read). Retrying fragment 4764 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4764 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] 2.43GiB at  5.30KiB/s (01:20:31) (frag 4763)[download] Got server HTTP error: The read operation timed out. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4764 (attempt 3 of 10) ...
[download] 2.43GiB at  3.99KiB/s (01:21:10) (frag 4763)[download] Got server HTTP error: The read operation timed out. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4764 (attempt 4 of 10) ...
[download] 2.43GiB at  3.50KiB/s (01:21:34) (frag 4763)[download] Got server HTTP error: The read operation timed out. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: IncompleteRead(1000 bytes read). Retrying fragment 4764 (attempt 5 of 10) ...
[download] Got server HTTP error: IncompleteRead(1000 bytes read). Retrying fragment 4764 (attempt 6 of 10) ...
[download] Got server HTTP error: The read operation timed out. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: The read operation timed out. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4764 (attempt 7 of 10) ...
[download] Got server HTTP error: The read operation timed out. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: The read operation timed out. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4764 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 4764 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4764 (attempt 10 of 10) ...
[download] fragment not found; Skipping fragment 4764 ...
[download] 100% of 2.43GiB in 01:24:24

[Merger] Merging formats into "【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f299.mp4' -i 'file:【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f140.mp4' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].temp.mp4'
Deleting original file 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f140.mp4 (pass -k to keep)
Deleting original file 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f299.mp4 (pass -k to keep)
Sat Feb 26 03:44:55 AM EST 2022

# download 2, started late
date; ytdlp -v --write-thumbnail --write-description --write-info-json  --live-from-start --wait-for-video=2-3 -N4 --keep-fragments J5c7fJOMeXk;date
Sat Feb 26 02:47:58 AM EST 2022
[debug] Command-line config: ['-v', '--write-thumbnail', '--write-description', '--write-info-json', '--live-from-start', '--wait-for-video=2-3', '-N4', '--keep-fragments', 'J5c7fJOMeXk']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.02.04 [c1653e9ef] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: f0734e119
[debug] Python version 3.10.2 (CPython 64bit) - Linux-5.15.25-1-lts-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 5.0 (setts), ffprobe 5.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: J5c7fJOMeXk
[youtube] J5c7fJOMeXk: Downloading webpage
[youtube] J5c7fJOMeXk: Downloading android player API JSON
[youtube] J5c7fJOMeXk: Downloading MPD manifest
[youtube] J5c7fJOMeXk: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: best/bestvideo+bestaudio
[info] J5c7fJOMeXk: Downloading 1 format(s): 299+140
[info] Writing video description to: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].description
[info] Downloading video thumbnail 46 ...
[info] Writing video thumbnail 46 to: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].webp
[info] Writing video metadata as JSON to: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].info.json
[debug] Invoking downloader on "https://manifest.googlevideo.com/api/manifest/dash/expire/1645883280/ei/MNsZYs7SOM-T2LYPvYe78A4/ip/<IP_ADDR>/id/J5c7fJOMeXk.1/source/yt_live_broadcast/requiressl/yes/hfr/1/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/vprv/1/pacing/0/itag_bl/376%2C377%2C384%2C385%2C612%2C613%2C617%2C619%2C623%2C628%2C655%2C656%2C660%2C662%2C666%2C671/keepalive/yes/fexp/24001373%2C24007246/itag/0/playlist_type/LIVE/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag%2Cplaylist_type/sig/AOq0QJ8wRQIhAKoe926iCe39_YhUkoRbQG1XMuW-Anh26o2epLvoUXLvAiBhg_iObCdPsStDTZ-KHX7IxPMGkjVzB31WSD7tNfIhpQ%3D%3D", "https://manifest.googlevideo.com/api/manifest/dash/expire/1645883280/ei/MNsZYs7SOM-T2LYPvYe78A4/ip/<IP_ADDR>/id/J5c7fJOMeXk.1/source/yt_live_broadcast/requiressl/yes/hfr/1/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/vprv/1/pacing/0/itag_bl/376%2C377%2C384%2C385%2C612%2C613%2C617%2C619%2C623%2C628%2C655%2C656%2C660%2C662%2C666%2C671/keepalive/yes/fexp/24001373%2C24007246/itag/0/playlist_type/LIVE/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag%2Cplaylist_type/sig/AOq0QJ8wRQIhAKoe926iCe39_YhUkoRbQG1XMuW-Anh26o2epLvoUXLvAiBhg_iObCdPsStDTZ-KHX7IxPMGkjVzB31WSD7tNfIhpQ%3D%3D"
[dashsegments] Total fragments: unknown (live)
[download] Destination: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f299.mp4
[dashsegments] Total fragments: unknown (live)
[download] Destination: 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f140.mp4
WARNING: The download speed shown is only of one thread. This is a known issue and patches are welcome
WARNING: The download speed shown is only of one thread. This is a known issue and patches are welcome
[download] 1.30GiB at 379.93KiB/s (15:48) (frag 2608)[youtube] J5c7fJOMeXk: Downloading webpage
[download] 1.30GiB at  2.67MiB/s (15:49) (frag 2610)
[download] 1.30GiB at  2.09MiB/s (15:49) (frag 2611)[youtube] J5c7fJOMeXk: Downloading MPD manifest
[youtube] J5c7fJOMeXk: Downloading MPD manifestg 2617)
[download] 100% of 1.30GiB in 15:52
[download] 100% of 54.09MiB in 15:51
[Merger] Merging formats into "【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f299.mp4' -i 'file:【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f140.mp4' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].temp.mp4'
Deleting original file 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f140.mp4 (pass -k to keep)
Deleting original file 【KARAOKE】Off COLLAB(Fauna, Mumei, Ina, Kronii) IKZ [J5c7fJOMeXk].f299.mp4 (pass -k to keep)
Sat Feb 26 03:04:06 AM EST 2022

It may have been an untrapped URLError or OSError; with the updated HttpFD after https://github.com/yt-dlp/yt-dlp/pull/3065 the downloader caught an error from one of the stream downloads when my host roamed from an unresponsive router (AP):
...
[youtube] Saving request to None_https_-_manifest.googlevideo.com_api_manifest_dash_expire_1647985160_ei_qO05Yu6MA9uQ2LYP7L2liAI_ip_<IP_ADDR>_id_W_ncMSb255Y.1_source_yt_live_broadcast_requiressl_yes_hfr_1_as_fmp4_audio_clear%2Cwe_9005e9d487614fadeb34cde4e2d2ff86.dump
[youtube] Saving request to None_https_-_manifest.googlevideo.com_api_manifest_dash_expire_1647985160_ei_qO05Yu6MA9uQ2LYP7L2liAI_ip_<IP_ADDR>_id_W_ncMSb255Y.1_source_yt_live_broadcast_requiressl_yes_hfr_1_as_fmp4_audio_clear%2Cwe_9005e9d487614fadeb34cde4e2d2ff86.dump
[download] 2.44GiB at  9.85MiB/s (14:08) (frag 4761)[download] Got server HTTP error: <urlopen error [Errno 101] Network is unreachable>. Retrying (attempt 1 of 30) ...
[download] 6.12GiB at 729.64KiB/s (01:35:50) (frag 11791)[download] Got server HTTP error: IncompleteRead(70148 bytes read). Retrying (attempt 1 of 30) ...
[download] 7.02GiB at 108.89KiB/s (02:04:25) (frag 13502)[download] Got server HTTP error: IncompleteRead(6141 bytes read). Retrying (attempt 1 of 30) ...
[download] 7.50GiB at  1.41MiB/s (02:19:47) (frag 14428)
[download] 298.11MiB at 27.45KiB/s (02:19:47) (frag 14428)

Presumably before this would just kill one of the streams and leave the other stream to download by itself if it didn't end up aborting the whole download.
Initially I thought this would be caught by replacing HTTPError with URLError in fragment.py, but a closer look reveals it to be handled by HttpFD, so there may be nothing to fix anymore.

@Lesmiscore You were to one who triaged this. Were you able to reproduce the issue?

That's "working properly", at least from yt-dlp's perspective.
This is because YouTube gets buggy for the last segment.

https://github.com/yt-dlp/yt-dlp/pull/3065 likely fixed this. Can be reopened if anyone can reproduce

I can still reproduce this; in my case it was on a YouTube stream where the stream is lagging. I added some local debugging info to try and hunt down why, although I still lack a complete picture.
First off, the streams "die" (stop generating) on their own volition, when no_fragment_score is incremented past 30. is_live is still True. It's possible for just one of the streams to die if the error (which caused a read timeout) was very brief.
When the fragment download fails, the MPD manifest is refetched via _extract_mpd_formats_and_subtitles. Upon doing so, the list of available formats can change:
[youtube] Format availability changed! Current: ['139', '140', '133', '134', '135', '160', '136', '137', '242', '243', '244', '278', '247', '248']; lost ['299', '298']; gained ['248', '247', '242', '244', '243', '278']
[youtube] Format availability changed! Current: ['139', '140', '133', '134', '135', '160', '136', '137']; lost ['243', '244', '248', '278', '242', '247']; gained []
(debug message is mine)
There is a brief period (up to 10 seconds?) right when a livestream actually ends where all the formats may disappear before the stream no longer is live. Due to self-throttling for the manifest download this brief period could be missed. When the formats can be refreshed, new formats will appear:
[youtube] Format availability changed! Current: ['91', '92', '93', '94', '300', '301', '139', '140', '133', '134', '135', '160', '298', '299', '136', '137']; lost []; gained ['94', '91', '301', '300', '92', '93']
(as a side note, formats 300 and 301 do not appear to be listed in the extractor; they seem to be combined 720p/1080p HLS streams that are only available until the video is converted to vp9)

I believe the throttling on refresh_manifest may be causing no_fragment_score to increment rapidly (beyond the 30 threshold) and causing the stream download to stop.
My suggestions:

As long as is_live is true, we do not exit the stream (don't increment no_fragment_score). Errors should be assumed to be transient (except HTTP 403 maybe).
We should notify if a stream has died so that we aren't downloading just the video or audio without the user realizing.
We should not abort downloading if the format disappears or the manifest fails to download; YouTube often throws HTTP 502/503 errors which go away after a few seconds. A retry with exponential backoff I believe would be appropriate here.
The manifest should possibly be checked more often (with reduced/no throttle on error), but the throttle itself needs to stay. I'm not very sure about this part, since I don't know the exact reason for the 5 second throttle; I think to avoid simultaneous requests caused by concurrency?

I likely made a few mistakes; feel free to point them out.

Move to https://github.com/yt-dlp/yt-dlp/issues/1564

Hello, I ran into a similar issue where the download resumes as normal after a transient error, however the final video is truncated. Reproduction steps:

run yt-dlp with --live-from-start on a youtube live stream
after download begins, disconnect internet connection and then reconnect after error/retry messages start showing up
wait for stream to end

I'm fairly certain this has to do with portrait vs landscape streams.
portrait:
F:\incoming\ffmpeg-4.0-win32-static\a aswerga2>yt-dlp -f 135+140 https://www.youtube.com/channel/UCOitAEYleeHZKt-npA0muww/live --live-from-start -r 266666 --force-overwrites -v
[debug] Command-line config: ['-f', '135+140', 'https://www.youtube.com/channel/UCOitAEYleeHZKt-npA0muww/live', '--live-from-start', '-r', '266666', '--force-overwrites', '-v']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [974d44403] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2023-12-23-git-f5f414d9c4-essentials_build-www.gyan.dev (setts), ffprobe 2023-12-23-git-f5f414d9c4-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1833 extractors
[youtube:tab] Extracting URL: https://www.youtube.com/channel/UCOitAEYleeHZKt-npA0muww/live
[youtube:tab] UCOitAEYleeHZKt-npA0muww/live: Downloading webpage
[youtube] Extracting URL: https://www.youtube.com/watch?v=8Zf6S_59wpM
[youtube] 8Zf6S_59wpM: Downloading webpage
[youtube] 8Zf6S_59wpM: Downloading ios player API JSON
[youtube] 8Zf6S_59wpM: Downloading android player API JSON
[youtube] 8Zf6S_59wpM: Downloading MPD manifest
[youtube] 8Zf6S_59wpM: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] 8Zf6S_59wpM: Downloading 1 format(s): 135+140
[debug] Invoking dashsegments downloader on "https://manifest.googlevideo.com/api/manifest/dash/expire/1708247798/ei/lnbRZYTtBN_Ii9oPmN6TmAQ/ip/2a02%3A8388%3A8cc2%3A1b00%3A291b%3A1cd8%3A220b
%3Ab2ac/id/8Zf6S_59wpM.1/source/yt_live_broadcast/requiressl/yes/xpc/EgVo2aDSNQ%3D%3D/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/manife
st_duration/6/spc/UWF9f96kR0ite9idXFHvxFWQBbmJHYBzbtsvxzK6HiZiJac/vprv/1/pacing/0/itag_bl/376%2C377%2C384%2C385%2C612%2C613%2C617%2C619%2C623%2C628%2C655%2C656%2C660%2C662%2C666%2C671/keepal
ive/yes/fexp/24007246/itag/0/playlist_type/DVR/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cxpc%2Cas%2Cmanifest_duration%2Cspc%2Cvprv%2Citag%2Cplaylist_type/sig/AJfQdSswRgIhAKRyXxyy
hgE8fiQ0cdOr4rd-mtOKv-co4qO_vO-Jl7vcAiEA_5xmofjr7U6JEgbzt7LCsGq7BktGutBv0iePTe8Dy8U%3D", "https://manifest.googlevideo.com/api/manifest/dash/expire/1708247798/ei/lnbRZYTtBN_Ii9oPmN6TmAQ/ip/2
a02%3A8388%3A8cc2%3A1b00%3A291b%3A1cd8%3A220b%3Ab2ac/id/8Zf6S_59wpM.1/source/yt_live_broadcast/requiressl/yes/xpc/EgVo2aDSNQ%3D%3D/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%
2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/manifest_duration/6/spc/UWF9f96kR0ite9idXFHvxFWQBbmJHYBzbtsvxzK6HiZiJac/vprv/1/pacing/0/itag_bl/376%2C377%2C384%2C385%2C612%2C613%2C617%2C619%2C623%2C6
28%2C655%2C656%2C660%2C662%2C666%2C671/keepalive/yes/fexp/24007246/itag/0/playlist_type/DVR/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cxpc%2Cas%2Cmanifest_duration%2Cspc%2Cvprv%2C
itag%2Cplaylist_type/sig/AJfQdSswRgIhAKRyXxyyhgE8fiQ0cdOr4rd-mtOKv-co4qO_vO-Jl7vcAiEA_5xmofjr7U6JEgbzt7LCsGq7BktGutBv0iePTe8Dy8U%3D"
[dashsegments] Total fragments: unknown (live)
[download] Destination: Welcome All here💕👍Meet new friends [8Zf6S_59wpM].f135.mp4
[debug] File locking is not supported. Proceeding without locking
[dashsegments] Total fragments: unknown (live)
[download] Destination: Welcome All here💕👍Meet new friends [8Zf6S_59wpM].f140.mp4
[debug] [youtube] [8Zf6S_59wpM] Generating fragments for format 135
[debug] [youtube] [8Zf6S_59wpM] Generating fragments for format 140
[download]  119.50MiB at  173.11KiB/s (00:14:35) (frag 763/1060)[youtube] 8Zf6S_59wpM: Downloading webpage
[download]  119.56MiB at  156.45KiB/s (00:14:35) (frag 763/1060)[youtube] 8Zf6S_59wpM: Downloading ios player API JSON
[download]  119.63MiB at  161.01KiB/s (00:14:35) (frag 763/1060)[youtube] 8Zf6S_59wpM: Downloading android player API JSON
[youtube] 8Zf6S_59wpM: Downloading MPD manifest
[youtube] 8Zf6S_59wpM: Downloading MPD manifest
[download]  133.79MiB at  183.88KiB/s (00:15:51) (frag 809/1060)
[download] 100% of  122.75MiB in 00:14:36 at 143.37KiB/s

landscape:
F:\incoming\ffmpeg-4.0-win32-static\a aswerga>yt-dlp -f 135+140 https://www.youtube.com/channel/UCCiEKK4835FTejF4ogW4P-A/live --live-from-start -r 266666 --force-overwrites -v
[debug] Command-line config: ['-f', '135+140', 'https://www.youtube.com/channel/UCCiEKK4835FTejF4ogW4P-A/live', '--live-from-start', '-r', '266666', '--force-overwrites', '-v']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [974d44403] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2023-12-23-git-f5f414d9c4-essentials_build-www.gyan.dev (setts), ffprobe 2023-12-23-git-f5f414d9c4-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1833 extractors
[youtube:tab] Extracting URL: https://www.youtube.com/channel/UCCiEKK4835FTejF4ogW4P-A/live
[youtube:tab] UCCiEKK4835FTejF4ogW4P-A/live: Downloading webpage
[youtube] Extracting URL: https://www.youtube.com/watch?v=cz1FvQqs2Qw
[youtube] cz1FvQqs2Qw: Downloading webpage
[youtube] cz1FvQqs2Qw: Downloading ios player API JSON
[youtube] cz1FvQqs2Qw: Downloading android player API JSON
[youtube] cz1FvQqs2Qw: Downloading MPD manifest
[youtube] cz1FvQqs2Qw: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] cz1FvQqs2Qw: Downloading 1 format(s): 135+140
[debug] Invoking dashsegments downloader on "https://manifest.googlevideo.com/api/manifest/dash/expire/1708247446/ei/NnXRZZSAFYb31gKuqrLQDA/ip/2a02%3A8388%3A8cc2%3A1b00%3A291b%3A1cd8%3A220b%
3Ab2ac/id/cz1FvQqs2Qw.1/source/yt_live_broadcast/requiressl/yes/xpc/EgVo2aDSNQ%3D%3D/hfr/1/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/s
pc/UWF9fzsu1v0HqwOvNCYrXj24M7bxvkYvnDD6Yns836vmOuE/vprv/1/pacing/0/itag_bl/376%2C377%2C384%2C385%2C612%2C613%2C617%2C619%2C623%2C628%2C655%2C656%2C660%2C662%2C666%2C671/keepalive/yes/fexp/24
007246/itag/0/playlist_type/DVR/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cxpc%2Chfr%2Cas%2Cspc%2Cvprv%2Citag%2Cplaylist_type/sig/AJfQdSswRgIhAOdcZZI1wY-fdCoNtrgK6cg0kSTr5JaojFEBx
EW2f1IvAiEA3x41tdDES651GPIiHk-_fKDG4pMGg9vyFul2A2LKOBs%3D", "https://manifest.googlevideo.com/api/manifest/dash/expire/1708247446/ei/NnXRZZSAFYb31gKuqrLQDA/ip/2a02%3A8388%3A8cc2%3A1b00%3A291
b%3A1cd8%3A220b%3Ab2ac/id/cz1FvQqs2Qw.1/source/yt_live_broadcast/requiressl/yes/xpc/EgVo2aDSNQ%3D%3D/hfr/1/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cweb
m2_sd_hd_clear/spc/UWF9fzsu1v0HqwOvNCYrXj24M7bxvkYvnDD6Yns836vmOuE/vprv/1/pacing/0/itag_bl/376%2C377%2C384%2C385%2C612%2C613%2C617%2C619%2C623%2C628%2C655%2C656%2C660%2C662%2C666%2C671/keepa
live/yes/fexp/24007246/itag/0/playlist_type/DVR/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cxpc%2Chfr%2Cas%2Cspc%2Cvprv%2Citag%2Cplaylist_type/sig/AJfQdSswRgIhAOdcZZI1wY-fdCoNtrgK6
cg0kSTr5JaojFEBxEW2f1IvAiEA3x41tdDES651GPIiHk-_fKDG4pMGg9vyFul2A2LKOBs%3D"
[dashsegments] Total fragments: unknown (live)
[download] Destination: SATURDAY NIGHT CHAOS ｜ GTA 5 RP [cz1FvQqs2Qw].f135.mp4
[debug] File locking is not supported. Proceeding without locking
[dashsegments] Total fragments: unknown (live)
[download] Destination: SATURDAY NIGHT CHAOS ｜ GTA 5 RP [cz1FvQqs2Qw].f140.mp4
[debug] [youtube] [cz1FvQqs2Qw] Generating fragments for format 135
[debug] [youtube] [cz1FvQqs2Qw] Generating fragments for format 140
[download]   39.74MiB at  219.89KiB/s (00:03:29) (frag 220/3022)
[download]   37.62MiB at  196.51KiB/s (00:03:33) (frag 932/3022)[download] Got error: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the r
[download]  266.76MiB at  248.91KiB/s (00:22:04) (frag 1323/3022)
[download]  148.66MiB at  190.89KiB/s (00:22:03) (frag 3684/3684)

landscape updated fragments a few times already.

I highly doubt that to be the case, and if it is, then it's an unrelated issue. Perhaps the relative popularity of the stream is causing YT to hiccup.
On this topic, I've recently discovered that if a stream is experiencing difficulties (say, OBS issues/crashes), then the timestamp can restart (as evidenced by the 't' of stats for nerds). Additionally, it's possible for formats to disappear and change (changed FPS? format? resolution?). Either of those cases will cause the current active download to fail to reload and eventually end the download. If you happen to have --keep-fragments, then restarting the stream download will erroneously reuse the downloaded fragments when it chases up to the current point again, which will result in missing part of the stream. This could theoretically be detectable and addressable, but it would be a lot of managing logic (complexity) for rather little gain.
If the stream goes offline temporarily, obviously yt-dlp doesn't like that, but that is another way for it to end "prematurely".
I haven't checked the download logic (or this issue) in ages so I don't really know what's happening anymore, but a retry sleep for everything helps for some of the more common issues (internet flickers, transient resolver issues). Other issues, you just have to keep an active eye on it.

https://github.com/yt-dlp/yt-dlp/assets/29007971/50117a45-ed1f-4294-938d-2bc33dbea0c9
sorry for the low bit rate. I forgot to set the quality for desktop. I don't want to redo it again :S <3
maybe we're talking about two different issues here then I will open a separate issue, if issue worthy.
I'm actually piggy-backing off the issue #9097
at the start you can see the audio portion is at 673 then it jumps to 762 until it catches up to the live stream.
that's two for two from my side already, no interruptions this time. it catches up to the audio part and it stops the audio, continues the video.
I wouldn't be surprised if original poster's stream from #9097 is a portrait one too.

https://gofile.io/d/ywl4VD  bit rate again too low. thought it was going to be enough.
(sorry with the rename freeze, I blanked there for a bit. haven't renamed in the console for a bit now)
is there any workaround for this?
How do I rename the output file without overwriting the fragments?
would I need to use batch for this somehow or can this be done within yt-dlp: to keep the fragments but keep overwriting the merge file in order to keep downloading it re-using the fragments.

On a minor note, if YT starts counting fragments from 1 again then using keep-fragments will be trouble, but honestly that case isn't very common.

ok sorry for noob question. I'm not following. how do I continue then my download if I already have a merged file aka .m4a/.mp4 (from the fragments, because it starts merging after the fail), I don't somehow delete it and don't keep fragments? or: how do I not start from frag 1 or what's the opposite of fragment 1 method?
to my understanding ffmpeg won't even be able to create a file without --force-overwrites (which also rewrites fragments).
To complicate matters further with fragments, since you wouldn't be able to use %(title)s because if that changes, fragments will get ignored because yt-dlp will start creating new fragments because the fragment file names have changed.
That's why I'd like to plead to please look into portrait streams. This wouldn't be necessary if the download wasn't being discarded for whatever reason (if it's something you can fix on yt-dlp's end, considering landscape doesn't have this problem).

Your specific issue seems to be:
This does seem to be a new error. "Precondtion check" personally makes me think it may be related to cache or timestamping, likely internally on YouTube's end.

.... it was another portrait stream. Only happens in portrait. I invite you to find portrait streams with your mobile and try to download even one media stream (audio/video).
sometimes (1 of 10) it works, more often it doesn't.

The download might be slowing the audio download (format 140) down. I

doesn't matter if single or dual media streams.

format 135 is a 2K resolution?

it's low. 480 or so.

I guess the most feasible workaround for now is not to use --live-from-start.
because as of now I don't know how to fetch and compare file names in batch/bash. I can't make a separate folder for downloads only because if that channel happens to have more streams when i'm AFK, RIP the .mp4 files.
I will try -N4

I have an interesting thing I just found out. I had/have the same problems. Since I have a bunch of old laptops laying around and a mac mini besides my Pc I decided to run some tests having them all run on the same stream with some different settings (all with --live-from-start) and see if I find something that works. long story short all Windows PCs constantly failed while on mac it worked and I have repeated it for 4 streams now. Successfully got the stream in a .mkv 1440p60 with audio and everything working everytime.
so somethings seems to be different with it and makes it work. I'm fairly sure it will be the same for linux, but I will give it a try in the next couple of days when I find time. I have no clue what the reason is, but maybe one of the smart people hear can figure out the problem with windows with that info. :)

@rattailgamer how did you install yt-dlp on each of the machines? could you show the output of yt-dlp -v (no URL) for each of them? (and note which ones failed vs. succeeded)

@bashonly I have installed it via a gui to save time (Tartube) and their guide for each. While Tartube is gives out the full output including debugging mode unfortunately I can't enter commands manually or at least I haven't figured it out. But once I find time next week I will try to re do it all via ytdlp directly and send the logs.


fix: warnings with cross-GCC in ota_cbor.c

fix: warnings with cross GCC in ota_cbor.c
Description

This commit adds a helper function in ota_cbor.c to call cbor_value_get_int64() and perform the narrowing conversion from int64_t directly to int32_t ourselves.
TinyCBOR takes int* in cbor_value_get_int(). We currently pass int32_t*, which is implicitly converted to int* on platforms where int is not a 32-bit signed integer. This results in undefined behavior. Aside from UB, this code may cast to a narrower type before again casting to a wider type, which loses precision.
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[x] My code is formatted using Uncrustify.
[x] I have read and applied the rules stated in CONTRIBUTING.md.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

It looks like for the CBMC proof I'll need to add back in the narrow conversion check & unit test.

This warning is resolved by (#485)


📖 Increase indenting to please Python-markdown

Summary
This PR increases the indenting of lines in numbered list items, because Python-markdown requires at least 4 spaces in order to recognize the nesting.
Related issue(s)
Fixes #1928

/cc @pdettori
/cc @clubanderson
/cc @ezrasilvera

@MikeSpreitzer Not related to the PR - but why do we need this description  in a separate file?  This should be a section in "setting up KIND environment" or something


SM Shards stored on the Keepers and the Main App, Never on the shared channel

Need to add shard to cloud
Need to add separate shard not a part of RK

SM: Encrypted with a CH2 key. SM is encrypted with another key, not the CH key.
•During restore, Keeper shows the Recovery Key or sends the RK over the link. RK = CH Key + CH2 Key
•During Approval (change keeper or level change) or 2FA reset flow, the Keeper just shows the QR (Show Approval Key/ Show Secondary Key). Approval Key = CH ID + CH2 Key.
•This helps the requester/ ward get the SM and this is never stored locally in the requester/ ward app. So there is no need to upload and then download, the SM is also on the relay but encrypted with CH2 Key which is not on the requester/ ward app so that it can never access it independently.

Bakend issue


Any Network ENS Resolve Strategy

On gnosis chain ens does not resolve.
Assuming that there is only one ens registrar in existence (on mainnet) perhaps we should query mainnet for the wallet address on any evm network?
If there are multiple ens registrars then we need to consider if we should reject this proposal or if we should add an edge case support for the specific network (and if the current repository is set to issue payments on that network)
According to my brief research, the only other deployments are on test networks (ropsten, goerli etc) which can be safely ignored.

Error: Error: network does not support ENS (operation="getResolver", network="xdai", code=UNSUPPORTED_OPERATION, version=providers/5.7.2)

Originally posted by @ubiquibot in https://github.com/ubiquibot/sandbox/issues/10#issuecomment-1702435470

Multiple competing ENS registrars are like ETHPos and ETHPow
Whichever gets the majority support should win,
So far other EVM chains haven't decided to mess around with the mainnet.


Split transfer close execution task

What changed?

Split transfer close execution task into three tasks

Why?

When convert & creating cross cluster tasks, we can only execute part of the operations done by the close execution transfer task

How did you test it?

Existing unit test
TODO: need to add more unit test

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 6c1b3f9a-dd57-48a4-be8b-01c008f7b125

90 of 253 (35.57%)  changed or added relevant lines in 11 files are covered.
45 unchanged lines in 9 files lost coverage.
Overall coverage increased (+0.05%) to 56.822%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/persistence/persistence-tests/persistenceTestBase.go
0
1
0.0%

service/history/historyEngine.go
0
1
0.0%

service/history/task/cross_cluster_target_task_executor.go
0
2
0.0%

service/history/task/transfer_standby_task_executor.go
3
7
42.86%

service/history/task/cross_cluster_task.go
2
16
12.5%

service/history/task/task_util.go
2
17
11.76%

common/persistence/nosql/nosqlExecutionStoreUtil.go
4
31
12.9%

common/persistence/sql/sqlExecutionStoreUtil.go
5
33
15.15%

common/persistence/dataManagerInterfaces.go
0
35
0.0%

service/history/task/transfer_active_task_executor.go
72
108
66.67%

Files with Coverage Reduction
New Missed Lines
%

common/persistence/sql/sqlExecutionStoreUtil.go
1
67.31%

common/persistence/dataManagerInterfaces.go
2
58.49%

common/task/fifoTaskScheduler.go
2
84.54%

common/task/parallelTaskProcessor.go
2
92.75%

common/task/weightedRoundRobinTaskScheduler.go
2
89.12%

service/history/shard/context.go
2
66.05%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
55.49%

common/persistence/nosql/nosqlplugin/cassandra/workflowUtils.go
12
77.69%

common/persistence/nosql/nosqlplugin/cassandra/workflowParsingUtils.go
19
86.78%

Totals

Change from base Build 31898be1-e50c-4694-b214-b61bf6dbd311:
0.05%

Covered Lines:
81506

Relevant Lines:
143442

💛  - Coveralls


Allow setting/inferring default syntax inside recipes

Seems like this highlighter does not even highlight variables. Is this intended?

ah it works if you always set a shebang. Maybe setting a default would be nice.

Hmm although I understand that mixing scripting language syntax highlighting with additional just interpolations is hard, after some research it seems that the default syntax is actually clearly defined as shell https://github.com/casey/just?tab=readme-ov-file#shell. (With just-specific additions, as in any other recipe language).
To make it even more complicated, you can actually set the default shell in just with the shell variable. Not sure if one could parse this in the beginning and set it accordingly.

Oh interesting I guess that does make this more complicated. Since we're already using shell as the default backtick language maybe making this consistent is a good idea and we forgo any highlighting on just specific syntax.
https://github.com/nefrob/vscode-just/blob/d1f2dc90a5f8dd3c7ffa6a9549c414c0ff73e958/syntaxes/just.tmLanguage.yml#L238
I'm not sure it is possible or performant to parse the shell type from setting at the top of the script but that is definitely something to investigate as well.


[Question] Can I manually fire the chart redrawing ?

Hello, I'm wondering if thie was possible to manually fire the chart's redrawing. Because I actually updating the state of the chart to display different data when a custom filter is selected in my app. For instance I want the chart to display only a restricted set of data when on checkbox's checked. The problem is when using redraw, it redraws the chart because the state changed, once, then a second time when the data effectively changed. I only want it to redraw when a specific state property is updated, not all of them.
Is it supposed to be possible ?
Thanks

@desirelabs I had the same challenge.  You'll need to use componentWillRecieveProps
I solved it by setting a property in state, shouldRedraw: false. Then, in componentWillReceiveProps, do a check for the specific prop that you need the redraw to happen for.
In my case, I needed the size of the chart and the fonts to change depending on the window size.

Passed down the windowSize prop. I was listening for changes in a component higher in the tree.
In my chart component that I needed to redraw:

componentWillReceiveProps(nextProps){
  if(nextProps.windowSize !== this.state.windowSize){
    this.setState({shouldRedraw: true})
  } else {
   this.setState({shouldRedraw: false})
  }
}

Then, for the redraw prop on my chart component, pass it the redraw from state.
<Chart data={data} redraw={this.state.shouldRedraw}/>

This way, the redraw only triggers when it receives the correct prop, and not on all state changes.

If anyone else need this info, i took dbrodie122's solution but used an event listener in componentDidMount instead of looking for new props.
  constructor(props) {     super(props)     this.state ={       shouldRedraw: false     }   }   componentDidMount() {     window.addEventListener('resize', this.setRedraw, false)   }   componentWillUnmount() {     window.removeEventListener('resize', this.setRedraw, false)   }   setRedraw = () => {     return this.setState({shouldRedraw: true})   }
and then the same as step 3 from dbrodie122

Btw, using redraw does not work for me - it redraws, yes, but the chart starts blinking - it is not really user-friendly. Is this only happen to me? I am thinking that it blinks because the state is changed more than once - but that is just my assumption.

When I use <Bar data={data} options={options} plugins={plugins} redraw={true} />
And inside plugins I have :
beforeInit: (chart) => {
   chart.data.labels.forEach((e, i, a) => {
       if (/\n/.test(e)) {
           a[i] = e.split(/\n/)
       }
   })
}

This plugin breaks a line for every label that have a "\n". ex : labels : ["My label", "My\nSecond label"]
My issue is, when redraw is set to true, for every forEach plugin iteration, my whole chart is been redraw like I'm changing a state variable, and it runs animation every iteration. How to handle this the right way ?
thanks!

@brunoandradebr please open a new issue for the problem you are describing, ideally with a full code example and/or sandbox

@Pringels My bad! It was a problem with react hooks. My chart component were updating ever that a page component property updates, I resolved encapsulating my chart component with React.useMemo. Everything is working as espected. Thanks!

Awesome :) I'm glad you came right!


Fix curl error on windows in dns docs

Update single quotes to double to avoid curl error on windows.
On the dns over https docs the command to send multiple questions in a query is wrong, and can cause errors when running in cmd on windows.
Running this command, it currently works in Powershell but not in cmd.
curl --http2 -H 'accept: application/dns-json' https://<IP_ADDRESS>/dns-query?name=cloudflare.com --next --http2 -H 'accept: application/dns-json' https://<IP_ADDRESS>/dns-query?name=example.com
This is because cmd doesn't interpret 'accept: application/dns-json' correctly and thinks application is the host because of the space after 'accept: .
Powershell does interpret this correctly, but this can cause confusion down the line when queries to the dns do not resolve on cmd, but they do on Powershell if this command is copy-pasted.
This commit fixes this issue by simply changing the single quotes to double quotes so spaces within them are ignored.

Thanks, @CorruptedPixl. The team looked into it and suggested adding double quotes to the URLs as well, as it seemed like this wasn't working with zsh in macOS as well.


"Crângu", "Rariștea", "Viile" are listed in the drop-down menu

Description:
When user writes "Crângu", "Rariștea", "Viile" the location appears in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Crângu"

Expected results
The location appears in the drop-down menu as "Sat Crângu, CONSTANȚA, (Ion Corvin)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Viile"

Expected results
The location appears in the drop-down menu as "Sat Viile, CONSTANȚA, (Ion Corvin)"


Parse India One Alliance/COVIDKhoj's backlog of data into our data model

Data in JSON: https://drive.google.com/file/d/1zBe2a-QwAYlWw-tlLnohyW4YtS3ZCO3S/view?usp=sharing
...needs to be parsed and converted to our data model here: https://docs.google.com/spreadsheets/u/5/d/1s9zyIepdXjMIdP4jRl7I33fADTw8VppwUDEL22K3uFw/edit#gid=0
If you're using Python, here's a good start: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.json_normalize.html
For fields that exist in our data model but not in the data, don't worry; just leave them blank for now. We'll manually verify and clean them up later.

I've gotten started on this here: https://github.com/reach4help/reach4help/blob/map/map/parse_scripts/IOA_COVIDKhoj_parse.ipynb
Will probably finish it up tomorrow. Anyone else is free to pick this up and work on the TODOs at the bottom of the notebook in the meantime! :)

Done! All the data is up on our Airtable now!


Request: instructions for use with Digital Ocean Spaces

The new DO Spaces service claims to have the same API as S3; however, I'm having some trouble getting things working.
I've gotten somewhere using Express code like this:
const EP = new AWS.Endpoint('nyc3.digitaloceanspaces.com');

app.use(
  "/s3",
  require("react-s3-uploader/s3router")({
    bucket: "my-bucket", // From my-bucket.nyc3.digitaloceanspaces.com
    getS3: () =>
      new AWS.S3({ endpoint: EP, params: { Bucket: "proper-public" } }),
    headers: { "Access-Control-Allow-Origin": "*" },
    ACL: "public-read",
    uniquePrefix: true
  })
);

I can successfully get a signing URL, but in the browser, when I attempt to upload a file to the signed URL, the OPTIONS request gets a 403 – in addition to a CORS error. However, taking the signed URL and manually doing a PUT with Postman works.
This suggests to me that it's something wrong with the configuration on the client, not the signed URL.
Perhaps it's something like the DO request doesn't support the pre-flight request?
At any rate, if anyone has any ideas, post here. I'll do the same. In the meantime, I might fork this repo and see if I can work out how to selectively disable the pre-flight request.

Sounds like a CORS issue.  I'm not familiar with DO Spaces, but you should see if there is some way to configure CORS on their end, to allow requests from your website domain.  S3 has this concept as well, so I'd expect DO to have it.

It looks like you're right @seanadkinson . I think that for the minute, the default is "All Origins", so the pre-flight request fails. It looks like they do support CORS rules, but don't have a UI for it at the moment – see here.
Probably biting off more than I can chew at the moment so have just switched to AWS for now (and have it working – no thanks to Amazon's UI!), but will see if I can come back to this in the future.
Thanks for your help, closing.

@shankie-san We are working on a UI for CORS which we are hoping to ship in the next couple of weeks. And yes, CORS configuration can be set via the Spaces API in the interim.

Ah that's great, thanks @jgannondo !


V1.4.0 beta.1 #trivial

Fails

:no_entry_sign:

Please add a description to your PR.

:no_entry_sign:

Please assign someone to merge this PR, and optionally include people who should review.

:tada:

  Generated by :no_entry_sign: dangerJS

This is all good.


CUB reduction mishandles zero-size arrays along axes with nonzero elements

Description
Confirmed in upstream (https://github.com/numpy/numpy/issues/22063) that this is the intended behavior:
import numpy as np
np.min(np.empty((0, 2)), axis=0)  # raise ValueError
np.min(np.empty((0, 2)), axis=1)  # does not raise

CuPy followed the same behavior, until v11.0 in which the CUB backend is turned on by default, and it raises unconditionally due to this check:
https://github.com/cupy/cupy/blob/9d439227f1a53bbd9ebb16784e40bcce44bc8042/cupy/cuda/cub.pyx#L163-L165
I am happy to help fix it. Feel free to assign it to me 🙂
To Reproduce
No response
Installation
No response
Environment
No response
Additional Information
cc: @shwina @jakirkham

Sent a fix #6960.


Finders

Hi @kiaking
This is not an issue but something I wanted to share with you.
I was wondering why do we have those two normal selectors:
const users = store.getters['entities/users/all']() and
const users = store.getters['entities/users/find'](1) aside from query builder.
For me for instance, it would be much easier to have syntax like below for those two:
const users = store.getters['entities/users/query']().all() and
const users = store.getters['entities/users/query']().find(1).
This way everything inside parents stays always the same for all selectors and only the last part changes based on the type of the operation you want to perform.
What are your thoughts on this one? Does it make sense?

Ok I think I found answer to my own question. For getting all records I can just use:
const users = store.getters['entities/users/query']().get() and for finding single record by primary_key I can just do const users = store.getters['entities/users/query']().first(1).
Coming from Ruby world I thought that the number we provide to first means how many first items do we want to return :)

Hi @silentlight. Thanks for your feedback! I appreciate it. It makes Vuex ORM become a much better library.
You have a good point, and I think I'll reconsider the API.

I was wondering why do we have those two normal selectors:

The reason I made those two selectors – all and find – is because I was trying to adapt to Laravel (Framework like rails for PHP) API. Laravel has exactly same all and find method (doc can be found here). Same for get and first, and how query builder can chain methods. In fact, Vuex ORM has very similar API to Laravel's ORM (because I am a big Laravel user).
However, I think it's true that your proposal seems easier to understand and more consistent. Honestly, I wasn't thinking that much when I first wrote that two methods :p
To take it even farther, if everything is chained by query, maybe we don't need query. Just directly call submodule like this.
// No `query`, just call submodule. Not sure if Vuex can do this
// but I think it's worth investigating.
store.getters['entities/users']().get()

I'm not sure if I'll want to remove "parent" method such as  getters['entities/users/all'], but I'll definitely make all and find methods callable after query as you proposed.

Coming from Ruby world I thought that the number we provide to first means how many first items do we want to return :)

Thx for the info! I didn't know that, but it did remind me to add such limit feature for the query builder.
Initially, first method wasn't intended to take id as an argument. Because you have find method for that purpose. first method was more intended to use in conjunction with where clauses such as;
store.getters['entities/users/query']().where('age', 24).first()

So, next action, I'll consider a bit more, and will make PR for adding new API then mention you in that PR :)

Sounds good @kiaking. Thanks!


Update AgentItemSearch

I didn't really dig into it with IDA, most of it comes from observation in ReClass.
Might want to do it properly in the future and move things into separate structs (Listing, Filters, Result etc.)

I think ListingItem.ItemId is wrong. Let me have a second look.


Wrap client as FMU

As suggested in #71 , it would be nice if we were able to wrap one of the clients as an FMU.
This would allow distributed simulation to any FMI compliant tool without modification.
Obvious problem: The modelDescription.xml refers to a specific model.
Solution: Do not provide a modelDescription.xml. Let the user copy it from the target FMU and paste it into the archive we provide.
Similarly the IP and port could be put into a .txt file inside the archive.

Received some insights. At the very least, the modelIdentifier has to be changed to reflect the name of the shared library in the proxy FMU. guid should also be modified.

With FMI4j now supporting FMI 2.0 export for Co-simulation, we are one step closer.

I will implement this as part of PR #116 (should be ready in the near future)


Unable to start two depthcache for pairs

I created client and did this:
bnbbtc_dcm = DepthCacheManager(client, 'BNBBTC', display_any_msg)
bnbeth_dcm = DepthCacheManager(client, 'BNBETH', display_any_msg)

And I got error like this. It seems that simultaneously creating multiple depthcachemanager is not possible?
Exception in thread Thread-2:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner
    self.run()
  File "C:\Python27\lib\site-packages\binance\websockets.py", line 305, in run
    reactor.run(installSignalHandlers=False)
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 1242, in run
    self.startRunning(installSignalHandlers=installSignalHandlers)
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 1222, in startRunning
    ReactorBase.startRunning(self)
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 728, in startRunning
    raise error.ReactorAlreadyRunning()
ReactorAlreadyRunning

@duduzhu I've released v0.3.5 which suppresses this error and allows you to run multiple Depth caches.

It's ok to create multiple depthcaches now, but I find they share the same cache now...
Following is my code, each time these 3 depthcaches give the same result.
def process_any_depth(any_depth_cache):
    global bnbbtc_dcm, bnbeth_dcm, ethbtc_dcm
    bnbeth_dc = bnbeth_dcm.get_depth_cache()
    bnbbtc_dc = bnbbtc_dcm.get_depth_cache()
    ethbtc_dc = ethbtc_dcm.get_depth_cache()

    print("BNBETH:{}".format(bnbeth_dc.get_bids()[0]))
    print("BNBBTC:{}".format(bnbbtc_dc.get_bids()[0]))
    print("ETHBTC:{}".format(ethbtc_dc.get_bids()[0]))

bnbbtc_dcm = DepthCacheManager(client, 'BNBBTC', process_any_depth)
bnbeth_dcm = DepthCacheManager(client, 'BNBETH', process_any_depth)
ethbtc_dcm = DepthCacheManager(client, 'ETHBTC', process_any_depth)

Following is what I got by depthcach.get_bids()
[[0.048451, 9.859], [0.04845, 12.0], [0.048449, 0.278], [0.04843, 15.545], [0.048411, 0.001], [0.048408, 12.683], [0.048407, 12.683], [0.048383, 0.41], [0.04834, 0.095], [0.048336, 2.804], [0.048316, 7.7], [0.047757, 1.506], [0.00480002, 1250.0], [0.0048, 908.0], [0.0047952, 18.0], [0.00474188, 88.0], [0.00474045, 18.0], [0.00474044, 182.0], [0.00474043, 6.0], [0.00473, 80.0], [0.00472201, 1265.0], [0.004722, 218.0], [0.00351215, 1062.0], [0.00023111, 331.0], [0.00023107, 5.0], [0.00023106, 6.0], [0.000231, 1250.0], [0.00023025, 70.0], [0.00023001, 341.0], [0.00023, 178.0], [0.00022917, 144.0], [0.00022908, 10.0], [0.00022801, 4385.0], [0.00022001, 700.0]]

I suggest this.
class DepthCache(object):

    def __init__(self, symbol):
        """Intialise the DepthCache

        :param symbol: Symbol to create depth cache for
        :type symbol: string

        """
        self._symbol = symbol
        self._bids = {}
        self._asks = {}

@duduzhu yes you're right it does seem to be sharing the same cache.
I will have to look into updating to allow separation in some way like your suggestion.

@duduzhu I've released v0.3.7 with your fix above. Can confirm separate caches as expected.
Thanks for your help.

@sammchardy you are welcome. Thanks for your fast improvement.


add .DS_Store to .gitignore

yep, i'm a mac user

Pretty sure you want to add it to your global .gitignore instead? I don't think repo-specific .gitignores should concern themselves with OS or editor files (unless the repo is only usable by one specific editor).

I'm inclined to agree with @Fang- here.  I don't have terribly strong opinions on what ought go in a project's .gitignore, but arvo's is pretty minimal as-is, so for hygienic purposes we might as well keep it that way and restrict entries to be project- -- rather than contributor- -- specific.
(By that logic of course we can just gut the whole .gitignore file as-is, since I believe the only project-specific entry in there is no longer relevant.)

OK, I added it to my global .gitignore.

+1: .gitignore is for files reader by tools included/referenced in the repo
(*.o node_modules etc), .git/info/exclude and ~/.gitignore are for
file-browser editor backup etc artefacts.
On Thursday, 9 May 2019, jfranklin9000<EMAIL_ADDRESS>wrote:

Closed #1165 https://github.com/urbit/arvo/pull/1165.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/1165#event-2330066727, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAOFPBVLJDRI346NKDK6JBTPUQJX7ANCNFSM4HLWXSQA
.


git conflicts can make gitbot tests exec

it happens that if there are PRs with conflicts, the git Fs mess up, we need more testing on that, and add a mechanism to remove the git_dir if this cannot be resolved.
==============================
TITLE_PR: for_testing_pr , NR: 30
==============================
Got triggered by PR_NUMBER OPTION, rerunning on 30

Fetching origin
Fetching remfake_branch

doc/BASICS.md: needs merge
lib/opt_parser.rb: needs merge

.==============================
TITLE_PR: Backend refactoring, NR: 35
==============================
error: you need to resolve your current index first
error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
error: you need to resolve your current index first
From github.com:openSUSE/gitbot
 * [new branch]      backend-refactoring -> rembackend-refactoring/backend-refactoring
 * [new branch]      fake_branch -> rembackend-refactoring/fake_branch
 * [new branch]      master      -> rembackend-refactoring/master
 * [new branch]      refactoring -> rembackend-refactoring/refactoring
 * [new branch]      refactoring-function -> rembackend-refactoring/refactoring-function
 * [new branch]      refactoring_git_op -> rembackend-refactoring/refactoring_git_op
error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
error: you need to resolve your current index first
error: you need to resolve your current index first
error: branch 'PR-backend-refactoring' not found.
==============================
TITLE_PR: Backend refactoring, NR:

Ok for PR 30 is normal that it fails. ( so it is not a bug), and is normal that it fails with conflicts (PR is old)
we should maybe catch that error and print some errors? donno, for later maybe.
functionality is ok

closing


RL algorithm implementation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

162 of 173 (93.64%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.3%) to 88.719%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/qutip_qoc/_rl.py
157
168
93.45%

Totals

Change from base Build<PHONE_NUMBER>:
1.3%

Covered Lines:
810

Relevant Lines:
913

💛  - Coveralls

@LegionAtol please take one last look at the minor changes I have made.

I reverted to your original solution of using the shorter_pulses kwrd instead of an empty __time__ dict.
I ran pre-commit run -a for proper formatting

Once you sign of on these changes, the PR is ready to merge.

Ok, that's fine
thanks Patrick


Add tooltip to radar chart

Hi 👋,
I'm trying to add a tooltip to the radar component, but I completely don't know where to start.  What I'm trying to do is to show tooltip on polygon corner hover. First, I have created assistant transparent lines that go through every corner of polygon, but it didn't work well, as area listing on hover should be probably bigger, what is else, I didn't pass tooltipData properly.
https://codesandbox.io/s/vxradar-tooltip-veefl
What I've managed to do for the moment. My problem is to:

Extend area activeting hover tooltip
Pass data correctly to the tooltip hook

What's important I really want to use useTooltip hook.

Hey @danzawadzki 👋 thanks for checking out vx.
To add a tooltip to a chart, you need to  find the closest datum to the mouse event position. there are lots of approaches to this, one of which is using a voronoi overlay. Here's an updated sandbox with this approach, if you'd like to update our vx demo with this logic I'm sure others would benefit!
Feel free to re-open this if you have more questions.


Enter key does not submit search

Description
On the /Search page, hitting "Enter" while focused in the search box does not submit the search.
Expected behavior
While typing in your search keywords, if Enter is pressed, I would expect the search to submit and results to be shown.
Steps To Reproduce

Go to '/Search' by clicking the Search option in the menu
Type in the search box 'aaron'
Hit the 'enter' or 'return' key on your keyboard
Results are not updated

Possible Fix
My guess is that the search keyword box needs to be set as a default form for the page?
Your Environment

Browser Name and version: Chrome 95..4638.69
Operating System and version (desktop or mobile): Windows 10 Enterprise Version	10.0.18363 Build 18363
Docker Version:

Hi @jst-cyr,
I've made a fix here, https://github.com/Sitecore/MVP-Site/pull/168
cc @mrtamasvarga @robearlam

Thank you @sebastiantecsi ! @mrtamasvarga , can you identify who you would like to review the PR?

Reviewed and deployed.


Unclear exception and wrong exceptions order

OrientDB Version: 2.2.22
Java Version: 8+
I have the following SQL:
insert into Report from select sum(amount) as value, project, expedentureType as account from Payment group by project, expedentureType

Execution failed, but instead of meaningful exception I see the following:
$ANSI{green {db=Orienteer}} Exception `5067255D` in storage `Orienteer`
com.orientechnologies.orient.core.exception.OConfigurationException: Cannot undo the document because tracking of changes is disabled
	DB name="Orienteer"
	at com.orientechnologies.orient.core.record.impl.ODocument.undo(ODocument.java:1588)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2740)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:102)
	at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1805)
	at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1796)
	at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:63)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLInsert.saveRecord(OCommandExecutorSQLInsert.java:330)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLInsert.result(OCommandExecutorSQLInsert.java:289)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLResultsetAbstract.pushResult(OCommandExecutorSQLResultsetAbstract.java:285)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLResultsetAbstract.getResult(OCommandExecutorSQLResultsetAbstract.java:265)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:495)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:74)

By digging into the code I found a place where real exception is being lost:
//ODocument line 2737
    try {
      doc.validate();
    } catch (OValidationException ex) {
      doc.undo();
      throw ex;
    }

As you can see error during doc.undo() overriding real exception.
In my case validation error was about wrong type of a link for field account.
Please consider making original exception available for a user instead of secondary generated.

hi @PhantomYdn,
Do you have an example query that produce this issue ? I understood the problem and I'm aware of how to fix it, but I haven't reproduced it yet, I would prefer to have the test case with for the fix.
Regards.

hi @PhantomYdn,
I wrote the test, reproduced and fixed, it will be released with 2.2.24 and 3.0.0, closing this.
Regards

@luigidellaquila  Has this been released? I'm not finding it any of the release notes. assuming that I didn't miss it.
Thanks!

Hi @marktshaw
It was released with 2.2.24, probably it was not properly added to the release notes
Thanks
Luigi


Support for lightweight render pipeline?

I'm trying out Unity's new Lightweight Render Pipeline feature: https://blogs.unity3d.com/2018/02/21/the-lightweight-render-pipeline-optimizing-real-time-performance/ and while I have it working in the editor, when I try to build and run it in the browser, all I see is blue? (And it worked fine before converting to the Lightweight Render Pipeline.) Is this not supported with the WebVR Exporter?

Just referencing this issue from the ScriptableRenderPipeline issue tracker here.
https://github.com/Unity-Technologies/ScriptableRenderPipeline/issues/1238

Hi Tyler. This issue seems related to the fact WebGL doesn't support the job system (which SRP depends on). We are looking into that. I'll get back to you when I have more information.

@Banyango As of 2018.2, this seems to be working.  I tried using the Lightweight Render Pipeline as per https://www.youtube.com/watch?v=HgZHwfF5SuM&t=1s and it seemed to work without issue!
Seems like earlier versions might have been a problem since it was not yet fully supported using the WebGL platform.
I'm exploring this option to see if we can improve performance for mobile!


[Enhancement]: Resolve 404 error in Block Io game

Is your enhancement request related to a problem? Please describe.➕
Game enhancement
https://github.com/kunjgit/GameZone/assets/103810119/0915fa7c-e5a1-40ac-bb10-31882ddf93b1
Describe the solution you'd like
Solution steps
After making some changes this issue can be resolved
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Prajwal0225 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Prajwal0225 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


[BUG]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
A minimal code example that reproduces the problem would be a big help if you can provide it. If the issue is visual in nature, consider posting a screenshot.
Platform
What platform (Win/Linux/Mac) are you running on? What terminal software are you using. Which version of Rich?

Help me please teach me

What would you like to know?


Data export: Notes not properly exported

The selection criteria for the export.php-page do not work as intended for notes.

If form-filter is set with "notes" only:  Warning: Undefined array key "Note" in /var/www/public/export/export_data.php on line 197
If a specific form is selected (not notes!), notes are exported anyway (at least some?!)

When exporting the sample data and only choosing notes, there is only one note exported, although there are 4 notes in the database. This is true for admin profile as well as athlete profile.
athlete view:

admin view:

The result is the same:

Maybe this is, because the other three notes have isAllDay = 1 as a property?!

It also seems, that notes are not properly displayed during data selection on forms_results.php/results.php
forms_results.php (only isAllDay = 0 selectable)

results.php (no notes selectable)

As I remember and as I see the code it seems that if the showInGraph is false then means that cannot export too.
It is like a private note for Athlete and Trainer and they not want be visible to others.
Now if the showInGraph is true you can enable disable from the "Show in Diagram" checkbox.
I think that this is the logic and it makes sense to me.

Okay,

It is like a private note for Athlete and Trainer and they not want be visible to others.

it's a good way to think about it, I'm fine with this.
Could you add something like a hover-over for "Show note in diagrams?" (same as for "? Lines"), where we put some explanation?
Something like "If disabled, this note is private. If enabled, this note will in principle be exportable and displayable in graphics, while the corresponding permissions for connected trainer-profiles still apply."

Maybe the "Show note in diagrams?" should be "Private Note" and an explanation one line below "Private Notes cannot be exported and cannot be used in Diagrams" or something like that.

I have the feeling that this has more logic.

No, this not explain it good.
Athlete may think the Trainer cannot see the notes.

We need to find out why we put this.
What was the logic when we put it.


merge package template from arlac77/npm-package-template

Updated standard to latest version

Codecov Report

Merging #18 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   97.43%   97.43%
=======================================
  Files          10       10
  Lines          39       39
=======================================
  Hits           38       38
  Misses          1        1

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 b74ab28...8263724. Read the comment docs.

Coverage remained the same at 93.846% when pulling 82637246e4d14f001567adc9e330de53d9028f67 on template-sync-1 into b74ab28032656152d2b28217d5f2b67b42dc4147 on master.


OOM with reddit dataset

I would like to know about your experimental equipment. I encountered an OOM issue while running the Reddit dataset. Is this normal?
(pyg) xiongxunbin@graph-1:~/SGDD$ python train_SGDD.py --dataset reddit --nlayers=2 --beta 0.1 --r=0.5 --gpu_id=0
WARNING:root:The OGB package is out of date. Your version is 1.3.5, while the latest version is 1.3.6.
Namespace(beta=0.1, dataset='reddit', debug=0, dis_metric='ours', dropout=0.0, ep_ratio=0.5, epochs=2000, gpu_id=0, hidden=256, ignr_epochs=400, inner=0, keep_ratio=1.0, lr_adj=0.0001, lr_feat=0.0001, lr_model=0.01, mode='disabled', nlayers=2, normalize_features=True, one_step=0, opt_scale=1e-10, option=0, outer=20, reduction_rate=0.5, save=1, seed=15, sgc=1, sinkhorn_iter=5, weight_decay=0.0)
adj_syn: (76966, 76966) feat_syn: torch.Size([76966, 602])
  0%|                                                                                | 0/2001 [03:00<?, ?it/s]
Traceback (most recent call last):
  File "train_SGDD.py", line 79, in <module>
    agent.train()
  File "/home/xiongxunbin/SGDD/SGDD_agent.py", line 218, in train
    adj_syn, opt_loss = IGNR(self.feat_syn, Lx=adj[random_nodes].to_dense()[:, random_nodes])
  File "/home/xiongxunbin/miniconda3/envs/pyg/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/xiongxunbin/SGDD/models/IGNR.py", line 93, in forward
    c = torch.cat([c[self.edge_index[0]],
RuntimeError: CUDA out of memory. Tried to allocate 44.14 GiB (GPU 0; 79.20 GiB total capacity; 69.65 GiB already allocated; 8.24 GiB free; 69.91 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Dear xbxiong,
Training on Reddit can indeed present challenges with our method. You might consider decreasing the mx_size to 2000 or 1000 and giving it another try. The issue at hand is likely due to the variability in the number of edges when sampling from Reddit, which could potentially be mitigated by altering the random seed. We're eager to learn about the outcomes of your experiments.
Our computation resource is a cluster of mixed A100 and V100.
Best regards


programs.zsh.history.path allows invalid paths

If you set it to a non-existent dir, home-manager will not create the directory, nor fail, causing zsh to silently fail later on when it tries to read/store history.

@uvNikita Not sure if this is worth trying to fix. But perhaps putting a mkdir -p "$HOME/${dirOf cfg.history.path}" in .zprofile or something (i.e., a file run once per login)?

Can't it be done on home-manager switch?

Yeah, it would be possible to add, e.g., home.file."${dirOf cfg.history.path}/.keep".text = ""; or something similar. Not sure which would be most elegant.

Create a PR based on the second suggestion, let me know what you think :)

You guys rock!


Feature request: Add support for varargs

Hi there, first of all I wanted to say I really like the extension idea and think it will be extremely powerful!
That being said, I do wanted to inform you I have been working on something similar for our python client, on https://github.com/Tishj/duckdb/tree/python_scalar_udf
The main difference between our efforts are that mine would only work within our python client, so the functionality would be much more limited than yours, so I definitely think it's worth developing this extension regardless.|
Maybe it's a good idea to have a look at some of the groundwork we've been doing there though, as the conversion code to and from duckdb <-> native python could be relevant to your extension.
Now to get to the actual request:
I think it could be a good idea to change the API into:
select python_udf('udfs.concatenate', 'foo', 'bar') as result;

Splitting on the . it should still be possible to get the function name, and this would also allow supporting a more advanced path like module.submodule.utils.function
In DuckDB we have support for varargs on a function definition, so if you set varargs to LogicalType::ANY that should allow you to accept any number of arguments.
Using pythons inspect.signature you could also detect if the amount of arguments is valid for the provided function path.
That sadly doesn't solve the single return type issue though

Hi Thijs! Thanks for this! I have been punting on defining how this extension will get used in practice as I'm still at a very proof of concept-y stage. I have scalar functions working but not particularly usable, and I'm presently working on getting a prototype of table functions working. It will also be not particular usable at first 😂 .
Hoping to loop back around and work on defining usage patterns shortly (in the next week or so?). Could definitely use the reference on the type conversion. I specifically choose to only support strings so I could punt on that problem and come back to later. Similar with the restriction to only have a single argument to the underlying Python function. I wasn't aware of the ANY type so thanks for calling that to my attention!
Similar to inspect.signature, I'm also thinking about potentially using type annotations with table functions so that the schema returned can be inferred rather than specify at the time the table function is called. My thinking here is that will be similar to the way read_csv_auto works, vs just read_csv where columns + types have to be specified. This is very much still a thought floating around in my head though. Need to finish the prototype I'm working on before I can do anything concrete at that level.

@Tishj Today I merged #20 which updates scalar functions to use varargs to specify arguments. I had also previously update the Table Functions implementation to do so as well. Thanks for the suggestion!
I've been poking around with the implementation you built for the python client, and I hope you don't mind if I integrate some of semantics you've chosen into this extension.


data-grid-2

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: data-grid-2
Document link: data-grid-2.md
My Issue/Suggestion
As Data Grid 2 is one of the most important widgets out of the box, but there is no demo or use case document. Other widgets from the marketplace commonly have demos or use cases.
So I strongly suggest we provide some demo and use case documents for the built-in widgets.

Hello @zjh1943,
Data Grid 2 is indeed a robust module, and could benefit from more use-case examples. I think the best way to showcase DG2 possibilities is via a Mendix Academy Learning Path. Due to your comment, I am working with Academy to help them make a Data Grid 2 learning path. This might take a couple months to publish, however, so please use the Mendix Forum if you have specific inquiries about DG2 best practices.
We also have a blog entry discussing DG2 which provides a little more guidance.
Thank you for your idea, and I'll mail you back when we have the Learning Path published.
Connor


chore(lint): add flake8 config

Types of changes

[ ] Bugfix
[ ] New feature
[ ] Refactoring
[ ] Breaking change (any change that would cause existing functionality to not work as expected)
[ ] Documentation Update
[x] Other (lint)

Description
Unify the coding style by adopting flake8 as linter and run lint checks in CI.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e818332). Click here to learn what that means.
The diff coverage is 77.27%.

:exclamation: Current head a62a5d9 differs from pull request most recent head 7992003. Consider uploading reports for the commit 7992003 to get more accurate results

@@            Coverage Diff            @@
##             master    #1006   +/-   ##
=========================================
  Coverage          ?   69.86%
=========================================
  Files             ?       80
  Lines             ?     3119
  Branches          ?        0
=========================================
  Hits              ?     2179
  Misses            ?      940
  Partials          ?        0

Impacted Files
Coverage Δ

src/ccip/views.py
30.35% <ø> (ø)

src/core/context_processors.py
89.28% <ø> (ø)

src/core/data.py
60.00% <ø> (ø)

src/core/models.py
94.82% <ø> (ø)

src/core/templatetags/pycontw_tools.py
84.61% <ø> (ø)

src/core/validators.py
100.00% <ø> (ø)

src/events/forms.py
84.61% <ø> (ø)

src/events/renderers.py
81.08% <ø> (ø)

src/events/views.py
0.00% <0.00%> (ø)

src/ext2020/models.py
82.53% <0.00%> (ø)

... and 21 more

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 e818332...7992003. Read the comment docs.


feat(RHTAP-857): Include error stats in load test results

Description
Based (depends) on https://github.com/redhat-appstudio/e2e-tests/pull/457
Currently, the load test results only contain metrics about successful iterations and a basic percentage of failed ones. What is missing is more detailed data about actual types of errors that cause failures.
This PR:

Includes stats about the various kinds of errors in the results
Introduced a global logData object to store the data during the test execution as soon as it's available and than render it into the output JSON file at the end of the test execution.
Refactors the frameworkMap to use thread-safe sync.Map instead of non-safe map
Refactors the creation of Framework instance per user to be thread-safe
Refactors the use of sync.WaitGroups to be thread-safe
Fixes averageDurationFromArray function to correctly compute average value from the actual number of elements, instead of a overall number of users.

Issue ticket number and link
RHTAP-857
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Verified with OpenShift CI job https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/37577/rehearse-37577-periodic-ci-redhat-appstudio-e2e-tests-main-load-test-concurrent/1651817988027846656
Checklist:

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

@naftalysh Could you please squash (https://www.git-tower.com/learn/git/faq/git-squash) all of your 7 commits into one so that the PR has only one commit to merge? Thx

/test all

/retest


Comment body < 3 symbols

Hello everyone!
Can't figure out how to override validation. I need set minlength to 1
Can someone help me? Thank you!

hello please i have the same problem !
Thanks


I can't find the  Hexters\HexaLite\Pages\Option class in the package

https://github.com/hexters/hexa-lite/blob/93d2424165db9d21c0105199db229f4e7cf48154/stubs/Filament/Pages/Option.php#L7

without this is impossible to access to form options .

Thanks for reminding, I will delete the file later.
And this option can only be accessed on Hexa Pro you can get it here. Hexa Filament


undefined symbol: _ZN3c104cuda9SetDeviceEi in import selective_scan_cuda

Error:

File "/home/mila/j/jolicoea/mamba/mamba_ssm/ops/selective_scan_interface.py", line 16, in
import selective_scan_cuda
ImportError: /home/mila/j/jolicoea/mylibs/lib/python3.10/site-packages/selective_scan_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c104cuda9SetDeviceEi

I am installing using the wheel https://github.com/state-spaces/mamba/releases/download/v1.2.0.post1/mamba_ssm-1.2.0.post1+cu118torch2.3cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
I have cuda 11.8, python 3.10, and the latest developmental torch version.
Same problem occurs with the 1.2.0 version of mamba-ssm.

I also have this error:
torch.version  = 2.3.0.dev20240304+cu118
  running bdist_wheel
  Guessing wheel URL:  https://github.com/state-spaces/mamba/releases/download/v1.2.0.post1/mamba_ssm-1.2.0.post1+cu118torch2.3cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
  error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>

Thanks using the dev version you provided fixes problem 1. I still have the ssl error but I can fix it by directly installing from the wheel. Its not important, but I'm just leaving this here in case it happens to someone.
pip install causal-conv1d mamba-ssm ## not working, weird bug
pip install https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.2.0.post2/causal_conv1d-1.2.0.post2+cu118torch2.3cxx11abiFALSE-cp310-cp310-linux_x86_64.whl # works
pip install https://github.com/state-spaces/mamba/releases/download/v1.2.0.post1/mamba_ssm-1.2.0.post1+cu118torch2.3cxx11abiFALSE-cp310-cp310-linux_x86_64.whl # works

I also have this error:
selective_scan_cuda.cpython-310-aarch64-linux-gnu.so: undefined symbol: _ZN2at4_ops10zeros_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE
torch                     2.2.0+cu11.8             pypi_0    pypi
torchaudio                2.2.0+cu118              pypi_0    pypi
cuda 11.8
and i am Aaarch64
What should I do to fix this error?

I also have this error: selective_scan_cuda.cpython-310-aarch64-linux-gnu.so: undefined symbol: _ZN2at4_ops10zeros_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE
torch 2.2.0+cu11.8 pypi_0 pypi torchaudio 2.2.0+cu118 pypi_0 pypi cuda 11.8 and i am Aaarch64
What should I do to fix this error?

I also met the problem,have you solve it?Tell me please


Increase getInitializedServer timeout in CodyFileEditorListener

Fixes https://github.com/sourcegraph/jetbrains/issues/169.
Test plan

see the related issue for full context
runIde and check if the chat works properly when there is a file opened in the editor on startup
check sourcegraph links too

We should have tried it earlier but anyway...
We were trying to understand what was going on and how com.sourcegraph.cody.agent.CodyAgent#initialize and its field initialized work. TBH I still don't get it. It is likely that the class has grown some tech debt over time making it harder to grasp.
My point is that my PR is not a real fix (from development POV) but it should be enough for now for users. A real fix would be to rewrite the logic and make it cleaner.


AUI-2037

Hey @mairatma,
Attached is an update for http://issues.liferay.com/browse/AUI-2037.  Can you review this and see if you have any issues with these changes?
Please let me know if you have any questions. Thanks!

This is just a backport with some Bootstrap changes.  Merging into 2.0.x.


Fixed line break issue

Better to break by word and justify the content, than to break in the middle of a word.

CSS break-word is deprecated, so better using break-all. Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/word-break

Yep, you're right. I still believe it is not a good idea to use break-all, though, so I changed it to word-break: normal.

Hi @dotkarl , thanks for your PR.  @flypenguin I have merge it.


Clarity UI Library - dark 2.2.0

Describe the bug
Figma library won't let me duplicate to drafts. Shows

How to reproduce
Please provide a link to a reproduction scenario using one of the Clarity Stackblitz templates. Reports without a clear reproduction may not be prioritized until one is provided.
Steps to reproduce the behavior:

Go to https://clarity.design/documentation/get-started#designResources
Click on 'UI Library - Light (2.2.0)'
Click on 'duplicate to drafts'

Expected behavior
A clear and concise description of what you expected to happen.
Versions
App

Angular: [e.g. 6]
Node: [e.g. 8.10.0]
Clarity: [e.g. 0.12.5]

Device:

Type: [e.g. MacBook]
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional notes
Add any other notes about the problem here.

@reddolan or @colinreedmiller - can you help with this one?

There doesn't appear to be any issues with duplicating the file. I just tested it with my personal account and it successfully duplicated the file to my Drafts. I recommend that you try again. If you are still seeing the issue, I recommend submitting request to Figma Help via the (?) icon in the lower right corner of the app.


Dynamic Row Height

Is it possible to somehow define a dynamic row height so that the size of a row is based on it's content?

@rmnblm Good news! #37 is merged. Please try this.


[WIP] Feature Engineering

Coverage increased (+0.1%) to 85.066% when pulling 00a11c260e97fd6b7a001b2f63ed78062e3d6c28 on feat/feature-engineer into e611790670abe695fd0a8a46731c4cfa6137925d on master.


[BUG] Typo in the main docs page

Description
there is this typo in the Available icons section on the docs page
profie -> profile

How to fix
this issue can be found in the pages/docs/index.js file
The typo is right here on the 67th line in pages/docs/index.js file

I would like to contribute.

Hey @dhruvdabhi101, sorry for not noticing your contribution request! I have already raised a PR on this issue!

Hey @dhruvdabhi101, sorry for not noticing your contribution request! I have already raised a PR on this issue!

Please get yourself assigned first on the issues so that it doesn't create such confusion and overlap in contributions.

Alright, @Aadarsh805 👍


[sobjectizer] updated to 5.6.1

SObjectizer updated to the latest version.

Thanks for the update, @eao197!


Problem with danish subtitles

Hi
It seems there is a problem when embedding subtitles with danish characters like æ, ø and å.
I usually add both english and danish subtitles and the english part is working fine.
However when switching to the danish subtitles only lines without the above characters are shown.
I checked the SRT file and the lines are there, but are not being shown in the movie if it contains the above characters.

That probably has more to do with your playback software than the encoding itself

You can try modifying this line:
'encoding': 'UTF-8' in mkvtomp4.py
and changing the encoding to something besdies UTF-8 and see if that improves your results.
I would try changing UTF-8 to ISO-8859-1 and see if that has any effect on your results


long lists and data-size

the bootstrap version allows the data-size attribute to limit the list size... it makes it scroll.
http://silviomoreto.github.io/bootstrap-select/examples/#menu-size
is there a way to make this work with this component?

Maybe. Off the top of my head as the component performs a resize tap into the event . Calculate the height of the largest list item and set the height of the div to that times the number of items and set the div overflow to scroll.
That said it seems like a lot of work. How does bootstrap-ember handle it?
There is also better alternatives out there like ember-power-select and the ember-bootstrap which has a dropdown component that could be used.


Use same mirror directories like Solder for versions

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37988206-use-same-mirror-directories-like-solder-for-versions?utm_campaign=plugin&utm_content=tracker%2F32209314&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F32209314&utm_medium=issues&utm_source=github).

Won't need that to get it working!


Remove special case renaming race to race_and_ethnicity now that pipeline has run

Note: this should not be pushed to prod until the prod pipeline has run with health insurance changes

Seems to not build?


Add stable form of exp transform to pipeline

Given #473 I see only upside/neutral to changing the transformation function in the pipeline (currently exp) to an import of EpiAwareUtils.onexpy.

Closed by #480


Diagnose Chromium memory usage

Memory usage in FF is less than ideal but in Chromium it's order of magnitude bigger, I have to find a reason and fix it somehow

as Chrome and likely other Chromium based browsers will be moving to ServiceWorker approach and my browser of choice won't support it I close all Chromium specific issues


[snap] do not purge lib/coq-core

Coq 8.15 installs stuff in lib/coq and lib/coq-core (and maybe also lib/coq-stlib).

@gares : thanks! Do you think there is a need to move the tag or do we just create the snap from tag+1?

I think we can just upload the snap from tag+1 (or +2, let's see ;-)). After all it's a beta

No, the snap should be from <IP_ADDRESS> - this is final. 8.15.0 is beta.

Still, I think this is OK that the Snap does not reflect perfectly what is tagged. I'm uneasy about moving existing tags on public repos, especially when this isn't done very briefly after the initial push.

snap should be from 8.14.1

Hum @Zimmi48 did 8.14 had coq-core already? I'm a bit confused... (the .cmxs for the plugins are not there, so the problem is that one, but I thought that the split was done in 8.15 only).

Yes, it is Coq 8.14 that introduces coq-core.

I won't have time to test this until Monday

That's fine - maybe I have time to test over the weekend.
I will fix the issue in the dev pick then.

Unexpectedly, I could test it and it works. I'll try to add a CI job which runs the smoke test in another PR.
@MSoegtropIMC if you want to see this in the store, you need to run a workflow by hand as usual setting the upload parameter to true.

@gares: Thanks! I guess I can manage the store part.

@gares: btw.: if you don't wait for the PR CI before merging, can you please cancel the PR runs? Coq Platform CI is quite heavy.


nan loss for large sequence_length

As the sequence_length gets larger, the probabilities of individual outcomes rapidly approach zero. I think this is causing nan loss to occur.
Possibly some smart clamping in math_utils would be enough to fix this. I'd like to figure out a principled solution, if possible.

I think I got to the bottom of this with e159522d64. The issue was improper clipping in the math_utilities as well as an exploding gradient problem.
I think this is mostly solved, but the exploding/vanishing gradient issue is certainly still lurking. I patched it up with torch.nn.utils.clip_grad_norm_, so we'll see if that stands the test of time.


Feature/fix partytown

What is it?

[x] Feature / enhancement
[ ] Bug
[ ] Docs / tests

Description
New CLI command for add partytown
npm run qwik add partytown

Checklist:

[ x] My code follows the developer guidelines of this project
[x ] I have performed a self-review of my own code
[x ] I have made corresponding changes to the documentation
[x ] Added new tests to cover the fix / functionality

Merged! thanks a lot for your work!!
if you wanna give a try with more integrations, community is asking a lot for tailwinds and vitest!

🚀🚀🚀

Merged! thanks a lot for your work!!
if you wanna give a try with more integrations, community is asking a lot for tailwinds and vitest!
Yes I wanna try vitest


Add XDEFI support

Description
Add XDEFI connector support in Wagmi.
Additional Information
Before submitting this issue, please make sure you do the following.

[ ] Read the contributing guide
[ ] Added documentation related to the changes made.
[ ] Added or updated tests (and snapshots) related to the changes made.

Anything wrong ser @tmm?

Read https://wagmi.sh/dev/creating-connectors


Fix getitem() for various index types

[x] Closes #536
[x] Tests added:

test_indexes.py:test_getitem()

By making __getitem__() a mixin, it uncovered some odd hierarchy in the index types, where we had redundant declarations, and some incorrect detection of some invalid subtraction operations.  So the changes here make the original tests pass, and then we can test __getitem__() on various index types.
Was able to get rid of a number of #type: ignore statements as a result.
Either @bashtage  or @twoertwein  can review/approve.

Thank you @Dr-Irv !