sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Can't use Notebook Find (ctrl+f) in notebook diff viewer
Labels: bug,notebook-find

### Applies To

- [x] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)

### What happened?

Previously, I was able to search in the side-by-side comparsion of files that appears when you click on an entry in the "Timeline" section for a notebook, but now it doesn't work. It still works for normal Python files, however.

### VS Code Version

Version: 1.96.2 (user setup) Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f Date: 2024-12-19T10:22:47.216Z Electron: 32.2.6 ElectronBuildId: 10629634 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.22631

### Jupyter Extension Version

 2024.11.0

### Jupyter logs

```shell

```

### Coding Language and Runtime Version

_No response_

### Language Extension Version (if applicable)

_No response_

### Anaconda Version (if applicable)

_No response_

### Running Jupyter locally or remotely?

Local
Repository: godot
Issue: Resource class @icon overridden in FileSystem by export variables
Labels: bug,topic:editor

### Tested versions

- Reproducible in Godot v4.3.stable.official [77dcf97d8]

- Somewhat reproducible in v4.2.2.stable.official [15073afe3]
  - In 4.2, the icons seem to not work at all, showing only the default blank page

### System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 Ti (NVIDIA; 32.0.15.6636) - Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz (6 Threads)

### Issue description

When viewing custom resources in the FileSystem dialog, if the resource has any `@export` properties that take other custom resources, the original resource shows up in the FileSystem with either the wrong icon or the default page icon.

If `MainResource` has an exported property of type `OtherResource`, then adding a `OtherResource` to that property causes the instance of `MainResource` to show up in the FileSystem with the default "blank page" resource icon instead of the custom icon in `main_resource.gd`. The same thing happens if any of the `MainResource`'s properties are of type `Texture2D`; regardless of what the property is, it stops the `MainResource` from showing the correct icon in the FileSystem dialog.

On the other hand, if `MainResource` has an exported property of type `Array[OtherResource]`, then all new resources of type `MainResource` that you create subsequently will display `OtherResource`'s class `@icon` instead of the one from its own script. Strangely, this doesn't seem to affect instances of `MainResource` that were saved *before* the array property was added to the `main_resource.gd` script.

They still show the correct icons in various other places in the Godot editor, such as the Inspector and the Create New Node dialog.

### Steps to reproduce

- Create 2 custom `Resource` scripts, each with a `class_name` and an `@icon`
- Add a property to one of the two scripts, of either the other script's type or an array of that type
- Create some resources of the two types, and add one to the other's relevant property
- Save the project.

