sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Compiler build toolchain does not respect build-dir for cargo bash completions
Labels: T-bootstrap,C-bug

I am compiling the rust toolchain from source (this includes cargo, clippy, rustdoc, rust-analyzer and src). I am installing it in a custom folder in my home directory.

When I run `./x.py install`, it appropriately compiles and installs all of those binaries. However, along the way, the script invokes a copy to /etc/bash_completions.d/cargo and appropriately logs that it doesn't have permissions.

I expect that ./x.py will respect my build-dir argument and try to install the bash completions in build-dir/etc instead of /etc
Repository: next.js
Issue: revalidate: 0 seems to be ignored when navigating via Link
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: linux
      Arch: x64
      Version: #22 SMP Tue Jan 10 18:39:00 UTC 2023
    Binaries:
      Node: 18.14.2
      npm: 9.5.0
      Yarn: 1.22.19
      pnpm: N/A
    Relevant Packages:
      next: 13.4.10-canary.8
      eslint-config-next: 13.4.8
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.0.4
    Next.js Config:
      output: N/A


warn  - Latest canary version not detected, detected: "13.4.10-canary.8", newest: "13.4.10".
        Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
        Read more - https://nextjs.org/docs/messages/opening-an-issue
```


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

App Router

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

https://codesandbox.io/p/sandbox/amazing-julien-57m45v?file=%2Fapp%2Fdate%2Fpage.tsx%3A8%2C45

### To Reproduce

From the root page, click the "Go to date" link and then back, multiple times. 

### Describe the Bug

The shown date is always the same even though the API returns a new date every time it is called and both `fetch` and the route are configured with `revalidate: 0`.

### Expected Behavior

The endpoint should be called every time the "Go to date" link is called and a different date should be shown.

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

Chrome Version 111.0.5563.111 (Official Build) (64-bit)

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

_No response_
Repository: create-react-app
Issue: yarn start failed
Labels: needs triage

node:internal/modules/cjs/loader:571
throw e;
^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /Users/bhargav/Documents/SAMPLE-REACT/React-app/node_modules/react-scripts/node_modules/postcss/package.json
at new NodeError (node:internal/errors:399:5)
at exportsNotFound (node:internal/modules/esm/resolve:361:10)
at packageExportsResolve (node:internal/modules/esm/resolve:697:9)
at resolveExports (node:internal/modules/cjs/loader:565:36)
at Module._findPath (node:internal/modules/cjs/loader:634:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1061:27)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/Users/bhargav/Documents/SAMPLE-REACT/React-app/node_modules/react-scripts/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Node.js v18.15.0

Needed some help....
Repository: Web-Dev-For-Beginners
Issue: My first Website
Labels: no-issue-activity

https://github.com/Alex629138
Repository: next.js
Issue: lack of appending html tag attrs in not-found
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: 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: 18.16.1
      npm: 9.5.1
      Yarn: 1.22.19
      pnpm: N/A
    Relevant Packages:
      next: 13.4.10-canary.8
      eslint-config-next: 13.4.10
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.6
    Next.js Config:
      output: N/A
```


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

App Router

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

https://codesandbox.io/p/sandbox/small-pine-s676pm?file=%2Fpackage.json%3A1%2C1

### To Reproduce

1. add some attrs on html tag like dir="rtl"
2. go to a not found page
3. if you inspect you see all html tags gone

### Describe the Bug

Html tag attributes do not append on not-found page as it appends on `page.tsx`.

workaround:

create a `[...not-found]/page.tsx` in the root of app then add this dummy code.


import {notFound} from 'next/navigation';

export default function NotFoundDummy() {
  notFound();
}



### Expected Behavior

all html tags attributes should be working fine without nasty [...not-found]/page.tsx or if it is the way that currently handled I can see NO information in the docs about this isssue.

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

_No response_

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

_No response_
Repository: godot
Issue: Can't enter subfolders of a `FileDialog`'s `root_subfolder` when `access` is set to `ACCESS_FILESYSTEM`.
Labels: bug,platform:windows,topic:gui

### Godot version

v4.1.stable.mono.official [970459615]

### System information

Windows 10

### Issue description

