sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: deno
Issue: Unexpected backend Vulkan
Labels: bug,needs info,webgpu

Hi there,

I'm trying to use deno as an environment to run tests that require a GPU device. However, I'm running into the following error whenever I try to run them. The command I'm using is
```
DENO_DISABLE_PEDANTIC_NODE_WARNINGS=1 RUST_BACKTRACE=full deno test **/*.gpu-test.ts --unstable-webgpu --unstable-sloppy-imports
```
and the output is
```
$ DENO_DISABLE_PEDANTIC_NODE_WARNINGS=1 RUST_BACKTRACE=full deno test **/*.gpu-test.ts --unstable-webgpu --unstable-sloppy-imports
running 1 test from ./packages/engine/src/pipelines/__tests__/selection-pipeline.gpu-test.ts
makeSelectionPipeline ...
  exists and its id = "selection" ...
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: macos aarch64
Version: 1.45.2
Args: ["deno", "test", "**/*.gpu-test.ts", "--unstable-webgpu", "--unstable-sloppy-imports"]

thread 'tokio-runtime-worker' panicked at ext/webgpu/lib.rs:452:5:
Unexpected backend Vulkan
stack backtrace:
   0:        0x105e7af68 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7fda799bfa435f0f
   1:        0x1050e8a18 - core::fmt::write::h149c43f8c649a127
   2:        0x105e697ec - std::io::Write::write_fmt::hc658f220ee6401ee
   3:        0x105e7adc4 - std::sys_common::backtrace::print::hd320cb51e23d85e7
   4:        0x105e7615c - std::panicking::default_hook::{{closure}}::h2a019217d59e304e
   5:        0x105e75e30 - std::panicking::default_hook::h7115745ac0da2b42
   6:        0x1050524fc - deno::setup_panic_hook::{{closure}}::h07df5a82c6247caf
   7:        0x105e76e64 - std::panicking::rust_panic_with_hook::hcaae50c6a8446a46
   8:        0x105e7b2dc - std::panicking::begin_panic_handler::{{closure}}::h3511e01278c0eee1
   9:        0x105e7b244 - std::sys_common::backtrace::__rust_end_short_backtrace::hb40ac48f98b88c7f
  10:        0x105e76850 - _rust_begin_unwind
  11:        0x1050ef0e0 - core::panicking::panic_fmt::hd81673e1b116ffee
  12:        0x105b1ca04 - deno_webgpu::op_webgpu_request_adapter::op_webgpu_request_adapter::v8_fn_ptr_metrics::h4854d9cc28136acb
error: script "gputest" exited with code 1
```
It is only reliably reproducible on my machine, others I am working with have not had the same issue.

We have exactly one test file that we're trying to run so far, but I don't think it's even getting as far as really trying to run it. If it's useful I can copy in the source code for the test.

Could use some help as I'm pretty stumped!
Repository: vscode
Issue: `when` condition set to `false` upon configuring keybinding
Labels: bug,keybindings,keybindings-editor

As soon as I put in `F12` as keybinding for toggle devtools, its `when` condition changes to `false`:

![Image](https://github.com/user-attachments/assets/ff74d0f0-89d3-4df3-8583-73991e9673f0)
Repository: react
Issue: [DevTools Bug] Cannot remove node "366" because no matching node was found in the Store.
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

http://localhost:3000/welcome

### Repro steps

### I created token for user authentication and pass into context so that user can reuse that token to call an API 
when i logout or login on my localhost i see this error 

**STEP 1 Create a token** 
export const executeBasicAuthenticationService
    = (token) => apiClient.get(`/basicauth`,{
        headers: {
            Authorization: token
        }
    })

**STEP-2 Pass into context**

async function login(username, password) {



  const baToken = 'Basic ' + window.btoa( username + ":" + password )
  
  try{

  
  const response = await executeBasicAuthenticationService(baToken)
  
  if(response.status==200){
        setAuthenticated(true)
        setUsername(username)
        settoken(baToken)
         return true
       
    } else {
       logout()
        return false
      
     }
}  catch(error){
  logout()
  return false
}

 }

function logout(){
setAuthenticated(false)
settoken(null)
setUsername(null)
}

    return (
  <AuthContext.Provider value={ {isAuthenticated,setAuthenticated,login,logout,username,token} }>

    {children}
  </AuthContext.Provider>


    )
}

    

