sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Visual Shader Expression resizing node visual error
Labels: bug,topic:editor,topic:gui

### Godot version

4.1.1

### System information

MacOS Ventura 13.5

### Issue description

When changing the size of an expression node inside of a visual shader, a weird visual bug can be seen.


https://github.com/godotengine/godot/assets/105889363/ccba013b-e86e-4f7c-ade3-a7c93050946b



### Steps to reproduce

Create a visual shader, add an expression node and some code, resize the expression node window.

or

Open MRP, open shader editor, resize expression node

### Minimal reproduction project

[Test2.zip](https://github.com/godotengine/godot/files/12370817/Test2.zip)
Repository: pytorch
Issue: sparse_mask method ignores masked-in elements of sparse compressed input tensors
Labels: module: sparse,triaged,module: correctness (silent),bug

## Issue description

As in the title. The current behavior with sparse compressed inputs contradicts [sparse_mask](https://pytorch.org/docs/main/generated/torch.Tensor.sparse_mask.html#torch.Tensor.sparse_mask) documentation note: "The returned sparse tensor has the same indices as the sparse tensor mask, even when the corresponding values in self are zeros." as well as the current behavior with strided or sparse COO inputs.

## Code example

```python
>>> mask = torch.tensor([[0, 1], [1, 1]], dtype=torch.bool).to_sparse_csr()
>>> data = torch.tensor([[1, 2], [3, 0]]).to_sparse_csr()
>>> data.sparse_mask(mask)
tensor(crow_indices=tensor([0, 1, 2]),
       col_indices=tensor([1, 0]),
       values=tensor([2, 3]), size=(2, 2), nnz=2, layout=torch.sparse_csr)
```

The expected result is
```python
tensor(crow_indices=tensor([0, 1, 3]),
       col_indices=tensor([1, 0, 1]),
       values=tensor([2, 3, 0]), size=(2, 2), nnz=3, layout=torch.sparse_csr)
```
to meet the documented specification and the behavior with COO and strided inputs:
```python
>>> data.to_dense().sparse_mask(mask)
tensor(crow_indices=tensor([0, 1, 3]),
       col_indices=tensor([1, 0, 1]),
       values=tensor([2, 3, 0]), size=(2, 2), nnz=3, layout=torch.sparse_csr)
>>> data.to_sparse_coo().sparse_mask(mask)
tensor(crow_indices=tensor([0, 1, 3]),
       col_indices=tensor([1, 0, 1]),
       values=tensor([2, 3, 0]), size=(2, 2), nnz=3, layout=torch.sparse_csr)
```

## System Info

- PyTorch version: main

cc @alexsamardzic @nikitaved @cpuhrsch @amjames @bhosmer
Repository: flutter
Issue: ASAN reported leaks in CanReloadSystemFonts
Labels: P2,team-engine,triaged-engine

This become a tad more frequent yesterday, and happened on a couple of runs in prod.

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20Production%20Engine%20Drone/308678/overview

Possibly related https://github.com/flutter/flutter/issues/42192

cc @jason-simmons did you get any emails about the flaky failures as the sheriff this week?
Repository: terminal
Issue: Suggestions UI ship list
Labels: Issue-Bug,Area-UserInterface,Product-Terminal

first PR: #14938 


```[tasklist]
### 1.21 Ship list
- [x] Accessibility tags all have `CommandPalette_` strings 🤣
- [x] useCommandline should leave the cursor at the _end_ of the input, not at the start
- [x] https://github.com/microsoft/terminal/issues/16577
- [x] https://github.com/microsoft/terminal/issues/16578
- [x] https://github.com/microsoft/terminal/issues/17243
- [x] https://github.com/microsoft/terminal/issues/17241
- [x] It animates in as you filter and that's so gross
```

```[tasklist]
### 1.22
- [x] ~#17418  Add support for nesting:false in openSuggestions action~
- [x] #12861
- [x] #17376
- [ ] https://github.com/microsoft/terminal/issues/17772
- [x] https://github.com/microsoft/terminal/pull/17533
- [ ] https://github.com/microsoft/terminal/issues/17773
- [x] #17632
- [x] useCommandline, when bottom-up, should leave the _last_ list item selected, not the first. (fixed in #17794)
- [x] ^ Probably applies to any changes to the filter text when bottom up.
```

```[tasklist]
### 1.23
- [ ] When filtering the suggestions UI, also allow matches to the raw input to successfully match (see ~`dev/migrie/f/filter-weight-input-too`~ `dev/migrie/f/snippet-weighting-commandline`)
- [ ] When filtering the SXNUI, disable all nesting for things at this level.  (see `dev/migrie/b/no-nesting-when-searching` )
- [ ] Action in newTabMenu -> openSuggestions immediately tosses focus to the _control_ when the menu dismisses
- [ ] #17419
- [ ] We don't account for the InfoBar when positioning the suggestions UI
- [ ] The padding on the description tooltip is a little tight - it should have a little more
- [ ] in CMD: enter `foo`. Open SXNUI. Dismiss it. resize up from bottom. Open SXNUI: it's cut off (from 1.22 bug bash 2)
```

```[tasklist]
### Related
- [ ] #16063
- [ ] https://github.com/microsoft/terminal/issues/12927
- [ ] Follow up from #16513: make sure everything is localized
- [ ] From #16513: `wt save` should like, always happen in the current terminal window (if that's possible)
- [ ] https://github.com/microsoft/terminal/issues/15813
- [ ] #17344
```

Other notes:
* Tried to make the font size match the active control. That's... incredibly wacky. See https://github.com/microsoft/terminal/compare/dev/migrie/f/sxnui-font-size-change
* Re: _"When filtering the suggestions UI, also allow matches to the raw input to successfully match"_
  I started that in `dev/migrie/f/filter-weight-input-too`. That branches off of the snippets pane, #17330. See delta here: https://github.com/microsoft/terminal/compare/dev/migrie/f/snippets-pane...dev/migrie/f/filter-weight-input-too. That works super well, but needs a lot of polish. 
* ...

_are you looking for me?_
* #13000 
* #11000
* #13445
Repository: PowerToys
Issue: Renamed column values erroneously duplicate regex insert value after rename operation
Labels: Idea-Enhancement,Product-PowerRename,Area-User Interface

### Microsoft PowerToys version

0.71.0

### Installation method

Chocolatey

### Running as admin

Yes

### Area(s) with issue?

PowerRename

### Steps to reproduce

### Steps A (setup):

- Create folder '**FolderA**'
- Add files '**FileA1.txt**', '**FileA2.txt**' to the folder
- Set NAME field to '(.*)'
- Check 'Use regular expressions' and 'Case sensitive'
- Set RENAME-TO field to 'CP-$1'
- Set Apply-to to 'Filename only'
- Turn on: 'Include Files', 'Include Folders', 'Include subfolders'

### Steps B (apply rename):

- Press 'Apply' and wait for completion of rename operation

### After Steps A:
![PostStepsA](https://github.com/microsoft/PowerToys/assets/5659466/bcda7338-6c4b-4e89-aa7e-a0abbdd68847)

### ✔️ Expected Behavior

- If Renamed column values are meant to show what the result will be, then Renamed column remains the same after Steps B
- If Renamed column values are meant to show current values, then Renamed column will have the updated values after Steps B

### ❌ Actual Behavior

-Renamed column has the expected renamed values prior to pressing 'Apply'
-Renamed column has the insert value, 'CP-', duplicated after pressing 'Apply'

### After Steps B:

![PostStepsB](https://github.com/microsoft/PowerToys/assets/5659466/243e9fae-fc9c-498d-b0b2-4a430da8df02)


### Other Software

_No response_
Repository: pytorch
Issue: [LibTorch/iOS] Unknown custom class type quantized.Conv2dPackedParamsBase. Please ensure it is registered
Labels: triaged,oncall: mobile,module: ios

### 🐛 Describe the bug

I installed `LibTorch-Lite` on iOS using Cocoapods:

```ruby
platform :ios, '16.0'

use_frameworks!

target 'MyApp' do
	pod 'LibTorch-Lite'

	target 'MyAppTests' do
		pod 'LibTorch-Lite'
	end
end
```

I am able to build my app and use the model without any problems, however, whenever I tried to run my tests, it always fail with this error:

```
libc++abi: terminating due to uncaught exception of type torch::jit::ErrorReport: 
Unknown custom class type quantized.Conv2dPackedParamsBase. Please ensure it is registered.:
quantized::conv1d(Tensor qx, __torch__.torch.classes.quantized.Conv2dPackedParamsBase packed_weight, float output_scale, int output_zero_point) -> Tensor
                                                               ~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
```

Do you have any idea why I cannot run my tests? 

### Versions

  - LibTorch-Lite (1.13.0.1):
    - LibTorch-Lite/Core (= 1.13.0.1)
  - LibTorch-Lite/Core (1.13.0.1):
    - LibTorch-Lite/Torch
  - LibTorch-Lite/Torch (1.13.0.1)
Repository: pytorch
Issue: [regression] Not getting `CUDA error: device-side assert triggered` on main for CUDA_KERNEL_ASSERT2
Labels: module: cuda,triaged,module: regression

### 🐛 Describe the bug

Motivated by the discussion here https://github.com/pytorch/pytorch/issues/106467#issuecomment-1677712857

Considering the following script,

```python
import torch
print(torch.__version__)
import torch.nn as nn

torch.manual_seed(0)

x = torch.randn(10, 10, requires_grad=True, device="cuda")
y = torch.randint(0, 10, (10,), device="cuda")
criterion = nn.CrossEntropyLoss()

loss = criterion(x, y)
print(loss)
# tensor(2.8109, device='cuda:0', grad_fn=<NllLossBackward0>)

y[0] = 10
loss = criterion(x, y)
print(loss)
```

Setting `y[0] = 10` should trigger https://github.com/pytorch/pytorch/blob/4bfc55ba8b0a96a1c62069b703318a729f0cc9a9/aten/src/ATen/native/cuda/Loss.cu#L254

which is defined as such

https://github.com/pytorch/pytorch/blob/4bfc55ba8b0a96a1c62069b703318a729f0cc9a9/aten/src/ATen/native/cuda/Loss.cu#L165-L170

On 2.0.1 I accurately get 

```
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
```

On `main` this error is not raised and I get

```
2.1.0a0+git2da735c
tensor(2.8778, device='cuda:0', grad_fn=<NllLossBackward0>)
tensor(-2., device='cuda:0', grad_fn=<NllLossBackward0>)
```

### Versions

main

cc @ezyang @gchanan @zou3519 @ptrblck @ngimel @r-barnes
Repository: flutter
Issue: Trap `NaN` in geometry.
Labels: engine,P3,team-engine,triaged-engine

`NaN` is never a useful value to have in geometry classes (e.g. `Rect`, `Matrix`, `Path`, `RRect`).

If possible, in debug mode it would be nice to trap `NaN`s that show up in the geometry. I ran into this today while debugging an issue like this:


```cpp
  auto rect = impeller_object.GetCoverage().value_or(Rect());
  auto sk_rect = SkRect::MakeXYWH(rect.origin.x, rect.origin.y, rect.bounds.width, rect.bounds.height);
  // Safe version:
  // auto sk_rect = SkRect::MakeLTRB(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom());
```

Where `rect` was `{{-Inf, -Inf}, {+Inf, +Inf}}` and `sk_rect` ended up being `{{-Inf, -Inf}, {NaN, NaN}}` (using the impeller representation of rects), because `-Inf + +Inf == NaN`.

/cc @flar  who is looking at geometry
/cc @bdero @chinmaygarde - this makes me question a little whether `Rect::MakeMaximum` in Impeller should be returning an infinitely sized rect or the same as the engine's concept of a "giant" rect, but that's a different and probably less serious issue.
Repository: rust
Issue:  Incorrect Behavior in Updating Cell Value
Labels: A-lints,A-diagnostics,C-bug,A-const-eval

<!--
 Incorrect Behavior in Updating Cell Value
-->

I tried this code:

```rust
use std::cell::Cell;

const A: Cell<i64> = Cell::new(0);

fn main() {
    A.set(2);
    println!("Value of A: {}", A.get());
}

```

The code should update the value of the Cell to 2 and print "Value of A: 2" or must show compilation error.

Instead, The code still prints "Value of A: 0" instead of "Value of A: 2".


![image](https://github.com/rust-lang/rust/assets/126942649/e80409f5-da83-472e-b4a9-68c71888425d)



<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: go
Issue: cmd/cgo/internal/testsanitizers: TestMSAN failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/cgo/internal/testsanitizers" && test == "TestMSAN"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/b8d361a0b196f4696fd1a7bb582c845fa513ff9f)):

    panic: test timed out after 3m0s
    running tests:
    	TestMSAN (3m0s)
    	TestMSAN/msan_fail (2m46s)
    
    syscall.Syscall6(0x214, 0x0, 0x45df, 0xc0001adcbc, 0x18, 0x0, 0x0)
    	/tmp/workdir/go/src/syscall/asm_unix_amd64.s:39 +0x9 fp=0xc0001adc68 sp=0xc0001adc58 pc=0x475fe9
    os.wait6(0xc000250060?, 0xc00043e360?, 0x40d305?)
    	/tmp/workdir/go/src/os/wait6_freebsd64.go:18 +0x4c fp=0xc0001adcd8 sp=0xc0001adc68 pc=0x4988ec
    os.(*Process).blockUntilWaitable(0xc000422120)
    	/tmp/workdir/go/src/os/wait_wait6.go:20 +0x2d fp=0xc0001add08 sp=0xc0001adcd8 pc=0x49896d
    os.(*Process).wait(0xc000422120)
    	/tmp/workdir/go/src/os/exec_unix.go:22 +0x25 fp=0xc0001add68 sp=0xc0001add08 pc=0x494145
    os.(*Process).Wait(...)
    	/tmp/workdir/go/src/os/exec.go:134
    os/exec.(*Cmd).Wait(0xc000428160)
    	/tmp/workdir/go/src/os/exec/exec.go:862 +0x45 fp=0xc0001addc8 sp=0xc0001add68 pc=0x4e3985
    os/exec.(*Cmd).Run(0x48?)
    	/tmp/workdir/go/src/os/exec/exec.go:590 +0x2d fp=0xc0001adde8 sp=0xc0001addc8 pc=0x4e260d
    os/exec.(*Cmd).CombinedOutput(0xc000428160)
    	/tmp/workdir/go/src/os/exec/exec.go:977 +0x94 fp=0xc0001ade10 sp=0xc0001adde8 pc=0x4e4254
    cmd/cgo/internal/testsanitizers_test.TestMSAN.func1(0xc0000e8340)
    	/tmp/workdir/go/src/cmd/cgo/internal/testsanitizers/msan_test.go:75 +0x2b6 fp=0xc0001adf70 sp=0xc0001ade10 pc=0x536fb6
    testing.tRunner(0xc0000e8340, 0xc0000de320)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: flutter
Issue: [flutter_tools] tool should have a sub-command to delete the SDK cache
Labels: P2,team-tool,triaged-tool

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

Right now, the only way to do this is to manually delete `flutter/bin/cache`.

### Proposal

Add a new sub-command (what command name?) that deletes `flutter/bin/cache`.
Repository: flutter
Issue: [cocoon] Issue with Commit Link and Copy to Clipboard Functionality in Cocoon dashboard
Labels: team-infra,P2,triaged-infra,fyi-release

### Screen capture
https://github.com/flutter/flutter/assets/11145366/725a3b04-56b4-4149-a75e-723cf94e689c

### Description
I encountered an issue in the Cocoon dashboard where the expected behavior of the commit link and copy to clipboard icon is not functioning as intended. Here's a breakdown of the problem:

#### Commit Link Issue
When I attempt to open the commit link within Cocoon, there is no response or action. Clicking the commit link does not lead to the expected destination, and it appears to be non-functional.

#### Copy to Clipboard Icon Issue
Instead of copying the commit hash to my clipboard as expected, clicking the copy to clipboard icon results in the launch of another browser window. This new window navigates to the GitHub issue page, rather than copying the commit hash.

### System specs
Machine: 2021 M1 Macbook Pro
OS: Ventura 13.5
Browser: Chrome Version 115.0.5790.170 (Official Build) (arm64)

### Validation steps:
1. Click author avatar
2. Click the commit link (nothing happens)
3. Click the copy icon (link is opened)

### Expected Behavior
* The commit link should lead to the corresponding commit page.
* Clicking the copy to clipboard icon should copy the commit hash to the clipboard without opening a new browser window.
Repository: pytorch
Issue: Multiple runners shutdown for an autoupdate while still running jobs
Labels: triaged,ci: sev-mitigated


## Current Status
Mitigated

## Error looks like
Multiple jobs failing with an error similar to:

```
The self-hosted runner: i-0a28cb5549510555b lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error. 
``` 
[Example](https://github.com/pytorch/pytorch/actions/runs/5893231102/attempts/1)

Alternately, the job view simply says `This job failed` ([example](https://github.com/pytorch/pytorch/actions/runs/5893231102/job/15984768337))



## Incident timeline (all times pacific)
Approx 9:30am PST multiple runners shutdown for an auto update. Any jobs running on them were lost and appeared on github ci as a failure

## User impact
*How does this affect users of PyTorch CI?*

## Root cause

## Mitigation
Runners came back up after a restart

## Prevention/followups
Use this flag to tell the runners to not self-update: https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/

And explore how to ensure the runners are not running any jobs before initiating an update.
Repository: go
Issue: x/build/cmd/watchflakes: failures posted with misleading timestamps
Labels: Builders,NeedsInvestigation

In https://github.com/golang/go/issues/62095#issuecomment-1682426774, `watchflakes` posted a number of failures in `x/` repos with timestamps dating back to June, like:
> 2023-06-21 11:18 linux-amd64-racecompile mod@baa5c2d0 go@2fcfdb96 go/internal/gccgoimporter [build] ([log](https://build.golang.org/log/d21cecb0c6bbcca25a9c44445379ab875970da57))

That timestamp is misleading: `go@2fcfdb96` was committed `2023-08-17`, not `2023-06-21`.
(The timestamp is for `mod@baa5c2d0`, ignoring the `go` commit time.)

Those kinds of misleading timestamps can easily cause an issue to be mistriaged: a sudden new failure starting two months ago is probably a misconfigured or recently-added builder, whereas a sudden widespread recent failure is almost certainly a bad commit that should be rolled back.

(attn @cherrymui)
Repository: ant-design
Issue: inputs don't work on iOS with text selection disabled
Labels: help wanted,Inactive

### Reproduction link

[https://github.com/tcmike/AntIssueDemo](https://github.com/tcmike/AntIssueDemo)

### Steps to reproduce

- create an iOS project
- add WKWebView to it and set configuration.preferences.isTextInteractionEnabled = false
- open any site that contains Ant inputs

### What is expected?

inputs allow you to enter text

### What is actually happening?

the keyboard appears, but the inputs do not respond to its keys

| Environment | Info |
| --- | --- |
| antd | 5.8.3 |
| React | 18.2 |
| System | iOS 14.5+  |
| Browser | Safari 14.1.1+  |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: Type Variation drop down does not show any options even when there are Item Types
Labels: bug,topic:editor,confirmed

### Godot version

4.1.1.stable

### System information

Ubuntu Linux 22.04, Nvidia

### Issue description

The Type Variation dropdown is empty even when I select a Theme and the Theme has Type Variations for the given control. Pressing the Pencil button and typing in the Variation name manually works. The dropdown is only populated with Type Variations when the default theme is set in Project Settings. But I expected the dropdown to show Type Variations even when the theme is not set in project settings.

![Screenshot from 2023-08-17 12-06-19](https://github.com/godotengine/godot/assets/1168026/d89fff41-3f27-4e2a-880e-5193980b3738)

![Screenshot from 2023-08-17 12-06-32](https://github.com/godotengine/godot/assets/1168026/11052af0-ff4b-4698-84cb-df7215ba23e2)


### Steps to reproduce

1. Create a theme
2. Add a Type Variation
3. Set the theme in a control node
4. Click the Type Variation dropdown

### Minimal reproduction project

None
Repository: flutter
Issue: The capability to render "portals" - widgets that are displayed within another native activity
Labels: c: new feature,framework,a: existing-apps,c: proposal,P2,team-framework,triaged-framework

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

When I add Flutter to an existing application, I want to have the ability to control native activities from Dart code. This will enable me to open specific activities (or UIViewControllers, for example) from Dart code and display different widgets (full-fledged pages) there. I want to achieve this while being able to communicate between different activities from one central place without the need to use MethodChannel.

### Proposal

I would like to invite you to discuss the possibility of opening "portals" - utilizing a widget that will have the ability to be displayed within another native activity. I envision it somewhat like this:
```dart
await showPortal(
  id: 'my_custom_id_of_native_activity?',
  child: MaterialApp(...)
)
```

After calling this code, a native activity should open, within which what's specified in the child will be rendered. This will allow maintaining the appearance of the opening windows (using the current native navigation), but inside, the widget passed from the code will be rendered.
Repository: go
Issue: x/build/cmd/gomoteserver: change how versions are generated
Labels: Builders,NeedsFix
Repository: godot
Issue: Weird Soft Shadow Performance Anomalies
Labels: topic:rendering,needs testing,topic:3d,performance

### Godot version

v4.1.stable.official [970459615]

### System information

Windows 11, i3-10105f, Radeon RX 6600 on 23.7.2, SAM Off

### Issue description

For some reason, Soft Shadows on Medium have an extreme impact on performance that isn't even behaving normally..
Examples:
1) Turning Soft Shadows to Medium for just Directional Lights impacts heavily the performance of Positional Lights
2) Performance difference between Soft Shadows set to Medium with TAA on and off is... Weird. Turning TAA On produces a doubling in FPS, and the delta between Soft Shadows set to Medium and Low is minimal, while with TAA off Soft Shadows set to Medium easily Halves the FPS compared to Soft Shadows set to Low
3) Soft Shadows set to Low still get a Performance uplift from TAA, with Shadows set to Hard TAA still brings a performance boost, though very tiny

Some profiling was done and posted Screenshots on https://chat.godotengine.org/channel/rendering?msg=MTLRCDxc9rQ6oNkwS


Note: The GTX 1050 Ti I've previously had didn't exhibit these sorts of behaviors
GPU is running at Full GPU and VRAM Clocks, Drawing Roughly the Same power across scenarios
The issue may be specific to the RDNA 2 Architecture or Drivers or even the Chip model, and needs further testing.

### Steps to reproduce

Test with TAA On and Off, and Play around with switching between Low and Medium Soft Shadows, especially for Positional Lights

### Minimal reproduction project

[Bug.zip](https://github.com/godotengine/godot/files/12373003/Bug.zip)