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,560,249,524
rust
Coverage information is wrong when using tracing
So found an interesting thing when developing cargo-tarpaulin and confirmed it exists also with cargo-llvm-cov and using the raw llvm tools. When `#[tracing::instrument]` is added to a function the function body is not included in the coverage instrumentation. This doesn't happen with `#[tokio::main]` and I'm yet to create a more minimal reproduction with a less intense proc macro. Project setup: ``` cargo new --lib tracing-instrument cargo add tracing ``` In `src/lib.rs` ```rust use tracing::instrument; #[instrument] fn instrumented_function() { println!("Hello"); } #[cfg(test)] mod tests { use super::*; #[test] fn is_it_hit() { instrumented_function(); } } ``` If you run something like `cargo llvm-cov --html` on this project you'll see only `#[instrument]` is marked as covered. If we comment out `#[instrument]` then the function signature, body and closing brace are marked as covered regions of codes. This suggests to me there's something a bit wrong with the llvm instrumentation setup and how it interacts with procedural macros.
T-compiler,C-bug,A-proc-macros,A-code-coverage
low
Minor
2,560,278,549
stable-diffusion-webui
[Bug]: ImportError: cannot import name 'TypeIs' from 'typing_extensions'
### Checklist - [ ] The issue exists after disabling all extensions - [ ] The issue exists on a clean installation of webui - [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui - [ ] The issue exists in the current version of the webui - [ ] The issue has not been reported before recently - [ ] The issue has been reported before but has not been fixed yet ### What happened? https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/16383 Building at least the `auto-cpu` image fails with: `ImportError: cannot import name 'TypeIs' from 'typing_extensions' (/opt/conda/lib/python3.10/site-packages/typing_extensions.py)` The linked discussion suggests modifying the Dockerfile to update the `typing_extensions` module to a newer version, which fixes the issue. ### Steps to reproduce the problem `docker compose --profile auto-cpu up --build` ### What should have happened? Build should not fail with an ImportError ### What browsers do you use to access the UI ? _No response_ ### Sysinfo n/a ### Console logs ```Shell $ docker compose --profile auto-cpu up --build [+] Building 0.8s (26/26) FINISHED docker:default => [auto-cpu internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 2.96kB 0.0s => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) 0.0s => [auto-cpu internal] load metadata for docker.io/pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime 0.8s => [auto-cpu internal] load metadata for docker.io/alpine/git:2.36.2 0.8s => [auto-cpu internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [auto-cpu download 1/9] FROM docker.io/alpine/git:2.36.2@sha256:ec491c893597b68c92b88023827faa771772cfd5e106b76c713fa5e1c75dea84 0.0s => [auto-cpu stage-1 1/11] FROM docker.io/pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime@sha256:0279f7aa29974bf64e61d0ff6e979b41a249b3662a46e30778dbf80b8c99c361 0.0s => [auto-cpu internal] load build context 0.0s => => transferring context: 122B 0.0s => CACHED [auto-cpu stage-1 2/11] RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y fonts-dejavu-core rsync git jq moreutils aria2 ffmpeg libglfw3-dev libgles2-mesa-dev pkg-config libcairo2 libcairo2-dev build-essential 0.0s => CACHED [auto-cpu stage-1 3/11] RUN --mount=type=cache,target=/root/.cache/pip git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git && cd stable-diffusion-webui && git reset --hard v1.9.4 && pip install -r requirements_versions.txt 0.0s => CACHED [auto-cpu download 2/9] COPY clone.sh /clone.sh 0.0s => CACHED [auto-cpu download 3/9] RUN . /clone.sh stable-diffusion-webui-assets https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets.git 6f7db241d2f8ba7457bac5ca9753331f0c266917 0.0s => CACHED [auto-cpu download 4/9] RUN . /clone.sh stable-diffusion-stability-ai https://github.com/Stability-AI/stablediffusion.git cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf && rm -rf assets data/**/*.png data/**/*.jpg data/**/*.gif 0.0s => CACHED [auto-cpu download 5/9] RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f14c9f7a5b4813144b2fb9 0.0s => CACHED [auto-cpu download 6/9] RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git ab527a9a6d347f364e3d185ba6d714e22d80cb3c 0.0s => CACHED [auto-cpu download 7/9] RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2cf03aaf6e704197fd0dae7c7f96aa59cf1b11c9 0.0s => CACHED [auto-cpu download 8/9] RUN . /clone.sh generative-models https://github.com/Stability-AI/generative-models 45c443b316737a4ab6e40413d7794a7f5657c19f 0.0s => CACHED [auto-cpu download 9/9] RUN . /clone.sh stable-diffusion-webui-assets https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets 6f7db241d2f8ba7457bac5ca9753331f0c266917 0.0s => CACHED [auto-cpu stage-1 4/11] COPY --from=download /repositories/ /stable-diffusion-webui/repositories/ 0.0s => CACHED [auto-cpu stage-1 5/11] RUN mkdir /stable-diffusion-webui/interrogate && cp /stable-diffusion-webui/repositories/clip-interrogator/clip_interrogator/data/* /stable-diffusion-webui/interrogate 0.0s => CACHED [auto-cpu stage-1 6/11] RUN --mount=type=cache,target=/root/.cache/pip pip install pyngrok xformers==0.0.26.post1 git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e 0.0s => CACHED [auto-cpu stage-1 7/11] RUN apt-get -y install libgoogle-perftools-dev && apt-get clean 0.0s => CACHED [auto-cpu stage-1 8/11] COPY . /docker 0.0s => CACHED [auto-cpu stage-1 9/11] RUN sed -i 's/in_app_dir = .*/in_app_dir = True/g' /opt/conda/lib/python3.10/site-packages/gradio/routes.py && git config --global --add safe.directory '*' 0.0s => CACHED [auto-cpu stage-1 10/11] WORKDIR /stable-diffusion-webui 0.0s => [auto-cpu] exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:4814be6cc59d08fdedcc1d08520acf5659e1dd88e0f88aa79cf48940c1010670 0.0s => => naming to docker.io/library/sd-auto:78 0.0s => [auto-cpu] resolving provenance for metadata file 0.0s [+] Running 2/1 ✔ Network webui-docker_default Created 0.1s ✔ Container webui-docker-auto-cpu-1 Created 0.0s Attaching to auto-cpu-1 auto-cpu-1 | /stable-diffusion-webui auto-cpu-1 | total 772K auto-cpu-1 | drwxr-xr-x 1 root root 4.0K Oct 1 21:20 . auto-cpu-1 | drwxr-xr-x 1 root root 4.0K Oct 1 21:46 .. auto-cpu-1 | -rw-r--r-- 1 root root 48 Oct 1 21:19 .eslintignore auto-cpu-1 | -rw-r--r-- 1 root root 3.4K Oct 1 21:19 .eslintrc.js auto-cpu-1 | drwxr-xr-x 8 root root 4.0K Oct 1 21:19 .git auto-cpu-1 | -rw-r--r-- 1 root root 55 Oct 1 21:19 .git-blame-ignore-revs auto-cpu-1 | drwxr-xr-x 4 root root 4.0K Oct 1 21:19 .github auto-cpu-1 | -rw-r--r-- 1 root root 521 Oct 1 21:19 .gitignore auto-cpu-1 | -rw-r--r-- 1 root root 119 Oct 1 21:19 .pylintrc auto-cpu-1 | -rw-r--r-- 1 root root 84K Oct 1 21:19 CHANGELOG.md auto-cpu-1 | -rw-r--r-- 1 root root 243 Oct 1 21:19 CITATION.cff auto-cpu-1 | -rw-r--r-- 1 root root 657 Oct 1 21:19 CODEOWNERS auto-cpu-1 | -rw-r--r-- 1 root root 35K Oct 1 21:19 LICENSE.txt auto-cpu-1 | -rw-r--r-- 1 root root 13K Oct 1 21:19 README.md auto-cpu-1 | -rw-r--r-- 1 root root 146 Oct 1 21:19 _typos.toml auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:19 configs auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:19 embeddings auto-cpu-1 | -rw-r--r-- 1 root root 167 Oct 1 21:19 environment-wsl2.yaml auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:19 extensions auto-cpu-1 | drwxr-xr-x 13 root root 4.0K Oct 1 21:19 extensions-builtin auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:19 html auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:20 interrogate auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:19 javascript auto-cpu-1 | -rw-r--r-- 1 root root 1.3K Oct 1 21:19 launch.py auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:19 localizations auto-cpu-1 | drwxr-xr-x 7 root root 4.0K Oct 1 21:19 models auto-cpu-1 | drwxr-xr-x 7 root root 4.0K Oct 1 21:19 modules auto-cpu-1 | -rw-r--r-- 1 root root 185 Oct 1 21:19 package.json auto-cpu-1 | -rw-r--r-- 1 root root 841 Oct 1 21:19 pyproject.toml auto-cpu-1 | drwxr-xr-x 8 root root 4.0K Oct 1 21:16 repositories auto-cpu-1 | -rw-r--r-- 1 root root 49 Oct 1 21:19 requirements-test.txt auto-cpu-1 | -rw-r--r-- 1 root root 371 Oct 1 21:19 requirements.txt auto-cpu-1 | -rw-r--r-- 1 root root 42 Oct 1 21:19 requirements_npu.txt auto-cpu-1 | -rw-r--r-- 1 root root 645 Oct 1 21:19 requirements_versions.txt auto-cpu-1 | -rw-r--r-- 1 root root 411K Oct 1 21:19 screenshot.png auto-cpu-1 | -rw-r--r-- 1 root root 6.1K Oct 1 21:19 script.js auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:19 scripts auto-cpu-1 | -rw-r--r-- 1 root root 43K Oct 1 21:19 style.css auto-cpu-1 | drwxr-xr-x 4 root root 4.0K Oct 1 21:19 test auto-cpu-1 | drwxr-xr-x 2 root root 4.0K Oct 1 21:19 textual_inversion_templates auto-cpu-1 | -rw-r--r-- 1 root root 670 Oct 1 21:19 webui-macos-env.sh auto-cpu-1 | -rw-r--r-- 1 root root 84 Oct 1 21:19 webui-user.bat auto-cpu-1 | -rw-r--r-- 1 root root 1.4K Oct 1 21:19 webui-user.sh auto-cpu-1 | -rw-r--r-- 1 root root 2.3K Oct 1 21:19 webui.bat auto-cpu-1 | -rw-r--r-- 1 root root 5.3K Oct 1 21:19 webui.py auto-cpu-1 | -rwxr-xr-x 1 root root 11K Oct 1 21:19 webui.sh auto-cpu-1 | ./ auto-cpu-1 | model.pt auto-cpu-1 | ./ auto-cpu-1 | ViT-L-14_stats.th auto-cpu-1 | Mounted .cache auto-cpu-1 | mkdir: created directory '/data/config/auto/config_states' auto-cpu-1 | Mounted config_states auto-cpu-1 | mkdir: created directory '/stable-diffusion-webui/repositories/CodeFormer' auto-cpu-1 | mkdir: created directory '/stable-diffusion-webui/repositories/CodeFormer/weights' auto-cpu-1 | Mounted .cache auto-cpu-1 | Mounted embeddings auto-cpu-1 | Mounted config.json auto-cpu-1 | Mounted models auto-cpu-1 | Mounted styles.csv auto-cpu-1 | Mounted ui-config.json auto-cpu-1 | mkdir: created directory '/data/config/auto/extensions' auto-cpu-1 | Mounted extensions auto-cpu-1 | Installing extension dependencies (if any) auto-cpu-1 | Traceback (most recent call last): auto-cpu-1 | File "/stable-diffusion-webui/webui.py", line 13, in <module> auto-cpu-1 | initialize.imports() auto-cpu-1 | File "/stable-diffusion-webui/modules/initialize.py", line 23, in imports auto-cpu-1 | import gradio # noqa: F401 auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/gradio/__init__.py", line 3, in <module> auto-cpu-1 | import gradio.components as components auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/gradio/components/__init__.py", line 3, in <module> auto-cpu-1 | from gradio.components.bar_plot import BarPlot auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/gradio/components/bar_plot.py", line 7, in <module> auto-cpu-1 | import altair as alt auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/altair/__init__.py", line 650, in <module> auto-cpu-1 | from altair.vegalite import * auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/altair/vegalite/__init__.py", line 2, in <module> auto-cpu-1 | from .v5 import * auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/altair/vegalite/v5/__init__.py", line 2, in <module> auto-cpu-1 | from altair.expr.core import datum auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/altair/expr/__init__.py", line 7, in <module> auto-cpu-1 | from altair.expr.core import ConstExpression, FunctionExpression auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/altair/expr/core.py", line 6, in <module> auto-cpu-1 | from altair.utils import SchemaBase auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/altair/utils/__init__.py", line 14, in <module> auto-cpu-1 | from .plugin_registry import PluginRegistry auto-cpu-1 | File "/opt/conda/lib/python3.10/site-packages/altair/utils/plugin_registry.py", line 6, in <module> auto-cpu-1 | from typing_extensions import TypeAliasType, TypeIs, TypeVar auto-cpu-1 | ImportError: cannot import name 'TypeIs' from 'typing_extensions' (/opt/conda/lib/python3.10/site-packages/typing_extensions.py) auto-cpu-1 exited with code 1 ``` ``` ### Additional information _No response_
bug-report
low
Critical
2,560,358,712
TypeScript
JSDoc with @extends, type parameter and member expression gives wrong dts output
### 🔎 Search Terms jsdoc type parameter generics extends superclass template ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I reviewed the FAQ for entries about JSDoc type parameters with `@extends` I tried with TypeScript `5.0.0`, `5.6.2`, and `5.7.0-dev.20241001`. ### ⏯ Minimal repro link I needed more than one file to reproduce, which I can't do on the playground. Here's a simple reproducer: https://github.com/blutorange/issue-repro/tree/issue-typescript-missing-type-param ``` git clone https://github.com/blutorange/issue-repro cd issue-repro git checkout issue-typescript-missing-type-param npm install npm run build ``` Then open `dist/index.d.ts`. ### 💻 Code ```js /** * @template {0|1|2} T * @extends {Scope.sub.Box<T>} */ export class MyComponent extends Scope.sub.Box { more() { return "foo"; } } ``` ### 🙁 Actual behavior The class in the `extends` clause is missing the type parameter. This is a compile error when you validate the `.d.ts` file. ```ts declare const MyComponent_base: typeof import("./header.js").Box; /** * @template {0|1|2} T * @extends {Scope.sub.Box<T>} */ export class MyComponent<T extends 0 | 1 | 2> extends MyComponent_base { constructor(); more(): string; } export {}; ``` ### 🙂 Expected behavior TypeScript should include the type parameter in the `extends` clause. ```ts declare const MyComponent_base: typeof import("./header.js").Box; /** * @template {0|1|2} T * @extends {Scope.sub.Box<T>} */ export class MyComponent<T extends 0 | 1 | 2> extends MyComponent_base<T> { constructor(); more(): string; } export {}; ``` ### Additional information about the issue Only seems to happen when the extends clause is a member expression where TS generate an intermediate `declare const ...`. Fyi, I came across this issue while investigating how to setup a project for generating type declarations from js files for primefaces/primefaces#12500
Bug,Help Wanted
low
Critical
2,560,387,553
PowerToys
Color picker - should be system wide and allow to save a library of swatches, the same as OSX
### Description of the new feature / enhancement OSX has had a system-wide color picker feature for well over a decade. Any app, any option, the SAME color picker opens. You can also save color swatches in a library for use across all apps. ### Scenario when this would be used? Microsoft doesn't even have a standardised color picker / palette across its Office apps, let alone system wide. For example, if I create a custom set of fill colours for a Word document, that color palette/color swatches are not saved next time I open the document. Instead, I have to manually go in, select a cell, choose colors > more colors, which then loads the swatch in the color palette *for that session only* for that color to be available. Then, sometimes it's available to other Word documents, *for that session only*. It is NOT available in Excel or Powerpoint. It makes dealing with color in MS products and on Windows extremely tedious. ### Supporting information Just open up OSX and do anything that requires font colours or object fills. The color picker / palette / library is very simple and effective.
Needs-Triage
low
Minor
2,560,424,725
go
internal/runtime/atomic: add Xchg8 to all GOOS=linux platforms
Pending acceptance of [CL 601597](https://go.dev/cl/601597) (for #68578), we'll want an atomic.Xchg8 implementation for all GOARCH values that support it — at least those that overlap with GOOS=linux. This issue tracks that work, including expanding the test from [CL 606900](https://go.dev/cl/606900) to cover those platforms and eventually to move into atomic_test.go. CC @golang/runtime CC @mauri870 (who showed interest in doing some of the work)
NeedsFix,compiler/runtime
low
Major
2,560,440,277
three.js
CompressedArrayTexture Broken on Android/Meta Quest Headset
### Description I've integrated CompressedArrayTexture which works perfectly on Windows, Mac and iOS, but appears broken on both Meta Quest headsets and Android mobile phones. The ThreeJS example also fails. I'm seeing this error in the Quest console window: [.WebGL-0x2032d0d00]GL ERROR :GL_INVALID_VALUE : glCompressedTexSubImage3D: size is not correct for dimensions ### Reproduction steps 1. Using Meta Quest Headset or an Android phone 2. Open the Meta browser or (Chrome on Android) 3. Click the ThreeJS example: 2D Compressed Texture Array 4. See the pink rectangle where the movie loop should be playing ### Code ```js // code goes here ``` ### Live example * https://threejs.org/examples/?q=Array#webgl_texture2darray_compressed ### Screenshots ![IMG_1036](https://github.com/user-attachments/assets/4fa3140c-351c-4ca1-b9f9-4ffaeae66f1d) ### Version r169 ### Device Mobile, Headset ### Browser Chrome ### OS Android
Device Issue,Needs Investigation
low
Critical
2,560,506,838
next.js
_next/data requests on the index page get 308 redirect when middleware and basePath are both used
### Link to the code that reproduces this issue https://github.com/Zach-Jaensch/nextjs-basepath-middleware-redirect-issue ### To Reproduce With basePath configure eg `/library` With middleware existing (the contents of which doesn't matter) Using a root page in the pages router `/` With a Next Link to that page (link can be on any page) Run app and click on the link to request the _next/data json ### Current vs. Expected behavior ## Current `/(basePath)/_next/data/index.json` request is redirected to `/(basePath)` which is a document ## Expected `/(basePath)/_next/data/index.json` should not redirect to `/(basePath)` ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.6.0: Wed Jul 31 20:49:39 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10 Binaries: Node: 20.14.0 npm: 10.7.0 Yarn: N/A pnpm: 9.10.0 Relevant Packages: next: 15.0.0-canary.159 // There is a newer canary version (15.0.0-canary.175) available, please upgrade! eslint-config-next: 14.2.13 react: 19.0.0-rc-5dcb0097-20240918 react-dom: 19.0.0-rc-5dcb0097-20240918 typescript: 5.6.2 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Middleware ### Which stage(s) are affected? (Select all that apply) next dev (local), next start (local) ### Additional context _No response_
bug,Middleware
low
Minor
2,560,599,652
rust
rustdoc search: allow combining a type based search with a name based search
usecase: i know `reqwest` has a method on `Response` that turns error status codes into `Result`. i know it probably has "error" in the name. it would be nice to be able to do something like `"error" Response -> Result` to search for this. in this case, just `Response -> Result` works well enough, but that seems to be a coincidince due to async functions being ranked below sync functions.
A-type-based-search,A-rustdoc-search,T-rustdoc-frontend
low
Critical
2,560,680,357
yt-dlp
Please add support for new video codec vvc or h266
### 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 feature unrelated to a specific site - [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme) - [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 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) ### Provide a description that is worded well enough to be understood Have a great week everyone. It is with great pleasure that I declare in advance that I would like the great and dear developers of yt-dlp to add support for downloading videos from YouTube and YouTube Music in the output or input quality for the new codec that is officially available in FFmpeg 7.1 from BtbN or gyan.dev The new versions and compilations for VVC and H.266 are already ready on the current github and can already be used for playback and conversion through the most current FFmpeg 7.1. The VVC and H.266 video qualities can include access to HDR, with the opus or m4a audio format, for MP4 or MKV files. Also remembering that I would like the video quality for VVC or H.266 that can be added to yt-dlp through the latest versions 7.1 or higher of FFmpeg to contain the qualities of 144p to 8k, with 24, 30 or even 60 fps with or without HDR (as long as it is HDR10 or possibly the simplest or higher HDR). Unfortunately, it will not be possible to make the versosity tool for "yt-dlp -S vcodec:vvc,res,acodec:m4a" or even "yt-dlp -S vcodec:h266,res,acodec:m4a". Because when I activate this detail when downloading a video on YouTube or YouTube Music, it simply downloads the video in MP4 H.264 AVC, thus making it impossible to download the codec in the "VVC" or "H.266" preference. Please note that detailed information about "yt-dlp -S vcodec:vvc,res,acodec:opus" and "yt-dlp -S vcodec:vvc,res,acodec:m4a" may be included. I would like you to be able to decide which of these two codec formats can be added to yt-dlp for video input or output download, VVC or H.266, and which one consumes less performance to convert or download. Any opinion from developer friends to the team would be very welcome. I believe there is a gross difference between VVC or H.266 video quality, I would like one of these two to be added and without a doubt the video codec "yt-dlp -S vcodec:av1,res,acodec:m4a", I believe it could be maintained for some time, thus ending the av1 video codec in yt-dlp to stream videos, or keeping av1, vvc and h.266 A big thank you and it will be wonderful to watch videos in VVC or H.266 quality downloaded with the latest yt-dlp and FFmpeg. A big hug and until the next doubts, questions, or answers. I'm loving yt-dlp. ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [X] 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 -S vcodec:vvc,res,acodec:m4a -vU https://music.youtube.com/watch?v=RcP-lkf6-z0 [debug] Command-line config: ['-S', 'vcodec:vvc,res,acodec:m4a', '-vU', 'https://music.youtube.com/watch?v=RcP-lkf6-z0'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version master@2024.10.01.001408 from yt-dlp/yt-dlp-master-builds [e59c82a74] (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 N-117286-g262e6f8430-20241001 (setts), ffprobe N-117286-g262e6f8430-20241001 [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1838 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest Latest version: master@2024.10.01.001408 from yt-dlp/yt-dlp-master-builds yt-dlp is up to date (master@2024.10.01.001408 from yt-dlp/yt-dlp-master-builds) [youtube] Extracting URL: https://music.youtube.com/watch?v=RcP-lkf6-z0 [youtube] RcP-lkf6-z0: Downloading webpage [youtube] RcP-lkf6-z0: Downloading ios player API JSON [youtube] RcP-lkf6-z0: Downloading web creator player API JSON [youtube] RcP-lkf6-z0: Downloading ios music player API JSON [youtube] RcP-lkf6-z0: Downloading web music client config [youtube] RcP-lkf6-z0: Downloading player d9418494 [youtube] RcP-lkf6-z0: Downloading web music player API JSON [debug] [youtube] Extracting signature function js_d9418494_107 [debug] Loading youtube-sigfuncs.js_d9418494_107 from cache [debug] Loading youtube-nsig.d9418494 from cache [debug] [youtube] Decrypted nsig LfLzA5Q82HSTkJRH => wv-ilfZlmBxrlw [debug] Loading youtube-nsig.d9418494 from cache [debug] [youtube] Decrypted nsig 6Cw_sKGA7GTBVmFG => CU2EVZCg9eGQkg [debug] [youtube] Extracting signature function js_d9418494_103 [debug] Loading youtube-sigfuncs.js_d9418494_103 from cache [youtube] RcP-lkf6-z0: Downloading m3u8 information [youtube] RcP-lkf6-z0: Downloading m3u8 information [debug] Sort order given by user: vcodec:vvc, res, acodec:m4a [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, vcodec:vvc(3), res, acodec:m4a(9), quality, fps, hdr:12(7), source, channels, lang, proto, size, br, asr, vext, aext, hasaud, id [debug] Default format spec: bestvideo*+bestaudio/best [info] RcP-lkf6-z0: Downloading 1 format(s): 137+140 [debug] Invoking http downloader on "https://rr2---sn-ovguiuxaxcg-jo4l.googlevideo.com/videoplayback?expire=1727867005&ei=HdT8Zrz-MeSPobIPhsHoMA&ip=45.5.253.168&id=o-AF52Ih4_xoE7ddYXvIGh-MZuWiwaH0-BDc0xgPCnWpix&itag=137&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=Xl&mm=31%2C29&mn=sn-ovguiuxaxcg-jo4l%2Csn-bg0eznsk&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=1277500&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=53998113&dur=186.019&lmt=1706315327002170&mt=1727845012&fvip=3&keepalive=yes&fexp=51300760&c=IOS&txp=4432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgZcJDASd040U0UFpmtgW644W2TpwpD-7icsLx6gdciDUCIH3Iteu2uCYoLUzHSJPKsl37Kmx8_eFgHu1mJd3QEdCn&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ACJ0pHgwRQIhANNrbr3Rs1TMjgbE0plBUNy3oS_LGbuDMudq8tUXWP7wAiBV_8clH-GdcygFjwPHUKVusADjsvinzF2tGGL2wO51Jg%3D%3D" [debug] File locking is not supported. Proceeding without locking [download] Destination: 3030 & Cacife Clandestino - Isso Que É Som de Rap (Prod. REEO MIX) (Clipe Oficial) [RcP-lkf6-z0].f137.mp4 [download] 100% of 51.50MiB in 00:00:04 at 10.46MiB/s [debug] Invoking http downloader on "https://rr2---sn-ovguiuxaxcg-jo4l.googlevideo.com/videoplayback?expire=1727867005&ei=HdT8Zrz-MeSPobIPhsHoMA&ip=45.5.253.168&id=o-AF52Ih4_xoE7ddYXvIGh-MZuWiwaH0-BDc0xgPCnWpix&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=Xl&mm=31%2C29&mn=sn-ovguiuxaxcg-jo4l%2Csn-bg0eznsk&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=1277500&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=3012279&dur=186.084&lmt=1706314928873204&mt=1727845012&fvip=3&keepalive=yes&fexp=51300760&c=IOS&txp=4432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgMWfPYRZGUcamCtki1vNyqifXmVTO_BNqDYf38SFo-soCIQD2T8JFFOfaMAGAo9_RD8zy7ndV8OfQdmSIbJYDAcoP6w%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ACJ0pHgwRQIhANNrbr3Rs1TMjgbE0plBUNy3oS_LGbuDMudq8tUXWP7wAiBV_8clH-GdcygFjwPHUKVusADjsvinzF2tGGL2wO51Jg%3D%3D" [download] Destination: 3030 & Cacife Clandestino - Isso Que É Som de Rap (Prod. REEO MIX) (Clipe Oficial) [RcP-lkf6-z0].f140.m4a [download] 100% of 2.87MiB in 00:00:00 at 6.42MiB/s [Merger] Merging formats into "3030 & Cacife Clandestino - Isso Que É Som de Rap (Prod. REEO MIX) (Clipe Oficial) [RcP-lkf6-z0].mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:3030 & Cacife Clandestino - Isso Que É Som de Rap (Prod. REEO MIX) (Clipe Oficial) [RcP-lkf6-z0].f137.mp4" -i "file:3030 & Cacife Clandestino - Isso Que É Som de Rap (Prod. REEO MIX) (Clipe Oficial) [RcP-lkf6-z0].f140.m4a" -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart "file:3030 & Cacife Clandestino - Isso Que É Som de Rap (Prod. REEO MIX) (Clipe Oficial) [RcP-lkf6-z0].temp.mp4" Deleting original file 3030 & Cacife Clandestino - Isso Que É Som de Rap (Prod. REEO MIX) (Clipe Oficial) [RcP-lkf6-z0].f140.m4a (pass -k to keep) Deleting original file 3030 & Cacife Clandestino - Isso Que É Som de Rap (Prod. REEO MIX) (Clipe Oficial) [RcP-lkf6-z0].f137.mp4 (pass -k to keep) ```
enhancement
low
Critical
2,560,693,956
go
os/signal: TestSignalTrace failures
``` #!watchflakes default <- pkg == "os/signal" && test == "TestSignalTrace" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8735231922496040049)): === RUN TestSignalTrace SIGQUIT: quit PC=0x80c4dd7 m=11 sigcode=0 goroutine 0 gp=0xa48a368 m=11 mp=0xa488508 [idle]: runtime.osyield() /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/sys_linux_386.s:723 +0x7 fp=0xf38ff2a4 sp=0xf38ff2a0 pc=0x80c4dd7 runtime.suspendG(0xa407e68) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/preempt.go:250 +0x413 fp=0xf38ff2e8 sp=0xf38ff2a4 pc=0x8082ee3 runtime.traceAdvance.func1.1() ... edi 0x12b43427 esi 0xa488508 ebp 0x0 esp 0xf38ff2a0 eip 0x80c4dd7 eflags 0x246 cs 0x23 fs 0x3 gs 0x63 *** Test killed with quit: ran too long (4m0s). — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation,compiler/runtime
low
Critical
2,560,699,292
TypeScript
Regression Bug: Error "The type of this node cannot be serialized because its property '[fooSymbol]' cannot be serialized." happens but potentially avoidable automatically.
### 🔎 Search Terms "symbol", "generics", "serialization", "module", "export", "degression" ### 🕗 Version & Regression Information The main behaviour can be categorized in 3 kinds in recent versions. Recommended to read code example first. - This changed between versions 4.7 and 4.8 - But the details of its behaviour is continue to change subtly in next versions. - I confirmed `g1` and `g2` both can be exported without an error in: - [v4.7.4](https://www.typescriptlang.org/play/?ts=4.7.4#code/AQ4UwDwBwewJwC7AMYwHYGckDMYwMoCeAtgEYwA2wAvMEWZQBQDkuMzAlANwBQksiYAkJQwwAGJ565KrWGiY2YG2mVefaPCSpMOGsAA8AFXAQEYNABMMwGKQBWYZAgB8jbBQCGAcwBcwckowTzQOGhdgRgA3fxMAMmAAb2AAbQBpYABLNAkpEhkAXX8AVzQAazQYAHccgF8w6gjkgHoAKmAMGGIxChhvTOQbVubgWt5mke8ARn8AUTg4eFiACzF5MUUhZcybSssxZBDKpFIxDDA4TM8KTIAvMEsAp09i86yEGyhF0URCYGYUip8pQCswUEcYCczhcrjd7pYAHSMAAsUymAA4OBoBNp0FhgNN9MZTOYrDY7I5nG4GhFsMY3Ag4MUwNxsVoUHikN4AExEkyQUnWWwOJyuRg0yIxYDxJKpDLZXIEYEUIrAUoVap1CXJHT4jw+fSM5lcYBtDpdHp9AZDEZjHhAA) - [v4.6.4](https://www.typescriptlang.org/play/?ts=4.6.4#code/AQ4UwDwBwewJwC7AMYwHYGckDMYwMoCeAtgEYwA2wAvMEWZQBQDkuMzAlANwBQksiYAkJQwwAGJ565KrWGiY2YG2mVefaPCSpMOGsAA8AFXAQEYNABMMwGKQBWYZAgB8jbBQCGAcwBcwckowTzQOGhdgRgA3fxMAMmAAb2AAbQBpYABLNAkpEhkAXX8AVzQAazQYAHccgF8w6gjkgHoAKmAMGGIxChhvTOQbVubgWt5mke8ARn8AUTg4eFiACzF5MUUhZcybSssxZBDKpFIxDDA4TM8KTIAvMEsAp09i86yEGyhF0URCYGYUip8pQCswUEcYCczhcrjd7pYAHSMAAsUymAA4OBoBNp0FhgNN9MZTOYrDY7I5nG4GhFsMY3Ag4MUwNxsVoUHikN4AExEkyQUnWWwOJyuRg0yIxYDxJKpDLZXIEYEUIrAUoVap1CXJHT4jw+fSM5lcYBtDpdHp9AZDEZjHhAA) - [v4.5.5](https://www.typescriptlang.org/play/?ts=4.5.5#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - And both `g1` and `g2` cannot be exported in: - [v4.8.4](https://www.typescriptlang.org/play/?ts=4.8.4#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - [v4.9.5](https://www.typescriptlang.org/play/?ts=4.9.5#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - [v5.0.4](https://www.typescriptlang.org/play/?ts=5.0.4#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - [v5.1.6](https://www.typescriptlang.org/play/?ts=5.1.6#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - [v5.2.2](https://www.typescriptlang.org/play/?ts=5.2.2#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - [v5.3.3](https://www.typescriptlang.org/play/?ts=5.3.3#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - [v5.4.5](https://www.typescriptlang.org/play/?ts=5.4.5#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - And only `g2` can be exported without an error. - [v5.5.4](https://www.typescriptlang.org/play/?ts=5.5.4#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) - [v5.6.2](https://www.typescriptlang.org/play/?ts=5.6.2#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA) ### ⏯ Playground Link https://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=2&pc=1#code/KYDwDg9gTgLgBAYwgOwM7wGYQgZQJ4C2ARhADZwC8c+xZAFAORYQMCUA3AFCiSxwx4wwOADFsNEuSoChEDHGYSyXbuGjwkaTJTgAeACpxQMYMgAmqOBCIArYAhgA+OhlIBDAOYAuOCTLA3ZFZKRzg6ADcfQwAyOABvOABtAGk4AEtkUXFCSQBdHwBXZABrZAgAd0yAX2CKUISAegAqOFQIAmFSCA80hEsmhrgqrgbBjwBGHwBRKChoKIALYRlhOX4FtMsys2EEQLL4ImFUYCg0t1I0gC9gM197NwKT9JhLMDmhWDw4BkTFHLIuQYiH2EEOx1O50uNzMADo6AAWcbjAAcrFUvA0KHQcAmOgMRhAJnMlmsdgczlqoQwBmcMCgBWAHAx6kQ2PgHgATPjDMZTBYrLZ7E46FSwpE4DF4klUhksrgAaR8nAiqUKtUxQlNDjXJ4dPTGew4M1Wu1Ot1ev1BsNOEA ### 💻 Code ```ts export const fooSymbol = Symbol('foo'); export type FooSymbol = typeof fooSymbol; export const f = <T extends object>(flag: boolean) => (v: T & { [K in FooSymbol]: unknown }) => { /* some logics */ }; // g1: Error: The type of this node cannot be serialized because its property '[fooSymbol]' cannot be serialized.(4118) export const g1 = <T extends object>() => f<T>(true); export const g2 = <T extends object>() => (v: T & { [K in FooSymbol]: unknown }) => { const flag = true; /* some logics */ }; ``` ### 🙁 Actual behavior The function `g1` seems correctly typed, exported, but error is shown as `The type of this node cannot be serialized because its property '[fooSymbol]' cannot be serialized.(4118)` by the compiler. `g1` is potentially rewritten in the form of `g2`, just directly rewrite the given arguments as local constant (or just embed values in all contexts). ### 🙂 Expected behavior `g1` is acceptable as well as `g2`. ### Additional information about the issue Generics usage is essential to reproduce this case. I'm not sure if the code example could be minimized. It's the real case minimization of what I really needed in my projects.
Needs Investigation
low
Critical
2,560,709,084
deno
`deno test --doc`: consider failed `console.assert` to fail tests
While [`console.assert`](https://developer.mozilla.org/en-US/docs/Web/API/console/assert_static) don't throw per se (in browsers it prints an error message), it is often used in some documentation examples to demonstrate the behavior of the code to end users and show them what is expected. Currently the following... ```ts /** * Returns the string `"bar"` * @example * ```ts * const value = foo() * console.assert(value === "bar") * ``` */ function foo() { return "baz" } ``` ...will result in a successful `deno test --doc`, despite not being what the one documenting probably intended to show ``` file:///workspaces/deno/app.ts$279-287.ts ... ------- post-test output ------- Assertion failed ----- post-test output end ----- file:///workspaces/deno/app.ts$279-287.ts ... ok (34ms) ``` I think it'd be a nice QOL improvement in general, as people can further make their documentation more robust by not only testing that their examples don't throw but also behave as expected (without the need of additional boilerplate code such as `@std/assert`). For ultra minamal libs, dev may even be able to combine their tests/documentations simplifying even more their experience
suggestion,testing
low
Critical
2,560,727,771
PowerToys
Fancy Zone scrolling bug
### Microsoft PowerToys version 0.85.0 ### Installation method PowerToys auto-update ### Running as admin Yes ### Area(s) with issue? FancyZones ### Steps to reproduce https://github.com/user-attachments/assets/959ec197-16d1-48f4-a275-2eb9dd94d4a5 I was just scrolling through all the features, and i encountered this bug. In this bug, if we scroll through the fancy zones, it do like this. https://github.com/user-attachments/assets/44244058-d0d9-41b6-a64f-20d73e187804 ### ✔️ Expected Behavior It should have just stopped scrolling at the end and shouldn't have shown the scrolling like motion. ### ❌ Actual Behavior Now when I scrolls till the end, it make very irritating motion, and i cant click anywhere else when it is happening. ### Other Software Powertoys version 0.85.0. it was working fine before the update. actually it is my first bug report, so I don't know the proper format.
Issue-Bug,Needs-Triage
low
Critical
2,560,729,652
godot
Unable to build engine for arm64 export template on x86_64 Linux host
### Tested versions Mostly on [4.2.2-stable](https://github.com/godotengine/godot/tree/15073afe3856abd2aa1622492fe50026c7d63dc1) Checked same on 4.2.3-stable ### System information Ubuntu 22.04 (x86_64) ### Issue description When I build Godot engine from source for `export template` as `arm64 linux`, it builds successfully. ~~~ scons platform=linuxbsd target=template_debug arch=arm64 scons: Reading SConscript files ... Auto-detected 24 CPU cores available for build parallelism. Using 23 cores by default. You can override it with the -j argument. collect2 version 11.4.0 /usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccTl1rLP.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o Building for platform "linuxbsd", architecture "arm64", target "template_debug". Checking for C header file mntent.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... [100%] progress_finish(["progress_finish"], []) [100%] scons: done building targets. [Time elapsed: 00:00:05.278] ~~~ However, when I try to export my Godot project with this custom template binary, **it only generates x86_64 executable, not arm64 one.** Some observation on my env: 1) Exporting with installed export templates works well for both arm64 and x86_64 2) Exporting with custom templates works well for x86_64 3) **Exporting with custom templates does not works for arm64. Still, it generates x86_64 executable** ### Steps to reproduce 1. Build Godot Engine from source with ~~~ scons platform=linuxbsd target=template_debug arch=arm64 ~~~ 2. Set `custom_template` field on export preset. 3. Try to export any Godot project for arm64 linux. 4. Check if it's executes well for arm64 and x64. Note that this should only executes on arm64. ### Minimal reproduction project (MRP) Tested on [MultiplayerBomber](https://godotengine.org/asset-library/asset/139) But same on any Godot project as issue relies on engine compliation.
bug,platform:linuxbsd,topic:buildsystem,confirmed
low
Critical
2,560,743,170
next.js
Not found page does not get scrolled to the top on opening
### Link to the code that reproduces this issue https://codesandbox.io/p/devbox/peaceful-pike-ktxllk?workspaceId=cc8eb0ea-4ef2-4830-9ca0-1bb04d0968ad ### To Reproduce 1. Start the application in development 2. Open /foo page 3. Scroll to the bottom and click the bottom link ("Click here to trigger not found redirect") 4. Observe scroll position in opened (not-found) page ### Current vs. Expected behavior Following the steps from the previous section I expected "Not found" page to be opened scrolled to the top but it keeps the scroll position of the /foo page. ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 4102 Available CPU cores: 2 Binaries: Node: 20.9.0 npm: 9.8.1 Yarn: 1.22.19 pnpm: 8.10.2 Relevant Packages: next: 15.0.0-canary.175 // Latest available version is detected (15.0.0-canary.175). eslint-config-next: N/A react: 19.0.0-rc-2d16326d-20240930 react-dom: 19.0.0-rc-2d16326d-20240930 typescript: 5.3.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Not sure, Navigation, Parallel & Intercepting Routes ### Which stage(s) are affected? (Select all that apply) Other (Deployed) ### Additional context _No response_
bug,Navigation,Parallel & Intercepting Routes
low
Major
2,560,745,156
deno
`deno test --doc` fails if the code is inside a blockquote
If you embed an example inside a blockquote (`>`) then it cannot be parsed and errors (it treats the `>` of the code blocks as part of the source code). ```ts /** * Documentation of my function. * * > [!WARNING] * > This is inside a warning block. * > * > ```ts * > function foo() { * > return "bar" * > } * > ``` */ export function foo() { return "bar" } ``` ``` vscode ➜ /workspaces/deno$ deno test --doc -A test.ts error: Expression expected at file:///workspaces/deno/test.ts$7-12.ts:2:5 > return "bar" ~~~~~~ vscode ➜ /workspaces/deno$ deno --version deno 2.0.0-rc.9 (release candidate, release, x86_64-unknown-linux-gnu) v8 12.9.202.13-rusty typescript 5.6.2 ```
bug,testing
low
Critical
2,560,755,147
PowerToys
Add a Context Menu entry to "Delete Empty Subfolders" when right clicking a folder
### Description of the new feature / enhancement A single click should move all empty folders inside a folder to the Recycle Bin. ### Scenario when this would be used? Some apps get very happy creating empty directories, this creates a lot of visual clutter and in some cases the extra folders create huge overheads when moving folders. ### Supporting information Here's an app that does this: https://www.jonasjohn.de/red.htm -- The idea is to replicate this but with a much much simpler approach. There should be a couple extra options: Delete directories with empty and/or hidden files (0 kb) on them. This PowerToy should never delete System or protected directories, we have RED for that.
Needs-Triage
low
Minor
2,560,756,133
yt-dlp
NBC/ThePlatform Extractor "HTTP Error 403: Forbidden" With Some Videos. Unrecognized DRM?
### 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) - [ ] 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 United States of America ### Provide a description that is worded well enough to be understood The NBC/ThePlatform extractor seems to fail on some NBC/SyFy movies with "HTTP Error 403: Forbidden" errors apparently related to invalid video URLs and no HLS formats found, so it thinks only images are available. Maybe there has been a modest change to some movie pages for some reason and a small update to the extractor will fix it. Otherwise, it might be that some movies are being DRM'ed and the current logic in the extractor(s) isn't identifying that situation. My example of a failure case is from the movie "The Terminator". I thought it might be a global change of the site, or something impacting just the SyFy movies, but things still worked with an older SyFy movie that had downloaded fine before ("Caved In: Prehistoric Terror"). For comparison, I included the output from that successful case in the second half of the verbose output below. ### 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: ['-v', 'https://www.nbc.com/syfy-movies/video/the-terminator/4053509'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version nightly@2024.10.01.232843 from yt-dlp/yt-dlp-nightly-builds [e59c82a74] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: none [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1838 extractors [NBC] Extracting URL: https://www.nbc.com/syfy-movies/video/the-terminator/4053509 [NBC] 4053509: Downloading JSON metadata [NBC] 4053509: Downloading JSON metadata [debug] Loading ap-mvpd.nbcentertainment from cache [NBC] 4053509: Retrieving Media Token [ThePlatform] Extracting URL: http://link.theplatform.com/s/NnzsPC/media/guid/2304990266/4053509?mbr=true&manifest=m3u&switch=HLSServiceSecure&auth=%3CsignatureInfo%3EQEjscQpT5uNpzB7uTsQgpfPhrfOl5Fbm2pNOqQa1x3WX9UZ9l0ozV7BxQ3g0HE4fVGcl87ymH8g9Svegfbpki14HZ%2BDWkdIjmMQE6K59BZrM9B%2FrBhdWOSb%2FoMWZr3QX72P7vEYVvbFAgh3qnlXCPmdnYrKw8U%2B%2B9KyLxHYHccE%3D%3CsignatureInfo%3E%3CauthToken%3E%3CsessionGUID%3E90089f8249a9c90a7a87345572d92521%3C%2FsessionGUID%3E%3CrequestorID%3Enbcentertainment%3C%2FrequestorID%3E%3CresourceID%3E%3C%21%5BCDATA%5B%3Crss+version%3D%222.0%22+xmlns%3Amedia%3D%22http%3A%2F%2Fsearch.yahoo.com%2Fmrss%2F%22%3E%3Cchannel%3E%3Ctitle%3Esyfy%3C%2Ftitle%3E%3Citem%3E%3Ctitle%3EThe+Terminator%3C%2Ftitle%3E%3Cguid%3E4053509%3C%2Fguid%3E%3Cmedia%3Arating+scheme%3D%22urn%3Av-chip%22%3ETV-MA%3C%2Fmedia%3Arating%3E%3C%2Fitem%3E%3C%2Fchannel%3E%3C%2Frss%3E%5D%5D%3E%3C%2FresourceID%3E%3Cttl%3E420000%3C%2Fttl%3E%3CissueTime%3E2024-10-01+23%3A03%3A27+-0700%3C%2FissueTime%3E%3CmvpdId%3ESpectrum%3C%2FmvpdId%3E%3C%2FauthToken%3E#__youtubedl_smuggle=%7B%22force_smil_url%22%3A+true%7D [ThePlatform] 4053509: Downloading SMIL data [ThePlatform] 4053509: Checking video URL [ThePlatform] 4053509: video URL is invalid, skipping: HTTP Error 403: Forbidden [ThePlatform] 4053509: Checking for HLS formats WARNING: [ThePlatform] No HLS formats found: HTTP Error 403: Forbidden [ThePlatform] 4053509: Downloading JSON metadata WARNING: Only images are available for download. use --list-formats to see them [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: best/bestvideo+bestaudio ERROR: [ThePlatform] 4053509: Requested format is not available. Use --list-formats for a list of available formats Traceback (most recent call last): File "yt_dlp\YoutubeDL.py", line 1626, in wrapper File "yt_dlp\YoutubeDL.py", line 1782, in __extract_info File "yt_dlp\YoutubeDL.py", line 1894, in process_ie_result File "yt_dlp\YoutubeDL.py", line 1841, in process_ie_result File "yt_dlp\YoutubeDL.py", line 2977, in process_video_result yt_dlp.utils.ExtractorError: [ThePlatform] 4053509: Requested format is not available. Use --list-formats for a list of available formats [debug] Command-line config: ['-v', 'https://www.nbc.com/syfy-movies/video/caved-in-prehistoric-terror/3837162'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version nightly@2024.10.01.232843 from yt-dlp/yt-dlp-nightly-builds [e59c82a74] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: none [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1838 extractors [NBC] Extracting URL: https://www.nbc.com/syfy-movies/video/caved-in-prehistoric-terror/3837162 [NBC] 3837162: Downloading JSON metadata [NBC] 3837162: Downloading JSON metadata [debug] Loading ap-mvpd.nbcentertainment from cache [NBC] 3837162: Retrieving Media Token [ThePlatform] Extracting URL: http://link.theplatform.com/s/NnzsPC/media/guid/2304990266/3837162?mbr=true&manifest=m3u&switch=HLSServiceSecure&auth=%3CsignatureInfo%3ESeCEn9so9wj17VWIooYz15CRCuHxXZJHatLOD81MZeFuHjXgYhMz2Zj31aeT5zFEA7m%2B9620CpMj2WIKW2vqtR41%2F3MBltWDeDovcmXoXzipioCjJk7VKVM%2BKlCl7xN4iM7hIdsymVjh2rakqGpq6YbI9TOe2%2F6rF2kH9aQV5Pc%3D%3CsignatureInfo%3E%3CauthToken%3E%3CsessionGUID%3E90089f8249a9c90a7a87345572d92521%3C%2FsessionGUID%3E%3CrequestorID%3Enbcentertainment%3C%2FrequestorID%3E%3CresourceID%3E%3C%21%5BCDATA%5B%3Crss+version%3D%222.0%22+xmlns%3Amedia%3D%22http%3A%2F%2Fsearch.yahoo.com%2Fmrss%2F%22%3E%3Cchannel%3E%3Ctitle%3Esyfy%3C%2Ftitle%3E%3Citem%3E%3Ctitle%3ECaved+In%3A+Prehistoric+Terror%3C%2Ftitle%3E%3Cguid%3E3837162%3C%2Fguid%3E%3Cmedia%3Arating+scheme%3D%22urn%3Av-chip%22%3ETV-14%3C%2Fmedia%3Arating%3E%3C%2Fitem%3E%3C%2Fchannel%3E%3C%2Frss%3E%5D%5D%3E%3C%2FresourceID%3E%3Cttl%3E420000%3C%2Fttl%3E%3CissueTime%3E2024-10-01+23%3A17%3A22+-0700%3C%2FissueTime%3E%3CmvpdId%3ESpectrum%3C%2FmvpdId%3E%3C%2FauthToken%3E#__youtubedl_smuggle=%7B%22force_smil_url%22%3A+true%7D [ThePlatform] 3837162: Downloading SMIL data [ThePlatform] 3837162: Downloading m3u8 information [ThePlatform] 3837162: Downloading JSON metadata [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: best/bestvideo+bestaudio [info] 3837162: Downloading 1 format(s): hls-8106 [debug] Invoking hlsnative downloader on "https://vod-lf-oneapp-prd.akamaized.net/prod/video/kdZ/ix8/3837162/1688054046254-QFQEv/7830k_1080_hls/7830k_1080_hls.m3u8" [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 883 [download] Destination: Caved In: Prehistoric Terror [3837162].mp4 [debug] File locking is not supported. Proceeding without locking [download] 100% of 5.00GiB in 00:03:02 at 28.07MiB/s WARNING: 3837162: Possible MPEG-TS in MP4 container or malformed AAC timestamps. Install ffmpeg to fix this automatically ```
DRM,account-needed,geo-blocked,site-bug
low
Critical
2,560,766,813
PowerToys
Slow searching in powertoys run
### Microsoft PowerToys version v0.85.0 ### Installation method PowerToys auto-update ### Running as admin None ### Area(s) with issue? PowerToys Run ### Steps to reproduce https://github.com/user-attachments/assets/bae6c180-0530-4a84-9810-fbbca6b7bb1c ### ✔️ Expected Behavior Faster searching ### ❌ Actual Behavior the searching of powertoys run is significantly slower. used to be much much faster but it has been like this for the previous three versions tried updating, downloading from github page, reinstalling, running as admin. even tried some of the powertoys run settings but none could fix this issue. i have another device with the same issue of powertoys run. but it resolved with the latest update ### Other Software _No response_ ```[tasklist] ### Tasks ```
Issue-Bug,Product-PowerToys Run,Needs-Triage,Needs-Team-Response
low
Major
2,560,784,178
opencv
New CPU warpAffine INTER_LINEAR diverges with OpenCL implementation
### System Information Platform: Any Introduced in https://github.com/opencv/opencv/pull/25984 ### Detailed description Failed tests: ``` [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/1, where GetParam() = (640x480, 8UC1, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/4, where GetParam() = (640x480, 32FC1, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/10, where GetParam() = (640x480, 32FC3, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/16, where GetParam() = (640x480, 32FC4, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/19, where GetParam() = (1280x720, 8UC1, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/22, where GetParam() = (1280x720, 32FC1, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/28, where GetParam() = (1280x720, 32FC3, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/34, where GetParam() = (1280x720, 32FC4, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/37, where GetParam() = (1920x1080, 8UC1, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/40, where GetParam() = (1920x1080, 32FC1, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/46, where GetParam() = (1920x1080, 32FC3, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/52, where GetParam() = (1920x1080, 32FC4, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/58, where GetParam() = (3840x2160, 32FC1, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/64, where GetParam() = (3840x2160, 32FC3, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/67, where GetParam() = (3840x2160, 8UC4, INTER_LINEAR) [ FAILED ] OCL_WarpAffineFixture_WarpAffine.WarpAffine/70, where GetParam() = (3840x2160, 32FC4, INTER_LINEAR) ``` ### Steps to reproduce Eps should be reduced in modules/imgproc/perf/opencl/perf_imgwarp.cpp:75 ### Issue submission checklist - [X] I report the issue, it's not a question - [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution - [X] I updated to the latest OpenCV version and the issue is still there - [X] There is reproducer code and related data files (videos, images, onnx, etc)
bug,category: imgproc
low
Critical
2,560,789,869
ui
hello
### Describe the bug hello ### Affected component/components hello ### How to reproduce hello ### Codesandbox/StackBlitz link _No response_ ### Logs ```bash hello ``` ### System Info ```bash hello ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
medium
Critical
2,560,801,191
stable-diffusion-webui
[Bug]: Wrong type for `shared.device`: `device: str = None`
### Checklist - [X] The issue exists after disabling all extensions - [X] The issue exists on a clean installation of webui - [X] The issue is caused by an extension, but I believe it is caused by a bug in the webui - [X] The issue exists in the current version of the webui - [X] The issue has not been reported before recently - [ ] The issue has been reported before but has not been fixed yet ### What happened? I found this type error in [modules/shared.py#L25](https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/shared.py#L25). Here's part of the code for that file: ```python # ... demo: gr.Blocks = None device: str = None # Line 25 weight_load_location: str = None xformers_available = False # ... ``` ### Steps to reproduce the problem 1. Go to [modules/shared.py#L25](https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/shared.py#L25). 2. The error is here. ### What should have happened? The line should be: ```python3 device: torch.device = None ``` ### What browsers do you use to access the UI ? Mozilla Firefox ### Sysinfo Not any more. ### Console logs ```Shell Also Not Any more. ``` ### Additional information _No response_
bug-report
low
Critical
2,560,866,291
PowerToys
Reverse mouse wheel
### Description of the new feature / enhancement I want the ability to reverse the mouse wheel. In some applications, the zoom function goes in the wrong direction. ### Scenario when this would be used? Like in Adobe Illustrator or Autodesk Inventor and other applications ### Supporting information N/A
Needs-Triage
low
Minor
2,560,891,859
PowerToys
No launch on a shortcut to a file extension even the default program is set (*.lnk)
### Microsoft PowerToys version 0.85 ### Installation method WinGet ### Running as admin No ### Area(s) with issue? PowerToys Run ### Steps to reproduce Hello, I have a link type that does not work and they do not execute the link. I have a shortcut (*.lnk) that uses file association, in my case *.des and *.dis. The file association is set to the same program and the shortcut worked fine but not by PowertoysRun. Nothing happens DIS Lnk files : "C:\Users\***\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Applications Workplace\Défaut\AppLoad.dis" ![image](https://github.com/user-attachments/assets/fa9e0b14-c33b-4df4-a02a-4fc1578a08b1) DES Lnk files : "C:\Users\***\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Bureaux Workplace\Bureau Virtuel CHD TEST.des" ![image](https://github.com/user-attachments/assets/34cc0877-5814-4bbe-a9e9-39938371f1a6) And the file association is set to the same For DIS file ![image](https://github.com/user-attachments/assets/79e44f29-6693-49f2-b68a-01b31f73973d) For DES file ![image](https://github.com/user-attachments/assets/57fe007b-c095-4dad-81b8-c1015b646f3b) ### ✔️ Expected Behavior Launching the file with the system defined file association ### ❌ Actual Behavior Nothing happens ### Other Software _No response_
Issue-Bug,Product-PowerToys Run,Needs-Triage,Needs-Team-Response
low
Minor
2,560,898,009
kubernetes
Input validation on client provided audit-id
Currently the API server accepts an audit-id as a request header even from unauthenticated clients. There seems to be almost no input validation for this and all kinds of special characters are allowed and reflected in the response: ![reflected_audit_id](https://github.com/user-attachments/assets/05e035bb-7778-4e36-93bc-36391fd497e5) This poses a risk to inject some malicious string which triggers a vulnerability in systems that process this audit-id. So the suggestion here is to limit this to some sensible set of characters. This was reported to security@kubernetes.io and @cjcullen suggested to open it as a public issue for some discussion.
sig/auth,triage/accepted
low
Major
2,560,908,799
react-native
autoComplete='off' does not disables the autocomplete in Android
### Description According to doc it says > Specifies autocomplete hints for the system, so it can provide autofill. On Android, the system will always attempt to offer autofill by using heuristics to identify the type of content. To disable autocomplete, set autoComplete to off. However with following code snippet, in Android we still get the autocomplete Hint. ``` jsx <TextInput autoComplete='off' /> ``` Output ![image](https://github.com/user-attachments/assets/2e05f290-cead-4d20-9b8e-ef85e0ec3cd4) ### Steps to reproduce 1. Open [Snack](https://snack.expo.dev/@endo-ngima/reproducer-rn-textinput-autocomplete-off) 2. Run it in Android 3. Start typing 4. You can see autocomplete suggestion ### React Native Version 0.75.3 ### Affected Platforms Runtime - Android ### Output of `npx react-native info` ```text info Fetching system and libraries information... System: OS: macOS 15.0 CPU: (12) arm64 Apple M2 Pro Memory: 158.14 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 18.17.0 path: ~/.nvm/versions/node/v18.17.0/bin/node Yarn: version: 3.6.4 path: /opt/local/bin/yarn npm: version: 9.6.7 path: ~/.nvm/versions/node/v18.17.0/bin/npm Watchman: version: 2024.09.16.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.13.0 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 24.0 - iOS 18.0 - macOS 15.0 - tvOS 18.0 - visionOS 2.0 - watchOS 11.0 Android SDK: API Levels: - "31" - "33" - "34" Build Tools: - 30.0.3 - 33.0.0 - 33.0.1 - 34.0.0 System Images: - android-22 | Google APIs ARM 64 v8a - android-34 | Google APIs ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2024.1 AI-241.18034.62.2411.12071903 Xcode: version: 16.0/16A242d path: /usr/bin/xcodebuild Languages: Java: version: 17.0.11 path: /usr/bin/javac Ruby: version: 2.6.10 path: /usr/bin/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.75.3 wanted: 0.75.3 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: false ``` ### Stacktrace or Logs ```text - ``` ### Reproducer https://snack.expo.dev/@endo-ngima/reproducer-rn-textinput-autocomplete-off ### Screenshots and Videos _No response_
Platform: Android,Impact: Bug
low
Minor
2,560,962,059
pytorch
`empty_like` with NJT on a different device fails because the offsets are not cast appropriately
### 🐛 Describe the bug This snippet fails ```python import torch device = torch.device("cuda:0") a = torch.nested.nested_tensor_from_jagged(values=torch.randn(10), lengths=torch.tensor([2, 3, 5])) torch.empty_like(a, device=device) ``` with ``` 86 assert offsets.ndim == 1 87 assert not isinstance(values, NestedTensor) ---> 88 assert values.device == offsets.device 90 # Query cache for the symint associated with offsets or lengths 91 # (create a new one if needed). 92 ragged_source = offsets if lengths is None else lengths AssertionError: ``` Not entirely sure how to work around that in the generic case - sending offsets to device separately will incur some extra cost and assumptions. For instance, it'll need to by done with `non_blocking=True` meaning that we'll have a cuda sync where users may not be expecting it. The goal here is to do ``` torch.empty_like(x, device=device).set_( untyped_storage, size=x.shape, stride=stride, storage_offset=storage_offset, ) ``` to create a view of a storage on a given device (ie, move a consolidated TD from host to device by moving the storage and rebuilding the tensors after that). Casting the offsets separately on device doesn't really make sense, because we are moving them as part of the consolidated storage already. I can find a workaround in tensordict, but we should think of how we want to handle this with NJT with a minimum of underlying H2D transfers. cc @cpuhrsch @jbschlosser @bhosmer @drisspg @soulitzer @davidberard98 @YuqingJ @gchanan @mruberry ### Versions latest nightlies
triaged,module: nestedtensor,module: tensor creation
low
Critical
2,560,968,206
godot
Stuttering when mouse moves from one control to another in editor
### Tested versions - Godot 4.3 ### System information Windows 10 - RTX 3070 - Forward+ renderer - latest Nvidia drivers installed ### Issue description This issue seems to only happen using Forward+ and the single/multi window option has no effect on it. I noticed that when I move my mouse over a lot of UI elements, the editor starts to stutter, which makes it harder to efficiently aim with the mouse. Somehow hovering over only a few elements in a short time doesn't seem to have any effect, but it feels like there is some "threshold" that suddenly create micro freezes when reached. It seems to be totally independent of the project's content, even an empty causes the issues. Occasionally, that stutter results in an occasional single frame being rendered "dimmer" or even entirely black. I tried to record the stutter in a video, but somehow the act of recording my screen magically makes the issue go away, and it comes back the moment I stop. It feels like a typical rendering issue related to GPU drivers and such, but so far only Godot displays this kind of behavior on my computer. Note that I can't see any spike in CPU or GPU usage when having this issue. ### Steps to reproduce - Create an empty project with Forward+ renderer - Open the project in editor - Quickly move the mouse back and forth between several UI elements. (moving between a major part of the UI, like main screen and inspector, seems to make the effect even worse) ### Minimal reproduction project (MRP) -
bug,topic:editor,needs testing,performance
low
Minor
2,561,002,704
go
proposal: x/text/number: convert directly from string to decimal
### Proposal Details Currently only integer and float types are supported for converting to Decimal. The problem with this is that converting to a float can cause issues for very small and very large numbers. The code for this is here: https://github.com/golang/text/blob/3043346206dbc748052ef6e130f428f895cd3760/internal/number/decimal.go#L308-L351 Allowing a `string` to be converted directly would avoid float related issues and would also improve the usability as it is no longer needed to first convert to a `float64` etc. With a small diff like this it works for the most common cases: ```diff diff --git a/internal/number/decimal.go b/internal/number/decimal.go index e128cf3..06b711a 100644 --- a/internal/number/decimal.go +++ b/internal/number/decimal.go @@ -312,6 +312,8 @@ func (d *Decimal) Convert(r RoundingContext, number interface{}) { case Converter: d.clear() f.Convert(d, r) + case string: + d.ConvertString(r, f) case float32: d.ConvertFloat(r, float64(f), 32) case float64: @@ -471,6 +473,28 @@ func (d *Decimal) ConvertFloat(r RoundingContext, x float64, size int) { } } +func (d *Decimal) ConvertString(r RoundingContext, x string) { + for i, n := range x { + if n > 47 && n < 58 { // 0-9 + d.Digits = append(d.Digits, byte(n-48)) + } else if n == 46 { // '.' + d.Exp = int32(i) + if d.Neg { + d.Exp-- // Adjust for '-' character + } + } else if n == 45 { // '-' + if i > 0 { // Only allowed as first character + d.NaN = true + return + } + d.Neg = true + } else { + d.NaN = true + return + } + } +} + func (d *Decimal) fillIntDigits(x uint64) { if cap(d.Digits) < maxIntDigits { d.Digits = d.buf[:] ``` ```go package main import ( "fmt" "strconv" "golang.org/x/text/language" "golang.org/x/text/message" "golang.org/x/text/number" ) func main() { p := message.NewPrinter(language.English) nstrs := []string{"12332.1234567890123456789012345678901", "1.1", "1.06", "-2.4", "abc", "0-1"} for i, nstr := range nstrs { fmt.Printf("input: %v\n", nstr) nr := number.Decimal(nstr, number.Scale(30)) p.Printf("as string: %v\n", nr) if nrf, err := strconv.ParseFloat(nstr, 64); err == nil { nr = number.Decimal(nrf, number.Scale(30)) p.Printf("as float64: %v\n", nr) } if i+1 < len(nstrs) { fmt.Printf("-----------------------------\n") } } } ``` ``` input: 12332.1234567890123456789012345678901 as string: 12,332.123456789012345678901234567890 as float64: 12,332.123456789011470391415059566498 ----------------------------- input: 1.1 as string: 1.100000000000000000000000000000 as float64: 1.100000000000000088817841970013 ----------------------------- input: 1.06 as string: 1.060000000000000000000000000000 as float64: 1.060000000000000053290705182008 ----------------------------- input: -2.4 as string: -2.400000000000000000000000000000 as float64: -2.399999999999999911182158029987 ----------------------------- input: abc as string: NaN ----------------------------- input: 0-1 as string: NaN ``` Open issues/questions/etc: - This isn't following the `RoundingContext` - This doesn't support things like `1e10` - This doesn't support `Inf` - This probably needs some range checking to make sure `d.Digits` etc are in an acceptable range (`maxIntDigits`?) - Another option is to use `big.Rat` or other `math/big` types. But converting from `a/b` to `Digits/Exp` doesn't look simple to me and this wouldn't make this more userfriendly. It also looks like overkill for many cases and it might be slower as well. - This would return `NaN` for something like `1.23 `, triggered by the trailing space. - This doesn't handle different minus signs that are in unicode. (https://pyatl.dev/2024/09/01/bitten-by-unicode/) - Maybe something else could be used to normalize the string first? - Maybe this can be made easier somehow where the type can supply a `Convert(...)` function?
Proposal
low
Major
2,561,012,566
PowerToys
Using Snip tool to capture a window when mouse crosshairs is enabled captures the entire screen
### Microsoft PowerToys version 0.85.0 ### Installation method PowerToys auto-update ### Running as admin No ### Area(s) with issue? Mouse Utilities ### Steps to reproduce - enable mouse crosshairs - open snipping tool - set snip tool to capture window - create new snip - snip tool doesn't track windows - click to capture and entire screen(s) is captured ### ✔️ Expected Behavior Expecting to be able to select the window & capture just that. ### ❌ Actual Behavior The entire screen/screens is captured. ### Other Software Snipping tool 11.2407.3.0
Issue-Bug,Needs-Triage,Area-App Compat,Product-Mouse Utilities
low
Minor
2,561,038,340
PowerToys
Brouwser tabs in workspace utility
### Description of the new feature / enhancement I want the workspace utility to open the browser with specific tabs open on a specific profile. ### Scenario when this would be used? I have a workflow where I need to have 20 tabs open in the browser (let's say chrome) on my work profile. ### Supporting information By opening all the tabs in my work profile, I don't need to open all the tabs manually.
Needs-Triage
low
Minor
2,561,072,304
angular
Router behavior when route reuse strategy is being used with nested routes
### Which @angular/* package(s) are the source of the bug? router ### Is this a regression? No ### Description Lets say app uses `FooComponent` and `AbcComponent` and defines routing as follows: ```ts export const routes: Routes = [ { path: 'Foo', data: {path: '/Foo - root'}, children: [ {path: '', pathMatch: "full", component: FooComponent, data: {path: '/Foo - empty'}}, {path: 'Bar', data: {path: '/Foo/Bar - root'}, children: [ {path: '', pathMatch: "full", component: FooComponent, data: {path: '/Foo/Bar - empty'}}, {path: 'Baz', component: FooComponent, data: {path: '/Foo/Bar/Baz'}}, ]}, ], }, {path: 'Abc', component: AbcComponent}, {path: '**', redirectTo: '/Foo'} ]; ``` Also app is utilising route reuse strategy to reuse component whenever source and destination route both ends up on `FooComponent` like so: ```ts export class FooRouteReuseStrategy extends BaseRouteReuseStrategy { override shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean { let futureChild = this.getChildDeep(future); let currentChild = this.getChildDeep(curr); if (futureChild.component === FooComponent && currentChild.component === FooComponent){ console.log('shouldReuse: true'); return true; } let reuse = super.shouldReuseRoute(future, curr); console.log('shouldReuse: ', reuse); return reuse; } private getChildDeep(route: ActivatedRouteSnapshot) { while (route.firstChild) { route = route.firstChild; } return route; } } ``` It seems that in some cases angular router does not properly handle component reuse. I have attached sample repository with minimal replication. Applications logs this specific events: Foo component creation, Foo component destruction, Every call to `shouldReuseRoute` with returned value. In some cases router destroys FooComponent despite shouldReuseRoute returns true and in never recreates them back. To replicate this specific error please launch attached application from repository and navigate to http://localhost:4200/Foo. When you start your application this way and navigate through the /Foo router subtree everything is working as expected, route is reused there is only one Foo Created in console. When you navigate to Abc route Foo is destroyed since it is not supposed to be reused which is expected at this time. After navigating to Abc when you navigate back to Foo/Bar/Baz component is recreated which is expected. Then if you navigate to /Foo the problem manifests. Angular calls RouteReuseStrategy to check if it should reuse route, strategy returns true. **Despite that** angular destroys FooComponent and never creates new instance of FooComponent. So the replication goes like that: 1. Start the app, run browser on http://localhost:4200/Foo 2. Navigate to Abc route through link 3. Navigate to either Bar or Bar/Baz links through link 4. Navigate to Root link by url Curiously when you skip point 3. app works normally. When you start the app from url http://localhost:4200/Abc and go through the steps 3 - 4 it can be reproduced also. I don't know if it is connected to this issue or I should issue another ticket, but there seems to be a problem with `activatedRoute.data` emissions in attached project. `FooComponent` is displaying activatedRoute.data in its body. If you start the application from url `http://localhost:4200/Foo/Bar/Baz` it shows `{ "path": "/Foo/Bar/Baz" }` but if you start the app form url `http://localhost:4200/Foo` and navigate to `http://localhost:4200/Foo/Bar/Baz` by link it shows `{ "path": "/Foo/Bar - root" }`. It is inconsistent and seems buggy. I am not sure if it supposed to work that way. ### Please provide a link to a minimal reproduction of the bug https://github.com/MateuszBogdan/angular-router-bug ### Please provide the exception or error you saw _No response_ ### Please provide the environment you discovered this bug in (run `ng version`) ```true Angular CLI: 18.2.6 Node: 20.14.0 Package Manager: npm 9.8.1 OS: win32 x64 Angular: 18.2.6 ... animations, cli, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router Package Version --------------------------------------------------------- @angular-devkit/architect 0.1802.6 @angular-devkit/build-angular 18.2.6 @angular-devkit/core 18.2.6 @angular-devkit/schematics 18.2.6 @schematics/angular 18.2.6 rxjs 7.8.1 typescript 5.5.4 zone.js 0.14.10 ``` ### Anything else? _No response_
area: router
low
Critical
2,561,125,742
Web-Dev-For-Beginners
typinggame_solution_index.js
Issues found: Child node selection issue: The code is using quoteElement.childNodes[0] and quoteElement.childNodes[wordIndex]. The childNodes property includes all nodes, such as text nodes, which can interfere with the correct selection of elements. Solution: Use children instead of childNodes, as children only selects element nodes and excludes text nodes. Handling case when the last word is typed correctly: In the current implementation, after the last word is typed, the code does not reset for a new round or disable further input to prevent errors. UI elements might not exist: There's no check to ensure that the quoteElement, messageElement, and typedValueElement exist in the DOM before trying to manipulate them. If these elements are missing, it could cause runtime errors. Unnecessary word space in spans: There's an extra space (" " after each word in the span element generation), which may lead to display issues when highlighting words.
no-issue-activity
low
Critical
2,561,155,015
deno
Custom (private) JSR registry support
Similar to https://github.com/denoland/deno/issues/16105 I think Deno should support custom jsr repositories that can be used at the same time as jsr.io.
suggestion,jsr
low
Minor
2,561,165,582
vscode
Editor: cannot Ctrl+click to goto definition in a link with a method name included
For example in this case: https://github.com/microsoft/vscode-bisect/blob/379f271eb92182890a1969e0ab55a79c1834576f/src/builds.ts#L297-L299 I cannot goto definition to the method call, it always opens the link. --- Edit from @hediet: ```js console.log(`https://example.com/${foobar()}`); // Do Ctrl+Click on foobar -> opens link and goes to definition! function foobar() { } ```
bug,editor-core
low
Minor
2,561,186,592
node
Stack traces broken for static methods with --enable-source-maps
### Version 22.9.0 ### Platform ```text Microsoft Windows NT 10.0.22631.0 x64 ``` ### Subsystem _No response_ ### What steps will reproduce the bug? With ``` class JSClass { static async foo() { throw new Error("JSClass"); } } ``` the stack trace without `--enable-source-maps` is ``` Error: JSClass at JSClass.foo (file:///C:/Users/mfischer/src/videmo/test/node-bug-enable-source-maps/index.mjs:3:15) ``` but with `--enable-source-maps` it becomes: ``` Error: JSClass at Function.foo (C:\Users\mfischer\src\videmo\test\node-bug-enable-source-maps\index.mts:3:11) ``` The class name is lost somewhere. I also noticed that the class name is missing even without using `--enable-source-maps` when using prototype based inheritance instead of classes and also for napi classes created with `napi_define_class` (not included in repro below). See detailed repro at https://github.com/mika-fischer/node-bug-enable-source-maps So maybe the issue is not really with enable-source-map-support but that the standard `CallSite` serialization accesses some magic property that only works for real JS classes and is missing when using prototype based inheritance or `napi_define_class`. And enable-source-maps just uses the public accessors of `CallSite`, which don't seem to expose/use this property... In any case I'm interested in both: - `--enable-source-map` should retain the class names - Static methods of classes defined with `napi_define_class` (and preferable also "classes" defined using protoype inheritance) should have the class name (with or without `--enable-source-maps`) ### How often does it reproduce? Is there a required condition? Always ### What is the expected behavior? Why is that the expected behavior? the stack trace should be ``` Error: JSClass at JSClass.foo (C:\Users\mfischer\src\videmo\test\node-bug-enable-source-maps\index.mts:3:11) ``` ### What do you see instead? the stack trace is ``` Error: JSClass at Function.foo (C:\Users\mfischer\src\videmo\test\node-bug-enable-source-maps\index.mts:3:11) ``` ### Additional information _No response_
source maps
low
Critical
2,561,237,864
kubernetes
Support takeover for devicemanager/device-plugin
### What would you like to be added? Add support for seamless takeover by a new device-plugin for a resource without deregistering the resource. In other words, a new device-plugin can be started and registering the resource before the old device-plugin is stopped. In this case, devicemanager should not change the values of allocatable/total count for this resource. ### Why is this needed? Currently, devicemanager only works with one device-plugin instance for every resource. In other words, if two device-plugin are running, devicemanager may have unexpected behaviors. For example, when two device-plugin are running, they are both registered for the same resource. However, if one of them stops, the resource is marked as deregistered and resource counts reset to 0. We need this support to have seamless deployment of device-plugin. After this is supported, new device-plugin can be started while the old device-plugin is also running, and devicemanager should notice the new device-plugin, as it registers more recently, to be the new takeover and gracefully deregister/disconnect the old device-plugin. With this, there will be no downtime for resources in device-plugin updates.
priority/backlog,sig/node,kind/feature,triage/accepted
low
Major
2,561,319,986
pytorch
`torch._batch_norm_impl_index` performs inconsistently on CPU and CUDA
### 🐛 Describe the bug # Bug program ``` import torch # CPU input = torch.randn(3, 4, 5) running_mean = torch.randn(4) output, save_mean, save_var, reserve, _ = torch._batch_norm_impl_index(input, None, None, running_mean, None, True, 0.1, 1e-5, True) # GPU input = input.cuda() running_mean = running_mean.cuda() output, save_mean, save_var, reserve, _ = torch._batch_norm_impl_index(input, None, None, running_mean, None, True, 0.1, 1e-5, True) ``` # Bug description When I run the above code on the CPU, there are no errors. However, when I execute it on CUDA, I encounter the following RuntimeError: ``` RuntimeError: Expected has_running_mean == has_running_var to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.) ``` ### Versions PyTorch version: 2.4.1+cu121 Is debug build: False CUDA used to build PyTorch: 12.1 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.2 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: 14.0.0-1ubuntu1.1 CMake version: version 3.22.1 Libc version: glibc-2.35 Python version: 3.8.19 (default, Mar 20 2024, 19:58:24) [GCC 11.2.0] (64-bit runtime) Python platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.17 Is CUDA available: True CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA RTX A6000 Nvidia driver version: 545.23.08 cuDNN version: Could not collect 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): 64 On-line CPU(s) list: 0-63 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Gold 6444Y CPU family: 6 Model: 143 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 2 Stepping: 8 Frequency boost: enabled CPU max MHz: 3601.0000 CPU min MHz: 800.0000 BogoMIPS: 7200.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 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 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: 1.5 MiB (32 instances) L1i cache: 1 MiB (32 instances) L2 cache: 64 MiB (32 instances) L3 cache: 90 MiB (2 instances) NUMA node(s): 2 NUMA node0 CPU(s): 0-15,32-47 NUMA node1 CPU(s): 16-31,48-63 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 Retbleed: Not affected Vulnerability Spec rstack overflow: 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] torch==2.4.1 [pip3] triton==3.0.0 [conda] numpy 1.24.4 pypi_0 pypi [conda] torch 2.4.1 pypi_0 pypi [conda] triton 3.0.0 pypi_0 pypi
triaged,module: norms and normalization
low
Critical
2,561,323,780
PowerToys
Custom URL Opening in PowerToys Run
### Description of the new feature / enhancement I would like to request the implementation of a "Custom URL Opening" feature in PowerToys Run, similar to the "Web Search" feature in Listary. This functionality would allow users to create custom URL shortcuts that dynamically insert queries, enabling quick access to web searches or internal systems. For example, users could configure: - Keyword: g - Title: Google - URL: http://www.google.com/search?q={query} Typing "g PowerToys" in PowerToys Run would then open the default browser and search for "PowerToys" on Google (https://www.google.com/search?q=PowerToys). This feature would allow great customization, enabling users to create shortcuts to various services, websites, and internal systems, enhancing productivity. ### Scenario when this would be used? This feature would be useful in scenarios where users need quick access to specific web searches or internal systems using predefined URLs with dynamic query parameters. For example: - Searching Google or other search engines with a keyword like "g." - Accessing internal issue trackers like Redmine by typing something like "# 123" to open issue #123. - Searching specific resources in shared drives by configuring a keyword like "f" to search a particular folder in Google Drive. It would be especially beneficial for people working in environments with custom systems or shared resources, allowing them to quickly access these resources without opening the browser and typing the URL manually. ### Supporting information This feature is already available in a similar tool called Listary, under the name "Web Search." It supports dynamic URL queries and is highly customizable. Implementing this in PowerToys Run would make it a more versatile tool, potentially attracting more users who need such flexibility. Ref: https://www.listary.com/
Needs-Triage
low
Minor
2,561,330,134
pytorch
`batch_first` argument of `nn.Transformer()` should be `True` by default because it's not convenient to get a warning with the default settings
### 🐛 Describe the bug [nn.Transformer()](https://pytorch.org/docs/stable/generated/torch.nn.Transformer.html) with the default settings gets the warning as shown below because `batch_first` argument is `False` by default: ```python from torch import nn tran = nn.Transformer() # Warning ``` > UserWarning: enable_nested_tensor is True, but self.use_nested_tensor is False because encoder_layer.self_attn.batch_first was not True(use batch_first for better inference performance) warnings.warn(f"enable_nested_tensor is True, but self.use_nested_tensor is False because {why_not_sparsity_fast_path}") So `nn.Transformer()` with `batch_first=True` doesn't get the warning as shown below: ```python from torch import nn tran = nn.Transformer(batch_first=True) # No warning ``` My suggestion is `batch_first` should be `True` by default because it's not convenient to get the warning with the default settings. ### Versions ```python import torch torch.__version__ # Error ``` cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @bhosmer @cpuhrsch @erichan1 @drisspg
module: nn,triaged
low
Critical
2,561,333,998
pytorch
`torch.vdot` performs inconsistently on CPU and CUDA
### 🐛 Describe the bug ``` import torch a = torch.tensor([1, 2, 3]) b = torch.tensor([4, 5, 6]) torch.vdot(a, b) a = a.cuda() b = b.cuda() torch.vdot(a, b) ``` When I run the above code on the CPU, there are no errors. However, when I execute it on CUDA, I encounter the following RuntimeError: ``` RuntimeError: "dot" not implemented for 'Long' ``` ### Versions PyTorch version: 2.4.1+cu121 Is debug build: False CUDA used to build PyTorch: 12.1 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.2 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: 14.0.0-1ubuntu1.1 CMake version: version 3.22.1 Libc version: glibc-2.35 Python version: 3.8.19 (default, Mar 20 2024, 19:58:24) [GCC 11.2.0] (64-bit runtime) Python platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.17 Is CUDA available: True CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA RTX A6000 Nvidia driver version: 545.23.08 cuDNN version: Could not collect 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): 64 On-line CPU(s) list: 0-63 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Gold 6444Y CPU family: 6 Model: 143 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 2 Stepping: 8 Frequency boost: enabled CPU max MHz: 3601.0000 CPU min MHz: 800.0000 BogoMIPS: 7200.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 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 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: 1.5 MiB (32 instances) L1i cache: 1 MiB (32 instances) L2 cache: 64 MiB (32 instances) L3 cache: 90 MiB (2 instances) NUMA node(s): 2 NUMA node0 CPU(s): 0-15,32-47 NUMA node1 CPU(s): 16-31,48-63 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 Retbleed: Not affected Vulnerability Spec rstack overflow: 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] torch==2.4.1 [pip3] triton==3.0.0 [conda] numpy 1.24.4 pypi_0 pypi [conda] torch 2.4.1 pypi_0 pypi [conda] triton 3.0.0 pypi_0 pypi cc @ptrblck @msaroufim
module: cuda,triaged
low
Critical
2,561,407,777
PowerToys
Color picker Functionality for formulae in custom color formats
### Description of the new feature / enhancement Proposal for adding functionality to use calculated values in the color picker's custom color formats. For example, multiplying the saturation with the HSV value to get a 'vividness' score. If we call this new color format HSV Viv (hue, saturation, value, saturation*value), the _formula_ might be **HSV Viv(%Hu, %Sb, %Va, %Sb * %Va * 0.01)** <img width="377" alt="CustomFormulaColorFormat" src="https://github.com/user-attachments/assets/9734786f-1d60-4b0e-9cc9-86bacb1f2120"> Of course, one should consider escaping the math operators in case users want to have math symbols written in their color picker readings. ### Scenario when this would be used? Whenever users want to implement their own custom color formats. Or when users want to have additional information shown that are calculated values based on the built-in values. Also some Issues and Feature Requests could be directed towards 'the tool has the capabilities, there you can implement _xyz_ format', freeing up some time for urgent requests. ### Supporting information _No response_
Needs-Triage
low
Minor
2,561,418,216
godot
@export_range's "radians_as_degrees" changes behaviour based on the default value in code
### Tested versions Reproduced in v4.3.stable.official [77dcf97d8] ### System information Godot v4.3.stable - Garuda Linux #1 ZEN SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:17:51 +0000 - X11 - GLES3 (Compatibility) - Mesa Intel(R) HD Graphics 630 (KBL GT2) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads) ### Issue description When using `"radians"` or `"radians_as_degrees"` hints in `@export_range`, the behaviour changes based on the default value within the code: - If the default values in the code are numbers, values inputted in the inspector field as degrees **will not** be converted to radians and will remain as degrees. (90deg in the inspector will result in the value of the variable being equal to 90) - If the default values in the code are numbers multiplied by PI, values inputted in the inspector field as degrees **will** be converted to radians. (90deg in the inspector will result in the value of the variable being equal to 1.5708) I believe this is unintuitive, as even a 0 as a default value will end up in degrees in the inspector not being converted to radians. In my specific case I was making a turret base class, with export variables used to adjust possible vertical/horizontal spread. Having set default values to 0, it was unclear why a +-5deg spread value set in the inspector resulted in shots fired in whatever direction possible ( `rotation.y = randi_range(-h_spread, h_spread)` does very different things if `h_spread` is in degrees vs radians. ### Steps to reproduce Create an empty project with an empty Node3D and add the following script to it. Then, in the inspector, set all export fields created by this script to any value in degrees. Run the scene and observe the output printed. ``` extends Node3D @export_range(0,360, 1, "radians") var R_deg = 1 @export_range(0,360, 1, "radians") var R_rad = 1*PI @export_range(0,360, 1, "radians_as_degrees") var RaD_deg = 1 @export_range(0,360, 1, "radians_as_degrees") var RaD_rad = 1*PI func _ready() -> void: # comments after each line below represent the values printed if all inspector export values are set to 90 print("Marked 'radians', default code value is 1: " + str(R_deg)) #90 print("Marked 'radians', default code value is 1*PI: " + str(R_rad)) #1.5708 print("Marked 'radians_as_degrees', default code value is 1: " + str(RaD_deg)) #90 print("Marked 'radians_as_degrees', default code value is 1*PI: " + str(RaD_rad)) #1.5708 ``` ### Minimal reproduction project (MRP) N/A
bug,topic:editor,usability
low
Minor
2,561,488,405
next.js
TypeError: Cannot read properties of undefined (reading 'call')
### Link to the code that reproduces this issue https://github.com/JClackett/next-server-actions ### To Reproduce Getting this consistently in production only and only for certain users ``` TypeError: Cannot read properties of undefined (reading 'call') message: Cannot read properties of undefined (reading 'call'), name: TypeError, stack: TypeError: Cannot read properties of undefined (reading 'call') at l (<url>/_next/static/chunks/webpack-0062ff542f3d788d.js? ``` I posted an issue a while back and am still struggling to get a repro, but it's consistently happening. I can see its happening on certain actions but when I test those in production it doesnt error, so im assuming its something to do with a user's browser maybe? https://github.com/vercel/next.js/issues/67208 Looking into the sources there's one webpack file generated and there are 2 references to .call ``` try { f[e].call(n.exports, n, n.exports, l), r = !1 } finally { r && delete d[e] } ``` and ``` l.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, ``` I can see from the session replays that the server action isnt even being called, it throws an error on the client straight away as soon as the form is submitted. ### Current vs. Expected behavior Server actions dont throw exceptions ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 8 Binaries: Node: 18.20.4 npm: 10.7.0 Yarn: 1.22.19 pnpm: 8.15.7 Relevant Packages: next: 14.2.14 // Latest available version is detected (14.2.14). eslint-config-next: N/A react: 18.3.1 react-dom: 18.3.1 typescript: 5.6.2 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Navigation, Runtime, Webpack ### Which stage(s) are affected? (Select all that apply) Vercel (Deployed) ### Additional context Deployed on vercel, production only.
bug,Webpack,Navigation,Runtime
low
Critical
2,561,516,314
PowerToys
CapsLock turns on when pressing combination Win+Ctrl with mapping of CapsLock->Ctrl
### Microsoft PowerToys version 0.85.0 ### Installation method PowerToys auto-update ### Running as admin Yes ### Area(s) with issue? Keyboard Manager ### Steps to reproduce I have mapped left Ctrl to CapsLock which means that in place of CapsLock have left Ctrl and left Ctrl is left in place. When using mappings connected to virtual desktops Win+Ctrl+<something> sometimes CapsLock (although it is mapped out to oblivion) turn on. But I effectively don't have Caps Lock so I have to manually turn off Keyboard Manager Toy, use CapsLock to turn it off and turn on Keyboard Manager. ### ✔️ Expected Behavior Don't turn on Caps Lock when it is mapped out of keyboard. ### ❌ Actual Behavior _No response_ ### Other Software _No response_
Issue-Bug,Needs-Triage,Needs-Team-Response
low
Major
2,561,548,233
PowerToys
Peek at desktop keyboard shortcut stuck (Mouse Without Borders)
### Microsoft PowerToys version 0.85.0 ### Installation method GitHub, PowerToys auto-update ### Running as admin None ### Area(s) with issue? General, Mouse Without Borders ### Steps to reproduce It happens when using mouse without borders on secondary computers. When pressing Windows key + , on the secondary pc (shortcut for peeking at Desktop), it does not register any other commands with the keyboard, as if those shortcut keys were being being pressed down continuously. The only way to get around that is to press the same shortcut on the respective computer with its physical keyboard. Then, it "unfreezes" and goes back to normal. To sum it up: 1. Bring the mouse to the computer which is connected in "mouse without borders"; 2. Press Windows Key + , once 3. Can't use keyboard until manually pressing the shortcut ON the respective computer's keyboard ### ✔️ Expected Behavior Peek at desktop supposed to be working on secondary computers when using the tool "mouse without borders". ### ❌ Actual Behavior Once the shortcut is activated in the secondary pc, the result is a constant "peek at desktop", as if the shortcut was still being pressed down on the keyboard. ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,561,574,924
ollama
Support for I16 data type in conversion from Safetensors
I tried importing the [ISTA-DASLab/Meta-Llama-3.1-8B-Instruct-AQLM-PV-2Bit-1x16-hf](https://huggingface.co/ISTA-DASLab/Meta-Llama-3.1-8B-Instruct-AQLM-PV-2Bit-1x16-hf) model from Hugging Face. It's in Safetensors format with tensor type FP16 and I16. I downloaded the files, created a simple `Modelfile` in the same directory: ``` FROM . ``` From model creation I got this: ``` PS D:\OllamaModels\llama3.1-8b-instruct-aqlm> ollama create llama3.1-instruct-aqlm:8b transferring model data 100% converting model Error: unknown data type: I16 ``` Could Ollama conversion support the I16 data type?
feature request
low
Critical
2,561,594,938
react
Bug: DevTools 6.0.0 element inspector not working with React Native 0.75
<!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest version of the relevant React packages to make sure your issue has not already been fixed. --> React version: 18.3.1 React Native version: 0.75.3 ## Steps To Reproduce 1. Create a new 'frameworkless' React Native app, by following [these instructions](https://reactnative.dev/docs/getting-started-without-a-framework). Alternatively, clone [this repo](https://github.com/tsdevshop/react-native-devtools-test), which is the result of scaffolding a new RN project. 2. Run `npm install` and `cd ios; bundle exec pod install` to install dependencies. 3. Run `npm start` in one terminal to start the Metro bundler, and `npm run ios` in another to build and run the app on a simulator. 4. Run `npx react-devtools@6.0.0`. 5. In the simulator, reload the app and toggle the Element Inspector. 6. Tap on an element in the app to inspect it. <!-- Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Issues without reproduction steps or code examples may be immediately closed as not actionable. --> Link to code example: https://github.com/tsdevshop/react-native-devtools-test <!-- Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve. --> ## The current behavior - The element is not selected in the DevTools pane ## The expected behavior - The element should be selected. Note that running `npx react-devtools@5.3.1` results in the correct behavior. ## Screencasts https://github.com/user-attachments/assets/89cb0446-fbbe-4b74-b989-c07a86bc4262 https://github.com/user-attachments/assets/4517c28a-c9b2-4b58-80c4-e6b3ff17a181
Status: Unconfirmed
low
Critical
2,561,604,915
vscode
VS Code Insiders crashes with `editor.experimentalEditContextEnabled` and reconversion
Version: 1.94.0-insider Commit: 889feaf2ef663d9d3b079c4a3627e4ce27027323 Date: 2024-10-02T04:46:15.711Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Darwin arm64 22.6.0 Steps to Reproduce: 1. Set `"editor.experimentalEditContextEnabled": true` 2. Enable Google IME for Japanese. 3. Type `sennsei` 4. Type `Space` twice 5. Click a different line of the editor with the mouse. 6. Press the key for reconversion, the `Kana` key or `Ctrl-Shift-R`. 7. VS Code Insiders crashes sometimes, not always. It would be difficult to reproduce. The following is the crash dump: [fce4fc0f-f989-4de4-a9d7-4b2ace9c8859.dmp](https://github.com/user-attachments/files/17229566/fce4fc0f-f989-4de4-a9d7-4b2ace9c8859.dmp)
freeze-slow-crash-leak,editor-edit-context
low
Critical
2,561,634,820
godot
When changing screen resolution, having a shader that use 'hint_depth_texture' will cause all shader that use 'hint_screen_texture' to turn black
### Tested versions - Reproducible in Godot Engine v4.3.stable.steam, with Compatibility renderer ### System information Window 10 - Godot Engine v4.3.stable.steam - Compatibility renderer ### Issue description When the screen resolution is changed, the shader that use hint_screen_texture will turn black, this radioactively happen to all shader that used hint_screen_texture even when they're not in the scene yet I noticed that this will always happen when I look at a water, because my water shader use 'hint_depth_texture' ### Steps to reproduce - create a CSGBox3D with Shader material that use spatial shader, this shader will use "hint_depth_texture" here is the simple script : ``` shader_type spatial; uniform sampler2D DEPTH_TEXTURE : hint_depth_texture; void fragment() { vec4 depth_texture = texture(DEPTH_TEXTURE, SCREEN_UV); } ``` - create a color rect with Shader material that use canvas_item shader, this shader will use 'hint_screen_texture' here is the simple script : ``` shader_type canvas_item; uniform sampler2D SCREEN_TEXTURE: hint_screen_texture; void fragment() { COLOR = texture(SCREEN_TEXTURE, UV); } ``` - If when the scene is running, the CSGBox3D is visible, the ColorRect will become black right away - if when the scene is running and the CSGBox3D is not visible, ColorRect shader will work fine BUT when CSGBox3D turn visible later and then resize the window, it will become black before resize : ![Screenshot 2024-10-02 195549](https://github.com/user-attachments/assets/980fea85-e968-41cb-a866-c1959a4d8806) after resize : ![Screenshot 2024-10-02 195622](https://github.com/user-attachments/assets/03c145bc-8bb4-45b3-b0da-1ca756cca9c2) ### Minimal reproduction project (MRP) [test_depth_problem.zip](https://github.com/user-attachments/files/17229746/test_depth_problem.zip)
bug,topic:rendering,confirmed
low
Minor
2,561,754,026
PowerToys
Workspaces cannot handle updated app versions
### Microsoft PowerToys version 0.85.0 ### Installation method Scoop ### Running as admin No ### Area(s) with issue? Workspaces ### Steps to reproduce Create a workspace with some apps. Then, update those apps to new versions, such that the new app binaries are placed in a new folder. Consider the situation where the app stores the binaries in a folder like C:/ProgramFiles/App/version1/binary.exe, but after an update it is found in C:/ProgramFiles/App/version1.1/binary.exe. In the $PATH, this is handled by having a shortcut to the current version of the app, like how Java is handled. Try to open the workspace again after updating. It will fail to open updated apps. ### ✔️ Expected Behavior Powertoys should open the app. Ideally, I would allow Powertoys to identify app binaries by shortcuts or by $PATH. Maybe you could allow the user to manually enter the path to the binary? ### ❌ Actual Behavior It looks for the app in the specific version folder, which may or may not exist anymore. ### Other Software _No response_
Issue-Bug,Needs-Triage,Needs-Team-Response,Product-Workspaces
low
Minor
2,561,815,861
deno
Bug?: fetch(): Uncaught TypeError: error reading a body from connection
Version: Deno 1.46.3 I have a problem when fetching this URL. `http(s)://www.astroarts.co.jp/article/feed.atom` ``` > await (await fetch("http://www.astroarts.co.jp/article/feed.atom")).text() Uncaught TypeError: error reading a body from connection at async readableStreamCollectIntoUint8Array (ext:deno_web/06_streams.js:1066:19) at async consumeBody (ext:deno_fetch/22_body.js:254:9) at async <anonymous>:1:22 > await (await fetch("https://www.astroarts.co.jp/article/feed.atom")).text() Uncaught TypeError: error reading a body from connection at async readableStreamCollectIntoUint8Array (ext:deno_web/06_streams.js:1066:19) at async consumeBody (ext:deno_fetch/22_body.js:254:9) at async <anonymous>:1:22 ``` The two below can be executed without any problems. ```ts await (await fetch("http://www.astroarts.co.jp/")).text() await (await fetch("https://www.astroarts.co.jp/")).text() ``` You can see that it has been loaded halfway. ``` > const stream = (await fetch("https://www.astroarts.co.jp/article/feed.atom")).body undefined > for await (const chunk of stream) { console.log(chunk) } Uint8Array(64) [ 60, 63, 120, 109, 108, 32, 118, 101, 114, 115, 105, 111, 110, 61, 34, 49, 46, 48, 34, 32, 101, 110, 99, 111, 100, 105, 110, 103, 61, 34, 85, 84, 70, 45, 56, 34, 63, 62, 10, 60, 102, 101, 101, 100, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119 ] Uint8Array(64) [ 51, 46, 111, 114, 103, 47, 50, 48, 48, 53, 47, 65, 116, 111, 109, 34, 62, 10, 32, 32, 60, 97, // -------------- many lines ---------------- Uint8Array(64) [ 136, 49, 48, 230, 151, 165, 227, 129, 148, 227, 130, 141, 227, 128, 130, 60, 47, 115, 117, 109, 109, 97, 114, 121, 62, 10, 32, 32, 32, 32, 60, 117, 112, 100, 97, 116, 101, 100, 62, 50, 48, 50, 52, 45, 48, 57, 45, 48, 51, 84, 48, 57, 58, 49, 48, 58, 50, 51, 90, 60, 47, 117, 112, 100 ] Uint8Array(25) [ 97, 116, 101, 100, 62, 10, 32, 32, 60, 47, 101, 110, 116, 114, 121, 62, 10, 60, 47, 102, 101, 101, 100, 62, 10 ] Uncaught TypeError: error reading a body from connection at async Object.pull (ext:deno_web/06_streams.js:938:27) ```
bug,ext/fetch
low
Critical
2,561,859,364
PowerToys
Scrolling Enhancements in Crop And Lock
### Description of the new feature / enhancement For pointing devices that have horizontal scroll features, enable horizontal scrolling in Reparent mode. Allow scrolling in all directions in Thumbnail mode (i.e., capture the entire window in the image buffer). ### Scenario when this would be used? Based on the animated example use of Crop And Lock to crop to a section of a web page. Horizontal scrolling would allow use of, for example, navigation links that are otherwise cropped out, without having to close the crop, navigate, and re-crop. In my work as an electrical engineer, I can imagine this being extremely useful when referring to small sections of large printed circuit board designs (except Altium doesn't play nice with CAR reparenting, hence the mention of scrolling in Thumbnail mode). CAR's real power is being able to crop out sidebars and UI elements that would otherwise get in the way when simply resizing the window. Horizontal scrolling would make the tool that much more powerful. ### Supporting information _No response_
Needs-Triage
low
Minor
2,561,897,518
excalidraw
Excalidraw+ : scene name input + `esc` key
Hello, this is a small issue, but that's bothering me: when editing the name of a scene in Excalidraw+, pressing the `esc` key cancels the edition, which is a bit bothersome, and not what happens when editing a text in the scene itself for example. Having `esc` accept current edition would be better IMO. ![Image](https://github.com/user-attachments/assets/15ca9bf7-4ff3-4437-8f54-cf2b20106d88)
Excalidraw+
low
Minor
2,561,952,420
rust
rustdoc search is excruciatingly slow on very large crates
Steps to reproduce: 1. Use Firefox on a computer with Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz or comparable CPU. 2. Go to https://microsoft.github.io/windows-docs-rs. This rustdoc has a search index of 38 MB. 3. Focus on the search bar and slowly type "ID3D12GraphicsPipelineState". Expected behavior: rustdoc quickly shows matching results while typing and when done typing. Actual behavior: Web page slows down to a crawl after every delayed keystroke. This is not just due to the search index download, which takes me 1.4 s and can probably not be improved much, but also due to matching the search query against the search index once the download is finished. Here is Firefox Profiler output: <https://share.firefox.dev/4eOgrcE>. Of interest are the yellow areas in the graph (the salmon ones are mostly idle GC). Some observations: - buildIndex takes about a second. - A lot of time seems to be spent in calculating edit distance. This is definitely a useful feature (as can be seen in the example query, "ID3D12GraphicsPipelineState", which has relevant but no exact matches). - Some of the edit distance calculations are done by `convertNameToId`, which is documented to be used only for the In Parameters and In Return Types tabs. If the user is not going to click on those tabs then perhaps these calls are not necessary.
I-slow,T-rustdoc,C-bug,A-rustdoc-search
low
Major
2,561,954,201
rust
ICE: rustc interrupted by SIGSEGV while compiling in release mode
<!-- 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 Repository: https://github.com/astraly-labs/madara ### 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.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: x86_64-unknown-linux-gnu release: 1.81.0 LLVM version: 18.1.7 ``` ### Error output When doing; ```bash cargo run --release -- --devnet --chain-config-path ./configs/presets/devnet.yaml ``` ``` error: rustc interrupted by SIGSEGV, printing backtrace /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/librustc_driver-3f4ebb066deec3c0.so(+0x32b0323)[0x7f87470b0323] /lib/x86_64-linux-gnu/libc.so.6(+0x3f590)[0x7f8743c55590] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.81.0-stable(+0x5e74ff4)[0x7f8742074ff4] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.81.0-stable(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0xad5)[0x7f8741f0ed15] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.81.0-stable(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x2f)[0x7f8741f0e185] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.81.0-stable(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x260)[0x7f87424b0ea0] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/librustc_driver-3f4ebb066deec3c0.so(LLVMRustWriteOutputFile+0x190)[0x7f87492624d0] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/librustc_driver-3f4ebb066deec3c0.so(+0x54620df)[0x7f87492620df] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/librustc_driver-3f4ebb066deec3c0.so(+0x545f5f0)[0x7f874925f5f0] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/librustc_driver-3f4ebb066deec3c0.so(+0x545f25e)[0x7f874925f25e] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/librustc_driver-3f4ebb066deec3c0.so(+0x545dbee)[0x7f874925dbee] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/librustc_driver-3f4ebb066deec3c0.so(+0x545d1a9)[0x7f874925d1a9] /home/akhercha/.rustup/toolchains/1.81-x86_64-unknown-linux-gnu/lib/libstd-1c4b19562077c20d.so(rust_metadata_std_1f2242ed6435445e+0xc75fb)[0x7f874a98c5fb] /lib/x86_64-linux-gnu/libc.so.6(+0x8c6c2)[0x7f8743ca26c2] /lib/x86_64-linux-gnu/libc.so.6(+0x107128)[0x7f8743d1d128] note: we would appreciate a report at https://github.com/rust-lang/rust help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216 Compiling madara v0.7.0 (/home/akhercha/Programming/pragma/madara/crates/node) ^C Building [=======================> ] 885/886: madara(bin) # It works fine after this. ``` <!-- 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> ``` // The full backtrace should be included here when running with RUST_BACKTRACE=1 ``` </p> </details> Additional Context: - Adding `RUST_MIN_STACK=16777216` didn't change anything, the error is still here. - It shows an error but the code looks like it's executing normally.
I-crash,A-LLVM,T-compiler,C-bug
low
Critical
2,561,956,757
deno
deno.json imports not used when deno run https://xyz/main.ts - feature or bug ?
### Observation I noticed that when doing `deno run path/to/main.ts` the `imports` field in `deno.json` is used - as expected. However when running the same script from remote `deno run https:///abc/xyz/main.ts` this is not the case. So if I need distribute a "package" ie a collection of interdependent `.ts` files then I cannot use the convenience of `deno.json/imports`. ### Question Is it a **feature** or a **bug** ? If it is a feature, to you plan to allow the use of `deno.json` in remote runs ? Or is there a good reason not to ? ### Context I am in a corp env and the best/only way to share such package is via a github enterprise repo. ### Repo To reproduce: https://github.com/oscar6echo/sample-deno-pkg Screenshots: ![image](https://github.com/user-attachments/assets/eb8673f1-172d-47fc-a886-0ad7c15d79d3) ![image](https://github.com/user-attachments/assets/13286651-3f50-40cd-9694-725571ed5f11) ![image](https://github.com/user-attachments/assets/030e233c-1050-4a17-b3c7-7537f4f94b87) --- ```sh deno --version deno 2.0.0-rc.9 (release candidate, release, x86_64-unknown-linux-gnu) v8 12.9.202.13-rusty typescript 5.6.2 ```
question
low
Critical
2,561,976,837
godot
GDShader "invalid pragma directive" error on unrecognized pragma should be dropped
### Tested versions - Reproducible in: v4.3.stable.flathub [77dcf97d8] ### System information Godot v4.3.stable (77dcf97d8) - Freedesktop SDK 23.08 (Flatpak runtime) - X11 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 5500 (BDW GT2) - Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (4 Threads) ### Issue description The [GLSL ES 3.00 spec](https://registry.khronos.org/OpenGL/specs/es/3.0/GLSL_ES_Specification_3.00.pdf) says on page 15: > `#pragma` allows implementation dependent compiler control. Tokens following `#pragma` are not subject to preprocessor macro expansion. **If an implementation does not recognize the tokens following `#pragma`, then it will ignore that pragma.** I believe the whole point of `#pragma` is to allow forward-compatibility, by letting any unrecognized instructions be ignored. So I believe showing an error like "Invalid pragma directive" defeats the whole purpose, no? Invalid pragma lines should be ignored like how it is in the spec. In fact, both C and GLSL preprocessors don't complain at all if you add a custom pragma. The spec also says: > The following pragmas are defined as part of the language. > `#pragma STDGL` > The `STDGL` pragma is used to reserve pragmas for use by this and future revisions of the language. No implementation may use a pragma whose first token is `STDGL`. So, I think it would also be beneficial to add something similar for mandatory directives that *should* raise error if unrecognized. For example, you could exceptionally raise the error if it starts with `#pragma required`: ```glsl shader_type spatial; #pragma required command_that_must_be_supported #pragma optional_command ``` Note that both C and GLSL preprocessors leave the entire `#pragma` lines (after joining line continuations) in their output as well (unlike other directives such as `#define`, etc. which are stripped out). Presumably, this could be to allow the compilation after the preprocessor to be affected by pragmas as well. So the ignoring behavior should be implemented in both the preprocessor and the lexer/parser after it, to account for potential usages that may extend beyond the preprocessor. ### Steps to reproduce ```glsl shader_type spatial; #pragma some_custom "etc" 3.14 // unrecognized pragma should be ignored instead of raising error ``` ```sh cd /tmp echo '#pragma some_custom "etc" 3.14' | tee a.c > a.frag echo '=== GLSL ==='; glslang -E a.frag; echo '=== C ==='; gcc -E a.c ``` Of course, the error should still show for recognized pragma lines that are malformed: ```glsl #pragma disable_preprocessor blah blah // should still raise the error ``` ### Minimal reproduction project (MRP) N/A
enhancement,discussion,topic:shaders
low
Critical
2,561,988,775
flutter
Flutter Attach Command Fails on iPhone Over LTE Connection
### Steps to reproduce Hi, We’re currently automating tests for a hybrid Flutter-Native app. Since our app includes LTE-specific flows, we need to disconnect the iPhone from Wi-Fi to test LTE flows. However, doing so causes the flutter attach command to stop working. Has anyone else encountered this issue? Is this expected behavior because flutter attach relies on a local network connection? Thanks. 1- Connect iPhone to Mac via USB 2- Install application 3- Open application, give necessary permissions 4- Disconnect Wi-Fi 5- Run flutter attach -d <device_uuid> --profile ### Actual results Can't establish connection. See the logs. ### Logs <details open> <summary>Logs</summary> ```console Flutter crash report. Please report a bug at https://github.com/flutter/flutter/issues. ## command flutter attach -d 00008101-001451391AC3001E --profile ## exception String: failed to connect to http://127.0.0.1:50123/7ltDjNOwndE=/ #0 DartDevelopmentServiceImpl.startService (package:dds/src/dds_impl.dart:162:7) <asynchronous suspension> #1 DartDevelopmentService.startDartDevelopmentService (package:dds/dds.dart:97:5) <asynchronous suspension> #2 DartDevelopmentService.startDartDevelopmentService (package:flutter_tools/src/base/dds.dart:55:22) <asynchronous suspension> #3 FlutterDevice.connect.<anonymous closure> (package:flutter_tools/src/resident_runner.dart:298:11) <asynchronous suspension> ``` </details> ### Flutter Doctor output ```console [✓] Flutter (Channel stable, 3.24.3, on macOS 15.1 24B5035e darwin-arm64, locale en-US) • Flutter version 3.24.3 on channel stable at /opt/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2663184aa7 (3 weeks ago), 2024-09-11 16:27:48 -0500 • Engine revision 36335019a8 • Dart version 3.5.3 • DevTools version 2.37.3 [!] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/test/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • ANDROID_HOME = /Users/test/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) ✗ 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.0) • Xcode at /Applications/Xcode-beta.app/Contents/Developer • Build 16A5221g • CocoaPods version 1.15.2 [✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [✓] Android Studio (version 2021.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 11.0.13+0-b1751.21-8125866) [✓] VS Code (version 1.93.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected device (6 available) • SM T220 (mobile) • R9PT713SG4Z • android-arm64 • Android 12 (API 31) • SM X200 (mobile) • R9YT30J6DSZ • android-arm64 • Android 11 (API 30) • SM A536E (mobile) • RFCT70KNW8X • android-arm64 • Android 13 (API 33) • iPhone (mobile) • 00008101-001451391AC3001E • ios • iOS 18.0 22A3354 • macOS (desktop) • macos • darwin-arm64 • macOS 15.1 24B5035e darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.1 24B5035e darwin-arm64 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 2 categories. ```
c: crash,platform-ios,tool,P2,team-ios,triaged-ios
low
Critical
2,562,001,852
PowerToys
New+ not working on Windows 11 (French Canada version)
### Microsoft PowerToys version 0.85.0 ### Installation method PowerToys auto-update ### Running as admin None ### Area(s) with issue? New+ ### Steps to reproduce Right-clicking on any folder doesn't bring up the New+ menu ### ✔️ Expected Behavior New+ menu should be there (as saw in a video about this feature). ### ❌ Actual Behavior Contextual menus are the same if New+ feature is turned ON and OFF ### Other Software _No response_
Issue-Bug,Priority-1,Product-New+
medium
Critical
2,562,006,596
TypeScript
Thousands of false positives that seem to crash the TypeScript extension
<!-- ⚠️⚠️ 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 (it's a built-in extension) <!-- 🪓 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. --> Version: 1.93.1 (Universal) Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40 Date: 2024-09-11T17:20:05.685Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Darwin x64 22.6.0 Steps to Reproduce: 1. This is happening in our OS repo: https://github.com/Khan/perseus 2. `git clone https://github.com/Khan/perseus.git` and `yarn install` 3. Note there are no TS errors 4. Open `grapher.cypress.ts` 5. Note there are thousands of TS errors, even outside of the opened file 6. Run `yarn tsc` and note there aren't any real TS errors https://github.com/user-attachments/assets/5bc851d0-b451-45bf-99d9-5e65d76ea77c
Needs Investigation
low
Critical
2,562,031,689
godot
Cannot import a Blender material with a Normal map and Alpha transparency at the same time while importing from gltf
### Tested versions Tested in v4.3.stable.official [77dcf97d8] ### System information Godot v4.3.stable - Linux Mint 21.3 (Virginia) - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 580 Series (RADV POLARIS10) - AMD Ryzen 7 2700 Eight-Core Processor (16 Threads) ### Issue description When I try to import a model from Blender 4.2.2, using the gltf 2.0 format and the default export options, if any of the materials has a texture with an alpha channel and a normal map at the same time, the whole model appears yellow in color and has no alpha transparency. If I try to remove the normal map from the material, export it again and reimport it into Godot, the material is still yellow with no alpha transparency (it doesn't update). In order to be able to fix the material, I need to remove the corresponding .import files generated when Godot imported the model. ### Steps to reproduce 1. Create a regular cube (or any mesh, it's just an example) in Blender 4.2.2 LTS 2. Asign a material to it 3. Add a texture to the material's base color that has an alpha channel (for instance, maple.png) 4. In the Shading tab make sure that the Alpha channel of the texture is linked to the alpha property of the principled BSDF ![image](https://github.com/user-attachments/assets/993b664c-719f-4854-837c-eb544175a026) 5. Select the cube and export is as gltf 2.0. Leave all options by default, but make sure to select 'Export only selected objects'. In my case I exported it as cube.glb. 6. Import cube.glb in Godot. Double click in the imported model. Ensure that the model displays correctly. ![image](https://github.com/user-attachments/assets/660ba451-fcce-413b-9a5c-f3b82a82f667) 7. Now add a Normal Map node, link the texture color to it, and the output normal to the Normal property of the principled BSDF. Ensure that it still looks fine in Blender. ![image](https://github.com/user-attachments/assets/3a6ea517-7204-47d9-839d-b98bee386572) 8. Export the cube again as gltf2.0 overwriting the previous one 9. Make sure the model is updated in Godot (you should see Godot reimporting it. If not, drag and drop the file into your project). 10. Double click in the imported object. This time it appears yellow ![image](https://github.com/user-attachments/assets/8eb5a122-aa42-445c-88f5-cd91041efd0e) 11. Go back to blender, delete the normal map node, and repeat the exporting process again. 12. Update the model in Godot. The cube still appears yellow. 13. Navigate to the folder where your glb model is and remove the .png.import file (in my case it's cube_mapple.png.import). Now go back to Godot. Godot should reimport the material. 14. Double click in the model again. This time it should be rendering properly. ### Minimal reproduction project (MRP) [github_bug_report_gltf_yellow.zip](https://github.com/user-attachments/files/17232275/github_bug_report_gltf_yellow.zip)
bug,needs testing,topic:import
low
Critical
2,562,037,576
ollama
Support for NVLM
NVLM is model from Nvidia: https://nvlm-project.github.io/
model request
medium
Major
2,562,058,139
vscode
Pasting a large amount of content in a json file will leave the cursor in the middle of the pasted content
Repro: 1. Copy the content of this file: [content.md](https://github.com/user-attachments/files/17232398/content.md) 2. Open settings.json 3. Move to the middle of the file, after some key 4. Paste, 🐛 the cursor is in the middle of the pasted content Observation: Undoing will remove the indentation and put the cursor at the end, so I suspect the cursor position is the original offset and not taking into account the inserted indentation. So maybe some race condition related to that? ![Image](https://github.com/user-attachments/assets/5a5b4ae4-bd3d-4500-840a-0642d4fe723a)
bug,editor-autoindent
low
Minor
2,562,060,327
pytorch
torch_np tests failing with Numpy 2.1.1
### 🐛 Describe the bug Running some tests fails with Numpy 2.1.1: ``` ====================================================================================================== ERRORS ======================================================================================================= ________________________________________________________________________ ERROR collecting test/torch_np/numpy_tests/core/test_multiarray.py _________________________________________________________________________ ImportError while importing test module '/lustre07/scratch/coulombc/pytorch/test/torch_np/numpy_tests/core/test_multiarray.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /cvmfs/soft.computecanada.ca/easybuild/software/2023/x86-64-v3/Compiler/gcccore/python/3.11.5/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) torch_np/numpy_tests/core/test_multiarray.py:81: in <module> from numpy.core.tests._locales import CommaDecimalPointLocale E ModuleNotFoundError: No module named 'numpy.core.tests' _______________________________________________________________________ ERROR collecting test/torch_np/numpy_tests/lib/test_function_base.py ________________________________________________________________________ ImportError while importing test module '/lustre07/scratch/coulombc/pytorch/test/torch_np/numpy_tests/lib/test_function_base.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /cvmfs/soft.computecanada.ca/easybuild/software/2023/x86-64-v3/Compiler/gcccore/python/3.11.5/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) torch_np/numpy_tests/lib/test_function_base.py:41: in <module> from numpy.lib import delete, extract, insert, msort, place, setxor1d, unwrap, vectorize E ImportError: cannot import name 'delete' from 'numpy.lib' (/localscratch/coulombc.35484172.0/6652/lib/python3.11/site-packages/numpy/lib/__init__.py) ============================================================================================== short test summary info ============================================================================================== ERROR torch_np/numpy_tests/core/test_multiarray.py ERROR torch_np/numpy_tests/lib/test_function_base.py ``` ## Reproduce From the root directory ``` pytest torch_np ``` Renaming `numpy.core` to `numpy._core` fixes part of it. ### Versions PyTorch version: 2.4.1 Is debug build: False CUDA used to build PyTorch: 12.2 ROCM used to build PyTorch: N/A OS: Gentoo Linux (x86_64) GCC version: (Gentoo 12.3.1_p20230526 p2) 12.3.1 20230526 Clang version: Could not collect CMake version: version 3.27.7 Libc version: glibc-2.37 Python version: 3.11.5 (main, Sep 18 2023, 12:23:42) [GCC 12.3.1 20230526] (64-bit runtime) Python platform: Linux-4.18.0-553.16.1.el8_10.x86_64-x86_64-AMD_EPYC_7543_32-Core_Processor-with-glibc2.37 Is CUDA available: True CUDA runtime version: 12.2 GPU models and configuration: GPU 0: NVIDIA A100-SXM4-40GB Nvidia driver version: 550.90.07 cuDNN version: 9.2 HIP runtime version: N/A MIOpen runtime version: N/A Versions of relevant libraries: [pip3] numpy==2.1.1+computecanada [pip3] torch==2.4.1+computecanada cc @mruberry @ZainRizvi @rgommers
module: tests,triaged,module: numpy
low
Critical
2,562,070,903
vscode
indicate next edit suggestion availability to screen reader users
1. Enable a screen reader and the settings to have edit suggestions 2. Make an edit - here, I accepted an inline completion (thus the view this in the accessible view message) 3. Visually, I see an edit suggestion. There's no indication of this to screen reader users. We probably should have an accessibility signal for this and want to indicate how to navigate there via keyboard in the editor's a11y help dialog. cc @afre100 ![Image](https://github.com/user-attachments/assets/1a3bfb53-df47-4152-93f2-edf44185677b)
feature-request,accessibility
medium
Major
2,562,079,842
PowerToys
pow(x,y) `Failed to calculate the input` if x isn't a float
### Microsoft PowerToys version 0.84.1 (I checked it works in 0.85.0 as well) ### Installation method Microsoft Store ### Running as admin No ### Area(s) with issue? PowerToys Run ### Steps to reproduce Start PowerToys Run with `alt+space`, type in `=pow(a,b)` where `a` and `b` are integers. ![image](https://github.com/user-attachments/assets/3e72a37a-414d-499b-a75a-901fd17615ac) If `a` is a float, e.g., `3.0`, it works. Such as: `=pow(2.0,3)` ![image](https://github.com/user-attachments/assets/00adcf52-f82c-4bc4-92a3-a820beb04db9) ### ✔️ Expected Behavior Integers and floats to work as the first parameter. ### ❌ Actual Behavior Integers don't work—floats do work. ### Other Software _No response_
Issue-Bug,Product-PowerToys Run,Status-Reproducible
low
Critical
2,562,101,231
rust
absent precision parameter for floating point format string is undocumented
I am talking about format strings of the form `format!"{:.}", 1.234)`. The corresponding documentation for the precision argument is [here](https://doc.rust-lang.org/std/fmt/index.html#precision). The documentation writes that the format is `.N` where `N` is an integer specifying the precision. The bug is that it is not documented that `N` can also be absent. Either this should not be accepted by the compiler or it should be documented. I believe the intention is that an absent `N` means the same thing as if there was no precision specified at all (no `:.`). Note that this is not the same as "as much precision as needed".
A-docs,C-bug,T-libs,A-floating-point,A-fmt
low
Critical
2,562,132,692
pytorch
Need clarification on torch.nn.CrossEntropyLoss
### 📚 The doc issue URL: https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html When sending class indices as target to this function, one must do this: 1. The shape of the target must be 1D: (batch_size,). Even (batch_size, 1) will not be tolerated and will be treated as class probability instead. 2. The target tensor must be of type ``torch.long``. Without that you get error ``RuntimeError: expected scalar type Long but found Float``. The documentation, while very good, is slightly lacking. ### Suggest a potential alternative/fix Item 2 about type needs to be mentioned in the documentation. Item 1 is discussed in the **Shape:** section of the page. But it could use a bit more clarification. When the target is 1D it could mean either ``(C)`` for probability or ``(N)`` for class index. How does the function distinguish the two scenarios? cc @svekars @brycebortree @sekyondaMeta @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
module: docs,module: nn,module: loss,triaged
low
Critical
2,562,165,631
PowerToys
add explorer restart after update instead of system restart
### Description of the new feature / enhancement add explorer restart after update instead of system restart ### Scenario when this would be used? add explorer restart after update instead of system restart ### Supporting information add explorer restart after update instead of system restart
Needs-Triage
low
Minor
2,562,166,437
deno
`deno test --doc`: generated docs tests in JSDoc should it for naming (e.g. `@example`, token name, etc.)
Currently the `@example` JSdoc annotation can be used to title examples in generaed documentation. (Example `@std/fmt/bytes`) <img src="https://github.com/user-attachments/assets/c99daff3-aa0e-4913-9151-72b689d56cef" width="400"> When using `deno doc --test` currently the name are auto-generated with the filename/lines, but for long files it makes it a bit cryptic to map them back easily. A solution would be to use the `@example` value (if defined) to set the `Deno.test` name. Eventually, the name of the token could be used too (e.g. the name of the documented function, variable, etc.) ``` vscode ➜ /workspaces/fmt/bytes $ deno test --allow-read --doc test.ts Check file:///workspaces/fmt/bytes/test.ts Check file:///workspaces/fmt/bytes/test.ts$7-14.ts Check file:///workspaces/fmt/bytes/test.ts$79-86.ts Check file:///workspaces/fmt/bytes/test.ts$89-95.ts Check file:///workspaces/fmt/bytes/test.ts$98-105.ts Check file:///workspaces/fmt/bytes/test.ts$108-114.ts running 0 tests from ./test.ts running 1 test from ./test.ts$7-14.ts file:///workspaces/fmt/bytes/test.ts$7-14.ts ... ok (0ms) running 1 test from ./test.ts$79-86.ts file:///workspaces/fmt/bytes/test.ts$79-86.ts format: Basic usage ... ok (0ms) running 1 test from ./test.ts$89-95.ts file:///workspaces/fmt/bytes/test.ts$89-95.ts format: Include bits representation ... ok (0ms) running 1 test from ./test.ts$98-105.ts file:///workspaces/fmt/bytes/test.ts$98-105.ts format: Include sign ... ok (0ms) running 1 test from ./test.ts$108-114.ts file:///workspaces/fmt/bytes/test.ts$108-114.ts format: Change locale ... ok (16ms) ``` Maybe also there may be no need to put the full file url, as the `running X test from ./...` is relative, it'd be less verbose to not be an absolute url/path but just a relative one
suggestion,testing
low
Minor
2,562,171,584
vscode
Only expose chat code blocks to languages once they are complete
Currently we expose the live text model, which updates as the code block is streamed in. This probably isn't needed and may cause problems/perf issues for language extensions as the code is incomplete and updated so rapidly
debt,panel-chat
low
Minor
2,562,177,999
deno
`deno test --doc`: restrict permissions using shebangs
Currently seems like shebang in example testing are not supported (cause a parsing error). Also it'd be nice if it could also parse the permissions flags and forwards them to `Deno.test({ permissions })` ```ts /** * Documentation of my function. * * @example Usage * ```ts * #!/usr/bin/env -S deno run --allow-read * foo("bar") * ``` * @example Missing permissions * ```ts * #!/usr/bin/env -S deno run --deny-read * foo("bar") // failing test * ``` */ export function foo(s:string) { return Deno.readTextFileSync(import.meta.filename!) } ``` Because currently these tests are running with the full current permissions, which may not necessary be wanted. It'll also helps documenting which permissions would be required to end users too Also if the permissions feature gets implemented, I think the default for flags should be "inherit" rather than `true`. For example, when running `deno test --doc --allow-read=/tmp`, if the shebang in the doc test is `#!/usr/bin/env -S deno run --allow-read` the `--allow-read` would be converted to `{ permissions: { read: "inherit" } }` rather than `{ permissions: { read: true } }` (so the doc test would actually be run with `--allow-read=/tmp` too)
suggestion,testing
low
Critical
2,562,185,809
angular
Reference doc api links may not navigate to the correct documentation in the sidebar.
### Describe the problem that you experienced When looking at the reference documentation, clicking on a property or function in the api may not pull up the corresponding documentation in the sidebar. I've noticed this on several pages, though most recently on the FormGroup page. Likewise, clicking on one of the sidebar cards does not always highlight the correct item in the api. The offset seems to be fairly consistent per problematic page, though not all pages may have the same offset (i.e. clicking a property may pull up a doc for an item two down instead. This +2 offset will stay the same on that page, but another page may have a +1 offset). This may be related to properties that are not supposed to be publicly exposed (such as those starting with theta on the FormGroup page, which do not appear in the sidebar cards), but I can't say this definitively. It seems that when a property is clicked and the card is brought up, the route registered in the browser correctly corresponds with the revealed card, but not with the actual property click. For example, if I click `readonly override valueChanges: Observable<TValue>;`, the route registered in the browser is instead `https://angular.dev/api/forms/FormGroup#setValidators`, and indeed, the setValidators card appears. ### Enter the URL of the topic with the problem https://angular.dev/api/forms/FormGroup ### Describe what you were looking for in the documentation _No response_ ### Describe the actions that led you to experience the problem _No response_ ### Describe what you want to experience that would fix the problem Clicking on a property in the reference documentation should register the route for that property and expose the card for that property. ### Add a screenshot if that helps illustrate the problem ![Image](https://github.com/user-attachments/assets/b1a4692d-0268-4d5e-b5b8-7895b3bd0254) ### If this problem caused an exception or error, please paste it here _No response_ ### If the problem is browser-specific, please specify the device, OS, browser, and version _No response_ ### Provide any additional information here in as much as detail as you can _No response_
area: docs-infra
low
Critical
2,562,203,511
rust
Optimizer regression in Rust nightly
<!-- Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to. Please provide a short summary of the regression, along with any information you feel is relevant to replicate it. --> ### Code I tried this code: ```rust const MASK: usize = 1; #[inline(never)] pub fn test1(a1: usize, a2: usize) -> bool { (a1 & !MASK) == (a2 & !MASK) && (a1 & MASK) == (a2 & MASK) } #[inline(never)] pub fn test2(a1: usize, a2: usize) -> bool { (a1 & MASK) == (a2 & MASK) && (a1 & !MASK) == (a2 & !MASK) } ``` I expected to see this happen: Each function is optimized to a simple equality comparison. Instead, this happened: On nightly, `test1()` is not optimized correctly. Tested locally with AArch64, but Godbolt suggests analogous results for x86-64. ### Version it worked on <!-- Provide the most recent version this worked on, for example: It most recently worked on: Rust 1.47 --> It most recently worked on: ``` rustc 1.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: aarch64-apple-darwin release: 1.81.0 LLVM version: 18.1.7 ``` ### Version with regression <!-- Provide the version you are using that has the regression. --> `rustc --version --verbose`: ``` rustc 1.83.0-nightly (06bb8364a 2024-10-01) binary: rustc commit-hash: 06bb8364aaffefb0ce67e5f5445e66ec99c1f66e commit-date: 2024-10-01 host: aarch64-apple-darwin release: 1.83.0-nightly LLVM version: 19.1.0 ``` <!-- Did the compiler crash? If so, please provide a backtrace. --> ### Backtrace N/A ### Demo Godbolt, default settings (x86_64-unknown-linux-gnu): https://rust.godbolt.org/z/K8PnTo1cn On aarch64-apple-darwin macOS 15.0, using a blank new Cargo project with `lib.rs` exactly as above: ``` $ cargo build --release && otool -tvV target/release/libmask_opt_regression_test.rlib Finished `release` profile [optimized] target(s) in 0.00s Archive : target/release/libmask_opt_regression_test.rlib target/release/libmask_opt_regression_test.rlib(lib.rmeta): (__TEXT,__text) section target/release/libmask_opt_regression_test.rlib(mask_opt_regression_test-bad7f2fccccc562a.mask_opt_regression_test.cb8f71a1c9276c63-cgu.0.rcgu.o): (__TEXT,__text) section __ZN24mask_opt_regression_test5test117h89b10ffee17a747dE: 0000000000000000 cmp x0, x1 0000000000000004 cset w0, eq 0000000000000008 ret ``` ``` $ cargo +nightly build --release && otool -tvV target/release/libmask_opt_regression_test.rlib Finished `release` profile [optimized] target(s) in 0.18s Archive : target/release/libmask_opt_regression_test.rlib target/release/libmask_opt_regression_test.rlib(lib.rmeta): (__TEXT,__text) section target/release/libmask_opt_regression_test.rlib(mask_opt_regression_test-f6c3b03d41968e3f.mask_opt_regression_test.62739398bfe23ba6-cgu.0.rcgu.o): (__TEXT,__text) section __ZN24mask_opt_regression_test5test117h2d14c7accc517b7cE: 0000000000000000 eor x8, x1, x0 0000000000000004 cmp x8, #0x2 0000000000000008 cset w9, lo 000000000000000c eor w8, w8, #0x1 0000000000000010 and w0, w9, w8 0000000000000014 ret __ZN24mask_opt_regression_test5test217hb31fa9ddc54caea8E: 0000000000000018 cmp x0, x1 000000000000001c cset w0, eq 0000000000000020 ret ``` --- <!-- If you know when this regression occurred, please add a line like below, replacing `{channel}` with one of stable, beta, or nightly. @rustbot modify labels: +regression-from-stable-to-{channel} -regression-untriaged --> @rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
A-LLVM,P-medium,T-compiler,regression-from-stable-to-stable,C-bug,llvm-fixed-upstream
low
Critical
2,562,216,461
PowerToys
[New+] Not able to create new files in folders that require higher privilege
### Microsoft PowerToys version 0.85 ### Installation method GitHub ### Running as admin Yes ### Area(s) with issue? New+ ### Steps to reproduce 1. Go to a folder that require higher privileges (Like program files) 2. Right click and choose a template 3. A dialog will come up asking for privileges to copy ![image](https://github.com/user-attachments/assets/7c205e68-5479-481a-8038-e43f76b5e417) 4. Click continue ### ✔️ Expected Behavior After giving permission the file should be created there. ### ❌ Actual Behavior The progress dialog freezes after some time and the template does not get created in the selected folder ### Other Software _No response_
Issue-Bug,Priority-1,Cost-Medium,Status-Reproducible,Product-New+
low
Minor
2,562,229,386
go
runtime/pprof: block/mutex profile stacks can sometimes miss leaf frames
### Go version go version go1.23.1 darwin/arm64 ### Output of `go env` in your module/workspace: ```shell n/a ``` ### What did you do? Built this program with PGO and ran it: ```go package main import ( "os" "runtime" "runtime/pprof" ) func main() { runtime.SetBlockProfileRate(1) ch := make(chan struct{}) go func() { close(ch) }() <-ch pprof.Lookup("block").WriteTo(os.Stdout, 1) } ``` ### What did you see happen? If I build with PGO using a profile where `runtime.blockevent` is hot, then I see this output: ``` --- contention: cycles/second=999458200 97416 1 @ 0x4cd357 0x438c4b 0x4709a1 # 0x4cd356 main.main+0x76 /home/junk/simple.go:17 # 0x438c4a runtime.main+0x28a /usr/local/go/src/runtime/proc.go:272 ``` <details> <summary>Example program which generates such a CPU profile:</summary> ```go package main import ( "os" "runtime" "runtime/pprof" "time" _ "unsafe" ) //go:linkname blockevent runtime.blockevent func blockevent(cycles int64, skip int) func main() { runtime.SetBlockProfileRate(1) pprof.StartCPUProfile(os.Stdout) defer pprof.StopCPUProfile() now := time.Now() for time.Since(now) < 5*time.Second { for i := 0; i < 100000; i++ { blockevent(1, 1) } } } ``` </details> ### What did you expect to see? I expected to see `chanrecv1` in the root frame: ``` --- contention: cycles/second=999008970 54083 1 @ 0x406312 0x4cd357 0x438c4b 0x4709a1 # 0x406311 runtime.chanrecv1+0x11 /usr/local/go/src/runtime/chan.go:489 # 0x4cd356 main.main+0x76 /home/junk/simple.go:17 # 0x438c4a runtime.main+0x28a /usr/local/go/src/runtime/proc.go:272 ``` I see that if I run the program with frame pointer unwinding disabled (`GODEBUG=tracefpunwindoff=1`) or if I run it with Go 1.22. The problem is that if `runtime.saveblockevent` is inlined into `runtime.blockevent`, then `getfp()` will return one of `runtime.saveblockevent`'s callers frame pointers [here](https://cs.opensource.google/go/go/+/master:src/runtime/mprof.go;l=563;drc=49e542aa85b7c2d9f6cf50de00843b455bc1e635), and `runtime.fpTracebackPartialExpand` will start frame pointer unwinding from the wrong frame, making the skip values incorrect. Depending on how much inlining there is, we might see even more missing frames.
NeedsInvestigation,compiler/runtime
low
Critical
2,562,249,501
PowerToys
Launch Workspace on User Logon
### Description of the new feature / enhancement It would be very helpful if a Workspaces could be configured to be launched automatically on user logon. ### Scenario when this would be used? When a user logs on. ### Supporting information _No response_
Needs-Triage,Product-Workspaces
low
Minor
2,562,252,943
rust
The target information for `mips64-openwrt-linux-musl` seems wrong
Target triples are generally `arch-vendor-os-env` (with lots of exceptions), but the `mips64-openwrt-linux-musl` target (added in https://github.com/rust-lang/rust/pull/92300) seems to be confused about the vendor? The target `cfg`s are currently (trimmed from `rustc --print cfg --target mips64-openwrt-linux-musl`): ``` target_arch="mips64" target_vendor="unknown" target_os="linux" target_env="musl" ``` I think there's a few ways to fix this: - Declare OpenWRT as the vendor (which is also the position in the triple that it's currently located), and set `target_vendor="openwrt"`. - Rename the target to `mips64-unknown-openwrt-musl` or similar, and set `target_os="openwrt"`. - A rename could be beneficial anyhow, since it actual uses `target_abi = "abi64"`, and so the target name should contain `muslabi64`. CC target maintainer @Itus-Shield
O-MIPS,T-compiler,C-bug
low
Minor
2,562,253,963
ui
[bug]: update installation instructions
### Describe the bug in the current docs, the installation instructions for vite, they point to paste this code into the `vite.config.ts` file code: `import path from "path" import react from "@vitejs/plugin-react" import { defineConfig } from "vite" export default defineConfig({ plugins: [react()], resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, }) ` however, this code does not include the tailwindcss as part of its plugins, which means the css styling never gets loaded. as such, we need to included it in postcss like this code: `import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import tailwindcss from 'tailwindcss' export default defineConfig({ plugins: [react()], css: { postcss: { plugins: [tailwindcss()], }, } })` ### Affected component/components NA ### How to reproduce just paste the current code provided on the docs into your vite.config.ts file and you'll see that none of your styles are being applied at all ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash macos ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,562,256,106
TypeScript
Destructuring object with generic key should reject undefined
### 🔎 Search Terms destructure, generic key, undefined ### 🕗 Version & Regression Information This is the behavior in every version I tried (back to at least 5.0), and I reviewed the FAQ for entries about destructuring ### ⏯ Playground Link https://www.typescriptlang.org/play/?ts=5.7.0-dev.20241002&ssl=7&ssc=1&pln=7&pc=2#code/JYOwLgpgTgZghgYwgAgCrIN7LgfgFzICuIA1iAPYDuIA3MgEb5GkXV0JPFlUjIC+AKAExiCMMHK8YAHgAyyCAA9IIACYBnZCQgBPcjDQA+ABQkCsgDTIwBdAB9mqiDFARVASgJdWvDAOTICJLqYJjIANokALoEAG78yAC81sgA9KnI6gAW5IQANqoKUFDkUMjGCFBw2RCawAahxE4uIG7u-oHBoQD6sQBMSdaRUWkZEACOhMCxcHkQ4J1OVqrktUUlUB1QEGCEULyxAnxAA ### 💻 Code ```ts interface T { a?: unknown; b?: unknown; c?: unknown } function f<L extends keyof T>(k: L, t: T | undefined): unknown { const { [k]: v } = t // should error (crashes if t undefined) const _v2 = t[k] // equivalent code, does error return v } ``` ### 🙁 Actual behavior TS does not error on the destructuring, even though it will crash at runtime if `t` is `undefined`, and it errors on equivalent code using object-access syntax. ### 🙂 Expected behavior TS should error on the indicated line. ### Additional information about the issue This is simplified from an actual example in our codebase. Obviously in this case it's silly to destructure but this was part of a larger block of destructuring so the code would at a glance seem reasonable. Note that the destructured value does end up having a funky type `(T | undefined)[L]`, which presumably it's hard to do anything with. But of course it's still assignable to `unknown`, and thus usable in various ways. (In the actual code in question, the authors were doing other complicated things, running an issue similar to #40312, and ended up casting through unknown to the type they wanted.)
Bug,Help Wanted
low
Critical
2,562,257,863
go
runtime:cpu4: TestBigGOMAXPROCS failures
``` #!watchflakes default <- pkg == "runtime:cpu4" && test == "TestBigGOMAXPROCS" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8735175529435966529)): === RUN TestBigGOMAXPROCS === PAUSE TestBigGOMAXPROCS — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation,compiler/runtime
low
Critical
2,562,258,482
pytorch
Setting `nn.TransformerEncoder()` and `nn.TransformerDecoder()` to `nn.Transformer()` doesn't get any errors with `nn.Transformer()`'s arguments having wrong type values
### 🐛 Describe the bug Setting [nn.TransformerEncoder()](https://pytorch.org/docs/stable/generated/torch.nn.TransformerEncoder.html) and [nn.TransformerDecoder()](https://pytorch.org/docs/stable/generated/torch.nn.TransformerDecoder.html) to [nn.Transformer()](https://pytorch.org/docs/stable/generated/torch.nn.Transformer.html) doesn't get any errors with `nn.Transformer()`'s arguments having wrong type values as shown below: ```python import torch from torch import nn tensor1 = torch.tensor([[8., -3., 0., 1.]]) tensor2 = torch.tensor([[5., 9., -4., 8.], [-2., 7., 3., 6.]]) encoder_layer = nn.TransformerEncoderLayer(d_model=4, nhead=2) transformer_encoder = nn.TransformerEncoder(encoder_layer, num_layers=6) decoder_layer = nn.TransformerDecoderLayer(d_model=4, nhead=2) transformer_decoder = nn.TransformerDecoder(decoder_layer, num_layers=6) torch.manual_seed(42) tran = nn.Transformer(d_model=4.+0.j, nhead='Hello', num_encoder_layers='Hello', num_decoder_layers='Hello', dim_feedforward='Hello', dropout='Hello', activation='Hello', layer_norm_eps='Hello', batch_first='Hello', norm_first='Hello', bias='Hello', device='Hello', dtype='Hello', custom_encoder=transformer_encoder, custom_decoder=transformer_decoder) # ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ tran(src=tensor1, tgt=tensor2) # tensor([[-1.3637, -0.5454, 1.0559, 0.8532], # [-1.1270, -0.4331, 1.5941, -0.0341]], # grad_fn=<NativeLayerNormBackward0>) ``` ### Versions ```python import torch torch.__version__ # '2.3.0' ``` cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @bhosmer @cpuhrsch @erichan1 @drisspg
module: nn,triaged
low
Critical
2,562,269,571
flutter
A more formal Flutter tree health/gardener process
As we merge `flutter/engine` and `flutter/flutter`, we'll likely need to rethink our various "build health" rotations (i.e. Flutter Engine Sheriff, Flutter Tree Gardener), not immediately perhaps, but soon (TM), as there will be a single source of build and build health issues instead of split across two trees/repositories. Here are some ideas in the back of my head, I'd be happy to be involved or help organize: - Formal hand-off doc that is updated at least once a week (as rotations change) with what happened - One merged rotation with a primary and a secondary (instead of two rotations with only a primary) - More clear guidance on how time is expected to be spent during the rotation (i.e. little/no core work) - More clear guidance on working hours/core hours (if someone helps fix the tree at 2am PST but is unavailable at 10am PST it sort of defeats the purpose of the rotation)
team-infra,P2,triaged-infra,monorepo
low
Minor
2,562,271,174
flutter
[pigeon] Expose custom object IDs for testing on Linux
The way custom `FlValue` objects work on Linux, the ID they use is part of the API contract (to identify them, since there's no inherent runtime typing), but currently those assignments are an implementation detail of the generated Pigeon code. That's an issue for native unit tests, because in order to call `fl_value_new_custom_object` to make arguments to call handlers, the right ID is required. This isn't high priority since it can be worked around by hard-coding the IDs in the tests, but that means that tests are subject to breakage when updating the Pigeon generation, which is obviously not ideal. We should make public constants for each of the Pigeon-generated class IDs, so that tests can be written using the constants, and get any updates automatically.
platform-linux,package,team-ecosystem,p: pigeon,P2,triaged-ecosystem
low
Minor
2,562,275,761
rust
Warn if supposedly unreachable code is provably reachable
### Code `if true { unsafe { unreachable_unchecked() } };` `if true { unreachable!() };` ### Current output No warnings ### Desired output 1. warning: this is ub if called... 2. warning: this will panic when called... ### Rationale and extra context _No response_ ### Other cases _No response_ ### Rust Version rustc 1.83.0-nightly (c52c23b6f 2024-09-16) ### Anything else? _No response_
A-lints,T-lang,T-compiler,C-feature-request
low
Minor
2,562,301,989
PowerToys
Keyboard manager rebind for specific enviroment
### Description of the new feature / enhancement For whatever reason we do not have it ### Scenario when this would be used? I would like to use default Win in desktop for standard shortcuts, etc.... but have rebinded to smth like "/" key in games. ### Supporting information _No response_
Needs-Triage
low
Minor
2,562,317,569
transformers
Flex attention support with arbitrary 4d mask for LlamaModel
### Feature request It would be nice to combine the benefits of flex attention and 4d masking. Perhaps the llama model could be a first case, allowing arbitrary 4d masks to be handled via an efficient flex attention path. ### Motivation Custom attention masking/biasing patterns lead to considerable improvements in flexibility, and are central to state-of-the-art models like AlphaFold and recent multimodal models. 4d attention masking in Transformers already provides the user with the flexibility to define custom biases, however performance is limited by the fact that 4d masking is incompatible with flash attention. A 4d mask supporting flex attention attention path would retain full flexibility while maintaining performance. As far as I understand, nothing comparable exists in Transformers currently. ### Your contribution Not very familiar with what this would take.
Feature request,Flash Attention
low
Major
2,562,342,943
PowerToys
Actually just disable the function to launch Start Menu with Win key
### Description of the new feature / enhancement This is so crutial that it deserves to be a separate feature! For whatever reason every OS thinks that having Win/Super/Meta key to launch Start Menu (Apps Menu) is an awesome idea (it is not!). And even Linux distros usually do not include option to disable this absolutely silly function in keyboard shortscuts settings (you have to find and edit config file by yourself). ### Scenario when this would be used? When you want to use shortcuts with Win, you often fuck things up! This is because other modifier keys (Ctrl, Shift, Alt) do nothing by themselves! They are only used for shortcuts! Let's block the "Win launches Start Menu" function! ### Supporting information 1) Hit Win key 2) Do not open Start Menu (just do nothing!) 3) Still have other standart Win shortcuts working (Win+D, Win+E, Win+R, etc)
Needs-Triage
low
Minor
2,562,365,056
tensorflow
TFlite compilation crashes on MacOS (error: _Float16 is not supported on this target)
### Issue type Build/Install ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.18.0-rc0 ### Custom code No ### OS platform and distribution MacOS 15.0 ### Mobile device _No response_ ### Python version 3.12 ### Bazel version 6.5 ### GCC/compiler version Apple clang version 16.0.0 (clang-1600.0.26.3) XCode 16.0 ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Compiling TF_lite v2.18.0-rc0 from source, using the command suggested in the documentation leads to crash (log below): ```PYTHON=python3 tensorflow/lite/tools/pip_package/build_pip_package_with_bazel.sh native``` ### Standalone code to reproduce the issue ```shell PYTHON=python3 tensorflow/lite/tools/pip_package/build_pip_package_with_bazel.sh native ``` ### Relevant log output ```shell TF2_BEHAVIOR=1 \ XCODE_VERSION_OVERRIDE=16.0.0.16A242d \ ZERO_AR_DATE=1 \ external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/XNNPACK -iquote bazel-out/darwin-opt/bin/external/XNNPACK -iquote external/pthreadpool -iquote bazel-out/darwin-opt/bin/external/pthreadpool -iquote external/FXdiv -iquote bazel-out/darwin-opt/bin/external/FXdiv -iquote external/cpuinfo -iquote bazel-out/darwin-opt/bin/external/cpuinfo -iquote external/FP16 -iquote bazel-out/darwin-opt/bin/external/FP16 -Ibazel-out/darwin-opt/bin/external/pthreadpool/_virtual_includes/pthreadpool -Ibazel-out/darwin-opt/bin/external/FXdiv/_virtual_includes/FXdiv -Ibazel-out/darwin-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin-opt/bin/external/FP16/_virtual_includes/FP16 -isystem external/XNNPACK/include -isystem bazel-out/darwin-opt/bin/external/XNNPACK/include -isystem external/XNNPACK/src -isystem bazel-out/darwin-opt/bin/external/XNNPACK/src -isystem external/pthreadpool/include -isystem bazel-out/darwin-opt/bin/external/pthreadpool/include -isystem external/FXdiv/include -isystem bazel-out/darwin-opt/bin/external/FXdiv/include -isystem external/cpuinfo/include -isystem bazel-out/darwin-opt/bin/external/cpuinfo/include -isystem external/cpuinfo/src -isystem bazel-out/darwin-opt/bin/external/cpuinfo/src -isystem external/FP16/include -isystem bazel-out/darwin-opt/bin/external/FP16/include -MD -MF bazel-out/darwin-opt/bin/external/XNNPACK/_objs/microkernel_configs/cmul-config.d -DPTHREADPOOL_NO_DEPRECATED_API '-DXNN_LOG_LEVEL=0' '-DXNN_ENABLE_CPUINFO=1' '-DXNN_ENABLE_MEMOPT=1' '-DXNN_ENABLE_DWCONV_MULTIPASS=1' '-DXNN_ENABLE_GEMM_M_SPECIALIZATION=1' '-DXNN_ENABLE_SPARSE=1' '-DXNN_ENABLE_ASSEMBLY=1' '-DXNN_ENABLE_ARM_FP16_SCALAR=0' '-DXNN_ENABLE_ARM_FP16_VECTOR=0' '-DXNN_ENABLE_ARM_BF16=0' '-DXNN_ENABLE_ARM_DOTPROD=0' '-DXNN_ENABLE_ARM_I8MM=0' '-DXNN_ENABLE_RISCV_FP16_VECTOR=0' '-DXNN_ENABLE_AVX512VNNIGFNI=1' '-DXNN_ENABLE_AVX512AMX=1' '-DXNN_ENABLE_AVX512FP16=1' '-DXNN_ENABLE_AVXVNNI=1' '-DXNN_ENABLE_AVXVNNIINT8=1' '-DXNN_ENABLE_AVX256SKX=1' '-DXNN_ENABLE_AVX256VNNI=1' '-DXNN_ENABLE_AVX256VNNIGFNI=1' '-DXNN_ENABLE_HVX=0' '-DXNN_ENABLE_KLEIDIAI=0' '-DBAZEL_CURRENT_REPOSITORY="XNNPACK"' '-frandom-seed=bazel-out/darwin-opt/bin/external/XNNPACK/_objs/microkernel_configs/cmul-config.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-canonical-prefixes -pthread -DGRPC_BAZEL_BUILD -w -O3 '-march=native' -Iinclude -Isrc '-DXNN_ENABLE_CPUINFO=1' '-std=c99' -O2 -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx15.0 -c external/XNNPACK/src/configs/cmul-config.c -o bazel-out/darwin-opt/bin/external/XNNPACK/_objs/microkernel_configs/cmul-config.o) # Configuration: 7ffafbfebd31d6f3229fc3b4603178937ffcc0387347731c7b47fcb97e2cd76d # Execution platform: @local_execution_config_platform//:platform ERROR: /private/var/tmp/_bazel_feranick/50b852099a3bf3aaa184abce166f8e34/external/XNNPACK/BUILD.bazel:803:36: Compiling external/XNNPACK/sse_prod_microkernels.c failed: (Exit 1): wrapped_clang failed: error executing command (from target @XNNPACK//:sse_prod_microkernels) external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' ... (remaining 109 arguments skipped) In file included from bazel-out/darwin-opt/bin/external/XNNPACK/sse_prod_microkernels.c:1: In file included from external/XNNPACK/src/xnnpack/avgpool.h:15: In file included from external/XNNPACK/src/xnnpack/microparams.h:12: In file included from external/XNNPACK/src/xnnpack/math.h:21: In file included from bazel-out/darwin-opt/bin/external/FP16/_virtual_includes/FP16/fp16/fp16.h:10: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:614:27: error: _Float16 is not supported on this target 614 | extern _Float16 __fabsf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:614:8: error: _Float16 is not supported on this target 614 | extern _Float16 __fabsf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:615:28: error: _Float16 is not supported on this target 615 | extern _Float16 __hypotf16(_Float16, _Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:615:38: error: _Float16 is not supported on this target 615 | extern _Float16 __hypotf16(_Float16, _Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:615:8: error: _Float16 is not supported on this target 615 | extern _Float16 __hypotf16(_Float16, _Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:616:27: error: _Float16 is not supported on this target 616 | extern _Float16 __sqrtf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:616:8: error: _Float16 is not supported on this target 616 | extern _Float16 __sqrtf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:617:27: error: _Float16 is not supported on this target 617 | extern _Float16 __ceilf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:617:8: error: _Float16 is not supported on this target 617 | extern _Float16 __ceilf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:618:28: error: _Float16 is not supported on this target 618 | extern _Float16 __floorf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:618:8: error: _Float16 is not supported on this target 618 | extern _Float16 __floorf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:619:27: error: _Float16 is not supported on this target 619 | extern _Float16 __rintf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:619:8: error: _Float16 is not supported on this target 619 | extern _Float16 __rintf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:620:28: error: _Float16 is not supported on this target 620 | extern _Float16 __roundf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:620:8: error: _Float16 is not supported on this target 620 | extern _Float16 __roundf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:621:28: error: _Float16 is not supported on this target 621 | extern _Float16 __truncf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:621:8: error: _Float16 is not supported on this target 621 | extern _Float16 __truncf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:622:31: error: _Float16 is not supported on this target 622 | extern _Float16 __copysignf16(_Float16, _Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/math.h:622:41: error: _Float16 is not supported on this target 622 | extern _Float16 __copysignf16(_Float16, _Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Error in child process '/usr/bin/xcrun'. 1 Target //tensorflow/lite/python/interpreter_wrapper:_pywrap_tensorflow_interpreter_wrapper failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 119.893s, Critical Path: 3.17s INFO: 342 processes: 313 internal, 29 local. FAILED: Build did NOT complete successfully ```
stat:awaiting tensorflower,type:bug,type:build/install,comp:lite,2.17
low
Critical
2,562,415,334
PowerToys
Key remapping issue with bluetooth headphone play/pause actions
### Microsoft PowerToys version 0.85.0 ### Installation method Microsoft Store ### Running as admin No ### Area(s) with issue? Keyboard Manager ### Steps to reproduce Remapped a key combination, e.g. CTRL + Tab as Alt+Tab. Now when I use my Bluetooth headphone to play / pause music on a music player, the key remapping doesn't work anymore. ### ✔️ Expected Behavior Key mapping should not be affected by the Bluetooth headphone actions. ### ❌ Actual Behavior Key remapping was not working anymore. Need to lock and unlock the laptop. ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,562,416,926
pytorch
Met error "we don't have an op for aten::full but it isn't a special case." when running microsoft/Florence-2-base
### 🐛 Describe the bug When running the florence-2 base model, it throw the following error: ``` RuntimeError: 0 INTERNAL ASSERT FAILED at "../torch/csrc/jit/ir/alias_analysis.cpp":616, please report a bug to PyTorch. We don't have an op for aten::full but it isn't a special case. Argument types: int[], bool, NoneType, NoneType, Device, bool, Candidates: aten::full.names(int[] size, Scalar fill_value, *, str[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor aten::full(SymInt[] size, Scalar fill_value, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor aten::full.names_out(int[] size, Scalar fill_value, *, str[]? names, Tensor(a!) out) -> Tensor(a!) aten::full.out(SymInt[] size, Scalar fill_value, *, Tensor(a!) out) -> Tensor(a!) ``` ### Versions PyTorch version: 2.1.2+cu121 Is debug build: False CUDA used to build PyTorch: 12.1 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.5 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: 14.0.0-1ubuntu1.1 CMake version: version 3.22.1 Libc version: glibc-2.35 Python version: 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:45:18) [GCC 12.3.0] (64-bit runtime) Python platform: Linux-5.15.0-121-generic-x86_64-with-glibc2.35 Is CUDA available: True CUDA runtime version: 12.6.68 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA RTX A6000 GPU 1: NVIDIA RTX A6000 Nvidia driver version: 560.35.03 cuDNN version: Could not collect 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: 43 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Vendor ID: AuthenticAMD Model name: AMD Ryzen Threadripper PRO 3995WX 64-Cores CPU family: 23 Model: 49 Thread(s) per core: 2 Core(s) per socket: 64 Socket(s): 1 Stepping: 0 Frequency boost: enabled CPU max MHz: 4308.3979 CPU min MHz: 2200.0000 BogoMIPS: 5389.79 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 rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sme sev sev_es Virtualization: AMD-V L1d cache: 2 MiB (64 instances) L1i cache: 2 MiB (64 instances) L2 cache: 32 MiB (64 instances) L3 cache: 256 MiB (16 instances) NUMA node(s): 1 NUMA node0 CPU(s): 0-127 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: Mitigation; untrained return thunk; SMT enabled with STIBP protection Vulnerability Spec rstack overflow: Mitigation; safe RET 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; Retpolines; IBPB conditional; 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] Aimet==1.34.0.0.207.0.44+torch.gpu [pip3] AimetCommon==1.34.0.0.207.0.44+torch.gpu [pip3] AimetTorch==1.34.0.0.207.0.44+torch.gpu [pip3] numpy==1.23.5 [pip3] onnx==1.16.1 [pip3] onnxruntime==1.18.1 [pip3] onnxruntime_extensions==0.12.0 [pip3] onnxscript==0.1.0.dev20240923 [pip3] onnxsim==0.4.36 [pip3] torch==2.1.2+cu121 [pip3] torchvision==0.16.2+cu121 [pip3] triton==2.1.0 [conda] aimet 1.34.0.0.207.0.44+torch.gpu pypi_0 pypi [conda] aimetcommon 1.34.0.0.207.0.44+torch.gpu pypi_0 pypi [conda] aimettorch 1.34.0.0.207.0.44+torch.gpu pypi_0 pypi [conda] numpy 1.23.5 pypi_0 pypi [conda] torch 2.1.2+cu121 pypi_0 pypi [conda] torchvision 0.16.2+cu121 pypi_0 pypi [conda] triton 2.1.0 pypi_0 pypi cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
oncall: jit
low
Critical
2,562,431,847
vscode
When doing suggestions for symbols, it would be useful to show the path relative to the workspace
In this situation, it would be a lot easier to show the path relative to the workspace root instead of the relative path because I often move from file to file and I never really know what folder I'm in. The relative paths don't help me with picking the correct symbol. This could be a setting if not everyone would find it useful. ![Image](https://github.com/user-attachments/assets/435147e4-8ccb-4702-9946-a2b7355baca6)
feature-request,typescript
low
Major
2,562,448,281
PowerToys
Allow remapping of shifted key independent of base key in Keyboard Manager, or allow shortcuts to be created from remapped keys
### Description of the new feature / enhancement Keyboard manager currently only allows remapping keys based on base key. Shifted keys can be remapped as a shortcut combo, however this creates issues when attempting to remap a shortcut using a key that is already remaped, especially if remapped to a character on a shifted keyboard layer For example, if I wish to remap \ to #, my options are to remap the \ key to output the text #, or to remap it to Shift + 3 Both of these options render the shifted character | as impossible to press, as there is no # key on the base layer of a US QWERTY layout, additionally, if remapped to shift + 3, a shortcut that utilises shift + 3 will override the remapped # key through chaining behaviour. Finally, the new # key cannot be used in shortcuts due to powertoys only recognising the base key \ when pressed, which has now been remapped. ### Scenario when this would be used? Any scenario where users wish to remap a key and it's shifted key behaviour independently, especially in cases where the remapped key exists on a shifted layer of another key, or doesn't have an existing dedicated key, it is currently impossible to remap a key and use that same remapped key in a shortcut under these circumstances. For example, Microsoft IME insists on using a US QWERTY layout for Halfwidth Alphaneumeric typing input irrespective of keyboard used, this would allow users to remap number, symbol, and accented keys within the IME to match their usecase without having to switch input languages when done typing in Japanese. ### Supporting information https://www.google.com/search?q=windows+japanese+ime+using+qwerty+layout+site:www.reddit.com&sca_esv=6590bfce35d1c64e&rlz=1C1ONGR_enGB1080GB1080&sxsrf=ADLYWIJy8lxa7F5aqGHN5JcI7hCI4nFW0w:1727893882955&sa=X&ved=2ahUKEwi9l-moqvCIAxXtY0EAHXdpBUgQrQIoBHoECDUQBQ&biw=1706&bih=838&dpr=1.5 A google search for the issue I described shows it is a persistent issue with Microsoft IME for many foreign keyboard users that they have refused to fix, this modification could allow a user-friendly solution through Powertoys to present itself by allowing for finer key remapping.
Idea-Enhancement,Product-Keyboard Shortcut Manager,Needs-Triage
low
Critical
2,562,454,837
rust
`target_arch` is wrong in `arm64ec-pc-windows-msvc`
Rust's `target_arch` cfg is generally very generic, and does not include e.g. the sub-architecture. For example, the `arm64e-apple-darwin` has `target_arch = "aarch64"`. This is also true of all the ARM targets, these all have `target_arch = "arm"` even though the full target name is much longer. `arm64ec-pc-windows-msvc` is the only target that differs here, and sets `target_arch = "arm64ec"`. I am not familiar with the specifics of ARM64EC, but I think it should probably set `target_arch = "aarch64"` too? Or, if it _really_ needs to be different, `target_arch = "aarch64ec"`, since Rust prefers Aarch64 over ARM64? Or maybe `target_arch = "aarch64"`, but with an extra `target_feature` to allow distinguishing them? I would've filed a PR to fix it myself, but it's a bit of work since a lot of places in `rustc` check for `target.arch == "arm64ec"`, so I wanted to make sure I was on the right path first. CC target maintainer @dpaoliello. @rustbot label O-windows O-AArch64
O-windows,T-compiler,C-bug,O-AArch64
low
Major
2,562,460,652
PowerToys
I LOVE NEW+!
### Description of the new feature / enhancement I'm sure there are planned updates, but let me request... 1. Tokens to be replaced in file and folder names, like date/time, username, parent folder, and similar 2. Tokens like a counter so that if file1 is already there, file2 is created 3. Tokens that work between files so that file2 can named "similar to but different than" file1 4. Loop on a creation so it automatically creates file1, file2, file3, etc. to whatever value (could be great in setting up a multi-project dev environment) ### Scenario when this would be used? Anytime someone is creating multiple similar files. I can see uses in development environments, game development, graphics and video creation, even publishing. ### Supporting information It would also be nice to have a menu at the top of the New+ menu that is the current regular New menu. Getting rid of the original is more convenient and provides a one-stop-shop and reduces confusion.
Needs-Triage
low
Minor
2,562,500,646
godot
MSAA 2x Breaks Proximity Fade on Vulkan
### Tested versions reproduce on 4.3 Stable ### System information Windows 11 - I3-10105f with RX 6600 Adrenalin 24.9.1 ### Issue description Enabling MSAA 2x Breaks Proximity fade on Vulkan ![image](https://github.com/user-attachments/assets/f9a6b63d-068c-43e1-97bb-f5046f1b0a14) MSAA above 2x works fine, as well as no MSAA. Possible AMD Driver Issue. Observed while testing SMAA S2x which requires MSAA 2x (https://github.com/RGDTAB/Godot-SMAA) but happens without SMAA. ### Steps to reproduce Enable MSAA 2x with a Proximity Fade Material in view on Vulkan ### Minimal reproduction project (MRP) [MSAA.zip](https://github.com/user-attachments/files/17235173/MSAA.zip)
bug,platform:windows,topic:rendering,topic:thirdparty,topic:3d
low
Major
2,562,516,485
pytorch
`aot_eager` does not error on mismatching data-types in out tensors.
### 🐛 Describe the bug There is an inconsistency when running `torch.aminmax` out variant on eager and inductor. This behavior is also found when using `aot_eager` backend. ```python def run(op): inp = torch.rand(10, 10) out1 = torch.empty(10, dtype=torch.float64) out2 = torch.empty(10, dtype=torch.float64) op(inp, dim=-1, out=(out1, out2)) >>> run(torch.aminmax) Traceback (most recent call last): File "examples/inductor.py", line 26, in <module> run(torch.aminmax) File "examples/inductor.py", line 24, in run op(inp, dim=-1, out=(out1, out2)) RuntimeError: Expected out tensor to have dtype float, but got double instead >>> run(torch.compile(torch.aminmax)) torch.return_types.aminmax_out(min=..., max=...) ``` ### Versions PyTorch version: 2.5.0a0+git7128504 Is debug build: True CUDA used to build PyTorch: 12.1 ROCM used to build PyTorch: N/A cc @ezyang @chauhang @penguinwu @eellison @zou3519 @bdhirsh @yf225
triaged,oncall: pt2,module: fakeTensor,module: aotdispatch,module: pt2-dispatcher
low
Critical
2,562,539,361
vscode
Support for search engines
We want to extend clangd-vscode with an AST search engine besides regex and plain text search, unfortunately it looks like, that VSCode does not support to extend the global and lokal search. It would be very useful, if one could just add a search engine. Currently we have to add a new separate view, but that is unintentional. Optionally it would be good to also support a pop-up dialog, with the ability to modify specific search options and a larger search field with semantic linting. <!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. -->
feature-request,search
medium
Critical
2,562,557,514
PowerToys
New+ Keyboard Shortcut
### Description of the new feature / enhancement A keyboard shortcut, maybe Ctrl+N, that would open the New+ menu. ### Scenario when this would be used? When making files, it is easier to press a keyboard shortcut than having to browse through the right-click menu. I already use the Ctrl+Shift+N shortcut to make folders, and this shortcut would be very useful. ### Supporting information _No response_
Idea-Enhancement,Needs-Triage,Product-New+
low
Minor