### How often does this bug happen?

Every time

### DevTools package (automated)

react-devtools-extensions

### DevTools version (automated)

5.3.1-ccb20cb88b

### Error message (automated)

Cannot remove node "366" because no matching node was found in the Store.

### Error call stack (automated)

```text
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1174132
    at v.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1141877)
    at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1143565
    at bridgeListener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1551564)
```


### Error component stack (automated)

_No response_

### GitHub query string (automated)

```text
https://api.github.com/search/issues?q=Cannot remove node  because no matching node was found in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react
```
Repository: PowerToys
Issue: Does NOT work on Powerpoint: (left) Alt + A -> (left) Ctrl + A
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Priority-2,Status-Reproducible

### Microsoft PowerToys version

0.83.0

### Installation method

Microsoft Store, Other (please specify in "Steps to Reproduce")

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

1. Set remap of combination keys as
left Alt + A -> left Ctrl + A
2. Open Microsoft PowerPoint and type the key: left Alt + A
3. It triggers original Alt- commands 

### ✔️ Expected Behavior

(left) Ctrl + A should be executed.

### ❌ Actual Behavior

(left) Alt + A is executed, and the "Animation" tab is highlighted.

### Other Software

_No response_
Repository: rust
Issue: unstable error message order
Labels: A-diagnostics,T-compiler,C-bug,A-query-system,D-diagnostic-infra

In https://github.com/rust-lang/rust/pull/125558 we ran into inconsistent ordering of error messages between CI and our local machines. 

Our fix was to re-order the top-level definitions, so that `global_asm!` comes before a function containing inline `asm!`.

Here the first commit failed on CI, the second one works. The only change is ordering of top-level definitions: https://github.com/rust-lang/rust/commit/08c8887ed1a96a67406972d9e99afde14acbce3e .. https://github.com/rust-lang/rust/commit/8fd7cc91ec4ef33d2caecfff44318fa15e31cf43

