sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Asset Library downloader is less usable with hidden checkboxes
Labels: enhancement,discussion,topic:editor,usability,topic:assetlib

### Tested versions

- Reproducible in 4.2 or later
- Not reproducible in 4.1 or earlier.

### System information

Godot v4.3.dev (2efbc6bfb) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; 31.0.15.3713) - Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 Threads)

### Issue description

Since 4.2 or later, the checkboxes in the asset library import dialog were removed by default.
There is a non-obvious arrow button which opens a *second* panel with the same files having checkboxes.
![image](https://github.com/godotengine/godot/assets/39946030/9dc3ac34-c499-4cbb-8bc6-d8b40714636f)
This creates a lot of visual noise and makes it more difficult to figure out which files to add.

Here is how it used to look in 4.1.x and earlier:
![image](https://github.com/godotengine/godot/assets/39946030/9c17623a-6adf-4180-9ebe-7a807a00c0e1)
The UI here is short and to the point. it is easy to see which assets are included.

An aside, but it's unclear to me why the scary red text was added: since the reference project always has files like "project.godot", it seems like a common and normal occurrence and not a reason to make a fuss.

### Steps to reproduce

1. Pick any asset in the store, such as "vrm"
2. Click Download
3. The picker window will show up as described, with no obvious way to pick which assets to use.

### Minimal reproduction project (MRP)

Editor feature: happens in all projects.
Repository: ui
Issue: [bug]: Can't scroll to a section with an id using Link comp inside both Sheet and Drawer
Labels: bug

### Describe the bug

I'm working on a landing page and I want to add the posibility to navigate between page sections using links and sections Id, but when I start working on responsive I used sheet and when I add links inside it, when the sheet closed I had an expected scrolling to top. So I try to use Drawer insted but drawer doesn't scroll at all.
![Screenshot (54)](https://github.com/shadcn-ui/ui/assets/31810304/d63b8dba-0bc6-4879-bd03-d2cd997641ea)
![Screenshot (55)](https://github.com/shadcn-ui/ui/assets/31810304/2e76a91e-2c63-4d17-95ce-dc8adb92fd18)


### Affected component/components

Drawer, Sheet

### How to reproduce

1. Create a page and include some sections with id.
2. Create a sidebar using sheet or drawer
3. Add some links inside them and in the href add #section_id, and each link should be inside a DrawerClose or SheetClose

### Source Code Issue Link
https://github.com/ahmedkhabar/shadcn-issue

### Logs

_No response_

### System Info

```bash
Windows 10 64 bit
Microsoft Edge
NextJS 14
App Router
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: next.js
Issue: next start does not stop next-server on kill signal
Labels: bug

### Link to the code that reproduces this issue

https://github.com/strowk/nextjs-leak

### To Reproduce

0. Use linux and bash
1. git clone https://github.com/strowk/nextjs-leak && cd nextjs-leak
2. run `yarn && yarn build`
3. run `yarn start &`
4. save pid of yarn process `server_pid=$!`
5. check processes running `ps aux | grep next` (there would be `next start` and `next-server`)
6. run `kill $server_pid` to stop the server
7. run `ps aux | grep next` to check what is still running

### Current vs. Expected behavior

Expected: no next processes running
Current: `next start` does not run, but `next-server` is still running

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #111~20.04.1-Ubuntu SMP Mon Mar 11 15:44:43 UTC 2024
Binaries:
  Node: 20.5.0
  npm: 9.8.0
  Yarn: 1.22.21
  pnpm: N/A
Relevant Packages:
  next: 14.0.2
  eslint-config-next: 14.0.2
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: standalone
```


### Which area(s) are affected? (Select all that apply)

Not sure

### Which stage(s) are affected? (Select all that apply)

next start (local)

### Additional context

This is not reproducing on MacOS, where the difference is that `next start` process does not exist and yarn appears to pass kill signal directly to next-server (or so I assume).
Repository: bitcoin
Issue: RFC: Formal description of the RPC API
Labels: Brainstorming,RPC/REST/ZMQ

Currently (all?) clients manually implement the RPC API, which is problematic, because:

* It leads to accidental implementation bugs, such as unit mistakes (s/vB vs BTC/kvB)
* It is hard to maintain, when the API changes
* It requires effort to implement in a new programming language

So it could make sense to have a formal specification.

Please leave a comment if there are additional aspects to consider here, or if you have ideas for a solution.

One solution for a formal description could be OpenAPI. Generators exist, such as (random example) https://github.com/microsoft/kiota?tab=readme-ov-file#supported-languages
Repository: rust
Issue: Allowlist for SanitizerCoverage
Labels: T-compiler,A-sanitizers,C-bug

clang provide option `fsanitize-coverage-allowlist` to pass allow list to SanitizerCoverage, it passes option in code like below

```cpp
static void addSanitizers(const Triple &TargetTriple,
                          const CodeGenOptions &CodeGenOpts,
                          const LangOptions &LangOpts, PassBuilder &PB) {
    MPM.addPass(SanitizerCoveragePass(
        SancovOpts, CodeGenOpts.SanitizeCoverageAllowlistFiles,
        CodeGenOpts.SanitizeCoverageIgnorelistFiles));
    ...
}
```

However, rust seems only can use `-Cllvm-args` to pass option registered by `cl::opt` etc., thus has no chance to pass allowlist
Repository: TypeScript
Issue: Add Support for Flow's new component syntax
Labels: Suggestion,In Discussion

### 🔍 Search Terms

"syntax", "flow", "component", "tsx"

### ✅ Viability Checklist

- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change the runtime behavior of existing JavaScript code
- [X] This could be implemented without emitting different JS based on the types of the expressions
- [X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

First of all, I'd like to apologize; this request doesn't satisfy the last three viability checks. But I couldn't submit this if I didn't mark them. That said, if someone from the typescript team could at least read this proposal, I would be extremely grateful.

Recently, flow has added a new syntax to write components and hooks. For react devs, that's huge, and as someone who uses (and loves) typescript, I'd love to have something like this on TSX files too.

I understand that there are a few limitations on what can be done in typescript; for example, I don't expect typescript to check the rules of hooks and other react-specific things. I know that things like Solid and Stencil also use JSX.

To be completely blunt: I WANT SUGAR. Most influencers covering this new feature mentioned that it's extremely unlikely that Typescript will implement it. But I decided to try anyway, even if just to understand the reason.

In a more practical sense, here's what I would expect to see in a realist scenario:
 - The changes would only affect TSX files.
- `component` blocks would be transpiled into `function` components.
- `hook` blocks would be transpiled into functions.
- Render types are nice. If I'm correct there's some arcane way of doing the same in typescript, but getting something more explicit wouldn't hurt.

### 📃 Motivating Example

Here's the post that explains what I'm talking about: https://medium.com/flow-type/announcing-component-syntax-b6c5285660d0

### 💻 Use Cases

1. What do you want to use this for? Pure and refined Syntax Sugar.
2. What shortcomings exist with current approaches? For components, there are 5-6 ways to deal with props currently, but the new component syntax has the potential to unify how things are done, reducing friction for new developers in large code bases. I recommend checking this video: https://youtu.be/HOFIefkepMA?si=i45CFr72m2GCaH5l
3. What workarounds are you using in the meantime? It's not impossible to write another tool that will take this syntax and output typescript, but that would be yet another tool in an already bloated web dev ecosystem.
Repository: opencv
Issue: Move Darknet importer and caffe importer in opencv_contrib
Labels: feature,RFC

### Describe the feature and motivation

Why remove?
I propose to Move Darknet importer and caffe importer in opencv_contrib (dnn_legacy?) instead to move in trash

### Additional context

_No response_
Repository: vscode
Issue: Diff Editor Unstage buttons
Labels: feature-request,diff-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. -->
With the 1.88 release [buttons were added](https://code.visualstudio.com/updates/v1_88#_diff-editor-stagerevert-selection-buttons) to the diff editor to support reverting and staging blocks of changes. This feature should be extended to support unstaging blocks of changes when viewing the diff for staged changes.
Repository: material-ui
Issue: [code-infra] Replace all references of event as e
Labels: scope: code-infra

For example https://github.com/mui/material-ui/blob/1103320f310e799216d6f2cf76d4e8054b1dc0de/docs/data/joy/components/list/ExampleNavigationMenu.tsx#L67

Also enforce this with an eslint rule. e.g. ~https://eslint.org/docs/latest/rules/id-length~ https://eslint.org/docs/latest/rules/id-denylist


Single letter identifiers are desired in some cases (`t` for translations, and `i`, `j`, `k` for loop variables). So let's keep the scope of this issue down to specific identifiers only and not enforce it by length. Some other ids I can think of are:
- `err` => `error`
- `res` => `response`, or did you mean `result`, or `resolve`?
- ?
Repository: TypeScript
Issue: `satisfies` does not work on a variable called `type`
Labels: Bug,Help Wanted

### 🔎 Search Terms

satisfies, type, ts1005

### 🕗 Version & Regression Information

This happens from 3.3.3333 to nightly.

`satisfies` was introduced in 4.9.

### ⏯ Playground Link

https://www.typescriptlang.org/play?#code/MYewdgzgLgBFCeAHApjAvDA5AD0wKDwRRggEMoBLCAMwuQhKgCcKwBzPIA

### 💻 Code

```ts
const type = 'x'

type satisfies string // '=' expected.(1005)
```

### 🙁 Actual behavior

Gives an `'=' expected.(1005)` error.

### 🙂 Expected behavior

For it to work like with any other variable of any other name, specially since it's a common variable name.

### Additional information about the issue

This also happens with other TypeScript keywords like `interface`.

If I wrap `type` in parenthesis it works, is this expected behaviour? The Deno formatter removes it (prettier handles it correctly), should I report this to them.
Repository: storybook
Issue: [Bug]: `userEvent.click()` not working as expected after upgrading Storybook to 8.x
Labels: bug,upgrade:8.x

### Describe the bug

I have some components that use `<input type="checkbox" />` or `<details>` + `<summary>` tags.

When using Storybook `7.x`, interactions tests that used `userEvent.click()` worked just fine, but after upgrading to `8.x` the same stories without any changes in code just stopped working.

### To Reproduce

Create a component that uses a `<details>` + `<summary>` tags and write an interaction test that click the summary to open `<details>` or a component using `<input type="checkbox">` and an interaction test clicking the input.

In first case, the `open` attribute won't be triggered and in second case `checked` attribute won't be triggered.

### System

```bash
- Operating system: macOS 14.3.1
- Browser: Firefox
- Node: 20.x
```

### Additional context

#### Not working in Storybook `8.x`

##### Reproduction code:

- [Accordion](https://github.com/allozaur/storybook-8-user-event-not-working/tree/8.x/src/lib/Accordion)
- [Checkbox](https://github.com/allozaur/storybook-8-user-event-not-working/tree/8.x/src/lib/Checkbox)

https://github.com/storybookjs/storybook/assets/37627284/61f81c1c-7140-4189-be0f-4231e3568e25

#### Working in Storybook `7.x`

##### Reproduction code:

- [Accordion](https://github.com/allozaur/storybook-8-user-event-not-working/tree/7.x/src/lib/Accordion)
- [Checkbox](https://github.com/allozaur/storybook-8-user-event-not-working/tree/7.x/src/lib/Checkbox)

https://github.com/storybookjs/storybook/assets/37627284/d8394cb4-954b-4adf-a2e0-be8b51d7201e
Repository: pytorch
Issue: Fused Linear and Cross-Entropy Loss `torch.nn.functional.linear_cross_entropy`
Labels: module: performance,module: nn,module: loss,triaged

### 🚀 The feature, motivation and pitch

It'd be great to have a fused linear and cross-entropy function in PyTorch, for example, `torch.nn.functional.linear_cross_entropy`. This function acts as a fused linear projection followed by a cross-entropy loss, e.g.

```python
def linear_cross_entropy(linear_weights, input, labels):
    logits = F.linear(input, linear_weights)
    return F.cross_entropy(logits, labels)
```

Compared to naive implementation, this fused function does not materialize the intermediate `logits`, saving a lot of VRAM.

This function is quite common in models, such as LLMs, classification, and so on. When the batch size or number of classes is large, the intermediate `logits` would take up the majority of VRAM.

For example, the latest LLMs, such as Llama 3 and Gemma, adopt extremely large vocabularies (128-256K). Thus, the size of logits can become very large, consuming a significant proportion of VRAM. The calculation below shows the VRAM size for Llama 3 8B with a batch size of 81920 tokens:

````
Logits size: 128256 (vocabulary size) * 81920 (batch size) * 2 bytes (bf16) = 19.57GiB
Hidden state size (checkpointed): 4096 (hidden size) * 81920 (batch size) * 32 (layers) * 2 bytes (bf16) = 20GiB
````

Therefore, a fused linear and cross-entropy loss function that does not require materializing full `logits` may reduce VRAM consumption by half.

Related: the same feature request for FlashAttention: https://github.com/Dao-AILab/flash-attention/issues/922

### Alternatives

_No response_

### Additional context

_No response_

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: pytorch
Issue: HOP dispatch isn't faithful
Labels: high priority,triaged,months,oncall: pt2,module: pt2-dispatcher

- HOPs dispatch in Python. They never go through the C++ dispatcher. Instead, we emulate dispatch by looking at dispatch keys and finding a Python kernel (for said DispatchKey) to dispatch to
- When a HOP hits a DispatchKey for which there is a C++ fallback, morally we should run a Python version of that C++ fallback. However, we don't have these Python versions (we didn't implement them), so we workaround this situation by treating it like a fallback.

This hasn't mattered in practice because people don't rely on DispatchKey fallbacks. For example, HOPs treat PythonTLSSnapshot as a fallthough, which is wrong if something that depends on PythonTLSSnapshot gets used (but it rarely does).

cc @ezyang @gchanan @kadeng @msaroufim @bdhirsh @anijain2305 @chauhang
Repository: ollama
Issue: ollama rm Support deletion through ID
Labels: feature request

Just like Docker RM supports deletion through ID, have you considered supporting model deletion through ID? If so, I am willing to research this area and submit a PR
Repository: bitcoin
Issue: RFC: In guix compile the GUI sequentially from everything else?
Labels: Brainstorming,Build system

Compiling the GUI pulls in quite a few dependencies, which could theoretically include backdoors that are leaked into bitcoind (or other non-GUI utils) as well.

A possible mitigation would be to compile the GUI in a separate guix container from the rest of the binaries. The downside would be that the node library, and the `depends` dependencies of the node library would have to be compiled twice, but the overhead may be worth it?

(I won't be working on this, but I wanted to keep track of this in a brainstorming issue, as the topic has repeatedly come up)
Repository: tensorflow
Issue: Homepage sections displaying incorrectly on TensorFlow website
Labels: type:docs-bug,stat:awaiting tensorflower,TF 2.16

**Description:**
I've noticed an issue with the homepage sections on the TensorFlow website. The sections seem to be displaying incorrectly, with some elements overlapping and others not loading properly.

**Steps to Reproduce:**

1. Go to the TensorFlow website homepage (https://www.tensorflow.org/?hl=pl).
2. Scroll through the sections on the homepage.
3. Observe the layout and display issues.

**Expected Behavior:**
The homepage sections should display correctly with all elements properly formatted and visible.

**Actual Behavior:**
Some sections are overlapping, and certain elements are not loading or displaying as expected. This makes it difficult to navigate and access the content effectively.

**Screenshots/Additional Information:**

![tensorflow org_BUG](https://github.com/tensorflow/tensorflow/assets/59841838/c7ec5af1-5289-480a-927b-56fd89c22dd2)

**Environment:**
Browser: [Google Chrome (124.0.6367.60 )]
Operating System: [Windows 10]
Device: [Desktop]
Repository: rust
Issue: something is weird about llvm submodule handling
Labels: T-bootstrap,C-bug

I just observed the following:
I did a git pull and it downloaded a bunch of llvm submodule data.
Afterwards, I did an `x.py install`, I'm not sure what happened with the llvm submodule but llvm did NOT get rebuilt, so probably nothing touched it?
Then, I did another x.py install afterwards, without touching anything on the repo and THAT did start rebuilding llvm again.

I'm having a gut feeling that we should have had rebuilt llvm already on the first x.py install but I don't know what the underlying issue is.

cfg:
````
[llvm]
download-ci-llvm = false
assertions = true
ninja = true
targets = "X86"
link-jobs = 16
cflags = "-march=native" # -D_GLIBCXX_DEBUG
cxxflags = "-march=native" # -D_GLIBCXX_DEBUG
ldflags = "-march=native" # -D_GLIBCXX_DEBUG
polly = false
[build]
dist-stage = 2
install-stage = 2
extended = true
tools = ["cargo", "clippy", "rustfmt", "analysis", "src", "miri"] # + "rust-demangler" if `profiler`
low-priority = true
[install]
prefix = "/home/gh-matthiaskrgr/.rustup/toolchains/local-debug-assertions"
sysconfdir = "etc"
[rust]
debug = true
debug-assertions = true
debug-assertions-std = true
overflow-checks = true
overflow-checks-std = true
debuginfo-level = 1
codegen-backends = ["llvm", "cranelift"]
backtrace-on-ice = true
verify-llvm-ir = true
lto = "thin"
[target.x86_64-unknown-linux-gnu]
[dist]
compression-formats = ["xz"]
```
Repository: svelte
Issue: Svelte code with many function calls crashes on Webkit
Labels: browser specific

### Describe the bug

If there are too many calls to a function, Epiphany (Gnu Web - Webkit) browser crashes.
Chrome and Firefox work ok.

I'm starting browser with `cairo` renderer.
`WEBKIT_DISABLE_COMPOSITING_MODE=0  EPHY_LOG_MODULES=ephy-window.c EPHY_DEBUG_BREAK=stack WEBKIT_FORCE_SANDBOX=0 GSK_RENDERER=cairo  flatpak run --verbose org.gnome.Epiphany`


Is there anything on Svelte side that can be done with this?

### Reproduction

https://svelte.dev/repl/1ad99e89d4614ebba758feaa98859922?version=4.2.15

### Logs

```shell
`(epiphany:2): epiphany-WARNING **: 17:28:51.461: Web process crashed`
```


### System Info

```shell
System:
    OS: Linux 5.4 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (2) x64 Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
    Memory: 667.31 MB / 3.83 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 20.4.0 - ~/.nvm/versions/node/v20.4.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 9.7.2 - ~/.nvm/versions/node/v20.4.0/bin/npm
    bun: 1.0.26 - ~/.bun/bin/bun
    Watchman: 20201115.021953.0 - /usr/local/bin/watchman
  Browsers:
    Gnome Web (Epiphany) 46.0 - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15
  npmPackages:
    svelte: ^4.2.12 => 4.2.12
```


### Severity

blocking all usage of svelte
Repository: vscode
Issue: Find bar resize issue
Labels: polish,editor-find

Type: <b>Bug</b>

Press Ctrl+F to bring up the Find popup, mouse over the left side of search popup, the resize handle doesn't always respond to click+drag event. Also, the handle could be bigger and include a grabbing indicator for easier use/visibility.

VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 6.5.0-27-generic


<!-- generated by issue reporter -->
Repository: go
Issue: runtime: SIGILL on netbsd-arm64
Labels: help wanted,NeedsInvestigation,compiler/runtime

```
#!watchflakes
default <- builder ~ `netbsd-arm64` && mode == "build" && `SIGILL: illegal instruction`
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8751624582470730449)):

    [I2024-04-04T04:20:26.265189Z 20142 0 sink.go:276] SinkServer: warm-up started
    [I2024-04-04T04:20:26.265603Z 20142 0 sink.go:346] SinkServer: starting HTTP server...
    [I2024-04-04T04:20:26.268325Z 20142 0 sink.go:281] SinkServer: warm-up ended
    [I2024-04-04T04:20:26.277641Z 20142 0 cmd_stream.go:473] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "-timeout=20m0s" "./..."]
    # golang.org/x/tools/gopls/internal/vulncheck/semver [golang.org/x/tools/gopls/internal/vulncheck/semver.test]
    SIGILL: illegal instruction
    PC=0x62f0e0 m=0 sigcode=4
    instruction bytes: 0x90 0xb 0x40 0xf9 0xff 0x63 0x30 0xeb 0x9 0x9 0x0 0x54 0xfe 0xf 0x1b 0xf8
    
    goroutine 49 gp=0x4000882000 m=0 mp=0x106be80 [running]:
    ...
    Warning: no '=' in invocation-link-artifacts pair: "", ignoring
    [I2024-04-04T04:33:06.783858Z 20142 0 cmd_stream.go:469] rdb-stream: the test process terminated
    [I2024-04-04T04:33:06.838128Z 20142 0 sink.go:371] SinkServer: shutdown started
    [I2024-04-04T04:33:06.838477Z 20142 0 sink.go:349] SinkServer: HTTP server stopped with "http: Server closed"
    [I2024-04-04T04:33:06.838555Z 20142 0 sink_server.go:95] SinkServer: draining TestResult channel started
    [I2024-04-04T04:33:07.656584Z 20142 0 sink_server.go:97] SinkServer: draining TestResult channel ended
    [I2024-04-04T04:33:07.656685Z 20142 0 sink_server.go:99] SinkServer: draining Artifact channel started
    [I2024-04-04T04:33:08.248946Z 20142 0 sink_server.go:101] SinkServer: draining Artifact channel ended
    [I2024-04-04T04:33:08.249053Z 20142 0 sink.go:374] SinkServer: shutdown completed successfully
    [I2024-04-04T04:33:08.249136Z 20142 0 cmd_stream.go:401] rdb-stream: exiting with 1


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: kubernetes
Issue: Add unit tests to client-go/tools/cache/listers.go
Labels: area/client-libraries,sig/api-machinery,kind/feature,help wanted,triage/accepted

### What would you like to be added?

https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/tools/cache/listers.go has no unit tests, it would be good to have some.

### Why is this needed?

Ensure expected behaviour is checked and preserved.