sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: FFMpeg Wasm lib not loading with turbopack dev enabled.
Labels: bug,Turbopack,linear: turbopack

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/7mqmx8

### To Reproduce

1. Run the application using next dev with --turbopack flag enabled.
2. Check the browser preview. If library loaded, that will print "ffmpeg Loaded" else will print "ffmpeg not loaded" (for debug purpose only).


### Current vs. Expected behavior

**Current Behaviour**
- FFMpeg lib not loading with --turbopack flag enabled

**Expected Behaviour**
- Should work with that flag also. Happening with other wasm lib too - imagemagick wasm etc.

### 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.2 // Latest available version is detected (15.0.2).
  eslint-config-next: 14.2.1
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.4.5
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Turbopack

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

I've tested this with next 15.0.2 release with --turbopack flag enabled and it's not working with that. Without that flag library loading perfectly fine, even with earlier next.js versions.
Repository: godot
Issue: GLTFDocument.append_from_file leads to block ui thread.
Labels: discussion,topic:import,performance

### Tested versions

Reproducible in Godot v4.0.4.stable

### System information

Android & iOS - Godot v4.0.4.stable - Mobile

### Issue description

try to invoke GLTFDocument.append_from_file to load a complicated GLTF file  executed in a thread, leads to block main ui thread.

### Steps to reproduce

run Main.tscn to check result

### Minimal reproduction project (MRP)