[gist containing source files](https://gist.github.com/folkertdev/ac3e3b00fae68412419e4b728825b9bc) because idk how long force pushes are kept

@oli-obk had this theory

> It's probably some code iterating over a hashmap and invoking queries as it does. Should be fairly easy to find as it must be in thr backtrace of the error (you can get that with -Ztreat-err-as-bug=index_of_the_error_in_the_output)
Repository: pytorch
Issue: Non-equivalent behaviour of deprecated set_default_tensor_type and set_default_dtype/set_default_device
Labels: triaged,topic: deprecation,module: python frontend

### 🐛 Describe the bug

I'm running into future warnings when calling ```torch.set_default_tensor_type(torch.cuda.FloatTensor)```:

```bash
/usr/local/lib/python3.10/dist-packages/torch/__init__.py:747: UserWarning: torch.set_default_tensor_type() is deprecated as of PyTorch 2.1, please use torch.set_default_dtype() and torch.set_default_device() as alternatives. (Triggered internally at /opt/pytorch/pytorch/torch/csrc/tensor/python_tensor.cpp:431.)
```

However, it seems that the suggested alternatives (set_default_dtype and set_default_device) are not equivalent, particularly for constructors like ```torch.Tensor```:

```bash
>>> import torch
>>> torch.set_default_dtype(torch.float32)
>>> torch.set_default_device("cuda")
>>> print(torch.randn(4).device)    # THIS WORKS
cuda:0
>>> print(torch.Tensor([1, 2, 3, 4]).device)   # THIS DOES NOT WORK
cpu
>>> torch.set_default_tensor_type(torch.cuda.FloatTensor)
/usr/local/lib/python3.10/dist-packages/torch/__init__.py:747: UserWarning: torch.set_default_tensor_type() is deprecated as of PyTorch 2.1, please use torch.set_default_dtype() and torch.set_default_device() as alternatives. (Triggered internally at /opt/pytorch/pytorch/torch/csrc/tensor/python_tensor.cpp:431.)
  _C._set_default_tensor_type(t)
>>> print(torch.Tensor([1, 2, 3, 4]).device)  # THIS WORKS
cuda:0
```


### Versions

```bash
Versions of relevant libraries:
[pip3] mypy==1.4.0
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.24.4
[pip3] optree==0.11.0
[pip3] torch==2.3.0a0+6ddf5cf85e.nv24.4
[pip3] torchdata==0.7.1a0
[pip3] torchtext==0.17.0a0
[pip3] torchvision==0.18.0a0
[conda] _anaconda_depends         2024.02             py311_mkl_1  
[conda] blas                      1.0                         mkl  
[conda] mkl                       2023.1.0         h213fc3f_46344  
[conda] mkl-service               2.4.0           py311h5eee18b_1  
[conda] mkl_fft                   1.3.8           py311h5eee18b_0  
[conda] mkl_random                1.2.4           py311hdb19cb5_0  
[conda] numpy                     1.26.4          py311h08b1b3b_0  
[conda] numpy-base                1.26.4          py311hf175353_0  
[conda] numpydoc                  1.5.0           py311h06a4308_0
```


cc @albanD
Repository: vscode
Issue: Issues with Multi-cursor and Selection Drag Mouse Functionality
Labels: bug,editor-multicursor

Type: <b>Bug</b>

1.	Assume I want to select a block of text from (0,0) to (9,9).
2.	However, my cursor is currently positioned outside of this area, for example at (10,10).
3.	When I use ⇧⌥ + drag mouse to perform a multi-cursor and selection starting from (0,0) and begin dragging, the starting position is not as expected (0,0), but rather (10,10).

VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:07:46.768Z)
OS version: Darwin arm64 23.5.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M3 Max (16 x 2400)|
|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)|6, 6, 6|
|Memory (System)|64.00GB (0.55GB free)|
|Process Argv|--crash-reporter-id 06c5d81c-a408-4757-901c-1650b97dec21|
|Screen Reader|no|
|VM|0%|
</details>
<!-- generated by issue reporter -->
Repository: puppeteer
Issue: "[extensions.spec] extensions target.page() should return a background_page" fails in the latest Canary
Labels: bug,confirmed,P2

See https://github.com/puppeteer/puppeteer/actions/runs/10212168140
Repository: angular
Issue: Support single file `Program` for downlevel constructor transformer
Labels: feature,area: compiler

### Which @angular/* package(s) are relevant/related to the feature request?

compiler-cli

### Description

Hi, I'm the maintainer of `jest-preset-angular` 👋 

Recently I tried to copy unit tests from https://github.com/angular/angular/blob/main/packages/compiler-cli/src/ngtsc/transform/jit/test/downlevel_decorators_transform_spec.ts to check how many cases single file transpilation doesn't work with downlevel constructor transformer.

I've created a PR https://github.com/thymikee/jest-preset-angular/pull/2615 to demonstrate failing cases. I've discussed with @dgp1130 and I think we might need help a bit how to tackle these failing cases, as his comment pointed https://github.com/thymikee/jest-preset-angular/pull/2615#discussion_r1700505532

The single file `Program` can be found here https://github.com/thymikee/jest-preset-angular/blob/61727ea4d70508bebeae691f3dfb830c7bc4422c/src/compiler/ng-jest-compiler.ts#L59

### Proposed solution

It would be very helpful to fix these failing cases so single file transpilation for Jest can work smoothly. 

In the future, `jest-preset-angular` plans to adopt `transpileDeclaration` API from TS 5.5 which will offer better feedback loop when running with Jest.

### Alternatives considered

N.A.
Repository: yt-dlp
Issue: New errors in previously working environment
Labels: docs/meta/cleanup,regression

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting a bug unrelated to a specific site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Provide a description that is worded well enough to be understood

