sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Getting Resource UID Returns Invalid (-1) at Runtime on Exported Projects
Labels: bug,topic:core,topic:export

### Godot version

4.0.1

### System information

Windows 11

### Issue description

I'm building a character customization system in my game, and I use custom resources that contain information like the textures and thumbnails of parts of the face and stuff. When the character creator is loaded, I create the thumbnails and connect a signal that passes the resource UID as an argument so once clicked, it loads and applies the changes to the mesh, this also allows me to save the UID in a variable, which I later use to set the correct textures when the game is loaded.

When I use the editor everything works fine, using `print(ResourceLoader.get_resource_uid(iris_style))` returns `6360883855146557548` which means it's working as it should. However when I export the project and execute it, every single time I print these IDs (for debugging purposes) it returns `-1` which also means no textures are applied when the thumbnail is selected.

I already tried adding ".remap" to the resource path, but it still returns `-1`. Is this a bug? Or is it supposed to work like that? I can try to find a workaround, but what confuses me is that it works fine in the editor, and it seems like I can't expect the same behavior when I export my project. Isn't this the way I am supposed to handle resource ids? I already tried using `get_rid()` but it also returns 0 or invalid.

### Steps to reproduce

1. Create a few custom resources.
2. Load them into the game and print their IDs using `print(ResourceLoader.get_resource_uid(the_resource))`.
3. Now export the project and check the logs/console outputs (which should be invalid IDs). Make sure it is executed out of the project folder, or it will return the correct IDs.

### Minimal reproduction project

Very small project with 3 custom resources, it returns -1 as expected.