[EmptyView2.zip](https://github.com/user-attachments/files/17647121/EmptyView2.zip)
Repository: ui
Issue: [feat]: Calendar - Support showWeekNumber
Labels: area: request

### Feature description

It would be nice if the Calendar component would support "showWeekNumber" from the underlying React Daypicker.
I mean the prop is working and numbers are showing, but the styling is distorted. 

![image](https://github.com/user-attachments/assets/635dae55-690f-45ce-a7ec-c27e3a67a87e)


### Affected component/components

Calendar

### Additional Context

Additional details here...

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: TypeScript
Issue: "Organize imports" eats comments
Labels: Bug,Help Wanted

### 🔎 Search Terms

source.organizeImports, VSCode, "source action", semicolon, remove, change

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about organize imports


### ⏯ Playground Link

https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAcgM4RAUxgC2AOwOYIBQA9MXAMaro4yEDcQA

### 💻 Code

```ts
import 'something'
// comment
;
```


### 🙁 Actual behavior

When organizing inputs in the given file, the output is this:

```ts
import 'something';

```

### 🙂 Expected behavior

I expected the comment to be preserved.

### Additional information about the issue

The semicolon is important here. Without it the comment is preserved.

#48126 is perhaps tangentially related.
Repository: langchain
Issue: DOC: Is not clear if AzureAISearchRetriever is using hybrid search
Labels: 🤖:docs

### URL

https://python.langchain.com/docs/integrations/retrievers/azure_ai_search/

### Checklist

- [X] I added a very descriptive title to this issue.
- [X] I included a link to the documentation page I am referring to (if applicable).

### Issue with current documentation:

Is not clear if AzureAISearchRetriever is using hybrid search, textual search or vector search. 

### Idea or request for content:

_No response_
Repository: go
Issue: x/net/quic: Endpoint.Dial prefers IPv4 to IPv6
Labels: NeedsInvestigation

### Go version

go version go1.23.2 linux/amd64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/user/.cache/go-build'
GOENV='/home/user/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/user/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/user/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go1.23.2.linux-amd64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go1.23.2.linux-amd64/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.2'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/user/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/user/dev/nspeed-client/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1098587137=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

Create a `quic.Endpoint` then call `Dial` method with a name (not a literal ip) in the address parameter.

here is a small POC :
````
package main

import (
	"context"
	"crypto/tls"
	"fmt"
	"net"

	"golang.org/x/net/quic"
)

func main() {
	// a http/3 enabled url like google.com or cloudflare.com
	address := "nspeed.app"

	quicConf := &quic.Config{
		TLSConfig: &tls.Config{
			MinVersion: tls.VersionTLS13,
			NextProtos: []string{"h3"},
			ServerName: address,
		},
	}

	// local endpoint
	endp, err := quic.Listen("udp", ":0", nil)

	if err != nil {
		panic(err)
	}

	// connect to address on port 443
	qconn, err := endp.Dial(context.Background(), "", address+":443", quicConf)
	if err != nil {
		panic(err)
	}

	fmt.Println("connected") // currently there is no way to display the remote ip , use strace or a network capture

	// unless you have https://github.com/golang/net/pull/225
	// fmt.Println("connected to", qconn.RemoteAddr())

	qconn.Close()
}

````




### What did you see happen?

The connection happens with IPv4

### What did you expect to see?

The connection should use IPv6 is it's available at the OS level.

This is a direct consequence of `net.ResolveUDPAddr` not preferring IPv6 (`net.ResolveTCPAddr` and `net.ResolveIPAddr` also have this issue)

The culprit is in [src/net/ipsock.go#L82](https://github.com/golang/go/blob/d6fb0ab2c7a13658fc808d431bbaf9c5f6b8da62/src/net/ipsock.go#L82) (`forResolve` function) 

see also #28666

A workaround is to resolve the `address` parameter before calling `Endpoint.Dial`
`net.Dial` (tcp or udp) doesn't have this issue.
Repository: opencv
Issue: dnn Tflite module SQUARED_DIFFERENCE, SUM, MAXIMUM, SQRT operands support
Labels: feature,category: dnn

### Describe the feature and motivation

Opencv 4.10.

Hello!
The team and I wrote a neural network on Tensorflow-lite, which uses the operands SQUARED_DIFFERENCE, SUM, MAXIMUM, SQRT. We use it through the dnn opencv module, and we encountered the problem that these operands are not implemented.
Any help with implemeting them?

### Additional context

_No response_
Repository: rust
Issue: Suggest swapping the equality when the message `can't compare` occurs
Labels: A-diagnostics,T-compiler,A-suggestion-diagnostics

### Code

```rust
// inspired by https://github.com/rust-lang/rust/issues/130495
struct T(String);

impl PartialEq<String> for T {
    fn eq(&self, other: &String) -> bool {
        &self.0 == other
    }
}

fn main() {
    String::from("123") == T(String::from("123"));
}
```

### Current output

```shell
error[E0277]: can't compare `String` with `T`
  --> src/main.rs:11:25
   |
11 |     String::from("123") == T(String::from("123"));
   |                         ^^ no implementation for `String == T`
   |
   = help: the trait `PartialEq<T>` is not implemented for `String`
   = help: the following other types implement trait `PartialEq<Rhs>`:
             `String` implements `PartialEq<&str>`
             `String` implements `PartialEq<Cow<'_, str>>`
             `String` implements `PartialEq<str>`
             `String` implements `PartialEq`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `playground` (bin "playground") due to 1 previous error
```

### Desired output

```shell
error[E0277]: can't compare `String` with `T`
  --> src/main.rs:11:25
   |
11 |     String::from("123") == T(String::from("123"));
   |                         ^^ no implementation for `String == T`
   |
   = help: the trait `PartialEq<T>` is not implemented for `String`
   = help: the following other types implement trait `PartialEq<Rhs>`:
             `String` implements `PartialEq<&str>`
             `String` implements `PartialEq<Cow<'_, str>>`
             `String` implements `PartialEq<str>`
             `String` implements `PartialEq`
   = note: `T` implements `PartialEq<String>`
help: consider swapping the equality
   |
11 |     T(String::from("123")) == String::from("123");
   |     ~~~~~~~~~~~~~~~~~~~~~~    ~~~~~~~~~~~~~~~~~~~


For more information about this error, try `rustc --explain E0277`.
error: could not compile `playground` (bin "playground") due to 1 previous error
```

### Rationale and extra context

In this case where `T` implements `PartialEq<String>`, swapping the equality is a good way to fix it.
Although #132404 has implemented this, it only covers the case where `error[0308]: mismatched types` occurs.

### Other cases

_No response_

### Rust Version

1.84.0-nightly (2024-10-15 e7c0d2750726c1f08b1d) (playground)

### Anything else?

_No response_
Repository: PowerToys
Issue: Advanced Paste to folder
Labels: Needs-Triage

### Description of the new feature / enhancement

The new advanced paste options are awesome! A great new feature would be to be able to paste as a folder, not just a .txt, .html. etc.. 
Basically It would be awesome to copy text, then paste as a folder with the name of the folder being the text you copied.

### Scenario when this would be used?

As example, i could copy a ticket number and then paste it as a folder, or the name of a application, or whatever you want.

### Supporting information

_No response_
Repository: vscode
Issue: Inline chat code blocks extend more to right than chat input and also overlap the scroll bar
Labels: bug,ux,inline-chat

Inline chat with response streaming in shows the code block overlapping with scroll bar:

![Image](https://github.com/user-attachments/assets/7b13862a-4038-46c0-9d22-6b10cb027f6d)

This is also a problem in terminal chat but wouldn't want to fix that until the editor inline chat is perfect

![Image](https://github.com/user-attachments/assets/a637fd30-768b-4455-956c-96cc725abd4d)
Repository: PowerToys
Issue: Powertoys Run can't popup on remote desktop
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response,Area-App Compat

### Microsoft PowerToys version

0.86.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

While teamviewer is connected, press shortcut key to launch powertoys run.  Even when keyboard shortcuts are forwarded to the teamviewer destination, Keys like the windows key do pass through to the remote machine.  
But powertoys run, always opens in the source machine, not the remote (it is installed on both)
I am using shift-backspace as the shortcut if it matters.....


### ✔️ Expected Behavior

I want powertoys run to open on the remote computer like other keyboard shortcuts, instead it can only run on the host.

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: terminal
Issue: Terminal crashing in infinite loop when profile set to run as admin for non-admin users
Labels: Issue-Bug,Product-Terminal,Area-Windowing

### Windows Terminal version

 1.21.2911.0

### Windows build number

10.0.22631.4317

### Other Software

_No response_

### Steps to reproduce

Add account to administrator group
set default profile to run as Administrator
remove account from administrator group
start terminal

terminal will not start as default profile cant be run in admin mode. Terminal will crash and then keep going in loop forever. Open, crash, start again
In our company people got accidently removed from admin groups and terminal become unusable on majority computers.

### Expected Behavior

- in case of failure terminal will not be trying to start in infinity loop as it will never succeed
- as fallback it should start in non admin mode and provide notification about it or just show notification that profile cant be start in admin mode and user should modify setting manually first to remove admin mode

### Actual Behavior

terminal will not start (it will terminate during startup, ironically :)) and system will keep trying to start it in infinite loop
Repository: ui
Issue: [bug]: Sidebar has the wrong background color in mobile dark mode (specificity issue)
Labels: bug

### Describe the bug

The sidebar in mobile dark mode uses the default sheet background color rather than the sidebar's background color because of a specificity issue:

![image](https://github.com/user-attachments/assets/1716468a-fb78-498b-99a6-3edd0180a324)

This is the line causing the issue:

```tsx
    if (isMobile) {
      return (
        <Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}>
          <SheetContent
            data-sidebar="sidebar"
            data-mobile="true"
            className="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden" // <--- here
            style={
              {
                "--sidebar-width": SIDEBAR_WIDTH_MOBILE,
              } as React.CSSProperties
            }
            side={side}
          >
            <div className="flex h-full w-full flex-col">{children}</div>
          </SheetContent>
        </Sheet>
      )
    }
```

and the fix is here:

```tsx
className="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground dark:bg-sidebar [&>button]:hidden"
```

I intend on opening a PR for this issue

Link to the PR: #5753

### Affected component/components

Sidebar

### How to reproduce

1. Look at the sidebar in desktop mode, `bg-sidebar` is applied
2. Look at the sidebar in mobile mode, `bg-sidebar` is overriden by the default bg color in dark mode

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
No relevant info here
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: kubernetes
Issue: openapi verify breaks sometimes when release tags are added, we should prevent this
Labels: sig/api-machinery,kind/failing-test,sig/release,triage/accepted

### Which jobs are failing?

https://prow.k8s.io/?job=pull-kubernetes-verify

### Which tests are failing?

verify: openapi-spec is broken

### Since when has it been failing?

At least 6:55AM Pacific, November 6th. You can see the failed batch runs

### Testgrid link

_No response_

### Reason for failure (if possible)

Diff in the discovery api json data.

### Anything else we need to know?

https://github.com/kubernetes/kubernetes/pull/128615

### Relevant SIG(s)

/sig api-machinery release
Repository: vscode
Issue: In vim mode pressing the `o` keybinding to insert a new line below the active line from within a line comment inserts line comment on the new line
Labels: polish,editor-autoindent,under-discussion

This issue stems from the comment https://github.com/microsoft/vscode/issues/233186#issuecomment-2460218184

> I think a comment should also not be inserted when the new line is created using the command editor.action.insertLineAfter -- eg vim has a keybinding to create a newline and currently it creates a newline with //  at the beginning of the line regardless where my cursor is (and this's an important keybinding in vim)

cc @ulugbekna
Repository: rust
Issue: Incorrect warning about pointer to non_exhaustive ffi struct not being ffi safe
Labels: A-lints,A-FFI,T-lang,T-compiler,C-bug,L-improper_ctypes,L-false-positive

Rust warns that pointers to structs tagged with `non_exhaustive` aren't FFI safe in downstream crates. We ran into this in the `sdl3-sys` crate, where I've marked some FFI types, e.g. `SDL_Surface`, as non_exhaustive because the internal definition of the type used by the SDL library is larger than the public definition, and the non-public part isn't stable. Marking it with `non_exhaustive` prevents code from manually constructing their own value that would cause immediate UB if passed to SDL. The non_exhaustive structs are only used through pointers.

### Reproduction
Crate `a`, `lib.rs`:
```rust
#[repr(C)]
#[non_exhaustive]
pub struct Struct {
    pub field: u8
}

extern "C" {
    pub fn create_struct() -> *mut Struct;
    pub fn destroy_struct(s: *mut Struct);
}
```

Crate `b`, `lib.rs`:
```rust
use a::Struct;

extern "C" {
    pub fn use_struct(s: *mut Struct);
}
```

### I expected to see this happen:
Either neither crate should warn about this, or both should. `non_exhaustive` is as useful for FFI types as it is for native Rust types, so I'd prefer that neither crate warned.

If the warning is intentional, I'd like a way to disable it on the type itself (assuming it's safe, but I don't see why it wouldn't be)

### Instead, this happened:
Crate b warns that `Struct` isn't FFI safe. There's no warning for crate a.
```
warning: `extern` block uses type `Struct`, which is not FFI-safe
 --> b/src/lib.rs:4:26
  |
4 |     pub fn use_struct(s: *mut Struct);
  |                          ^^^^^^^^^^^ not FFI-safe
  |
  = note: this struct is non-exhaustive
  = note: `#[warn(improper_ctypes)]` on by default

warning: `b` (lib) generated 1 warning
```


### Meta
`rustc --version --verbose`:
```
% rustc --version --verbose
rustc 1.82.0 (f6e511eec 2024-10-15)
binary: rustc
commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
commit-date: 2024-10-15
host: aarch64-apple-darwin
release: 1.82.0
LLVM version: 19.1.1

% rustc +nightly --version --verbose
rustc 1.84.0-nightly (798fb83f7 2024-10-16)
binary: rustc
commit-hash: 798fb83f7d24e31b16acca113496f39ff168c143
commit-date: 2024-10-16
host: aarch64-apple-darwin
release: 1.84.0-nightly
LLVM version: 19.1.1
```
Repository: PowerToys
Issue: PowerToys Run often can't resolve Evernote
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

I have Evernote installed via the Microsoft Store.  PowerToys Run often can't resolve ".Evernote", i.e. it matches nothing and hitting Enter is a no-op.  The link pinned to the Start menu works fine.  It appears as if the issue is that every time there's an update to Evernote (which are plentiful and never auto-installed), PowerToys Run loses track of the app.  Once I use Microsoft Store to 'Update', then PT Run recognizes ".Ever" just fine.  

Most recently, this repro'd when I'd been running Evernote 10.113.5 previously, but they posted 10.114.2 to MS Store.  
I hope you can find an easy fix.  

(aside: Love your work.  I've retired my Executor launcher-app to use PT Run.) 

### ✔️ Expected Behavior

PowerToys Run should be able to find and execute Evernote even if that app is 1+ versions behind what's on MS Store.

### ❌ Actual Behavior

No Evernote icon and app-title appears when I type ".Evernote" and hitting Enter does not launch the app.  (Until, it seems, an Evernote update gets installed.)

### Other Software

Evernote 10.113.5 --> 10.114.2
Repository: rust
Issue: Tracking issue for release notes of #122408: Use futex-based synchronization on Apple platforms
Labels: relnotes,T-libs,O-unix,A-atomic,O-apple,relnotes-tracking-issue


This issue tracks the release notes text for #122408.

### Steps

- [ ] Proposed text is drafted by PR author (or team) making the noteworthy change.
- [ ] Issue is nominated for release team review of clarity for wider audience.
- [ ] Release team includes text in release notes/blog posts.

### Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

````markdown
# Category (e.g. Language, Compiler, Libraries, Compatibility notes, ...)
- [Use futex-based synchronization on Apple platforms](https://github.com/rust-lang/rust/pull/122408)
````

> [!TIP]
> Use the [previous releases](https://doc.rust-lang.org/nightly/releases.html) categories to help choose which one(s) to use.
> The category will be de-duplicated with all the other ones by the release team.
>
> *More than one section can be included if needed.*

### Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section.
*Otherwise leave it empty.*

````markdown
````

cc @joboet, @m-ou-se -- origin issue/PR authors and assignees for starting to draft text
Repository: vscode
Issue: Terminal suggest: Contextually aware suggestions after git status
Labels: feature-request,terminal-suggest

A common thing for me to do is clean up git state after a git status. Here's an example:

![Image](https://github.com/user-attachments/assets/ba671f1e-c2bc-48dd-a59d-e56d61fb0e82)

I'll often run `rm <file1> <file2>` or `git checkout <file1> <file2>` etc. after this. Could we have smarts when files are being suggested to auto fill recently seen git status files? I often use the mouse+clipboard to do this currently.
Repository: deno
Issue: When a monorepo uses import maps to reference other modules in the same monorepo, references from other projects can fail
Labels: question,workspaces

deno 2.0.2 (stable, release, x86_64-apple-darwin)
v8 12.9.202.13-rusty
typescript 5.6.2

This may be a question more than a bug. However I am not finding a solution by reading the [workspace](https://docs.deno.com/runtime/fundamentals/workspaces/) or [import maps](https://docs.deno.com/runtime/fundamentals/modules/#import-maps) documents, and my interpretation of these documents is that this should work.

The issue is
- if I create a module (repo2)
- and it references a module in repo1  `import * as bmod from "@jpravetz/bmod";`
- and repo1 is a monorepo with workspaces (amod and bmod)
- and the reference is via a relative path `"@jpravetz/bmod": "../repo1/bmod/mod.ts"`
- and the referenced module (bmod) references a different module (amod) in repo1 `import { add } from '@scope/amod';`
- and the reference is in the repo1/bmod import map `"@scope/amod": "../amod/mod.ts"`
- then when I run `deno lint` on repo2 I get a relative import path error


To reproduce

```sh
git clone https://github.com/jpravetz/repo1.git
git clone https://github.com/jpravetz/repo2.git
cd repo2
deno lint
```

Error message

```sh
error: Relative import path "@scope/amod" not prefixed with / or ./ or ../ and not in import map from "file:///Users/jpravetz/dev/tmp/repo1/bmod/mod.ts"
    at file:///Users/jpravetz/dev/tmp/repo1/bmod/mod.ts:1:21
```

Lint and testing are working within repo1.