![Image](https://github.com/user-attachments/assets/2de01750-dab5-40e8-9e45-163b373ab445)


### Minimal reproduction project (MRP)

[Resource Class Icon Bug.zip](https://github.com/user-attachments/files/18323389/Resource.Class.Icon.Bug.zip)


- `ResourceB` has a property that holds a `ResourceC`.
- `ResourceD` has a property that holds a `Texture2D`
- `ResourceE` has a property that holds an `Array[ResourceA]`

As shown in the above image, `res_b2.tres` has a `ResourceC` loaded to its exported property; it displays a blank icon.

`res_d2.tres` has an `svg` file loaded to its exported property; it displays a blank icon.

`res_e3.tres` and `res_e4.tres` were created *after* an exported `Array[ResourceA]` property was added to the `resource_e.gd` script; they display the icon for `ResourceA`. Strangely, `res_e1.tres` and `res_e2.tres` still show the proper icon for `ResourceE`.
Repository: godot
Issue: Graphics shake violently if physics interpolation is enabled at runtime
Labels: bug,topic:physics

### Tested versions

Reproducible in dev 216b3302

### System information

Godot v4.4.dev (7d645fbea) - Windows 11 (build 22631) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3070 (NVIDIA; 32.0.15.6636) - AMD Ryzen 7 5800X3D 8-Core Processor (16 threads)

### Issue description

If physics interpolation is initially disabled, and then enabled at runtime, some graphics will start shaking violently as if they're constantly interpolating between two positions but the old and new positions don't get updated.

https://github.com/user-attachments/assets/9a9ecdb4-0bf2-4bf6-bb1c-e760586e7aa0


### Steps to reproduce

- Have `physics/common/physics_interpolation` disabled in Project Settings
- Call `get_tree().set_physics_interpolation_enabled(true);` at some point during runtime

Workaround is to call `get_tree().root.reset_physics_interpolation();` *after* the call to `set_physics_interpolation_enabled()`

Update: This workaround will not work for invisible objects. In fact there is currently no way to automatically reset interpolation on all invisible nodes without additional manual work for every affected object.

### Minimal reproduction project (MRP)

[PhysicsLerpIssue.zip](https://github.com/user-attachments/files/18323729/PhysicsLerpIssue.zip)
Repository: vscode
Issue: SCM Commit & Push makes user choose which repository they want to push to
Labels: bug,git

- VS Code Version: Insiders
- OS Version: Windows 11

Steps to Reproduce:

1. In a multi-folder setup where each folder has its own remote, and where one of the folders lives inside another but is ignored by the outer folder, change files in the outer folder.
2. Type a commit message, and press Commit & Push for the outer folder.
3. :bug: The SCM viewlet still asks which repository I want to push to. I expect it to automatically push to the remote corresponding to the outer folder.
Repository: next.js
Issue: mdx js loader: paths must be valid file:// URLs (windows only)
Labels: Markdown (MDX)

### Link to the code that reproduces this issue

https://github.com/chrisweb/nextjs_mdx-js-loader_windows_reproduction

### To Reproduce

1. clone the repo (`git clone https://github.com/chrisweb/nextjs_mdx-js-loader_windows_reproduction.git`)
2. install the dependencies (`npm i`)
3. run the development server (`npm run dev`)

### Current vs. Expected behavior

if you are on windows you will now get an error in your terminal and can also see it if you open localhost:3000 in your browser

![Error: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'](https://raw.githubusercontent.com/chrisweb/nextjs_mdx-js-loader_windows_reproduction/refs/heads/main/public/problem_windows_screenshot.png)

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10
Binaries:
  Node: 23.5.0
```


### Which area(s) are affected? (Select all that apply)

Markdown (MDX)

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

bug is windows specific, turbopack needs to be enabled, mdx support in next.config using @next/mdx, using mdx plugins where name is a string and options need to be serializable (this example has no options for simplicity)
Repository: ui
Issue: [bug]: Trying to init a new project but it cant generate a new components.json
Labels: bug

### Describe the bug

Following all the steps on https://ui.shadcn.com/docs/installation/vite
But it still gives me this error.

### Affected component/components

No components

### How to reproduce

1. Installing vite, creating react-ts template.
2 . Installing tailwind, postcss and autoprefixer.
3. Configuring tailwind.config.js, tsconfig.json and tsconfig.app.json
4. installing types/node and then replacing in vite.config.ts
5. Running `npx shadcn@latest init`

Then getting error: 

```
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on Github.

Invalid configuration found in C:\path\to\my\project\components.json
```

Trying to create a own `components.json` then its giving the error that a components.json already exists...

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash
✔ Preflight checks.
✔ Verifying framework. Found Vite.
✔ Validating Tailwind CSS.
✔ Validating import alias.

Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Invalid configuration found in C:\path\to\my\project/components.json.
```


### System Info

```bash
Windows, Vite, x64. Idk what else
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: svelte
Issue: Documentation: "Is there a router?" update for new hash-based routing
Labels: documentation

### Describe the bug

https://svelte.dev/docs/svelte/faq#Is-there-a-router describes:


> If you need hash-based routing on the client side, check out [svelte-spa-router](https://github.com/ItalyPaleAle/svelte-spa-router) or [abstract-state-router](https://github.com/TehShrike/abstract-state-router/).

This should be updated since SvelteKit now supports hash-based routing.

### Reproduction

Browse to https://svelte.dev/docs/svelte/faq#Is-there-a-router

### Logs

_No response_

### System Info

```shell
N/A
```


### Severity

annoyance
Repository: node
Issue: utimes should support `undefined` arguments to leave the time alone
Labels: feature request,libuv

### What is the problem this feature will solve?

Sometimes one only wants to modify access time, not modification time or vice versa. 

I'm working on the Emscripten where we have an implementation of a linux file system backed by the node fs module. The `utimens` family of functions are supposed to leave the time value alone if `UTIME_OMIT` is passed in the nanosecond field. 

### What is the feature you are proposing to solve the problem?

It would be convenient if `FS.utime(path, atime, undefined)` would update the atime and leave the mtime alone, and vice versa.

node uses libuv to call utimens itself, but the libuv api only takes doubles and converts from them to fill the tv_nsec struct with `uv__fs_to_timeval`. It's not possible to make a double that is converted to `UTIME_OMIT` because `uv__fs_to_timeval` rounds the nanosecond field: https://github.com/libuv/libuv/blame/v1.x/src/unix/fs.c#L216. So libuv would need to be updated to support this. At the same time it could also be changed to support higher precision times #50859.

### What alternatives have you considered?

Stat the file and use the stat to fill the time I want unchanged. Because of #50859, this will round trip the time through a double and so leave it only approximately unchanged not exactly unchanged.
Repository: flutter
Issue: [SwiftPM] Support conditional compilation in plugins
Labels: c: new feature,platform-ios,platform-mac,P3,team-ios,triaged-ios

### Background

CocoaPod plugins can use conditional compilation to allow an app to opt-in or out of certain features.

For example, the [`just_audio`](https://pub.dev/packages/just_audio) plugin is an audio player that has an optional microphone feature. Since microphone use has privacy concerns, the app must provide a usage description. If the app doesn't need this microphone feature, `just_audio` provides a compilation flag to remove the microphone feature entirely. The app can set this compilation flag in its CocoaPods configuration. See: https://github.com/ryanheise/just_audio/issues/1368#issuecomment-2484546203

Unfortunately, Swift Package Manager does not support conditional compilation.

Known affected packages:
1. [`just_audio`](https://pub.dev/packages/just_audio)
1. [`permission_handler`](https://pub.dev/packages/permission_handler)

### Work

Options:

1. Document the known [workaround](https://github.com/loic-sharma/swiftpm_conditional_compilation). The workaround is hacky and not ideal...
2. Update Flutter to support [Swift package traits](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0450-swiftpm-package-traits.md) if/when that lands
Repository: flutter
Issue: [go_router] Add navigation destination to onExit state
Labels: c: new feature,package,c: proposal,P3,p: go_router,team-go_router,triaged-go_router

### Use case

I would like to register an onExit handler that can conditionally prevent navigation based on the topRoute of the upcoming location.

e.g.
I would like to show a dialog confirming the users desire to exit this portion of the app when hardware back is used, but I would like to allow navigation to a specific route ("/profile") without any confirmation dialog.

### Proposal

Have the onExit callback's state reflect the upcoming destination instead of the previous destination.

OR

Add an additional property to the state information to include information about the upcoming destination.
Repository: ollama
Issue: Add a CUDA+AVX2(VNNI) runner to the Docker image.
Labels: feature request

**Description**:  
I would like to ask to add a CUDA+AVX2 (maybe VNNI) model runner to the default Docker image for Ollama. I think this can help with performance in partial offload scenarios.
This should be supported at build time (#2281), but for some reason I cant find the runner in the docker image

I think that it should be possible for me to do locally by adding `--build-arg CUSTOM_CPU_FLAGS=avx2,avxvnni` to Docker build, but I still think that it can be beneficial to add a runner target named something like `cuda_v12_moderncpu` that will enable AVX2 and AVX-VNNI by default and that will build by default.

I might work on this and submit a PR.

**Benefits**:  
* Squeeze some more performance in partial offload

**Example Use Case**:  
Running a 32B model on a 16GB VRAM GPU (in my case 13900HX + Laptop 4090).

**Environment Variables/Configuration**:  
No additional configuration needed.

**Related Files and Code**:  
* make/cuda.make (I guess)
Repository: terminal
Issue: 📜scrollback search highlight  1️⃣ is incorrect, and 2️⃣ incorrectly snaps in response to STDOUT
Labels: Issue-Bug,Needs-Triage

### Windows Terminal version

1.23.3232.0

### Windows build number

10.0.19045.5247

### Other Software




### Steps to reproduce

1) Hit Ctrl-Shift-F while a script is generating output

2) Enter in something to search for. I suggest “e” for bug-finding purposes.

3) Watch the highlights incorrectly dance around the screen. 
4) Fail to ever find your highlighted text as long as a script is running.

### Expected Behavior

1) The highlights to what I am searching for are only displayed on top of what I am searching for.

2) If I am in search/scrollback mode and more STDOUT happens, it doesn’t snap me anywhere. (currently it snaps me all over the place)


Side-note: You know what else would be nice? A pause button that suspends the process temporarily. So we can go back and find our error message before it scrolls off-buffer.

### Actual Behavior

![Image](https://github.com/user-attachments/assets/927e499c-2b4d-4fb7-9167-be6229eafbdf)
Repository: yt-dlp
Issue: [core] Windows reserved names are not sanitized with --windows-filenames
Labels: enhancement,core-triage

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting a bug unrelated to a specific 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)

### Provide a description that is worded well enough to be understood

On Windows, there are certain filenames which are reserved and the creation of files will fail. See [here](https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions) for the list of all of them and [here](https://github.com/thombashi/pathvalidate/blob/68b004fa15cf696285a6ae591ef318aca69c64fa/pathvalidate/_filename.py#L127-L137) for a sanitization implementation. Note: I haven't tested on a Windows machine, but the `--windows-filenames` option should handle this even on non-Windows machines.

### 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 "soundcloud.com/one-thousand-and-one/test-track" -o "CON.%(ext)s" --windows-filenames
[soundcloud] Extracting URL: soundcloud.com/one-thousand-and-one/test-track
[soundcloud] one-thousand-and-one/test-track: Downloading info JSON
[soundcloud] 1855267053: Downloading hls_mp3 format info JSON
[soundcloud] 1855267053: Downloading http_mp3 format info JSON
[soundcloud] 1855267053: Downloading hls_opus format info JSON
[info] 1855267053: Downloading 1 format(s): hls_opus_0_0
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1
[download] Destination: CON.opus
```
Repository: godot
Issue: Excessive error spam when a global script is not valid
Labels: bug,topic:gdscript,topic:editor

### Tested versions

4.4 dev7

### System information

W10

### Issue description

If you have a global script (with `class_name`) and it has an error, the error will be spammed occasionally when using editor. I observed it e.g. when opening CreateDialog to add a node (happens once), or every time you try to autocomplete something.
https://github.com/user-attachments/assets/97e7b7f2-e148-42ee-a481-025a07a2d38f
What's relevant though is that the error appears at all. It means the script is loaded and/or parsed needlessly *very often* and it probably applies to all global scripts. We should find a way to avoid that. The scripts should be parsed only after they change and use some cache whenever the editor needs something script-related.

### Steps to reproduce

1. Add a script with class name
2. Introduce some parsing error, e.g. a random word wherever
3. In another script, try autocompleting something

### Minimal reproduction project (MRP)

N/A
Repository: rust
Issue: `--target bpfel-unknown-none` generates LLVM bitcode instead of eBPF
Labels: T-compiler,C-bug,O-eBPF

I built this code with `cargo build --target bpfel-unknown-none -Zbuild-std`:

```rust
#![no_std]

#[unsafe(no_mangle)]
#[inline(never)]
pub fn oof(a: u64, b: u64, c: u64, d: u64, e: u64, f: u64, g: u64) -> u64 {
    a + b + c + d + e + f + g
}

#[unsafe(no_mangle)]
pub fn argh(a: u64, b: u64, c: u64, d: u64, e: u64, f: u64, g: u64) -> u64 {
    a + b + c + d + e + f + g
}
```

I expected to see this happen: An BPF binary was produced of some kind (or compilation failed).

Instead, this happened: It produced LLVM bitcode! this was discovered via (frequent `ls` omitted):
```sh
cargo new bpf-test
cd bpf-test
"$EDITOR" .
cd target
cd bpfel-unknown-none
cd debug
file libbpf_test.rlib
ar x libbpf_test.rlib 
~/.rustup/toolchains/nightly-"$HOST_TUPLE"/lib/rustlib/"$HOST_TUPLE"/bin/llvm-dis bpf_test-*.rcgu.o
"$EDITOR" . bpf_test-*.rcgu.o.ll
```

This is a bug because we normally require that targets are capable of producing object code. This can be fixed by building the [bpf-linker](https://github.com/aya-rs/bpf-linker) for this target, but I suspect it is mostly like the [existing bitcode linker](https://github.com/rust-lang/rust/blob/master/src/tools/llvm-bitcode-linker/src/bin/llvm-bitcode-linker.rs) that we already ship for the purposes of the nvptx targets.

### Meta

`rustc --version --verbose`:
```
rustc 1.85.0-nightly (45d11e51b 2025-01-01)
binary: rustc
commit-hash: 45d11e51bb66c2deb63a006fe3953c4b6fbc50c2
commit-date: 2025-01-01
host: x86_64-unknown-linux-gnu
release: 1.85.0-nightly
LLVM version: 19.1.6
```
Repository: go
Issue: go/types: stack overflow in Alignof
Labels: NeedsInvestigation,gopls,Tools,gopls/telemetry-wins,BugReport

```
#!stacks
"crash/crash" &&
 "go/types.(*gcSizes).Alignof:+29" &&
 "go/types.(*Named).resolve:+0"
```
Issue created by [stacks](https://pkg.go.dev/golang.org/x/tools/gopls/internal/telemetry/cmd/stacks).

Looks like Alignof was applied to a named struct type (illegally) containing itself as its first field.

This stack `gYYnog` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2025-01-02.json):

- `crash/crash`
- [`go/types.(*Named).resolve:+0`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/named.go;l=161)
- [`go/types.(*Named).Underlying:+2`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/named.go;l=498)
- [`go/types.(*Named).under:+1`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/named.go;l=528)
- [`go/types.under:+2`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/under.go;l=16)
- [`go/types.(*gcSizes).Alignof:+7`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=22)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
- [`go/types.(*gcSizes).Alignof:+29`](https://cs.opensource.google/go/go/+/go1.23.3:src/go/types/gcsizes.go;l=44)
```
golang.org/x/tools/gopls@v0.17.1 go1.23.3 windows/amd64 vscode (1)
```