sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: deno
Issue: Perhaps `prompt()` should not print anything when invoked without arguments
Labels: web,suggestion

When filing #22955, I was reminded that there is no way to stop `prompt()` from printing a space when collecting user input. You can see that in the leading spaces in the final command-line example in that issue, as compared against the first example.

In general, I like the implicit newline that `prompt()` appends to the provided prompt (and the implicit ` [y/N] ` in the case of `confirm()`). I think it provides a better programmer experience than Python's `input()` in most cases.

However, the inability to easily collect input without polluting stdout is annoying, and will become more problematic if the aforementioned feature request gains traction.

Perhaps a compromise would be to make `prompt()` print nothing but still wait for newline-terminated input when called with no arguments? One downside is that this would be inconsistent with `confirm()` and `alert()`'s behavior in this case.

I'm curious to hear others' thoughts and ideas!
Repository: rust
Issue: Tracking Issue for `loongarch64-unknown-linux-musl` target
Labels: C-tracking-issue,O-loongarch

This is a tracking issue for the `loongarch64-unknown-linux-musl` target part of MCP (rust-lang/compiler-team#518) and (rust-lang/compiler-team#753).

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [x] Added as a new Tier 3 target.
- [x] Promoted to Tier 2.

### Implementation history

- https://github.com/rust-lang/rust/pull/121832
- https://github.com/rust-lang/rust/pull/122269
- https://github.com/rust-lang/rust/pull/122323
- https://github.com/rust-lang/libc/pull/3605
- https://github.com/rust-lang/libc/pull/3606
- https://github.com/rust-lang/compiler-builtins/pull/579
- https://github.com/alexcrichton/openssl-src-rs/pull/233
- https://github.com/alexcrichton/openssl-src-rs/pull/234
- https://github.com/alexcrichton/openssl-src-rs/pull/241
- https://github.com/rust-lang/cargo/pull/13976
- https://github.com/rust-lang/rust/pull/126298
Repository: stable-diffusion-webui
Issue: [Feature Request]: Permanently hide info popup when interrupting batch generation
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

When you batch generate images and press the Interrupt button, it shows a popup explaining that it's finishing the current image and how you can interrupt it instantly. That's a useful hint, but after you've seen it once, it's just an annoyance. I hoped clicking the tiny close button on the popup would hide it permanently, but it does not.

### Proposed workflow

Suggestion 1: Show it only once.

Suggestion 2: Get rid of it completely, and change the Interrupt button text to "Interrupt instantly"

Suggestion 3: Do something with the Skip button, it has no meaning while interrupting.

### Additional information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: Refiner build in vs extension refiner
Labels: bug-report

### Checklist

- [X] 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
- [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?

reload base and refiner every time with build in refiner

with the extension
https://github.com/wcde/sd-webui-refiner.git
this is very fast and dont create every time base and refiner yaml

### Steps to reproduce the problem

check build in refiner 

![grafik](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/118767589/3cb6fdbf-09de-4369-9b43-ebfae2cf85c9)

generate image

...
see LOG

### What should have happened?

no reload every time base and refiner

like the extension
![grafik](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/118767589/695c7aa3-6d43-4e79-b01c-794a1fcf62f8)


### What browsers do you use to access the UI ?

_No response_

### Sysinfo

Win10
stable V1.8.0

### Console logs

```Shell
Loading weights [27282daf04] from D:\stable-diffusion\webui\models\Stable-diffusion\SDXL_test.safetensors
Creating model from config: D:\stable-diffusion\webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
Applying attention optimization: sdp-no-mem... done.
Model loaded in 4.7s (create model: 1.9s, apply weights to model: 2.5s).
 90%|█████████████████████████████████████████████████████████████████████████▊        | 36/40 [00:12<00:01,  2.86it/s]Reusing loaded model SDXL_test.safetensors [27282daf04] to load SDXL_refiner_1.0_0.9vae.safetensors [8d0ce6c016]
Loading weights [8d0ce6c016] from D:\stable-diffusion\webui\models\Stable-diffusion\SDXL_refiner_1.0_0.9vae.safetensors
Creating model from config: D:\stable-diffusion\webui\repositories\generative-models\configs\inference\sd_xl_refiner.yaml

and again and again
```


### Additional information

_No response_
Repository: PowerToys
Issue: I can't add multiple shortcut keyboard mapping
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.79.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

I complete setup shortcut mapping but when I choose add button it doesn't add shortcut for me

### ✔️ Expected Behavior

I hope you will fix this bug

### ❌ Actual Behavior

It doesn't add multiple shortcut

### Other Software

Window 11
Repository: ant-design
Issue: Import react-focus-lock
Labels: help wanted,Inactive,⌨️ Accessibility

https://www.npmjs.com/package/react-focus-lock

弹层类（Modal、Drawer、Notification、Tour 等等）的组件的 tab + focus 的键盘访问性体验都比较差，可以统一引入 react-focus-lock 来解决。
Repository: rust
Issue: Type inference failure when f64 ops are not explicitly stated
Labels: T-lang,T-compiler,A-inference,C-bug

I tried this code:

```rust
use std::ops::Add;

fn some_op<T>(a: &f64, b: &T) -> T
where
    for <'a> &'a f64: Add<&'a T, Output = T>
    {
        let t = 2.5_f64;
        &(a + &t) + b
    }

#[derive(Debug)]
struct MyStruct {
    val: f64
}

impl Add<&MyStruct> for &f64 {
    type Output = MyStruct;
    fn add(self, other: &MyStruct) -> MyStruct {
        MyStruct {val: self + other.val}
    }
}

fn main() {
    let a = 1.5_f64;
    let b = MyStruct{val: 3.5_f64};
    println!("{:?}", some_op(&a, &b));
}
```

This code is valid due to the implementation of `Add<&f64> for &f64` in the standard library.
The compiler reports this error:

```
error[E0308]: mismatched types
 --> src/main.rs:8:15
  |
3 | fn some_op<T>(a: &f64, b: &T) -> T
  |            - expected this type parameter
...
8 |         &(a + &t) + b
  |               ^^ expected `&T`, found `&f64`
  |
  = note: expected reference `&T`
             found reference `&f64`

error[E0369]: cannot add `&T` to `&T`
 --> src/main.rs:8:19
  |
8 |         &(a + &t) + b
  |         --------- ^ - &T
  |         |
  |         &T
  |
help: consider extending the `where` clause, but there might be an alternative better way to express this requirement
  |
5 |     for <'a> &'a f64: Add<&'a T, Output = T>, &T: Add<&T, Output = T>
  |                                             +++++++++++++++++++++++++
```

The expected type is not necessary and E0308 should not appear and finding f64 is correct.
If the following bound is added the code compiles without issue:

```
fn some_op<T>(a: &f64, b: &T) -> T
where
    for <'a> &'a f64: Add<&'a T, Output = T> + Add<&'a f64, Output = f64>
```

### 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`:
```
1.76.0
Also tested nightly. 1.78.0
```


</details>


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"veera-sivarajan"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: PowerToys
Issue: STL Preview Rotation
Labels: Idea-Enhancement,Product-File Explorer,Needs-Triage

### Description of the new feature / enhancement

It would be great if the stl in the prview pane could be rotated. Sometime the stl have not the great preview angle.

### Scenario when this would be used?

In the explorer preview pane eventually with right click on it.

### Supporting information

_No response_
Repository: next.js
Issue: SWC compiler &&  32 bit os (windows)
Labels: bug,SWC

### Link to the code that reproduces this issue

https://github.com/MostafaAymanMostafaEzzat/SWC-problems

### To Reproduce

1-start the application in development on 32 bit os ( windows) 
2-npm run dev
3-this error is appared "⚠ Attempted to load @next/swc-win32-ia32-msvc, but an error occurred: A dynamic link library (DLL) initialization routine failed.
\\?\C:\Users\es-MoustafaEzzat2026\Desktop\food_recipes\my-app\node_modules\@next\swc-win32-ia32-msvc\next-swc.win32-ia32-msvc.node
 ⨯ Failed to load SWC binary for win32/ia32, see more info here: https://nextjs.org/docs/messages/failed-loading-swc' "



![Untitled](https://github.com/vercel/next.js/assets/124005464/24068574-b656-4f8e-bd1f-09fe4c73d82e)


### Current vs. Expected behavior

this bug with the new SWC compiler in 32 bit os (windows)
i expect to run normally without bugs

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: ia32
  Version: Windows 10 Education
  Available memory (MB): 2996
  Available CPU cores: 4
Binaries:
  Node: 18.17.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.0-canary.23 // There is a newer canary version (14.2.0-canary.24) available, please upgrade! 
  eslint-config-next: 14.1.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.2
Next.js Config:
  output: N/A
 ⚠ There is a newer canary version (14.2.0-canary.24) available, please upgrade! 
   Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
   Read more - https://nextjs.org/docs/messages/opening-an-issue
```


### Which area(s) are affected? (Select all that apply)

SWC transpilation

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

i have tried reinstalling nodejs ,c++ redistributing ,adding file .babelrc to my root,deleting node-modules , package-lock and reinstall it but it still doesn't work. 
when i download nextjs (version 13.1.1) , it works on my machine(32 bit os) without bugs
Repository: godot
Issue: Incorrect work of look_at function
Labels: bug,topic:rendering,confirmed,topic:input,topic:2d

### Tested versions

- Reproducible in: 4.2-dev4 and later including 4.3-dev5
- Not reproducible in: 4.2-dev3 and earlier 

### System information

Windows 10 - Godot v4.2.1.stable - Compatibility

### Issue description

The bug occurs when:
- "Compatibility" rendering method is used
- "display/window/stretch/scale_mode" is an integer
- "display/window/stretch/mode" is viewport or canvas_item.
- "display/window/size/viewport" size does not equal the window size.

The bug manifests as if the rotation angle is being calculated not from the position of the node, but from some point with an offset from the node. This offset correlates with the difference between the viewport size in the project settings and the window size.

### Steps to reproduce

To reproduces the bug, you can use the `look_at(get_global_mouse_position())` function in any node, such as Sprite2D.

### Minimal reproduction project (MRP)


[Bug.zip](https://github.com/godotengine/godot/files/14624346/Bug.zip)
Repository: deno
Issue: feat: add option to `Deno.remove` that allows to ignore missing files
Labels: public API,suggestion,ext/fs

https://examples.deno.land/deleting-files explains that we have to catch and suppress an error if a file was not found. It would be much more convenient to opt into suppressing these errors by default. That would be a nice QoL improvement.

```ts
await Deno.remove(path, {
  recursive: true,
  allowNotExists: true,
});
```
Repository: PowerToys
Issue: Peek does not remember window position or size
Labels: Issue-Bug,Idea-Enhancement,Needs-Triage,Product-Peek

### Microsoft PowerToys version

0.79.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

Peek

### Steps to reproduce

When using Peek, the window that opens is centred on the screen and of a specific size (which I believe is relative to the resolution and monitor size being used). However after resizing the window so it is more appropriate (rather than the default which is widescreen), the window size/position is not maintained after closing the window and using Peek again.

### ✔️ Expected Behavior

I would expect the window position and size to be maintained/remembered after closing Peek and when re-using Peek.

### ❌ Actual Behavior

The window position and size defaults back to a widescreen form which is not appropriate behaviour on Windows when the options to maintain size/position are selected in the Display settings (see attached snippet).

![image](https://github.com/microsoft/PowerToys/assets/16537497/d5adc992-237b-43ff-8ba9-4d613134ef04)


### Other Software

N/A
Repository: stable-diffusion-webui
Issue: {Google Colab Stable Diffusion} [Bug]:OutOfMemoryError: CUDA out of memory
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [X] 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
- [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?

Any attempts at generating a single picture above a certain resolution(currently anything over 1000x1000) results in this error. claiming to need over 5GB to generate the image. batch size and count is 1. Receiving this error for one example:
OutOfMemoryError: CUDA out of memory. Tried to allocate 7.54 GiB. GPU 0 has a total capacity of 14.75 GiB of which 4.33 GiB is free. Process 25132 has 10.41 GiB memory in use. Of the allocated memory 9.93 GiB is allocated by PyTorch, and 353.04 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting


### Steps to reproduce the problem

Turn AI on
Attempt to generate an image with resolution greater than 1000x1000
No image generates, instead, receive Error

### What should have happened?

Turn on AI
Generate "anything" up to max size allowed on Google Colab
Image Generates

### What browsers do you use to access the UI ?

Mozilla Firefox

### Sysinfo

[sysinfo-2024-03-16-17-08.json](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/14624634/sysinfo-2024-03-16-17-08.json)


### Console logs

```Shell
unsure of how to provide full logs
```


### Additional information

_No response_
Repository: go
Issue: testing: Creating sub-benchmark with b.Run means that parent will not show anything from b.ReportMetric
Labels: NeedsInvestigation

### Go version

go version go1.21.6 darwin/arm64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/Harald/Library/Caches/go-build'
GOENV='/Users/Harald/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/Harald/go/pkg/mod'
GONOPROXY='github.com/dietdoctor/*'
GONOSUMDB='github.com/dietdoctor/*'
GOOS='darwin'
GOPATH='/Users/Harald/go'
GOPRIVATE='github.com/dietdoctor/*'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/Cellar/go/1.21.6/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/Cellar/go/1.21.6/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD='/Users/Harald/dd/hive/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/j2/0w9hqz1x01g3j4_yz0w0sw780000gp/T/go-build4150210059=/tmp/go-build -gno-record-gcc-switches -fno-common'
```


### What did you do?

```go
func BenchmarkTest(b *testing.B) {
	for _, name := range []string{"Test"} {
		b.Run(name, func(b *testing.B) {
			for _, subName := range []string{"Subtest"} {
				b.Run(subName, func(bb *testing.B) {
					bb.ReportMetric(100, "sub_test_metric")
				})
			}
			b.ReportMetric(200, "some_metric")
		})
	}
}

```

### What did you see happen?

```
BenchmarkTest
BenchmarkTest/Test
BenchmarkTest/Test/Subtest
BenchmarkTest/Test/Subtest-8 	1000000000	         0.0000002 ns/op	       100.0 sub_test_metric
PASS
```

### What did you expect to see?

I want to see `some_metric` be reported on the `BenchmarkTest/Test` benchmark.
Repository: ollama
Issue: Add Video-LLaVA 
Labels: feature request

### What model would you like?

Add Video-LLaVA to be then used easily 
https://github.com/PKU-YuanGroup/Video-LLaVA/tree/main
Repository: ollama
Issue: ollama doesn't distribute notice licenses in its release artifacts
Labels: bug

### What is the issue?

ollama uses projects like llama.cpp as a statically linked dependency. The terms of the MIT license require that it distribute the copyright notice in both source and binary form. Yet if I `grep` for "Georgi Gerganov" on my Linux and Windows installation folders for ollama, the copyright notices are nowhere to be found. This is a violation of the terms of the license which should be rectified.

### What did you expect to see?

I expected the copyright notices of dependent projects to be at minimum present within the binary artifacts. Some people online are of the opinion that a mention of llama.cpp should be present in places like the README as well, although the license doesn't strictly require that.

### Steps to reproduce

_No response_

### Are there any recent changes that introduced the issue?

```
grep -iR 'Georgi Gerganov' AppData/Local/Programs/Ollama/
grep -R 'Georgi Gerganov' /usr/local/bin/ollama
etc.
```

### OS

Other

### Architecture

Other

### Platform

_No response_

### Ollama version

_No response_

### GPU

_No response_

### GPU info

_No response_

### CPU

_No response_

### Other software

_No response_
Repository: ollama
Issue: Support alternate symlink path for ARM Mac
Labels: bug

### What are you trying to do?

If you install Ollama with a `brew install --cask ollama` on ARM, it creates a symlink at `/opt/homebrew/bin/ollama`, but the app still wants to run its install script to put a symlink in `/usr/local/bin/ollama` I think because of this line:

https://github.com/ollama/ollama/blob/main/macapp/src/install.ts#L9

Which causes it to pop up this window 

<img width="512" alt="Screenshot 2024-03-16 at 12 52 24 PM" src="https://github.com/ollama/ollama/assets/5396637/23a169bb-1664-4b03-8b59-a2a993b7bc99">

even though `ollama run` is working fine in the Terminal.

### How should we solve this?

some kind of plist that lets you specify the ollama symlink or even just hardcoding `/opt/homebrew/bin/ollama` as a possibility since that's the new default Homebrew path for ARM

### What is the impact of not solving this?

Closing the "Welcome to Ollama" window when it pops up

### Anything else?

_No response_
Repository: go
Issue: x/tools/gopls: feature: alternative 'references' query that reports implied references to struct fields (etc)
Labels: FeatureRequest,gopls,Tools

### gopls version

gopls 0.14.2 from nixpkgs: `/nix/store/1spk3fici3mrggasy75w31y0yvqlrk08-gopls-0.14.2/bin/gopls`

```
$ gopls -v version
Build info
----------
golang.org/x/tools/gopls (devel)
    golang.org/x/tools/gopls@(devel)
    github.com/BurntSushi/toml@v1.2.1
    github.com/google/go-cmp@v0.5.9
    github.com/sergi/go-diff@v1.1.0
    golang.org/x/exp/typeparams@v0.0.0-20221212164502-fae10dda9338
    golang.org/x/mod@v0.14.0
    golang.org/x/sync@v0.4.0
    golang.org/x/sys@v0.14.0
    golang.org/x/telemetry@v0.0.0-20231114163143-69313e640400
    golang.org/x/text@v0.13.0
    golang.org/x/tools@v0.14.1-0.20231114185516-c9d3e7de13fd
    golang.org/x/vuln@v1.0.1
    honnef.co/go/tools@v0.4.5
    mvdan.cc/gofumpt@v0.4.0
    mvdan.cc/xurls/v2@v2.4.0
go: go1.21.6
```

### go env

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/me/.cache/go-build'
GOENV='/home/me/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/me/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/me/go'
GOPRIVATE=''
GOPROXY='direct'
GOROOT='/nix/store/cw9dqybf9w6wp7827h23pb3ym8gs8h47-go-1.21.6/share/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/nix/store/cw9dqybf9w6wp7827h23pb3ym8gs8h47-go-1.21.6/share/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/me/Code/blocky/go.mod'
GOWORK='/home/me/Code/blocky/go.work'
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=/run/user/1000/go-build2624082058=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

```go
package main

type T struct{ field int }

func main() {
	_ = T{0}
}
```

### What did you see happen?

Seaching for references of `field` doesn't detect the `T` literal.

### What did you expect to see?

A list with the literal included.

### Editor and settings

N/A

### Logs

_No response_
Repository: PowerToys
Issue: Start PowerToys minimized when launching on Windows startup
Labels: Area-Setup/Install,Needs-Team-Response

### Description of the new feature / enhancement

An option to start PowerToys minimized so it won't pop up on the screen on system startup.

### Scenario when this would be used?

When the option of launching PowerToys on system startup is enabled.

### Supporting information

_No response_
Repository: ollama
Issue: How do you install the ollama gui and terminal executable from command line without manually installing it?
Labels: feature request

### What are you trying to do?

Automating the process of using the ollama package without going through the manual processing of installing it every time.

### How should we solve this?

Make a brew that handles this -- brew install ollama -- is not enough.

### What is the impact of not solving this?

It is going to cripple your users.

### Anything else?

Please add more tuning parameters and hooks for developers from CLI and other languages like Swift and Python.