sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Remapping ,(Num) from German Keyboard to .(Num) not possible
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.82.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

1. Have german keyboard
![Numeric_keypad_of_a_German_keyboard_(about_2020)](https://github.com/user-attachments/assets/48b4a7bb-ad12-4b9e-a747-02c4245e0c59)
2. Run into problem with programs like Unreal Engine (Typing in Values **with Numpad**, seperating fraction with ,(Num) does not work and resets the value to what it was before)
3. Try rebinding ,(Num) to .(Num) via PowerToys _[Edit: simply binding to . does give the issue that programs like Blender have different shortcuts associated with . / .(Num)]_
![PowerToysPressingCommaOnNum](https://github.com/user-attachments/assets/6281039f-058b-4b16-86f9-c45530924f0c)
4. Realize PowerToys takes ,(Num) from german keyboard as .(Num) -> Not being able to rebind
5. Check every related Setting and tip
![Screenshot 2024-07-16 144816](https://github.com/user-attachments/assets/7e5f86c4-7baa-4bba-ac5a-56681bae624d)
6. Find out none of them works
7. Be sad

### ✔️ Expected Behavior

I'd expect PowerToys to get the same keyboard input as I set up in the windows settings (German QWERTZ).
Meaning I'd get ,(Num) (which currently isn't listed) when pressing the ,(Num) Key. 
That would then enable me to rebind it to .(Num).

(The only solutions currently would be to install another software doing very similar things **or** change the whole Keyboardlayout to English, which would change the layout from QWERTZ to QWERTY. 
Since Blender has a lot of shortcuts on the comma, period etc. that would mean I'd have to reteach my muscle memory.)

### ❌ Actual Behavior

PowerToys doesn't recognize the Input being ,(Num) and there's no ,(Num) in the list either. 
Trying to rebind .(Num) to .(Num) in the hope that for some reason it'd recognize ,(Num) input as .(Num) input and that it would resample the output to .(Num) does not work since you can't bind a key to the same key. 

### Other Software

_No response_
Repository: node
Issue: test_runner: do not read from `process.argv` and `process.cwd()` in run()
Labels: good first issue,test_runner

Currently the codebase for https://github.com/nodejs/node/blob/362afa52ebe462a39874915e5e70d261db153c58/lib/internal/test_runner/runner.js#L472 accesses some poperties of `process`, capturing some options there. However, we also expose `run()` to the end users, therefore we should capture all this information in https://github.com/nodejs/node/blob/362afa52ebe462a39874915e5e70d261db153c58/lib/internal/main/test_runner.js#L68 and pass it down to `run()` as options.
Repository: deno
Issue: bug(net): http2 protocol error since deno 1.45
Labels: needs info

Version: Deno 1.45.x

## Description

Getting HTTP2 error due to broken body in a **deno fresh** project.
No log or errors are visible through deno process.
No problem before deno@1.45.0 not included.

## To reproduce

Seen on this project https://git.cohabit.fr/cohabit/website

### Requirements

To run without https self-signed, comment:
 - `server` key in `./dev.ts`
 - `useSecurityHeaders` and `useCSP` in `./routes/_middleware.ts`
 Or:
```sh
cd ./cert
mkcert -install
mkcert -ecdsa localhost
```
### Cmd

```sh
git clone https://git.cohabit.fr/cohabit/website
cd website
deno task start
```

## Logs

### Log in chrome
`GET http://localhost:8000/ net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)`
`Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR`

### From repl
```ts
Deno 1.45.1
exit using ctrl+d, ctrl+c, or close()
> await fetch('http://localhost:8000')
Response {
  body: ReadableStream { locked: false },
  bodyUsed: false,
  headers: Headers {
    "content-type": "text/plain; charset=utf-8",
    date: "Tue, 16 Jul 2024 13:40:26 GMT",
    "set-cookie": "__Host-CSRF=77e2a74a-ab23-4de3-a895-18d29799c5e1; Secure; SameSite=Strict; Path=/; Expires=Tue, 16 Jul 2024 14:10:26 GMT",
    "transfer-encoding": "chunked",
    vary: "Accept-Encoding"
  },
  ok: true,
  redirected: false,
  status: 200,
  statusText: "OK",
  url: "http://localhost:8000/"
}
> await fetch('http://localhost:8000').then(r => r.text())
Uncaught TypeError: error decoding response body
    at async readableStreamCollectIntoUint8Array (ext:deno_web/06_streams.js:1065:19)
    at async consumeBody (ext:deno_fetch/22_body.js:241:9)
    at async <anonymous>:1:22
> await fetch('http://localhost:8000').then(r => r.bytes())
Uncaught TypeError: error decoding response body
    at async readableStreamCollectIntoUint8Array (ext:deno_web/06_streams.js:1065:19)
    at async consumeBody (ext:deno_fetch/22_body.js:241:9)
    at async <anonymous>:1:22
>
```
Repository: ollama
Issue: Avoid blocking requests to already loaded models while loading another model
Labels: bug

### What is the issue?

I have noticed that when GPU VRAM gets near-full, but ollama has decided to load 2 models into VRAM, incoming requests to one model simply stall until the other model pops out of memory. This is most noticeable with an embedding model plus a larger model that takes up most of my 16 GB of VRAM. When the embedding model goes out of VRAM, the request to the other model processes immediately. So it's pretty clear that ollama is queueing up the request, but it seems like some tweaks need to be made to the algorithm for dispatching the requests in concurrent scenarios, or the logic for deciding to load multiple models into VRAM.

### OS

Linux

### GPU

AMD

### CPU

AMD

### Ollama version

0.2.5
Repository: electron
Issue: [Feature Request]: Implement focusable in WebContentsView/View
Labels: enhancement :sparkles:,component/WebContentsView

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

Currently there is no way to embed two `WebContentsView` in a single window that would not steal focus from each other. A simple use case is an embedded virtual keyboard or any sort of overlay buttons etc. that should not steal focus from the original web view.

### Proposed Solution

Implement `focusable` on `WebContentsView` or `View` the same way it is on `BaseWindow`. If `false`, clicking inside the view would not cause currently focused view to lose focus, but click events would still be received by the overlayed view.

### Alternatives Considered

My first workaround was to refocus the main view as soon as my overlay view gains focus:
```js
overlayView.webContents.on('focus', () => setTimeout(() => mainView.webContents.focus(), 0));
```
But this causes weird behaviors due to frequent blurring & focusing of input events and interferes with any site that relies on focus events.

Another approach is to create a separate `BrowserWindow` with `focusable: false`, which works but this has other problems: window is separate and not positioned relatively to the main window. While clumsy manual positioning might work it will fail on platforms like e.g. Wayland which prohibit windows from setting their position on the screen.

### Additional Information

_No response_
Repository: vscode
Issue: Window freezes when attempting to delete text from ~8500 cursors
Labels: feature-request,editor-core,performance

Repro:

1. Open: https://github.com/microsoft/vscode/blob/034378514e5a65348c0d5142f0a86fb8d1209db4/src/vs/workbench/contrib/terminalContrib/suggest/test/browser/recordings/windows11_pwsh_getcontent_file.ts
2. Select `\"CompletionText\":`
3. Ctrl+shift+d 💥 

![image](https://github.com/user-attachments/assets/d2c9354b-d2af-451b-976c-47d296505479)
Repository: vscode
Issue: Issue Reporter: Repository link issues
Labels: bug,issue-reporter

- When I open the issue reporter using inline chat (`Report Issue`) and press on the repository link at the bottom of the page, the repository website opens 3 times. It seems that the event listener is being added to the `issueRepoName` DOM element multiple times as it is registered inside an update method.

- When I open the issue reporter using the menu at the top and select an extension, the link to the repository is not created
Repository: vscode
Issue: When replacing text in a large enough file, the old selection is incorrectly preserved
Labels: bug,editor-find

Repro:

1. Open https://github.com/microsoft/vscode/blob/739f145f893d090d0a6f48ac457cd27cdf674c89/src/vs/workbench/contrib/terminalContrib/suggest/test/browser/recordings/windows11_pwsh_input_ls_complete_ls.ts
2. Select `\"ResultType\":`
3. Ctrl+h
4. Replace all, 🐛 the old selection is retained but it's not valid anymore as the original text was removed

![Recording 2024-07-16 at 08 30 19 (1)](https://github.com/user-attachments/assets/3579a6ff-cf29-4163-916f-e2fc249996c2)
Repository: ollama
Issue: Mistral Codestral Mamba 7B
Labels: model request

https://mistral.ai/news/codestral-mamba/

The latest model from Mistral utilizes the Mamba architecture (vs. Transformers) and targets code generation with strong performance on the leaderboards.
Repository: vscode
Issue: Window freeze when finding regex
Labels: editor-find,under-discussion

Repro:

1. Open https://github.com/microsoft/vscode/blob/739f145f893d090d0a6f48ac457cd27cdf674c89/src/vs/workbench/contrib/terminalContrib/suggest/test/browser/recordings/windows11_pwsh_input_ls_complete_ls.ts
2. Ctrl+f
3. Alt+r (regex mode)
4. Type `\[.+,.+,.+,\`
5. Type `]` 💥 frozen window

![image](https://github.com/user-attachments/assets/6120080c-f863-4873-b96c-3a1b80741674)
Repository: PowerToys
Issue: Quick Accent conficts with Keyboard Manager remaps
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.82

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager, Quick Accent

### Steps to reproduce

On Keyboard Manager swap backspace and any other key. Say for example swap `/` and backspace. Then activate quick accent and try to use any accent.

### ✔️ Expected Behavior

When trying to type, for example á, I will first get an unaccented a, then select the accented version á. This should delete the unaccented a and leave only the accented one.

### ❌ Actual Behavior

It tries to delete the unaccented key using the hardware backspace key instead of the rebound one. So in this example it inputs a `/` instead of a backspace and I end up with `a/á`.

### Other Software

_No response_
Repository: kubernetes
Issue: CRD validation rule: escape would overwrite the field whose name is in escape format
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

In [CRD validation rules](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules), there are a list of [CEL reserved keywords](https://github.com/google/cel-spec/blob/v0.6.0/doc/langdef.md#syntax) which are applied by escaping rules.
e.g. for CRD schema:
```yaml
spec:
  ref:
    name: myName
    namespace: myNamespace 
```
since `namespace` is a reserved keyword, use `__namespace__` inside the cel expression to respect the escaping rule like `self.ref.__namespace__ != ""`.
But if there is already a field name conflict with the escaped format, it will be overwritten. 
e.g. for crd schema
```yaml
spec:
  ref:
    name: myName
    namespace: myNamespace 
    __namespace__: 10
```
The fieldName `__namespace__`  will be overwritten hence the value of  `__namespace__` will be lost.

### What did you expect to happen?

The value of any fieldName should not be lost.

### How can we reproduce it (as minimally and precisely as possible)?

Write CRD schema with any reserved keyword and escaped format of that keyword together, use it in validation rule.

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
# paste output here
```

</details>


### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: godot
Issue: Wayland - US intl. keyboard layout incompatible with Godot
Labels: bug,platform:linuxbsd,topic:porting,topic:input

### Tested versions

v4.3.beta3.official [82cedc83c]

### System information

Godot v4.3.beta3 - Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7900 XTX (RADV NAVI31) - AMD Ryzen 9 7950X 16-Core Processor (32 Threads)

### Issue description

Using us keyboard layout English (US, intl., with dead keys), neither single nor double quotes seem to work. This works OK when not using Wayland.

First half of the video is Godot working as intended with Wayland turned off. Second half (when typing `hello`) is with Wayland enabled, where `'` nor `"` were registered:

https://github.com/user-attachments/assets/2174281b-6052-41c3-8c5c-eb39b3b0afef



### Steps to reproduce

Enable Wayland preference on Godot, while using the keyboard layout specified above.

### Minimal reproduction project (MRP)

Not needed, as an empty project presents the same issue.
Repository: pytorch
Issue: Where does torch check for autocast op availability?
Labels: module: docs,triaged,module: amp (automated mixed precision)

### 📚 The doc issue

https://pytorch.org/docs/stable/amp.html#cuda-op-specific-behavior says torch autocast only runs on the ops listed there. I'm reading https://github.com/pytorch/pytorch/blob/main/torch/amp/autocast_mode.py and it seems like eligible tensors are always cast to to the autocast dtype in an autocast region, without checking whether the op is supported or not. Where does torch check for autocast support? Does this happen internally in each op itself? If so, if the input is always cast to the lower dtype then won't the results be numerically different? I.e. `mm(x.half().float(), y.half().float())` != `mm(x.float(), y.float())` 

### Suggest a potential alternative/fix

A link to where the op checking happens.

cc @svekars @brycebortree @mcarilli @ptrblck @leslie-fang-intel @jgong5
Repository: godot
Issue: Bug: Create Folder in Godot Android 
Labels: bug,platform:android,topic:editor

### Tested versions

-Reproducible in: Godot Android v4.2.2.stable
- Unable to check previous versions because it is early access and unable to download previous versions

### System information

Android - Godot 4.2.2stable - (forward, mobile, compatibility)

### Issue description

Whenever you select the browse option and then click on "Create Folder" option, and instead of writing the name click back, this should result in cancelling the naming process, but this process freezes the game

### Steps to reproduce

Create a new project, select browse in "Project Path", click on "Create Folder", after that, click back or touch somewhere on the screen except the keypad, the game will freeze. This doesn't only work in creating new project, but also in saving a scene, node, etc. Everywhere we have the "Create Folder" option after selecting browse 

### Minimal reproduction project (MRP)

N/A
Repository: flutter
Issue: Clean up engine artifact archive generation
Labels: engine,team-infra,P2,c: tech-debt,triaged-infra

Currently, [build/archives/BUILD.gn](https://github.com/flutter/engine/blob/main/build/archives/BUILD.gn) in the engine includes many rules for building zip archives that _appear_ to be used to generate archives for upload to cloud storage, which the tool then later pulls down. For example `:archive_gen_snapshot` generates a zip file containing `gen_snapshot_${target_arch}`.

However, the archives used by the tool are produced by the rules in [ci/builders/mac_host_engine.json](https://github.com/flutter/engine/blob/dcf2bc11dce9458bdb68347e03d90e282b3eefbc/ci/builders/mac_host_engine.json#L555-L593) recipe file in the engine, which assemble the zip files from multiple builds. Interestingly, one of the targets relied on during the builds from which the archives are assembled is the [flutter/build/archives:archive_gen_snapshot](https://github.com/flutter/engine/blob/dcf2bc11dce9458bdb68347e03d90e282b3eefbc/ci/builders/mac_host_engine.json#L45) rule, presumably because it generates the correct `gen_snapshot` binaries prior to producing `gen_snapshot.zip` (which presumably is then ignored).

We should eliminate the archive targets from `build/archives/BUILD.gn` and instead update the build targets to point at the underlying deps that actually generate the binaries that we later archive. At a minimum, these targets should be annotated with comments to avoid future build archaeologists going down the same rabbit hole that @christopherfujino and I just did.
Repository: vscode
Issue: [wsl] Use curl instead of wget to download VS Code server
Labels: feature-request,WSL

I use wcurl/curl and not wget, but VS Code requires I keep wget installed to install the VS Code server. I suspect curl is more widely installed than wget, so if it could use curl instead that would be nice.
Repository: next.js
Issue: Localized Sitemap Does Not Work
Labels: bug,Internationalization (i18n)

### Link to the code that reproduces this issue

https://github.com/Barzi-Ahmed/my-app

### To Reproduce

1. Start application with pnpm run dev or pnpm run dev --turbo (issue is present in both).
2. In the URL of the browser, go to sitemap.xml page by writing /sitemap.xml


STORY:
When creating sitemap.ts and using [this same code from docs](https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap#generate-a-localized-sitemap), this is the result I get:
![image](https://github.com/user-attachments/assets/a2dc8325-f356-4b43-b53e-9868b6e23102)

I have searched through GitHub issues and found https://github.com/vercel/next.js/issues/63764, and there it is mentioned that you should use Next 14.2, but I already use the latest version of Next.js (details below), and this means it is still not fixed.

### Current vs. Expected behavior

Obviously the mentioned sitemap sample doesn't render correctly at all as a normal XML page. 

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 8043
  Available CPU cores: 8
Binaries:
  Node: 20.15.1
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.5 // Latest available version is detected (14.2.5).
  eslint-config-next: 14.2.5
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.5.3
Next.js Config:
  output: N/A
```


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

Internationalization (i18n)

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

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

### Additional context

I use Chrome Version 126.0.6478.127 (Official Build) (64-bit)
Repository: flutter
Issue: [DisplayList] DrawPath does not recognize or optimize rects, ovals, or rrects
Labels: engine,P2,e: impeller,team-engine,triaged-engine

Impeller will check the path to see if it is a common shape and optimize the rendering of it, but that operation could be done at a higher level inside the DisplayListBuilder object as the path is recorded.
Repository: angular
Issue: Missing documentation/files about ng-add schematic for libraries
Labels: P3,area: docs

### Describe the problem that you experienced

The section [Creating a schematics collection](https://angular.dev/tools/cli/schematics-for-libraries#creating-a-schematics-collection) mentions on the `collection.json` file `"schema": "./ng-add/schema.json" `but this file is not described on the documentation anywhere.

The same also happens on the [Providing installation support](https://angular.dev/tools/cli/schematics-for-libraries#providing-installation-support) section, line #3 says `import {Schema} from './schema';` but the `schema.ts` file is also never described.

On the other hand, down below on the section [Providing generation support](https://angular.dev/tools/cli/schematics-for-libraries#providing-generation-support), both files are described correctly for the generation context on the `command ng generate my-lib:my-service`.



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

https://angular.dev/tools/cli/schematics-for-libraries#creating-a-schematics-collection

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

The documentation should describe all files, schema.ts and the schema.json.

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

Trying to build a library with custom ng-add schematic.

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

_No response_

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

![image](https://github.com/user-attachments/assets/3d768565-9ea5-4232-b8d1-0b21e30ba218)
![image](https://github.com/user-attachments/assets/fcd8e11a-9fe1-43de-ab88-3535cf1e48ed)


### 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: PowerToys
Issue: Exception when switching from other computer on KVM
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.82.0

### Installation method

GitHub, PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Switch KVM away from desktop. Several hours later, switch back to the desktop.
[2024-07-16.txt](https://github.com/user-attachments/files/16256159/2024-07-16.txt)


### ✔️ Expected Behavior

Nothing from PowerToys.

### ❌ Actual Behavior

"PowerToys Run ran into an issue" bug dialog.

### Other Software

_No response_
Repository: ant-design
Issue: HappyDom vitest tests fail on Modal visibility
Labels: help wanted,Inactive,🚌 External Dependency

### Reproduction link

[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/vitejs-vite-5t6bgf?file=src%2F__test__%2Fhappy_dom.spec.tsx)

### Steps to reproduce

Execute `npm run test`

### What is expected?

Both tests should pass.

### What is actually happening?

HappyDom environment test fails.

| Environment | Info |
| --- | --- |
| antd | 5.19.0 |
| React | 17.0.2 |
| System | macOS Sonoma 14.5 |
| Browser | Google Chrome Version 126.0.6478.127 (Official Build) (arm64) |

---
It would be good to have it running in happy dom as well.

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: flutter
Issue: DropdownMenu up/down arrow keys don't work right when enableSearch is disabled
Labels: f: material design,a: accessibility,f: focus,P2,team-design,triaged-design

When `enableSearch` is false on a DropdownMenu, the down arrow and up arrow keys cycle between three states but don't let you actually step through the menu.

This essentially makes the widget useless for keyboard navigation.

(Testing on main, 3.24.0-1.0.pre.104, on macOS 14.2.1 23C71 darwin-arm64.)