sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: PowerRename选择默认和上下文菜单，右键会显示两个”使用PowerRename重命名“
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

v0.85.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerRename

### Steps to reproduce

PowerRename选择默认和上下文菜单，右键会显示两个”使用PowerRename重命名“

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: pytorch
Issue: dead code in test that can be removed
Labels: module: tests,triaged

### 🐛 Describe the bug

In the https://github.com/pytorch/pytorch/blob/main/test/test_proxy_tensor.py, you will find a function block as below,
```
def test_unbacked_unify_dependency_violation(self):
        def f(x1, x2, x3, y):
            z1 = x1.item()
            torch._check(z1 // 9 == 1)
            z2 = x2.item()
            z3 = x3.item()
            torch._check(z1 == z2 + z3)
            return y * 2
            if z2 + z3 == z1:
                return y * 2
            else:
                return y + 3
```
as it has returned y*2 already, what is the following code want to do. it seems to be dead code that can not be reached, can we removed? 

### Versions

it is not related to env. it is in main branch

cc @mruberry @ZainRizvi
Repository: ui
Issue: [feat]: Include `sidebar` color schema on customizing theme
Labels: area: request

### Feature description

On the themes page for customizing themes, a sidebar color scheme is not available. I wish there was a sidebar color scheme that complements the rest of the theme. When I use the prompt `npx shadcn@latest add sidebar-08`, the default blue color does not match my color scheme.

### Affected component/components

_No response_

### Additional Context

_No response_

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: opencv
Issue: Text present in tutorial on Image Thresholding is misleading
Labels: category: documentation

### Describe the doc issue

The doc https://docs.opencv.org/4.x/d7/d1b/group__imgproc__misc.html#gaa9e58d2860d4afa658ef70a9b1115576 mentions that in simple thresholding, all the pixels greater than the threshold are changed to have the maximum value, whereas all the pixels having pixel value less than the threshold value are changed to 0.

<img width="666" alt="Screenshot 2024-10-23 at 9 55 13 AM" src="https://github.com/user-attachments/assets/2255da1d-1eee-4e62-b59f-f7c797e8c71b">


 However, in the tutorial here - https://github.com/opencv/opencv/blob/4.x/doc/py_tutorials/py_imgproc/py_thresholding/py_thresholding.markdown it is mentioned that " If the pixel value is smaller than the threshold, it is set to 0, otherwise it is set to a maximum value" which is technically wrong as it seems to state that the pixel value having value equal to the threshold will be set to maximum value. 

### Fix suggestion

_No response_
Repository: PowerToys
Issue: fancy zones will not work
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

v0.85.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

i press the ctrl+win+alt+0 and fancy zone appears for a moment and disappears. it will not let me utilize it

### ✔️ Expected Behavior

i press the ctrl+win+alt+0  and it allows me to direct windows to the zones i set up

### ❌ Actual Behavior

i press the ctrl+win+alt+0 and fancy zone appears for a moment and disappears. it will not let me utilize it

### Other Software

_No response_
Repository: pytorch
Issue: Fusion causes peak memory increase
Labels: triaged,oncall: pt2,module: inductor

### 🐛 Describe the bug

Here is an example that fusion causes peak memory increases with very marginal perf wins.

```
import torch
from triton.testing import do_bench

@torch.compile
def f(a, b, c):
    return (a @ c).sum(dim=-1) + (b @ c).sum(dim=-1)

a = torch.randn(1024 * 32, 16, device="cuda")
b = torch.randn(1024 * 32, 16, device="cuda")
c = torch.randn(16, 1024 * 32, device="cuda")

f(a, b, c)
torch.cuda.reset_peak_memory_stats()
ms = do_bench(lambda: f(a, b, c))
print(f"{ms=}")
peak_mem = torch.cuda.max_memory_allocated()
print(f"Peak mem {peak_mem / 1e9:.3f} GB")
```

By default Inductor will fuse these 2 reductions together. This requires the two large 4GB buffer (a@c) and (b@c) to be alive at the same time, which make the peak memory usage about 8GB. But if we don't fuse these 2 reductions, the buffer for (a@c) and (b@c) can be reused. The peak memory usage would be about 4GB.

A similar pattern is seen when we chunk the linear-cross-entroy-loss.

Metrics with fusion by default:
```
ms=7.721065044403076
Peak mem 8.886 GB
```

Metrics by not fusing the two reductions:
```
ms=7.749417781829834
Peak mem 4.591 GB
```



.

cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov
Repository: rust
Issue: ICE: `assertion failed: !t.has_escaping_bound_vars()'`
Labels: I-ICE,E-needs-test,T-compiler,C-bug,S-has-mcve,requires-debug-assertions,F-non_lifetime_binders

