sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: FEATURE REQUEST : : PowerToys : Keyboard Manager : REQUEST ability to remap a Single Key (Esc) for example, to a specific App, and have that specific App use a Shortcut instead
Labels: Needs-Triage

### Description of the new feature / enhancement

1. I have multiple apps that I want consistent "Esc" function with.
2. I can not assign the "Esc" key to Remap for a Specific App && Remap that to a Shortcut for a Specific App.
3. It would be more helpful IF : : I could select a SPECIFIC APP to "Remap a Key" to a APP-SPECIFIC "Shortcut/Chord"
4. Example: Remap an app that uses the "Esc" Key to "Exit", but my OTHER Apps I have Remapped to the "ALT+ESC" Shortcut KEY COMBO, and I want ALL the Apps I use for that "Worflow" to use the SAME "KEY COMBO" to "Exit".... in this case, for example; "ALT+ESC". I CAN NOT DO THIS currently with PowerToys - Keyboard Manager.
5. Please EXTEND Keyboard Manager to allow 'Remap a Key' and 'Remap a Shortcut' to BLEND: NOT REQUIRE "SINGLE KEYS" _WITHOUT_ a "_Modifier Key_ at Beginning" to be "Remapped" as a "KEY+COMBO" ...and filter that Remap to work with a SPECIFIC APP as the 'Remap A Shortcut' works now. 

THIS WOULD BE EXTREMEMLY HELPFUL!!!

PS if there is a BETTER way to Accomplish what I want to do that you know of, please, suggest! This issue keeps Popping me out of a "Flow State" for various tasks...

### Scenario when this would be used?

Example: Remap an app that uses the "Esc" Key to "Exit", but my OTHER Apps I have Remapped to the "ALT+ESC" Shortcut KEY COMBO, and I want ALL the Apps I use for that "Worflow" to use the SAME "KEY COMBO" to "Exit".... in this case, for example; "ALT+ESC". I CAN NOT DO THIS currently with PowerToys - Keyboard Manager.

SCENARIO WHEN USED : ANY TIME I need 100% 'reliable' Muscle Memory for a grouping of tasks aka a "Specific Workflow" that do not ship with 100% IDENTICAL Events with 100% IDENTICAL Keycap KEY / KEY+COMBO Events....

### Supporting information

If my REQUEST is only as CLEAR AS MUD, (lol) Please reply with such, so I can attempt to clarify what I wish/need/am Requesting.

Thanks!
Repository: transformers
Issue: The _crop_past_key_values function should be a member function of Cache.
Labels: Feature request,Cache

### Feature request

The _crop_past_key_values function should be a member function of Cache.

### Motivation

