sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Drag'n'drop code in Debug Watch list
Labels: feature-request,debug

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

This feature exists in IntelliJ IDEA and I'm very fond of it and use it a lot, so if it's missing in VSCode
I think it should be added (and I think not so hard to implement)

So basically if you run a debugger and it's stopped at some point you can drag'n'drop some code into the debugger watch list

I've recorded a video of how it works in RubyMine (ruby IDE based on IntelliJ IDEA) and hot it's not working in VS Code ):

https://user-images.githubusercontent.com/668524/203058698-a878bcd9-6686-4c6b-ab14-7163fe4f56ce.mp4
Repository: stable-diffusion-webui
Issue: [Feature Request]: Training result evaluation component
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Use the files saved in the embedding training process to generate tables under different tag and seeds to compare their differences. Through the quick manual scoring of thousands of pictures in the table, we can find out the steps of the best training results.

### Proposed workflow

1.Generate a large number of images for comparison according to the input seed and tag.
2.Provides the ability to quickly and manually filter completely unacceptable pictures.
3.Provide the function of quickly and manually filtering out excellent pictures.
4.Automatically score the training results of each step according to the entered scoring rules.

### Additional information

I now use the xy plug-in and Photoshop to rate the results of each round of training. It is very inefficient to manually evaluate nearly 1000 pictures each time.
Repository: PowerToys
Issue: Allow "pass through" of command line arguments with windows search plugin of PT run
Labels: Product-PowerToys Run,Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

PT runs program plugin, allows the use of `--` which passes everything after `--` to the executed program as command line arguments. I'd also like to see this functionality in the windows search plugin which doesn't seem to offer this ATM.

### Scenario when this would be used?

I have a rather large personal library of utility scripts which consist mostly of `*.bat`, `*.ahk` and some compiled `*.exe` files. Those files are included in my windows search index and are therefore accessible via PT runs windows search plugin.

Some of those scripts  provide different options/modifiers/etc via command line arguments which I can't use directly with PT run ATM. I therefore created some explicit links which provide those cmd line args. Those extra lnk files have the negative side effect that they clutter my search results a bit. Also they add some "maintenance overhead" to my library.

Example:
* Complied AHK script `Open GitHub.exe` which opens `www.github.com` in my browser
* Opens the URL in Firefox by default, but accepts a cmd line arg `ch` to open in Chrome
* ATM, I created a dedicated `Open GitHub in Chrome.lnk` which calls `Open GitHub.exe ch` to open GitHub in Chrome
* Searching for `Open GitHub` in PT run yields 2 results ATM:
  * `Open GitHub.exe`
  * `Open GitHub in Chrome.lnk`

This is ok(ish) so far but gets worse quickly as soon as I'd like to add more arguments to the script. E.g. I'd like to add an option to open the page in a private window. To have all possible options available in PT run, I'd need to create the following files then:
* `Open GitHub.exe`
* `Open GitHub in Firefox Private.lnk`
* `Open GitHub in Chrome.lnk`
* `Open GitHub in Chrome Private.lnk`

A better way for me would be to have access to the arguments directly in PT run, as I wouldn't have to create the 3 extra links but could simply write `Open GitHub -- ch private` etc.

### Supporting information

_No response_
Repository: opencv
Issue: Simulator arm64 framework build failed
Labels: bug,category: build/install,platform: ios/osx

### System Information

OpenCV -> master/4.x
Python -> 3.10.8

**M1 config**
Operating System / Platform -> macOS Ventura 13.0.1
Compiler -> Xcode 14.1

### Detailed description

