sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: `clippy-driver +stage1` doesn't work: `error while loading shared libraries: librustc_driver-2731d3486cc92946.so`
Labels: T-bootstrap,C-bug,A-miri,A-clippy

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```shell
$ ./x.py build --stage=1 clippy
$ rustup toolchain link stage1 build/host/stage1
$ clippy-driver +stage1 --version
```

I expected to see this happen: *working clippy built from the same source as my stage1 rustc*

Instead, this happened:

```
/usr/local/google/home/computerdruid/.rustup/toolchains/stage1/bin/clippy-driver: error while loading shared libraries: librustc_driver-2731d3486cc92946.so: cannot open shared object file: No such file or directory
```

### Meta

`rustc +stage1 --version --verbose`:
```
rustc 1.71.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.71.0-dev
LLVM version: 16.0.2
```

`git rev-parse HEAD`: e9e1bbc7a820c472b39d3de54b3049bf14050655
Repository: vscode
Issue: Infinite modal from vscode.dev
Labels: bug,ux

1. open incognito mode and go to https://insiders.vscode.dev/github/microsoft/vscode
2. Try to close out of the modals.
3. They appear infinitely :bug:

![Recording 2023-06-27 at 15 09 02](https://github.com/microsoft/vscode/assets/31675041/6642e8a0-9e63-4b51-9352-8ca10e42e607)
Repository: storybook
Issue: How to add version selector to non-Chromatic composed Storybooks?
Labels: documentation

Related discussion: https://github.com/storybookjs/storybook/discussions/22965#discussioncomment-6112682

```json
"versions": {
    "lib+version-description": "path-to-storybook-for-specified-version",
    "mylib@v1.0.0": "/mylib-storybooks/v1.0.0",
    "mylib@v0.1.0": "/mylib-storybooks/v0.1.0"
  }
```

See this Discord discussion (look at JSMike's messages after this one): https://discord.com/channels/486522875931656193/735329186880946247/1006953288429748286
Repository: storybook
Issue: Provide better example(s) for `storySort` function
Labels: documentation

Related discussion: https://github.com/storybookjs/storybook/discussions/22529#discussioncomment-6151681
Repository: PowerToys
Issue: Multiple keys that show up as "Undefined" and can only be mapped to one key
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.70.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

I have a Fujitsu laptop where the built-in keyboard has the common Japanese JIS layout keyboard; I'm running US English Windows.

In Device Manager, the keyboard shows up as "Japanese PS/2 Keyboard (106/109 Key Ctrl + Eisuu)", with drivers i8042prt.sys, kbdclass.sys, SynTP.sys.

I'm attempting to map the extra keys to behaviours a US ANSI keyboard user would expect if they press them accidentally ;) , i.e.

無変換 (_muhenkan_, no conversion), PS/2 0x7b -> space
変換 (_henkan_, conversion), PS/2 0x79 -> space
ひらがな /カタカナ (_hiragana/katakana_, alphabet selection), PS/2 0x70 -> space
\ / _ (backslash and underscore), PS/2 0x73 -> right shift
¥ (yen sign and vertical pipe), PS/2 0x7d -> backspace


### ✔️ Expected Behavior

All the keys that produce different keycodes can be remapped to separate keys -- showing VK numbers for the input keys as is already done for some of these keys is sufficient.

### ❌ Actual Behavior

While muhenkan (shows up as VK 235) and backslash/underscore (shows up as VK 193) can be mapped individually, henkan, kata/hira, and yen sign all show up as "Undefined", and if you try to map more than one of these, Keyboard Manager complains that there is already a mapping for "Undefined"; indeed all of these keys follow the one mapping you have configured -- in other words, you are forced to map them to the same thing.

### Other Software

Windows 10 22H2
Repository: godot
Issue: Control node behaves incorrectly when its child has stylebox with content margin
Labels: documentation,topic:gui

### Godot version

v4.0.3.stable.official [5222a99f5]

### System information

Windows 10 - Godot v4.0.3.stable - Compatibility - dedicated

### Issue description

If a node has a stylebox with content margins, and its parent is a pure Control node, it behaves differently than if the parent was a Container node. It looks confusing to me, and I haven't found anything in the docs that would indicate this difference in behaviour.

### Steps to reproduce

- Create a `User Interface` scene
- Change the root type to `VBoxContainer`
- Set its anchor preset to `Full Rect`
- Add a pure `Control` node as its child
- Add a `PanelContainer` to the Control's child
- Set its anchor preset to `Full Rect`
- Add a `StyleBoxFlat` to the `PanelContainer` in the `Theme Overrides` section
- Set 100px margin for all sides in the stylebox's `Content Margins` property

With this setup, the `PanelContainer` will reach over the top of the `VBoxContainer`. However, it won't reach over the top if the type of `VBoxContainer`'s child is changed from Control to something like a BoxContainer, or PanelContainer.

Left side shows the buggy version (parent is a `Control` node), right side shows the correct version (parent is a `PanelContainer` node):

![image](https://github.com/godotengine/godot/assets/8467908/a345820b-3721-497e-a459-f022c679a00f)

Additionally, if the root node is set to `Center` instead of `Full Rect`, they report different sizes _(they report the same size in `Full Rect` mode)_:

![image](https://github.com/godotengine/godot/assets/8467908/f3dbdd18-c773-4434-8b88-2f9806d0b13c)




### Minimal reproduction project

[control-size-bug.zip](https://github.com/godotengine/godot/files/11888331/control-size-bug.zip)
Repository: pytorch
Issue: Torch randperm with device mps does not sample exactly uniformly from all possible permutations
Labels: triaged,module: random,module: mps

### 🐛 Describe the bug

I don't think this bug is very urgent but I just wanted to capture a note stemming from discussion in #104171 so it wasn't forgotten.

Current the mps fused(?) kernel for randperm does works by generating random values without replacement from `min_int64` to `max_int64` and then for each index and sorting the indexes by these values in ascending order. Unfortunately due to collisions the resulting distribution over permutations of the indexes will not be perfectly uniform (see [this comment](https://github.com/pytorch/pytorch/pull/104171#issuecomment-1608754004) for a more in depth explanation). 

The cuda kernel solves this by taking doing an extra step after the sort to shuffle all "islands" of consecutive indexes with the same value. See the [algorithm description](https://github.com/pytorch/pytorch/blob/05ebd538d4b064b19ba960c2b198bf991a49ca89/aten/src/ATen/native/cuda/Randperm.cu#L230) for a more detailed view.

This extra step would likely have to be implemented as a custom metal kernel but could probably just follow the structure of the [cuda implementation](https://github.com/pytorch/pytorch/blob/05ebd538d4b064b19ba960c2b198bf991a49ca89/aten/src/ATen/native/cuda/Randperm.cuh#L13).

### Versions

```
Collecting environment information...
PyTorch version: 2.1.0a0+git2967116
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 13.3.1 (arm64)
GCC version: Could not collect
Clang version: 14.0.0 (clang-1400.0.29.202)
CMake version: version 3.26.4
Libc version: N/A

Python version: 3.11.3 (main, May 15 2023, 18:01:31) [Clang 14.0.6 ] (64-bit runtime)
Python platform: macOS-13.3.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Apple M1 Pro

Versions of relevant libraries:
[pip3] numpy==1.25.0
[pip3] torch==2.1.0a0+git2967116
[conda] numpy                     1.25.0                   pypi_0    pypi
[conda] torch                     2.1.0a0+git2967116           dev_0    <develop>
```

cc @pbelevich @kulinseth @albanD @malfet @DenisVieriu97 @razarmehr @abhudev
Repository: PowerToys
Issue: Spoof MAC Address
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

Allow MAC address of any/all network adapters to be changed (spoofed), either to something random, something user-defined, or the original adapter MAC.

### Scenario when this would be used?

Spoofing a MAC address is useful for connecting to public wifi with devices which do not support captive portals (those login web pages). See many reddit posts about these types of devices, including all Tesla vehicles, Nintendo Switch consoles for the first several years, and so on.

### Supporting information

Lots of articles saying how to spoof your MAC address in Windows. https://www.digitalcitizen.life/change-mac-address-windows/ has one of the more exhaustive lists. The easiest method is to open your network adapter properties and change it there -- but many network adapter drivers do not have this option at all. In which case, your only option is editing the registry.
Repository: youtube-dl
Issue: How to download first N seconds for one youtube URL?
Labels: question

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Search the bugtracker for similar site feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a site feature request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [ ] I've searched the bugtracker for similar site feature requests including closed ones


## Description

<!--
Provide an explanation of your site feature request in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

WRITE DESCRIPTION HERE
Repository: deno
Issue: fmt_check_all_files_on_each_change_test is flaky
Labels: tests,flaky

https://github.com/denoland/deno/actions/runs/5396065871/jobs/9799270473
Repository: deno
Issue: thread_safe_callback test is flaky
Labels: tests,flaky

https://github.com/denoland/deno/actions/runs/5382431111/jobs/9767837975
Repository: godot
Issue: process_priority ignored when calling _ready
Labels: discussion,topic:core,documentation

### Godot version

v4.0.3.stable.official [5222a99f5]

### System information

Windows 11

### Issue description

From the docs `_ready` call order can be overridden by setting `process_priority`
https://docs.godotengine.org/en/stable/tutorials/scripting/scene_tree.html#tree-order

>This can also be overridden using the process_priority node property. Nodes with a lower number are called first. For example, nodes with the priorities "0, 1, 2, 3" would be called in that order (from left to right).

I have tried setting this value both in code and in the editor and it always executes in the default order (in order of generations from the root from top to bottom)

### Steps to reproduce

I have created a scene with this structure
```
Node
|__Parent
   |___child
   |___child2
```

where parent, child and child2 all have the code 
```
func _ready() -> void:
    print("%s ready with priority %s" % [name, process_priority])
```

Here are a couple of examples with some different values to see what happens.
```
child ready with priority 1
child2 ready with priority 50
parent ready with priority 1
```
```
child ready with priority 99
child2 ready with priority 0
parent ready with priority 1
```

As you can see process_priority has no effect.


### Minimal reproduction project

All the repro steps are above but here is the project for convenience. 

[bug.zip](https://github.com/godotengine/godot/files/11890805/bug.zip)
Repository: pytorch
Issue: DISABLED test_backward_ddp_inside (__main__.TensorPipeDdpUnderDistAutogradTest)
Labels: oncall: distributed,module: flaky-tests,skipped

Platforms: linux

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_backward_ddp_inside&suite=TensorPipeDdpUnderDistAutogradTest) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/14609542854).

Over the past 3 hours, it has been determined flaky in 2 workflow(s) with 2 failures and 2 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_backward_ddp_inside`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.


Test file path: `distributed/rpc/test_tensorpipe_agent.py`

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu
Repository: material-ui
Issue: [Select][docs] Document how to disable individual options
Labels: docs,component: select

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [ ] I have tested the latest version

### Steps to reproduce 🕹

    const {
        getButtonProps,
        getListboxProps,
        getOptionProps,
        getOptionState,
    } = useSelect({
        listboxRef,
        onOpenChange: iconOnly ? () => {
        } : setListBoxVisible,
        onChange: (event, value) => {
            if (iconOnly) {
                setListBoxVisible(false)
            }
            setValue(options.filter(option => option.value === value))
        },
        open: listBoxVisible,
        options,
        value,
    });

### Current behavior 😯

The [docs](https://mui.com/base-ui/react-select/hooks-api/#use-select) mention a `disabled` prop, but it is unclear where to set the prop in order to disable certain elements from the list.

### Expected behavior 🤔

_No response_

### Context 🔦

I want to be able to disable certain elements from the select, not the whole thing.

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  System:
    OS: Windows 10 10.0.22621
  Binaries:
    Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.22621.1848.0), Chromium (114.0.1823.51)
  npmPackages:
    typescript:  3.9.10
```
</details>
Repository: opencv
Issue: cmake Could not find OpenBLAS
Labels: bug,category: build/install

### System Information

OpenCV version: 4.7.0
Operating System / Platform: win10
using OpenBLAS-0.3.20-x64


### Detailed description

CUDA detected: 11.7
CUDA: Using CUDA_ARCH_BIN=3.5;3.7;5.0;5.2;6.0;6.1;7.0;7.5;8.0;8.6
CUDA NVCC target flags: -gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-D_FORCE_INLINES
CUDA: MSVS generator is detected. Disabling CMake re-run checks (CMAKE_SUPPRESS_REGENERATION=ON). You need to run CMake manually if updates are required.
**_Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off_**
Could NOT find BLAS (missing: BLAS_LIBRARIES) 
Could NOT find LAPACK (missing: LAPACK_LIBRARIES) 


![image](https://github.com/opencv/opencv/assets/29767049/37dc5a50-77f7-43bb-a639-bba7d2078548)

![image](https://github.com/opencv/opencv/assets/29767049/f7ddf7b4-1b00-40c0-8058-aa2ccff76685)

There is no lib named openblas.


### Steps to reproduce

using cmake   3.26.4

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [ ] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: next.js
Issue: after router.push()  has two basePath url
Labels: bug,Navigation

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: x64
      Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:42:11 PST 2023; root:xnu-8792.81.3~2/RELEASE_X86_64
    Binaries:
      Node: 16.14.2
      npm: 9.1.2
      Yarn: 1.22.18
      pnpm: N/A
    Relevant packages:
      next: 13.4.4
      eslint-config-next: 13.4.4
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.3
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

Routing (next/router, next/navigation, next/link)

### Link to the code that reproduces this issue or a replay of the bug

npx create-next-app@latest

### To Reproduce

http://localhost:3000/app/app/test

### Describe the Bug

When i set basePath as '/app'
router.push('/test')
url become 'http://localhost:3000/app/app/test'
has two '/app'


### Expected Behavior

only one basePath

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: TypeScript
Issue: Version 5.0.4 -> 5.1.3 Regression when using generic types
Labels: Bug,Fix Available,Rescheduled

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

<!--
  What search terms did you use when trying to find an existing bug report?
  List them here so people in the future can find this one more easily.
-->
Generic, 5.1.3

### 🕗 Version & Regression Information

<!-- When did you start seeing this bug occur?

"Bugs" that have existed in TS for a long time are very likely to be FAQs; refer to
  https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs

If possible, please try testing the nightly version of TS to see if it's already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly

Note: The TypeScript Playground can be used to try older versions of TypeScript.

Please keep and fill in the line that best applies:
-->
- This changed between versions 5.0.4 and 5.1.3

### ⏯ Playground Link

https://www.typescriptlang.org/play?ts=5.1.3#code/C4TwDgpgBAMhAeBLAxgQwDYGED2BbXqAdgCYA8AKgAqojrarEB8UAvFAEoTLYBOZAzsB6JCAcwA0UQhABuEHowDcAKGWhIUAJKF+84OQTBqtesVYcIDbIXQhSAbyjBDALiiDhYqAF8lqgGYAroTIwIjWUMg8ls44+ERk5IwAFACUbnBIaFh4BCQUzPbKUCVQ0cCBPIRQ9t4q3qrcOsBaAHIAygCi7OQA+uSdABp9mADyALLjAIKtACIZCCgYcXlk2ro8+obGdAzMLMWR0aixuQlpikA

### 💻 Code

```typescript
type LexicalCommand<TPayload> = Record<string, never>;

type InsertTextPayload = Readonly<{ text: string }>;

function createCommand<T>(): LexicalCommand<T> {
    return {};
}

const INSERT_TEXT_COMMAND: LexicalCommand<InsertTextPayload> =
  createCommand();
  ```

### 🙁 Actual behavior

<!-- What happened, and why it was wrong -->

The type of `INSERT_TEXT_COMMAND` is `LexicalCommand<TPayload>` in `5.1.3` (but `LexicalCommand<InsertTextPayload>` in `5.0.4`).

### 🙂 Expected behavior

<!-- What you expected to happen instead, and why -->

The type of `INSERT_TEXT_COMMAND` should be `LexicalCommand<InsertTextPayload>`.
Repository: terminal
Issue: Could I request for the terminal to support the arm64ec mode?
Labels: Help Wanted,Product-Meta,Issue-Task,Area-CodeHealth

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

# Description of the new feature/enhancement
I hope that the terminal can support the arm64ec mode and be able to compile successfully on arm64ec. Thanks in advance!
<!-- 
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->

# Proposed technical implementation details (optional)

<!-- 
A clear and concise description of what you want to happen.
-->
Repository: rust
Issue: finish and clean up `rustc_const_eval`'s translatable diagnostics.
Labels: C-cleanup,E-mentor,E-medium,A-const-eval,A-translation

For some context see this [Zulip topic](https://rust-lang.zulipchat.com/#narrow/stream/146212-t-compiler.2Fconst-eval/topic/Diagnostic.20cleanup).

cc @RalfJung.

This issue has a few parts:

In #111677 I added a trait called `ReportErrorExt` which should be replaced by implementing `IntoDiagnostic` for newtypes. Another thing would be to investigate if the same can be done for `MachineStopType` which requires being made into a trait object.

[this](https://github.com/rust-lang/rust/pull/111677/files#diff-febc61ecdbd0384dca483902e7553dc4866adf3c951dc85227b4f25f1106654fR98-R103) is an example of using fluent's pattern matching for different error messages. These should be eventually replaced by individual messages with their own identifiers instead of pattern matching.

I'll assign this to myself when I get time. Feel free to claim if this is unassigned.

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":null}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->