sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: yt-dlp
Issue: [youtube] livestream download is often interrupted
Labels: question,external issue,site:youtube

### 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 have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [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

I've noticed that the stream download is often interrupted and I have to run the same command again:
`yt-dlp --no-live-from-start https://www.youtube.com/@.../live -o "1.%(ext)s"`
```
[out#0/mpegts @ 0000012fc6fb8040] video:29377kB audio:2038kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.421512%
size=   33118kB time=00:02:07.97 bitrate=2120.0kbits/s speed=0.955x
[download] 100% of   32.34MiB in 00:02:15 at 244.46KiB/s
[FixupM3u8] Fixing MPEG-TS in MP4 container of "1.mp4"
```
Is there anything I can do about this?

### 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: ui
Issue: [bug]: Prevent back navigation when Drawer or sheet is open
Labels: bug

### Describe the bug

When the drawer or sheet component is open the back button in browser ( or any button or gesture which leads to navigate back for ios and android devices ) makes the router navigate back which i think the expected behavior is to prevent the user from navigating back or just close the drawer/sheet which is opened.

### Affected component/components

Drawer, sheet

### How to reproduce

In the shadcn website , use the drawer example and just hit the browser back button.

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Any browser on any device
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: Implement a toy that saves the position of the Windows "Run" Dialogbox
Labels: Idea-New PowerToy,Product-Window Manager

### Description of the new feature / enhancement

Currently when you open the Windows "Run" command (Windows Key + R) it always opens in the lower left corner. This behavior does not change when you change the position of the start menu from left to center.

From a usability perspective it would be great if the run command dialog box would follow the start menu setting. But it doesn't. A feedback item for this also exists, but obviously nobody cares... https://aka.ms/AAdcnh4

Maybe the powertoys team could implement a feature to "save" the position of the run dialog box or let use configure a default, etc.

### Scenario when this would be used?

Everytime a user changes the position of the start menu. The run dialog box should follow the setting.

### Supporting information

_No response_
Repository: PowerToys
Issue: A feature for the user to decide whether Fancyzones will ignore or preserve space for the taskbar
Labels: Needs-Triage

### Description of the new feature / enhancement

Adding an option that will allow the user to change if Fancyzones takes into account the space for the taskbar irrespective of the "Automatically hide the taskbar" setting.

### Scenario when this would be used?

Some people are getting a bug where the window snaps behind the taskbar, hiding a part of the window, which was fixed but apparently is again being encountered by some people.

I personally want the snapped window to be behind the taskbar because I use other mods like RoundedTB and TranslucentTB and there is extra space that I can use for the window plus the program is not particularly happy when "Automatically hide the taskbar" is enabled. 

### Supporting information

