sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: In Vintage/Retro mode have a feature to make a sound when a character or line is printed to the screen
Labels: Issue-Feature,Area-Extensibility,Product-Terminal

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

# Description of the new feature/enhancement

I use Windows Terminal to interface with several Retro computers such as IMSAI 8080, PDP-8, PDP-11 using Telnet but also running some of these retro computers in a WSL session. These computers usually emulate a teletype or a VT type terminal which both have distinctive sounds when printing characters or lines. 
Would love to see an option in the retro/vintage settings to enable (annoying) audio while these computers do their work.


# Proposed technical implementation details (optional)

Implement a toggle and a drop down in the retro/vintage settings pane. Not only to enable the vintage cursor and retro font, but also allow turning on sound effects and provide a dropdown with a list of sound effects for VT terminals and line printers/teletypes so these can be configured on a per profile basis.
Repository: ollama
Issue: feat: Add an "official" indicator in the library
Labels: feature request,ollama.com

In the model library on ollama.com, there is no indication whether a model is "official", e.g., provided by the ollama team, or uploaded by a user, other than the username prefix.

This can cause confusion for other users searching for a model by name.

Recommend implementing something similar to Docker Hub to indicate models provided by Ollama team, models provided by Model developer and models supported / blessed by Ollama team.
Repository: TypeScript
Issue: Update Map.clear and Set.clear jsdoc in es2015.collection.d.ts
Labels: Suggestion,Experience Enhancement

### ⚙ Compilation target

ES2015

### ⚙ Library

es2015

### Missing / Incorrect Definition

Map.clear
Set.clear

### Sample Code

```TypeScript
// jsdoc intellisense for
(new Map).clear();
(new Set).clear();
```


### Documentation Link

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/clear
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/clear
Repository: pytorch
Issue: torch/export/_trace.py and related non-strict entrypoints do not initialize TORCH_LOGS/TORCH_TRACE
Labels: module: logging,triaged,oncall: pt2,oncall: export

### 🐛 Describe the bug

self explanatory

### Versions

main

cc @msaroufim @bdhirsh @anijain2305 @zou3519 @chauhang @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4
Repository: godot
Issue: HTML iOS wont enter fullsceen
Labels: bug,platform:web,needs testing,topic:export

### Tested versions

3.x

### System information

iOS

### Issue description

On ipadOS and on macOS, the same export works.

But, on iOS, iphone 15 at least (store tested), it wont enter fullscreen.

If needed, i shall made a test link but the code is provided, maybe there is something wrong, but it works on all platforms.



### Steps to reproduce

Make a singleton with:

func _input(event):
	if OS.get_name() == "HTML5" and !OS.window_fullscreen and event is InputEventMouseMotion == false:
		yield(get_tree().create_timer(0.5), "timeout")
		OS.window_fullscreen = true

acess the export on a iOS device.

### Minimal reproduction project (MRP)

will provide link later if in need.
Repository: PowerToys
Issue: PT run doesn't search any archive
Labels: Issue-Bug,Product-PowerToys Run,Needs-Repro,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.77.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

search for any archive in the pc

### ✔️ Expected Behavior

PT displays the archive i was looking for

### ❌ Actual Behavior

PT run doesn´t dislays anything