[id_project.zip](https://github.com/godotengine/godot/files/11138864/id_project.zip)
Repository: vscode
Issue: 'Define keybinding' widget doesn't accept `shift shift` keybinding
Labels: bug,keybindings-editor

<!-- ⚠️⚠️ 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. -->

<!-- 🪓 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. -->

`shift shift` keybinding cannot be defined using "Define keybinding" widget, even though one can define it manually in `keybindings.json`
Repository: vscode
Issue: Support keybindings with > 2 chords in "Define keybinding" widget
Labels: feature-request,keybindings-editor

<!-- ⚠️⚠️ 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. -->

One can define keybindings with > 2 chords manually in `keybindings.json` , now let's support them in "define keybinding" widget
Repository: tensorflow
Issue: RPC server that batches requests
Labels: stat:awaiting tensorflower,type:feature,comp:dist-strat,TF 2.8

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Feature Request

### Have you reproduced the bug with TF nightly?

No

### Source

binary

### Tensorflow Version

2.8.0

### Custom Code

No

### OS Platform and Distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/Compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

```shell
Currently the only implemented `GrpcServer`, that implements `Server` does not handle server side batching. Perhaps we would want an additional implementation that supports server side batching?

This could be done similar to how SEED-RL wrote their batching layer (https://github.com/google-research/seed_rl/tree/master/grpc).

`Server`: https://github.com/tensorflow/tensorflow/blob/071ef3748e5fdb67a0438f357f37b962edae83e2/tensorflow/python/distribute/experimental/rpc/rpc_ops.py#L51

`GrpcServer`: https://github.com/tensorflow/tensorflow/blob/071ef3748e5fdb67a0438f357f37b962edae83e2/tensorflow/python/distribute/experimental/rpc/rpc_ops.py#L260
```


### Standalone code to reproduce the issue

```shell
N/A
```


### Relevant log output

_No response_</details>
Repository: angular
Issue: Documentation of Content Projection limitations
Labels: area: core,core: content projection

### Describe the problem that you experienced

I recently ran into an issue where Content Projection caused keyboard navigation to not work in the Angular Material Menu component.

https://github.com/angular/components/issues/26662

The issue was closed as "expected" with a suggestion to call this out in the framework level documentation.

> I think the problem with calling this out in the [Material] docs is that it isn't really something specific to Material, it's just how content projection works on the framework level. There are several more Material components that depend on ContentChildren queries that would have to be called out.

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

https://angular.io/guide/content-projection

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

Description of what Content Projection can and cannot do (limitations, when not to use it, etc.). 

From digging around, it seems one of the original issues is https://github.com/angular/angular/issues/16299 (April 2017). Basically, whatever the core problem from that issue or other related issues to be documented so it's clear to consumers of the components what they should be OK to do and what they should avoid doing.

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

Actions are described in full in https://github.com/angular/components/issues/26662

Essentially, it is:

1. Use the Material Menu component
2. Use content project to add some items to the Menu component
3. Note that accessibility is now broken (keyboard and screen reader navigation)

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

_No response_

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

Stackblitz recreation and video recording are available in https://github.com/angular/components/issues/26662

### 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: next.js
Issue: [next/jest] Executing jest with Storybook preview crashes on version 13.2.4 onwards
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: win32
      Arch: x64
      Version: Windows 10 Pro
    Binaries:
      Node: 18.15.0
      npm: N/A
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 13.2.5-canary.28
      eslint-config-next: 13.2.4
      react: 18.2.0
      react-dom: 18.2.0
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

Jest (next/jest)

### Link to the code that reproduces this issue

https://github.com/vallovic/next-jest-issue

### To Reproduce

Clone repository, execute `npm run test` and you'll see it crash with the following error. You may change `next` version in `package.json` to `13.2.3` to check that [in that version it's working without any issues]([working-13.2.3.png](https://github.com/vallovic/next-jest-issue/blob/main/working-13.2.3.png)).

```
# npm run test

> test
> jest

 FAIL  components/span.test.tsx
  ● Test suite failed to run

    Cannot find module '.storybook/preview' from 'jest.setup.js'

    However, Jest was able to find:
        '.storybook/preview.ts'

    You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'mjs', 'cjs', 'jsx', 'ts', 'tsx', 'json', 'node'].

    See https://jestjs.io/docs/configuration#modulefileextensions-arraystring

      4 | setProjectAnnotations(globalStorybookConfig);
      5 |

      at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:427:11)
      at Object.<anonymous> (jest.setup.js:6:56)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.865 s
```

### Describe the Bug

I'm using Storybook to write stories and leverage its use to also run unit tests. I have `baseUrl`/`paths` in my `tsconfig.json` thus I'm also using the `moduleNameMapper` in `jest.config.js` to keep it all working and in sync - as you may check it in the referenced repository. [Up until `next` version 13.2.3]([working-13.2.3.png](https://github.com/vallovic/next-jest-issue/blob/main/working-13.2.3.png)), everything was working fine.

After updating to version `13.2.4` (and also most recent `13.2.5-canary.28`), the bug above started appearing so it won't allow me to test. 

This bug may be related with the changes introduce in #45815. Following those introduced changes, if I happen to remove `moduleNameMapper` from `jest.config.js` in this new version, it **also doesn't** work.

Referenced repository includes 3 screenshots of all the results with the different versions.

### Expected Behavior

Running `npm run test` should not crash with an error like this since it was working flawlessly on version before.

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: node
Issue: parallel/test-crypto-from-binary timing out
Labels: flaky-test,linux

### Test

parallel/test-crypto-from-binary

### Platform

Linux x64

### Console output

```console
16:16:30 not ok 1275 parallel/test-crypto-from-binary
16:16:30   ---
16:16:30   duration_ms: 120025.48500
16:16:30   severity: fail
16:16:30   exitcode: -15
16:16:30   stack: |-
16:16:30     timeout
16:16:30   ...
```


### Build links

- https://ci.nodejs.org/job/node-test-commit-linux-containered/37033/nodes=ubuntu1804_sharedlibs_shared_x64/consoleFull

### Additional information

According to [CI reliability reports](https://github.com/search?q=repo%3Anodejs%2Freliability+%22parallel%2Ftest-crypto-from-binary%22&type=issues), this first appeared on 1 April 2023:
- https://github.com/nodejs/reliability/issues/536
Repository: vscode
Issue: Feature Request: `enablement` property on `MessageItem`s and `QuickPickItem`s
Labels: feature-request,api,quick-pick

<!-- ⚠️⚠️ 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. -->
Because our extensions are supporting multiple environments, it would be nice to have an `enablement` property on the `vscode.MessageItem` and `vscode.QuickPickItem` objects. Similar to context commands, it would be great if they could be grayed out and disabled.

Examples of enablement would be `isWeb`, `isVirtualEnvironment`, any condtional statement, etc.

The `package.json` has this implementation when you define the commands in the manifest. It would be perfect if that behavior could be duplicated because as of now, our extensions have to hide quick pick items that don't work in a web environment, but that can get confusing for users when options that were available in desktop suddenly disappear.
Repository: terminal
Issue: Settings UI: Check that the starting directory is normalized
Labels: Help Wanted,Issue-Bug,Area-TerminalConnection,Product-Terminal

### Windows Terminal version

1.16.10262.0

### Windows build number

10.0.22000.1696

### Other Software

_No response_

### Steps to reproduce

* create a new profile
   * Command line - > `cmd.exe` 
   * "Starting directory" -? enter an existing path using a lower case drive letter (e.g. `c:\users`)
* start a new terminal session with the new profile

### Expected Behavior

cmd.exe is started in `C:\Users`  as drive letters are upper case and NTFS is by default case preserving.

in the case where NTFS was set to be case sensitive then I would expect cmd.exe to be started in `C:\users` as the drive letters are always case insensitive and canonically upper case.

### Actual Behavior

the CWD is exactly as entered (all lower case)

This causes some subtle issues with some programs / developer environments where tests are asserting that some log was written containing a canonicalized path.

(also this is half way between an issue and a new feature :)  )
Repository: pytorch
Issue: aten::_linalg_solve_ex.result' is not currently implemented for the MPS
Labels: feature,triaged,module: mps

### 🐛 Describe the bug

I would like to request an implementation to fix "aten::_linalg_solve_ex.result' is not currently implemented for the MPS"

### Versions

aten::_linalg_solve_ex.result

cc @kulinseth @albanD @malfet @DenisVieriu97 @razarmehr @abhudev
Repository: vscode
Issue: Git - File status shows "Deleted" even after file is restored
Labels: bug,git

Type: <b>Bug</b>

When a file is deleted and then restored with git, the tab name displays the incorrect status.

**To reproduce:**

1. Delete some file `file.xyz`.
2. In the git sidebar, click on the file. It will open with a tab called `file.xyz (Deleted)`.
3. Discard the change, i.e., restore the file.

The tab still reads `file.xyz (Deleted)` even though the file is not deleted.


VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T02:22:48.959Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: No


<!-- generated by issue reporter -->
Repository: vscode
Issue: Printing special characters in integrated terminal coud crash remote extension
Labels: bug,freeze-slow-crash-leak,terminal-process


Type: <b>Bug</b>

1. Execute `python3 -c "print(''.join(map(chr, range(1000))))"`
2. Vscode stuck for a while
3. It shows "The window is not responding"
4. If it is Remote: WSL, it shows "Failed to connect to the remote extension host server (Error: Cannot resolve authority)" after clicking "Reopen"

Extension version: 0.98.0
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2-maple+

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 5 3600 6-Core Processor               (12 x 3593)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<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_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|undefined|
|Memory (System)|31.91GB (14.44GB free)|
|Process Argv|--folder-uri=vscode-remote://wsl+Arch/home/maple3142/workspace/hacktheon_sejong/admin_msg --remote=wsl+Arch --crash-reporter-id aa21353d-66ad-438a-993d-24fe1d5157e9|
|Screen Reader|no|
|VM|0%|

|Item|Value|
|---|---|
|Remote|WSL: Arch|
|OS|Linux x64 5.15.90.1-microsoft-standard-WSL2-maple+|
|CPUs|AMD Ryzen 5 3600 6-Core Processor (12 x 3593)|
|Memory (System)|13.65GB (12.30GB free)|
|VM|0%|
</details>
<!-- generated by issue reporter -->
Repository: electron
Issue: [Feature Request]: Make badge color configurable on Windows
Labels: enhancement :sparkles:,platform/windows,component/app

### 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 badge-color is hard-coded:
```C++
    // This is the color used by the Windows 10 Badge API, for platform
    // consistency.
    constexpr int kBackgroundColor = SkColorSetRGB(0x26, 0x25, 0x2D);
```

### Proposed Solution

It would be nice if this could be configured through some API method on the `app` instance.

### Alternatives Considered

There are no alternatives :sob:

### Additional Information

_No response_
Repository: flutter
Issue: [Impeller] Update/improve blend document
Labels: engine,d: api docs,P2,e: impeller,team-engine,triaged-engine

https://github.com/flutter/engine/blob/main/impeller/docs/blending.md

Since the blend doc was written, some things have changed. The advanced blends applied to SaveLayers are now done by shaders that read the framebuffer on Metal.

Also, we link the w3c blending document, but we should perhaps add some nice inline examples of what each blend mode does, maybe using Flutter/Impeller iconography. :)
Repository: storybook
Issue: [Bug]: Storybook 7 "No code available" when component template uses FAST ref directive
Labels: bug,help wanted,compatibility with other tools,html,block: source,sev:S3

### Describe the bug

The "Show code" button on several of my stories' autodocs pages changed to say "No code available" after upgrading Storybook from 6.5 to 7.0. This happened on stories that use the [FAST Element `ref` directive](https://www.fast.design/docs/fast-element/using-directives#referential-directives) to refer to parts of their template.

I tried debugging my source transform function and found that it was only called with an empty string as the source input in the stories that stopped working.

### To Reproduce

This is reproducing in the [Storybook](https://nimble.ni.dev/storybook) for the [ni/nimble](https://github.com/ni/nimble) repository in docs pages like [dialog](https://nimble.ni.dev/storybook/?path=/docs/dialog--docs) ([source](https://github.com/ni/nimble/blob/f1114dfd19a52f88f95d0149c2d42a8e422a280e/packages/nimble-components/src/dialog/tests/dialog.stories.ts#L70)) and [tooltip](https://nimble.ni.dev/storybook/?path=/docs/tooltip--docs) ([source](https://github.com/ni/nimble/blob/f1114dfd19a52f88f95d0149c2d42a8e422a280e/packages/nimble-components/src/tooltip/tests/tooltip.stories.ts#L111)).

To build this repository, clone the `main` branch then run `npm install` then `npm run build`. Then `npm run storybook -w @ni/nimble-components` will launch the storybook.

I can try to provide a smaller reproduction if that would be helpful. I could also try debugging the code that populates the "Show code" pane if you can share instructions for where to look and how to debug the code with source maps.

### System

```shell
Environment Info:

  System:
    OS: macOS 13.2.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 16.15.1 - /usr/local/bin/node
    npm: 8.11.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 111.0.5563.146
    Firefox: 111.0.1
    Safari: 16.3
```


### Additional context

[FAST](https://www.fast.design/) is a framework for defining custom elements, similar to others like LitElement. It offers a templating syntax which we are using to construct the HTML that we pass to Storybook. That syntax includes directives like `ref` to identify DOM nodes in the template so they can be referenced from elsewhere. That directive runs during the `connectedCallback()` to populate a property on the custom element which refers to that DOM element. I'm not sure what about this might trigger this bug.
Repository: PowerToys
Issue: Glyph overlay (better Character table)
Labels: Idea-New PowerToy,Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

I find it really useful to be able to easily access a font's symbols, but the character table is really bad and an extension for emojis would be better, as well as being able to insert the characters directly by clicking on them.

### Scenario when this would be used?

Easy access to characters, optionally with favorites to mark.

### Supporting information

_No response_
Repository: vscode
Issue: Git - create git graph visualization
Labels: feature-request,git

Type: <b>Feature Request</b>

While working with git graphs, I utilize both vscode and webstorm to determine which one is best, and I believe webstorm's git graph is effective right now.

Webstorm has a free git tool that we can use, but we must install an extension for vscode to use it. The best extension is git graph, but it costs money for extra things and isn't very versatile. Can it be made better to have one built in with annotations (like in webstorm git blame , you can check it in webstorm ) and so on..?

vscode git graph https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph

![ws_Git_log_tab_legend](https://user-images.githubusercontent.com/94377644/229611431-ddae4bc1-16c4-41b4-b7b5-015f0c64f60f.png)

VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2


For example there is good a program that can be considered as well as alternative, but 100% you need to implement in vs code 

This one has more functions and for now is the best I think

https://www.sublimemerge.com/

![image](https://github.com/microsoft/vscode/assets/94377644/d586f76e-78e8-4d59-98f2-20a9ce08ab11)


<!-- generated by issue reporter -->
Repository: rust
Issue: BufRead::split eats last separator
Labels: T-libs-api,A-io

I tried this code:

```rust
    let data = b"\nempty line:\n\ntrailing newline\n";
    let buf = BufReader::new(data.as_slice());
    let lines: Vec<_> = buf.split(b'\n').map(Result::unwrap).collect();
```

I expected to see this happen: each empty line in `data` corresponds to an empty element in `lines`: `lines == [b"", b"empty line:", b"", b"trailing newline", b""]`

Instead, this happened: the trailing newline is eaten: `lines == [b"", b"empty line:", b"", b"trailing newline"]`


Playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=04c3b5f7020f0abc7a802400127ba70a

This is quite annoying because this makes split an irreversible operation: information is lost and it is not possible to recover the content of the original buffer from its split content.

### Meta
Happens with stable and nightly on the playground, as well as my distro package (1.64):

`rustc --version --verbose`:
```
rustc 1.64.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.64.0
LLVM version: 14.0.6

```