sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: deno
Issue: [bug][NPM] `Error: listen UNKNOWN: unknown error` running npm:@web/test-runner
Labels: bug,node compat,node API

Version: Deno 1.40.2
deno 1.40.2 (release, x86_64-unknown-linux-gnu)
v8 12.1.285.6
typescript 5.3.3

When I try to run [npm:@web/test-runner](https://modern-web.dev/guides/test-runner/getting-started), I get an error that looks kind of like address in use:

```
$ deno run --allow-env --allow-ffi --allow-net --allow-read --allow-sys npm:@web/test-runner
Error: listen UNKNOWN: unknown error ffff::eeee:dddd:cccc:bbbb:8000
    at __node_internal_captureLargerStackTrace (ext:deno_node/internal/errors.ts:91:9)
    at __node_internal_uvExceptionWithHostPort (ext:deno_node/internal/errors.ts:122:10)
    at Server._setupListenHandle [as _listen2] (node:net:1179:16)
    at _listenInCluster (node:net:1011:12)
    at doListen (node:net:1021:7)
    at processTicksAndRejections (ext:deno_node/_next_tick.ts:36:15)
    at runNextTicks (ext:deno_node/_next_tick.ts:71:3)
    at eventLoopTick (ext:core/01_core.js:70:21) {
  code: "UNKNOWN",
  errno: -4094,
  syscall: "listen",
  address: "ffff::eeee:dddd:cccc:bbbb",
  port: 8000
}
```

(I've mangled the IP.) The port does not appear to be in use. The expected output for no tests is:

```
$ npx @web/test-runner 

Error: Did not find any tests to run. Use the "files" or "groups" option to configure test files.
```
Repository: ant-design
Issue: Dynamic Form Item repeteable issue array undefined when empty
Labels: Inactive,unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/dynamic-form-nest-items-antd-5-13-3-tsj2xw)

### Steps to reproduce

1. open terminal console
2. click on submit form
2.1 you will see **{users: undefined}**

3. add a user
3.1 delete it
3.2 submit form (you will see **{users: Array(0)}**)

### What is expected?

Expected empty array at the beginning or null if no rows are inside the form.

### What is actually happening?

If there is not user in the list, i get undefined, if there were some users, then we deleted it there will be array[0]

| Environment | Info |
| --- | --- |
| antd | 5.13.3 |
| React | 18 |
| System | mac |
| Browser | chorme |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: vscode
Issue: Search: allow multi-select and open in editor
Labels: feature-request,search

Here it would be nice to be able to open all selected files as editors:



![Image](https://github.com/microsoft/vscode/assets/900690/908540ee-ac75-4f31-8118-0d9096e58405)
Repository: ollama
Issue: Adding Yi-VL models
Labels: feature request

Yi LM [is supported in ollama](https://ollama.ai/library/yi), but I don't think the multimodel Yi-VL models are.  These are supposed to be very good, so it would be great to have them.

Here are the huggingface links:
6B: https://huggingface.co/01-ai/Yi-VL-6B
34B: https://huggingface.co/01-ai/Yi-VL-34B
Repository: angular
Issue: Exact supported Browserversions
Labels: P3,area: docs

### Describe the problem that you experienced

The docs state, that the 2 most recent chrome versions are supported. As chrome releases in a 4 week releasecycle it is pretty hard to determine which exactly are meant. 

### Enter the URL of the topic with the problem

https://angular.io/guide/browser-support

### Describe what you were looking for in the documentation

_No response_

### Describe the actions that led you to experience the problem

Customers ask us which browsers they need to use. As we are in an industrial environment, it's not given, they are always on the latest browsers

### Describe what you want to experience that would fix the problem

It would make sense to state the exact minimum browser version alongside the releases angular version.

### Add a screenshot if that helps illustrate the problem

_No response_

### 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_
Repository: ollama
Issue: Allow reading from file while in `ollama run` prompt
Labels: feature request

If we can tell a model to look at picture we should be able to tell it to read from a text file.
There are so many cases where I want to frame a question with data or text, that just doesn't work. 
But if I could say, read the file at ./mytext.txt 
and it just sucked it all in as though it were keyboard input, that would be fantastic.

It could even be done before the llm actually sees the "read the file at" command as it could be prefiltered. 

Also save output to file myfile.txt would be useful.
Repository: PowerToys
Issue: Mouse Without Borders share clipboard fails  after turning on the clipboard history
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response,Product-Mouse Without Borders

### Microsoft PowerToys version

0.78.0

### Installation method

GitHub

### Running as admin

No

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

I am using Windows 11. After turning on the clipboard history ( WIn + v),  Mouse Without Borders share clipboard fails.

### ✔️ Expected Behavior

share clipboard works

### ❌ Actual Behavior

share clipboard fails

### Other Software

_No response_
Repository: next.js
Issue: Prefetch route with next link returns HTML instead of JSON
Labels: bug,Runtime,Pages Router

### Repository link to the code that reproduces this issue

Github - https://github.com/chozzz/nextjs-poc/tree/issue-61491

### To Reproduce
1. Go to https://nextjs-gt1jo5c8s-choz.vercel.app/base-path/en-gb
2. At network panel - view all the `.json` xhrs that's triggered by `next/link` prefetch You may notice the response is html instead of json.

### Current vs. Expected behavior
#### Current (HTML):
URL: https://nextjs-gt1jo5c8s-choz.vercel.app/base-path/en-gb
![image](https://github.com/vercel/next.js/assets/5223310/b08dd0ad-cc21-4790-94a5-a1c5a0853cc9)

#### Expected (JSON):
The expected behavior is to return the JSON instead, which works fine with default locale. The problem arises only when user accessing non-default locale (in this case it's `/en`)

URL: https://nextjs-gt1jo5c8s-choz.vercel.app/base-path
![image](https://github.com/vercel/next.js/assets/5223310/fc87a58c-6d7f-4d76-a840-7ddc181a878a)

### Provide environment information

It could be irrelevant as issue only happens on Vercel. But here it is;

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #102~20.04.1-Ubuntu SMP Mon Jan 15 13:09:14 UTC 2024
Binaries:
  Node: 18.17.1
  npm: 9.6.7
  Yarn: 1.22.21
  pnpm: N/A
Relevant Packages:
  next: 14.1.0
  eslint-config-next: 12.2.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 4.7.4
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router, Data fetching (gS(S)P, getInitialProps), Middleware / Edge (API routes, runtime)

### Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

### Additional context

Notes:
1. Local `npm run dev` works fine, however with `npm run build && npm run start`, it would have `ERR_TOO_MANY_REDIRECTS`.
2. `rm middleware.ts` fixes the issue altogether.
3. I am using `pages` router, I haven't tested if this is reproducible with `app` router.

-------

Could be related to https://github.com/vercel/next.js/issues/47112

So, we've encountered an issue on our application hosted on Vercel, which began after updating Next.js from version 12 to version 13.

So the arch of it involves using i18n, middleware and basePath, and after further digging I found that it's related/similar to this issue. 

The issue might relate to a known Next.js routing problem. Deleting the `middleware.ts` file appears to resolve the issue, 

I am in need of a suggestion for a potential workaround without removing the middleware, as it is essential for our application. Any other thoughts or advice would be appreciated.
Repository: rust
Issue: std::io::BufReader read partial data even though EOF was not reached
Labels: T-libs-api,C-feature-request,T-libs

I tried this code:

```rust
use std::collections::HashSet;
use std::fs::write;
use std::fs::File;
use std::io::BufReader;
use std::io::Read;

const RECORD_SIZE: usize = 12;

fn test_unbuffered() -> (usize, HashSet<usize>) {
    // 1. create large file
    let record = "x".repeat(RECORD_SIZE);
    let tmp = record.repeat(1024 * 32);

    let path = "tmp.bin";
    write(path, tmp).unwrap();

    // 2. read
    let mut f = File::open(path).unwrap();
    let mut buffer = [0; RECORD_SIZE];

    let mut reads = HashSet::<usize>::new();
    let mut total_read = 0;
    loop {
        let n = f.read(&mut buffer).unwrap();
        total_read += n;
        reads.insert(n);
        if n == 0 {
            return (total_read, reads);
        }
    }
}

fn test_buffered() -> (usize, HashSet<usize>) {
    // 1. create large file
    let record = "x".repeat(RECORD_SIZE);
    let tmp = record.repeat(1024 * 32);

    let path = "tmp.bin";
    write(path, tmp).unwrap();

    // 2. read
    let mut f = File::open(path).unwrap();
    let mut f = BufReader::new(f);
    let mut buffer = [0; RECORD_SIZE];

    let mut reads = HashSet::<usize>::new();
    let mut total_read = 0;
    loop {
        let n = f.read(&mut buffer).unwrap();
        total_read += n;
        reads.insert(n);
        if n == 0 {
            return (total_read, reads);
        }
    }
}

fn main() {
    println!("test_unbuffered = {:?}", test_unbuffered());
    println!("test_buffered = {:?}", test_buffered());
}
```

I expected to see this happen:

Regardless using buffering or not, I expected to read exactly `RECORD_SIZE` chunk of bytes in each `read` invocation.

Instead, this happened:

When buffering is used, records that crosses the internal buffer size are not read as whole.

`rustc --version --verbose`:
```
rustc 1.75.0 (82e1608df 2023-12-21)
binary: rustc
commit-hash: 82e1608dfa6e0b5569232559e3d385fea5a93112
commit-date: 2023-12-21
host: x86_64-unknown-linux-gnu
release: 1.75.0
LLVM version: 17.0.6
```
Repository: svelte
Issue: Svelte 5: List of libraries not working out of the box
Labels: bug

### Describe the bug

Some libraries don't work with Svelte 5 out of the box. It will probably be impossible to make every library compatible given that some use stuff `svelte/internal` (which they really shouldn't) and everything in there changed, but those who don't should be closely investigated. Feel free to post libraries you found that don't work in here, ideally along with a small reproduction (repro or "install and use component X").

### Won't / can't fix

- `@tanstack/svelte-table`, because it uses `svelte/internal` in a way that can't be backported https://github.com/TanStack/table/issues/5213 - but a new version of the library is underway with Svelte 5 support! In the meantime there's also a drop-in replacement available at https://www.npmjs.com/package/tanstack-table-8-svelte-5
- cmdk-sv / shadcn-svelte search box - manually interacts with the DOM, needs change in the library https://github.com/huntabyte/cmdk-sv/issues/92
- Vercel AI SDK Svelte wrapper - a dependency of that library is using `beforeUpdate`, the dependency likely needs to be switched out for something else https://github.com/vercel/ai/issues/3107

### Fixed

- `svelte-confetti`
- `svelte-range-slider-pips` (through #10543)

### Reproduction

Use the libraries and observe errors

### Logs

_No response_

### System Info

```shell
-
```


### Severity

annoyance
Repository: godot
Issue: Subviewport not working on web
Labels: bug,platform:web,topic:rendering,needs testing

### Tested versions

Not reproducible in v4.2.1 stable

### System information

Godot v4.2.1.stable - Windows 10.0.19045 - GLES3 (Compatibility) - GeForce GTX 1650 () - AMD Ryzen 5 4500 6-Core Processor (12 Threads)

### Issue description

I've got an issue while running the game on web, somehow the subviewport doesn't display the video, instead when I run it on Godot it does work.
![immagine_2024-02-01_100101044](https://github.com/godotengine/godot/assets/158449731/58ae811c-a52a-42a6-8a78-e7ef9b72ec45) This is what I see running on web

https://github.com/godotengine/godot/assets/158449731/997be681-fcbc-4101-a3b4-9e13bcbebef9

 This is what I see running on Godot



### Steps to reproduce

I used a main node, imported my .glb file as a child, created a mesh as a child too, then the subviewport, a subvuewport container as a child to the subviexport and a stream video player as a child of the container.
![immagine_2024-02-01_100450770](https://github.com/godotengine/godot/assets/158449731/d874c761-a03c-4583-9f62-00c6aab7f9aa)
Yes I know it gives me a warning on the subviewport container, but even if I switch their position it doesn't display anything on web.

### Minimal reproduction project (MRP)

[Specchio.zip](https://github.com/godotengine/godot/files/14122662/Specchio.zip)
Repository: next.js
Issue: Incorrect Next head crashed production environment
Labels: bug

### Link to the code that reproduces this issue

https://github.com/thomasdbock/next-head-issue

### To Reproduce

1. Create a page with an invalid next/head Head tag. ex: `<Head><html /></Head>`
2. Build the app `next build`
3. Start the application `next start`
4. Go to the page with the invalid Head tag

### Current vs. Expected behavior

I expect the app to ignore my Head tag changes, but an infinite loop of client side errors occur.

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.3.0: Wed Dec 20 21:31:00 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6020
Binaries:
  Node: 20.11.0
  npm: 10.2.4
  Yarn: N/A
  pnpm: 8.14.1
Relevant Packages:
  next: 14.1.1-canary.27 // Latest available version is detected (14.1.1-canary.27).
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


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

Metadata (metadata, generateMetadata, next/head)

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

next start (local), Other (Deployed)

### Additional context

I tracked down the code to this line:
https://github.com/vercel/next.js/blob/canary/packages/next/src/client/head-manager.ts#L136

Looks to me as if switching the if-checks will fix this issue. Where the log is only done when not in production, but the code will be able to exit.
Repository: transformers
Issue: Adding Gradient Checkpointing and Flash Attention 2 implementation to VisionTextDualEncoderModel
Labels: Feature request,Good Difficult Issue

VisionTextDualEncoderModel allows training any image and text encoders with a contrastive loss. Would be convenient to add gradient checkpointing as well as flash attention 2 to optimize training. 

Thank you
Repository: godot
Issue: Framerate drops to 1 FPS when Screen Energy Saving activates / screen turns off
Labels: bug,platform:linuxbsd,topic:porting,confirmed

### Tested versions

v4.2.1.stable.official [b09f793f5]

### System information

Godot v4.2.1.stable - Fedora Linux 39 (KDE Plasma) - X11 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1650 (nvidia; 545.29.06) - 11th Gen Intel(R) Core(TM) i9-11900T @ 1.50GHz (16 Threads)

### Issue description

In the MRP an audio is played every 0.2 seconds. As soon as the monitor turns off (due to energy saving), the audio is being played only around every 3 seconds.

Btw. the same issue also happens when dragging the window around.

Expected behaviour is of course that it should continue playing every 0.2 seconds.

### Steps to reproduce

- set energy saving monitor turn off to 1 minute 
- run MRP in linux ( I don't know if the same issue occurs on windows)
- wait for 1 minute until the monitor turns off

### Minimal reproduction project (MRP)

[MonitorTest.zip](https://github.com/godotengine/godot/files/14123832/MonitorTest.zip)
Repository: godot
Issue: monitor priority issue with multiple monitors with different scale, when run a scene
Labels: bug,platform:windows,topic:core,topic:porting

### Tested versions

godot mono .NET 4.1.2

### System information

Windows 11 - godot 4.1.2 mono stable

### Issue description

2 monitor, main (1) monitor is 16:10 2k, secondo monitor is 16:9 1920x1080
even if in the editor settings is selected open scene, the scene will run for a second in the main monitor 16:9, but after he will move to the second.

Problem is if Nahimic driver is installed I think, resetting pc solved that issue, and AI told could be a nahimic driver issue

** This issue is releated to all windows the godot open*, like when I try to a add child to a node, but it does not affect the file manager opening in first monitor when I click on an asset and click show on file manager of windows (as it should be)*

This issue is only when extends monitor, OS: Win 11

### Steps to reproduce

2 monitor, main (1) monitor is 16:10 2k, secondo monitor is 16:9 1920x1080

### Minimal reproduction project (MRP)

any project
[PlayerTest.zip](https://github.com/godotengine/godot/files/14123885/PlayerTest.zip)
Repository: go
Issue: runtime: go test -race on FreeBSD with ASLR reports ok without running any test
Labels: RaceDetector,help wanted,NeedsInvestigation,compiler/runtime

### Go version

go version go1.21.6 freebsd/amd64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/.cache/go-build'
GOENV='/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='freebsd'
GOINSECURE=''
GOMODCACHE='/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='freebsd'
GOPATH='/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/freebsd_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/tmp/cirrus-ci-build/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 -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2387445335=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

Ensure ASLR is enabled:

```sh
sysctl kern.elf64.aslr.enable=1
```

Write a test that fails. For reasons I don't understand, this issue only reproduces when the test imports `plugin`.

```go
// a_test.go
package main_test

import (
        "testing"
        _ "plugin"
)

func TestFail(t *testing.T) {
        t.FailNow()
}
```

Run the test without `-race` and it fails, as expected:

```
# go test
--- FAIL: TestFail (0.00s)
FAIL
exit status 1
FAIL    src.elv.sh/d    0.003s
```

However, if you run the test with `-race`, it prints out a warning message and goes on to report the test as if it succeeded:

```
# go test -race; echo $?
This sanitizer is not compatible with enabled ASLR and binaries compiled with PIE
ok      src.elv.sh/d    0.006s
0
```

Since the test always fails, it seems that `go test -race` doesn't actually run the test.

### What did you see happen?

`go test -race` reports "ok" and exits with 0.

### What did you expect to see?

`go test -race` should report failure and exit with 1.
Repository: pytorch
Issue: Wrong typing for `argnums` in `torch.func.jacrev`, `torch.func.jacfwd` and possibly `torch.func.vmap`.
Labels: module: typing,triaged,module: functorch

### 📚 The doc issue

It seems that in the code and in the docs, the type of `argnums` in `torch.func.jacrev` is supposed to be `Union[int, Tuple[int, ...]]` and it is actually `Union[int, Tuple[int]]`. I think this also holds for `jacfwd` (but there the type is not specified elsewhere than in the docs) and possibly for the parameter `output_dims` of `vmap` (type is also missing in the code, and maybe wrong in the docs).

See the codes : 
- https://github.com/pytorch/pytorch/blob/eaa45f47f825777599c097af577d854bb47711ae/torch/_functorch/eager_transforms.py#L367
- https://github.com/pytorch/pytorch/blob/eaa45f47f825777599c097af577d854bb47711ae/torch/_functorch/eager_transforms.py#L1017
- https://github.com/pytorch/pytorch/blob/eaa45f47f825777599c097af577d854bb47711ae/torch/_functorch/apis.py#L51

The `jacrev` call `_vjp_with_argnums` and `_slice_argnums` with this parameter, the first one takes it as a `argnums_t = Union[int, Tuple[int, ...]]` and the second does not specify but there is a check that it is either an `int` or a `tuple[int, ...]`, so I think changing this would result in no error.

### Suggest a potential alternative/fix

I believe all those `Tuple[int]` should be changed to `Tuple[int, ...]`.

cc @ezyang @malfet @xuzhao9 @gramster @zou3519 @Chillee @samdow @kshitij12345 @janeyx99
Repository: godot
Issue: Typing characters like ` or ~ freezes text boxes on GNOME / X11
Labels: bug,platform:linuxbsd,topic:input,regression,topic:gui

### Tested versions

4.0-stable, 4.2.1 and 4.3.dev.custom_build.313f623b9

### System information

Manjaro Linux with X11

### Issue description

Typing characters like ' ~ á  ã prevents the text box to receive more inputs.
Terminal shows no error. Pasting words with those chars works fine.



### Steps to reproduce

Just type characters containig ' ~ á  ã in texts boxes.


Writing the word "avião" :

https://github.com/godotengine/godot/assets/56130740/e1c9cbe1-f4fa-46a6-a653-876b916d3061 

https://github.com/godotengine/godot/assets/56130740/41d97142-cb4a-4622-8aae-ffb24438c08a

https://github.com/godotengine/godot/assets/56130740/4dee47e9-ed04-489c-9f3b-ce49e8ec28d3









### Minimal reproduction project (MRP)

N\A
Repository: pytorch
Issue: Pytorch with DSA enabled? Are there binaries? Perhaps the nightly?
Labels: module: cuda,triaged

### 🚀 The feature, motivation and pitch

I'm debugging a cuda kernel and am green as can be. I can't see the line number where the kernel fails because I am told to enable device side assertions. I am told this would require compiling pytorch. Are there binaries available with this option already set at compile time? Is there some other way to get it on?

### Alternatives

I tried searching everywhere but everything is drowned out in error message spam.


cc @ptrblck
Repository: PowerToys
Issue: Quick Accent upper case letters
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response,Product-Quick Accent

### Microsoft PowerToys version

0.78.0

### Installation method

GitHub

### Running as admin

No

### Area(s) with issue?

Quick Accent

### Steps to reproduce

Activate Quick Accent

Hold Shift to write uppercase letters
Hold A
Press Space

### ✔️ Expected Behavior

Ä

### ❌ Actual Behavior

AÄ

### Other Software

_No response_
Repository: godot
Issue: "Online Docs" button doesn't open current documentation page in the browser
Labels: feature proposal,topic:editor

### Tested versions

I'm using v4.2.1.stable.official [b09f793f5]

### System information

Godot v4.2.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.21910.5) - AMD Ryzen 5 5500U with Radeon Graphics (12 Threads)

### Issue description

"📤Online Docs" button should detect what offline docs page I have active and open it in the browser instead of docs home page

### Steps to reproduce

Have script editor open
Within it have documentation page open
Press the "📤Online Docs" button 
It just opens Godot Docs home page, and NOT the specific page I have open.

### Minimal reproduction project (MRP)

any blank project works