id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
2,477,526,323
yt-dlp
Add support for atptour.com
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting a new site support request - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that none of provided URLs [violate any copyrights](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#is-the-website-primarily-used-for-piracy) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and am willing to share it if required ### Region Europe ### Example URLs - Playlist: https://atptour.com/en/news/sinner-zverev-cincinnati-2024-sf (it has two videos in the same page) - Single video: https://atptour.com/en/video/highlights-svajda-earns-highestranked-win-of-career-vs-cerundolo-winstonsalem-2024 ### Provide a description that is worded well enough to be understood Sometimes it already works with the generic and brightcove extractors, but it is very unstable and often raises a 403 error. For context: trying to run `yt-dlp https://atptour.com/en/news/sinner-zverev-cincinnati-2024-sf` worked (downloaded only the second video) for me with the default extractor on one machine but not on another (even with the same network and version) ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell [debug] Command-line config: ['-vUs', 'https://atptour.com/en/news/sinner-zverev-cincinnati-2024-sf'] [debug] Home config "yt-dlp.conf": ['-S', 'lang,quality,res,fps,hdr,vcodec', '--embed-metadata', '--embed-thumbnail', '--embed-subs', '--embed-chapters'] [debug] Encodings: locale utf-8, fs utf-8, pref utf-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2024.08.06 from yt-dlp/yt-dlp [4d9231208] (pip) [debug] Python 3.11.9 (CPython aarch64 64bit) - Linux-4.19.191-28577532-abA346BXXS8CXG3-aarch64-with-libc (OpenSSL 3.2.1 30 Jan 2024, libc) [debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1 [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, mutagen-1.47.0, requests-2.32.3, sqlite3-3.46.0, urllib3-2.2.2, websockets-12.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1830 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: stable@2024.08.06 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2024.08.06 from yt-dlp/yt-dlp) [generic] Extracting URL: https://atptour.com/en/news/sinner-zverev-cincinnati-2024-sf [generic] sinner-zverev-cincinnati-2024-sf: Downloading webpage [redirect] Following redirect to https://www.atptour.com/en/news/sinner-zverev-cincinnati-2024-sf [generic] Extracting URL: https://www.atptour.com/en/news/sinner-zverev-cincinnati-2024-sf [generic] sinner-zverev-cincinnati-2024-sf: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] sinner-zverev-cincinnati-2024-sf: Extracting information [debug] Looking for embeds [brightcove:new] 6360629558112: Checking possible brightcove video URL [brightcove:new] 6360629558112: possible brightcove video URL is invalid, skipping: HTTP Error 404: Not Found [brightcove:new] ${videoId}: Checking possible brightcove video URL [brightcove:new] ${videoId}: possible brightcove video URL is invalid, skipping: HTTP Error 404: Not Found [debug] Identified a brightcove:new embed [brightcove:new] Extracting URL: https://players.brightcove.net/6057277721001/8gZSNwgH_default/index.html?videoId=6360621898112#__youtubedl_smuggle=%7B%22referrer%22%3A+%22https%3A%2F%2Fwww.atptour.com%2Fen%2Fnews%2Fsinner-zverev-cincinnati-2024-sf%22%7D [debug] Loading brightcove.6057277721001_8gZSNwgH from cache [brightcove:new] 6360621898112: Downloading JSON metadata [brightcove:new] 6360621898112: Downloading m3u8 information [brightcove:new] 6360621898112: Downloading m3u8 information [brightcove:new] 6360621898112: Downloading MPD manifest [brightcove:new] 6360621898112: Downloading MPD manifest [debug] Sort order given by user: lang, quality, res, fps, hdr, vcodec [debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr, vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id [debug] Default format spec: bestvideo*+bestaudio/best [info] 6360621898112: Downloading 1 format(s): http-2096k-720p-1 ``` ```shell [debug] Command-line config: ['-vUs', 'https://atptour.com/en/news/sinner-zverev-cincinnati-2024-sf'] [debug] User config "C:\Users\acer\AppData\Roaming\yt-dlp\config": ['-S', 'lang,quality,res,fps,hdr,vcodec', '--embed-metadata', '--embed-thumbnail', '--embed-subs', '--embed-chapters'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version nightly@2024.08.19.232821 from yt-dlp/yt-dlp-nightly-builds [f0bb28504] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: ffmpeg 7.0.1-full_build-www.gyan.dev (setts), ffprobe 7.0.1-full_build-www.gyan.dev [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1830 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest Latest version: nightly@2024.08.19.232821 from yt-dlp/yt-dlp-nightly-builds yt-dlp is up to date (nightly@2024.08.19.232821 from yt-dlp/yt-dlp-nightly-builds) [generic] Extracting URL: https://atptour.com/en/news/sinner-zverev-cincinnati-2024-sf [generic] sinner-zverev-cincinnati-2024-sf: Downloading webpage ERROR: [generic] Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>) File "yt_dlp\extractor\common.py", line 740, in extract File "yt_dlp\extractor\generic.py", line 2384, in _real_extract File "yt_dlp\extractor\common.py", line 909, in _request_webpage File "yt_dlp\extractor\common.py", line 896, in _request_webpage File "yt_dlp\YoutubeDL.py", line 4165, in urlopen File "yt_dlp\networking\common.py", line 117, in send File "yt_dlp\networking\_helper.py", line 208, in wrapper File "yt_dlp\networking\common.py", line 340, in send File "yt_dlp\networking\_requests.py", line 365, in _send yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden ```
site-request
low
Critical
2,477,535,653
PowerToys
Auto-run
### Description of the new feature / enhancement Auto-run editor. Also, the ability to enable / disable PowerToys to auto-run with Windows startup. Kinda surprised it's not already a thing. ### Scenario when this would be used? Every day I turn on my pc. ### Supporting information I opened the settings of .83 to disable PowerToys starting with Windows logon, only to find that the option for that isn't available. I was shocked! Then I thought, "Hey, self, how about an auto-run editor? That sounds good." So, here I am writing you guys. Cheers!
Needs-Triage,Needs-Team-Response
low
Minor
2,477,571,915
vscode
SCM Graph - scm/history/Title menu contribution proposal
null
feature-request,scm,api-proposal
low
Minor
2,477,575,317
godot
Docs of `Node.duplicate` don't mention it duplicates whole Node subtree
### Tested versions I am experiencing this behavior on Homebrew-Godot 4.2 and 4.3. + I just built 4.0-stable and it too is affected. ### System information Godot v4.3.stable - macOS 14.6.1 - Vulkan (Forward+) - integrated Apple M1 - Apple M1 (8 Threads) ### Issue description In one of my projects I am using Polygon2Ds as terrain. To make them fit into the pixelart style of the game, I add a SubViewportContainer and a SubViewport (transparent_bg = true) as children to the Polygon2D via a script, make the Polygon2D duplicate itself and attach its copy to the SubViewport. (See polygon_cloner.gd!) This messes up the view order in my scenes when I edit z_index and set show_behind_parent = true in a Polygon2D that is attached to another Polygon2D running the same script. As far as I can tell, this doesn't happen with Sprite2Ds. ![Screenshot 2024-08-21 at 11 00 24](https://github.com/user-attachments/assets/35dcf51e-5ac7-4274-b487-92459af1a32b) ### Steps to reproduce Open the MRP. Run the node_2d.tscn scene. Observe the red Polygon2D sticking through OccludingSprite2D when it shouldn't. ### Minimal reproduction project (MRP) [subviewport.zip](https://github.com/user-attachments/files/16689373/subviewport.zip)
topic:core,documentation
low
Major
2,477,613,008
rust
`unreachable_patterns` fires on match arm that can't be removed.
[playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=6178d0d0ebf5070b1cc2995575e38505) ```rust use core::future::Future; async fn select<A: Future, B: Future>(_: A, _: B) -> Result<A::Output, B::Output> { todo!() } pub async fn wtf() -> ! { let a = async { loop {} }; let b = async { loop {} }; match select(a, b).await { Ok(x) => x, Err(x) => x, } } ``` warns with `unreachable_patterns` on both arms ``` warning: unreachable pattern --> src/lib.rs:11:9 | 11 | Ok(x) => x, | ^^^^^ | = note: this pattern matches no values because `Result<!, !>` is uninhabited = note: `#[warn(unreachable_patterns)]` on by default ``` but removing either doesn't actually compile ``` error[E0004]: non-exhaustive patterns: `Ok(_)` not covered --> src/lib.rs:10:11 | 10 | match select(a, b).await { | ^^^^^^^^^^^^^^^^^^ pattern `Ok(_)` not covered | note: `Result<(), !>` defined here --> /playground/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:527:1 | 527 | pub enum Result<T, E> { | ^^^^^^^^^^^^^^^^^^^^^ ... 531 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T), | -- not covered = note: the matched value is of type `Result<(), !>` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | 11 ~ Err(x) => x, 12 ~ Ok(_) => todo!(), ``` So this code seems "unfixable" with the new lint. What's happening is the match arm is unreachable, but it still has the "side effect" of making the async block be inferred to `Future<Output=!>` instead of `Future<Output=()>`. So, if you remove it the future now gets inferred to return `()`, and the arm is not unreachable anymore. In edition 2024 it Just Works if you write `match select(a, b).await {}`, because the fallback is `!` instead of `()`. This seems a bit hard to mitigate in Edition 2021, it seems more like an unfortunate combination of the lint and the inference fallback more than a bug. I'm opening the issue anyway to share it, just in case anyone has an idea.
A-lints,T-compiler,F-never_type,D-invalid-suggestion,L-unreachable_patterns
medium
Critical
2,477,632,519
yt-dlp
ZenYandex: broken extractor. Cannot access local variable 'fmts'.
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting that yt-dlp is broken on a **supported** site - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region Europe ### Provide a description that is worded well enough to be understood Broken yandexvideo info exctraction. ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell # yt-dlp -vUF https://dzen.ru/video/watch/65379336b5dfe46d375faa00 [debug] Command-line config: ['-vUF', 'https://dzen.ru/video/watch/65379336b5dfe46d375faa00'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2024.08.06 from yt-dlp/yt-dlp [4d9231208] (pip) [debug] Python 3.11.2 (CPython x86_64 64bit) - Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 (OpenSSL 3.0.11 19 Sep 2023, glibc 2.36) [debug] exe versions: ffmpeg 5.1.4-0 (setts), ffprobe 5.1.4-0 [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.06.02, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.2.1, websockets-12.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1830 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: stable@2024.08.06 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2024.08.06 from yt-dlp/yt-dlp) [ZenYandex] Extracting URL: https://dzen.ru/video/watch/65379336b5dfe46d375faa00 [ZenYandex] 65379336b5dfe46d375faa00: Downloading webpage [ZenYandex] 65379336b5dfe46d375faa00: Redirecting ERROR: cannot access local variable 'fmts' where it is not associated with a value Traceback (most recent call last): File "/root/whisperx/venv/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1626, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/whisperx/venv/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1761, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/root/whisperx/venv/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 740, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/whisperx/venv/lib/python3.11/site-packages/yt_dlp/extractor/yandexvideo.py", line 276, in _real_extract formats.extend(fmts) ^^^^ UnboundLocalError: cannot access local variable 'fmts' where it is not associated with a value ```
site-bug,patch-available
low
Critical
2,477,724,687
tensorflow
Einsum optimization setting guidelines
### Issue type Performance ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.16 ### Custom code No ### OS platform and distribution Linux Ubuntu 20 ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Existing tensorflow supports [einops](https://www.tensorflow.org/api_docs/python/tf/einsum), which enable seamless tensor reduction ops. Parameter to this functionality (kwarg) is the `optimize` parameter, i.e. ``` optimize: Optimization strategy to use to find contraction path using opt_einsum. Must be 'greedy', 'optimal', 'branch-2', 'branch-all' or 'auto'. (optional, default: 'greedy'). ``` Is it documented somewhere what the use cases that benefit from these options are in practice? Further, are effects of these expected to this library perhaps? https://optimized-einsum.readthedocs.io/en/stable/ Simple benchmarking doesn't really reveal any (significant?) differences. Thanks! ### Standalone code to reproduce the issue ```python A simple benchmark of form: import tensorflow as tf import numpy as np import time # Define three large matrices A, B, and C of size 1000x1000 A = tf.random.uniform((1000, 1000), dtype=tf.float32) B = tf.random.uniform((1000, 1000), dtype=tf.float32) C = tf.random.uniform((1000, 1000), dtype=tf.float32) D = tf.random.uniform((1000, 1000), dtype=tf.float32) E = tf.random.uniform((1000, 1000), dtype=tf.float32) greedy = [] non_greedy = [] for _ in range(1000): # Perform matrix multiplication using tf.einsum with optimize='greedy' start_time_greedy = time.time() result_greedy = tf.einsum('ij,jk,kl,lm,mn->in', A, B, C, D, E, optimize='greedy') end_time_greedy = time.time() # Perform matrix multiplication using tf.einsum with optimize='optimal' start_time_branch_all = time.time() result_branch_all = tf.einsum('ij,jk,kl,lm,mn->in', A, B, C, D, E, optimize='optimal') end_time_branch_all = time.time() # Print the execution times greedy.append(end_time_greedy - start_time_greedy) non_greedy.append(end_time_branch_all - start_time_branch_all) print(f"Greedy time: {np.mean(greedy)}") print(f"Optimal time: {np.mean(non_greedy)}") ``` ### Relevant log output ``` Greedy time: 0.067701251745224 Optimal time: 0.06806995582580566 ```
stat:awaiting tensorflower,comp:ops,type:performance,TF 2.16
medium
Critical
2,477,777,791
deno
npm:isolated-vm is not supported
Version: Deno x.x.x npm:isolated-vm Is the alternative to launch an isolate with: new Worker? ```ts // Create a new isolate limited to 128MB import ivm from 'npm:isolated-vm'; const isolate = new ivm.Isolate({ memoryLimit: 128 }); ``` raises error: Uncaught (in promise) Error: Cannot find module './out/isolated_vm' Require stack: What is the best way to run a child that does not crash the main thread?
bug,node compat,triage required 👀
low
Critical
2,477,780,430
yt-dlp
Download hangs forever for youtube format 18 on some videos
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting that yt-dlp is broken on a **supported** site - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Provide a description that is worded well enough to be understood Format 18 is broken for some videos on Youtube. Download for them hangs forever. For example youtube.com/watch?v=S7So-Kg81j4, youtube.com/watch?v=T82HxfZbQ7Y. If I cancel the download and relaunch, yt-dlp outputs `Did not get any data blocks`. Format is really broken, it timeouts after a second in browser too. But I believe it is not an expected behaviour for yt-dlp to hang forever instead of reporting an error and exit. I've seen some similar issues concerning format 22 (downloading it also resulted in `Didn't get any data blocks`), but not with format 18 and not with infinite hanging. It seems like issue happens here - https://github.com/yt-dlp/yt-dlp/blob/add96eb9f84cfffe85682bf2fb85135746994ee8/yt_dlp/downloader/http.py#L339 and here - https://github.com/yt-dlp/yt-dlp/blob/add96eb9f84cfffe85682bf2fb85135746994ee8/yt_dlp/downloader/http.py#L374. For some reason yt-dlp thinks that receiving zero bytes is equivalent to NextFragment and doesn't increase retries counter. This results in infinite loop. Fast workaround is to ban format 18 like format 22. But this can possibly happen with other formats (havn't seen it though). ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell Initial try. yt-dlp --verbose --format 18 youtube.com/watch?v=S7So-Kg81j4 [debug] Command-line config: ['--verbose', '--format', '18', 'youtube.com/watch?v=S7So-Kg81j4'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version nightly@2024.08.19.232821 from yt-dlp/yt-dlp-nightly-builds [f0bb28504] (pip) [debug] Python 3.8.18 (CPython x86_64 64bit) - Linux-3.10.0-1160.90.1.el7.x86_64-x86_64-with-glibc2.2.5 (OpenSSL 1.0.2k-fips 26 Jan 2017, glibc 2.17) [debug] exe versions: ffmpeg 6.0-static (setts), ffprobe 4.3 [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2023.11.17, mutagen-1.47.0, requests-2.32.3, sqlite3-3.43.2, urllib3-1.26.18, websockets-12.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1830 extractors [generic] Extracting URL: youtube.com/watch?v=S7So-Kg81j4 WARNING: [generic] The url doesn't specify the protocol, trying with http [youtube] Extracting URL: http://youtube.com/watch?v=S7So-Kg81j4 [youtube] S7So-Kg81j4: Downloading webpage [youtube] S7So-Kg81j4: Downloading ios player API JSON [youtube] S7So-Kg81j4: Downloading web creator player API JSON [debug] [youtube] Extracting signature function js_6db2bd17_112 [debug] Loading youtube-sigfuncs.js_6db2bd17_112 from cache [debug] Loading youtube-nsig.6db2bd17 from cache [debug] [youtube] Decrypted nsig Z0Qlo-b1yFXjX_JF9o9 => akGFBhdw_Wp4_g [youtube] S7So-Kg81j4: Downloading m3u8 information [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] S7So-Kg81j4: Downloading 1 format(s): 18 [debug] Invoking http downloader on "https://rr7---sn-pivhx-n8vs.googlevideo.com/videoplayback?expire=1724259975&ei=J8rFZpm6DpiH0u8PmM3z0Ak&ip=185.187.63.59&id=o-AFeqyuVvQrIX2hXijVdH28lDQSeWYxR2k8k_NPhUsEMR&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VE&mm=31%2C29&mn=sn-pivhx-n8vs%2Csn-n8v7sney&ms=au%2Crdu&mv=u&mvi=7&pl=24&bui=AQmm2ez7OffO-aj0zcIO8dq8dkqpOkIyWghM7fXAfHh0HLXRGmLi_-t_oGLlJt0aqEJLBlMHX5JZ1izG&spc=Mv1m9k7jFA2Gq130WosFTMD22lbC1TvYvzEX2mjw8vWsJPn46QPwC6g&vprv=1&svpuc=1&mime=video%2Fmp4&ns=VpeXqu3Wkc-D9RO_43J9A9QQ&rqh=1&cnr=14&ratebypass=yes&dur=170.689&lmt=1675718532565591&mt=1724236909&fvip=18&c=WEB_CREATOR&sefc=1&txp=6219224&n=akGFBhdw_Wp4_g&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Ccnr%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl&lsig=AGtxev0wRQIgRHinKbjids879d06XlBF_rXqHK-YHfxijnqYP-eicHYCIQCs9ddZaUli_Ojk5McwyjJ5G9c7bLk_l2MalQLyHfpzyA%3D%3D&sig=AJfQdSswRQIhAKfYFriVskQobr8Ub_3wjCbpG3huAuTsfw3Nbl2tCRbcAiBre2S_6X_C80APvqO5oTpXHIZ8zsz-Hlyl5EGDe21NIA%3D%3D" [download] Destination: 578 Горшкова Анна 13 лет За речкой Школьные годы ДШИ 19 г Кемерово [S7So-Kg81j4].mp4 [download] 1.1% of 6.37MiB at 701.93KiB/s ETA 00:09 Second try (after having something preloaded in the first try). yt-dlp -vU --format 18 youtube.com/watch?v=S7So-Kg81j4 [debug] Command-line config: ['-vU', '--format', '18', 'youtube.com/watch?v=S7So-Kg81j4'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version nightly@2024.08.19.232821 from yt-dlp/yt-dlp-nightly-builds [f0bb28504] (pip) [debug] Python 3.8.18 (CPython x86_64 64bit) - Linux-3.10.0-1160.90.1.el7.x86_64-x86_64-with-glibc2.2.5 (OpenSSL 1.0.2k-fips 26 Jan 2017, glibc 2.17) [debug] exe versions: ffmpeg 6.0-static (setts), ffprobe 4.3 [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2023.11.17, mutagen-1.47.0, requests-2.32.3, sqlite3-3.43.2, urllib3-1.26.18, websockets-12.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1830 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest Latest version: nightly@2024.08.19.232821 from yt-dlp/yt-dlp-nightly-builds yt-dlp is up to date (nightly@2024.08.19.232821 from yt-dlp/yt-dlp-nightly-builds) [generic] Extracting URL: youtube.com/watch?v=S7So-Kg81j4 WARNING: [generic] The url doesn't specify the protocol, trying with http [youtube] Extracting URL: http://youtube.com/watch?v=S7So-Kg81j4 [youtube] S7So-Kg81j4: Downloading webpage [youtube] S7So-Kg81j4: Downloading ios player API JSON [youtube] S7So-Kg81j4: Downloading web creator player API JSON [debug] [youtube] Extracting signature function js_6db2bd17_112 [debug] Loading youtube-sigfuncs.js_6db2bd17_112 from cache [debug] Loading youtube-nsig.6db2bd17 from cache [debug] [youtube] Decrypted nsig zGsiXbAya_ywVciUcb5 => 29uSKCZgmox79g [youtube] S7So-Kg81j4: Downloading m3u8 information [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] S7So-Kg81j4: Downloading 1 format(s): 18 [debug] Invoking http downloader on "https://rr7---sn-pivhx-n8vs.googlevideo.com/videoplayback?expire=1724260065&ei=gcrFZufxKtaJ0u8PzICM8AI&ip=185.187.63.59&id=o-APRz-gyxyMtn8e6hellbLIKx4SSgtE47urtNeZ2Dyj3Q&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VE&mm=31%2C29&mn=sn-pivhx-n8vs%2Csn-n8v7znsz&ms=au%2Crdu&mv=u&mvi=7&pl=24&bui=AQmm2exM9xKAv6JKC1A21dsDFq5v0Iifk28xxZWBhfZtbUfiCS26DJFe9qe06hhzCTpV_Ijp8y8-k4gd&spc=Mv1m9kmWgKq-93XkpzBAlvsuUKgoh8Ngl9rWeikNWnD0yIJ5O0eat-E&vprv=1&svpuc=1&mime=video%2Fmp4&ns=Wp6VEO43lnZdPrGWlcSUNhkQ&rqh=1&cnr=14&ratebypass=yes&dur=170.689&lmt=1675718532565591&mt=1724236909&fvip=18&c=WEB_CREATOR&sefc=1&txp=6219224&n=29uSKCZgmox79g&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Ccnr%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl&lsig=AGtxev0wRQIhANlWJ3fhz6Fbx4GDDYH0GvXA5ryo8BEOYMrXsnpbjHNEAiAJ14g43X5yc_uj7hTtVP7l_Yqr3uFy7gThWEyknuIiAQ%3D%3D&sig=AJfQdSswRQIgRI7vLUcwnX1EPxlbm5m2J6n-WTH8qk6gCb9xxYM-bz0CIQDmxq6DXVkLlgZLbTGNFrIs-f4HLyCvIgBWhCGfFA7WvQ%3D%3D" [download] Resuming download at byte 75018 ERROR: Did not get any data blocks File "/home/s.churikov/video_download/venv/bin/yt-dlp", line 8, in <module> sys.exit(main()) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/__init__.py", line 1081, in main _exit(*variadic(_real_main(argv))) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/__init__.py", line 1071, in _real_main return ydl.download(all_urls) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3607, in download self.__download_wrapper(self.extract_info)( File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3582, in wrapper res = func(*args, **kwargs) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1615, in extract_info return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1626, in wrapper return func(self, *args, **kwargs) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1782, in __extract_info return self.process_ie_result(ie_result, download, extra_info) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1861, in process_ie_result return self.extract_info( File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1615, in extract_info return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1626, in wrapper return func(self, *args, **kwargs) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1782, in __extract_info return self.process_ie_result(ie_result, download, extra_info) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1841, in process_ie_result ie_result = self.process_video_result(ie_result, download=download) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3015, in process_video_result self.process_info(new_info) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 179, in wrapper return func(self, *args, **kwargs) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3483, in process_info success, real_download = self.dl(temp_filename, info_dict) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3203, in dl return fd.download(name, new_info, subtitle) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/downloader/common.py", line 466, in download ret = self.real_download(filename, info_dict) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/downloader/http.py", line 370, in real_download return download() File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/downloader/http.py", line 336, in download self.report_error('Did not get any data blocks') File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1092, in report_error self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs) File "/home/s.churikov/video_download/venv/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1020, in trouble tb_data = traceback.format_list(traceback.extract_stack()) ```
bug,duplicate,cant-reproduce,regression,core:downloader
low
Critical
2,477,791,098
vscode
VSC crashes when testing a plugin
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: NA <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: >=1.89.1 and up to 1.92.2 - OS Version: Debian 12 Steps to Reproduce: We develop a plugin for VSCode (Polyspace as You Code) and we have automated testing that rely on chromedriver and vscode-extension-tester. The chromedriver version used is the latest given the chromium version that is embedded with the VSCode version. Note that this issue is hard to reproduce even on our end => we don't have a scenario to reproduce it manually. We only see it happening when running our automated tests suite and it's not always the same tests that are failing. Note that using VSC 1.87.2 that rely on chromium 118 works fine in our environment ; so we're wondering if this could be related to this bug https://issues.chromium.org/issues/341095522 The dump attached [20240821VSCodeMiniDump.zip](https://github.com/user-attachments/files/16690727/20240821VSCodeMiniDump.zip) has been generated with VSC 1.92.2 so chromium 124.0.6367.243 and therefore chromedriver version 124.0.6367.207. We use the following command line arguments to run VSC: `--no-sandbox --skip-release-notes --disable-workspace-trust --disable-updates --disable-features=CalculateNativeWinOcclusion --disable-gpu --disable-dev-shm-usage --password-store="basic" --user-data-dir=<removed for confidentiality> --crash-reporter-directory=<removed for confidentiality> --extensions-dir=<removed for confidentiality>` Chromedriver log file around the crash shows the following: ``` [0821/052915.649640:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2) [0821/052915.649681:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2) [1724232555.966][DEBUG]: DevTools WebSocket Event: Target.detachedFromTarget (session_id=D8C3B5F66063FF0CB76C738C1215C33D) D2716466DD7811A504D5B76A7FBAE9BF { "sessionId": "94B85D33F62D9E8DA5E65D31A3975137", "targetId": "B3DE9B57B26075A5DF7555A3DABC78B6" } [1724232555.966][DEBUG]: DevTools WebSocket Event: Target.detachedFromTarget (session_id=D8C3B5F66063FF0CB76C738C1215C33D) D2716466DD7811A504D5B76A7FBAE9BF { "sessionId": "73364029DB745E81C973192057B9B13D", "targetId": "DD9AEA4958D8F42C8720393844441604" } ^[[91m[main 2024-08-21T09:29:16.183Z]^[[0m CodeWindow: renderer process gone (reason: crashed, code: 139) [1724232556.217][DEBUG]: DevTools WebSocket Event: Inspector.targetCrashed (session_id=D8C3B5F66063FF0CB76C738C1215C33D) D2716466DD7811A504D5B76A7FBAE9BF { } ```
bug,freeze-slow-crash-leak
low
Critical
2,477,925,242
material-ui
[Badge] export default component for 'badge' slot
### Summary Would like to be able to use the `badge` slot on the badge component, so that I can wrap it with a `ButtonBase` and make it interactive. The badge exposes a slot for the "badge" component, but no way to reuse the default component. Exporting the default component could potentially make sense for any slot that is offered. ### Examples ```tsx import Badge, { BadgeSlot } from '@mui/material/badge' import ButtonBase from '@mui/material/ButtonBase' function MyBadge() { return <ButtonBase onClick={() => alert('hello word!')}><BadgeSlot {...props} /></ButtonBase> } <Badge badgeContent="click me" slots={{ badge: MyBadge }} > ... </Badge> ``` ### Motivation _No response_ **Search keywords**: badge slot
component: badge,customization: dom
low
Minor
2,478,019,776
go
cmd/go: telemetry data should not be in $XDG_CONFIG_HOME
### Go version go version go1.23.0 linux/amd64 ### Output of `go env` in your module/workspace: ```shell GO111MODULE='' GOARCH='amd64' GOBIN='' GOCACHE='/home/andrew/.cache/go-build' GOENV='/home/andrew/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='-modcacherw' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/home/andrew/.go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/home/andrew/.go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/opt/golang/go1.23.0' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/opt/golang/go1.23.0/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.23.0' GODEBUG='' GOTELEMETRY='off' GOTELEMETRYDIR='/home/andrew/.config/go/telemetry' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='0' GOMOD='/dev/null' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2289507740=/tmp/go-build -gno-record-gcc-switches' ``` ### What did you do? 1. Upgrade to Go 1.23.0 2. Use Go for several days ### What did you see happen? My `$XDG_CONFIG_HOME/go/telemetry` directory (`$HOME/.config/go/telemetry`) is now full of data files, in violation of the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/latest/index.html) which reserves `$XDG_CONFIG_HOME` for configuration. ### What did you expect to see? I expected telemetry data to be stored in `$XDG_STATE_HOME` instead.
NeedsDecision,GoCommand,telemetry
low
Critical
2,478,052,998
node
Get udp recipent IP for incoming packet
### What is the problem this feature will solve? It's impossible to serve a UDP based server with nodejs on multiple IP server. A lot of cloud service provider or ISPs allowing us to purchase additional IP on it. Assume I have a server with multiple IP on it. In this case, I'm demo with `172.22.10.100` and `172.22.10.101` The `172.22.10.100` is marked as primary, and `172.22.10.101` is marked as secondary by kernel. ``` 2: eth0@if141: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 2e:98:22:63:a9:1c brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 172.22.10.100/20 scope global eth0 valid_lft forever preferred_lft forever inet 172.22.10.101/20 scope global secondary eth0 valid_lft forever preferred_lft forever ``` This is a simple udp server, it replys "pong" message to every client. ```js var dgram = require('dgram'); var PORT = 55567; var HOST = '0.0.0.0'; // UDP Server server = dgram.createSocket('udp4'); server.on('listening', function () { var address = this.address(); console.log('UDP Server listening on ' + address.address + ":" + address.port); }.bind(server)); server.on('close', function() { console.log('udp socket closed..'); }); server.on('message', function (message, remote) { console.log('Data received from client : ' + message.toString()); this.send(new Buffer("pong"), remote.port, remote.address, function(err, bytes) { if (err) throw err; console.log(`UDP message sent to ${remote.address}:${remote.port}`); }); }.bind(server)); server.bind(PORT, HOST); ``` If the client connect to `172.22.10.100.55567`, it replies with src ip `172.22.10.100.55567` ``` tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes 13:01:39.892849 eth0 In IP 172.22.3.2.36202 > 172.22.10.100.55567: UDP, length 4 13:01:39.893467 eth0 Out IP 172.22.10.100.55567 > 172.22.3.2.36202: UDP, length 4 13:01:43.951945 eth0 In IP 172.22.3.2.57033 > 172.22.10.100.55567: UDP, length 4 13:01:43.952904 eth0 Out IP 172.22.10.100.55567 > 172.22.3.2.57033: UDP, length 4 ``` But if the client connect to `172.22.10.101.55567`, the server still reply with src ip `172.22.10.100.55567` which make it unuseable on IP 172.22.10.101 ``` 13:02:48.927441 eth0 In IP 172.22.3.2.51876 > 172.22.10.101.55567: UDP, length 4 13:02:48.928299 eth0 Out IP 172.22.10.100.55567 > 172.22.3.2.51876: UDP, length 4 13:02:50.387984 eth0 In IP 172.22.3.2.46488 > 172.22.10.101.55567: UDP, length 4 13:02:50.388810 eth0 Out IP 172.22.10.100.55567 > 172.22.3.2.46488: UDP, length 4 ``` This bug happens is because linux selects source address with following rules: 1. User specified (with `bind` or `write`) 2. Tracked by kernel (not happen for udp listen) 3. Hit routes by destination IP 3-1. If `pref-src` is set on the route, use it 3-2. if the route points a NIC, select an IP from it 3-3. If multiple IP on the NIC, use the ip marked as primary. TCP socket get covered by system at rule 2 but udp is not. If the selection hits rule 3, it's basically guess. Because it lost the information of which IP is the client connect to. Different from TCP session, system won't track udp session for user, we have to handle it by our self. We have to `bind` specfic source IP on udp each session otherwise system just select the primary IP from NIC based on default table. So that it brokes at system have multiple route table or secondary IP on the NIC. ### What is the feature you are proposing to solve the problem? In order to reply message with correct `source address`, we have to get the information of destnation IP at incoming packet. Unfortunately we can't do it in nodejs right now so that there is no way to implement workable udp server with nodejs on multiple IP server. There are similar issue, but all get closed and locked. And all these are talking something about broadcast address. https://github.com/nodejs/node-v0.x-archive/issues/8788 https://github.com/nodejs/node-v0.x-archive/issues/6589 But in my use case, it irrelevant to broadcast address or overlapping subnets etc. It's just a try to create a regular udp server application on a multiple IP server. So I want nodejs developers reconsider this feature. The another issue is get destnation IP for incoming packet is platform specific. We have to write a lot of code to hendle it. In linux (include Android) based platform, we have to use `IP_PKTINFO` In BSD based platform (include MacOS and iOS), we need `IP_RECVDSTADDR` In Windows platform, we need `WSAIoctl` and `WSARecvMsg` For these 3 platform, it covers 99% of our scenarios. But this is a generial purpose requirement. It would be nice if we can make a abstraction for this feature at nodejs, instead of implement it with platform specific code with C binding. ### What alternatives have you considered? Uses native C api to retrive the destnation IP at incoming packet, then we can reply reply with correct `source address`. Which make the code more complex, unreadable and unportable.
dgram,feature request
low
Critical
2,478,053,835
electron
[Bug]: Reopen from issue #40328. Multiple Electron Apps are affected,
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 32.0.0 ### What operating system(s) are you using? Other Linux ### Operating System Version RHEL8 and Fedora ### What arch are you using? x64 ### Last Known Working Electron version _No response_ ### Expected Behavior In the recent months, several Electron Apps that I am using on Linux have started to report this error message on Linux (RHEL8): Teams for Linux, reported here: https://github.com/IsmaelMartinez/teams-for-linux/issues/998 or 5898:ERROR:network_service_instance_impl.cc(663)] Network service crashed, restarting service. Standard Notes, reported here: https://github.com/standardnotes/forum/issues/3312 This causes a delay of several seconds on startup. For teams on Linux, the App does not even work anymore. ### Actual Behavior No error should be seen and the apps should work/start fine. ### Testcase Gist URL _No response_ ### Additional Information RHEL8 and Fedora 37+ x86_64
platform/linux,bug :beetle:,32-x-y
medium
Critical
2,478,094,588
electron
[Bug]: Context menu appears on the wrong workspace in GNOME when running ELECTRON_OZONE_PLATFORM_HINT=wayland
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 30.1.2, 31.3.0 ### What operating system(s) are you using? Other Linux ### Operating System Version Arch Linux, Fedora 40 ### What arch are you using? x64 ### Last Known Working Electron version _No response_ ### Expected Behavior **Setup:** An Electron app (e.g. VSCode, Draw.io Desktop) is running under Linux in the GNOME desktop environment using Wayland. For the electron app the platform is explicitly set to Wayland (`ELECTRON_OZONE_PLATFORM_HINT=wayland`). Multiple windows of the application are open on different workspaces. **Expected Behavior:** When opening the context menu in one of the Electron apps by an action (e.g. right-clicking with a mouse) the context menu should appear in the window (and on the workspace) where the action was performed. E.g. with windows A on workspace 1 and B on workspace 2, when right clicking in window A the context menu should appear in window A on workspace 1. ### Actual Behavior The context menu triggered from a window on its respective workspace always appears in the most recently opened app window on its workspace. This makes it impossible to open the context menu in any other window than the most recently opened one. ### Testcase Gist URL _No response_ ### Additional Information The issue does not occur with `ELECTRON_OZONE_PLATFORM_HINT=x11`. Tested with GNOME both on Arch Linux and Fedora 40. Issue happens with VSCode installed through the method described on [code.visualstudio.com](https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions) through Flatpak, and the AUR (Electron Version 30.1.2). It also happens with the Draw.io Desktop app (Electron 31.3.0). I suspect that there are different implementations of context menus in Electron apps, since this issue always happens in VSCode but in e.g. Draw.io it only happens with the 'native-looking' context menu triggered when right-clicking e.g. on the menu bar and not for the context menu triggered inside the drawing area.
platform/linux,bug :beetle:,30-x-y,31-x-y
low
Critical
2,478,181,762
godot
Migration to Parallax 2D node could update the attach script during migration
### Tested versions - v4.3.stable.steam [77dcf97d8] ### System information Windows 11, v4.3.stable.steam [77dcf97d8] ### Issue description After using the migration button from ParallaxBackground to Paralax2D Node, Attached script should extend to new node Paralax2D in the script linked to the node. This script for example was attach to a ParallaxLayer Object ```gdscript extends ParallaxLayer func _ready(): for child in get_children(): child.scale.y = 0; func entering_battle(): for child in get_children(): var tween = get_tree().create_tween() tween.tween_property(child, "scale",Vector2(1,1),1.0) func exiting_battle(): for child in get_children(): var tween = get_tree().create_tween() tween.tween_property(child, "scale",Vector2(1,0),1.0) ``` After using the migration tool the script should look like this ```gdscript extends Parallax2D func _ready(): for child in get_children(): child.scale.y = 0; func entering_battle(): for child in get_children(): var tween = get_tree().create_tween() tween.tween_property(child, "scale",Vector2(1,1),1.0) func exiting_battle(): for child in get_children(): var tween = get_tree().create_tween() tween.tween_property(child, "scale",Vector2(1,0),1.0) ``` ### Steps to reproduce Start a project with a ParallaxBackground node, then add a ParallaxLayer node, then attach a script to the layer. Your now ready to use the migration tool. Use it you'll see that the extends of the script isn't updated to the new node type witch is now a Parallax2D node ### Minimal reproduction project (MRP) [migrationissue.zip](https://github.com/user-attachments/files/16693014/migrationissue.zip)
enhancement,discussion,topic:editor,topic:2d
low
Minor
2,478,223,918
vscode
GitHub Extension: Unable to resolve nonexistent file error when using GitHub in vscode.dev
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: No <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.92.2 (VS Code for web running on vscode.dev) - OS Version: macOS 12.4 Steps to Reproduce: 1. Open a GitHub repo in vscode.dev, e.g. https://vscode.dev/github/microsoft/vscode 2. Create a new folder in the root containing another folder e.g. `tmp/temp` <img width="696" alt="Screenshot 2024-08-21 at 15 33 30" src="https://github.com/user-attachments/assets/df00c25c-2678-4cea-87fc-761a3a4692fe"> 3. Delete this folder tree using the context menu <img width="697" alt="Screenshot 2024-08-21 at 15 33 42" src="https://github.com/user-attachments/assets/2507499a-d7e7-4a29-8f74-4fe08659ca1a"> 4. Try to recreate the `tmp` base folder again <img width="692" alt="Screenshot 2024-08-21 at 15 34 05" src="https://github.com/user-attachments/assets/2f81626a-7c80-4bce-882a-818d42476e93"> 5. Error received: `Unable to resolve nonexistent file 'vscode-vfs://github/microsoft/vscode/tmp'` <img width="480" alt="Screenshot 2024-08-21 at 15 34 13" src="https://github.com/user-attachments/assets/4fe78943-1faa-4c5c-8b8a-97337f67e433">
bug,github-repositories
low
Critical
2,478,236,314
storybook
[Bug]: error Unable to resolve module storybook/internal/preview-api
### Describe the bug cannot run react-native with latests versions ``` error Unable to resolve module storybook/internal/preview-api from /Users/alain/myproject/node_modules/@storybook/addon-actions/dist/preview.js: storybook/internal/preview-api could not be found within the project or in these directories: node_modules 2 | 3 | var uuid = require('uuid'); > 4 | var previewApi = require('storybook/internal/preview-api'); | ^ 5 | var global = require('@storybook/global'); 6 | var previewErrors = require('storybook/internal/preview-errors'); 7 |. ``` versions used ``` "react-native": "0.74.3", "@storybook/addon-actions": "^8.2.9", "@storybook/addon-ondevice-actions": "^7.6.20", "@storybook/addon-ondevice-controls": "^7.6.20", "@storybook/addon-themes": "^8.2.9", "@storybook/preview-api": "^8.2.9", "@storybook/react": "^8.2.9", "@storybook/react-native": "^7.6.20", "@storybook/react-native-theming": "^7.6.20", ``` project was running with this previous following versions but storybook stopped working few month ago since i udpate react-native itself. it stuck on splascreen most of the time ``` "@storybook/addon-actions": "^7.6.17", "@storybook/addon-ondevice-actions": "^7.6.15", "@storybook/addon-ondevice-controls": "^7.6.15", "@storybook/addon-themes": "^7.6.17", "@storybook/react": "^7.6.17", "@storybook/react-native": "^7.6.15", "@storybook/react-native-theming": "^7.6.15", ``` ### Reproduction link nolink.com ### Reproduction steps just try to run project ### System ```bash System: OS: macOS 14.6.1 CPU: (10) arm64 Apple M2 Pro Shell: 5.9 - /bin/zsh Binaries: Node: 22.6.0 - /opt/homebrew/bin/node Yarn: 4.2.1 - /usr/local/bin/yarn <----- active npm: 10.8.2 - /opt/homebrew/bin/npm Browsers: Chrome: 127.0.6533.120 Safari: 17.6 npmPackages: @storybook/addon-actions: ^8.2.9 => 8.2.9 @storybook/addon-ondevice-actions: ^7.6.20 => 7.6.20 @storybook/addon-ondevice-controls: ^7.6.20 => 7.6.20 @storybook/addon-themes: ^8.2.9 => 8.2.9 @storybook/preview-api: ^8.2.9 => 8.2.9 @storybook/react: ^8.2.9 => 8.2.9 @storybook/react-native: ^7.6.20 => 7.6.20 @storybook/react-native-theming: ^7.6.20 => 7.6.20 ``` ### Additional context _No response_
bug,dependencies,react-native,has workaround
medium
Critical
2,478,242,088
tauri
[bug] Tauri 2 + Leptos on Android: Input not showing keyboard
### Describe the bug First, I have to say, the process to get this going was the most intuitive mobile development experience I've tried so far, and I've tried both Flutter and React Native / Expo. The process is flawless up to here: ![Screenshot from 2024-08-21 08-34-50](https://github.com/user-attachments/assets/2270bfec-b229-470a-9316-1dfccaa44d6a) When I try to click in the text field, nothing pops up. Instead, the text and images are highlighted with each press, even though my emulated cursor finger is positioned over the text field. ### Reproduction Run the cargo instructions on https://v2.tauri.app ``` cargo install create-tauri-app cargo create-tauri-app --rc ``` Then (after having installed NDK using Android Studio's SDK Manager GUI, on fish shell): ``` cargo install tauri-cli --version '^2.0.0-rc.5' set -Ux NDK_HOME "$HOME/Android/Sdk/ndk/27.0.12077973/" cargo tauri android init cargo tauri android dev ``` ### Expected behavior The keyboard drawer should pop up allowing me to enter a name to greet. ### Full `tauri info` output ```text [✔] Environment - OS: Garuda Linux Soaring X64 ✔ webkit2gtk-4.1: 2.44.3 ✔ rsvg2: 2.58.3 ✔ rustc: 1.80.1 (3f5fd8dd4 2024-08-06) ✔ cargo: 1.80.1 (376290515 2024-07-16) ✔ rustup: 1.27.1 (2024-05-07) ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (environment override by RUSTUP_TOOLCHAIN) - node: 22.6.0 - yarn: 1.22.22 - npm: 10.8.2 [-] Packages - tauri [RUST]: 2.0.0-rc.5 - tauri-build [RUST]: 2.0.0-rc.5 - wry [RUST]: 0.42.0 - tao [RUST]: 0.29.1 - tauri-cli [RUST]: 2.0.0-rc.6 [-] App - build-type: bundle - CSP: unset - frontendDist: ../dist - devUrl: http://localhost:1420/ ``` ### Stack trace ```text Performing Streamed Install Success Starting: Intent { cmp=com.bitvaulty.app/.MainActivity } --------- beginning of main 08-21 08:33:23.223 12131 12131 I m.bitvaulty.app: Late-enabling -Xcheck:jni 08-21 08:33:23.233 12131 12131 I m.bitvaulty.app: Using CollectorTypeCC GC. 08-21 08:33:23.234 12131 12131 W m.bitvaulty.app: Unexpected CPU variant for x86: x86_64. 08-21 08:33:23.234 12131 12131 W m.bitvaulty.app: Known variants: atom, sandybridge, silvermont, goldmont, goldmont-plus, tremont, kabylake, default 08-21 08:33:23.279 12131 12131 W ziparchive: Unable to open '/data/app/~~GkeisBzhr-ztIk-o8wHr1g==/com.bitvaulty.app-3sOutHJFcSxSYV9WWUd9UQ==/base.dm': No such file or directory 08-21 08:33:23.279 12131 12131 W ziparchive: Unable to open '/data/app/~~GkeisBzhr-ztIk-o8wHr1g==/com.bitvaulty.app-3sOutHJFcSxSYV9WWUd9UQ==/base.dm': No such file or directory 08-21 08:33:23.417 12131 12131 W m.bitvaulty.app: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed) 08-21 08:33:23.417 12131 12131 W m.bitvaulty.app: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed) 08-21 08:33:23.419 12131 12131 W OpenGLRenderer: Unknown dataspace 0 08-21 08:33:23.432 12131 12179 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... 08-21 08:33:23.432 12131 12179 W OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS 08-21 08:33:23.437 12131 12179 I Gralloc4: mapper 4.x is not supported 08-21 08:33:23.444 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:33:23.452 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:23.452 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:33:23.460 12131 12131 I WebViewFactory: Loading com.google.android.webview version 113.0.5672.136 (code 567263637) 08-21 08:33:23.462 12131 12131 W ziparchive: Unable to open '/data/app/~~auRKfFK1pEecbw6JPm_xaA==/com.google.android.trichromelibrary_567263637-x_mDhNyDfjGqjoBMrg5bTw==/TrichromeLibrary.dm': No such file or directory 08-21 08:33:23.462 12131 12131 W ziparchive: Unable to open '/data/app/~~auRKfFK1pEecbw6JPm_xaA==/com.google.android.trichromelibrary_567263637-x_mDhNyDfjGqjoBMrg5bTw==/TrichromeLibrary.dm': No such file or directory 08-21 08:33:23.462 12131 12131 W m.bitvaulty.app: Entry not found 08-21 08:33:23.475 12131 12131 W m.bitvaulty.app: Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (unsupported, reflection, allowed) 08-21 08:33:23.475 12131 12131 W m.bitvaulty.app: Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (unsupported, reflection, allowed) 08-21 08:33:23.475 12131 12131 W m.bitvaulty.app: Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (unsupported, reflection, allowed) 08-21 08:33:23.475 12131 12131 W m.bitvaulty.app: Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (unsupported, reflection, allowed) 08-21 08:33:23.475 12131 12131 W m.bitvaulty.app: Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (unsupported, reflection, allowed) 08-21 08:33:23.480 12131 12131 I cr_WVCFactoryProvider: Loaded version=113.0.5672.136 minSdkVersion=29 isBundle=false multiprocess=true packageId=2 08-21 08:33:23.487 12131 12194 I cr_VariationsUtils: Failed reading seed file "/data/user/0/com.bitvaulty.app/app_webview/variations_seed_new" 08-21 08:33:23.487 12131 12194 I cr_VariationsUtils: Failed reading seed file "/data/user/0/com.bitvaulty.app/app_webview/variations_seed" 08-21 08:33:23.489 12131 12194 I cr_VariationsUtils: Requesting new seed from IVariationsSeedServer 08-21 08:33:23.495 12131 12131 I cr_LibraryLoader: Successfully loaded native library 08-21 08:33:23.496 12131 12131 I cr_CachingUmaRecorder: Flushed 8 samples from 8 histograms. 08-21 08:33:23.561 12131 12217 W chromium: [WARNING:dns_config_service_android.cc(115)] Failed to read DnsConfig. 08-21 08:33:23.562 12131 12183 I RustStdoutStderr: [WARNING:dns_config_service_android.cc(115)] Failed to read DnsConfig. 08-21 08:33:23.705 12131 12234 W cr_media: BLUETOOTH_CONNECT permission is missing. 08-21 08:33:23.736 12131 12234 W cr_media: registerBluetoothIntentsIfNeeded: Requires BLUETOOTH permission 08-21 08:33:23.783 12131 12131 W Tauri/Console: File: http://tauri.localhost/ - Line 14 - Msg: The `integrity` attribute is currently ignored for preload destinations that do not support subresource integrity. See https://crbug.com/981419 for more information 08-21 08:33:23.792 12131 12131 W Tauri/Console: File: http://tauri.localhost/bitvaulty-ui-86c91a1d0bac986b.js - Line 875 - Msg: using deprecated parameters for the initialization function; pass a single object instead 08-21 08:33:23.794 12131 12131 W Tauri/Console: File: http://tauri.localhost/bitvaulty-ui-86c91a1d0bac986b.js - Line 395 - Msg: `WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error: 08-21 08:33:23.794 12131 12131 W Tauri/Console: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'. 08-21 08:33:23.866 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inputPoint 08-21 08:33:23.869 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name resolveLevel_and_idx 08-21 08:33:23.869 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name p01 08-21 08:33:23.869 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name p23 08-21 08:33:23.875 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:23.875 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:33:23.875 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name fillBounds 08-21 08:33:23.875 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:33:23.875 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name locations 08-21 08:33:23.875 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:33:23.902 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:33:23.902 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:33:23.902 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inQuadEdge 08-21 08:33:23.906 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name radii_selector 08-21 08:33:23.906 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name corner_and_radius_outsets 08-21 08:33:23.906 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name aa_bloat_and_coverage 08-21 08:33:23.906 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 3 name radii_x 08-21 08:33:23.906 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 4 name radii_y 08-21 08:33:23.906 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 5 name skew 08-21 08:33:23.906 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 6 name translate_and_localrotate 08-21 08:33:23.906 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 7 name color 08-21 08:33:23.956 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:33:23.956 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:33:23.956 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inTextureCoords 08-21 08:33:23.959 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:33:23.959 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:33:23.959 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inCircleEdge 08-21 08:33:23.961 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:23.961 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:23.965 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:23.965 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:23.970 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:23.970 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:33:23.974 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:33:23.974 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:33:23.974 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inCircleEdge 08-21 08:33:23.984 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:23.984 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord Info Watching /home/hunter/Projects/bitvaulty/bitvaulty/src-tauri for changes... Info Watching /home/hunter/Projects/bitvaulty/bitvaulty/src-tauri for changes... 08-21 08:33:53.083 12131 12131 W m.bitvaulty.app: Accessing hidden method Landroid/view/MotionEvent;->getEventTimeNano()J (unsupported, reflection, allowed) 08-21 08:33:53.196 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:33:53.196 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inCoverage 08-21 08:33:53.222 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:53.222 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:33:53.222 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name localCoord 08-21 08:33:53.225 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:53.225 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:53.229 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:53.229 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:53.240 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:53.240 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:53.283 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:53.283 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:53.286 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:53.286 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:53.291 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:53.291 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:53.311 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name a_vertex 08-21 08:33:53.328 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:53.328 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:33:53.328 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name localCoord 08-21 08:33:56.309 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:33:57.250 12131 12131 I AssistStructure: Flattened final assist data: 1852 bytes, containing 1 windows, 5 views 08-21 08:33:57.256 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.256 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:33:57.780 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.780 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.840 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.840 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.844 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.844 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.848 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.848 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.867 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.867 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.871 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.871 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.875 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.875 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.890 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.890 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.894 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.894 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.897 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.897 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.909 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.909 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.913 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.913 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.916 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.916 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.943 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.943 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:33:57.995 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:33:57.995 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:34:02.007 12131 12131 W androidtc: TextClassifier called on main thread 08-21 08:34:02.056 12131 12131 W androidtc: TextClassifier called on main thread 08-21 08:34:02.113 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:34:02.129 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:34:02.167 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:34:02.186 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:34:02.186 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:34:02.186 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inCircleEdge 08-21 08:34:02.187 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:34:02.187 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:34:02.187 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inTextureCoords 08-21 08:34:02.189 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:02.189 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:34:02.189 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name localCoord 08-21 08:34:02.191 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:34:02.191 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:34:02.191 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inShadowParams 08-21 08:34:02.192 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:02.192 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:34:02.192 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name localCoord 08-21 08:34:02.259 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:34:02.259 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:34:02.259 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inCircleEdge 08-21 08:34:02.838 12131 12131 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@5e8169f 08-21 08:34:04.325 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:34:04.353 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:34:04.375 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:34:04.430 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:34:04.476 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:04.476 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:34:04.476 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name localCoord 08-21 08:34:05.339 12131 12131 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@82e9266 08-21 08:34:05.343 12131 12131 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@e162943 08-21 08:34:05.605 12131 12131 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@7b83c7c 08-21 08:34:05.974 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:05.974 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:34:05.978 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:05.978 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:34:05.981 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:05.981 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:34:07.573 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name resolveLevel_and_idx 08-21 08:34:07.573 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name p01 08-21 08:34:07.573 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name p23 08-21 08:34:07.573 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 3 name fanPointAttrib 08-21 08:34:07.577 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name fillBounds 08-21 08:34:07.577 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:34:07.577 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name locations 08-21 08:34:07.577 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 3 name sizeInAtlas 08-21 08:34:07.580 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:07.580 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name localCoord 08-21 08:34:07.606 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:07.606 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:34:07.806 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name inPosition 08-21 08:34:07.806 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name inColor 08-21 08:34:07.806 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 2 name inCircleEdge 08-21 08:34:08.594 12131 12131 I AssistStructure: Flattened final assist data: 1852 bytes, containing 1 windows, 5 views 08-21 08:34:14.409 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 0 name position 08-21 08:34:14.409 12131 12183 I RustStdoutStderr: s_glBindAttribLocation: bind attrib 1 name color 08-21 08:36:19.509 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. 08-21 08:36:50.946 12131 12179 E OpenGLRenderer: Unable to match the desired swap behavior. ``` ``` ### Additional context _No response_
type: bug,status: needs triage
low
Critical
2,478,245,396
PowerToys
Add force close option to powertoys run
### Description of the new feature / enhancement when running powertoys run to find applications currently there is 4 icons 1. run as an admin 2. run as another user 3. open folder 4. copy path in console the request is to add another icon to force close the application ### Scenario when this would be used? inset of opening task manager navigate to desired application right click and select end task just having a kill switch in run will make it much easier to do ### Supporting information _No response_
Needs-Triage,Needs-Team-Response
low
Minor
2,478,300,839
material-ui
[Collapse] Support anchoring content to the bottom/right
### Summary Would like to be able to anchor the collapsed content to the bottom of to container. The effect can be achieved by adding following styles to the `Collapse` but it would be nice to have a prop that can handle this: ```tsx sx={{ display: "flex", flexDirection: "column-reverse", }} ``` Perhaps the `direction` prop can even be expanded to account for this use-case. If not accepted, perhaps this use-case could be added to the docs? ### Examples Here's a codesandbox that displays the desired behavior: https://codesandbox.io/p/sandbox/lucid-heyrovsky-wrjrnp?file=%2Fsrc%2FDemo.tsx%3A47%2C45 https://github.com/user-attachments/assets/9e8f89dc-5d60-4ee6-80f0-ddd286fe6a8a ### Motivation I struggled a bit with this when building Toolpad component catalog, which feels better when it looks like the drawer is pulled from under the left edge, rather than it being already in place and revealed gradually. Now I'm running into it again with another component. https://github.com/user-attachments/assets/0398c9c8-7fb3-42df-a94f-ecd53b223b31 vs. https://github.com/user-attachments/assets/5aa03937-8810-4541-b021-af2caea3d114 **Search keywords**: collapse reverse
component: Collapse,package: material-ui,v6.x,enhancement
low
Minor
2,478,351,814
flutter
Integration Test - A SemanticsHandle was active at the end of the test. - Windows
### Steps to reproduce 1. Create a new flutter project 2. Add integration_test folder 3. Add to pubspec.yaml integration_test: sdk: flutter 4. add new test file with the following code ```dart import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:integration_test/integration_test.dart'; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); // Use the custom binding testWidgets('Empty test', (tester) async { await tester.pumpWidget(Container()); await tester.pumpAndSettle(); }); } ``` Run test in debug to see full error ### Expected results Test runs successfuly. ### Actual results On Macos the test runs fine. On Windows I get the below error: ```console Building Windows application... 8.9s √ Built build\windows\x64\runner\Debug\flutter_integration_test_scemantics_barebones_test.exe Connecting to VM Service at ws://127.0.0.1:53922/3R6gWPN4cBE=/ws Connected to the VM Service. ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following assertion was thrown running a test: A SemanticsHandle was active at the end of the test. All SemanticsHandle instances must be disposed by calling dispose() on the SemanticsHandle. When the exception was thrown, this was the stack: #0 WidgetTester._verifySemanticsHandlesWereDisposed (package:flutter_test/src/widget_tester.dart:1075:7) widget_tester.dart:1075 #1 WidgetTester._endOfTestVerifications (package:flutter_test/src/widget_tester.dart:1066:5) widget_tester.dart:1066 #2 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1044:22) binding.dart:1044 2 <asynchronous suspension> (elided one frame from package:stack_trace) The test description was: Empty test ════════════════════════════════════════════════════════════════════════════════════════════════════ ``` ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:integration_test/integration_test.dart'; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); // Use the custom binding testWidgets('Empty test', (tester) async { await tester.pumpWidget(Container()); await tester.pumpAndSettle(); }); } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> Windows: ```console [√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.22631.4037], locale en-GB) • Flutter version 3.24.0 on channel stable at C:\dev\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 80c2e84975 (3 weeks ago), 2024-07-30 23:06:49 +0700 • Engine revision b8800d88be • Dart version 3.5.0 • DevTools version 2.37.2 [√] Windows Version (Installed version of Windows is version 10 or higher) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\\AppData\Local\Android\sdk X cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/to/windows-android-setup for more details. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.12.0 Preview 1.0) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Preview • Visual Studio Enterprise 2022 version 17.12.35209.166 • The current Visual Studio installation is a pre-release version. It may not be supported by Flutter yet. • Windows 10 SDK version 10.0.22621.0 [√] Android Studio (version 2024.1) • Android Studio at C:\Users\tmfdo\AppData\Local\Programs\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314) [√] IntelliJ IDEA Community Edition (version 2024.1) • IntelliJ at C:\Users\\AppData\Local\Programs\IntelliJ IDEA Community Edition • Flutter plugin version 80.0.2 • Dart plugin version 241.17890.8 [√] IntelliJ IDEA Ultimate Edition (version 2023.3) • IntelliJ at C:\Users\\AppData\Local\Programs\IntelliJ IDEA Ultimate • Flutter plugin version 77.0.1 • Dart plugin version 233.13135.65 [√] VS Code, 64-bit edition (version unknown) • VS Code at C:\Program Files\Microsoft VS Code Insiders • Flutter extension version 3.95.20240801 X Unable to determine VS Code version. [√] VS Code (version 1.93.0-insider) • VS Code at C:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders • Flutter extension version 3.95.20240801 [√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.4037] • Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.120 • Edge (web) • edge • web-javascript • Microsoft Edge 127.0.2651.105 [√] Network resources • All expected network resources are available. ``` Macos: ```console [✓] Flutter (Channel stable, 3.24.0, on macOS 15.1 24B5024e darwin-arm64, locale en-GB) • Flutter version 3.24.0 on channel stable at /Users//dev/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 80c2e84975 (3 weeks ago), 2024-07-30 23:06:49 +0700 • Engine revision b8800d88be • Dart version 3.5.0 • DevTools version 2.37.2 [!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users//Library/Android/sdk ✗ cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/to/macos-android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 16.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16B5001e • CocoaPods version 1.15.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.1) • Android Studio at /Users//Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314) [✓] IntelliJ IDEA Community Edition (version 2024.1.4) • IntelliJ at /Users//Applications/IntelliJ IDEA Community Edition.app • Flutter plugin version 81.0.2 • Dart plugin version 241.18808 [✓] VS Code (version 1.93.0-insider) • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents • Flutter extension version 3.95.20240801 [✓] Connected device (3 available) • macOS (desktop) • macos • darwin-arm64 • macOS 15.1 24B5024e darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.1 24B5024e darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.120 [✓] Network resources • All expected network resources are available. ``` </details>
framework,a: accessibility,platform-windows,a: error message,f: integration_test,P3,team-accessibility,triaged-accessibility
low
Critical
2,478,387,809
kubernetes
Unstructured Extract should use OpenAPI V3 instead of OpenAPI V2
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/unstructured.go#L59 should fetch from OpenAPI V3 rather than V2.
sig/api-machinery,triage/accepted
low
Minor
2,478,392,449
rust
Error message suggests to use a Box to wrap dyn Trait when it's unnecessary
### Code ```Rust use std::io::Write; fn foo(f: Option<&mut dyn Write>) { if let Some(f) = f { writeln!(f, "Hello").unwrap(); } } fn bar() { let mut out = Some(std::io::stdout()); foo(out.as_mut()); } ``` ### Current output ```Shell error[E0308]: mismatched types --> src/lib.rs:11:9 | 11 | foo(out.as_mut()); | --- ^^^^^^^^^^^^ expected `Option<&mut dyn Write>`, found `Option<&mut Stdout>` | | | arguments to this function are incorrect | = note: expected enum `Option<&mut dyn std::io::Write>` found enum `Option<&mut Stdout>` = help: `Stdout` implements `Write` so you could box the found value and coerce it to the trait object `Box<dyn Write>`, you will have to change the expected type as well note: function defined here --> src/lib.rs:3:4 | 3 | fn foo(f: Option<&mut dyn Write>) { | ^^^ ------------------------- ``` ### Desired output ```Shell = help: `Stdout` implements `Write` so you could make a reference to the found value and coerce it to the trait object `&mut dyn Write` or `Box<&dyn Write>`, you will have to change the expected type as well ``` ### Rationale and extra context I can make it compile without using a Box. ```rust fn bar() { let mut out = Some(std::io::stdout()); foo(out.as_mut().map(|p| p as &mut dyn Write)); } ``` I don't think error message should suggest to use a Box when it's not necessary. Also maybe it's just me but I'm not quite sure what `you will have to change the expected type as well` means. ### Other cases _No response_ ### Rust Version ```Shell $ rustc --version --verbose rustc 1.80.1 (3f5fd8dd4 2024-08-06) binary: rustc commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23 commit-date: 2024-08-06 host: x86_64-unknown-linux-gnu release: 1.80.1 ``` ### Anything else? _No response_
A-diagnostics,T-compiler
low
Critical
2,478,393,671
ui
"[Bug]: Issue with textarea blur when content is scrollable in Dialog Box"
### Describe the bug This issue arises when a textarea is placed inside a ShadCN dialog box. When the content within the textarea becomes scrollable, due to overflow, and a blur effect is applied to text ### Affected component/components Textarea ### How to reproduce ![image](https://github.com/user-attachments/assets/c3e654c8-a563-48a2-b82a-6418db0e7a54) ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash Windows 10 Pro Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz 2.81 GHz Google Chrome Version 127.0.6533.120 (Official Build) (64-bit) ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,478,404,670
PowerToys
Shortcuts in Context Menu
### Description of the new feature / enhancement An option for every tool or nearly every tool to have a shortcut to activate it in the context menu. This would help with the headache of remembering all the Winkey shortcuts. I know I have to lookup the shortcuts for most tools whenever I use them. ### Scenario when this would be used? For 'Always on Top' a user could right-click on the header bar of a window, then select "Always on Top" from the menu. Advanced Paste could appear under the standard paste in the context menu. I'm sure there are many more instances where this would be useful. ### Supporting information _No response_
Needs-Triage
low
Minor
2,478,419,825
rust
Compiler can't infer &str type when &String is inserted first in a collection with tuples
Description: compiler can't infer &str type when String is inserted first in a collection with tuples. Steps to reproduce: create a new array and fill it with tuples, where one of the elements is a string literal and one is a variable of type `&String`. Depending one the order, it might or might not compile because type can't be inferred. ```rust let s = &String::from("foo"); let arr1 = [(1, s), (2, "bar")]; // This line contains a compilation error let arr2 = [(2, "bar"), (1, s)]; // Does compile; inferred type is [(i32, &str); 2] ``` Error message: ```shell error[E0308]: mismatched types | | let arr1 = [(1, s), (2, "bar")]; | ^^^^^ expected `&String`, found `&str` | = note: expected reference `&String` found reference `&'static str` ``` Rust compiler version: `rustc 1.80.1 (3f5fd8dd4 2024-08-06)`
T-compiler,A-inference
low
Critical
2,478,449,291
kubernetes
The Clientset returned from the new NewClientset function does not work for CRDs
### What happened? Calling the `Create` method fails with, eg `failed to convert new object (/cluster-egressIP; submariner.io/v1, Kind=ClusterGlobalEgressIP) to smd typed: schema error: no type found matching: com.github.submariner-io.submariner.pkg.apis.submariner.io.v1.ClusterGlobalEgressIP` Long story short, It ends up trying to validate a resource using the global `schemaYAML` var defined in the generated file _pkg/client/applyconfiguration/internal/internal.go_. However this is not populated with the appropriate types. So `NewClientset` is unusable even though `NewSimpleClientset` is now marked as deprecated. Note that `NewClientset` works fine with core K8s types because its [schemaYAML](https://github.com/kubernetes/client-go/blob/46965213e4561ad1b9c585d1c3551a0cc8d3fcd6/applyconfigurations/internal/internal.go#L41) is populated appropriately. However [apiextensions](https://github.com/kubernetes/kubernetes/blob/243fdafc6824d6b33faa081efec2ebc4cb164010/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/internal/internal.go#L41) is not. ### What did you expect to happen? I expect the `Clientset` methods to work for CRDs. It seems the code generator needs to be updated. Also `NewSimpleClientset` should not be deprecated unless/until `NewClientset` works. ### How can we reproduce it (as minimally and precisely as possible)? ``` import fakeclientset "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/fake" ... client := fakeclientset.NewClientset() client.ApiextensionsV1().CustomResourceDefinitions().Create(ctx, crd, metav1.CreateOptions{}) ``` ### Anything else we need to know? _No response_ ### Kubernetes version <details> ```console $ kubectl version # paste output here ``` </details> ### Cloud provider <details> </details> ### OS version <details> ```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ``` </details> ### Install tools <details> </details> ### Container runtime (CRI) and version (if applicable) <details> </details> ### Related plugins (CNI, CSI, ...) and versions (if applicable) <details> </details>
kind/bug,sig/api-machinery,triage/accepted
low
Critical
2,478,450,328
ui
[bug]: [toast] - open/onOpenChange/defaultOpen not Working
### Describe the bug I am trying to have a toast autoopen on page load. my usecase is trying to visually test the toast in chromatic so i need the toast to be open for a snapshot. the props `defaultOpen` and `open / onOpenChange` do not seem to be doing anything in the toast.root. ive passed in the props as such, (for the purpose of this example, toast is renamed to notice). ```export const Default: Story = (args) => { const { notice } = useNotice(); const [open, setOpen] = React.useState(false); return ( <> <Button onClick={() => { console.log('clicked'); notice({ ...args, open, onOpenChange: (open) => { console.log('change'); setOpen(!open); }, }); }} size="sm" variant="secondary"> Show Notice! </Button> </> ); }; Default.args = { variant: 'success', description: 'This is a test notice', }; ``` ive also directly added `open={true}` to the toast.root and it is not opening on page load. the radix documentation says this should be possible in either controlled or uncontrolled so im not sure what is the difference here. Other props pass to the notice just fine, such as `duration, asChild and forceMount` ### Affected component/components Toast ### How to reproduce minimal reproduction here https://stackblitz.com/edit/stackblitz-starters-z7jjzg?file=app%2Fpage.tsx you can see the `defaultOpen` prop passed, yet upon reload, toast is not open. ### Codesandbox/StackBlitz link https://stackblitz.com/edit/stackblitz-starters-z7jjzg?file=app%2Fpage.tsx ### Logs _No response_ ### System Info ```bash arc browser latest ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,478,463,431
pytorch
Add aarch64 and aarch64 cuda version to conda
### 🐛 Describe the bug There are no aarch64 builds in https://anaconda.org/pytorch/pytorch. There should be aarch64 and aarch64 + CUDA builds within the pytorch conda channel. There are wheel files now available (see below). Could we get the build process to include builds for conda? Related tickets #126174 [#1856 ](https://github.com/pytorch/builder/issues/1856) , https://github.com/N8-CIR-Bede/documentation/issues/199 and #123835 (and likely others). The following wheel file is available which has aarch64 cuda support (note that it seems this is only true for CUDA 12.4 version 2.4.0 of pytorch): https://download.pytorch.org/whl/cu124/torch-2.4.0-cp311-cp311-linux_aarch64.whl Comparing with the below conda channel, there is no corresponding aarch64 or aarch64 with CUDA build in conda: https://anaconda.org/pytorch/pytorch/files?version=2.4.0 cc @seemethere @malfet @osalpekar @atalman @snadampal @milpuz01
module: binaries,triaged,module: arm
low
Critical
2,478,485,594
rust
Integer literal type inference causes weird behavior including strange compiler diagnostic (but the suggestion is working).
### Code ```Rust use std::ops::Mul; struct Stuff{ a: i128 } impl Mul<i64> for Stuff { type Output = Stuff; fn mul (self, other: i64) -> Stuff { Stuff{a: self.a * (other as i128)} } } impl Mul<i32> for Stuff { type Output = Stuff; fn mul (self, other: i32) -> Stuff { Stuff{a: self.a * (other as i128)} } } fn main() { let stuff = Stuff{a: 42}; let y = stuff * 2; // Note: if I specify y's type or 2's type, it compiles. println!("{:?}", y.a); } ``` ### Current output ```Shell error[E0282]: type annotations needed --> src/main.rs:25:9 | 25 | let y = stuff * 2; | ^ 26 | 27 | println!("{:?}", y.a); | - type must be known at this point | help: consider giving `y` an explicit type | 25 | let y: /* Type */ = stuff * 2; | ++++++++++++ For more information about this error, try `rustc --explain E0282`. ``` ### Desired output It should compile. ### Rationale and extra context Following https://doc.rust-lang.org/reference/expressions/literal-expr.html#integer-literal-expressions I think the compiler should be able to infer that `2` is an `i32` and compile my program. Alternatively, regardless of `2`'s type, `y` can only be a `Stuff`, so this precision should be unnecessary and the compiler should compile my program. ### Other cases The following modifications compile: * The program modified according to the compiler's suggestion (adding `Stuff` as `y`'s type). (code below) * Displaying `y` instead of `y.a`. (code below) * Changing `2` to `2i32` or `2i64`. (no code below) The compiler suggestion (compiles): ```Rust use std::ops::Mul; struct Stuff{ a: i128 } impl Mul<i64> for Stuff { type Output = Stuff; fn mul (self, other: i64) -> Stuff { Stuff{a: self.a * (other as i128)} } } impl Mul<i32> for Stuff { type Output = Stuff; fn mul (self, other: i32) -> Stuff { Stuff{a: self.a * (other as i128)} } } fn main() { let stuff = Stuff{a: 42}; let y: Stuff = stuff * 2; // This is the change the compiler suggests, and it works. println!("{:?}", y.a); } ``` Displaying `y` instead of `y.a` (compiles too): ```Rust use std::ops::Mul; #[derive(Debug)] // First change in this code snippet struct Stuff{ a: i128 } impl Mul<i64> for Stuff { type Output = Stuff; fn mul (self, other: i64) -> Stuff { Stuff{a: self.a * (other as i128)} } } impl Mul<i32> for Stuff { type Output = Stuff; fn mul (self, other: i32) -> Stuff { Stuff{a: self.a * (other as i128)} } } fn main() { let stuff = Stuff{a: 42}; let y = stuff * 2; println!("{:?}", y); // 2nd change, I display y instead of y.a } ``` ### Rust Version ```Shell rustc 1.80.1 (3f5fd8dd4 2024-08-06) binary: rustc commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23 commit-date: 2024-08-06 host: x86_64-unknown-linux-gnu release: 1.80.1 LLVM version: 18.1.7 ``` ### Anything else? It also causes the same compiler diagnostic on 1.79.0
A-diagnostics,T-compiler,A-inference,C-discussion,T-types
low
Critical
2,478,523,781
ant-design
Checkbox.Group does not render checked from Form initialValues
### Reproduction link [![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-amlduc?file=demo.tsx) ### Steps to reproduce Create a form witha checkbox group. Generate a initiaValues from an external hook, and use useMemo to generetate the checkbox group options. ### What is expected? Is expected to render the checkbox with the value checked. ### What is actually happening? The value shows unchecked | Environment | Info | | --- | --- | | antd | 5.20.2 | | React | react 18.3.1 | | System | Linux | | Browser | Chrome | --- when I submit it sends the value that I`m expecting. Giving an impression that you need to check the value <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Inactive,unconfirmed
low
Minor
2,478,530,930
opencv
Implement cv::cuda::extractChannel
### Describe the feature and motivation To minimize transferring data from and to the GPU, it's desirable to have all steps of a computation on the GPU. Hence, even if `cv::cuda::extractChannel` is not be expected to be significantly faster than `cv::extractChannel`, it's valuable to have it. Is there a good reason that this (almost trivial) algorithm hasn't been implemented on CUDA while similar `cv::cuda::split` and `cv::cuda::merge` are implemented? I consider to implement `cv::cuda::extractChannel` if nothing speaks against it. ### Additional context _No response_
feature,category: gpu/cuda (contrib)
low
Minor
2,478,553,269
godot
Editor window expanding at random, display server error
### Tested versions 4.3.stable, 4.3.beta3, 4.3.rc3, 4.2.2.stable ### System information Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 980 (NVIDIA; 31.0.15.3623) - Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (8 Threads) ### Issue description In 4.3.stable, every now and then the editor will expand and start cutting off and flooding the output with the below errors. It seemingly starts happening at random, and I have no way of reproducing it with any accuracy or what actually triggers it. During this time it seems that any time a tooltip or popup is triggered is what expands the editor, and moving away from the tooltip or closing the popup causes it to go back to normal. Saving a scene also does this. Video attached to show the issue. I don't use any multi-window functionality or undock anything. I only ever have the editor on my main monitor. Does not happen in 4.2.2.stable or 4.3.beta3, and it did not happen in 4.3.rc3 during the short period I was using it before stable release. ```platform/windows/display_server_windows.cpp:3754 - Unexpected window message 0x82 received for window we cannot recognize in our collection; sequence error. Failed to create Windows OS window. Failed to create sub window. scene/main/window.cpp:635 - Condition "window_id == DisplayServer::INVALID_WINDOW_ID" is true. platform/windows/display_server_windows.cpp:1634 - Condition "!windows.has(p_window)" is true. Returning: -1 Failed to create Windows OS window. Failed to create sub window. scene/main/window.cpp:635 - Condition "window_id == DisplayServer::INVALID_WINDOW_ID" is true. platform/windows/display_server_windows.cpp:1634 - Condition "!windows.has(p_window)" is true. Returning: -1 Failed to create Windows OS window. Failed to create sub window. scene/main/window.cpp:635 - Condition "window_id == DisplayServer::INVALID_WINDOW_ID" is true. platform/windows/display_server_windows.cpp:1634 - Condition "!windows.has(p_window)" is true. Returning: -1 Failed to create Windows OS window. Failed to create sub window. scene/main/window.cpp:635 - Condition "window_id == DisplayServer::INVALID_WINDOW_ID" is true. platform/windows/display_server_windows.cpp:1634 - Condition "!windows.has(p_window)" is true. Returning: -1 platform/windows/display_server_windows.cpp:3198 - Parameter "hicon" is null. platform/windows/display_server_windows.cpp:3198 - Parameter "hicon" is null. platform/windows/display_server_windows.cpp:1634 - Condition "!windows.has(p_window)" is true. Returning: -1 platform/windows/display_server_windows.cpp:1634 - Condition "!windows.has(p_window)" is true. Returning: -1 platform/windows/display_server_windows.cpp:1634 - Condition "!windows.has(p_window)" is true. Returning: -1 platform/windows/display_server_windows.cpp:1634 - Condition "!windows.has(p_window)" is true. Returning: -1 platform/windows/display_server_windows.cpp:3198 - Parameter "hicon" is null. platform/windows/display_server_windows.cpp:3198 - Parameter "hicon" is null. platform/windows/display_server_windows.cpp:3198 - Parameter "hicon" is null. Failed to create Windows OS window. Failed to create sub window. ``` https://github.com/user-attachments/assets/c6f40ba8-6bd3-47e0-ad5e-ef638ce0f731 Edit: 8/29/2024 - I noticed that on my far left monitor there's a little flashing box that appears whenever I run any project. The editor is always on my main monitor, but I moved it temporarily to my left one to show when this is happening. Unsure if this is related but it only started happening in 4.3, and I find it odd that it's doing something on a different monitor when all of my settings are set to use the primary one. https://github.com/user-attachments/assets/1593d834-1789-46a6-a186-48ff7c7f8203 ### Steps to reproduce I don't have a way to reproduce the issue. It will just start happening at random. ### Minimal reproduction project (MRP) N/A
bug,platform:windows,topic:editor,needs testing
low
Critical
2,478,555,252
electron
[Feature Request]: MenuItem mnemonic access keys on frameless windows
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success. ### Problem Description Windows menus provide [mnemonic access keys](https://learn.microsoft.com/en-us/windows/win32/menurc/about-menus#menu-access-keys) to quickly pop open menuitems. For instance, pressing `Alt+F` will open the File submenu. `Alt+E` for the Edit menu, and so on. ![Notepad_OUZW7QCTAB](https://github.com/user-attachments/assets/e84c3634-15c8-425c-9797-43c6298708fc) In Electron, these mnemonic access keys work as long as the window has a frame. This gist can be used to test: https://gist.github.com/samuelmaddock/feff0f68418a4f42ee96e3af1868ce56 When `frame: false` is set, the access keys do nothing. Even setting an `accelerator` option will not open the menu item. ### Proposed Solution Implement key handling to forward these Alt access keys to open the menu. ### Alternatives Considered Although less convenient, maybe programmatic access to open a menu to a specific submenu. ### Additional Information _No response_
enhancement :sparkles:,platform/windows,component/menu
low
Minor
2,478,556,173
flutter
Add sample code for AutomaticKeepAliveClientMixin
We should have example code in the related documentation demonstrating how to use this. Doc pages to potentially include in: - https://api.flutter.dev/flutter/widgets/SliverChildBuilderDelegate/addAutomaticKeepAlives.html - https://api.flutter.dev/flutter/widgets/SliverChildListDelegate/addAutomaticKeepAlives.html - https://api.flutter.dev/flutter/widgets/AutomaticKeepAlive-class.html - https://api.flutter.dev/flutter/widgets/KeepAlive-class.html - https://api.flutter.dev/flutter/widgets/AutomaticKeepAliveClientMixin-mixin.html Related issues: - https://github.com/flutter/flutter/issues/146612 - https://github.com/flutter/flutter/issues/20112 Might be good to resolve all these issues in one change updating the docs. 👍
framework,f: scrolling,d: api docs,d: examples,good first issue,P2,team-framework,triaged-framework
low
Minor
2,478,568,340
create-react-app
Is there a good fork of CRA?
Is anyone maintaining a high quality fork of Create React App that has community involvement? The project is fantastic and I would love to keep using it, just with underlying package updates and minimal modifications. If others are interested I would consider setting one up.
issue: proposal,needs triage
low
Minor
2,478,677,782
vscode
Scroll lists by page
We have the commands `list.focusPageUp/Down` for paging in lists, but this only works by moving focus to the index that is up/down a page, and doesn't work right for long list items. We also have `list.scrollUp/Down` to just scroll the list, but it's slow. I think it would be helpful, especially for chat where list items are really long, to have a paging command that can just scroll. https://github.com/microsoft/vscode-copilot-release/issues/1482#issuecomment-2301293020 I think it would make sense for `list.focusPageUp/Down` to also just scroll, when the same row takes up multiple pages. Could also add a new scroll command for this though. cc @joaomoreno
feature-request,list-widget
low
Major
2,478,701,394
godot
Selected property in inspector shows blurry text when collapsed then expanded
### Tested versions 4.3 ### System information Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; 31.0.15.3623) - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 Threads) ### Issue description Selecting a property's text field, collapsing the group and then expanding it causes the text to become blurry. ![image](https://github.com/user-attachments/assets/a2971f60-c81b-4472-a835-8ee20b16e22d) ### Steps to reproduce This happens on every node for me. Using the transform is best. 1. Select a node and expand the transform group. ![image](https://github.com/user-attachments/assets/20bea1e3-b0e9-4ef4-8004-9bbd26ae788e) 2. Select the Size property. ![image](https://github.com/user-attachments/assets/ca4713e9-6a5c-4879-b333-af1ac935061d) 3. Collapse the transform group while the Size property is selected ![image](https://github.com/user-attachments/assets/b99854d5-c5e1-4fbe-beb9-bb825baae574) 4. Expand the transform group again and the text of the property value is blurry/has a drop shadow artifact. ![image](https://github.com/user-attachments/assets/d1fc93a2-a95e-4186-9876-6a872ab8d325) ### Minimal reproduction project (MRP) N/A
bug,topic:editor
low
Minor
2,478,746,683
PowerToys
A quick way to turn on and off the keyboard manager just like the shortcut used to change languages
### Description of the new feature / enhancement any kind of keyboard shortcut or some quick access icon from the task manager to turn on and off the keyboard manager quickly ### Scenario when this would be used? so remapping the keys was really helpful to change the layout for my arabic keyboard since you cant add costume ones in windows 11, but when i change back to english the keys r still remapped wish would be annoying to enter the app and turn off the keyboard manager just to type normally in english ### Supporting information nothing really, ill keep it to yall to do it pleaaaseee, it would literally save me
Needs-Triage
low
Minor
2,478,766,389
deno
Set prose-wrap to `preserve` by default
This cons may not exist in anglosphere, but a popular Japanese technology blog site ([Zenn](https://zenn.dev/)) recognizes new lines in markdown as new lines, so when markdown is formatted using `deno fmt`, it will break. Also, the commonly used [Prettier's defaults](https://prettier.io/docs/en/options.html#prose-wrap) to prose-wrap: `preserve`. Therefore, it is better to set prose-wrap to `preserve` by default. I understand that it can be changed in the options, but I don't know the pros of setting it to `always` by default. Related: https://github.com/denoland/deno/issues/9191 https://github.com/prettier/prettier/issues/6516
suggestion,deno fmt,needs discussion
low
Major
2,478,797,354
rust
Add some docs for tidy
We should add some docs for the `tidy` tool (probably a README.md in the `src/tools/tidy` directory then backlink from rustc-dev-guide). Specifically, things like: - What is tidy - Why do we have tidy and enforce its checks - What checks does it perform - Tidy directives (not to be confused with compiletest directives) - Interactions between tidy and other tools like compiletest (e.g. revision checks and stuff)
C-enhancement,T-bootstrap,A-docs
low
Minor
2,478,868,660
next.js
Error in dev mode with turbopack using Chakra-UI components from server components
### Link to the code that reproduces this issue https://github.com/CNaught-Inc/nextjs-turbo-chakra-issue-repro ### To Reproduce 1. Run the application with --turbo 2. Go to http://localhost:3000 - get an error 3. Note that it works if you run it without --turbo. ### Current vs. Expected behavior The error when running with --turbo is ``` TypeError: createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component` ``` Note that the `Box` component being used from Chakra UI already has "use client" in it, and per chakra docs it should be possible to use it directly from the server component - and it does work when not using Turbopack. Also note that if I wrap the use of `Box` in a local component with `"use client"` at the top, then all works ok (as illustrated in https://github.com/CNaught-Inc/nextjs-turbo-chakra-issue-repro/blob/main/app/working/page.tsx). So the issue seems to be that Turbopack does not "see" the `"use client"` from the chakra package. ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:46 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6031 Available memory (MB): 65536 Available CPU cores: 16 Binaries: Node: 22.5.1 npm: 10.8.2 Yarn: 1.22.19 pnpm: 8.7.5 Relevant Packages: next: 14.2.5 // Latest available version is detected (14.2.5). eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.4.5 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Turbopack ### Which stage(s) are affected? (Select all that apply) next dev (local) ### Additional context Node that the above repo is using Next.js 14.2.5, but I also verified the same behavior occurs with the latest 15 canary. I had previously reported this as a comment on a related issue: https://github.com/vercel/next.js/issues/64412#issuecomment-2052436233. That issue was fixed but the behavior reported in this issue remains. While the workaround works, it requires creating a lot of extra files. It's particularly annoying if trying to use the "fragment colocation / masking" pattern for GraphQL (described in https://gql-tada.0no.co/guides/fragment-colocation or https://the-guild.dev/blog/unleash-the-power-of-fragments-with-graphql-codegen). This is because we need to import GraphQL fragments into our server component to use them in a query. If those fragments are colocated with the components that render them (which would use Chakra components), this presents an issue - because of the issue described here, those components must be in files marked as `"use client"` - but after that, you can no longer import the GraphQL fragments from those files into the query executed in the server component (as described in this issue: https://github.com/apollographql/apollo-client-nextjs/issues/27). The only solution seems to be to split the GraphQL fragments into separate files which can be imported both by the parent query and by the client component, which adds a lot of overhead.
bug,Turbopack,linear: turbopack
low
Critical
2,478,897,193
flutter
[Release] Changes to stable changelog should automatically update the master changelog.
During stable releases when we update CHANGELOG.md on the stable release branch, we should have some automated method of merging the changes back to CHANGELOG.md on main. ### Possible solutions #### GitHub Actions 1. Trigger: A commit to CHANGELOG.md on https://github.com/flutter/flutter/tree/stable is merged. 2. Action: Copy the file and overwrite the file on master. 3. Action: Create a PR with the changes 4. Action: Add a set of reviewers 5. Action: Attach the autosubmit label
team-release
low
Minor
2,478,917,482
pytorch
DISABLED test_fully_shard_training_overlap (__main__.TestFullyShardOverlap)
Platforms: rocm This test was disabled because it is failing in ROCm6.1 (eg. https://github.com/pytorch/pytorch/pull/132895) cc @jeffdaily @sunway513 @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang
module: rocm,triaged,skipped
low
Minor
2,478,934,814
pytorch
DISABLED test_load_from_bias_head_seq_batch_float16 (__main__.TestFlexDecoding)
Platforms: rocm This test was disabled because it is failing in ROCm6.1 (eg. https://github.com/pytorch/pytorch/pull/132895) cc @jeffdaily @sunway513 @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang
module: rocm,triaged,skipped
low
Minor
2,478,967,486
flutter
TextField context menu should block user interaction until hidden on supported desktop platforms
### Steps to reproduce 1. Right click to select a word in the TextField (macOS) and trigger the context menu. 2. Use left/right arrow keys (this will traverse the textfield while the context menu is still up). ### Expected results On desktop platforms that support it such as macOS/macOS web, and Linux/Linux web, when the context menu is up it should block gestures such as scrolling, taps, and keyboard events of the underlying application/webpage until hidden. ### Actual results User can still scroll, tap UI elements, and use keyboard to traverse through the TextField when the context menu is up. ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatefulWidget { const MyApp({super.key}); @override State<MyApp> createState() => _MyAppState(); } class _MyAppState extends State<MyApp> { final TextEditingController _controller = TextEditingController(text: 'Some long text that should scroll. ' * 20); @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, home: Scaffold( body: Center( child: TextField( controller: _controller, maxLines: 3, ), ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> https://github.com/user-attachments/assets/6c078b5d-acdc-4e65-94f9-2ef7e63b3529 https://github.com/user-attachments/assets/e51944cd-2cb1-4e27-a176-0068c98a68db </details>
a: text input,c: proposal,a: desktop,P2,team-text-input,triaged-text-input
low
Critical
2,479,002,170
go
net/http: TestOptions/h1 failures
``` #!watchflakes default <- pkg == "net/http" && test == "TestOptions/h1" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8738971195910692529)): === RUN TestOptions/h1 === PAUSE TestOptions/h1 === CONT TestOptions/h1 serve_test.go:3682: Get "http://127.0.0.1:53667/second": net/http: HTTP/1.x transport connection broken: http: CloseIdleConnections called --- FAIL: TestOptions/h1 (0.03s) — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,479,035,510
rust
ICE with higher order associated types
<!-- Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for how to create smaller examples. http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ --> ### Code ```Rust pub fn into_vec<'inner>(dummy: impl FromRow<'inner>) { let _f = dummy.prepare(); } pub fn test() { into_vec(Assume(Some("test"))); } pub trait FromRow<'t> { type Out<'a>; fn prepare(self) -> impl for<'a> FnMut(&'a ()) -> Self::Out<'a>; } impl<'t, T: Value<'t, Typ: MyTyp>> FromRow<'t> for T { type Out<'a> = <T::Typ as MyTyp>::Out<'a>; fn prepare(self) -> impl for<'a> FnMut(&'a ()) -> Self::Out<'a> { move |_| loop {} } } pub struct Assume<A>(pub(crate) A); impl<'t, T, A: Value<'t, Typ = Option<T>>> Value<'t> for Assume<A> { type Typ = T; } pub trait Value<'t> { type Typ; } impl<'t> Value<'t> for &str { type Typ = String; } impl<'t, T: Value<'t, Typ = X>, X: MyTyp> Value<'t> for Option<T> { type Typ = Option<T::Typ>; } pub trait MyTyp: 'static { type Out<'t>; } impl MyTyp for String { type Out<'t> = Self; } ``` ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.82.0-nightly (5aea14073 2024-08-20) binary: rustc commit-hash: 5aea14073eee9e403c3bb857490cd6aa4a395531 commit-date: 2024-08-20 host: x86_64-unknown-linux-gnu release: 1.82.0-nightly LLVM version: 19.1.0 ``` ### Error output ``` error: the compiler unexpectedly panicked. this is a bug. ``` <!-- Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your environment. E.g. `RUST_BACKTRACE=1 cargo build`. --> <details><summary><strong>Backtrace</strong></summary> <p> ``` thread 'rustc' panicked at compiler/rustc_codegen_llvm/src/debuginfo/metadata/type_map.rs:52:9: assertion `left == right` failed left: Closure(DefId(0:19 ~ rust_query[ff33]::{impl#0}::prepare::{closure#0}), ['{erased}, Assume<std::option::Option<&'{erased} str>>, i16, Binder { value: extern "RustCall" fn((&'^0 (),)) -> Alias(Projection, AliasTy { args: [std::string::String, '^0], def_id: DefId(0:37 ~ rust_query[ff33]::MyTyp::Out), .. }), bound_vars: [Region(BrAnon)] }, ()]) right: Closure(DefId(0:19 ~ rust_query[ff33]::{impl#0}::prepare::{closure#0}), ['{erased}, Assume<std::option::Option<&'{erased} str>>, i16, Binder { value: extern "RustCall" fn((&'^0 (),)) -> std::string::String, bound_vars: [Region(BrAnon)] }, ()]) stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::panicking::assert_failed_inner 3: core::panicking::assert_failed::<rustc_middle::ty::Ty, rustc_middle::ty::Ty> 4: rustc_codegen_llvm::debuginfo::metadata::type_di_node 5: rustc_codegen_ssa::mir::codegen_mir::<rustc_codegen_llvm::builder::Builder> 6: rustc_codegen_llvm::base::compile_codegen_unit::module_codegen 7: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit 8: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::CodegenBackend>::codegen_crate 9: <rustc_interface::queries::Linker>::codegen_and_build_linker 10: rustc_interface::interface::run_compiler::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ``` </p> </details> [rustc-ice-2024-08-21T20_21_27-40569.txt](https://github.com/user-attachments/files/16698330/rustc-ice-2024-08-21T20_21_27-40569.txt)
I-ICE,A-associated-items,T-compiler,C-bug,S-bug-has-test,fixed-by-next-solver,A-GATs
low
Critical
2,479,058,995
rust
Tracking Issue for unbounded_shifts
Feature gate: `#![feature(unbounded_shifts)]` This is a tracking issue for [ACP 428](https://github.com/rust-lang/libs-team/issues/428). This adds shifts functions to the integer types that ignore type bounds when shifting, with out of range values for the `rhs` yielding the result of shifting the entire value out (`0` for left shifts, and unsigned right shifts, and either `0` or `-1` for signed right shifts). ### Public API ```rust impl uN{ pub const fn unbounded_shl(self, rhs: u32) -> Self; pub const fn unbounded_shr(self, rhs: u32) -> Self; } impl iN{ pub const fn unbounded_shl(self, rhs: u32) -> Self; pub const fn unbounded_shr(self, rhs: u32) -> Self; } ``` ### Steps / History - [x] Implementation: #129377 - [ ] Final comment period (FCP)[^1] - [ ] Stabilization PR ### Unresolved Questions - None yet. [^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
T-libs-api,proposed-final-comment-period,C-tracking-issue,disposition-merge
low
Major
2,479,067,009
godot
[TRACKER] Metal rendering driver issues
This is a tracker for issues related to the Metal rendering driver for Apple devices (macOS and iOS). This issue does **not** track issues specific to ANGLE (the `opengl3_angle` rendering driver, which means OpenGL running over Metal). - See also https://github.com/godotengine/godot/issues/95775. ```[tasklist] ### Bugs - [ ] https://github.com/godotengine/godot/issues/95896 - [ ] https://github.com/godotengine/godot/issues/95894 - [ ] https://github.com/godotengine/godot/issues/96077 - [ ] https://github.com/godotengine/godot/issues/96102 ``` ```[tasklist] ### Pull requests - [ ] https://github.com/godotengine/godot/pull/98212 ```
bug,platform:ios,platform:macos,topic:rendering,tracker
low
Critical
2,479,097,042
godot
"--test" cannot be used as a user-provided argument after the separator (either "--" or "++") anymore
### Tested versions Introduced in 4.3 Worked fine in 4.2.2 ### System information Windows 10 / Ubuntu 22.04, Godot 4.3 ### Issue description Hey, I believe v4.3 broke the "--" separator for user-provided arguments. As per the documentation: "Following arguments are not used by the engine, but can be read from OS.get_cmdline_user_args()." This was true in v4.2.2: > Godot_v4.2.2-stable_mono_win64_console.exe --headless --path Path/To/My/Game -v -- --test Godot Engine v4.2.2.stable.mono.official.15073afe3 - https://godotengine.org TextServer: Added interface "Dummy" TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)" Using "default" pen tablet driver... TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)". .NET: Initializing module... Found hostfxr: C:\Program Files\dotnet\host/fxr/8.0.8/hostfxr.dll .NET: hostfxr initialized .NET: GodotPlugins initialized CORE API HASH: 622119089 EDITOR API HASH: 497707466 Loaded system CA certificates My custom game test is starting... However, in the 4.3 version it stopped working: > Godot_v4.3-stable_mono_win64_console.exe --headless --path Path/To/My/Game -v -- --test ERROR: `--test` was specified on the command line, but this Godot binary was compiled without support for unit tests. Aborting. To be able to run unit tests, use the `tests=yes` SCons option when compiling Godot. I do not want to run unit tests. I did not specify `--test` as a Godot flag. I only wanted to pass my own argument, after the "--" separator. ### Steps to reproduce Just run: > Godot_v4.3-stable_mono_win64_console.exe -- --test ### Minimal reproduction project (MRP) Just run: > Godot_v4.3-stable_mono_win64_console.exe -- --test
bug,topic:core,confirmed,regression
low
Critical
2,479,105,082
godot
"add_child" does not work in @exported_storage node
### Tested versions v4.3.stable.official ### System information Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 560.94) - AMD Ryzen 5 5600X 6-Core Processor 3.70 GHz ### Issue description When creating a plugin, you can't use the "add_child" function inside a script in a "export_storage" node, but when recreating this same behavior with the "export" annotation, it works as intended. For more information, check [this video](https://youtu.be/EDXZsPf4Gpk), where I created a MRP explaining my problem ### Steps to reproduce I have made a MRP to help you all to see what I mean, but here is the steps to reproduce the problem. - 1. Clone [the MRP project](https://github.com/GustavoLR548/testeexportedstorage) and open the project in Godot 4.3 official. - 2. Open the ```CenaTeste.tscn``` - 3. Instantiate the ```SpriteSpawnerHolder.tscn``` as a child scene of the root node of the scene ```CenaTesteExportedStorage``` - 4. Then instantiate the ```SpriteSpawner.tscn``` as a child scene of the ```SpriteSpawnerHolder.tscn``` - 5. Your scene should look something like this. ![image](https://github.com/user-attachments/assets/5f0489a6-9599-4c3f-818e-6464175b9512) - 6. Now run the project and see that Sprite did not spawn ![image](https://github.com/user-attachments/assets/1b668988-ab86-4e00-8f9f-0088725d9f52) - 7. To "fix" this, go the "addons/meuplugin/SpriteSpawnerHolder.gd" and change the "export_storage" annotation to "export" ![image](https://github.com/user-attachments/assets/5576f8d9-cfab-4b08-8e45-027d17189ee4) - 8. Clean the ```CenaTeste.tscn``` and repeat steps 2 to 4. - 9. Now the sprite is spawned as intended: ![image](https://github.com/user-attachments/assets/70df1f79-5c98-408f-8c72-64c9a860d462) ### Minimal reproduction project (MRP) https://github.com/GustavoLR548/testeexportedstorage
bug,topic:gdscript
low
Minor
2,479,136,490
go
build: build failure on gotip-openbsd-ppc64
``` #!watchflakes default <- builder == "gotip-openbsd-ppc64" && repo == "go" && mode == "build" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8738980008328495489)): [I2024-08-21T16:58:34.824062Z 99816 0 sink.go:276] SinkServer: warm-up started [I2024-08-21T16:58:34.824127Z 99816 0 sink.go:346] SinkServer: starting HTTP server... [I2024-08-21T16:58:34.826550Z 99816 0 sink.go:281] SinkServer: warm-up ended [I2024-08-21T16:58:34.826962Z 99816 0 cmd_stream.go:492] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "-dump-json" "/home/swarming/.swarming/w/ir/x/w/dist.testjson" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "tool" "dist" "test" "-json"] 2024/08/21 17:23:37 Failed: exit status 1 go tool dist: FAILED ok archive/tar 0.655s ok archive/zip 2.579s ok bufio 0.334s ok bytes 1.491s ... Warning: no '=' in invocation-link-artifacts pair: "", ignoring [I2024-08-21T17:25:25.318762Z 99816 0 cmd_stream.go:488] rdb-stream: the test process terminated [I2024-08-21T17:25:25.319406Z 99816 0 sink.go:371] SinkServer: shutdown started [I2024-08-21T17:25:25.319512Z 99816 0 sink.go:349] SinkServer: HTTP server stopped with "http: Server closed" [I2024-08-21T17:25:25.319577Z 99816 0 sink_server.go:96] SinkServer: draining TestResult channel started [I2024-08-21T17:25:26.142964Z 99816 0 sink_server.go:98] SinkServer: draining TestResult channel ended [I2024-08-21T17:25:26.143008Z 99816 0 sink_server.go:100] SinkServer: draining Artifact channel started [I2024-08-21T17:25:26.384335Z 99816 0 sink_server.go:102] SinkServer: draining Artifact channel ended [I2024-08-21T17:25:26.384372Z 99816 0 sink.go:374] SinkServer: shutdown completed successfully [I2024-08-21T17:25:26.384405Z 99816 0 cmd_stream.go:420] rdb-stream: exiting with 1 — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,479,224,949
pytorch
Compiled autograd set_logs tests shouldn't use logs_to_string
### 🐛 Describe the bug logs_to_string's context manager already enables the logger, so set_logs is probably being ignored ### Versions main cc @ezyang @chauhang @penguinwu
triaged,oncall: pt2,module: compiled autograd
low
Critical
2,479,232,036
PowerToys
Advanced Paste - Paste as RGB
### Description of the new feature / enhancement Advanced Paste should allow for hex color values to be pasted into the default Windows color picker. The hex value would be converted to three separate pastes into the three separate RGB input boxes. User would paste into the "R" box and the "G" and "B" boxes would subsequently be filled. ### Scenario when this would be used? This would be useful for any application that still restricts users to an RGB color choice. It's a inconvenience to try to remember the three RGB values selected from the color picker, and it would be much more useful to allow users to just paste it in. ### Supporting information This is a problem that doesn't seem to have an easy solution. I found that [most forum posts](https://superuser.com/questions/1412770/how-to-change-the-windows-10-default-color-picker) now point to a piece of deprecated software called "Jovian," which was able to override the default behavior of opening up the Windows API ChooseColor function.
Needs-Triage
low
Minor
2,479,384,424
yt-dlp
[spankbang] HTTP Error 410 - Can't download anything
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting that yt-dlp is broken on a **supported** site - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region _No response_ ### Provide a description that is worded well enough to be understood When trying to download video, I get the error "[download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (1/10)..." all the time. It worked a few days ago. Now nothing downloads. ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell [debug] Command-line config: ['-vU', '--embed-thumbnail', '--output', '%(title)s.%(ext)s', 'https://de.spankbang.com/91mst/video/the+ass+factory+tiny+anal+pocket+slut+emma+rosie+gets+a+bbc+monster+cock+in+her+ass'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2024.08.06 from yt-dlp/yt-dlp [4d9231208] (pip) [debug] Python 3.12.3 (CPython AMD64 64bit) - Windows-11-10.0.22631-SP0 (OpenSSL 3.3.1 4 Jun 2024) [debug] exe versions: ffmpeg 7.0.1-essentials_build-www.gyan.dev (setts), ffprobe 7.0.1-essentials_build-www.gyan.dev [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.0.9, certifi-2024.06.02, mutagen-1.47.0, requests-2.32.3, sqlite3-3.45.3, urllib3-2.2.2, websockets-13.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1830 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: stable@2024.08.06 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2024.08.06 from yt-dlp/yt-dlp) [SpankBang] Extracting URL: https://de.spankbang.com/91mst/video/the+ass+factory+tiny+anal+pocket+slut+emma+rosie+gets+a+bbc+monster+cock+in+her+ass [SpankBang] 91mst: Downloading webpage [SpankBang] 91mst: Downloading stream JSON [SpankBang] 91mst: Downloading m3u8 information [SpankBang] 91mst: Downloading m3u8 information [SpankBang] 91mst: Downloading m3u8 information [SpankBang] 91mst: Downloading m3u8 information [SpankBang] 91mst: Downloading m3u8 information [debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id [debug] Default format spec: bestvideo*+bestaudio/best [info] 91mst: Downloading 1 format(s): hls-5566-1 [info] Downloading video thumbnail 0 ... [info] Writing video thumbnail 0 to: The Ass Factory - Tiny Anal Pocket Slut Emma Rosie Gets A BBC Monster Cock In Her Ass.jpg [debug] Invoking hlsnative downloader on "https://hls-uranus.sb-cd.com/hls/1/5/15192749-1080p.mp4/index-v1-a1.m3u8?_tid=15192749&d=1&m=50&secure=MnGFWLGqlVvT0IKN5_HzxA,1724303238" [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 144 [download] Destination: The Ass Factory - Tiny Anal Pocket Slut Emma Rosie Gets A BBC Monster Cock In Her Ass.mp4 [debug] File locking is not supported. Proceeding without locking [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 1 (10/10)... [download] fragment not found; Skipping fragment 1 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 2 (10/10)... [download] fragment not found; Skipping fragment 2 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 3 (10/10)... [download] fragment not found; Skipping fragment 3 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 4 (10/10)... [download] fragment not found; Skipping fragment 4 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 5 (10/10)... [download] fragment not found; Skipping fragment 5 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 6 (10/10)... [download] fragment not found; Skipping fragment 6 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 7 (10/10)... [download] fragment not found; Skipping fragment 7 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 8 (10/10)... [download] fragment not found; Skipping fragment 8 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 9 (10/10)... [download] fragment not found; Skipping fragment 9 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (6/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (7/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (8/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (9/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 10 (10/10)... [download] fragment not found; Skipping fragment 10 ... [download] Got error: HTTP Error 410: Gone. Retrying fragment 11 (1/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 11 (2/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 11 (3/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 11 (4/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 11 (5/10)... [download] Got error: HTTP Error 410: Gone. Retrying fragment 11 (6/10)... ```
NSFW,site-bug,triage
low
Critical
2,479,394,887
pytorch
LoweringException: NotImplementedError: inductor does not support pin_memory
### 🐛 Describe the bug ## Repro: 1. Enable the test by commenting out: https://github.com/pytorch/pytorch/blob/8604c0a150b12e0ba3f9a6faaf52498370f21368/test/inductor/test_compiled_autograd.py#L2489 2. `python test/inductor/test_compiled_autograd.py TestAutogradWithCompiledAutograd.test_graph_save_on_cpu` ## Example graph node ```python empty: "f32[5][1]cpu" = torch.ops.aten.empty.memory_format([sym_size_int], dtype = torch.float32, layout = torch.strided, device = device(type='cpu'), pin_memory = True); ``` ## Error: ``` File "/data/users/xmfan/a/pytorch/torch/_dynamo/output_graph.py", line 1465, in _call_user_compiler raise BackendCompilerFailed(self.compiler_fn, e) from e torch._dynamo.exc.BackendCompilerFailed: backend='_inner_compiler' raised: LoweringException: NotImplementedError: inductor does not support pin_memory target: aten.empty.memory_format args[0]: [5] kwargs: {'dtype': torch.float32, 'layout': torch.strided, 'device': device(type='cpu'), 'pin_memory': True} ``` ### Versions main cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire
triaged,oncall: pt2,module: inductor
low
Critical
2,479,400,311
rust
Closure Fn* trait coercion removes other implementable Fn* traits
I tried this code: ```rust fn demo<F: FnOnce()>(f: F) -> F { f } fn other<F: Fn()>(_f: F) {} fn main() { let x = || (); other(x); let x = demo(|| ()); other(x); } ``` I expected to see this happen: The code to compile. Instead, this happened: Compilation failed stating the second `x` does not implement `Fn`. ```rs error[E0525]: expected a closure that implements the `Fn` trait, but this closure only implements `FnOnce` --> src/main.rs:9:18 | 9 | let x = demo(|| ()); | ^^ this closure implements `FnOnce`, not `Fn` 10 | other(x); | ----- - the requirement to implement `Fn` derives from here | | | required by a bound introduced by this call | note: required by a bound in `other` --> src/main.rs:3:13 | 3 | fn other<F: Fn()>(_f: F) {} | ^^^^ required by this bound in `other` ``` [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=bb5d8f332311ca9624267f44d890ea94) I would expect this to either compile fine (which means changing something about how closure coercion works) or for the diagnostic given to point at the coercion to a `FnOnce` for the reason why it doesn't implement the `Fn` trait. ### Meta `rustc --version --verbose`: ``` rustc 1.80.1 (3f5fd8dd4 2024-08-06) binary: rustc commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23 commit-date: 2024-08-06 host: x86_64-unknown-linux-gnu release: 1.80.1 LLVM version: 18.1.7 ```
C-bug,T-types
low
Critical
2,479,426,250
flutter
[macOS] Dismissing the IME accent panel produces invalid character
### Steps to reproduce 1. Run the sample app on macOS 2. Press and hold "u" until the IME accent panel is displayed 3. Press right arrow 4. Press left arrow 5. Press ESC 6. Press left arrow ### Expected results The accented letter should be removed. ### Actual results An invalid character is reported. ### Code sample <details open><summary>Code sample</summary> ```dart // ignore_for_file: avoid_print import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; void main() { runApp( const MaterialApp( home: Scaffold( body: TextInputExample(), ), ), ); } class TextInputExample extends StatefulWidget { const TextInputExample({super.key}); @override State<TextInputExample> createState() => _TextInputExampleState(); } class _TextInputExampleState extends State<TextInputExample> implements DeltaTextInputClient { final FocusNode _focusNode = FocusNode(); final GlobalKey _textKey = GlobalKey(); TextInputConnection? _inputConnection; TextEditingValue _currentEditingValue = const TextEditingValue( text: 'Press and hold "u" here: ', selection: TextSelection.collapsed(offset: 25), ); @override void initState() { super.initState(); WidgetsBinding.instance.addPostFrameCallback((timeStamp) { _attach(); }); } @override void dispose() { _focusNode.dispose(); super.dispose(); } @override void updateEditingValueWithDeltas(List<TextEditingDelta> textEditingDeltas) { TextEditingValue newEditingValue = _currentEditingValue; print('received ${textEditingDeltas.length} delta(s)'); for (final delta in textEditingDeltas) { print('apply delta: $delta'); newEditingValue = delta.apply(newEditingValue); print('new editing value: $newEditingValue'); } setState(() { _currentEditingValue = newEditingValue; }); } void _attach() { if (_inputConnection != null) { return; } _inputConnection = TextInput.attach( this, const TextInputConfiguration( enableDeltaModel: true, inputType: TextInputType.multiline, textCapitalization: TextCapitalization.sentences, inputAction: TextInputAction.newline, keyboardAppearance: Brightness.light, ), ); _inputConnection!.show(); _inputConnection!.setEditingState(_currentEditingValue); _reportVisualsToIme(); } KeyEventResult _onKeyEvent(FocusNode node, KeyEvent event) { return KeyEventResult.skipRemainingHandlers; } /// Position the IME popovers close to the text. void _reportVisualsToIme() { final renderBox = _textKey.currentContext!.findRenderObject() as RenderBox; _inputConnection!.setEditableSizeAndTransform(renderBox.size, renderBox.getTransformTo(null)); _inputConnection!.setCaretRect(Offset.zero & renderBox.size); } @override Widget build(BuildContext context) { return Center( child: Focus( focusNode: _focusNode, autofocus: true, onKeyEvent: _onKeyEvent, child: DecoratedBox( decoration: BoxDecoration(border: Border.all()), child: Padding( padding: const EdgeInsets.all(8.0), child: Text( key: _textKey, _currentEditingValue.text, textAlign: TextAlign.center, ), ), ), ), ); } @override void connectionClosed() {} @override AutofillScope? get currentAutofillScope => null; @override TextEditingValue? get currentTextEditingValue => _currentEditingValue; @override void insertTextPlaceholder(Size size) {} @override void performPrivateCommand(String action, Map<String, dynamic> data) {} @override void removeTextPlaceholder() {} @override void showAutocorrectionPromptRect(int start, int end) {} @override void showToolbar() {} @override void updateEditingValue(TextEditingValue value) {} @override void updateFloatingCursor(RawFloatingCursorPoint point) {} @override void didChangeInputControl(TextInputControl? oldControl, TextInputControl? newControl) {} @override void insertContent(KeyboardInsertedContent content) {} @override void performSelector(String selectorName) {} @override void performAction(TextInputAction action) {} } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> https://github.com/user-attachments/assets/b0d79e36-c1e3-4cc2-8dcf-a8a65bea3cad Here's the behavior in Apple Notes: https://github.com/user-attachments/assets/abb1995a-864a-413a-9f56-a3a1da414633 </details> ### Logs <details open><summary>Logs</summary> ```console Launching lib/main.dart on macOS in debug mode... --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:arm64, id:00006020-001161A802C3C01E, name:My Mac } { platform:macOS, arch:x86_64, id:00006020-001161A802C3C01E, name:My Mac } ✓ Built build/macos/Build/Products/Debug/text_input_demo.app Connecting to VM Service at ws://127.0.0.1:57181/9Q8cH4TpP6Y=/ws Connected to the VM Service. flutter: received 1 delta(s) flutter: apply delta: TextEditingDeltaInsertion#def36(oldText: Press and hold "u" here:, textInserted: u, insertionOffset: 25, selection: TextSelection.collapsed(offset: 26, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1)) flutter: new editing value: TextEditingValue(text: ┤Press and hold "u" here: u├, selection: TextSelection.collapsed(offset: 26, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1)) flutter: received 1 delta(s) flutter: apply delta: TextEditingDeltaReplacement#e0e10(oldText: Press and hold "u" here: u, textReplaced: u, replacementText: ú, replacedRange: TextRange(start: 25, end: 26), selection: TextSelection(baseOffset: 25, extentOffset: 26, isDirectional: false), composing: TextRange(start: 25, end: 26)) flutter: new editing value: TextEditingValue(text: ┤Press and hold "u" here: ú├, selection: TextSelection(baseOffset: 25, extentOffset: 26, isDirectional: false), composing: TextRange(start: 25, end: 26)) flutter: received 1 delta(s) flutter: apply delta: TextEditingDeltaReplacement#36776(oldText: Press and hold "u" here: ú, textReplaced: ú, replacementText: , replacedRange: TextRange(start: 25, end: 26), selection: TextSelection.collapsed(offset: 26, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1)) flutter: new editing value: TextEditingValue(text: ┤Press and hold "u" here: ├, selection: TextSelection.collapsed(offset: 26, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1)) ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-BR) • Flutter version 3.24.0 on channel stable at /Users/angelosilvestre/dev/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 80c2e84975 (3 weeks ago), 2024-07-30 23:06:49 +0700 • Engine revision b8800d88be • Dart version 3.5.0 • DevTools version 2.37.2 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/angelosilvestre/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted. [!] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d ! CocoaPods 1.12.1 out of date (1.13.0 is recommended). CocoaPods is a package manager for iOS or macOS platform code. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/to/platform-plugins To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) [✓] VS Code (version 1.92.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.94.0 [✓] Connected device (3 available) • macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.120 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ``` </details>
a: text input,platform-mac,has reproducible steps,P2,team-text-input,triaged-text-input,found in release: 3.24,found in release: 3.25
low
Critical
2,479,430,191
pytorch
[export] Incorrect behavior with torch.LongTensor and torch.Tensor
### 🐛 Describe the bug It seems like if a user calls `torch.LongTensor` or `torch.Tensor` within a program, export creates a tensor constant that is a FakeTensor, not the actual tensor constant. This applies to both strict and non-strict export. ```python def test_longtensor(self): class M(torch.nn.Module): def forward(self, x): return (x + torch.LongTensor(1),) inp = (torch.tensor(3),) ep = torch.export.export(M(), inp) print(ep.graph) """ graph(): %c_lifted_tensor_0 : [num_users=1] = placeholder[target=c_lifted_tensor_0] %x : [num_users=1] = placeholder[target=x] %add : [num_users=1] = call_function[target=torch.ops.aten.add.Tensor](args = (%x, %c_lifted_tensor_0), kwargs = {}) return (add,) """" print(ep.constants) """ {'lifted_tensor_0': FakeTensor(..., size=(1,))} """ print(ep.module()(*inp)) """ (FakeTensor(..., size=(1,)),) """ ``` However this doesn't seem to repro when you call make_fx or aot_export_module directly. The workaround is simple -- just replace it with `torch.tensor` or `torch.full` -- but this behavior seems incorrect. Internal reference: https://fb.workplace.com/groups/1075192433118967/permalink/7711495418978293/ ### Versions main cc @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @suo @ydwu4 @penguinwu
triaged,oncall: export
low
Critical
2,479,437,158
react
[Compiler Bug]: eslint-plugin-react-compiler errors when updating initialization of ref.current
### What kind of issue is this? - [ ] React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization) - [ ] babel-plugin-react-compiler (build issue installing or using the Babel plugin) - [X] eslint-plugin-react-compiler (build issue installing or using the eslint plugin) - [ ] react-compiler-healthcheck (build issue installing or using the healthcheck script) ### Link to repro https://playground.react.dev/#N4Igzg9grgTgxgUxALhAHRFMCAEcA2AlggHYAuGA3GiTYQLYAOEMZOwOWCASggGY4Avjj4wI9HBhgIAhnAohqtEnAgkwbAKoA5AJJ6AKroCCAGV0AtAKIARHAF4cAZQCe9AEYR8ACgw79ukZmlrYYAJRKNAgAHsyseGoanNgA8iq4jgA8BgA0AHzehCSEZIQy+ABq5VAIyDgGOAA+ON7eYQ559WHt9p3ANDgJ6mzSAo5cvAKZ9U04ZC6MCBAC-oYm5tZ2nd6rgeshNhE0AziEAt6jAHRwsNLkDvaOu0Ebtu39JIODVzcwd2yOeaLZanYqlcpVfA1B6ODB8KAqUpqDA4AD8oJKZUq1QQbRwdSKmIhOKUg0Ex0+OGkZFgnx+t1IZCUgkiJBicTYABN+DIoPg2PDEYQ1DgALIuYyMRh4j7fBA0mCfTKcwgANzyAAkEPh8BAcAB1Fj4TmZAD0KvVzJoIEEQA ### Repro steps 1. Initialize `useRef` with some dummy value (e.g. null, Symbol, undefined, etc.) to be changed after initialization/during render. 2. Update `ref.current` by checking whether it is equivalent to its initial condition (as per documentation: [useRef#Avoiding recreating the ref contents](https://react.dev/reference/react/useRef#avoiding-recreating-the-ref-contents)) - > To solve it, you may initialize the ref like this instead: ``` function Video() { const playerRef = useRef(null); if (playerRef.current === null) { playerRef.current = new VideoPlayer(); } // ... ``` - > Normally, writing or reading ref.current during render is not allowed. However, it’s fine in this case because the result is always the same, and the condition only executes during initialization so it’s fully predictable. 3. eslint-plugin-react-compiler gives error ``` InvalidReact: Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef) ``` ### How often does this bug happen? Every time ### What version of React are you using? 19.0.0-rc-1d989965-20240821
Type: Bug,Status: Unconfirmed,Component: Optimizing Compiler
low
Critical
2,479,453,272
PowerToys
PowerRename - allow references to file metadata in rename
### Description of the new feature / enhancement When renaming a file, allow extended file properties to be used, such as Author, Location, Device. This could be particularly useful for images with EXIF properties ### Scenario when this would be used? Changing image names to include more meaningful information ### Supporting information _No response_
Needs-Triage
low
Minor
2,479,453,393
terminal
Title bar draw problem next to close button
### Windows Terminal version 1.20.11781.0 ### Windows build number 10.0.22631.4037 ### Other Software _No response_ ### Steps to reproduce Note: This is intermittent. 1. Open up Windows Terminal. 2. Change focus from another program like Edge and back to Windows Terminal. The most reliable way is to click on the tab on Windows Terminal. 3. See title bar is not acrylic except for small portion to the right of the close button (see attached). 4. If problem does not happen, change focus back to Edge and repeat steps 2-4. ![2024-08-21](https://github.com/user-attachments/assets/da9a18da-1908-4857-a20b-1a0f614203e4) ### Expected Behavior I expected the acrylic to be consistent. ### Actual Behavior Acrylic title bar sometimes does not render. I also see it blinking sometime when focus is changed.
Resolution-External,Issue-Bug,Needs-Triage,Needs-Attention
low
Major
2,479,459,058
pytorch
Fails to compile when using DistributedDataParallel: AttributeError: 'int' object has no attribute 'meta'
### 🐛 Describe the bug see the log outputs here: https://gist.github.com/alita-moore/a23f57d2adfaa885185308e922aef44a To reproduce this run the following code: ``` import os import torch import torch.distributed as dist from timm.models.swin_transformer_v2 import SwinTransformerV2, WindowAttention def main(): # Initialize the distributed environment dist.init_process_group(backend='nccl') # Use NCCL backend rank = dist.get_rank() world_size = dist.get_world_size() # Set the device if torch.cuda.is_available(): device = torch.device(f"cuda:{rank}") torch.cuda.set_device(device) else: device = torch.device("cpu") print(f"Running on rank {rank} out of {world_size} processes, device: {device}") # Compile WindowAttention.forward WindowAttention.forward = torch.compile(WindowAttention.forward) # Create the model model = SwinTransformerV2( img_size=(128, 128), depths=(2, 2, 18, 2), window_size=8, patch_size=4, embed_dim=128, num_heads=(4, 8, 16, 32), num_classes=0, in_chans=3 ).to(device) # Wrap the model with DistributedDataParallel ddp_model = torch.nn.parallel.DistributedDataParallel(model, device_ids=[rank] if torch.cuda.is_available() else None) # Create a sample input tensor im = torch.empty(1, 3, 128, 128).to(device) # Forward pass output = ddp_model(im) print(f"Rank {rank}: Output shape: {output.shape}") # Clean up dist.destroy_process_group() if __name__ == "__main__": main() ``` Then call it with `torchrun --nproc_per_node=1 /path/to/file.py` ### Versions Collecting environment information... PyTorch version: 2.3.1+cu121 Is debug build: False CUDA used to build PyTorch: 12.1 ROCM used to build PyTorch: N/A OS: Debian GNU/Linux 12 (bookworm) (x86_64) GCC version: (Debian 12.2.0-14) 12.2.0 Clang version: Could not collect CMake version: Could not collect Libc version: glibc-2.36 Python version: 3.10.13 (main, Mar 12 2024, 12:22:40) [GCC 12.2.0] (64-bit runtime) Python platform: Linux-6.8.0-1013-aws-x86_64-with-glibc2.36 Is CUDA available: True CUDA runtime version: 12.3.107 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA L4 Nvidia driver version: 555.58.02 cuDNN version: Probably one of the following: /usr/lib/x86_64-linux-gnu/libcudnn.so.9.3.0 /usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.3.0 /usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.3.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.3.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.3.0 /usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.3.0 /usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.3.0 /usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.3.0 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: AuthenticAMD Model name: AMD EPYC 7R13 Processor CPU family: 25 Model: 1 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 Stepping: 1 BogoMIPS: 5299.99 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch topoext ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr rdpru wbnoinvd arat npt nrip_save vaes vpclmulqdq rdpid Hypervisor vendor: KVM Virtualization type: full L1d cache: 64 KiB (2 instances) L1i cache: 64 KiB (2 instances) L2 cache: 1 MiB (2 instances) L3 cache: 8 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-3 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] mypy==1.11.1 [pip3] mypy-extensions==1.0.0 [pip3] numpy==1.26.4 [pip3] torch==2.3.1 [pip3] torchaudio==2.3.1 [pip3] torchtext==0.18.0 [pip3] torchvision==0.18.1 [pip3] triton==2.3.1 [conda] Could not collect ---- NOTE: I'm using timm version ^1.0.8 (https://github.com/huggingface/pytorch-image-models) cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @ezyang @chauhang @penguinwu
needs reproduction,oncall: distributed,triaged,module: ddp,oncall: pt2,pt2d-triage-nov2024
low
Critical
2,479,476,622
ui
[bug]: ChartTooltip indicator not rendering
### Describe the bug Copy pasted from examples, indicator is not being displayed on any of the graphs. Here is one of the examples: ```tsx "use client"; import * as React from "react"; import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, } from "@/components/ui/chart"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; const timeRangeMapping: Record<string, string> = { "90d": "last 3 months", "30d": "last month", "7d": "last week", }; const chartConfig = { visitors: { label: "Visitors", }, total: { label: "Total", color: "hsl(var(--chart-1))", }, unique: { label: "Unique", color: "hsl(var(--chart-2))", }, } satisfies ChartConfig; type ChartData = { date: string; total_visits: number; unique_visits: number; }; export function VisitsChart({ chartData }: { chartData: ChartData[] }) { const [timeRange, setTimeRange] = React.useState("90d"); const filteredData = chartData.filter((item) => { const date = new Date(item.date); const now = new Date(); let daysToSubtract = 90; if (timeRange === "30d") { daysToSubtract = 30; } else if (timeRange === "7d") { daysToSubtract = 7; } now.setDate(now.getDate() - daysToSubtract); return date >= now; }); return ( <Card> <CardHeader className="flex items-center gap-2 py-5 space-y-0 border-b sm:flex-row"> <div className="grid flex-1 gap-1 text-center sm:text-left"> <CardTitle>Total visits</CardTitle> <CardDescription> Showing total visitors for the {timeRangeMapping[timeRange]} </CardDescription> </div> <Select value={timeRange} onValueChange={setTimeRange}> <SelectTrigger className="w-[160px] rounded-lg sm:ml-auto" aria-label="Select a value" > <SelectValue placeholder="Last 3 months" /> </SelectTrigger> <SelectContent className="rounded-xl"> <SelectItem value="90d" className="rounded-lg"> Last 3 months </SelectItem> <SelectItem value="30d" className="rounded-lg"> Last 30 days </SelectItem> <SelectItem value="7d" className="rounded-lg"> Last 7 days </SelectItem> </SelectContent> </Select> </CardHeader> <CardContent className="px-2 pt-4 sm:px-6 sm:pt-6"> <ChartContainer config={chartConfig} className="aspect-auto h-[250px] w-full" > <AreaChart data={filteredData}> <defs> <linearGradient id="fillUnique" x1="0" y1="0" x2="0" y2="1"> <stop offset="5%" stopColor="var(--color-unique)" stopOpacity={0.8} /> <stop offset="95%" stopColor="var(--color-unique)" stopOpacity={0.1} /> </linearGradient> <linearGradient id="fillTotal" x1="0" y1="0" x2="0" y2="1"> <stop offset="5%" stopColor="var(--color-total)" stopOpacity={0.8} /> <stop offset="95%" stopColor="var(--color-total)" stopOpacity={0.1} /> </linearGradient> </defs> <CartesianGrid vertical={false} /> <XAxis dataKey="date" tickLine={false} axisLine={false} tickMargin={8} minTickGap={32} tickFormatter={(value) => { const date = new Date(value); return date.toLocaleDateString("en-US", { month: "short", day: "numeric", }); }} /> <ChartTooltip cursor={false} content={ <ChartTooltipContent labelFormatter={(value) => { return new Date(value).toLocaleDateString("en-US", { month: "short", day: "numeric", }); }} indicator="dot" /> } /> <Area dataKey="unique" type="natural" fill="url(#fillUnique)" stroke="var(--color-unique)" stackId="a" /> <Area dataKey="total" type="natural" fill="url(#fillTotal)" stroke="var(--color-total)" stackId="a" /> <ChartLegend content={<ChartLegendContent />} /> </AreaChart> </ChartContainer> </CardContent> </Card> ); } ``` package.json ```json { "dependencies": { "@radix-ui/react-dropdown-menu": "^2.1.1", "@radix-ui/react-select": "^2.1.1", "@radix-ui/react-slot": "^1.1.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "lucide-react": "^0.428.0", "react": "^18.3.1", "react-dom": "^18.3.1", "recharts": "^2.12.7", "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7" }, "devDependencies": { "@types/react": "^18.3.3" } } ``` <img width="256" alt="Screenshot 2024-08-22 at 02 35 07" src="https://github.com/user-attachments/assets/73a147f6-9976-4433-ab05-b49da5d16f37"> ### Affected component/components ChartTooltip ### How to reproduce - Copy paste Area Chart - Interactive https://ui.shadcn.com/charts into project - Navigate over chart ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash macOS, esbuild --target=es2017, safari ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,479,477,438
pytorch
storage_module && PyModule_Check(storage_module) INTERNAL ASSERT FAILED at DynamicTypes.cpp
### 🐛 Describe the bug If I run a PyTorch code for the first time using the `eval` function and the built-in functions are restricted, then an internal assertion failure occurs. ```python import torch eval("torch.Tensor([1.0])", {"__builtins__": {}, "torch": torch}) ``` ``` Traceback (most recent call last): File "/foo/test.py", line 2, in <module> eval("torch.Tensor([1.0])", {"__builtins__": {}, "torch": torch}) File "<string>", line 1, in <module> RuntimeError: storage_module && PyModule_Check(storage_module) INTERNAL ASSERT FAILED at "/Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/DynamicTypes.cpp":71, please report a bug to PyTorch. ``` The problem does not occur if the same code was called once before running them in the `eval` function. ```python import torch torch.Tensor([1.0]) eval("torch.Tensor([1.0])", {"__builtins__": {}, "torch": torch}) # no errors ``` This is where the exception occurs: https://github.com/pytorch/pytorch/blob/v2.4.0/torch/csrc/DynamicTypes.cpp#L71 It seems that`PyImport_ImportModule("torch.storage")` failed because `PyImport_Import` invokes the `__import__()` function from the builtins of the current globals, and `__import__()` is not available in the current globals. This is understandable from a developer's point of view. On the other hand, from the user's point of view, I feel that lazy loading is an implementation detail and it would be nice to behave as if everything was loaded when `import torch` is called outside of the `eval`. ### Versions ``` PyTorch version: 2.4.0 Is debug build: False CUDA used to build PyTorch: None ROCM used to build PyTorch: N/A OS: macOS 13.6.6 (arm64) GCC version: Could not collect Clang version: 15.0.0 (clang-1500.0.40.1) CMake version: version 3.29.3 Libc version: N/A Python version: 3.11.3 (main, Jul 9 2023, 00:08:27) [Clang 13.0.0 (clang-1300.0.29.30)] (64-bit runtime) Python platform: macOS-13.6.6-arm64-arm-64bit Is CUDA available: False CUDA runtime version: No CUDA CUDA_MODULE_LOADING set to: N/A GPU models and configuration: No CUDA Nvidia driver version: No CUDA cuDNN version: No CUDA HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Apple M1 Versions of relevant libraries: [pip3] numpy==2.1.0 [pip3] torch==2.4.0 [conda] Could not collect ``` cc @malfet @albanD
module: error checking,triaged,module: python frontend,module: edge cases
low
Critical
2,479,501,978
go
build: build failure on go1.22-linux-amd64_c3h88-perf_vs_release
``` #!watchflakes default <- builder == "go1.22-linux-amd64_c3h88-perf_vs_release" && repo == "go" && mode == "build" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8739607856245328881)): go: downloading github.com/BurntSushi/toml v1.0.0 go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 2024/08/14 17:48:04 Load average: 7.47 2.95 1.07 1/999 34087 2024/08/14 17:48:04 Waiting for load average to drop below 0.20... 2024/08/14 17:48:34 Load average: 4.53 2.67 1.03 2/1000 34088 2024/08/14 17:48:34 Waiting for load average to drop below 0.20... 2024/08/14 17:49:04 Load average: 2.74 2.41 1.00 1/1000 34088 2024/08/14 17:49:04 Waiting for load average to drop below 0.20... 2024/08/14 17:49:34 Load average: 1.66 2.18 0.97 2/1000 34088 2024/08/14 17:49:34 Waiting for load average to drop below 0.20... ... [sweet] Running benchmark markdown for baseline: run 10 [sweet] Setting up benchmark: tile38 Cloning into '/home/swarming/.swarming/w/ir/x/t/go-sweet1404251343/work/tile38/src'... remote: Internal Server Error fatal: unable to access 'https://github.com/tidwall/tile38/': The requested URL returned error: 500 [sweet] error: retrieving source for tile38: exit status 128 [sweet] error: failed to execute benchmarks, see log for details 2024/08/14 23:20:16 Error running sweet: error running sweet run: exit status 1 2024/08/14 23:20:16 FAIL exit status 1 — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,479,549,763
pytorch
ProcessGroupNCCL::WorkNCCL only records seq_id which is not enough to be matched with comm op in Execution Trace replay
### 🐛 Describe the bug ``` barrier: use pg_A, return work_A, seq_id=717 reduce: uee pg_B, return work_B, seq_id=717 wait: seq_id=717 **question: work_A.wait() or work_B.wait() here when do execution trace replay?** compuation wait: seq_id=717 ``` The reason is `ProcessGroupNCCL::WorkNCCL` only records `seq_id`, but `seq_id` is just unique in process group scope, not the process. ![image](https://github.com/user-attachments/assets/4e183c14-02c5-43b2-8106-185de58657ff) 2 candidating solutions: 1. Make `seq_id` be global, but not local in process group. **Concern is posibility to break existing code using this field.** 2. Add `pg_name` field to `WorkNCCL`. Then use tuple `(pg_name, seq_id)` to be unique id to construct comm op and wait pair. ### Versions ``` Collecting environment information... PyTorch version: 2.4.0a0+f70bd71 Is debug build: False CUDA used to build PyTorch: 12.5 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.4 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: Could not collect CMake version: version 3.29.3 Libc version: glibc-2.35 Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime) Python platform: Linux-5.15.0-1030-nvidia-x86_64-with-glibc2.35 Is CUDA available: True CUDA runtime version: 12.5.40 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA H100 80GB HBM3 GPU 1: NVIDIA H100 80GB HBM3 GPU 2: NVIDIA H100 80GB HBM3 GPU 3: NVIDIA H100 80GB HBM3 GPU 4: NVIDIA H100 80GB HBM3 GPU 5: NVIDIA H100 80GB HBM3 GPU 6: NVIDIA H100 80GB HBM3 GPU 7: NVIDIA H100 80GB HBM3 Nvidia driver version: 535.129.03 [29/269] cuDNN version: Probably one of the following: /usr/lib/x86_64-linux-gnu/libcudnn.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.1.0 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 57 bits virtual Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Platinum 8462Y+ CPU family: 6 Model: 143 Thread(s) per core: 2 Core(s) per socket: 32 Socket(s): 2 Stepping: 8 Frequency boost: enabled CPU max MHz: 2801.0000 CPU min MHz: 800.0000 BogoMIPS: 5600.00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1 gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est t m2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bm i2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc c qm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities Virtualization: VT-x L1d cache: 3 MiB (64 instances) L1i cache: 2 MiB (64 instances) L2 cache: 128 MiB (64 instances) L3 cache: 120 MiB (2 instances) NUMA node(s): 2 NUMA node0 CPU(s): 0-31,64-95 NUMA node1 CPU(s): 32-63,96-127 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==1.24.4 [pip3] onnx==1.16.0 [pip3] optree==0.11.0 [pip3] pytorch-quantization==2.1.2 [pip3] pytorch-triton==3.0.0+989adb9a2 [pip3] torch==2.4.0a0+f70bd71 [conda] No relevant packages ``` cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
oncall: distributed,triaged
low
Critical
2,479,561,974
transformers
Auto model & pipeline for image-text-to-image-text models
### Feature request This is a tracker issue for work on _interleaved_ in-and-out image-text generation. There are now >= 5 open-source models that can do _interleaved_ image-text generation--and many more are expected to be released. Thus, it would now be practical & useful for us to (1) add native support for such models and (2) standardize the logic flow of data through processors and pipelines as done in https://github.com/huggingface/transformers/issues/31911 and https://github.com/huggingface/transformers/pull/32472 Model | Github | Notes | PR --- | --- | --- | --- [Anole](https://arxiv.org/abs/2407.06135) | https://github.com/GAIR-NLP/anole | - | https://github.com/huggingface/transformers/pull/32013 [Chameleon](https://arxiv.org/abs/2405.09818) | https://github.com/facebookresearch/chameleon | - | https://github.com/huggingface/transformers/pull/32013 [Llava-NeXT-Interleaved](https://arxiv.org/abs/2407.07895) | https://github.com/LLaVA-VL/LLaVA-NeXT | - | - [Lumina-mGPT](https://arxiv.org/abs/2408.02657) | https://github.com/Alpha-VLLM/Lumina-mGPT | - | - [Show-o](https://arxiv.org/abs/2408.12528) | https://github.com/showlab/Show-o | - | - [Transfusion](https://arxiv.org/abs/2408.11039) | - | Not open-source (yet, perhaps) | - [XGen-MM](https://arxiv.org/abs/2408.08872) | https://github.com/salesforce/LAVIS/tree/xgen-mm | The paper & the github repo don't actually demonstrate interleaved image-text generation yet, but they did train the model on such datasets & the model architecture(s) is perfectly suited for it | - [Emu3](https://baai-solution.ks3-cn-beijing.ksyuncs.com/emu3/Emu3-tech-report.pdf?KSSAccessKeyId=AKLTgew6Kdg6RsK92QSfB2KLA&Expires=2591406552&Signature=6BvwfLVqvfww26Bhwvk3mG0FrL8%3D) | https://github.com/baaivision/Emu3 | The official repo only has demos for text-only & image-only generation, but the model seems to have been trained on text-image datasets | - Initial work for Chameleon & Anole can be found here: https://github.com/huggingface/transformers/pull/32013 for reference. Notes: - We explicitly exclude models that can _only_ do text-only generation or image-only generation. We also exclude models that can do image-text generation but not in an interleaved manner. - As I've demonstrated in my repo, _explicitly_ implementing the Finite State Machine (FSM) for switching between text-generation and image-generation modes as done in Chameleon's repo is not necessary. Implicitly implementing the FSM with Logits Processors suffices. Although more work is needed on finding the most efficient implementation. TODOs: - [ ] Add support for interleaved image-text generation with: - [x] Chameleon -> https://github.com/huggingface/transformers/pull/32013 - [x] Anole -> https://github.com/huggingface/transformers/pull/32013 - [ ] Lumina-mGPT - [ ] Show-o - [ ] Transfusion - [ ] XGen-MM - [ ] Add auto model for image-text-to-image-text - [ ] [Optional] Add auto model for image-to-image-text - [ ] [Optional] Add auto model for text-to-image-text - [ ] Add pipeline for image-text-to-image-text - [ ] [Optional] Add pipeline for image-to-image-text - [ ] [Optional] Add pipeline for text-to-image-text - [ ] Benchmark different implementations of Logits Processors & FSMs for switching between text-generation and image-generation modes ### Motivation 1. To make benchmarking and evaluating models for interleaved image-to-text tasks saner 2. To continue work on Multimodal In-and-Out, Interleaved Structured Generation: https://github.com/leloykun/mmsg ### Your contribution I've already started work on Chameleon & Anole here: https://github.com/huggingface/transformers/pull/32013 But I'm currently blocked by (1) not having enough time due to other responsibilities and (2) not having enough compute resources. Any help would be appreciated!
Feature request
low
Major
2,479,580,560
ant-design
希望 Form.Item 添加一个 transform 功能,onFinish 时能进行数据转换
### What problem does this feature solve? 前提:不在初始化时和 onFinish 里单独处理数据。 为什么不想在初始化时和 onFinish 里单独处理数据? 因为每个地方都要单独处理很麻烦,这样可以封装成通用组件,在组件里单独处理数据转换逻辑。 例如: ``` <FormItemDatePicker formItemProps={{}} datePickerProps={{}} /> ``` 例子1: 1.打开编辑页,请求详情数据,获得的格式是 ISO 格式,设置进表单 2. 直接提交,这时候提交的是 ISO 格式,但是后端需要 YYYY-MM-DD HH:mm:ss 格式,因为没有对 Picker 进行操作,所以没触发 normalize,导致提交的还是 ISO 格式 ``` <Form.Item getValueProps={(val) => ({ value: val ? dayjs(val) : undefined, })} // 不对 Picker 进行操作,就不会触发 normalize={(val) => (val ? val.format('YYYY-MM-DD HH:mm:ss') : undefined)} > <DatePicker showTime /> </Form.Item> ``` 例子2: 文件上传,getValueFromEvent 需要将 percent 和 status 返回,否则文件状态和进度条会有问题。这样提交时就会这两个参数也一起提交,造成多余的请求参数。 ``` <Form.Item getValueProps={e => ({ ...... // 省略 })} getValueFromEvent={e => { const fileList = Array.isArray(e) ? e : e.fileList; return fileList.map(i => ({ ......, // 省略 percent: i.percent, status: i.status })) }} > <Upload /> </Form.Item> ``` ### What does the proposed API look like? 现状使用 normalize 基本必须配合 getValueProps 使用,这样是双向的,并且 normalize 初始化不会触发就会有例子1的问题。 添加一个 transform 方法,只有在 onFinish 时会自动转换数据。类似 ProTable 中筛选的 transform ``` <Form.Item transform={value => ... } /> ``` <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Inactive,unconfirmed
low
Major
2,479,609,890
PowerToys
Awake does not reset time to full time if a different countdown is chosen
### Microsoft PowerToys version 0.83.0 ### Installation method PowerToys auto-update, Microsoft Store ### Running as admin No ### Area(s) with issue? Awake ### Steps to reproduce Set awake time for an interval like 2 hours. Come back in 90 minutes (before time expires) and set it for 3 hours because you want to extend the awake time. The awake timer goes to sleep either 30 minutes later (after original 90 minutes) or perhaps in another 90 minutes. It doesn't extend the time to 3 hours from now when you've reset a new time to keep awake. Also disabling the switch control for awake and re-enabling it does uncertain things and doesn't always seem to reset the timer. ### ✔️ Expected Behavior I would expect the UX for awake to make the operation clearer. - Make it clear when an awake timer is *actually starting." - Although it's streamlined not to have "Apply" or "OK" buttons, their absence doesn't help to know when a new awake timer has been set, when that timer is starting and when it's ending. - It's very unclear after changing an awake timer to a new time interval what is actually happening. Is the time interval still from the original time you set and it doesn't reset the timer? Is the interval from *now* when you just changed the timer to something different? Does turning awake on and off actually clear out previous settings so you know when to expect the timer to expire? - I'd argue that any changed values for an awake timer value should reset the timer to 0 and start it again as most timer/stopwatch apps work this way (look at most phones, smart watches and kitchen timers for common expectations--most make you stop the original timer and start a new one in order to change a countdown time). - I could understand an argument that you can change the interval without resetting the timer (though I don't think it's a common paradigm for most timers people are familiar with). - In either case, the result of modifying the time interval on a timer needs to be clearer. Adding some indication of a new countdown time or an expiration time would at least make things clearer and could also be handy if someone needs to know what to expect. ### ❌ Actual Behavior Resetting the Awake timer to a different value doesn't seem to reset things in a way that is expected and it's not clear what to expect when changing a timer. It's unclear when a timer is reset vs extended, if disabling and re-enabling awake resets the timer and how much time is left on an awake interval countdown. ### Other Software _No response_
Idea-Enhancement,Product-Awake
low
Minor
2,479,620,670
PowerToys
[PowerToys Run] the window goe out of the screen (+DPI bug)
### Microsoft PowerToys version 0.83.0 ### Installation method PowerToys auto-update ### Running as admin None ### Area(s) with issue? PowerToys Run ### Steps to reproduce 1. Clear the previous query on opening should be off 2. Maximum number of results before scrolling value should be big enough 3. launch PowerToys Run 4. type somethings would get many results 5. close PowerToys Run 6. relaunch PowerToys Run ### ✔️ Expected Behavior the window is still in the screen ### ❌ Actual Behavior the entire or part of window goes out of the screen until delete the typed and can't accessible https://github.com/user-attachments/assets/394baf61-d117-496f-9ced-8439a94b333e it didn't happen before acrylic update. why it's broken? --- ![image](https://github.com/user-attachments/assets/4579bc8e-9462-4cf1-ae5f-f5156c7934d8) ![image](https://github.com/user-attachments/assets/604ec4ce-d1a1-46d7-9a8f-66c0cbeddde7) and bonus DPI bug that I just found but it's Windows's known issue not PowerToys's fault https://github.com/user-attachments/assets/4749a311-1d10-468a-bb66-9d0cb9711635 yes that's cool because mac-like DPI management system is very deadly hardly difficult work it's bad sad news but if the off-screen bug is fixed, the DPI bug will be also prevented ### Other Software zooming effect in video is https://github.com/sanketkheni01/Windows-11-Virtual-desktop-animation but not related
Issue-Bug,Needs-Triage
low
Critical
2,479,621,270
pytorch
AdamW is CPU-bottlenecked with FSDP2, with slow foreach kernels
### 🐛 Describe the bug This is an image model, with many small weights. Notice the large white gaps in the GPU section, corresponding to the CPU launchers taking a very long time. ![Screenshot 2024-08-21 at 7 00 26 PM](https://github.com/user-attachments/assets/8dff643e-011f-4999-9391-612aa18e277f) The perf impact is moderate: AdamW is 2.5% of the total step time with FSDP1, and 7.5% of the step time with FSDP2. The slowdown was observed with both `fused=True` and `fused=False`. I did not test with torch.compile, since Eren says it doesn't work with changing image dimensions. (Other people have said it should work with dynamic shapes, but I will defer that to later.) (EDIT: thinking about it for 5 more seconds, I can compile the optimizer separately, so I'll try that next.) ### Versions 2.4.0. [collect_env_result.txt](https://github.com/user-attachments/files/16703051/collect_env_result.txt) cc @vincentqb @jbschlosser @albanD @janeyx99 @crcrpar @zhaojuanmao @mrshenli @rohan-varma @awgu @fegin @kwen2501 @chauhang
module: optimizer,triaged,module: fsdp
low
Critical
2,479,679,224
material-ui
[joy-ui][Circular Progress] Svg progress bar is misaligned and its length changes when zoomed in Safari
### Steps to reproduce Link to live example: https://mui.com/joy-ui/react-circular-progress/#introduction Steps: 1. Open link on Safari. 2. Zoom in or zoom out. ### Current behavior 1. Progress bar is misaligned 2. The progress has changed. <img width="304" alt="스크린샷 2024-08-22 11 21 23" src="https://github.com/user-attachments/assets/18199a32-9928-4524-bc86-05a5761e2b27"> ### Expected behavior 1. Progress bar should be centered. 2. The progress should not change. ### Context I think the misalignment issue is caused by Safari miscalculating the transform and transform origin when zooming. How about adding the animation to the top layer, like [material-ui's Progress](https://mui.com/material-ui/react-progress)? I think it would be possible to apply the rotation transform to the parent svg element instead of the circle element, or to split the Progress and Track into two svg elements. ### Your environment <details> <summary><code>npx @mui/envinfo</code></summary> ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ``` </details> **Search keywords**: Circular Progress align
on hold,component: CircularProgress,package: joy-ui,enhancement
low
Minor
2,479,685,897
tensorflow
Proposal for Enhancing Neural Network Training: Unified Gradient Direction for Faster Convergence and Improved Accuracy
### Issue type Performance ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version ALL ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? In the current implementation of neural network training within TensorFlow, gradient descent typically relies on the average of gradients during the optimization process. While this approach is effective, there may be potential to enhance training efficiency and accuracy by exploring alternative methods for determining the direction of gradient updates. I have developed a method that identifies a unified direction rather than merely averaging the gradients, and preliminary experiments suggest that this approach leads to faster convergence and improved model accuracy. I believe this could be a valuable addition to TensorFlow's optimization techniques. I would appreciate the TensorFlow Development Team's feedback on this idea and am happy to provide further details or collaborate on its implementation. ### Standalone code to reproduce the issue ```shell https://github.com/TingjiaInFuture/UnionGradientDescent ``` ### Relevant log output _No response_
stat:awaiting tensorflower,type:feature,type:performance
medium
Critical
2,479,699,171
vscode
bug: cursor undo after update activeEditor text
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes/No <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: - OS Version: Steps to Reproduce: 1. use api `activeTextEditor.insertSnippet` add some snippet 2. and use `ctrl + -`, will not cursor back before expect: after updated, still back true position, or have some way to update `cursorundo`
info-needed,snippets
low
Critical
2,479,699,615
pytorch
[Intel CPU] Same CPU operations on Torch 2.3+ many times slower those on Torch 2.1
### 🐛 Describe the bug + After installing Torch using the build_from_src method based on version **Torch 2.3+**(including 2.3.0\2.3.1\2.4.0), I noticed a significant slowdown in code performance compared to the original **Torch 2.1 version**. + Through profiling, I eventually discovered that the slowdown was due to all CPU operations in Torch being much slower. + I wrote a small unit test that also replicated this issue. + Is this a CPU-related bug, or should I have included additional options during compilation? #### my install cmd and options ```shell MAKEFLAGS=-j6 PYTORCH_BUILD_VERSION=${TORCH_VERSION} PYTORCH_BUILD_NUMBER=1 USE_CUDA=1 BUILD_CAFFE2_OPS=0 BUILD_CAFFE2=0 TORCH_USE_CUDA_DSA=1 USE_DISTRIBUTED=1 USE_NCCL=1 USE_SYSTEM_NCCL=1 NCCL_INCLUDE_DIR=/usr/local/nccl/include NCCL_LIB_DIR=/usr/local/nccl/lib TORCH_CUDA_ARCH_LIST=${CUDA_ARCH_LIST} TORCH_NVCC_FLAGS="-Xfatbin -compress-all" DEBUG=1 USE_FLASH_ATTENTION=0 python3 setup.py bdist_wheel 2>&1 | tee trace.log && pip3 install --no-cache-dir dist/*.whl ``` #### my unit test ```python3 import torch import time for i in range(5): t_a = time.time() a = torch.tril(torch.ones(50,50)) t_b = time.time() b = torch.randn(2500) t_b_ = time.time() b_ = b.view(50,50) t_c = time.time() c = a * b_ t_end = time.time() print(f"{(t_b - t_a)*1000 = }, {(t_b_ - t_b)*1000 = }, {(t_c - t_b_)*1000 = }, {(t_end - t_c)*1000 = }, {(t_end - t_a)*1000 = }") ``` #### unit test result on torch2.1 ``` (t_b - t_a)*1000 = 20.094633102416992, (t_b_ - t_b)*1000 = 0.14066696166992188, (t_c - t_b_)*1000 = 0.06318092346191406, (t_end - t_c)*1000 = 0.07939338684082031, (t_end - t_a)*1000 = 20.37787437438965 (t_b - t_a)*1000 = 0.08153915405273438, (t_b_ - t_b)*1000 = 0.019788742065429688, (t_c - t_b_)*1000 = 0.0064373016357421875, (t_end - t_c)*1000 = 0.010967254638671875, (t_end - t_a)*1000 = 0.11873245239257812 (t_b - t_a)*1000 = 0.030994415283203125, (t_b_ - t_b)*1000 = 0.01621246337890625, (t_c - t_b_)*1000 = 0.0030994415283203125, (t_end - t_c)*1000 = 0.004291534423828125, (t_end - t_a)*1000 = 0.05459785461425781 (t_b - t_a)*1000 = 0.026941299438476562, (t_b_ - t_b)*1000 = 0.021219253540039062, (t_c - t_b_)*1000 = 0.0026226043701171875, (t_end - t_c)*1000 = 0.003814697265625, (t_end - t_a)*1000 = 0.05459785461425781 (t_b - t_a)*1000 = 0.027894973754882812, (t_b_ - t_b)*1000 = 0.014781951904296875, (t_c - t_b_)*1000 = 0.0026226043701171875, (t_end - t_c)*1000 = 0.003814697265625, (t_end - t_a)*1000 = 0.049114227294921875 ``` #### unit test result on torch2.3 ``` (t_b - t_a)*1000 = 10.82468032836914, (t_b_ - t_b)*1000 = 1.3396739959716797, (t_c - t_b_)*1000 = 0.24819374084472656, (t_end - t_c)*1000 = 0.26988983154296875, (t_end - t_a)*1000 = 12.682437896728516 (t_b - t_a)*1000 = 8.429288864135742, (t_b_ - t_b)*1000 = 0.9663105010986328, (t_c - t_b_)*1000 = 0.04506111145019531, (t_end - t_c)*1000 = 0.0743865966796875, (t_end - t_a)*1000 = 9.515047073364258 (t_b - t_a)*1000 = 3.325223922729492, (t_b_ - t_b)*1000 = 0.9529590606689453, (t_c - t_b_)*1000 = 0.028848648071289062, (t_end - t_c)*1000 = 0.07295608520507812, (t_end - t_a)*1000 = 4.379987716674805 (t_b - t_a)*1000 = 0.11420249938964844, (t_b_ - t_b)*1000 = 0.9503364562988281, (t_c - t_b_)*1000 = 0.027418136596679688, (t_end - t_c)*1000 = 0.06842613220214844, (t_end - t_a)*1000 = 1.1603832244873047 (t_b - t_a)*1000 = 0.12922286987304688, (t_b_ - t_b)*1000 = 0.9565353393554688, (t_c - t_b_)*1000 = 0.030279159545898438, (t_end - t_c)*1000 = 0.06771087646484375, (t_end - t_a)*1000 = 1.1837482452392578 ``` #### my profile result ##### torch2.1 + <img width="576" alt="image" src="https://github.com/user-attachments/assets/808045f9-5361-4c6a-af66-592cd5bd27b4"> ##### torch2.3 + <img width="693" alt="image" src="https://github.com/user-attachments/assets/a72bf0aa-fe33-49d3-8229-73e124934542"> ### Versions Collecting environment information... PyTorch version: 2.3.1 Is debug build: True CUDA used to build PyTorch: 12.3 ROCM used to build PyTorch: N/A OS: Tencent tlinux 2.2 (Final) (x86_64) GCC version: (GCC) 9.3.0 Clang version: Could not collect CMake version: version 3.18.5 Libc version: glibc-2.17 Python version: 3.8.12 (default, Jul 12 2024, 10:30:21) [GCC 9.3.0] (64-bit runtime) Python platform: Linux-5.4.203-1-tlinux4-0011.spr.0001-x86_64-with-glibc2.2.5 Is CUDA available: True CUDA runtime version: 12.3.107 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA H800 GPU 1: NVIDIA H800 GPU 2: NVIDIA H800 GPU 3: NVIDIA H800 GPU 4: NVIDIA H800 GPU 5: NVIDIA H800 GPU 6: NVIDIA H800 GPU 7: NVIDIA H800 Nvidia driver version: 525.105.17 cuDNN version: Probably one of the following: /usr/lib64/libcudnn.so.9.0.0 /usr/lib64/libcudnn_adv.so.9.0.0 /usr/lib64/libcudnn_cnn.so.9.0.0 /usr/lib64/libcudnn_engines_precompiled.so.9.0.0 /usr/lib64/libcudnn_engines_runtime_compiled.so.9.0.0 /usr/lib64/libcudnn_graph.so.9.0.0 /usr/lib64/libcudnn_heuristic.so.9.0.0 /usr/lib64/libcudnn_ops.so.9.0.0 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 192 On-line CPU(s) list: 0-191 Thread(s) per core: 2 Core(s) per socket: 48 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 143 Model name: Intel(R) Xeon(R) Platinum 8476C Stepping: 8 CPU MHz: 3100.000 CPU max MHz: 2601.0000 CPU min MHz: 800.0000 BogoMIPS: 5200.00 Virtualization: VT-x L1d cache: 48K L1i cache: 32K L2 cache: 2048K L3 cache: 99840K NUMA node0 CPU(s): 0-47,96-143 NUMA node1 CPU(s): 48-95,144-191 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities Versions of relevant libraries: [pip3] flamingo-pytorch==0.1.2 [pip3] numpy==1.24.4 [pip3] open_clip_torch==2.26.1 [pip3] optree==0.12.1 [pip3] torch==2.3.1 [pip3] torchvision==0.18.1 [conda] Could not collect cc @msaroufim @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @frank-wei
needs reproduction,module: performance,module: cpu,triaged,module: regression,module: intel
low
Critical
2,479,736,581
yt-dlp
support for JioSaavn artist downloads
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm requesting a site-specific feature - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region _No response_ ### Example URLs https://www.jiosaavn.com/artist/krsna-songs/rYLBEve2z3U_ ### Provide a description that is worded well enough to be understood downloading from JioSaavn supports songs and albums but not artests ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell [debug] Command-line config: ['-vU', 'https://www.jiosaavn.com/artist/krsna-songs/rYLBEve2z3U_'] [debug] Portable config "C:\Users\aryan\AppData\Local\WinGet\Packages\yt-dlp.yt-dlp_Microsoft.Winget.Source_8wekyb3d8bbwe\yt-dlp.conf": ['--downloader', 'aria2c', '--output', '%userprofile%\\downloads\\yt-dlp\\%(title)s.%(ext)s', '--extractor-args', 'youtube:player_client=ios,web,mweb'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version nightly@2024.08.21.232751 from yt-dlp/yt-dlp-nightly-builds [6f9e65374] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: ffmpeg 6.1-full_build-www.gyan.dev (setts), ffprobe 6.1-full_build-www.gyan.dev [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-13.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1830 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest Latest version: nightly@2024.08.21.232751 from yt-dlp/yt-dlp-nightly-builds yt-dlp is up to date (nightly@2024.08.21.232751 from yt-dlp/yt-dlp-nightly-builds) [generic] Extracting URL: https://www.jiosaavn.com/artist/krsna-songs/rYLBEve2z3U_ [generic] rYLBEve2z3U_: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] rYLBEve2z3U_: Extracting information [debug] Looking for embeds ERROR: Unsupported URL: https://www.jiosaavn.com/artist/krsna-songs/rYLBEve2z3U_ Traceback (most recent call last): File "yt_dlp\YoutubeDL.py", line 1626, in wrapper File "yt_dlp\YoutubeDL.py", line 1761, in __extract_info File "yt_dlp\extractor\common.py", line 740, in extract File "yt_dlp\extractor\generic.py", line 2526, in _real_extract yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.jiosaavn.com/artist/krsna-songs/rYLBEve2z3U_ ```
site-enhancement
low
Critical
2,479,738,098
pytorch
Python310 trying to run GFPGAN comes: ImportError: cannot import name 'sym_float' from 'torch' (unknown location)
### 🐛 Describe the bug Windows 11 Python310 trying to run GFPGAN ( python inference_gfpgan.py -i inputs/whole_imgs -o results -v 1.3 -s 2) whatever I try it comes: " from torch import sym_float, sym_int, sym_max ImportError: cannot import name 'sym_float' from 'torch' (unknown location)" ### Versions Any remedy?
triaged
low
Critical
2,479,882,604
rust
Tracking Issue for `new_zeroed_alloc`
Feature gate: `#![feature(new_zeroed_alloc)]` Split-out from https://github.com/rust-lang/rust/issues/63291 as a result of stabilizing most of its API! It's zeroed instead of uninit constructors, nothing too complicated! ### Public API It's `new_zeroed` and `new_zeroed_slice` on every major allocation type like Box, Rc, Arc. ```rust impl<T> Box<T> { pub fn new_zeroed() -> Box<MaybeUninit<T>> {…} } impl<T> Arc<T> { pub fn new_zeroed() -> Arc<MaybeUninit<T>> {…} } impl<T> Rc<T> { pub fn new_zeroed() -> Rc<MaybeUninit<T>> {…} } impl<[T]> Box<T> { pub fn new_zeroed_slice() -> Box<MaybeUninit<[T]>> {…} } impl<[T]> Arc<T> { pub fn new_zeroed_slice() -> Arc<MaybeUninit<[T]>> {…} } impl<[T]> Rc<T> { pub fn new_zeroed_slice() -> Rc<MaybeUninit<[T]>> {…} } ``` ### Steps / History - Implementation: #... - added in https://github.com/rust-lang/rust/pull/66128 - other API was added in https://github.com/rust-lang/rust/issues/63291 - [ ] Final comment period (FCP)[^1] - [ ] Stabilization PR ### Unresolved Questions - idk lol [^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
T-libs-api,C-tracking-issue
low
Minor
2,479,886,948
rust
Tracking Issue for `box_uninit_write`
Feature gate: `#![feature(box_uninit_write)]` Split-out from https://github.com/rust-lang/rust/issues/63291 as a result of stabilizing most of its API! It's a way to write to the MaybeUninit on the Box and thus initialize it! ### Public API ```rust impl<T, A> Box<MaybeUninit<T>, A> { pub fn write(mut boxed: Self, value: T) -> Box<T, A>; } ``` ### Steps / History - Implementation: #... - honestly have no idea - related API was added in https://github.com/rust-lang/rust/issues/63291 - [ ] Final comment period (FCP)[^1] - [ ] Stabilization PR ### Unresolved Questions - idk lol [^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
T-libs-api,C-tracking-issue,F-box_uninit_write
low
Minor
2,479,891,730
electron
[Bug]: Electron incorrectly detects light system theme instead of dark
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 30.1.2 ### What operating system(s) are you using? Other Linux ### Operating System Version Debian GNU/Linux 12 (bookworm) ### What arch are you using? x64 ### Last Known Working Electron version 27.3.2 ### Expected Behavior Electron should detect dark GTK/system themes as Dark theme ### Actual Behavior Electron detects the theme as dark first, then switches over to light theme. More details below. ### Testcase Gist URL _No response_ ### Additional Information With the https://github.com/aeschli/electron-theme-test.git test application, I get the following console output: ``` ~/git/tmp/electron-theme-test on  master took 8s ❯ npm start > burly-rate-begin-iqsp1@1.0.1 start > electron-forge start ✔ Checking your system ✔ Locating application ✔ Loading configuration ✔ Preparing native dependencies [0.1s] ✔ Running generateAssets hook shouldUseDarkColors: true, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: true, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: true, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: false, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: false, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: false, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false ``` Note how the `shouldUseDarkColors` is initially detected as `true` but then somehow flipping over to `false`. This matches the behaviour I've seen in VS Code, where I first saw this bug: it started out with using a dark theme, then switched over to a light theme after ~0.5s or so. These are the details of the last VS Code version which works correctly on my machine: ``` Version: 1.87.2 Commit: 863d2581ecda6849923a2118d93a088b0745d9d6 Date: 2024-03-08T15:14:59.643Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Linux x64 6.1.0-20-amd64 ``` This version does not work correctly: ``` Version: 1.92.2 Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9 Date: 2024-08-14T17:29:30.058Z Electron: 30.1.2 ElectronBuildId: 9870757 Chromium: 124.0.6367.243 Node.js: 20.14.0 V8: 12.4.254.20-electron.0 OS: Linux x64 6.1.0-20-amd64 ``` Interestingly enough, if I edit the `electron-theme-test` application like this: ```diff diff --git package.json package.json index 03a9f14..c858d78 100644 --- package.json +++ package.json @@ -16,7 +16,7 @@ }, "dependencies": {}, "devDependencies": { - "electron": "^30.3.1", + "electron": "^27.3.2", "@electron-forge/cli": "^7.4.0", "@electron-forge/maker-deb": "^7.4.0", "@electron-forge/maker-rpm": "^7.4.0", ``` ...I still get similar output re. the `shouldUseDarkColors`. :thinking: But the VS Code version using this Electron version does indeed work correctly on my machine. ``` ~/git/tmp/electron-theme-test on  master [!] ❯ npm start > burly-rate-begin-iqsp1@1.0.1 start > electron-forge start ✔ Checking your system ✔ Locating application ✔ Loading configuration ✔ Preparing native dependencies [0.1s] ✔ Running generateAssets hook shouldUseDarkColors: true, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: true, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: true, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: false, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: false, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false shouldUseDarkColors: false, shouldUseHighContrastColors: false, shouldUseInvertedColorScheme: false ``` Any ideas on how we can debug this further? Original VS Code issue: https://github.com/microsoft/vscode/issues/225470
platform/linux,bug :beetle:,30-x-y
low
Critical
2,479,910,027
ollama
Request official guidelines
Dear team, I would like to request two official guidelines: 1. Version control of Ollama models, especially different versions of models under the same tag. 2. Import Hugging Face models to Ollama. Sincerely, Zhangcheng Qiang
feature request
low
Minor
2,479,976,707
tensorflow
`tf.keras.Sequential` not a `tf.Module` since 2.16?
### Issue type Support ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.16 ### Custom code Yes ### OS platform and distribution google colab ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? I noticed that my custom module `.variables` attribute doesn't work properly in the newest versions of TF (since 2.16). That is, it doesn't contain the parameters of a `tf.keras.Sequential` model that is assigned to an attribute of my model in `__init__` (see MRE below). Is this an intended change? What's the proper way to use a `tf.keras.Model` inside a `tf.Module` now? ### Standalone code to reproduce the issue ```python import tensorflow as tf print(f"{tf.__version__=}") class X(tf.Module): def __init__(self): super().__init__() self.xxx = tf.keras.Sequential([tf.keras.layers.Dense(4)]) def __call__(self, X): tf.print(self, "called") return self.xxx(X) x=X() x(tf.random.normal(shape=(2, 3))) print(f"{x.variables=}") print(f"{list(x.submodules)=}") print(f"{isinstance(x.xxx, tf.Module)=}") ``` Output in tf 2.15.1: ``` tf.__version__='2.15.1' <__main__.X object at 0x7cde2c935db0> called x.variables=(<tf.Variable 'dense/kernel:0' shape=(3, 4) dtype=float32, numpy= array([[-0.28077292, 0.2326845 , 0.7107136 , -0.17309707], [ 0.5492227 , -0.37808335, 0.27558255, -0.5152782 ], [ 0.69788885, -0.5949336 , 0.63280034, 0.08288908]], dtype=float32)>, <tf.Variable 'dense/bias:0' shape=(4,) dtype=float32, numpy=array([0., 0., 0., 0.], dtype=float32)>) list(x.submodules)=[<keras.src.engine.sequential.Sequential object at 0x7cdd9f3fb460>, <keras.src.engine.input_layer.InputLayer object at 0x7cdd9eac41f0>, <keras.src.layers.core.dense.Dense object at 0x7cdda7323910>] isinstance(x.xxx, tf.Module)=True ``` Output in tf 2.16.1: ``` tf.__version__='2.16.1' <__main__.X object at 0x7e7297de1f00> called x.variables=() list(x.submodules)=[] isinstance(x.xxx, tf.Module)=False ``` Output in tf 2.17.0: ``` tf.__version__='2.17.0' <__main__.X object at 0x783c2818d690> called x.variables=() list(x.submodules)=[] isinstance(x.xxx, tf.Module)=False ``` ### Relevant log output _No response_
type:support,comp:keras,TF 2.16
low
Critical
2,479,979,627
material-ui
[core] typescript-next pipeline runs out of memory
We run TypeScript tests against `typescript@next` nightly. The pipeline (`typescript-next`) fails in the "Tests TypeScript definitions" step with the following error: ``` FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory ``` Example failure: https://app.circleci.com/pipelines/github/mui/material-ui/136928/workflows/414a50d8-8d10-4e80-b16e-bd1dbc7c6660/jobs/738223?invite=true#step-107-200 Context: the pipeline is all green because we intentionally ignore failures. See https://github.com/mui/material-ui/blob/next/.circleci/config.yml#L363-L371 **Search keywords**: TypeScript, ci, test
typescript,core,scope: infra
low
Critical
2,480,023,050
TypeScript
wrong behavior about type parameters of `as` clause in a mapped type
### 🔎 Search Terms type parameter as mapped type ### 🕗 Version & Regression Information 5.7.0-dev.20240821 ### ⏯ Playground Link https://www.typescriptlang.org/play/?ts=5.7.0-dev.20240821#code/C4TwDgpgBAkgzgZWAJwJYDsDmAeAKgPigF4pcBtAXSggA9gJ0ATOKOFDTSqAfihQFdoALigAzAIYAbOBABQoSFADyAW1TAkaLAGkIIPNToNmUAPYAjAFYQAxsEIkA3rKiuoZbVAxQA1ntOipFDiLPCaHHgeFIS09EwsAtC86BAAbhDIItoUIuTZsgC+srKi-Oh2qKboYnj4ABTAuQCUIo5QjOLA4rlQBVDObnzg0ACCxLCI7Fi1UAD0s+0QohnIEIwubgrQAELjY7HGCciCPHzHwmJSMnMLjEsraxuuW1AAwuNhUziOHV25BWQAOS-cSA6I3RbLZCrdaDVbAfjIaqOPohZRqDRfXT6NognoFQjzKAAAxBxK8LFMGPo6yKQA ### 💻 Code ```ts type IsString<T> = T[] extends string[] ? true : false type OmitStringKey<T extends object> = { [K in keyof T as IsString<T[K]> extends true ? never: K]: T[K] } function f<T>(t: T): { data: T } { type A = IsString<T> // deferred type B = A extends true ? true : false // deferred type C = IsString<{data: T}['data']> // deferred return {} as OmitStringKey<{ data: T }> // `data` is omitted } ``` ### 🙁 Actual behavior `OmitStringKey<{ data: T }>` omit `data` property. That means `IsString<T> extends true` in the `as` clause is `true`, while `T` is not decided yet. ### 🙂 Expected behavior type evaluation should be deferred ### Additional information about the issue _No response_
Help Wanted,Possible Improvement
low
Minor
2,480,033,990
electron
[Bug]: Spellchecker language change only takes effect after editing a text
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 32.0.1 ### What operating system(s) are you using? Windows ### Operating System Version Window 11 23H2 ### What arch are you using? x64 ### Last Known Working Electron version _No response_ ### Expected Behavior Hi there, we allow the user to change the application language at runtime, and want the spellchecker to sync with the selected language. The expected behavior would be that all text inputs are re-checked immediately when the spellchecker languages are changed. ### Actual Behavior While changing the spellchecker language dynamically works in principle, we noticed that there seems to be some kind of cache involved that re-checks a text only after is has been edited, so changing the spellchecker languages will not take effect until the user types in the input. In the fiddle, I created a minimal reproduction that changes the spellchecker language after 5 seconds. Thanks for looking into it! ### Testcase Gist URL https://gist.github.com/kryops/fbba516034134fc9051138b05ce0a5aa ### Additional Information _No response_
bug :beetle:,platform/all,status/confirmed,has-repro-gist,32-x-y,33-x-y
low
Critical
2,480,043,949
godot
2D physics interpolation ghosted sprite2d
### Tested versions 4.3 official ### System information win10 ### Issue description Enable physical interpolation ![1](https://github.com/user-attachments/assets/5e59bb93-296d-40b2-856b-bb8e69803e3c) Turn off physical interpolation ![2](https://github.com/user-attachments/assets/b766d1c3-99b9-427e-9303-45f635a9098e) note:put the input response code into the _input and the ghost disappears. ### Steps to reproduce See example project ### Minimal reproduction project (MRP) [t.zip](https://github.com/user-attachments/files/16707007/t.zip)
documentation,topic:physics,topic:2d
low
Minor
2,480,061,398
rust
wasip2 uses wasi:random/random to generate hashmap_random_keys
wasip2 currently still uses (all?) wasip1 implementations internally. The generation of `hashmap_random_keys` for wasip1 is implemented here: https://github.com/rust-lang/rust/blob/a32d4a0e822a29a6682e08b75a8df4c29c7fa9f1/library/std/src/sys/pal/wasi/helpers.rs#L109-L117 using the wasi::random_get (https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#-random_getbuf-pointeru8-buf_len-size---result-errno) general-purpose function. With the popular wasi-preview1-component adapter crate (https://github.com/bytecodealliance/wasmtime/tree/main/crates/wasi-preview1-component-adapter), this call is mapped to the wasi:random/random wasip2 interface, which must be backed by a secure random source. This is unfortunate as wasip2 Rust code which only uses randomness in hashmaps now required a secure random source when an insecure one would suffice. In wasip2, there is the separate wasi:random/insecure-seed interface, which is specifically designed to provide DoS protection when initialising a hash map. When the wasip2 implementation is fleshed out, perhaps the `hashmap_random_keys` function could be implemented with a pseudo-RNG that is seeded with one call to wasi:random/insecure-seed's insecure-seed()? cc @alexcrichton
O-wasm,O-wasi
low
Minor
2,480,133,170
go
cmd/go: TestScript/mod_tidy_convergence_loop failures
``` #!watchflakes default <- pkg == "cmd/go" && test == "TestScript/mod_tidy_convergence_loop" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8738976142232330241)): === RUN TestScript/mod_tidy_convergence_loop === PAUSE TestScript/mod_tidy_convergence_loop === CONT TestScript/mod_tidy_convergence_loop script_test.go:135: 2024-08-21T19:50:51Z script_test.go:137: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3420655505/tmpdir432322072/mod_tidy_convergence_loop2580139455 script_test.go:159: PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3420655505/tmpdir432322072/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin HOME=/no-home CCACHE_DISABLE=1 GOARCH=riscv64 ... > cp go.mod go.mod.orig # 'go mod tidy' without -e should fail without modifying go.mod, # because it cannot resolve x, y, and z simultaneously. (0.043s) > ! go mod tidy [signal: segmentation fault] > cmp go.mod go.mod.orig > stderr '^go: finding module for package example\.net/w$' script_test.go:159: FAIL: testdata/script/mod_tidy_convergence_loop.txt:47: stderr '^go: finding module for package example\.net/w$': no match for `(?m)^go: finding module for package example\.net/w$` in stderr script_test.go:401: go was invoked but no counters were incremented --- FAIL: TestScript/mod_tidy_convergence_loop (0.10s) — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,480,174,095
pytorch
[DSD] Test could fail in test_fsdp_dsd.py
### 🐛 Describe the bug In `test_fsdp_dsd.py`, the test `test_save_with_fsdp2_tp_and_load_with_tp` could fail if the model is not fully tensor parallelized. For example, if commented out some lines in `tp_parallelize_plan`, the test will fail. ### Versions 2.5.0.dev20240820 cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
oncall: distributed,triaged
low
Critical
2,480,193,723
flutter
Having different `CardTheme`s for all the M3 `Card` variants
### Use case With the introduction of Material Design 3, now cards have basically three main variants : elevated, filled, outlined (see: https://m3.material.io/components/cards/overview). They are now all implemented in Flutter with `Card`, `Card.filled`, and `Card.outlined` respectively. The issue is that we still have a single `CardTheme` that overrides all the variants' defaults in case of a strict definition. ### Proposal Following what was already done for buttons, we propose to add two new theme classes `FilledCardTheme` and `OutlinedCardTheme`, so that it is possible to have custom themes for all the available card variants.
c: new feature,framework,f: material design,c: proposal,P3,team-design,triaged-design,f: theming
low
Minor
2,480,196,851
godot
get_debug_mesh doesn't generate any valid surfaces
### Tested versions Reproducible in 4.3 ### System information Godot v4.3.stable - Windows 10.0.19044 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 32.0.15.6094) - AMD Ryzen 9 5950X 16-Core Processor (32 Threads) ### Issue description CollisionShape3D.get_debug_mesh() seems to generate an ArrayMesh that is only useful as a visual reference, i.e. used as the mesh of a MeshInstance3D. It also seems the only straightforward way to extract collision mesh data from a CollisionShape3D generated from any -col's imported from Blender. However, it doesn't seem to have any surface data of its own accessible via MeshDataTool, and using SurfaceTool generates nonsensical triangles from the debug ArrayMesh. | debug mesh | surfacetool mesh | | ------------- | ------------- | | ![openseam (DEBUG) 22 Aug 24 1_37_20 PM](https://github.com/user-attachments/assets/a2de9003-1029-4431-8e82-44e3e8245c85) | ![openseam (DEBUG) 22 Aug 24 1_37_34 PM](https://github.com/user-attachments/assets/e855f591-b959-4809-a283-623a05a8ca18) | Is there a something I'm missing here? Is there a reason why the edges of get_debug_mesh() aren't plainly accessible? ### Steps to reproduce 1. Open project and play 2. Hit spacebar or left mouse button to see the results of surfacetool overlayed on the results of get_debug_mesh() ### Minimal reproduction project (MRP) [debug_mrp.zip](https://github.com/user-attachments/files/16707860/debug_mrp.zip)
documentation,topic:physics,topic:3d
low
Critical
2,480,214,243
ollama
glm-4v-9b
GLM4-9b models has added, however GLM-4v-9b is still missing, please also add: https://huggingface.co/THUDM/glm-4v-9b
model request
low
Minor
2,480,218,241
next.js
Edge runtime is sensitive to order of "exports" in dependency, will only use edge-light if it's defined before browser
### Link to the code that reproduces this issue https://github.com/mcintyre94/edge-light-test ### To Reproduce 1. Start the application in dev mode (`npm run dev`) 2. Call the API route: `curl http://localhost:3000/api` 3. Notice in the logs: `hello from browser.mjs` 4. Change package.json from `"@callumtest/edge-light-test-package": "0.0.1",` to `"@callumtest/edge-light-test-package": "0.0.2",` 5. Install updated dependency (`npm install`) 6. Start the application in dev mode (`npm run dev`) 7. Call the API route: `curl http://localhost:3000/api` 8. Notice in the logs: `hello from edge.mjs` ### Current vs. Expected behavior The only difference between these two versions is the order of `exports` in package.json. You can see this on npmjs: https://www.npmjs.com/package/@callumtest/edge-light-test-package?activeTab=versions 0.0.1 has browser first: ```json "exports": { "types": "./dist/index.d.ts", "browser": { "import": "./dist/index.browser.mjs" }, "edge-light": { "import": "./dist/index.edge.mjs" } }, ``` 0.0.2 has edge-light first: ```json "exports": { "types": "./dist/index.d.ts", "edge-light": { "import": "./dist/index.edge.mjs" }, "browser": { "import": "./dist/index.browser.mjs" } }, ``` It feels unintuitive to me that the order of exports affects Next's behaviour here. I think if `edge-light` is included then it should be used, even if `browser` is also included and comes first. I don't think there's any case where a package maintainer would include `edge-light` but prefer `browser` to be used instead. ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:46 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6031 Available memory (MB): 65536 Available CPU cores: 16 Binaries: Node: 20.15.0 npm: 10.8.2 Yarn: 1.22.22 pnpm: 9.2.0 Relevant Packages: next: 15.0.0-canary.125 // Latest available version is detected (15.0.0-canary.125). eslint-config-next: N/A react: 19.0.0-rc-1eaccd82-20240816 react-dom: 19.0.0-rc-1eaccd82-20240816 typescript: 5.5.4 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Developer Experience, Module Resolution ### Which stage(s) are affected? (Select all that apply) next dev (local) ### Additional context _No response_
bug,Module Resolution
low
Minor
2,480,226,323
PowerToys
PowerLauncher.exe causes other running MSI installers to fail to set up the shortcut
### Microsoft PowerToys version 0.80 or 0.83 ### Installation method GitHub ### Running as admin Yes ### Area(s) with issue? PowerToys Run ### Steps to reproduce This is a race bug, so there are machines that do not experience it and those that are highly repeatable. In our case we saw it on many Windows 10 Home machines and on Windows 11 sandbox, more often during upgrade, rarely during clean install, and using msi installer rather than an exe bundle. To reproduce PowerToys.PowerLauncher.exe bug we need msi installer that installs an application that shows "toast notifications". Such app needs a shortcut with two extra attributes: ``` <Shortcut ... > <ShortcutProperty Key="System.AppUserModel.ID" Value="..."/> <ShortcutProperty Key="{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 26" Value="..."/> </Shortcut> ``` There are many such apps out there, and I guess many of them experience the issue and have trouble pinpointing the root cause, e.g.: https://github.com/microsoft/WSL/issues/11276 Steps: - You'll need Windows 11 sandbox - prepare an msi installer that install a shortcut with toast notification attributes. I prepared such: https://github.com/avjts/powerlauncher-bug, clone it and build. It contains a Readme. Most likely you'll need a couple of such installers with increasing version numbers, as it is more likely to reproduce the bug during updgrade. - confirm PowerToys.PowerLauncher.exe is running - start MyEmptyApp-3.6.285.msi, then MyEmptyApp-3.6.295.msi, and so on, until you see a message box with "Warning 1946 ..." In the procmon log (screenshot below), you can see PowerLauncher.exe opens MyApp.lnk in share-read mode. Then during PowerLauncher is reading .lnk contents (50ms) two other processes try to access .lnk. Microsoft Defender queries the file and msiexec tries to set attributes in exclusive mode, and they are denied. ![procmon-powerlauncher-bug](https://github.com/user-attachments/assets/34f81a71-2505-4355-9bb2-73c6490b33d8) If you deactivate the "PowerToys Run," the problem will disappear. Problably PowerLauncher.exe should postpone its actions a bit to allow msi installers to finish their job. ### ✔️ Expected Behavior PowerLauncher.exe running in the background must not interfere msiexec installing shortcuts with shell attributes. ### ❌ Actual Behavior PowerLauncher.exe running in the background opens shortcut files created by msiexec and blocks subsequent operations performed by msiexec. ### Other Software sample installer, that may help to reproduce the bug: https://github.com/avjts/powerlauncher-bug
Issue-Bug,Needs-Triage
low
Critical
2,480,232,263
flutter
Late nullable callback causes compilation error in web only
### Steps to reproduce 1. Create a new flutter app 2. Paste the attached code in main.dart 3. Run the application in Chrome or Edge ### Expected results The app should run in Chrome/Edge as it does in Windows: ``` Launching lib\main.dart on Windows in debug mode... √ Built build\windows\x64\runner\Debug\repro.exe Connecting to VM Service at ws://127.0.0.1:63582/Te-PSxNQZzQ=/ws Connected to the VM Service. Lost connection to device. Exited. ``` ### Actual results Notice the error appears only in the callback defined as late. ``` Launching lib\main.dart on Chrome in debug mode... lib/main.dart:153:73: Error: Can't use an expression of type 'void Function()?' as a function because it's potentially null. Try calling using ?.call instead. onChanged: _koCallback == null ? null : (value) => _koCallback(), ^ Failed to compile application. Exited (1). ``` ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( // This is the theme of your application. // // TRY THIS: Try running your application with "flutter run". You'll see // the application has a purple toolbar. Then, without quitting the app, // try changing the seedColor in the colorScheme below to Colors.green // and then invoke "hot reload" (save your changes or press the "hot // reload" button in a Flutter-supported IDE, or press "r" if you used // the command line to start the app). // // Notice that the counter didn't reset back to zero; the application // state is not lost during the reload. To reset the state, use hot // restart instead. // // This works for code too, not just values: Most code changes can be // tested with just a hot reload. colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); // This widget is the home page of your application. It is stateful, meaning // that it has a State object (defined below) that contains fields that affect // how it looks. // This class is the configuration for the state. It holds the values (in this // case the title) provided by the parent (in this case the App widget) and // used by the build method of the State. Fields in a Widget subclass are // always marked "final". final String title; @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { int _counter = 0; void _incrementCounter() { setState(() { // This call to setState tells the Flutter framework that something has // changed in this State, which causes it to rerun the build method below // so that the display can reflect the updated values. If we changed // _counter without calling setState(), then the build method would not be // called again, and so nothing would appear to happen. _counter++; }); } @override Widget build(BuildContext context) { // This method is rerun every time setState is called, for instance as done // by the _incrementCounter method above. // // The Flutter framework has been optimized to make rerunning build methods // fast, so that you can just rebuild anything that needs updating rather // than having to individually change instances of widgets. return Scaffold( appBar: AppBar( // TRY THIS: Try changing the color here to a specific color (to // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar // change color while the other colors stay the same. backgroundColor: Theme.of(context).colorScheme.inversePrimary, // Here we take the value from the MyHomePage object that was created by // the App.build method, and use it to set our appbar title. title: Text(widget.title), ), body: Center( // Center is a layout widget. It takes a single child and positions it // in the middle of the parent. child: Column( // Column is also a layout widget. It takes a list of children and // arranges them vertically. By default, it sizes itself to fit its // children horizontally, and tries to be as tall as its parent. // // Column has various properties to control how it sizes itself and // how it positions its children. Here we use mainAxisAlignment to // center the children vertically; the main axis here is the vertical // axis because Columns are vertical (the cross axis would be // horizontal). // // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint" // action in the IDE, or press "p" in the console), to see the // wireframe for each widget. mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ const Text( 'You have pushed the button this many times:', ), Text( '$_counter', style: Theme.of(context).textTheme.headlineMedium, ), CheckField(), ], ), ), floatingActionButton: FloatingActionButton( onPressed: _incrementCounter, tooltip: 'Increment', child: const Icon(Icons.add), ), // This trailing comma makes auto-formatting nicer for build methods. ); } } typedef CheckFieldValueChanged = void Function(bool value); typedef Callback = void Function(); class CheckField extends StatelessWidget { late final Callback? _koCallback; final Callback? _okCallback; CheckField({ Callback? okCallback, Callback? koCallback, super.key, }) : _okCallback = okCallback { _koCallback = koCallback; } @override Widget build(BuildContext context) { return Column( children: [ Checkbox( value: true, onChanged: _okCallback == null ? null : (value) => _okCallback(), ), Checkbox( value: true, onChanged: _koCallback == null ? null : (value) => _koCallback(), ), ], ); } } ``` </details> ### Screenshots or Video _No response_ ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.24.1, on Microsoft Windows [Version 10.0.22621.4037], locale en-US) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.10.1) [√] Android Studio (version 2023.2) [√] VS Code, 64-bit edition (version 1.92.2) [√] Connected device (3 available) [√] Network resources ``` </details>
dependency: dart,platform-web,has reproducible steps,P2,team-web,triaged-web,dependency:dart-triaged,found in release: 3.24,found in release: 3.25
low
Critical
2,480,254,044
go
cmd/compile: iter implementations significantly slower than equivalent for loops
### Go version go version go1.23.0 darwin/arm64(gotip too) ### Output of `go env` in your module/workspace: ```shell GO111MODULE='on' GOARCH='arm64' GOBIN='' GOCACHE='/Users/admin/Library/Caches/go-build' GOENV='/Users/admin/Library/Application Support/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='arm64' GOHOSTOS='darwin' GOINSECURE='' GOMODCACHE='/Users/admin/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='darwin' GOPATH='/Users/admin/go' GOPRIVATE='' GOPROXY='' GOROOT='/opt/homebrew/Cellar/go/1.23.0/libexec' GOSUMDB='sum.golang.google.cn' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/opt/homebrew/Cellar/go/1.23.0/libexec/pkg/tool/darwin_arm64' GOVCS='' GOVERSION='go1.23.0' GODEBUG='' GOTELEMETRY='on' GOTELEMETRYDIR='/Users/admin/Library/Application Support/go/telemetry' GCCGO='gccgo' GOARM64='v8.0' AR='ar' CC='cc' CXX='c++' CGO_ENABLED='1' GOMOD='/Users/admin/Developer/test/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/7s/9gl4fgf97rlgr4gt47nythtw0000gn/T/go-build1880376490=/tmp/go-build -gno-record-gcc-switches -fno-common' ``` ### What did you do? Related Go files: iter: https://go.dev/play/p/iRuU4kNXngq iter_test: https://go.dev/play/p/4C_EbsSnlQH ``` go test -bench=. -benchmem goos: darwin goarch: arm64 pkg: ksco/test cpu: Apple M3 Pro BenchmarkSliceFunctions/AllForLoop-10-12 321253351 3.475 ns/op 0 B/op 0 allocs/op BenchmarkSliceFunctions/All-10-12 250128255 4.530 ns/op 0 B/op 0 allocs/op BenchmarkSliceFunctions/BackwardForLoop-10-12 344788078 3.509 ns/op 0 B/op 0 allocs/op BenchmarkSliceFunctions/Backward-10-12 87433018 13.84 ns/op 0 B/op 0 allocs/op BenchmarkSliceFunctions/ValuesForLoop-10-12 344200261 3.476 ns/op 0 B/op 0 allocs/op BenchmarkSliceFunctions/Values-10-12 263804847 4.544 ns/op 0 B/op 0 allocs/op BenchmarkSliceFunctions/AppendForLoop-10-12 13531671 87.18 ns/op 248 B/op 5 allocs/op BenchmarkSliceFunctions/AppendSeq-10-12 8190546 145.6 ns/op 312 B/op 8 allocs/op BenchmarkSliceFunctions/CollectForLoop-10-12 92614030 13.41 ns/op 80 B/op 1 allocs/op BenchmarkSliceFunctions/Collect-10-12 8045440 146.8 ns/op 312 B/op 8 allocs/op BenchmarkSliceFunctions/SortForLoop-10-12 57416722 20.59 ns/op 80 B/op 1 allocs/op BenchmarkSliceFunctions/Sorted-10-12 7757234 153.0 ns/op 312 B/op 8 allocs/op BenchmarkSliceFunctions/ChunkForLoop-10-12 1000000000 0.7995 ns/op 0 B/op 0 allocs/op BenchmarkSliceFunctions/Chunk-10-12 231948748 5.167 ns/op 0 B/op 0 allocs/op BenchmarkMapFunctions/AllForLoopMap-10-12 15668906 76.65 ns/op 0 B/op 0 allocs/op BenchmarkMapFunctions/AllMap-10-12 15576559 76.58 ns/op 0 B/op 0 allocs/op BenchmarkMapFunctions/KeysForLoopMap-10-12 15780648 75.70 ns/op 0 B/op 0 allocs/op BenchmarkMapFunctions/KeysMap-10-12 15699544 76.53 ns/op 0 B/op 0 allocs/op BenchmarkMapFunctions/ValuesForLoopMap-10-12 15928665 75.93 ns/op 0 B/op 0 allocs/op BenchmarkMapFunctions/ValuesMap-10-12 15532413 76.55 ns/op 0 B/op 0 allocs/op BenchmarkMapFunctions/InsertForLoopMap-10-12 1803122 668.6 ns/op 1401 B/op 2 allocs/op BenchmarkMapFunctions/InsertMap-10-12 1655206 728.1 ns/op 1489 B/op 5 allocs/op BenchmarkMapFunctions/CollectForLoopMap-10-12 5277978 226.0 ns/op 420 B/op 1 allocs/op BenchmarkMapFunctions/CollectMap-10-12 3718111 321.8 ns/op 716 B/op 5 allocs/op PASS ok ksco/test 34.819s ``` Linux machines and x86 will also be a bit slower. Gotip was also used, with similar results. Additionally, when examining the assembly output generated by ``` go build -gcflags="-S" iter.go ``` I noticed that certain functions contain additional instructions that appear to be unnecessary, which could be contributing to the observed performance differences. ### What did you see happen? Analysis of the generated assembly revealed that iterator-based implementations (e.g., `slices.All`, `slices.Backward`, `slices.Chunk`) introduce additional overhead compared to traditional for-loops: 1. Additional function calls: - Iterator functions themselves - Closure function calls - Yield function calls 2. Memory allocations: - Heap allocations for closures and iterator states (via `runtime.newobject`) - Larger stack frames 3. Additional control flow: - Iterator state checks - Yield function return checks 4. Indirect function calls: - Calls through function pointers (e.g., `CALL (R4)` observed in the `chunk` function) 5. Increased register usage and stack operations: - More registers used for managing iterator state - More frequent stack operations for saving and restoring state 6. Additional safety checks: - E.g., slice size validation in `slices.Chunk` 7. Increased code size: - Iterator versions of functions are typically larger than their for-loop counterparts Specifically for `slices.Chunk` observed: - `runtime.newobject` calls for creating closure objects - Closure setup, including function pointer and captured variable initialization - Creation and invocation of `slices.Chunk[go.shape.[]int,go.shape.int].func1` - Multiple closure calls during iteration - Checks on yield function return values Similar issues were observed in other iterator-related function implementations. ### What did you expect to see? According to the Go Wiki's Rangefunc Experiment [documentation](https://go.dev/wiki/RangefuncExperiment#can-range-over-a-function-perform-as-well-as-hand-written-loops), the optimized code structure in simple cases is almost identical to a manually written for loop. However, assembly analysis suggests that the current implementations may introduce complexity and potential performance overhead. While these implementations are already quite effective, there is hope that further optimizations could align their performance with traditional for loops in most simple scenarios.
Performance,NeedsInvestigation,compiler/runtime
medium
Critical
2,480,255,275
godot
Subresources saving without NOTIFICATION_EDITOR_PRE_SAVE firing
### Tested versions v4.3.stable.official [77dcf97d8] (also was occurring on 4.2 stable) ### System information Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated AMD Radeon RX 6600 (Advanced Micro Devices, Inc.; 31.0.12027.9001) - AMD Ryzen 5 3600 6-Core Processor (12 Threads) ### Issue description A node which modifies a sub-resource of a resource, for purposes of a tool script, fails to run `NOTIFICATION_PRE_SAVE` on the node before saving changes to the subresource, when saving a DIFFERENT scene in the editor. Either the `NOTIFICATION_PRE_SAVE`/`NOTIFICATION_POST_SAVE` should fire for the node, or the changes to the subresource should not be saved (since no node using that resource or subresource is being saved?) The actual issue here is that I have a shader which adjusts a texture size based on a tilemap; the size differs from scene to scene, but saving *any* of the scenes that uses this, appropriately resizes the texture to `1024x1024` in the `PRE_SAVE` notification - but when saving *literally any other scene*, I end up with some random other values in my git changes that I need to avoid accidentally committing. (The entire point of the PRE_SAVE here was to prevent any git changes to that...) ### Steps to reproduce Have a tool script node that uses `NOTIFICATION_EDITOR_PRE_SAVE`, making a modification to a sub-resource of a resource of the node; and then modifies it again in `NOTIFICATION_EDITOR_POST_SAVE` or somewhere else (point being, the value while the editor is open, is different from the value on disk, as the value is always changed immediately before saving to disk). With that scene open, save a *different* scene. `NOTIFICATION_EDITOR_PRE_SAVE` does not fire, but any changes to the sub-resource ARE saved, thus saving the value that is intended to never be saved. ### Minimal reproduction project (MRP) [mrp_presave.zip](https://github.com/user-attachments/files/16708087/mrp_presave.zip) With both `presave_example.tscn` and `random_other_scene.tscn` open in the editor, note the behavior when saving. - With `presave_example.tscn` as the active scene, saving does as expected; the PRE_ and POST_ save events fire, and `dummy.tres` reads `width = 50` on the `NoiseTexture2D` as intended. - With `random_other_scene.tscn` as the active scene, saving does NOT fire the PRE_ and POST_ save events for `presave_example.tscn`, but the changes to `dummy.tres` (which is only used by `presave_example.tscn`, and is *not at all* used by `random_other_scene.tscn`, ***are saved anyway***, thus saving `width = 200` to the `NoiseTexture2D` in `dummy.tres`. - Additionally, note that if `presave_example.tscn` is *not open at all*, saving `random_other_scene.tscn` does NOT cause this behavior. It appears to me as though it is saving the resources used by all open scenes, instead of only the scene(s) being saved.
discussion,topic:editor,topic:plugin,needs testing
low
Minor