![image](https://github.com/microsoft/PowerToys/assets/162488456/c9254491-f6d4-4e94-9d06-6c0414a61964)

When I type the first letter it displays all the results, including the archive i was looking for

![image](https://github.com/microsoft/PowerToys/assets/162488456/097fff05-58bf-484a-ae82-58c2706f678b)



### Other Software

_No response_
Repository: excalidraw
Issue: Font size too small
Labels: More information needed / cannot reproduce

hi i used to be able to get around how small 'xl' is by making an 'xl' font square box and then scaling the box bigger, but now when i scale the box the font always stays the same size?? now, i have to make an empty box, make a text box, scale the text box, put it inside the box object and then group them, and then i quadruple click instead of double click.
Repository: vscode
Issue: Overview ruler at right
Labels: bug,diff-editor

Type: <b>Bug</b>

When viewing a file in the diff editor or file. The overview ruler on the right side does not correctly match the location between the modified lines and the current view window.
I have used VScode for years and before it worked perfectly, but a few versions ago it started to work poorly. When I click on a modified line, I expect to see that part in my window, but I have to scroll up. or below to find it well.

The view part is not representing the current editor view.

VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:42:51.279Z)
OS version: Darwin arm64 23.2.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M2 (8 x 24)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|3, 2, 2|
|Memory (System)|8.00GB (0.05GB free)|
|Process Argv|--crash-reporter-id a69d8399-5890-4087-ad57-07b74649ada8|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (14)</summary>

Extension|Author (truncated)|Version
---|---|---
codesnap|adp|1.3.4
vscode-better-align|cho|1.4.2
npm-intellisense|chr|1.4.5
path-intellisense|chr|2.8.5
vscode-eslint|dba|2.4.4
EditorConfig|Edi|0.16.4
svg|joc|1.5.3
vscode-language-babel|mgm|0.0.40
git-graph|mhu|1.30.0
fluent-icons|mig|0.0.18
symbols|mig|0.0.16
vscode-yaml|red|1.14.0
vscode-postcss|vun|2.0.2
gitblame|wad|10.9.0

(1 theme extensions excluded)

</details>
<!-- generated by issue reporter -->
<img width="18" alt="image" src="https://github.com/microsoft/vscode/assets/5330860/937cc3d1-c76f-4a5b-8392-f0dac0bd6f9b">
Repository: godot
Issue: Mobile Virtual keyboard won't sync with content of text input
Labels: platform:web,topic:porting,needs testing,topic:input

### Tested versions

3.x

### System information

web mobile

### Issue description

If one creates a textbox and enter text that is  dinamically changed, the new text wont populate the [html virtual hack](https://godotengine.org/article/godot-web-progress-report-7/) that godot uses for text input.

Example, for numerical input, that needs to have a dot for every number, or even reject letters.

The letters are not rejected, and the points are not added.

### Steps to reproduce

Create a dinamic input text box, and try to make it behave on mobile

### Minimal reproduction project (MRP)

```gdscript
var locloc = 0
func _process(delta):
	caret_position = locloc

func _on_LineEdit_text_changed(new_text):
	
	if new_text.length() >0 and new_text[new_text.length()-1] in "1234567890":
		locloc +=1
		pass
	else:
		text = text.substr(0,text.length()-1)
		caret_position = text.length()
```

_Production edit: formatted code_
Repository: go
Issue: cmd/cgo: wrong parse cgo overlay file
Labels: NeedsInvestigation,compiler/runtime

### Go version

go1.22.0 linux/amd64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE='on'
GOARCH='amd64'
GOBIN=''
GOCACHE='/tmp/.cache/go-build'
GOENV='/tmp/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/tmp/go/pkg/mod'
GOOS='linux'
GOPATH='/tmp/go'
GOPROXY='direct'
GOROOT='/snap/go/10535'
GOSUMDB='off'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/snap/go/10535/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.0'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/tmp/GolandProjects/extt/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-build1187410756=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

Go code:
example.go 
```go
package go_issue

/*
void f(){}
*/
import "C"

func example() {
	C.f()
}

```
I run cgo:
```bash
# go tool cgo example.go 
# ls _obj/_cgo_gotypes.go 
_obj/_cgo_gotypes.go

```
next I build go file with `-overlay` option
overlay.json:
```json
{
  "Replace":
  {
    "example_cgo.go": "_obj/_cgo_gotypes.go"
  }
}

```

`go build -overlay=overlay.json example_cgo.go`



### What did you see happen?


errors:
```sh
# go build -overlay=overlay.json example_cgo.go
# command-line-arguments
./_obj/_cgo_gotypes.go:34:3: //go:cgo_import_static _cgo_2ae947966da8_Cfunc_f only allowed in cgo-generated code
./_obj/_cgo_gotypes.go:39:3: //go:cgo_unsafe_args only allowed in cgo-generated code
```

### What did you expect to see?

nothing/no error, because 
_obj/_cgo_gotypes.go is a **cgo-generated** file
Repository: godot
Issue: Mobile Virtual Keyboard won't trigger `text_entered` signal.
Labels: needs testing,topic:input

### Tested versions

3.x

### System information

mobile web

### Issue description

When entering text and pressing the "enter" key on the virttual keyboard, it stays open, and wont trigger  text_entered() signal.


### Steps to reproduce

connect the  text_entered() signal to a OS.alert("OK") and try to trigger it by writing text and pressing "enter" on web mobile.

### Minimal reproduction project (MRP)

```gdscript
func _on_LineEdit_text_entered(new_text):
	OS.alert("OK")
```

_Production edit: formatted code_
Repository: rust
Issue: unused_crate_dependencies not working correctly with -Z build-std
Labels: A-diagnostics,T-compiler,L-unused_crate_dependencies

### Code

```Rust
git clone https://github.com/subspace/subspace
cd domains/client/relayer
cargo clippy --all-targets -Z build-std --target x86_64-unknown-linux-gnu
```


### Current output

```
error: external crate `alloc` unused in `domain_client_message_relayer`: remove the dependency or add `use alloc as _;`
  |
note: the lint level is defined here
 --> domains/client/relayer/src/lib.rs:2:9
  |
2 | #![deny(unused_crate_dependencies)]
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^

error: external crate `compiler_builtins` unused in `domain_client_message_relayer`: remove the dependency or add `use compiler_builtins as _;`

error: external crate `panic_unwind` unused in `domain_client_message_relayer`: remove the dependency or add `use panic_unwind as _;`

error: external crate `proc_macro` unused in `domain_client_message_relayer`: remove the dependency or add `use proc_macro as _;`

error: external crate `test` unused in `domain_client_message_relayer`: remove the dependency or add `use test as _;`

error: could not compile `domain-client-message-relayer` (lib test) due to 3 previous errors
```


### Desired output

There is no error unless `-Z build-std` is used, which is confusing


### Rationale and extra context

_No response_

### Other cases

_No response_

### Rust Version

Tested two versions with the same result:
```Shell
rustc 1.78.0-nightly (c475e2303 2024-02-28)
binary: rustc
commit-hash: c475e2303b551d726307c646181e0677af1e0069
commit-date: 2024-02-28
host: x86_64-unknown-linux-gnu
release: 1.78.0-nightly
LLVM version: 18.1.0

rustc 1.78.0-nightly (b6d2d841b 2024-03-05)
binary: rustc
commit-hash: b6d2d841bcf4b77343b159f134c7d39c2dd4ceaa
commit-date: 2024-03-05
host: x86_64-unknown-linux-gnu
release: 1.78.0-nightly
LLVM version: 18.1.0
```


### Anything else?

I do not see code mentioned in diagnostic in the crate, which adds to confusion.
Repository: svelte
Issue: `spring` performs differently on displays with different refresh rates
Labels: transition/animation

### Describe the bug

After creating an element with `spring` stores used for coordinates, testing the animation on different displays results in a noticeably different animation.

My animation on an m1 pro MacBook pro 120hz display:
https://github.com/sveltejs/svelte/assets/66829812/6eb6c1ba-8beb-46da-9fcb-81a950e02e54

The same animation on a 60hz external display:
https://github.com/sveltejs/svelte/assets/66829812/3f98b357-36b5-4aab-a6fe-04600c09d028

The same animation on the 60hz display resolves much slower.


### Reproduction

I found this REPL online, where the same behavior can be observed when testing on both a 60hz and a 160hz display
https://svelte.dev/repl/spring?version=4.2.12

### Logs

_No response_

### System Info

```shell
System:
    OS: macOS 14.3.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 142.45 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 18.13.0 - /usr/local/bin/node
    npm: 9.6.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 122.0.6261.112
    Safari: 17.3.1
```


### Severity

annoyance
Repository: pytorch
Issue: Automatic graph break bug reporter
Labels: feature,module: logging,triaged,oncall: pt2,module: dynamo

### 🐛 Describe the bug

As part of User Empathy Day, I attempted to torch.compile a model and I got a lot of graph breaks.

Ideally, we'd like users to report us when they run into graph breaks in their models. However, there actually can be a lot of graph breaks, and manually writing the bug reports one by one can be a pain. It would be nice to have an automatic reporter to reduce the workload for users to "do the right thing". This can be in lieu of telemetry (which we cannot do in OSS). The reporter can be responsible for finding duplicate bug reports and deduplicating them.

### Versions

main

cc @msaroufim @bdhirsh @anijain2305 @zou3519 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng
Repository: TypeScript
Issue: `satisfies` operator could not completely overshadow the existing contextual type
Labels: Suggestion,Needs Proposal

### 🔍 Search Terms

satisfies contextual type implicit any parameters

### ✅ Viability Checklist

- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change the runtime behavior of existing JavaScript code
- [X] This could be implemented without emitting different JS based on the types of the expressions
- [X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

It would be great if `satisfies` wouldn't completely disassociate the expression from the existing contextual type.

### 📃 Motivating Example

```ts
declare function fn<T extends Record<string, (arg: number) => void>>(
  obj: T,
): void;

// this works without problems
fn({
  foo: (a) => {},
  bar: (a) => {},
});

// but we can't add extra constraints through `satisfies` without breaking existing contextual  typing
fn({
  foo: (a) => {}, // Parameter 'a' implicitly has an 'any' type.(7006)
  bar: (a) => {}, // Parameter 'a' implicitly has an 'any' type.(7006)
} satisfies Record<"foo" | "bar", unknown>);
```

### 💻 Use Cases

1. What do you want to use this for?

It would be nice, at times, to add some extra constraints in places where the existing contextual type exists

2. What shortcomings exist with current approaches?

`satisfies` breaks existing contextual typing so things like contextual parameters "break". It requires us to type the parameters manually or to introduce identity functions with those extra constraints like below

3. What workarounds are you using in the meantime?

This is one of the possible workarounds:
```ts
declare function fn<T extends Record<string, (arg: number) => void>>(
  obj: T,
): void;

declare function identityConstraint<T extends Record<"foo" | "bar", unknown>>(
  arg: T,
): T;

fn(
  identityConstraint({
    foo: (a) => {},
    bar: (a) => {},
  }),
);
```

However, this has an unintended side-effect: excess property check doesn't apply to this object now.

--- 

A similar shortcoming related to `ThisType` and `satisfies` combination has been recently reported [here](https://github.com/microsoft/TypeScript/issues/57431).
Repository: next.js
Issue: Router cache not working after first invalidation
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://github.com/nobu-sh/next_js_14_caching_test

### To Reproduce

This is a re-open of https://github.com/vercel/next.js/issues/58723. It was supposedly fixed in PR https://github.com/vercel/next.js/pull/61573 which would have shown up in [v14.1.1-canary.64](https://github.com/vercel/next.js/releases/tag/v14.1.1-canary.64) but it is still very much an issue in [v14.1.3](https://github.com/vercel/next.js/releases/tag/v14.1.3). I updated the reproduction code to the latest release.

> I found an error with Router Cache. This app works fine initially: Server Component's RSC Payload stays cached on browser for the first five minutes (dynamic page). However, after 5 minutes, when first invalidation happens, it just never gets cached again and keeps fetching on every single navigation. If I refresh the page, the Router Cache becomes fine again until the next invalidation.

To run the app, please follow the commands below.
```
# start the node server first (which provides an example api endpoint of https://localhost:8001/
node server.js

# start the next.js web server
npm install
npm run build
npm run start
```

After the app is ready, please run the steps below.
1. First if you go to http://localhost:3000/, you will see the two values (`from client: some value` and `from server: some value`)
2. If you navigate between the `hello` page and the `home` page, you can see the Router Cache works perfectly, only caching the server component render.
3. Now leave it alone for 3ish minutes (invalidation time for dynamic route)
4. Come back and again navigate between `hello` page and `home` page.
5. Now both values change every time you navigate... This is not intended behavior.
6. If I refresh, it works again...

### Current vs. Expected behavior

Current Behavior: My app example's Router Cache caches server component's value until the first invalidation. After the first invalidation, server component re-rendered on every navigation.

Expected Behavior: Dynamic Page RSC Payload should re-cache after first navigation and not re-render every time.

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
Binaries:
  Node: 20.10.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.1.3
  eslint-config-next: 14.1.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.2
Next.js Config:
  output: N/A
```


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

App Router, Routing (next/router, next/navigation, next/link)

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

next dev (local), next start (local), Vercel (Deployed)

### Additional context

The original issue opener stated they tried on `14.0.3` so I assume its been an issue since at least then.
Repository: go
Issue: x/tools/gopls: "nil metadata for %q" panic in Snapshot.getPackageHandles (reported by telemetry)
Labels: NeedsInvestigation,gopls,Tools,gopls/telemetry-wins

This stack `j8z9tw` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2024-03-05.json):

[getPackageHandles.func1:+6](https://cs.opensource.google/go/x/tools/+/refs/tags/gopls/v0.15.1:gopls/internal/cache/check.go;l=872) is:
```go
			if mp == nil {
				panic(fmt.Sprintf("nil metadata for %q", id))
			}
```

```
crash/crash
runtime.gopanic:+69
golang.org/x/tools/gopls/internal/cache.(*Snapshot).getPackageHandles.func1:+6
golang.org/x/tools/gopls/internal/cache.(*Snapshot).getPackageHandles.func1:+23
golang.org/x/tools/gopls/internal/cache.(*Snapshot).getPackageHandles:+48
golang.org/x/tools/gopls/internal/cache.(*Snapshot).forEachPackage:+8
golang.org/x/tools/gopls/internal/cache.(*Snapshot).PackageDiagnostics:+28
golang.org/x/tools/gopls/internal/cache.(*Snapshot).orphanedFileDiagnostics:+31
golang.org/x/tools/gopls/internal/cache.(*Session).OrphanedFileDiagnostics:+50
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews:+54
golang.org/x/tools/gopls/internal/server.(*server).didModifyFiles.func2:+1
runtime.goexit:+0
```
```
golang.org/x/tools/gopls@v0.15.1 devel linux/amd64 coc.nvim (4)
```

Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks.
Repository: pytorch
Issue: Floating point exception on torch.lcm
Labels: module: crash,triaged

### 🐛 Describe the bug

Here is the code triggering this issue:

```
input = torch.tensor([-9223372036854775808], dtype=torch.int64)
other = torch.tensor(215, dtype=torch.uint8)
out = torch.lcm(input,other)
```
And the torch.lcm will throw a floating point exception error. 
I am guessing that this issue may be similar to https://github.com/pytorch/pytorch/pull/120624, where an undefined behavior occurs when calculating `INT64_MIN % -1`


### Versions

[pip3] numpy==1.25.2
[pip3] torch==2.2.1
[pip3] torchaudio==2.1.0+cu121
[pip3] torchdata==0.7.0
[pip3] torchsummary==1.5.1
[pip3] torchtext==0.16.0
[pip3] torchvision==0.16.0+cu121
[pip3] triton==2.1.0
[conda] Could not collect
Repository: ollama
Issue: Add ability to provide `options` in OpenAI compatibility endpoints
Labels: feature request,compatibility,api

It seems one can only set system prompt and hyperparameters like temperature as part of model config file.  I'm using the OpenAI API, and ollama ignores system prompt or such hyperparaemters.  AFAIK there's no good reason for this.

Am I missing something?