I suppose all models will use Cache class instead of tuple to save past_key_values. It will make more sense to make [_crop_past_key_values](https://github.com/huggingface/transformers/blob/main/src/transformers/generation/candidate_generator.py#L375) as a member function of Cache.

### Your contribution

cc @gante @echarlaix
Repository: node
Issue: Please implement WebRTC fully in node.
Labels: feature request,web-standards

### What is the problem this feature will solve?

There are a hundred (mostly outdated) libraries for webrtc, but NONE is 100% compatible with webkit based browsers.
There is always something missing. to the point that some of them import a full headless browser.

IMHO, webrtc in node should be exactly as it is in browsers.


### What is the feature you are proposing to solve the problem?

Consistency.


### What alternatives have you considered?

All possible ones.
Repository: deno
Issue: Add a `serve` field to `deno.json` to specify the serve entry
Labels: suggestion

How about adding a new field `serve` to `deno.json` to specify the serve entry?

```diff
// deno.json
{
+	"serve": "source/app.ts"
}
```

After this users should be able to start the service directly by running `deno serve`.

This is more convenient than a `deno task serve`. We can also add `deno serve` optional support in `deno.json` like `deno fmt` does.

What do you think?
Repository: vscode
Issue: Exploration on how to improve the diff algorithm
Labels: feature-request,notebook-diff,exploration
Repository: rust
Issue: `rustdoc::broken_intra_doc_links` won't catch obvious invalid links
Labels: T-rustdoc,A-lints,C-feature-request,A-intra-doc-links

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

Lint `rustdoc::broken_intra_doc_links` warns by default, but it cannot catch obvious invalid links in the `fanotify` module of the Nix crate.

> See the section `Steps to reproduce` for how to reproduce this behavior.

I expected to see this happen: *explanation*

Invalid links will be caught

Instead, this happened: *explanation*

They are not caught

### 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`:
```
$ rustc --version --verbose
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
binary: rustc
commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23
commit-date: 2024-08-06
host: aarch64-apple-darwin
release: 1.80.1
LLVM version: 18.1.7
```

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary>Backtrace</summary>
<p>

```
no backtrace
```

</p>
</details>


#### Context:

Today I found some invalid links in the Nix crate, and fixed them in this PR https://github.com/nix-rust/nix/pull/2493, then I am surprised that they weren't caught by this lint


#### Steps to reproduce

```sh
$ git clone https://github.com/nix-rust/nix.git
$ cd nix
$ git reset --hard 82301035e4af3ca7903ba1abaf1955b2de61c8d5 # This is a commit where the invalid links exist
$ cargo doc --target x86_64-unknown-linux-gnu --all-features

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
   Generated /Users/steve/Documents/workspace/test/target/x86_64-unknown-linux-gnu/doc/nix/index.html
$ echo $?
0
```
Repository: godot
Issue: Editor crash while importing resources.
Labels: bug,topic:gdscript,crash

### Tested versions

Tested versions: 4.4.dev and 4.3 stable

### System information

Windows 10

### Issue description

Editor crash while importing assets for the first time, ie. `.godot` folder is created for first time.

Try to delete the `.godot` folder and open it in `4.2` then close and open again in `4.3` or `4.4` and it should work fine.

### Steps to reproduce

Open the minimal reproduction project and it will crash.

Maybe this is the issue. I have tested with another custom build after updating it to `4.4.dev`.

![image](https://github.com/user-attachments/assets/a911185c-27aa-4895-be3d-f0f41110008d)


### Minimal reproduction project (MRP)

[PixelDesigner.zip](https://github.com/user-attachments/files/16925427/PixelDesigner.zip)
Repository: vscode
Issue: Closing a terminal that was reopen in a new window doesn't dispose the terminal object
Labels: bug,confirmation-pending,terminal-process

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version:  1.93.0
- OS Version: Darwin arm64 or Windows 11

Steps to Reproduce:

1. Open a terminal through vscode API `vscode.window.createTerminal` and keep a reference to the terminal object. (In my use case I have a running task in the terminal that runs until terminal is close)
2. Move the terminal into a new Window. Close the terminal by closing the new window. The terminal will be moved to first vscode window. Closing this one again will show a terminate process dialog message.
3. The terminal being kept as object shows that the terminal still exist in the `vscode.window.terminals` and the exitCode is undefined. 

I would expect the terminal to be disposed or exit code to be updated.

Note: If I right click the Terminal in new window and choose the `Close` button the Terminal is disposed properly.
Repository: PowerToys
Issue: Viewing Issues
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.84.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

The UI Popup of Color Picker, File Renamer, File Resizer is now showing properly.

[SEE THE VIDEO](https://drive.google.com/file/d/1A31sbGvskMSYb-LZ7lHoFGtZtAW89ig9/view?usp=drive_link)

```[tasklist]
### Tasks
```
Repository: node
Issue: Add a new env var `UV_LOOP_ENABLE_IO_URING_SQPOLL`
Labels: libuv

libuv disables SQPOLL by default and leaves it to the user/admin to enable/disable. However, I believe it's currently not possible to do this in node.

We should add a check for a `UV_LOOP_ENABLE_IO_URING_SQPOLL` env flag and call `uv_loop_configure` with the libuv flag `UV_LOOP_ENABLE_IO_URING_SQPOLL`.

Refs: https://github.com/libuv/libuv/pull/4492
Repository: flutter
Issue: Integration driver will not show the correct result when testWidget has retries
Labels: a: tests,tool,framework,t: flutter driver,f: integration_test,has reproducible steps,P2,team-framework,triaged-framework,found in release: 3.24,found in release: 3.26

### Steps to reproduce

1. Include the test suite `group('', (){ ... }, retry: 2)`
2. run integration test via `flutter drive`
3. If the test failed once but succeed in retry
4. The overall result of test will NOT show `All tests passed.` with `exit(0)` 

### Expected results

When test case passed by retry, the result should not print the error and exit(0).

### Actual results

When test case passed by retry, the result will throw errors and exit(1)

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

![image](https://github.com/user-attachments/assets/686456b1-012c-4598-a254-0c5d59292614)


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.6.1 23G93 darwin-arm64, locale
    en-SG)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.2.0.1)
[✓] VS Code (version 1.92.2)
```

</details>
Repository: transformers
Issue: how can calculate the predict score of every pixel use mask2former swin-l model?
Labels: Feature request,Vision

### Feature request

I has download the mask2former swin-l model from huggingface website,
and use example code get segmentation map of image,
the example code is:
```python
import requests
import torch
from PIL import Image
from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation


# load Mask2Former fine-tuned on COCO panoptic segmentation
processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-large-coco-panoptic")
model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-large-coco-panoptic")

url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = Image.open(requests.get(url, stream=True).raw)
inputs = processor(images=image, return_tensors="pt")

with torch.no_grad():
    outputs = model(**inputs)

# model predicts class_queries_logits of shape `(batch_size, num_queries)`
# and masks_queries_logits of shape `(batch_size, num_queries, height, width)`
class_queries_logits = outputs.class_queries_logits
masks_queries_logits = outputs.masks_queries_logits

# you can pass them to processor for postprocessing
result = processor.post_process_panoptic_segmentation(outputs, target_sizes=[image.size[::-1]])[0]
# we refer to the demo notebooks for visualization (see "Resources" section in the Mask2Former docs)
predicted_panoptic_map = result["segmentation"]
```

the code can get the seg map, but not pred score of every pixel,
so how to add calculate code to get perd score of every pixel?



### Motivation

not motivation

### Your contribution

a littlecontribution
Repository: PowerToys
Issue: Chinese shows abnormality and has existed for a long time
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.84.0

### Installation method

Microsoft Store

### Running as admin

None

### Area(s) with issue?

General

### Steps to reproduce

Some functions, such as Aways On Top, PowerRename, you have done the translation of the Chinese name, but in the left menu, it is not used, but it is used in the function description, it is very strange, please optimize as soon as possible, and there are some names that do not have a Chinese name, please also name it, otherwise it will be very confusing to communicate with Chinese users
![企业微信截图_1725868928448](https://github.com/user-attachments/assets/d90a106a-4c97-48a6-a51b-c0a18ff90b07)
![企业微信截图_17258689532879](https://github.com/user-attachments/assets/9cda2a06-8501-41ca-8263-b352bfc7df11)


### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: rust
Issue: [BUG] `llvm-cov` warning `mismatched data` when impl const fn
Labels: A-LLVM,T-compiler,C-bug,A-code-coverage,S-has-mcve

# bug

`llvm-cov` warning `mismatched data` when impl const fn

## reproduce

https://github.com/loynoir/reproduce-rust-130139

```rs
pub use bar::Bar;

mod bar {
    pub struct Bar<T>(T);

    impl Bar<i32> {
        pub const unsafe fn from_unchecked(value: i32) -> Self {
            Bar(value)
        }

        pub const fn get(&self) -> i32 {
            self.0
        }
    }
}
```

## workaround

```rs
pub use bar::{Bar, bar_get_i32};

mod bar {
    pub struct Bar<T>(T);

    impl Bar<i32> {
        pub const unsafe fn from_unchecked(value: i32) -> Self {
            Bar(value)
        }

        pub fn get(&self) -> i32 {
            self.0
        }
    }

    pub fn bar_get_i32(bar: &Bar<i32>) -> i32 {
        bar.0
    }
}
```

## related

`llvm-cov` warning `mismatched data` when double slash comment above `use`

https://github.com/rust-lang/rust/issues/130065

`llvm-cov` warning `mismatched data` when triple slash safety comment above `unsafe fn`

https://github.com/rust-lang/rust/issues/130097
Repository: ollama
Issue: Support tool/tool call ids when multiple tool calls are requested.
Labels: bug,api

### What is the issue?

When multiple tools are provided it is often the case that Olllama will respond with multiple `tool_calls` to be made. In that case, I am guessing we are expected to answer with as many `{'role': 'tool', 'content': '...'}` messages.
How can then one specify which of these messages corresponds to which tool call? I *think* OpenAI provides some id to each of the tool calls that the responses are supposed to use. 

### OS

macOS

### GPU

Apple

### CPU

Apple

### Ollama version

0.3.9
Repository: kubernetes
Issue: Coding for testcase of function in secret
Labels: sig/storage,lifecycle/rotten,needs-triage

I would like to know whether it is necessary to write the testcode for the various function from secret.go as many of the function is not having the testcase in secret_test.go I would like to know from the community whether we can proceed ahead for writing the testcase of the function. some example are totalsecretbytes function etc. I think writing test for every function is important and useful . Sometimes i come to know from community after my work that this test and this modification is not necessary or it cannot harm the working of it.

If i can write testcase for every function declared in specific file example secret.go  After community confirmation i would like to work on this issue.

Special request from community. Please don't raise the PR until community confirm on working on it.
Repository: ui
Issue: [bug]: Unable to install on Laravel 11.x
Labels: bug

### Describe the bug

Cannot Install shadcn-ui on Laravel Inertia React while using Javascript .jsx 
✔ Preflight checks.
✔ Verifying framework. Found Laravel.
✔ Validating Tailwind CSS.
✖ Validating import alias.

No import alias found in your tsconfig.json file.
Visit https://ui.shadcn.com/docs/installation/laravel to learn how to set an import alias.

### Affected component/components

npx shadcn@latest init

### How to reproduce

npx shadcn@latest init

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Windows 10 x64
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: puppeteer
Issue: [Feature]: Disable Network.enable
Labels: feature,confirmed,P3

### Feature description

If I understand correctly, puppeteer sends the `Network.enable` message to chrome pages, always, and as such receives all HTTP request metadata (this is done roughly through `cdp/Page`, `cdp/FrameManager`, `cdp/NetworkManager`).

For a performance sensitive test setup, it would be nice of we can disable the network manager by default, is there a way to do or adjust puppeteer to do so?
Repository: vscode
Issue: Editor - ghost text hover toolbar not vertically aligned
Labels: bug,inline-completions

![Image](https://github.com/user-attachments/assets/ea35d8a7-b551-4011-9acd-f5f85f4ae4fd)
Repository: terminal
Issue: Please update building documentation
Labels: Issue-Docs,Area-Build,Product-Meta

We followed the building section of README.md and doc/building.md to build the terminal, and found several uncleared guidance.

Following the guidance, we expect:

1. git submodule command initialize 3rd party codebase
2. OpenConsole.sln restore successfully when launching the CascadiaPackage with the documented setup

While the actual behavior is:

1. .gitmodule present nowhere, thus the git command does nothing
2. Several nuget error with "Unable to find", such as   
```
NU1101	Unable to find package Microsoft.AspNetCore.App.Ref. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, TerminalDependencies	TerminalStress	G:\GithubRepos\terminal\src\tools\TerminalStress\TerminalStress.csproj	1		
NU1101	Unable to find package Microsoft.NETCore.App.Ref. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, TerminalDependencies	TerminalStress	G:\GithubRepos\terminal\src\tools\TerminalStress\TerminalStress.csproj	1		
NU1101	Unable to find package Microsoft.WindowsDesktop.App.Ref. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, TerminalDependencies	TerminalStress	G:\GithubRepos\terminal\src\tools\TerminalStress\TerminalStress.csproj	1		
```
3. Several nuget restore error with site pkgs.dev.azure.com/shine-oss, reason is 401, Unauthorized

Please update the building documentation
Repository: PowerToys
Issue: Freezer icons on the Windows Desktop
Labels: Needs-Triage

### Description of the new feature / enhancement

hi, 
I work on a laptop, sometimes on the move with just the PC screen, sometimes with an additional monitor, and most often in the office with 3 other screens. I would like to be able to "freeze" on the Windows Desktop the icon shortcuts of my folders and documents in the place where I assign them, so that they do not change location all the time. The ideal would be to be able to freeze them as a whole: File A; folder B, folder C... Thank you in advance.

### Scenario when this would be used?

We waste a lot of time when we go from one environment to another to find our folders and icons. The objective is to gain efficiency and productivity.

### Supporting information

_No response_
Repository: next.js
Issue: Nextjs includes all client components in the bundle when at least one client component is rendered from a server component (app-folder)
Labels: bug,SWC,Webpack,linear: next

### Link to the code that reproduces this issue

https://github.com/EvgeniyKorshun/nextjs-includes-client-code-for-all-pages

### To Reproduce

1. Start the app in prod mode (npm run build && npm run start);
2. Open http://localhost:3000;
3. Check the Source of the page.

### Current vs. Expected behavior

**Current behavior:**
Next.js includes ClientComponent2 in the bundle, even though ServerComponent2 is not used on the current page.

**Expected behavior:**
Only ClientComponent1 should be included in the bundle.

<img width="955" alt="image" src="https://github.com/user-attachments/assets/a92ca925-33a9-45f9-a133-6e9eb63d8baf">


### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 20.13.1
  npm: 10.5.2
  Yarn: 1.22.18
  pnpm: 9.5.0
Relevant Packages:
  next: 15.0.0-canary.146 // Latest available version is detected (15.0.0-canary.146).
  eslint-config-next: N/A
  react: 19.0.0-rc-7771d3a7-20240827
  react-dom: 19.0.0-rc-7771d3a7-20240827
  typescript: N/A
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

SWC, Webpack

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local)

### Additional context

We are currently using the latest stable version of Next.js and it appears that it includes all client components in the bundle when at least one client component is rendered from a server component. (the same issue reproduced for latest canary version)

In our project we have a JAMStack architecture, it has a single catch-all route [[...slug]] that handles dynamic page generation by pulling content from a CMS. There is a file that imports multiple components in the following format (these components are not marked with use-client, and we have tried various import strategies, including conditional import, dynamic import, and lazy loading, but without any success):
```
const HeaderSection = dynamic(() => import('./components/HeaderSection'));
const TextSection = dynamic(() => import('./components/TextSection'));
const VideoSection = dynamic(() => import('./components/VideoSection'));
const TestSection = dynamic(() => import('./components/TestSection'));

const Components = {
  HeaderSection,
  TextSection,
  VideoSection,
  TestSection,
};

export const getComponent = (key) => Components[key]
```

Even when rendering a simple test page that only contains a basic block with no additional content, the entire bundle still includes all the use-client components from these sections. As a result, the page size grows excessively, often exceeding 1 MB.