sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: debug: Indicate column of stack frame in editor
Labels: feature-request,debug

<!-- ⚠️⚠️ 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. -->

If you are stopped at a breakpoint, VS-Code indicates the column at which you are stopped within the text editor using a small, yellow pointer inlined into the text, as shown in this screenshot:

![Image](https://github.com/user-attachments/assets/3af7fc60-e116-487e-a4f8-e57cb582b955)

When selecting one of the stack frames further up in the call stack, the corresponding line is highlighted using a green pointer in the sidebar. However, it does not indicate the column. See this screenshot:

![Image](https://github.com/user-attachments/assets/3f1e271f-f3e8-476b-947c-03ec3216afd7)

It would be great if VS-Code would **show the column pointer within the text area not only for the breakpoint itself, but also for stack frames further up the stack.**
Repository: godot
Issue: Error exporting apk in Godot Mobile
Labels: bug,platform:android,topic:editor,topic:export

### Tested versions

- Reproducible in godot 4.4.dev 3.

### System information

Godot v4.4.dev3 - Android 11 - Single-window, 1 monitor - Vulkan (Mobile) - integrated Adreno (TM) 610 -  (8 threads)

### Issue description

- The apk export gives an error when placed outside the folder where the godot projects are located, I tested it in two download and document folders, both of which give the same error.

### Steps to reproduce

- Open a project in Godot mobile 4.4.dev.3, press export, and go to the download folder, try to export, it gives an error.

- Now try exporting again but this time in the folder where the project is located, you noticed that there is no error.

- I don't know if it's because of Android 11. If so, it's better to put a message warning about Android's limitations.

### Minimal reproduction project (MRP)

- N/D
Repository: deno
Issue: [lint] ERR_MODULE_NOT_FOUND on a package without `main` or `module` (types only)
Labels: needs discussion

Version: Deno 2.0.3

In a case where a package has types only, e.g. `@apollo/utils.fetcher` is such, importing **without** adding type import directive results in confusion.

My gut feeling is that `deno lint` could suggest type import. I expect my existing projects to have a lot of these. Possibly something similar to [consistent-type-imports](https://typescript-eslint.io/rules/consistent-type-imports/) could exist.


index.ts:
```ts
import { FetcherHeaders } from '@apollo/utils.fetcher';
let _foo: FetcherHeaders;
```

```
❯ deno run index.ts
error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///Users/slagiewka/Projects/deno-test/node_modules/.deno/@apollo+utils.fetcher@3.1.0/node_modules/@apollo/utils.fetcher/index.js' imported f
rom 'file:///Users/slagiewka/Projects/deno-test/index.ts'
    at file:///Users/slagiewka/Projects/deno-test/index.ts:2:32
❯ deno lint
Checked 1 file
```

Works:
```ts
import type { FetcherHeaders } from '@apollo/utils.fetcher';
let _foo: FetcherHeaders;
```
```
❯ deno run index.ts

❯ deno lint        
Checked 1 file
```

Running `node --experimental-strip-types index.ts` results in errors too, but with slightly different message (also confusing).
```
❯ node --experimental-strip-types index.ts
(node:45303) ExperimentalWarning: Type Stripping is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
node:internal/modules/esm/resolve:204
  const resolvedOption = FSLegacyMainResolve(pkgPath, packageConfig.main, baseStringified);
                         ^

Error: Cannot find package '/Users/slagiewka/Projects/deno-test/node_modules/@apollo/utils.fetcher' imported from /Users/slagiewka/Projects/deno-test/index.ts
    at legacyMainResolve (node:internal/modules/esm/resolve:204:26)
    at packageResolve (node:internal/modules/esm/resolve:827:14)
    at moduleResolve (node:internal/modules/esm/resolve:907:18)
    at defaultResolve (node:internal/modules/esm/resolve:1037:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:582:38)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:241:38)
    at ModuleJob._link (node:internal/modules/esm/module_job:132:49) {
```
Repository: godot
Issue: Entering specific shader names (e.g., 'icon_shader') causes Godot editor to freeze
Labels: bug,topic:editor,topic:shaders

### Tested versions

v4.3.stable

### System information

Windows 10. Godot v4.3.stable - Vulkan (Mobile) - NVIDIA GeForce GTX 1060 6GB - Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 Threads)

### Issue description

Setting the shader name of a Sprite2D with icon.svg as its texture to res://icon_shader.gdshader causes the Godot editor to freeze. Changing the shader name to res://shader_practice.gdshader (the same as the scene name) resolves this issue.

### Steps to reproduce

1. Create a new scene with Node2D as the root node.
2. Add a Sprite2D node as a child and set its texture by dragging and dropping icon.svg (the default icon) onto it.
3. Save the scene as shader_practice.tscn.
4. In the Material tab of the Sprite2D, create a new shader.
5. Set the shader's name to res://icon_shader.gdshader and create. At this point, the editor freezes.
6. However, when setting the shader's name to res://shader_practice.gdshader(same as the scene name), the shader can be created without issues.

### Minimal reproduction project (MRP)

N/A
Repository: PowerToys
Issue: Remote Audio Output Capability
Labels: Needs-Triage

### Description of the new feature / enhancement

I propose adding a feature to PowerToys that enables a Windows desktop's audio output to be played on another device, such as another PC, laptop, or smartphone. This feature would be extremely beneficial for users with faulty audio hardware on their primary device. Through a simple and secure pairing process, users could direct all system and application sounds to a secondary device on the same network, ensuring uninterrupted audio functionality.

### Scenario when this would be used?

This feature is particularly useful in scenarios where a desktop computer cannot play sound due to broken or malfunctioning audio hardware. Users could redirect audio to their laptop or smartphone, facilitating a seamless audio experience for work, entertainment, or communication purposes.

### Supporting information

_No response_
Repository: node
Issue: structuredClone() uses wrong context in vm.runInContext()
Labels: vm

### Version

v22.10.0

### Platform

```text
Darwin Silmaril.home 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:49:46 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T8103 arm64
```


### Subsystem

vm

### What steps will reproduce the bug?

```js
const vm = require('node:vm');

const context = vm.createContext({ structuredClone });
const result = vm.runInContext('structuredClone(new Error()) instanceof Error', context);

console.log('match:', result);
```

### How often does it reproduce? Is there a required condition?

100%

### What is the expected behavior? Why is that the expected behavior?

`match: true` because `structuredClone` should use the context of the VM for the prototype of the produced `Error` instance.

### What do you see instead?

```match: false```

Additional investigation shows that the produced `Error` uses the prototype of the main runtime. Ie. a context escape, which would be a security error, if not for the disclaimer not to run untrusted code.

### Additional information

This issue also applies to all other cloneable types like `Map`. Even `Object` fails `instanceof`:

```js
structuredClone({}) instanceof Object       // <= equals false inside VM
```

FYI, this causes problems when running tests in jest, which use the VM to run tests.
Repository: PowerToys
Issue: Kontextmenu funktioniert nciht
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

New+, PowerRename

### Steps to reproduce

Unfortunately, reinstalling didn’t help. The only option displayed is 'Open in Terminal'."

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

"Since the last PowerToys and Windows update, I've had the problem that certain apps no longer appear in the context menu—neither in the simple nor in the expanded context menu. Unfortunately, reinstalling didn’t help. The only option displayed is 'Open in Terminal'."

### Other Software

_No response_
Repository: rust
Issue: Tracking issue for release notes of #128351: Lint against `&T` to `&mut T` and `&T` to `&UnsafeCell<T>` transmutes
Labels: T-lang,relnotes,relnotes-tracking-issue


This issue tracks the release notes text for #128351.

### Steps

- [ ] Proposed text is drafted by PR author (or team) making the noteworthy change.
- [ ] Issue is nominated for release team review of clarity for wider audience.
- [ ] Release team includes text in release notes/blog posts.

### Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

```markdown
# Category (e.g. Language, Compiler, Libraries, Compatibility notes, ...)
- [Lint against `&T` to `&mut T` and `&T` to `&UnsafeCell<T>` transmutes](https://github.com/rust-lang/rust/pull/128351)
```

> [!TIP]
> Use the [previous releases](https://doc.rust-lang.org/nightly/releases.html) categories to help choose which one(s) to use.
> The category will be de-duplicated with all the other ones by the release team.
>
> *More than one section can be included if needed.*

### Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section.
*Otherwise leave it empty.*

```markdown
```

cc @ChayimFriedman2, @wesleywiser -- origin issue/PR authors and assignees for starting to draft text
Repository: go
Issue: cmd/compile: missed bounds check elimination when paired slices are resliced
Labels: Performance,NeedsInvestigation,compiler/runtime

```
go version devel go1.24-140308837f Mon Oct 21 15:30:47 2024 +0200 darwin/arm64
```

When the lengths of two slices are "paired" (`dst = dst[:len(src)]`), the compiler is smart enough to apply ifs to both, but if you reslice them the pairing is lost.

```
func foo(src, dst []byte) {
	dst = dst[:len(src)]
	for len(src) >= 50 {
		_ = (*[50]byte)(src) // no bounds check
		_ = (*[50]byte)(dst) // no bounds check
	}
}

func bar(src, dst []byte) {
	dst = dst[:len(src)]
	for len(src) >= 50 {
		src = src[50:] // no bounds check
		dst = dst[50:] // bounds check!
	}
}
```
Repository: PowerToys
Issue: Tabs not saved with File Explorer window in the Workspaces utility
Labels: Needs-Triage,Product-Workspaces

### Description of the new feature / enhancement

Workspaces is potentially a great utility, especially when managing files with multiple Windows Explorer windows.  The drawback is that a Workspaces cannot save the configured subfolders or tabs in the individual explorer windows.

Unfortunately, Workspaces only saves the generic configuration of the large and small explorer windows, both reset to the root folder or directory, with no tabs or proper destination folders for each tab as configured in the layout when captured.  The feature could have incredible power for file transfers and system organization if only the utility stored more info including the tabs and subfolders configured for each Explorer window.

### Scenario when this would be used?

For example, we often use two windows to transfer photos from our mobile phone.  The configuration includes a half-screen Explorer window on the left and a quarter-screen Explorer window on the lower right.  The larger window on the left displays our mobile phone photos in extra-large format.  The smaller window on the lower right has three tabs.  One tab for a family events subfolder in chronological order, another tab for a personal property (purchases) subfolder, and a third tab for a special purposes subfolder.  This configuration gives us quick access to all the folders needed for quickly archiving the photos from our mobile phone to these folders and their related subfolders.

### Supporting information

_No response_
Repository: svelte
Issue: False positive TypeScript error when spreading attributes on div HTML element
Labels: types / typescript

### Describe the bug

There's a type mismatch between the `<div>` element type and `HTMLAttributes<HTMLDivElement>`

### Reproduction

Type this into a Svelte file in VS Code. Notice the error on the spread of `restProps` on the `<div>`.

```svelte
<script lang="ts">
	import type { HTMLAttributes } from 'svelte/elements';

	const { children, ...restProps }: HTMLAttributes<HTMLDivElement> = $props();
</script>

<div {...restProps}>
	{@render children?.()}
</div>
```

I've encountered a few issues related to spreading of props. Most are fairly simple to work around by just `Omit<>`ing the offending attribute and typing it correctly. As a catch all, it might be a good idea to create a TypeScript test for all of the elements in `import('svelte/element').SvelteHTMLElements`.

### Logs

```shell
Types of property 'hidden' are incompatible.
      Type 'boolean | "" | "until-found" | null | undefined' is not assignable to type 'boolean | null | undefined'.
        Type '""' is not assignable to type 'boolean | null | undefined'.ts(2345)
```


### System Info

```shell
Svelte: ^5.1.3 => 5.1.3
```


### Severity

annoyance
Repository: excalidraw
Issue: feature request: excalidraw to mermaid
Labels: enhancement

i saw github markdown supports mermaid now, i'd like to reduce the friction from going to excalidraw to github issue, that could help
Repository: deno
Issue: vite/node project can't use i.e. `jsr:@db/sqlite` in package.json/node-compat mode. Migrating to deno.json will break resolution
Labels: bug,bundler-resolution

Version: Deno 2.0.3

Say I try to run a project, like a new solid start example

- deno run -A npm:create-solid
- Select SolidStart, TypeScript, Basic

And then I port package.json over to deno.json

```
{
  "tasks": {
    "dev": "vinxi dev",
    "build": "vinxi build",
    "start": "vinxi start",
    "version": "vinxi version"
  },
  "imports": {
    "@solidjs/meta": "npm:@solidjs/meta@^0.29.4",
    "@solidjs/router": "npm:@solidjs/router@^0.14.10",
    "@solidjs/start": "npm:@solidjs/start@^1.0.9",
    "solid-js": "npm:solid-js@^1.9.2",
    "vinxi": "npm:vinxi@^0.4.3"
  }
}

```


Now it'll break because it can't resolve any dependencies from these npm: packages that doesn't have the "npm:"

```
 ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

8:13:04 PM [vite] Pre-transform error: Failed to load url solid-js/web (resolved id: solid-js/web) in /Users/admin/repos/deno-kitchensink/solid-start-basic/src/entry-server.tsx. Does the file exist? (x5)
8:13:04 PM [vite] Pre-transform error: Failed to load url @solidjs/start/server (resolved id: @solidjs/start/server) in /Users/admin/repos/deno-kitchensink/solid-start-basic/src/entry-server.tsx. Does the file exist?
8:13:04 PM [vite] Error when evaluating SSR module /src/entry-server.tsx: failed to import "solid-js/web"
|- Error: Cannot find module 'solid-js/web' imported from '/Users/admin/repos/deno-kitchensink/solid-start-basic/src/entry-server.tsx'
    at nodeImport (/Users/admin/Library/Caches/deno/npm/registry.npmjs.org/vite/5.4.10/dist/node/chunks/dep-BWSbWtLw.js:53047:19)
    at ssrImport (/Users/admin/Library/Caches/deno/npm/registry.npmjs.org/vite/5.4.10/dist/node/chunks/dep-BWSbWtLw.js:52914:22)
    at undefined

```

Staying in package.json doesn't allow usage of  `jsr:@db/sqlite`
Repository: pytorch
Issue: Support `attn_mask` in `jagged_scaled_dot_product_attention`
Labels: feature,triaged,module: nestedtensor,module: sdpa

### 🚀 The feature, motivation and pitch

Currently, providing an attention mask argument to [jagged_scaled_dot_product_attention](https://github.com/pytorch/pytorch/blob/main/torch/nested/_internal/sdpa.py#L677) is not supported (see https://github.com/pytorch/pytorch/blob/main/torch/nested/_internal/sdpa.py#L67).

I don't know how technically feasibly this is, as I'm not familiar with the structure of the various SDPA backends, but theoretically I'm hoping we could allow passing a nested tensor attn_mask (strided layout only, not jagged, b/c by definition the nested tensor will have two ragged dimensions). Ideally this would be supported at training time, not just inference (e.g. with autograd support).

### Alternatives

For use cases where attention masks are required but inputs are jagged, I believe this only leaves the option of converting everything to a dense padded tensor, which is not very efficient.

### Additional context

I'm new to the NJT APIs, so if there is a better way to accomplish this that already exists, please lmk!

cc @cpuhrsch @jbschlosser @bhosmer @drisspg @soulitzer @davidberard98 @YuqingJ @erichan1 @mikaylagawarecki @crcrpar @mcarilli @janeyx99
Repository: tauri
Issue: [bug] Service worker not registered in Android
Labels: type: bug,status: needs triage

### Describe the bug

I have Svelte app with custom service worker, it works fine in Linux app, but in Android I'm getting this error:

```
10-26 19:45:52.643  8304  8304 E Tauri/Console: File: http://tauri.localhost/src/main.ts - Line 24 - Msg: Service worker registration failed with TypeError: Failed to register a ServiceWorker for scope ('http://tauri.localhost/') with script ('http://tauri.localhost/service-worker.js'): An unknown error occurred when fetching the script. TypeError: Failed to register a ServiceWorker for scope ('http://tauri.localhost/') with script ('http://tauri.localhost/service-worker.js'): An unknown error occurred when fetching the script.
```

I'm suspecting, that problem might be with URL (scope),  as service worker is installed only from secure/https scope or from http://localhost (later is kind of exception mainly for development).  He it is http://tauri.localhost  - I think this may be a problem?

### Reproduction

My project is at https://github.com/izderadicka/audioserve-web/tree/tauri  - so it's now on branch tauri.  

1. Clone project
2. Switch to tauri branch
3. `cargo tauri android dev` -  the device is Android 14 emulated 
4. The problem with registering service worker should appear in terminal listing

### Expected behavior

Service worker registration should work - it does in Linux desktop app.

### Full `tauri info` output

```text
$ cargo tauri info

[✔] Environment
    - OS: Ubuntu 22.4.0 x86_64 (X64)
    ✔ webkit2gtk-4.1: 2.44.3
    ✔ rsvg2: 2.52.5
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.18.0
    - yarn: 1.22.11
    - npm: 10.8.2



[-] Packages
    - tauri 🦀: 2.0.6
    - tauri-build 🦀: 2.0.2
    - wry 🦀: 0.46.3
    - tao 🦀: 0.30.3
    - tauri-cli 🦀: 2.0.3
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli : 2.0.3 (outdated, latest: 2.0.4)

[-] Plugins
    - tauri-plugin-log 🦀: 2.0.1
    - @tauri-apps/plugin-log : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:5000/
    - framework: Svelte
    - bundler: Rollup
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: ollama
Issue: use arm64 extensions ?
Labels: feature request

like neon64 and way others .. ?

greets ..
Repository: vscode
Issue: Insiders API Change: no NotebookData class in NotebookSerializer.serializeNotebook handed over (only same Interface)
Labels: under-discussion,confirmed,notebook-api

<!-- ⚠️⚠️ 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. -->
Version: 1.95.0-insider (user setup)
Commit: 38dc6ac5a771cc94bde1344722bb2d02c80096ea
Date: 2024-10-25T22:08:52.005Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

1. implement NotebookSerializer interface in an extension
2. check first args of serializeNotebook with `notebookData instanceOf vscode.NotebookData`
3. with newest VSCode Insiders this checks returns false. with latestet VSCode this checks returns true

There were changes in NoteBookSerializer, maybe these produce this changed behaviour: https://github.com/microsoft/vscode/commit/c4645ea0ec0093893e7c16b1f628128d439da671 (worker uses structuredClone)


Code which produces this error: https://github.com/AnWeber/httpbook/blob/ef2aef382f6e906ca09bafede1bd7591f15125a0/src/extension/notebook/httpNotebookSerializer.ts#L190
Bug of User with Insiders: https://github.com/AnWeber/httpbook/issues/134
Workaround: I willl implement a typeguard to check if object matches API of NotebookData Class (https://github.com/AnWeber/httpbook/blob/526a9f4d15e99d239cd73c03e124b0bce94644bc/src/extension/notebook/httpNotebookSerializer.ts#L227)