sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: cmd/go: go get module versions are inconsistent with pkgsite
Labels: Unfortunate,NeedsInvestigation

A while ago I made a new repo (github.com/go-quicktest/qt) which was a fork of an older repository (github.com/frankban/quicktest) but a new major version and module path. At some point, the tags from the old repository were accidentally pushed to the new repo, although they have since been removed. None of those old tagged versions are functional in the new repo because the declared module path in all of them does not match the import path of the module.

We have only intentionally published two versions of the new module so far (`v0.0.1` and `v0.0.2`).

Pkgsite only shows those two versions, exactly as we'd hope:

![image](https://user-images.githubusercontent.com/66491/166903673-ca8edd5a-8f5b-4597-84e2-2b0d3a39587a.png)

However, `cmd/go` sees some of the old invalid versions too: 
```
$ go list -m -versions github.com/go-quicktest/qt
github.com/go-quicktest/qt v0.0.1 v0.0.2 v1.3.0 v1.7.0 v1.9.0 v1.14.1 v1.14.2
```

This means that `go get github.com/go-quicktest/qt` will fail because the "latest" version that it sees is an invalid version.

At this point, we _could_ publish `v1.15.0` that retracts the earlier invalid `v1` versions, but that's not ideal because we're not quite ready to stabilize the API (and we definitely don't want to move to `v2` when there's never been a viable `v1`).

It would be great if the module cache could avoid caching versions where the import path doesn't match the declared module path or, alternatively, if the `go` import logic could avoid considering versions that have a mismatch.

AFAICS the main wrinkle here is the `replace` directive, where it is actually legitimate for a module to declare a path that's not the path that it's found at, but that's an unusual case, and I suspect that people will usually be replacing with an explicitly known version rather than using `go get`, so maybe it's OK to avoid listing versions with mismatched module paths.
Repository: flutter
Issue: [Stepper]Circle size and connecting lines between icons are not customizable
Labels: c: new feature,framework,f: material design,c: proposal,P2,team-design,triaged-design

### I want to customize the size of stepper icon and connecting lines between them but I am unable to achieve it.

**Expected results:** 

![Capture1](https://user-images.githubusercontent.com/97581635/166919880-9fb3d696-e24d-47ca-ba37-9ad4e5fa4c03.PNG)

**Actual results:** 

![Screenshot 2022-05-05 at 5 30 47 PM](https://user-images.githubusercontent.com/97581635/166919309-d6a50ea6-fdf9-4023-be95-aa7c1da6df92.png)

<details>
<!-- Finally, paste the output of running `flutter doctor -v` here. -->

[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-x64, locale
    en-IN)
    • Flutter version 2.10.5 at /Volumes/data/development/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (2 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.0.0-rc1)
    • Android SDK at /Users/akashav/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0-rc1
    • ANDROID_HOME = /Users/akashav/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (4 available)
    • iPhone SE (2nd generation) (mobile) • 91FF2EA7-7194-4CC1-9456-B3C27165748D
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • iPhone 13 (mobile)                  • 4141610B-4FA4-4F02-828E-E5DFB375989B
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)                     • macos
      • darwin-x64     • macOS 12.3.1 21E258 darwin-x64
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 100.0.4896.127

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.
-->
Repository: godot
Issue: strange buttons
Labels: bug,topic:plugin,topic:gui

### Godot version

3.4.4.stable.official.419e713a2 64b

### System information

Windows 11 Home 22H2

### Issue description

flying buttons over left side of godot editor same as in my project when running

### Steps to reproduce

When I'm using plugi  GodotFirebase 4.6 Kyle Szklenski I open firebase.tscn as main.
create html5 export
add Button with label, connect signel press button to main scene
press F5 and after it there was flying copy  of this button over the godot editor

### Minimal reproduction project

[onTop.zip](https://github.com/godotengine/godot/files/8631346/onTop.zip)
![obraz](https://user-images.githubusercontent.com/5955262/166926760-9161344e-d242-410a-b5f0-8b85561dcb33.png)
Repository: create-react-app
Issue: Why can't I create react app in terminal VSC?
Labels: needs triage

Hello! Can't create react app in VSC terminal.

When writing npx create-react-app my-app it looks like this:

PS C:\Users\Daulet\Desktop> npx create-react-app my-app
Program execution failure npx.cmd: Cannot find the specified
filestring:1 sign:1
+ npx create-react-app my-app
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~.
filestring:1 sign:1
+ npx create-react-app my-app
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed



I ask you please help me in this matter.
![055](https://user-images.githubusercontent.com/100938227/166932771-8ff2619b-ed92-4a0d-b19d-2a075471764b.jpg)

attempts to npm init npm install create-react-app npx create-react-app myapp failed. maybe I did something wrong, I can’t understand why the react package is not installed via the command: npx create-react-app my-app.
Repository: ant-design
Issue: Ellipsis is not considered if the container has exactly the same width as the text
Labels: Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-ellipsis-bug-dxh1yz)

### Steps to reproduce

Create a container and add a text. Measure the pixel width of the text and set container to the same width. 

### What is expected?

As a user I expect a tooltip in any case an ellipsis is shown.

### What is actually happening?

When container width and text pixel width are exactly the same an ellipsis is shown but no tooltip is added.

| Environment | Info |
| --- | --- |
| antd | 4.20.2 |
| React | 18.1.0 |
| System | MacOS 12.3.1 |
| Browser | Chrome 100.0.4896.127 (Official Build) (x86_64) |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: x/build: `android-.*-emu` builder failures with `adb: error: connect failed: closed`
Labels: Builders,OS-Android,NeedsInvestigation

```
#!watchflakes
post <- builder ~ `android-.*` && log ~ `adb: error: connect failed: closed`
```

```
adb push /workdir/tmp/go_android_exec-cmd-go-3350234747 /data/local/tmp/go_android_exec/goroot/bin/go
adb: error: connect failed: closed
go_android_exec: exit status 1
FAIL	golang.org/x/benchmarks/cmd/bent	27.763s
```

`greplogs -l -e 'adb: error: connect failed: closed'`
[2022-05-04T20:30:17-39d8c21-e1e056f/android-amd64-emu](https://build.golang.org/log/4066d1caad8afd4783b23f10ef3e253165b9ef36)
[2022-03-18T06:03:39-0e9765c-3d19e8d/android-386-emu](https://build.golang.org/log/2a4c9fc173da256f8de9509405e4ac062fca56cb)
[2021-10-18T21:21:54-ffe10e5-6c0daa7/android-amd64-emu](https://build.golang.org/log/063cdb31c8b9ec217dc6907aba484ae4af570486)
[2021-03-26T06:03:03-6b15177-9c7463c/android-amd64-emu](https://build.golang.org/log/a24c635e5d38d5ea16c54fea047ea41baff1d4d0)

(attn @golang/android)
Repository: godot
Issue: Node icon will not refresh immediately after specifying icon in script
Labels: bug,topic:editor,regression

### Godot version

71e41eb

### System information

Windows 10 x64

### Issue description

Minor regression from #60789

Since the icons are now cached, they will persist until the cache is cleared. Right now the icon cache is only cleared when a scene tab is closed. This means that if you change a script's icon (e.g. by adding it to `class_name`), you will not see the new icon until you close any scene tab and update scene tree.

We should clear the cache when an icon needs to be updated. But it should happen only then, not on any script change.

### Steps to reproduce

1. Add a node to some scene
2. Add a script
3. Add `class_name Whatever, "res://icon.png"` to the script
4. Notice that the node on scene still has old icon

### Minimal reproduction project

_No response_
Repository: electron
Issue: [Bug]: offscreen rendering doesn't render clicked INPUT SELECT dropdown, or any popups
Labels: platform/linux,bug :beetle:,component/offscreen,status/confirmed,18-x-y

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

18.1.0

### What operating system are you using?

Ubuntu

### Operating System Version

Ubuntu Jammy

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

I'm expecting INPUT SELECT dropdowns and popup windows to be composited in the offscreen render of the originating window.

### Actual Behavior

INPUT SELECTs are not composited in the offscreen render of the main BrowserWindow.  For popup windows, adding a paint event listener on the new BrowserWindow emitted to 'browser-window-created' doesn't generate OSR paint events either.

### Testcase Gist URL

https://gist.github.com/gtalusan/c0ad56685aeb3b2c1108fbccf6b451b4

### Additional Information

_No response_
Repository: vscode
Issue: Add filter to select box inside settings UI.
Labels: feature-request,quick-pick

<!-- ⚠️⚠️ 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. -->
### Add search to select box
![image](https://user-images.githubusercontent.com/17777237/166957308-c93a6934-dbcc-40a2-8d72-e6fbd55febf3.png)

### To be like this
![image](https://user-images.githubusercontent.com/17777237/166957534-8fbd02ce-c2cd-46b9-8800-f3e9c712ce2e.png)
Repository: neovim
Issue: shada should not save 'nobuflisted' files
Labels: enhancement,editor-state

### Feature already in Vim?

Don't know, but probably not

### Feature description

I think this option somehow similar to `buflisted` and `buftype`. When it is set to `no` (like `nobufshada`), then buffer path wouldn't be saved to shada history (and hence wouldn't be presented in `:oldfiles` list).

(Neo)vim already have option (flag `r` in `shada`) to prevent files from saving to shada history, but this is not enough: https://github.com/neovim/neovim/issues/12298.

Also such option will be more flexible, so it can solve https://github.com/neovim/neovim/issues/15195 (yes, it is already closed, but I think it's not implied solution) like this:

    autocmd FileType gitcommit setlocal nobufshada
Repository: PowerToys
Issue: fancyzones_span_zones_across_monitors & "Removed resolution from the screen identifier..."
Labels: Issue-Bug,FancyZones-Layouts,Product-FancyZones,Needs-Team-Response

### Microsoft PowerToys version

0.58.0

### Running as admin

- [X] Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

Use "fancyzones_span_zones_across_monitors":{"value":true}
Update 0.57.0 to 0.58.0
All zones on different monitor configurations have reset and aren't saved
"applied-layouts.json" contains one entry with

```
"device": {
        "monitor": "FancyZones#MultiMonitorDevice",
        "virtual-desktop": "{9EBA382C-5055-47B1-AB2B-CDC71C78BC7C}"
      },
```

I guess it's because of the
"Removed resolution from the screen identifier so zones aren't reset when resolution changes."

### ✔️ Expected Behavior

Applied-layouts will be saved with different virtual-desktop

### ❌ Actual Behavior

For all monitor configurations have one virtual-desktop

### Other Software

_No response_
Repository: TypeScript
Issue: Extra `*` characters inserted around decorator in fenced code block in JSDoc
Labels: Bug,Help Wanted,Effort: Moderate,Domain: Quick Info

<!-- ⚠️⚠️ 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

<!-- 🪓 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.67.0-insider (commit: f050b17dacedba13962244b13c70084a473d08f7)
- OS Version: Windows 11

Steps to Reproduce:

1. Open a TypeScript file in VSCode
2. Create a variable or type and add a JSDoc comment
3. Inside the JSDoc comment, add a fenced code block for the TypeScript language (i.e., ```` ```ts ````)
4. Inside the fenced code block add `@decorator class C {}`
5. Bring up the quick info/hover for the documented element.
6. Observe that in the documentation, the decorator is rendered as `*@decorator*`.

![image](https://user-images.githubusercontent.com/3902892/165354517-da9a7a69-f3cd-4db3-b931-20e7f1796b15.png)

NOTE: This occurs regardless as to whether the `@example` tag is used, as the problem always occurs when using a fenced code block.
Repository: PowerToys
Issue: Key got stuck when alternate(latch) key is mapped for physical key
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Area-Localization

### Microsoft PowerToys version

0.57.2

### Running as admin

- [ ] Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Prerequisite; using Japanese keyboard. 
1. Open powertoys and keyboard manager
2. Mapping VK242/245, so-called Katakana/Hiragara/Romaji (it changes depends on IME setting) key to physical key
3. Map destination key


### ✔️ Expected Behavior

The physical VK242/245 keys and newly mapped key output should work momentary switch just like other modifier key.

### ❌ Actual Behavior

The keys got stuck, keep pressed down and unable to un-press unless lock and unlock the screen.
For example, if I using Explorer, when I press VK242/245 it got stuck and every mouse click on files open property window.

### Other Software

_No response_
Repository: pytorch
Issue: torch.nn.functional.linear sometimes incorrectly accepts arguments of the different type
Labels: module: nn,triaged,module: type promotion

```
In [14]: a=torch.randn(10,10,10,device="cuda", dtype=torch.half)

In [15]: w=torch.randn(10,10, device="cuda", dtype=torch.half)

In [16]: b=torch.randn(10,10, device="cuda")

In [17]: torch.nn.functional.linear(a.transpose(1,2), w, b).dtype
Out[17]: torch.float16

In [18]: torch.nn.functional.linear(w, b).dtype
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-18-23a27726c7de> in <module>
----> 1 torch.nn.functional.linear(w, b).dtype

RuntimeError: expected scalar type Half but found Float
```
We should disallow this case always. 

cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345 @nairbv
Repository: pytorch
Issue: Pytorch return TCPStore( RuntimeError: Connection reset by peer) 
Labels: oncall: distributed,module: c10d

I amtrying to run Cosmic Tagger pytorch benchmark. It runs file up to 256 nodes(1024 ranks). However, when I try to run on higher number of nodes 384 nodes(1536 ranks) it runs fine occasionally. Most of the time it fails

## Issue description

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
```
Error executing job with overrides: ['data.data_directory=/lus/grand/projects/Polaris/CosmicTagger/data/', 'run.minibatch_size=1536', 'run.id=at-2022-05-05_384nodes', 'run.iterations=10', 'data.downsample=0']
Traceback (most recent call last):
  File "/home/ranand/bare_metal_Cosmic_tagger/CosmicTagger/bin/exec.py", line 254, in main
    s = exec(cfg)
  File "/home/ranand/bare_metal_Cosmic_tagger/CosmicTagger/bin/exec.py", line 47, in __init__
    self.train()
  File "/home/ranand/bare_metal_Cosmic_tagger/CosmicTagger/bin/exec.py", line 100, in train
    self.make_trainer()
  File "/home/ranand/bare_metal_Cosmic_tagger/CosmicTagger/bin/exec.py", line 181, in make_trainer
    self.trainer = distributed_trainer.distributed_trainer(self.args)
  File "/home/ranand/bare_metal_Cosmic_tagger/CosmicTagger/src/utils/torch/distributed_trainer.py", line 139, in __init__
    torch.distributed.init_process_group(
  File "//home/ranand/bare_metal_Cosmic_tagger/pytorch/torch/distributed/distributed_c10d.py", line 595, in init_process_group
    store, rank, world_size = next(rendezvous_iterator)
  File "//home/ranand/bare_metal_Cosmic_tagger/pytorch/torch/distributed/rendezvous.py", line 259, in _env_rendezvous_handler
    store = _create_c10d_store(master_addr, master_port, rank, world_size, timeout)
  File "//home/ranand/bare_metal_Cosmic_tagger/pytorch/torch/distributed/rendezvous.py", line 191, in _create_c10d_store
    return TCPStore(
RuntimeError: Connection reset by peer
```


Software installed
Cudatoolkit/11.4
gcc-11.2
pytorch version 1.12.0

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: pytorch
Issue: Avoid Self-loops on Module Creation
Labels: module: nn,triaged

### 🚀 The feature, motivation and pitch

I have two models `Model1` and `Model2`.
`Model2` will be a sub-module of `Model1`.

I need to use some parameters and methods of `Model1` in `Model2`, thus I want to link `Model2` to its father `Model1`.

```python
import torch

class Model1(torch.nn.Module):
    def __init__(self):
        torch.nn.Module.__init__(self)
        self.submodel = Model2()
        self.submodel.link(self)

class Model2(torch.nn.Module):
    def link(self, model):
        self.supmodel = model

model1 = Model1()
model1.eval()
```

Writing in the above way will cause self-loop, and raise maximum recursion error.

I know that I can write a third module containing both models to avoid such error, but I think directly support above implementation makes creation easier.
Is it possible to support such convention?

### Alternatives

_No response_

### Additional context

_No response_

cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345
Repository: go
Issue: cmd/compile: replace uses of ir.Node with ir.Expr or ir.Stmt where appropriate
Labels: NeedsDecision,compiler/runtime

In go/ast, we use ast.Expr and ast.Stmt to represent when an ast.Node is known to be an expression or statement, respectively.

Within cmd/compile, we have analogous ir.Expr and ir.Stmt interface types, but for historical reasons most code still uses ir.Node. This issue lays out a plan for how to migrate the compiler to use them. (Having started a few attempts at this, it's clearly not something that can gracefully land in a single CL.)

1. Introduce new `ir.ExprNode` and `ir.StmtNode` types. Normally, these will be type aliases to `ir.Node`; but if the `strict-ir` build tag is set, then they'll be aliases to `ir.Expr` and `ir.Stmt`, respectively, instead.
2. Add a unit test (e.g., cmd/compile/internal/ir.TestStrictIR) that simply uses go/types to check that a (initially empty) list of packages all still type check successfully with the `strict-ir` build tag set.
3. One package at a time, replace as many uses of `ir.Node` with `ir.ExprNode` or `ir.StmtNode` as possible (and refactoring code as needed), and then add the package to the unit test from step 2 to prevent backsliding.
4. Once all cmd/compile packages have been transitioned, we change `ir.ExprNode` and `ir.StmtNode` to be aliases to `ir.Expr` and `ir.Stmt` unconditionally (i.e., make `strict-ir` the default/only mode), and remove `TestStrictIR` too.
5. Global rewrite CL removing `ir.ExprNode` and `ir.StmtNode` and replacing all uses with `ir.Expr` and `ir.Stmt`. (This could be split into 2 or more steps if we're concerned about conflicts with in-flight CLs; but I think as long as we give heads up before landing the CL, it should be fine.)

I don't think this is pressing work, but wanted to lay out a plan and start getting buy-in from the rest of the compiler team before embarking upon it.

Two possible cons to this plan to note:

1. Interface-to-interface type conversions (e.g.,  Expr->Node or Stmt->Node) require a runtime conversion to compute the itab, so it's possible this ends up slowing down some code paths. This is something worth measuring between steps 3 and 4. (Any ideas on how to measure the possible impact here *before* doing all the work would be welcome.)
2. Because we can't use generics in the compiler, we'll probably have to duplicate some `[]ir.Node` code paths to also operate on `[]ir.Expr` and `[]ir.Stmt`.

It's worth noting though that both of these cons apply to go/ast already, and I've not heard them raised before. But then Go 1 compatibility also precludes any work that could address these issues.