<!--
ICE: Rustc ./CE531F27BAC370E4FA505E07B618FBD85FECBEB77738643B2951F77EBE023A19.rs '' 'thread 'rustc' panicked at compiler/rustc_trait_selection/src/traits/select/mod.rs:643:21: 'assertion failed: !t.has_escaping_bound_vars()'', 'thread 'rustc' panicked at compiler/rustc_trait_selection/src/traits/select/mod.rs:643:21: 'assertion failed: !t.has_escaping_bound_vars()''
File: /home/gh-matthiaskrgr/tmp/im/CE531F27BAC370E4FA505E07B618FBD85FECBEB77738643B2951F77EBE023A19.rs
-->

auto-reduced (treereduce-rust):
````rust
#![feature(non_lifetime_binders)]

trait Trait<T: ?Sized> {
    type Assoc<'a> = i32;
}

fn produce() -> impl for<T> Trait<(), Assoc = impl Trait<T>> {
    16
}


````

original:
````rust
#![allow(incomplete_features)]
#![feature(non_lifetime_binders)]

trait Trait<T: ?Sized> {
    type Assoc<'a> = i32;

    fn with_assoc(f: impl FnOnce(Self::Assoc<'_>)) {
        f(5i32)
    }
}

fn produce() -> impl for<T> Trait<(), Assoc = impl Trait<T>> {
    //~^ ERROR associated type `Assoc` not found for `Trait`
    //~| ERROR associated type `Assoc` not found for `Trait`
    //~| the trait bound `{integer}: Trait<()>` is not satisfied
    16
}

fn main() {}

````

Version information
````
rustc 1.84.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.84.0-dev
LLVM version: 19.1.1

````

Command:
`/home/gh-matthiaskrgr/.rustup/toolchains/local-debug-assertions/bin/rustc `


<!--
query stack:
#0 [evaluate_obligation] evaluating trait selection obligation `{type error}: Trait<T>`
#1 [typeck] type-checking `produce`

-->
@rustbot label +F-non_lifetime_binders
Repository: yt-dlp
Issue: [ximalaya:album] The album listing data is incomplete
Labels: site-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 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

![ximalaya](https://github.com/user-attachments/assets/69463f7a-e48b-4f98-bb98-534b547e2961)
For each album, the number of downloaded videos is always incomplete. The total number was 915, but only 90 were downloaded

### Provide verbose output that clearly demonstrates the problem

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

### Complete Verbose Output

```shell
[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', '--dump-single-json', 'https://www.ximalaya.com/album/68192729']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.10.22 from yt-dlp/yt-dlp [67adeb7ba] (pip)
[debug] Python 3.12.7 (CPython x86_64 64bit) - Linux-5.4.160-3.el7.x86_64-x86_64-with-glibc2.31 (OpenSSL 3.3.2 3 Sep 2024, glibc 2.31)
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, mutagen-1.47.0, requests-2.32.3, sqlite3-3.46.1, urllib3-2.2.3, websockets-13.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1839 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.10.22 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.10.22 from yt-dlp/yt-dlp)
[debug] Using fake IP 36.175.239.82 (CN) as X-Forwarded-For
[ximalaya:album] Extracting URL: https://www.ximalaya.com/album/68192729
[ximalaya:album] 68192729: Downloading tracks list page 1
[download] Downloading playlist: 秀才家的小娇妻｜甜宠轻松&爆笑宅斗｜免费多人有声剧
[ximalaya:album] 68192729: Downloading tracks list page 2
[ximalaya:album] 68192729: Downloading tracks list page 3
[ximalaya:album] 68192729: Downloading tracks list page 4
[ximalaya:album] Playlist 秀才家的小娇妻｜甜宠轻松&爆笑宅斗｜免费多人有声剧: Downloading 90 items of 90
[debug] The information of all playlist entries will be held in memory
[download] Downloading item 1 of 90
```
Repository: PowerToys
Issue: cpu runs up on a remote host when locking rdp client
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

when locking screen with a remote desktop (which also has PowerToys installed and runing), the cpu runs at 30% usage avg, that's weird on a standby machine.
unlock machine with rdp client or exit PowerToys on remote host, everything seems alright.
has just updated PowerToys on both machine, when noticed the issue.
has telegraf installed, so the issue has be noticed

### ✔️ Expected Behavior

cpu stays cool on rdp host.

### ❌ Actual Behavior

_No response_

### Other Software

![Image](https://github.com/user-attachments/assets/e2c85075-f2f4-4181-b130-33a1e95a78e4)
telegraf recorded the strange cpu usage on standby remote host
Repository: vscode
Issue: After configured `editor.tokenColorCustomizations` , editor rolling type perception error
Labels: bug,typescript,grammar

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: 1.94.2(user setup)
- OS Version: Windows NT x64 10.0.19045

Steps to Reproduce:

After configured `editor.tokenColorCustomizations` , editor rolling type perception error

```json
"editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": ["comment", "constant", "storage", "keyword", "function", "entity.name.type", "entity.name.function"],
        "settings": { "fontStyle": "italic" }
      }
    ]
  }
```

Gif example

![Image](https://github.com/user-attachments/assets/7e67699a-61cd-4e18-b9fc-eac79aed15f4)
Repository: tauri
Issue: [bug] setIgnoreCursorEvents( ) not work 
Labels: type: bug,status: needs triage

### Describe the bug

I created a webview window with button click in main window, but can't do mouse click through the webview window with `setIgnoreCursorEvents(true)`, even when the appwindow is also set.   I'm working on win10.

### Reproduction

1, In main window, there is a button to open a webview window
2, set webviewwindow to ignore cursor event.
```
<template>
   <div>
         <button @click="createChild"> Find Elements</button>
    </div>
</template>
```
```
<script setup lang=ts>
      import { appWindow, WebviewWindow } from "@tauri-apps/api/window";
      function createChild( )
      {
         const webview= new WebviewWindow('Childwidow',{url:'/page-a',width: 600,   height: 400, transparent:true,decorations:false}); 
         webview.once('tauri://created', function(e) { 
              webview.setIgnoreCursorEvents(true);
              appWindow.setIgnoreCursorEvents(true);
          });
      }
</script>
```
In page-a 
```
<template>
   <div>
       Hello, hello, hello, hello, hello
   </div
</template
<script setup lang="ts">   </script>
<style>
    html, body {
    background-color:  transparent;
    pointer-events: none;
  }
</style>
```

### Expected behavior

 Is there workaround to click through the webviewwindow, and at the same time script in webview window can get position of mouse cursor ?

### Full `tauri info` output

```text
Can't click through the webview window
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: vscode
Issue: Show minimap Only During Search
Labels: feature-request,editor-minimap

<!-- ⚠️⚠️ 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. -->

Add an option to display the minimap exclusively when a search is active, highlighting results, and hide it during normal editing.

Use Case:
The minimap is helpful for finding search results in large files but can clutter the workspace when not needed. This feature would keep it hidden by default and show it only during active searches.

Benefit:
A cleaner, distraction-free interface during regular work, with the minimap automatically appearing for search navigation.
Repository: kubernetes
Issue: The problem with the event recorder is that it runs (sic!) goroutines.
Labels: kind/cleanup,sig/node,needs-triage

The problem with the event recorder is that it runs (sic!) goroutines. That makes initializing it in the `Run` method more suitable because then there is a proper context for those goroutines (cancellation!).

What was problematic with https://github.com/kubernetes/kubernetes/commit/50c12437604b0cd5a73514389409fc2fde8b91bd was that it left the event recorder as field in the controller struct. Usage of that field in the event handler then became a runtime problem instead of a compile-time error.

If I were to do this again, I would probably remove the recorder field and turn it into a parameter of the functions called by `Run`.

_Originally posted by @pohly in https://github.com/kubernetes/kubernetes/issues/128179#issuecomment-2426723851_
Repository: godot
Issue: Compatibility mode breaks HDR on windows in exclusive fullscreen mode
Labels: bug,platform:windows,topic:rendering,topic:porting,confirmed,high priority

### Tested versions

Reproducable in:
- Godot 4.3 stable
- Godot 4.2.2 stable

### System information

Godot v4.3.stable - Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4080 (NVIDIA; 32.0.15.6094) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)

### Issue description

When an Compatibility application is switched do exclusive fullscreen and exited afterwards, Windows HDR will look washed out and is "broken" until it is switched off and on again in the Windows settings.

### Steps to reproduce

- Enable HDR in Display Settings in Windows.
- Start Godot project
- Exit Godot project

### Minimal reproduction project (MRP)

[HDR.zip](https://github.com/user-attachments/files/17487459/HDR.zip)
Repository: next.js
Issue: Cannot use 'import.meta' outside a module when using next.config.ts
Labels: bug,TypeScript

### Link to the code that reproduces this issue

https://github.com/hrougier/next15

### To Reproduce

1. Start the application in development (next dev)
2. See error in the console
3. Open `next.config.ts` to see the failing code.

### Current vs. Expected behavior

Following the steps from the previous section, I expected `import.meta.dirname` to be printed in the console (works when using next.config.js in ESM format instead of next.config.ts).

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
Binaries:
  Node: 20.18.0
  npm: 10.8.2
  Yarn: 1.22.22
  pnpm: 9.12.2
Relevant Packages:
  next: 15.0.1 // Latest available version is detected (15.0.1).
  eslint-config-next: 15.0.1
  react: 19.0.0-rc-69d4b800-20241021
  react-dom: 19.0.0-rc-69d4b800-20241021
  typescript: 5.6.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Developer Experience, TypeScript

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local)

### Additional context

Using `next.config.ts` with a `package.json` containing:
```json
{
  "type": "module"
}
```
Repository: pytorch
Issue: dynamic control flow failed
Labels: triaged,oncall: pt2

### 🐛 Describe the bug

```
import torch
import numpy as np

def test_controlflow():
    def is_scaled(val: np.ndarray) -> bool:
        return np.min(val) >= 0 and np.max(val) <= 1

    def process(val):
        # np.min(val) >= 0 and np.max(val) <= 1
        if is_scaled(val):
            val = val * 255
        val = val - np.mean(val, keepdims=True)
        return val

    val = np.random.rand(3, 224, 224)
    output = process(val)

    process_opt = torch.compile(process, dynamic=True)
    output_opt = process_opt(val)

    assert np.allclose(output, output_opt)

if __name__ == "__main__":
    test_controlflow()
```

When I ran the above code, torch compile reported an error that “Dynamic control flow is not supported at the moment”.  But if I call np.min and np.max directly in the process function instead of encapsulating them in the is_scaled function, every thing is ok。How can I resolve this problem? 

### Error logs

V1023 16:11:40.698000 139837258437760 torch/_dynamo/symbolic_convert.py:534] [0/0] [__graph_breaks] torch._dynamo.exc.UserError: Dynamic control flow is not supported at the moment. Please use functorch.e    xperimental.control_flow.cond to explicitly capture the control flow. For more information about this error, see: https://pytorch.org/docs/main/generated/exportdb/index.html#cond-operands

### Minified repro

_No response_

### Versions

torch.2.4.1

cc @ezyang @chauhang @penguinwu
Repository: go
Issue: cmd/go: go clean -cache silently ignores GOCACHE relative path
Labels: NeedsInvestigation,GoCommand

### Go version

go version go1.23.1 linux/amd64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/mneverov/.cache/go-build'
GOENV='/home/mneverov/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/mneverov/go/pkg/mod'
GOOS='linux'
GOPATH='/home/mneverov/go'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR='/home/mneverov/tmp'
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.1'
GODEBUG=''
GOTELEMETRY='on'
GOTELEMETRYDIR='/home/mneverov/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/mneverov/go/src/github.com/mneverov/ingress-nginx/go.mod'
GOWORK='/home/mneverov/go/src/github.com/mneverov/ingress-nginx/go.work'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/home/mneverov/tmp/go-build82578650=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

GOCACHE='.cache' go clean --cache

### What did you see happen?

No output. Neither default gocache directory nor ".cache" directory cleaned up.

### What did you expect to see?

Error or empty `.cache` directory.
Repository: vscode
Issue: Dragging a view or tab could show grabbing hand
Labels: feature-request,polish,workbench-dnd

Maybe depends on the platform, but I liked how on GH I get a grabbing cursor when dragging a tab around:

![Image](https://github.com/user-attachments/assets/79821766-d034-4986-93c1-9c80b0a4b461)
Repository: tauri
Issue: [feat] Can tauri transform mouse event to touch event?
Labels: type: feature request

### Describe the problem

The software I need to develop may not have a keyboard or mouse, so I need to enable touch events, similar to the mobile emulator of the browser.
I saw in electron that it can be enabled by webContents.debugger
[https://stackoverflow.com/questions/46295772/can-electron-webview-transform-mouse-event-to-touch-event](url)

### Describe the solution you'd like

Provide API or configuration to set the touch event or mouse event of webview

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: folder naming
Labels: Needs-Triage

### Description of the new feature / enhancement

Would it be possible to add date characters so that the folder would be created with a specific name, for example {YYYY}{MM}{DD} -

### Scenario when this would be used?

Would it be possible to add date characters so that the folder would be created with a specific name, for example {YYYY}{MM}{DD} -

### Supporting information

_No response_
Repository: PowerToys
Issue: Fancy Zones: Move newly created windows to the current active monitor (Experimental) - Text Extractor.
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

TextExtractor

### Steps to reproduce

When activating the following toggle in Fancy Zones:
Move newly created windows to the current active monitor (Experimental), the text extractor doens't work anymore. When using multiple screens with multiple scalings, the screens overlap, like it gets confused what was visualized on what screen. 

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_