[This is the bug I was talking about](https://www.reddit.com/r/PowerToys/comments/1e28v4c/fancyzones_doesnt_care_about_the_taskbar_how_to/)

Plus there are many old threads in the repository's issues section like [this](https://github.com/microsoft/PowerToys/issues/19066) and [this](https://github.com/microsoft/PowerToys/issues/19946)
Repository: godot
Issue: SpinBox with inner LineEdit having "expand_to_text_length = true" does not tell the parent container to sort its children when the SpinBox's size changes
Labels: bug,topic:gui

### Tested versions

- Reproducible in: v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Ti SUPER (NVIDIA; 32.0.15.6094) - 13th Gen Intel(R) Core(TM) i5-13600K (20 Threads)

### Issue description

SpinBox and LineEdit show inconsistent behaviour inside a container when `expand_to_text_length` is `true`, like an HBoxContainer:
![image](https://github.com/user-attachments/assets/8e7834ba-3a32-4dc4-9b3f-71ed7adb34cc)
The SpinBox does not make its parent HBoxContainer sort its children, so it clips into the label which is placed after it. The LineEdit correctly makes its parent HBoxContainer sort its children, so the Label is moved and does not overlap with the LineEdit.
I expect SpinBox to work like LineEdit in this case.

### Steps to reproduce

1. Load and run the minimal reproduction project.
2. Type a sufficiently long number into the SpinBox such that the size expands.
3. Type the same text into the LineEdit.

### Minimal reproduction project (MRP)

[spin-box-in-container.zip](https://github.com/user-attachments/files/17607056/spin-box-in-container.zip)
Repository: PowerToys
Issue: Fancy zones - zone focus
Labels: Needs-Triage

### Description of the new feature / enhancement

Make it so that you can focus specific zones with a keyboard shortcut instead of alt+tab for a specific window. I think this would be a great combo with the existing win+pgUp / win +pgDown. For example let's say (just an example, I'm not sure if the shortcut would interfere with something else) Alt + Tab + 1 would focus the first window in zone 1.

### Scenario when this would be used?

Let's say I'm using zone 1, and want to quickly take a note in an app that is in zone 2. Without Alt + Tab and browsing my 10-15 tabs, I could use a shortcut to trigger zone 2, and shift window focus to it, without using a mouse.

### Supporting information

No supporting information to submit.
Repository: pytorch
Issue: Bug in conversion to mps with non_blocking=True
Labels: high priority,triaged,module: correctness (silent),module: mps

### 🐛 Describe the bug

The following code fails:
```python
import torch

a = torch.tensor([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])

a = a.to("mps", non_blocking=True)
print(a)
```
Resulting tensor has random values here and there, something like
```
tensor([               6,                1,                2,                3,
                       4,                5,                6,                7,
                       8, 1688849860263945], device='mps:0')
```

### Versions

PyTorch version: 2.5.1
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 14.7.1 (arm64)
GCC version: Could not collect
Clang version: 16.0.0 (clang-1600.0.26.4)
CMake version: version 3.30.5
Libc version: N/A

Python version: 3.10.15 (main, Oct  3 2024, 02:24:49) [Clang 14.0.6 ] (64-bit runtime)
Python platform: macOS-14.7.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 M3 Max

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.5.1
[pip3] torchvision==0.20.1
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] torch                     2.5.1                    pypi_0    pypi
[conda] torchvision               0.20.1                   pypi_0    pypi

cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen
Repository: rust
Issue: rustc accepts types requiring a greater-than-48-bit address space
Labels: T-compiler,A-layout,C-discussion

<!--
Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to.

Please provide a short summary of the regression, along with any information you feel is relevant to replicate it.
-->

### Code

I tried this code:

```rust
use std::mem::size_of;

pub fn main() {
    assert_eq!(size_of::<[u8; (31 << 47) - 1]>(), (1 << 47) - 1);
}
```

I expected to see this happen: *rustc rejects the code*

Instead, this happened: *rustc-nightly accepts it.*

### Version it worked on

It most recently worked on: Rust 1.82
```console
% rustc test.rs
error[E0080]: evaluation of constant value failed
  --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/mem/mod.rs:309:5
   |
   = note: values of the type `[u8; 4362862139015167]` are too big for the current architecture
   |
note: inside `std::mem::size_of::<[u8; 4362862139015167]>`
  --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/mem/mod.rs:309:5
note: inside `main`
  --> src/main.rs:10:16
   |
10 |     assert_eq!(size_of::<[u8; (31 << 47) - 1]>(), (1 << 47) - 1);
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

note: erroneous constant encountered
  --> src/main.rs:10:5
   |
10 |     assert_eq!(size_of::<[u8; (31 << 47) - 1]>(), (1 << 47) - 1);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this note originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0080`.
%
% rustc --version --verbose
rustc 1.82.0 (f6e511eec 2024-10-15)
binary: rustc
commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
commit-date: 2024-10-15
host: x86_64-unknown-linux-gnu
release: 1.82.0
LLVM version: 19.1.1
%
```

### Version with regression


```console
% rustc test.rs
%
% rustc --version --verbose
rustc 1.84.0-nightly (a0d98ff0e 2024-10-31)
binary: rustc
commit-hash: a0d98ff0e5b6e1f2c63fd26f68484792621b235c
commit-date: 2024-10-31
host: x86_64-unknown-linux-gnu
release: 1.84.0-nightly
LLVM version: 19.1.1
%
```
Repository: PowerToys
Issue: Keyboard Manager - Remap a shortcut fails
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Remap a key works great.

Remap a shortcut fails many times

Was not able to successfully setup a shortcut for run a program Edge browser
Was not able to successfully setup a shortcut for run a program MS VS Code

Was successful to setup by right clicking  shortcut icon on taskbar so it is possible just not possible in Remap a shortcut in powertoys

### ✔️ Expected Behavior

Press shortcut combo and activate program

### ❌ Actual Behavior

Mouse indicates hourglass for a little bit then nothing

### Other Software

_No response_
Repository: go
Issue: cmd/compile: declare and assign of function literal escapes to heap
Labels: Performance,NeedsInvestigation,compiler/runtime

### Go version

1.23.2

### Output of `go env` in your module/workspace:

```shell
go env
GO111MODULE='on'
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/user/Library/Caches/go-build'
GOENV='/Users/user/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/user/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/user/go'
GOPRIVATE=''
GOPROXY='https://goproxy.cn,direct'
GOROOT='/opt/homebrew/opt/go/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='local'
GOTOOLDIR='/opt/homebrew/opt/go/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.23.2'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/user//Library/Application Support/go/telemetry'
GCCGO='gccgo'
GOARM64='v8.0'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD='/Users/uesr/github/gorecycler/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/5b/483w2_yd7wn5x962q5hvrzkc0000gn/T/go-build271930357=/tmp/go-build -gno-record-gcc-switches -fno-common'
```


### What did you do?

when declare an closure and assign in separate lines the local variable escape:
```go
        var someFunc func(assignF func())
	someFunc = func(assignF func()) {
		assignF()
	}
	num := testing.AllocsPerRun(1, func() {
		i := 0 // i escaped
		someFunc(func() {
			x := i
			if x < 0 {
				// do nothing, just make x valid
			}
		})

	})

```

but when declare the closure in one statement, it does not escape:

```go
       var someFunc = func(assignF func()) {
		assignF()
	}
	num := testing.AllocsPerRun(1, func() {
		i := 0 // i does not escaped
		someFunc(func() {
			x := i
			if x < 0 {
				// do nothing, just make x valid
			}
		})

	})
```


escape : https://go.dev/play/p/r36WtbRaJtf 
not escape: https://go.dev/play/p/2u-ydl00_0i

### What did you see happen?

The local variable i does not escape  in one code block but escaped in another code block.

### What did you expect to see?

The variable `i` should not escape in both code blocks.
Repository: PowerToys
Issue: Use common source (databinding) for both Settings and OOBE Nav
Labels: Area-User Interface

### Description of the new feature / enhancement

Let's use one source for the data to build the Navigation in both the Settings window and the OOBE window.
See examples in <a href="winui3gallery://item/NavigationView">WinUI Gallery</a> or https://learn.microsoft.com/windows/apps/design/controls/navigationview

### Scenario when this would be used?

Consistent, centralized code and consistent UX

### Supporting information

Also think of the UI strings: with one source, we can use one and the same string for every **MenuItem**. This will prevent new issues with translations or possibly different strings for the same item. Related to #32479
Repository: go
Issue: x/tools/gopls: high cpu usage all the time
Labels: NeedsInvestigation,gopls,Tools,gopls/imports

### gopls version

0.16.2

### go env

```shell
GO111MODULE=''
GOARCH='arm64'
GOBIN='/Users/matthew/.local/share/mise/installs/go/1.22.3/bin'
GOCACHE='/Users/matthew/Library/Caches/go-build'
GOENV='/Users/matthew/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS='-buildvcs=false'
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/matthew/go/pkg/mod'
GONOPROXY='github.com/customerio/*'
GONOSUMDB='github.com/customerio/*'
GOOS='darwin'
GOPATH='/Users/matthew/go'
GOPRIVATE='github.com/customerio/*'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/matthew/.local/share/mise/installs/go/1.22.3'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/matthew/.local/share/mise/installs/go/1.22.3/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.22.3'
GCCGO='gccgo'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/matthew/services/go.mod'
GOWORK=''
CGO_CFLAGS='-I/Users/matthew/.local/lib/foundationdb/7.3.26/usr/local/include'
CGO_CPPFLAGS='-I/Users/matthew/.local/lib/foundationdb/7.3.26/usr/local/include'
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-L/Users/matthew/.local/lib/foundationdb/7.3.26/usr/local/lib'
PKG_CONFIG='/opt/homebrew/bin/pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/md/zrgmx7p53159906_lsrbfykc0000gn/T/go-build2676139738=/tmp/go-build -gno-record-gcc-switches -fno-common'
```


### What did you do?

open cursor on a go project. goplus is constantly at 200-400% cpu, even if I'm not doing anything.

### What did you see happen?

high cpu usage.

### What did you expect to see?

not high cpu usage.

### Editor and settings

_No response_

### Logs

_No response_
Repository: vscode
Issue: VS Code Installer Stops Interacting With Windows (Hangs) on Windows 11 24H2 (Reproducible Every Single Time At-Will)
Labels: bug,install-update,windows

Does this issue occur when all extensions are disabled?: Not Applicable (N\A)

VS Code Version: 1.93 or after (Same result if attempt to install VS Code via Microsoft Store or winget; installs fail)
Edition	Windows 11 Pro
Version	24H2
Installed on	‎9/‎6/‎2024
OS build	26100.2033
Experience	Windows Feature Experience Pack 1000.26100.23.0


**Steps to Reproduce:**

Clean install Windows 11 24H2 on system or use production Windows 11 24H2 system (do NOT use Virtual Machine)

Download VS Code installer (beginning with version 1.93.1 and thru current 1.95.1) to test or production system

Execute VS Code installer

VS Code installer hangs at "Preparing to Install: Setup is preparing to install..."

Cannot cancel install; selecting Cancel button does not work - must terminate install via End Task in Task Manager

Windows 11 24H2 generates WER

Repeat test by attempting install via Microsoft Store and winget; VS Code install hangs and fails with Windows Error Reports

Partial snippet of Windows Error Report (WER):

FriendlyEventName=Stopped responding and was closed
ConsentKey=AppHangXProcB1
AppName=Setup//Uninstall
AppPath=C:\Users<user>\AppData\Local\Temp\is-B0ENK.tmp\VSCodeSetup-x64-1.95.1.tmp
ReportDescription=A problem caused this program to stop interacting with Windows.
Repository: deno
Issue: All npm packages aren't working properly on Deno | Deno terminates process when page.jsx file content is deleted in Next.js app
Labels: needs investigation,node compat

I'm developing a Next.js application using Deno, and I’ve encountered a consistent issue. If I accidentally delete all content in the page.jsx file—including the default export function—by pressing backspace, Deno immediately terminates the process. This requires me to restart the server each time using deno run dev.

I've replicated the issue multiple times, and each time the result is the same. Interestingly, when I switch to using npm, the application continues running without interruption, and Next.js logs an error indicating that there's no default export in page.jsx, but it doesn’t halt the application.

I’d be happy to provide further details, and I can share a video if that would help illustrate the issue more clearly.

Steps to Reproduce:

1 . Start the Next.js app with Deno.
2. Open any page.jsx and write something. then show the preview in the browser.
3. Delete all content in the file, including the default export function.
4. Observe that Deno terminates the process instead of handling the error gracefully.
Repository: godot
Issue: Particles jitter in a SubViewport with "snap 2D transforms to pixel" enabled
Labels: bug,needs testing,topic:2d,topic:particles

### Tested versions

- reproduced in: 4.3 stable, 4.2.2 stable, 4.2.1 stable

### System information

macOS, any renderer

### Issue description

Our game uses a "low res game, high res UI" setup, so the game is in a SubViewport with "snap 2D transforms to pixel" enabled. Any particles in this viewport (CPU or GPU) will jitter if moving by non-integer values and local coords is off. The transform snap setting is the culprit, and there is no jitter with vertex snapping enabled instead.


https://github.com/user-attachments/assets/4be4e573-5561-474c-9d38-484cc8f2b61f



### Steps to reproduce

Add a particles node inside a SubViewportContainer -> SubViewport, enable transform snap on the viewport. Move the particles by a non-integer amount each frame, and jitter will occur.

In MRP I've set stretch shrink to 3 to make jitter more obvious, and because we use this in our game, but it's not needed.

### Minimal reproduction project (MRP)

[viewport-particle-jitter.zip](https://github.com/user-attachments/files/17607567/viewport-particle-jitter.zip)
Repository: opencv
Issue: [Feature flags]Seeking Guidance on OpenCV Feature Flag Design and Best Practices
Labels: feature

### Describe the feature and motivation

I’d like to learn from OpenCV’s experience in designing feature flags to enable custom implementation. Could you help me resolve the following questions, or provide related resources for my reference:

* 1. How does OpenCV design feature flags? What principles does it follow?
* 2. How should feature flags be used in the source code to prevent interference among them? Are there specific rules, constraints, or even clever techniques?
* 3. In testing, how can one ensure that all combinations of feature flags do not introduce bugs? Does it require testing every possible combination, or are there alternative assurances?

Thx a lot 🆘 

### Additional context

_No response_
Repository: vscode
Issue: VS Code Insiders (zipped) ignoring Portable Mode
Labels: under-discussion,portable-mode

<!--<!-- ⚠️⚠️ 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/No

<!-- 🪓 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.96.0-insider
  Commit: 19fabc20e35c89915c772116503a079554166a3f
  Date: 2024-11-01T16:46:43.216Z
  Electron: 32.2.1
  ElectronBuildId: 10427718
  Chromium: 128.0.6613.186
  Node.js: 20.18.0
  V8: 12.8.374.38-electron.0
  OS: Windows_NT x64 10.0.22631
 
- OS Version: Windows 1 1 Enterprise 64-bit
  OS build: 22631.4317

### Steps to Reproduce:

1. Download zip version of VS Code Insiders.  **(Downloaded @ 11:30 AM CST 11/02/2024)**
2. Unzip and immediately create data folder inside of the unzipped folder's root directory.
3. Create a tmp folder inside of the data folder
4. Run Code.

Results:

![Image](https://github.com/user-attachments/assets/4b5c85e9-c103-49a0-83f3-40e99928432a)