Following (https://github.com/opencv/opencv/issues/21926#issuecomment-1177596223)

The error I got is:

``` 
error: Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended). (in target 'CompilerIdC' from project 'CompilerIdC')
```

from `CMakeError.log`

### Solution (maybe?)

The idea I got is:
`disable code signing` 
(which I've already done in other projects that use CocoaPods, the error, if you can call it that, is due to the new compiler in Xcode 14)

I searched around a bit and did some tests but I can't get CMake to digest an instruction like this
```xcodebuild clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO```

however, I got the framework for iphoneOS platform.

Any suggestions? anyway thanks for your work!

### 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
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: godot
Issue: Single quotes in Strings are unnecessarily escaped when printing an array of Strings
Labels: bug,topic:core

### Godot version

4.5.beta5

### System information

Irelevant

### Issue description

There is inconsistent bevaior in printing Strings.
The String are escaped when they are inside an Arrays or Dictionaries and that might cause some confusion.

```gdscript
print(" 'hello' ") # 'hello'
print([" 'hello' "]) # [" \'hello\' "]

print([" 'hello' "]) # [" 'hello' "] - this is how I would expect it to be printed
```

The quotation of the String inside Arrays is great, but keeping it unescaped would make more sense IMO

### Steps to reproduce

Print any unescaped text by itself and then iside an Array or Dictionary

### Minimal reproduction project

Run this code inside a function of your choice

```gdscript
print(" 'hello' ") # 'hello'
print([" 'hello' "]) # [" \'hello\' "]
```
Repository: godot
Issue: Cannot set a FileDialog property within the Editor, from a node in the scene
Labels: bug,topic:editor

### Godot version

v4.0.beta5.mono.official [89a33d28f]

### System information

Windows 10

### Issue description

It is no longer possible to set a FileDialog property to an existing FileDialog in the scene, from within the editor.


### Steps to reproduce

In Godot 4 beta4:
A node in a scene has a [Export](ed) property of type FileDialog
![image](https://user-images.githubusercontent.com/4235433/203080006-9ae5bd15-632a-4d39-8431-d97f565631e9.png)

which was set through the editor (using beta4.mono) to a FileDialog node in the same scene.
![image](https://user-images.githubusercontent.com/4235433/203080048-b986d950-ceff-40dd-823e-397257fa3467.png)

When opening the project with beta5:

The property is no longer set.
![image](https://user-images.githubusercontent.com/4235433/203080358-c1edcc6d-44da-4bfa-b781-d744c9a58cbd.png)

And when clicking on it, it does not let me pick elements from the scene, but offers the long list of "new" things, but there's no way to pick a node from the current scene.
![image](https://user-images.githubusercontent.com/4235433/203080404-990ffc96-86c8-41bf-8e3a-64f7e7889f56.png)




### Minimal reproduction project

[Minimal FileDialog problem.zip](https://github.com/godotengine/godot/files/10057349/Minimal.FileDialog.problem.zip)
Repository: godot
Issue: Subresource updates don't change resource file icons
Labels: bug,topic:editor

### Godot version

4.0 beta 5

### System information

Ubuntu 22.04.1 LTS

### Issue description

When a resource is updated, its icon changes, but those changes don't propagate to resources that own it.

Here is a Gradient, used as a subresource for a few textures

![image](https://user-images.githubusercontent.com/85438892/203080151-c43b517a-a89d-4d33-b231-352e9febdcce.png)

If the Gradient is changed, its icon gets updated, but not the other resources.

![image](https://user-images.githubusercontent.com/85438892/203080411-caf9c2c3-ee8f-4f42-b132-ec276e6e66a0.png)

If the Gradient is modified as a subresource, only that main resource will update.

### Steps to reproduce

1. Create Gradient and save it.
2. Create GradientTexture1D, use the Gradient for it, and save the GradientTexture1D.
3. Play around with updating the two resources.

### Minimal reproduction project

I could drop them, but the reproduction steps are trivial and take like 15 seconds
Repository: godot
Issue: Vulkan: Heavy 3D scene (25M+ primitive indices) performs significantly slower in 4.0 compared to 3.5
Labels: discussion,topic:rendering,confirmed,topic:3d,performance

### Godot version

4.0 beta 5 & 3.5.1 stable

### System information

Windows 11, Vulkan, GTX 1050 Ti 526.98

### Issue description

The Stable release seems to run on avg about twice as fast as the 4.0 across various identical scenes, using only the features that are the same among the two branches (so no mesh lod, no ssao, ssr, occlusion culling or anything like that, just meshes and lights with no effects)

in the MRPs provided below, the converted and adjusted to match the original with 4.0 is getting 30-34 FPS depending on the renderer used @ 100% gpu utilization, while 3.5 is getting 60 fps @ 85% gpu utilization

### Steps to reproduce

Test the Same Scenes across 3.5 and 4.0

### Minimal reproduction project

[4.0.zip](https://github.com/godotengine/godot/files/10057495/4.0.zip)
[3.5.zip](https://github.com/godotengine/godot/files/10057500/3.5.zip)
Repository: vscode
Issue: Terminal decorations left behind after watch program (eg. tsc), cls, clear, etc. clears the terminal
Labels: bug,terminal-shell-integration

- In vscode-jupyter run `npm run compile` (not a task)

Get this decoration left behind
<img width="527" alt="image" src="https://user-images.githubusercontent.com/323878/203086571-bfe42701-68ab-45ee-a527-2b15e74449d9.png">
Repository: rust
Issue: Tracking issue: convert library-testing ui tests to unit tests
Labels: C-tracking-issue,T-libs

We generally prefer library features to be tested as unit tests, not ui tests: this clearly separates things testing the compiler from things testing the library, and also ui tests are easier and faster to run and they are formatted, checked, and linted together with the rest of the library more easily. Also our unit tests are actually run by Miri, but ui tests are not (and it's much harder to do so).

AFAIK some existing tests have already been converted, but I don't know if this was ever done systematically.
- Identify which parts of the ui test suite are really just testing the library
- Convert them to regular unit tests if possible
  - it might not be possible for deliberately failing tests -- some of them might become `compile_fail` doc tests, but this does not always make sense
- Properly document this policy and find some way to reduce the chance of new such tests being added

Cc @rust-lang/libs -- AFAIK this has already been policy for a while? @thomcc said there is no tracking issue though so here we go. :D
Repository: stable-diffusion-webui
Issue: [Feature Request]: Error Allocating Memory on limited memory GPU's
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits



### What would your feature do ?

Solve the max_split_mb error with tensor flow. 

![Error](https://user-images.githubusercontent.com/33903491/203092635-2dac4b52-f8b6-4c50-9296-d6f02256cba4.png)

The problem is that when working with older GPU's they have limited memory therefore when using a large dataset the program crashes.

Using a split array feature in the code will be able to use CUDA functions on the data no matter how large the data is.

### Proposed workflow

The feature will be native, when working with CUDA API there is a function call which allows you to access the memory size of the device and then use that to compare it with the size of your array filled with data.

Here is a report project I worked on which implements a similar function. It specifically targets large data sets splits them up and calculates them on the GPU.
 
[Report.pdf](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/10057751/Report.pdf)


### Additional information

_No response_
Repository: rust
Issue: rust-gdb should detect gdb version and warn if UX is expected to be poor
Labels: WG-debugging

(Spawned off of #63436)

During wg-debugging triage, I mused that it might be good to pro-actively tell users if their gdb version is so old that its known to yield sub-par debugging experiences for `rust-gdb`.
Repository: pytorch
Issue: The problem caused by the parameter dim of torch.norm
Labels: module: error checking,triaged,module: edge cases

### 🐛 Describe the bug

pytorch1.12.1

    code 1 : The test code dim=False, but the thrown exception describes dim as a list.
    
        import torch
        input = torch.rand([5, 5, 5], dtype=torch.float64)
        out = torch.norm(input, p='fro', dim=False, keepdim=False, out=None, dtype=None)
        print(out)
    
    result:    TypeError: frobenius_norm(): argument 'dim' (position 2) must be tuple of ints, not list


    code 2 : The test code dim=False, the exception thrown is correct.
    
        import torch
        input = torch.rand([5, 5, 5], dtype=torch.float64)
        out = torch.norm(input, p='fro', dim="False", keepdim=False, out=None, dtype=None)
        print(out)
    
    result: TypeError: frobenius_norm(): argument 'dim' (position 2) must be tuple of ints, not str


pytorch1.8.0

    code 1 : In the pytorch1.8 version, dim is still set to False, and the program can run successfully, because the program automatically treats False as a value of 0..
    
          import torch
          input = torch.rand([5, 5, 5], dtype=torch.float64)
          out = torch.norm(input, p='fro', dim=False, keepdim=False, out=None, dtype=None)
          print(out)
    
    result:    tensor([[1.3522, 1.1940, 0.7555, 1.3410, 1.3593],
                  [1.0926, 1.0986, 1.3429, 1.0170, 1.1915],
                  [1.1807, 1.4252, 1.5389, 1.2257, 1.5626],
                  [1.5249, 0.9933, 1.2927, 1.7106, 1.6482],
                  [1.1870, 1.0370, 1.6912, 1.0616, 1.0801]], dtype=torch.float64)


Question 1: Why is False treated as a list in the first test code?
Question 2: Why can’t False be treated as a value of 0 on a higher version, because when compiled according to the bottom layer of python, False will be set to 0, so why does the program fail?

### Versions

pytorch: 1.12.1
pytorch: 1.8.0
Python version: 3.8
CUDA/cuDNN version: cuDNN 11.3
GPU models and configuration: RTX3060
Operating System：Windows
Repository: terminal
Issue: Default profile can point to one deleted in state.json
Labels: Help Wanted,Issue-Bug,Area-Settings,Product-Terminal,Priority-3

### Windows Terminal version

1.17.2982.0

### Windows build number

25236.1010

### Other Software

PowerShell (potentially caused by multiple versions installed?)

### Steps to reproduce

1. Open Windows Terminal (see PowerShell Core profile)
2. Open new tab (different PowerShell profile appears)

### Helpful info
[settings.zip](https://github.com/microsoft/terminal/files/10057922/settings.zip)

`defaultProfile` is set to a legacy version of powershell core. However, that profile doesn't exist anymore. It's interesting that...
1. resolving it on startup results in a different profile than when hitting the new tab button
2. I can't seem to edit that profile? It doesn't seem like it's `hidden`. Idk why it still resolves correctly?

### Expected Behavior

Both tabs should contain the same profile

### Actual Behavior

Both tabs have different profiles.
Repository: react
Issue: Adding useEffect in HMR causes "Expected static flag was missing"
Labels: Type: Bug,Component: Fast Refresh,React Core Team

```
Warning: Internal React error: Expected static flag was missing. Please notify the React team.
```

https://twitter.com/dan_abramov/status/1593609862830759936

This was also repro:ed in Next.js by @sokra:

![image](https://user-images.githubusercontent.com/63648/203103593-3136632a-b226-4acb-9d93-09b809ada779.png)
Repository: vscode
Issue: "Find All References" open in a tab editor as with "Search"
Labels: feature-request,references-viewlet

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
When searching, you can open the results in an editor tab
![immagine](https://user-images.githubusercontent.com/1246989/203108415-c2144e40-fdd7-4224-872d-f250ac257a0b.png)

I would like to do the same with the "_Find All References_" functionality.
Repository: opencv
Issue: Pooling autopadding does not work correctly in Vulkan DNN backend
Labels: bug,category: dnn

### System Information

Version of system doesn't matter. This is a coding and documentation issue.

### Detailed description

I was initially trying to figure out the documentation for the average for the padding and output dimensions. I found both documentation and coding bugs. I'm still trying to resolve what exactly you guys are doing in the other implementations. If I see more issues I can update this one.

# Documentation Issues

https://docs.openvino.ai/latest/openvino_docs_ops_pooling_AvgPool_1.html

1. The description I now know actually is for the CAFFE output dimensions.
2. There is nothing showing really what same_upper and same_lower would even do directly documented. It's mysterious enough that it would be nice to see the calculations up front so that everyone is on the same foot.
3. The example shows that an input of 32, with same padding, and a stride of 2 will also output a dim of 32. No framework agrees with this nor does the coding implementation from the best I can find. Output target should be `math.ceil(dim / stride)` according to the code in this repo and matches with the other major/modern frameworks like ONNX and TensorFlow.

# DNN VKCom Code Issues

There may be a valid explanation for this. But all the lines flagged below use the height dimension to resolve the width dimension. It's consistent enough that it feels intentional, but just in case this is what I found.

https://github.com/opencv/opencv/blob/master/modules/dnn/src/vkcom/src/internal.cpp#LL111
https://github.com/opencv/opencv/blob/master/modules/dnn/src/vkcom/src/internal.cpp#L120
https://github.com/opencv/opencv/blob/master/modules/dnn/src/vkcom/src/internal.cpp#L127
https://github.com/opencv/opencv/blob/master/modules/dnn/src/vkcom/src/internal.cpp#L136
https://github.com/opencv/opencv/blob/master/modules/dnn/src/vkcom/src/internal.cpp#LL140


### Steps to reproduce

1. Get your favorite beverage.
2. Put on something to help relax your mind.
3. Put on some prescription or blue filter glasses.
4. Read.

https://docs.openvino.ai/latest/openvino_docs_ops_pooling_AvgPool_1.html
https://github.com/opencv/opencv/blob/master/modules/dnn/src/layers/pooling_layer.cpp
https://github.com/opencv/opencv/blob/master/modules/dnn/src/vkcom/src/internal.cpp

### 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
- [X] 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: rust
Issue: `dyn Trait<'a>` shouldn't carry `'a` lifetime
Labels: A-lifetimes,C-discussion,T-types,A-trait-objects

<!--
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:

```rust
fn check<'a, T: Trait<'a> + ?Sized>() {}
trait Trait<'a>: 'static {}

fn check2<'a>() {
    check::<dyn Trait<'a> + 'static>();
}
```

I expected to see this happen: It compiles

`dyn Trait<'a>` should have an lifetime independent from `'a`. i.e. `dyn Trait<'a> + 'b` should have lifetime `'b`. in this particular case, `'b` is `'static`.

Instead, this happened: 

```
error: lifetime may not live long enough
 --> src/lib.rs:5:5
  |
4 | fn check2<'a>() {
  |           -- lifetime `'a` defined here
5 |     check::<dyn Trait<'a> + 'static>();
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
```

### Related

#88904. Since this is another way of creating `dyn Trait: !Trait`, except in this case, I think the unsized coercion should be allowed, and `dyn Trait` does impl `Trait`.
Repository: go
Issue: runtime/pprof: TestGoroutineProfileConcurrency failures with `profile includes finalizer`
Labels: NeedsInvestigation,compiler/runtime

```
#!watchflakes
post <- pkg == "runtime/pprof" && test == "TestGoroutineProfileConcurrency" && `profile includes finalizer`
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/398dc9e57967d80e7e9690d4ca81073c6fcd112c)):

    --- FAIL: TestGoroutineProfileConcurrency (0.45s)
        --- FAIL: TestGoroutineProfileConcurrency/finalizer_not_present (0.00s)
            pprof_test.go:1486: profile includes finalizer (but finalizer should be marked as system):
                goroutine profile: total 7
                3 @ 0x10003e284 0x100004d3c 0x100004834 0x10016cb6c 0x100073494
                #	0x10016cb6b	runtime/pprof.TestMorestack.func1.1+0x3b	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/runtime/pprof/pprof_test.go:781
    
                1 @ 0x100018484 0x100073494
                #	0x100018483	runtime.runfinq+0x443	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/runtime/mfinal.go:255
    
    ...
                #	0x1000e0357	testing.tRunner+0x127		/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:1571
                #	0x1000e33ff	testing.runTests+0x4cf		/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:2025
                #	0x1000e1d1f	testing.(*M).Run+0x6bf		/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:1897
                #	0x10016f197	main.main+0x1a7			_testmain.go:119
                #	0x10003dd57	runtime.main+0x297		/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/runtime/proc.go:250
    
                1 @ 0x10003e284 0x100005c54 0x1000056e0 0x1000e11c8 0x10015f5b0 0x1000e0358 0x100073494
                #	0x1000e11c7	testing.(*T).Run+0x407					/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:1621
                #	0x10015f5af	runtime/pprof.TestGoroutineProfileConcurrency+0x10f	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/runtime/pprof/pprof_test.go:1481
                #	0x1000e0357	testing.tRunner+0x127					/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:1571


— [watchflakes](https://go.dev/wiki/Watchflakes)