sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Allow banning certain symbols or sort them based on usage counts
Labels: feature-request,typescript

* in vscode, open `src/vs/base/common/strings.ts`
* type Disposable and do Ctrl+Space
* observe that the first suggestion is the Disposable from `vscode`, but that is not used almost anywhere in our code
* it would be helpful to be able to ban it or hide it via some project settings



![Image](https://github.com/user-attachments/assets/6d6bfda1-d52f-4228-ac7e-e22dfdca3a55)
Repository: vscode
Issue: Diff editor stage / revert gutter buttons are not visible when using high contrast themes
Labels: bug,diff-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. -->
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.92.2 
- OS Version: MacOS 14.5

Steps to Reproduce:

1. Enable a high contrast theme (tested with default Dark / Light High Contrast)
2. Make a change and enter the diff view
3. Observe that the stage / revert gutter buttons have very little contrast

Light:
<img width="69" alt="image" src="https://github.com/user-attachments/assets/31deca74-7f04-4bdb-aa75-20b893554986">

Dark:
<img width="86" alt="image" src="https://github.com/user-attachments/assets/a77bbed0-e041-4cf7-bc8d-f8748288fac6">

Context: I'm color-blind
Repository: TypeScript
Issue:   Add support for nixos for easily on-boarding developers onto the project.
Labels: Suggestion,Awaiting More Feedback

### Acknowledgement

- [X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

### Comment

Add support for nixos for easily on-boarding developers onto the project.
Repository: TypeScript
Issue: Clarify logging for "No Project" when hitting memory limit
Labels: Needs Investigation

### Acknowledgement

- [X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

### Comment

typescript fails with "No Project" and no other error in its log when hitting default memory limit. Improve this by providing better logging output.
Repository: deno
Issue: Insecure localStorage access
Labels: question

How is Deno "secure by default" if it allows access to localStorage and moreover preserves data across separate "deno run" executions?

And I can't seem to find a way to restrict/remove localStorage access?

It seems there should be a way to control it. This was very unexpected behavior when without any "--allow-read" Deno allowed localStorage writes which is really technically a disk file write.

Version: Deno 1.46.1
Repository: rust
Issue: Tracking issue for RFC 3637: Guard patterns
Labels: B-RFC-approved,T-lang,C-tracking-issue,F-guard_patterns

This is a tracking issue for XXX.

The feature gate for the issue is `#![feature(guard_patterns)]`.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.  They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.  A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.  Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [x] Accept an RFC.
  - https://github.com/rust-lang/rfcs/pull/3637
- [ ] Implement in nightly.
- [ ] Add documentation to the [dev guide][].
  - See the [instructions][doc-guide].
- [ ] Add documentation to the [reference][].
  - See the [instructions][reference-instructions].
- [ ] Add formatting for new syntax to the [style guide][].
  - See the [nightly style procedure][].
- [ ] Stabilize.
  - See the [instructions][stabilization-instructions].

[dev guide]: https://github.com/rust-lang/rustc-dev-guide
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
[edition guide]: https://github.com/rust-lang/edition-guide
[nightly style procedure]: https://github.com/rust-lang/style-team/blob/master/nightly-style-procedure.md
[reference]: https://github.com/rust-lang/reference
[reference-instructions]: https://github.com/rust-lang/reference/blob/master/CONTRIBUTING.md
[stabilization-instructions]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[style guide]: https://github.com/rust-lang/rust/tree/master/src/doc/style-guide

### Unresolved Questions

- [ ] Should we allow mismatched bindings when possible in pattern disjunctions?
- [ ] How should we refer to "guard patterns"?

```[tasklist]
### Implementation history
- [ ] https://github.com/rust-lang/rust/pull/129996
- [ ] https://github.com/rust-lang/rust/pull/133424
- [ ] https://github.com/rust-lang/rust/pull/134989
```

cc @max-niederman
Repository: godot
Issue: 2D selecting ignores `z_index`
Labels: bug,topic:editor,usability,topic:2d

### Tested versions

4.3
4.2.2

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description

If lower node z-index wise is lower in tree, it will be selected through the top node:

https://github.com/user-attachments/assets/8e5ee496-b003-4588-b08f-1547a3bc247d


### Steps to reproduce

1. Add 2 Sprite2Ds
2. Make them overlay
3. Change z-index so that sprite further in tree appears below (contrary to default drawing order)
4. Click intersection point

### Minimal reproduction project (MRP)

N/A
Repository: go
Issue: runtime: consider removing osyield call from lock2
Labels: Performance,NeedsInvestigation,compiler/runtime

The current `runtime.lock2` implementation does a bit of spinning to try to acquire the `runtime.mutex` before sleeping. If a thread has gone to sleep within `lock2` (via a syscall), it will eventually require another thread (in `unlock2`) to do another syscall to wake it. The bit of spinning allows us to avoid those syscalls in some cases. Slowing down a bit and trying again, at a high level, seems good; maybe the previous holder has exited the critical section.

The first phase of spinning involves a `runtime.procyield` call, which asks the processor to pause for a moment (on the scale of tens or hundreds of nanoseconds). There's some uncertainty about what that duration is and what it should be (described in part in #69232) but the idea of using this mechanism to slow down for a bit, again at a high level, seems good.

The second phase of spinning involves a `runtime.osyield` call. That's a syscall, implemented on Linux as a call to `sched_yield(2)`. The discussion in [CL 473656](https://go.dev/cl/473656) links to https://www.realworldtech.com/forum/?threadid=189711&curpostid=189752 , which gives a perspective on why that's not a universally good idea.

- It's a syscall, so it doesn't help with avoiding syscalls. (Though a single syscall here has a _chance_ of avoiding a _pair_ of syscalls, one to sleep indefinitely and one to wake).
- The semantics aren't very well defined, and—very loosely speaking—don't align with our goals. We don't mean for the OS scheduler to drag a thread over from another NUMA node just because we said "we can't run at this instant".

Maybe we should delete that part of `lock2`. Or maybe we should replace it with an explicit `nanosleep(2)` call of some tiny time interval.

I don't see any urgency here. Mostly I'd like a tracking issue to reference in lock2's comments.

CC @golang/runtime
Repository: vscode
Issue: Enable inlay hints in chat code blocks
Labels: feature-request,panel-chat

From [microsoft/vscode-dotnettools#1361](https://github.com/microsoft/vscode-dotnettools/issues/1361)
Repository: vscode
Issue: Enabled code lenses in chat code blocks
Labels: feature-request,panel-chat

From https://github.com/microsoft/vscode-dotnettools/issues/1361
Repository: vscode
Issue: Enable folding / folding ranges in chat code blocks
Labels: feature-request,panel-chat

From https://github.com/microsoft/vscode-dotnettools/issues/1361
Repository: vscode
Issue: Expose a Way to Determine if a User Changes Thier Text Document Language Using the Language Mode Option in the VS Code UI
Labels: feature-request,languages-guessing

<!-- ⚠️⚠️ 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. -->

We are currently working on the C++ Extension on adding behavior that will correctly identify the textDocumentLanguage of an extensionless file that is opened using a C++ extension feature. We are running into an issue where when we use the vscode.languages.setTextDocumentLanguage() when we first open a file, we overwrite any language mode that is selected through the UI in the bottom right. 

![image](https://github.com/user-attachments/assets/d36a5a97-1e0a-4cbf-bef2-1fa6afcffdc8)

We want to be able to detect whether the textDocument for a file was set using this option so we do not overwrite it. Is there an existing way to identify this? If not, would it be possible to add a flag to determine if this is how a textDocument language was set?

This is in reference to https://github.com/microsoft/vscode-cpptools/issues/4077
Repository: vscode
Issue: Enable sticky scroll in chat code blocks
Labels: feature-request,editor-sticky-scroll,panel-chat

From https://github.com/microsoft/vscode-dotnettools/issues/1361
Repository: flutter
Issue: Flutter iOS app opened in Xcode shows a confusing "Cannot find module 'Flutter'" error until the app is built the first time
Labels: platform-ios,tool,a: first hour,a: annoyance,P3,team-ios,triaged-ios

Filing this issue after [debugging a broken dev workflow](https://discord.com/channels/608014603317936148/1280999656154992775) with @jonahwilliams and @loic-sharma.

Basically, I had done the following:

```sh
flutter create . --platforms ios
open ios/Runner/Runner.xcworkspace
```

... but kept getting "Cannot find module 'Flutter'" and "Cannot find 'Flutter/Flutter.h'" type errors.

A casual look says this is a somewhat common issue:

- [`is:issue "Flutter.h"`](https://github.com/flutter/flutter/issues?q=is%3Aissue+%22Flutter.h%22)

The issue is a _full_ build is required (`flutter build ios`), which is not the same as other platforms.
Repository: PowerToys
Issue: [Workspaces] Taskbar Icon Order Not Preserved
Labels: Issue-Bug,Needs-Triage,Product-Workspaces

### Microsoft PowerToys version

0.84.0

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Workspaces

### Steps to reproduce

Open the apps you want for your workspace so you have those icons on the taskbar. Save your workspace layout.
When you load that layout the taskbar icon order is not preserved.

### ✔️ Expected Behavior

Taskbar icons should maintain their original position when loading a saved workspace.

Taskbar icons should maintain their position when rearranged by user and switching between virtual desktops.

### ❌ Actual Behavior

Taskbar icon order is not preserved.
Loading a saved workspace results in icons for fastest opening programs appearing first on the taskbar.
Taskbar icon order is also not preserved when switching between virtual desktops if those icons were rearranged.

### Other Software

_No response_
Repository: godot
Issue: IBusHangul keyboard unusable
Labels: platform:linuxbsd,topic:thirdparty,needs testing

### Tested versions

4.3.1.rc

### System information

Ubuntu 22.04.4 LTS 64-bit

### Issue description

The IBusHangul keyboard has a lot of weird behavior in Godot when typing in Korean mode.

* Trying to type a multiple block word just overwrites a single syllabic block.
* Unfinished syllabic blocks can't be deleted sometimes.
* (Multiline) Moving to another line via arrow keys while modifying a syllabic block duplicates it. This seems to be graphical only.
* (Multiline) Moving to another location via mouse while modifying a syllabic block will block typing in English until more Korean is typed.

I haven't been able to find similar behavior in other software.

### Steps to reproduce

N/A

### Minimal reproduction project (MRP)

N/A
Repository: terminal
Issue: UTF-8 decoding problem when a codepoint straddles an i/o boundary
Labels: Product-Cmd.exe,Issue-Bug,Tracking-External

### Windows Terminal version

1.20.11781.0

### Windows build number

10.0.19045.4780

### Other Software

_No response_

### Steps to reproduce

1. Create a text file with 180 instances of the Unicode character U+20B0 (German Penny Sign) on one line and save it as UTF-8 (with or without BOM).  Call it foo.txt.  (I've attached a sample.)
2. Open a Command Prompt profile in Terminal.
3. `chcp 65001`
4. `type foo.txt`

Note that, near the end of the output there are a couple Unicode replacement characters.

What's happening is that `type` sends the text to the terminal in 512-byte blocks.  The UTF-8 encoding of  U+20B0 takes 3 bytes.  Since 512 isn't a multiple of 3, the 171st German Penny Sign is split across the boundary of the first and second write operations issued by `type`.  The UTF-8 decoding is resetting state state with each write.

But it's not just UTF-8 decoding.  If one write ends with a complete character, and the next write begins with a combining character, they either (1) won't be composed or (2) they will be composed but there will be an empty cell immediately after it.

These problems occur less frequently with applications that issue larger writes, but they do still happen.  They can even happen with applications that normally flush the output on line boundaries if a single line grows so long that an intermediate flush occurs.
[foo.txt](https://github.com/user-attachments/files/16882048/foo.txt)


### Expected Behavior

I expected UTF-8 decoding and composition of combining characters to resync if a sequence of bytes that represents a single codepoint or grapheme cluster happens to fall on the boundary between two consecutive writes.

### Actual Behavior

Note the replacement characters in the output.

![image](https://github.com/user-attachments/assets/9ba7193a-2fda-463a-9850-551480295b44)
Repository: neovim
Issue: permission denied by AppArmor with `MANPAGER="nvim -" man man` (socketpair EACCES)
Labels: documentation,plugin,runtime,system,startup,permissions

### Problem

When using neovim as a pager, nvim crashes when viewing man pages from `man`.

```sh
$ MANPAGER="nvim --clean --noplugin -" man man
E903: Process failed to start: permission denied: "/usr/local/bin/nvim"Failed to start Nvim server!
man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=man(1) nvim --clean --noplugin -
```

However, it works when piping into neovim

```sh
# this works perfect!
$ MANPAGER=cat man man | nvim --clean --noplugin -
```

```sh
$ man --version
man 2.11.2


$ build/bin/nvim -V1 -v
NVIM v0.11.0-dev-714+g220b8aa6f
Build type: Debug
LuaJIT 2.1.1724512491
Compilation: /usr/bin/cc -g  -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -Wno-conversion -fno-common -Wimplicit-fallthrough -fdiagnostics-color=always  -DNVIM_LOG_DEBUG -DUNIT_TESTING -DHAVE_UNIBILIUM -D_GNU_SOURCE -DINCLUDE_GENERATED_DECLARATIONS -DUTF8PROC_STATIC -I/home/max/workspace/github.com/neovim/neovim.git/.deps/usr/include/luajit-2.1 -I/home/max/workspace/github.com/neovim/neovim.git/.deps/usr/include -I/home/max/workspace/github.com/neovim/neovim.git/build/src/nvim/auto -I/home/max/workspace/github.com/neovim/neovim.git/build/include -I/home/max/workspace/github.com/neovim/neovim.git/build/cmake.config -I/home/max/workspace/github.com/neovim/neovim.git/src -I/usr/include

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info
```

### Steps to reproduce

On my machine all I need to do is:

```sh
$ MANPAGER="nvim --clean --noplugin -" man man
```
and it crashes every time

### Expected behavior

Neovim should open the man page

### Neovim version (nvim -v)

NVIM v0.11.0-dev-714+g220b8aa6f

### Vim (not Nvim) behaves the same?

no

### Operating system/version

Debian GNU/Linux 12 (bookworm)

### Terminal name/version

urxvt,gnome-terminal

### $TERM environment variable

xterm-256color

### Installation

build from source
Repository: PowerToys
Issue: [New PT] Settings Scheduler to set a timer or set time for changing settings
Labels: Idea-Enhancement,Idea-New PowerToy

### Description of the new feature / enhancement

A simple utility for scheduling a setting for a set time or duration. The utility would have a few options for different settings then the option to change them based on a timer or based on a specific schedule.


https://github.com/user-attachments/assets/ccc800af-1734-4e23-a211-d06887182b8d


![image](https://github.com/user-attachments/assets/106fe709-9517-4a0a-b77e-27bc6d3505d5)


### Scenario when this would be used?

- Set the theme to dark mode every day at 7pm and light mode at 7am
- Turn off wi-fi for the rest of the day
- Set laptop speaker volume to zero every morning

### Supporting information

- Similar to Task Scheduler but more friendly
- More focused and easy to jump in and out than Power Automate
- Could evolve to include more settings
- Triggers could make more complex scenarios like when connecting to specific Wi-Fi networks, or locations like have a 
    - "work mode" trigger which sets a few settings when arriving to work, or home
- This could be an Awake v2
Repository: electron
Issue: [Bug]: webgpu not support `shader-f16` feature
Labels: platform/windows,bug :beetle:,has-repro-gist

### 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 bug report that matches the one I want to file, without success.

### Electron Version

32.0.1,30.1.2

### What operating system(s) are you using?

Windows

### Operating System Version

windows 10 19045.4717

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

The 'shader-f16' feature of WebGPU is officially supported in [Chrome 120](https://developer.chrome.com/blog/new-in-webgpu-120)
I tested Chrome and chromium both support this feature
But when I tested the electron, I found that it doesn't have this feature. Even 32.0.1 doesn't have it
[test link](https://webgpureport.org/)
![image](https://github.com/user-attachments/assets/9f01d6e9-43db-436e-9193-0a91c4834f6a)


### Actual Behavior

![image](https://github.com/user-attachments/assets/4a20d9bb-f8fd-460b-951f-c187164e934a)


### Testcase Gist URL

https://gist.github.com/951547aa3c490a91ea30d1f773146fa4

### Additional Information

If this is a bug, can it be fixed to version 30 (Chrome 124)
Repository: ui
Issue: [bug]: tailwindcss-animate conflict with tailwindcss arbitrary values for duration-{value},  because the utility collides with the inbuilt transition duration utility 
Labels: bug

### Describe the bug

After add tailwindcss-animate, I can't use tailwindcss arbitrary values for duration-{value}, because of tailwindcss-animate's issue: https://github.com/jamiebuilds/tailwindcss-animate/pull/46#issue-1909923734

### Affected component/components

other

### How to reproduce

1. install shadcn-ui follow the document
2. enable the plugins: [tailwindcssAnimate]
3.  tailwindcss arbitrary values for duration-{value} does not work anymore

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
macOS 14.6.1
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: tensorflow
Issue: Calibrator segfaults trying to log the "while" operation
Labels: awaiting review,stat:awaiting tensorflower,type:bug,comp:lite,TFLiteConverter,2.17

### 1. System information

- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 22.04
- TensorFlow installation (pip package or built from source): pip package
- TensorFlow library (version, if pip package or github SHA, if built from source): 2.17.0

### 2. Code

[reproducer.zip](https://github.com/user-attachments/files/16894947/reproducer.zip)

### 3. Failure after conversion

Segmentation fault (signal 11) during conversion

### 5. (optional) Any other info / logs

The "while" operation does a check if an output tensor of the body subgraph is the same as the corresponding input tensor. If it's the case, it deallocates its own output tensor. The check is done at the prepare stage, so the affected tensor is already included in the "loggable_outputs" list by the calibrator. Then the calibrator tries to read the data from the deallocated tensor and segfaults. I've debugged it up to https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/tools/optimize/calibration/calibrator.cc#L267 and found that the `tensor.data.f == nullptr`.
The check in question was introduced between 2.13 and 2.14, so it might be considered a regression: https://github.com/tensorflow/tensorflow/commit/7d49fd431ee5cebbb76eda88bc17e48921e10c85