I run yt-dlp on an x64 QNAP running linux. yt-dlp_linux has worked well for years. Suddenly, I get the following error even if I run "yt-dlp_linux -h":
`yt-dlp_linux: tar_extract_all() failed: Invalid argument`

This is on version 2024.08.01. If I try on an older version, I get:
`Failed to extract Cryptodome/Cipher/_ARC4.abi3.so: decompression resulted in return code -1!`

Any suggestions?

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
Adding -vU to the arguments does not produce any debug output
```
Repository: stable-diffusion-webui
Issue: [Feature Request]: Enhance styles
Labels: enhancement

### What would your feature do ?

A lot of idea to to enhance how styles are actually done 

- In main ui: Draggable styles to change order, individual weighting for styles
- In Style editor: Sort styles list, set favorite, add grouping, hierarchical tree

Thank
Repository: react
Issue: [React 19] Controlled `<select>` component is subject to automatic form reset
Labels: Type: Bug,React 19

The controlled component also resets the "select" after the action is triggered.
but the "input" component does not.

```jsx
"use client";
import { useActionState, useState } from "react";
function add() {
  return Date.now();
}
export default function Page() {
  const [state, formAction] = useActionState(add, 0);
  const [name, setName] = useState("");
  const [type, setType] = useState("2");
  return (
    <form action={formAction}>
      <p>{state}</p>
      <p>
        <input
          type="text"
          value={name}
          onChange={(e) => setName(e.target.value)}
        />
      </p>
      <p>
        <select
          name="gender"
          value={type}
          onChange={(e) => setType(e.target.value)}
        >
          <option value="1">1</option>
          <option value="2">2</option>
          <option value="3">3</option>
        </select>
      </p>
      <button>submit</button>
    </form>
  );
}
```

![20240802-193357](https://github.com/user-attachments/assets/c61f2b1c-a00c-4982-aba3-5061770f719a)

Repro: https://codesandbox.io/p/sandbox/stupefied-cohen-n578l6
Repository: next.js
Issue: Improper neutralization of HTTP headers for scripting syntax
Labels: bug,Output (export/standalone),Instrumentation

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/next-js-forked-slktwp

### To Reproduce

When start my application, my header is visible in the browser. This is causing the below vulnerability issue

1. Untrusted user input in response header will result in HTTP Header Injection or Response Splitting Attacks.\n
2. This application allows user-controlled URLs to be passed directly to HTTP client libraries.  This can result in Server-Side Request Forgery (SSRF). SSRF refers to an attack where the attacker can abuse functionality on  the server to force it to make requests to other internal systems within your  infrastructure that are not directly exposed to the internet.  This allows the attacker to access internal resources they do not have direct access to.\nSome risks of SSRF are:\n- Access and manipulation of internal databases, APIs, or administrative panels - Ability to scan internal network architecture and services - Can be used to pivot attacks into the internal network - Circumvent network segregation and firewall rules\nTo avoid this, try using hardcoded HTTP request calls or a whitelisting object to  check whether the user input is trying to access allowed resources or not.\nHere is an example: ``` var whitelist = [\n  "https://example.com", \n  "https://example.com/sample"\n]\napp.get('/ssrf/node-ssrf/axios/safe/3', function (req, res) {\n  if(whitelist.includes(req.query.url)){\n      axios.get(url, {})\n          .then(function (response) {\n              console.log(response);\n          })\n          .catch(function (response) {\n              console.log(response);  \n          })\n  }\n}); ```  For more information on SSRF see OWASP: https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html\n





### Current vs. Expected behavior

Current behavior: vulnerability scan failed because of injection of headers in the URL

Expected behavior: Vulnerability scan should pass

### Provide environment information

```bash
Operating system :Windows 11
Binaries :
Node : 20.11.1
npm : 10.2.4
Yarn : 1.22.19