When a `FileDialog` has its `access` set to `ACCESS_FILESYSTEM`, the window will not enter subfolders of the `root_subfolder`. This is possible when `access` is set to `ACCESS_RESOURCES` or `ACCESS_USERDATA`, which is why I believe it's a bug.

### Steps to reproduce

1. Create a `FileDialog` node.
2. Set its `access` to `ACCESS_FILESYSTEM`.
3. Set its `root_subfolder` to any directory of your choosing, as long as there is a folder inside.
4. Run the scene containing the `FileDialog` node.
5. You should be unable to enter the subfolders of the `root_subfolder`.

### Minimal reproduction project

[Issue About FileDialog.zip](https://github.com/godotengine/godot/files/12062719/Issue.About.FileDialog.zip)
Repository: transformers
Issue: Request support for RWKV-4-World model.
Labels: New model

### Model description

As RWKV-4-World is using a different tokenizer and vocabs, the current RWKV support in transformers is incompatible.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

https://huggingface.co/StarRing2022/RWKV-4-World-1.5B
@StarRing2022
Repository: PowerToys
Issue: [Mouse Jump] Align the jump preview with the mouse's current position
Labels: Needs-Triage

### Description of the new feature / enhancement

When you open the jump preview, the mouse's position relative to the preview does not match its current position.
Currently, if you open the preview and click without moving the mouse, it will always move you to the center of the screen.

I would like it to be where opening mouse jump and clicking without moving will keep your mouse in the same position. It will make relative movements much easier.
This could be provided as an option in case some prefer the current behavior. Or maybe a separate activation shortcut could be provided so you could use both behaviors. This would allow you to easily choose between relative or global positioning by holding an extra modifier for example.

### Scenario when this would be used?

Every time you use mouse jump.

### Supporting information

_No response_
Repository: godot
Issue: `is_anything_pressed()` returns false if a key was pressed while the window was unfocused
Labels: bug,topic:porting,topic:input

### Godot version

4.1

### System information

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

### Issue description

Here you can see d appearing in the LineEdit, while `is_anything_pressed()` returns false.

https://github.com/godotengine/godot/assets/2223172/3cf4ff43-87e9-4442-8308-52ffd20b52fa

Magic?

(note that the bug is not directly related to `is_anything_pressed()` but to the underlying implementation that tracks pressed keys)

### Steps to reproduce

1. Add `is_anything_pressed()` check that runs continuously
2. Unfocus the window
3. Press and hold any key
4. Focus the window
5. The key is not detected

### Minimal reproduction project

N/A
Repository: godot
Issue: Collisions between CharacterBody2Ds fails to trigger is_on_ceiling() and is_on_floor() at the same time
Labels: discussion,topic:physics,topic:2d

### Godot version

4.1-stable

### System information

Windows 11

### Issue description

As the title says, if there are a top and a bottom collisions at the same time between 2 CharacterBody2D or between a CharacterBody2D + StaticBody2D (or AnimatableBody2D), only one of the two statuses (`is_on_floor()` or `is_on_ceiling()`) will be triggered.

For the tests, I used `physics ticks per second` + `max physics per frame` with the default value that came with godot 4.1, 60 and 8 respectively.

Even changing it to 480 and 64, rarely do the is_on_floor() and is_on_ceiling() trigger at the same time.

![ceiling_floor](https://github.com/godotengine/godot/assets/25422687/e0278701-be3e-4657-ab2e-9793272f6123)


![video_01](https://github.com/godotengine/godot/assets/25422687/14bf1680-05dd-4d0d-8e03-19b708e08365)


![video_11](https://github.com/godotengine/godot/assets/25422687/a83f0e08-ccc2-47d7-9c16-4b40e11f1ee0)


### Steps to reproduce

Create 2 or more CharacterBody2D, put them in a stack position, and try to retrive the value from `is_on_floor()` and `is_on_ceiling()` at the same time.

### Minimal reproduction project

[is_on_ceiling_test.zip](https://github.com/godotengine/godot/files/12062800/is_on_ceiling_test.zip)
Repository: rust
Issue: Functions using c_char show misleading "i8" instead of docs
Labels: T-rustdoc,A-rustdoc-ui

Take for example https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_ptr, which says the signature for `CStr::from_ptr` is:
```
pub unsafe fn from_ptr<'a>(ptr: *const i8) -> &'a CStr
```

The real signature uses `c_char` instead of `i8`, which is notably different because `c_char` can be either `i8` or `u8` depending on the platform. I had to follow the link to the source to make sure it was taking `*const c_char` and not an actual `*const i8`, which would have required a conversion.
Repository: yt-dlp
Issue: How to change back Date Modified after using --Parse-Metadata
Labels: bug,triage

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm asking a question and **not** reporting a bug or requesting a feature
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've verified that I'm running yt-dlp version **2023.07.06** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar questions **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Please make sure the question is worded well enough to be understood

```
-o "Audio/Commands/%(uploader)s/YT-DLP/%(title)s.%(ext)s"
-f "ba[ext=opus]/ba[ext=ogg]/ba[ext=mp3/]ba"
--mtime
--break-per-input
--parse-metadata "description:(?s)(?P<meta_lyrics>.+)"
--embed-thumbnail
--embed-metadata
```
I usually download song from soundcloud and the modified time before adding ``--parse-metadata`` was the upload date. But, eversince adding that optiom its gone to the time i downloaded the song. How could i get the date back

### Provide verbose output that clearly demonstrates the problem

- [ ] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [ ] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

_No response_
Repository: pytorch
Issue: Optimize PyTorch C++ part with Profile-Guided Optimization (PGO)
Labels: module: performance,module: internals,feature,triaged

### 🚀 The feature, motivation and pitch

Profile-Guided Optimization (PGO) helps a lot with optimizing different kinds of software based on runtime execution profiles.

PyTorch has a huge C++ [part](https://github.com/pytorch/pytorch/tree/main/torch/csrc) that could be optimized with PGO. E.g. compiler load and JIT. Similar projects like Clang, GCC, Rustc, CPython and others are already built with PGO and proved that PGO (and more advanced techniques like LLVM BOLT) can help here.

So would be great to see PGO results on PyTorch codebase. I am not familiar (at least yet) with the codebase but I think starting with optimizing the compiler is a good starting point. If you know a better place - please correct me. If anyone already tried to optimize these parts with PGO and has some results - would be great if you can share them here.

### Alternatives

Leave things as is.

### Additional context

More about real-life results of applying PGO on different kinds of software you can find (and more materials about PGO and other optimization techniques like LLVM BOLT) [here](https://github.com/zamazan4ik/awesome-pgo/).

cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh @msaroufim @anijain2305 @zou3519 @chauhang @wconstab
Repository: yt-dlp
Issue: How to force a conversion to a specific video codec?
Labels: enhancement,core:post-processor

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm asking a question and **not** reporting a bug or requesting a feature
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've verified that I'm running yt-dlp version **2023.07.06** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar questions **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Please make sure the question is worded well enough to be understood

`yt-dlp` supports a conversion to a specific video format using `--recode-video mp4`.  
It would be nice to also specify the codecs since the format alone can produce a bit of arbitrary results and may still produce an incompatible file.  
But how do I force a conversion to a specific video codec of the best available video if the codec is not already available but the format is?
Is there any way to force a ffmpeg postprocessor that replaces the video file?

I'm currently facing the problem that I can't fully support h265 (only h264 / libx264) and TikToks best formats are sometimes only available in h265. How do I download the best resolution and convert it to h264?

```
yt-dlp -S "res:1080,vcodec:h264,fps"  --recode-video mp4 --id -- 'https://www.tiktok.com/@feuerwehr_eschau/video/7254996214456864027'
# result: best video but H.265, no recode happening because already mp4

yt-dlp -S "res:1080,vcodec:h264,fps"  -f "bv[vcodec=h264]" --recode-video mp4 --id -- 'https://www.tiktok.com/@feuerwehr_eschau/video/7254996214456864027'
# ERROR: ... Requested format is not available.

yt-dlp -S "res:1080,vcodec:h264,fps"  -f "all[vcodec=h264]"  --recode-video mp4 --id -- 'https://www.tiktok.com/@feuerwehr_eschau/video/7254996214456864027'
# result: H.264 but not best video, no recode happening because already mp4

yt-dlp -S "res:1080,vcodec:h264,fps"  --postprocessor-args "VideoConvertor:-vcodec libx264 "  --recode-video mp4 --id -- 'https://www.tiktok.com/@feuerwehr_eschau/video/7254996214456864027'
# result: best video but H.265
# this should result in H.264, but VideoConvertor is skipped because already mp4
```

### Provide verbose output that clearly demonstrates the problem

- [ ] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [ ] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

_No response_
Repository: vscode
Issue: touch keyboard come up behavior
Labels: bug,confirmed,touch/pointer


Type: <b>Bug</b>

Hello,
can you introduce/fix into Visual Studio Code a touchscreen keyboard functionality similar to what Word has?
That is, do not come up on each (scrolling) touch.

Only come up on editing touch. Then, stay back until another editing touch.

I have many feature suggestions, to make VSC richer, better :).
Hire me to code on these :)

Best regards,
Petr Buben
petr.buben@live.com

VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:22:07.651Z)
OS version: Windows_NT x64 10.0.22621
Modes:

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

|Item|Value|
|---|---|
|CPUs|Intel(R) Celeron(R) N4020 CPU @ 1.10GHz (2 x 1094)|
|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: disabled_off<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|undefined|
|Memory (System)|3.81GB (0.44GB free)|
|Process Argv|--crash-reporter-id c7e4cd5c-d657-438e-bcc3-9d48b4c15bcb|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (26)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-astyle|chi|0.9.0
c-cpp-compile-run|dan|1.0.48
c-cpp-runner|fra|7.0.2
cmake-test-adapter|fre|0.17.1
remotehub|Git|0.60.0
vscode-pull-request-github|Git|0.68.1
vscode-test-explorer|hbe|2.21.1
better-cpp-syntax|jef|1.17.2
cpptask|kay|0.0.1
cortex-debug|mar|1.12.0
debug-tracker-vscode|mcu|0.0.15
memory-view|mcu|0.0.23
peripheral-viewer|mcu|1.4.6
rtos-views|mcu|0.0.7
vscode-ros|ms-|0.9.2
python|ms-|2023.12.0
vscode-pylance|ms-|2023.7.20
remote-wsl|ms-|0.80.2
azure-repos|ms-|0.36.0
cpptools|ms-|1.16.3
cpptools-extension-pack|ms-|1.3.0
makefile-tools|ms-|0.7.0
remote-repositories|ms-|0.38.1
test-adapter-converter|ms-|0.1.8
dsdl|uav|1.0.0
vscode-lldb|vad|1.9.2

(2 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30789497
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
pyind779:30671433
89544117:30613380
vscrpc:30673769
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30785052
pythongtdpath:30769146
bgfeh915:30780428
pythonnosmt12:30779714
pythonidxpt:30784022
pythonnocebcf:30776496
h7j2d465:30786200
dsvsc013:30789517

```

</details>

<!-- generated by issue reporter -->
Repository: kubernetes
Issue: the time interval between the createion of two StatefulSet pods is not equal to `spec.minReadySeconds`
Labels: kind/bug,sig/apps,priority/important-longterm,triage/accepted

### What happened?

When I try to create a statefulset with more than 2 replias(example as follows), the time interval between the creation of Pods is twice the value configured in `minReadySeconds`.

```bash
# k get po
NAME    READY   STATUS    RESTARTS   AGE
sts-0   1/1     Running   0          24s
sts-1   1/1     Running   0          4s
```
As we can see from the result, the time interval between the createion of these two pods is (24s-4s) = 20s, but in fact `spec.minReadySeconds` is 10 but not 20.
IIUR, the time interval between the createion of these two pods is equal to `spec.minReadySeconds`
```yaml
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: sts
spec:
  serviceName: "nginx"
  replicas: 2
  minReadySeconds: 10
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:latest
```

### What did you expect to happen?

the time interval between the createion of these two pods is equal to `spec.minReadySeconds`

### How can we reproduce it (as minimally and precisely as possible)?

yaml as above

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
# paste output here
```

</details>

Kubernetes v1.26.3

### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>