Relevant packages
next : 14.2.4
eslint-config-next : 14.1.0
react :18
react-dom:18
typescript : 5
```


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

Instrumentation, Output (export/standalone)

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

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

### Additional context

_No response_
Repository: tensorflow
Issue: Seeking information on low-level TPU interaction and libtpu.so API
Labels: type:docs-bug,stat:awaiting tensorflower,comp:tpus

I'm looking to build an automatic differentiation library for TPUs without using high-level front-ends like TensorFlow/JAX/PyTorch-XLA, but I'm finding information about lower-level TPU usage is practically non-existent.

Specifically, I'm interested in:
1. How to interact with TPUs at a lower level than what's typically exposed in TensorFlow
2. Information about the libtpu.so library and its API
3. Any resources or documentation on implementing custom TPU operations

Are there any insights or suggestions on how to approach this, particularly regarding TPU support? Any ideas or help would be greatly appreciated.

I understand that some of this information might be proprietary, but any guidance on what is possible or available would be very helpful.
Repository: vscode
Issue: Persistent terminals in repositories with Workspace settings configurations
Labels: feature-request,terminal

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

Hear me out.

For people who need more than one terminal, configuring a set of terminals for their repositories would be great. Instead of opening each terminal and then naming and colouring them from zero after restarting vscode, we could possibly add 
the desired configurations to Workspace Settings json file and whenever this repository is opened, the terminals would start too. 

Optionally, keeping the history of executed commands in specified terminals would help too.


Example use case:
![Screenshot 2024-08-02 at 12 03 14](https://github.com/user-attachments/assets/b99561d2-a86c-456d-8865-28f713616648)
Repository: PowerToys
Issue: Integrate Mouse Jump with Mouse Without Borders to allow jumping to remote computers when MWB is enabled
Labels: Idea-Enhancement,Needs-Triage,Product-Mouse Utilities,Product-Mouse Without Borders

### Description of the new feature / enhancement

Add some awareness of Mouse Without Borders into the Mouse Jump feature so that the mouse can be "jumped" to locations on remote workstations.

Imagine a scenario where two workstations are connected via Mouse Without Borders - one has two screens, and the other has a single screen. The new style rendering features in https://github.com/microsoft/PowerToys/issues/27511 could be used to apply different border colours for each workstation so that when the Mouse Jump preview image is activated it might show something like this mock-up with the screens from *all* workstations in the MWB "matrix" shown rather than just the *local* screens (the colours for each workstation would be customisable in an extension to the proposed "style settings" feature):

![image](https://github.com/user-attachments/assets/5f39395d-0727-4303-a4e8-f644f2c64ce0)

In a scenario with the maximum of 4 workstations connected through Mouse Without Borders, each with multiple screens attached, this could save a significant amount of mouse "swiping" to move the cursor large distances across remote machines.

This feature would require coordinated changes in both Mouse Without Borders and Mouse Jump - for example MWB would need to expose the following functionality to Mouse Jump:

* Determine whether MWB is enabled
* Enumerate connected workstation details and relative positions
* Retrieve screen topology of connected workstations
* Retrieve screen capture thumbnails at specific sizes
* Move the mouse pointer to a specific location on a remote computer
* Potentially sending the current Mouse Jump style settings to a connected workstation to allow consistent preview styles on remote workstations while Mouse Without Borders is active

And Mouse Jump would need to be updated to be able to request this information from MWB to draw the enhanced previews.


### Scenario when this would be used?

Mouse Jump users would be able to quickly jump across multiple workstations connected by Mouse Without Borders to a precise location on any given screen.

### Supporting information

Dependent on https://github.com/microsoft/PowerToys/issues/27511 / https://github.com/microsoft/PowerToys/pull/33486 being completed.
Repository: PowerToys
Issue: Find my mouse should make cursor visible 
Labels: Issue-Bug,Needs-Triage,Product-Mouse Utilities

### Microsoft PowerToys version

0.82.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

Put your cursor somewhere where it gets hidden (like a video on YouTube) activate Find my mouse

### ✔️ Expected Behavior

Cursor appears

### ❌ Actual Behavior

Cursor stays hidden (overlay appears)

### Other Software

_No response_