sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: cmd/go: point tidy errors to https://go.dev/ref/mod#graph-pruning 
Labels: Documentation,NeedsFix,GoCommand,modules,website

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.17.2 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/chris/.cache/go-build"
GOENV="/home/chris/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/chris/Code/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/chris/Code/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/chris/.local/lib/go-1.17.2"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/chris/.local/lib/go-1.17.2/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.2"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->

I updated the version of a package we depend upon and ran `go mod tidy`.

### What did you expect to see?

I expected to see nothing, or an error pointing me to documentation explaining the error.

### What did you see instead?

```
proprietaryproject.com/internal/assets tested by
        proprietaryproject.com/internal/assets.test imports
        github.com/stretchr/testify/assert imports
        gopkg.in/yaml.v3 loaded from gopkg.in/yaml.v3@v3.0.0-20200615113413-eeeca48fe776,
        but go 1.16 would select v3.0.0-20210107192922-496545a6307b

To upgrade to the versions selected by go 1.16:
        go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
        go mod tidy -compat=1.17
For other options, see:
        https://golang.org/doc/modules/pruning
```

I don't understand the problem, so I followed the link at the bottom of the error: `https://golang.org/doc/modules/pruning`

That link redirects to `https://golang.org/doc/modules/managing-dependencies`, which contains no information about these `-compat` and `-go` flags. It also doesn't contain the word `prune` anywhere.

So my report is really a documentation bug. I'm confused by the decision that go is making, and the resource the CLI points me to does not help. Did the contents of that page change recently or something?
Repository: vscode
Issue: Emmet for Yandex BEM doesn't work in JSX
Labels: bug,emmet,confirmed

<!-- ⚠️⚠️ 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.62.0 (user setup)
- OS Version: Windows_NT x64 10.0.22000

Steps to Reproduce:

1. typing `.about>h1.__h1+h2.--h2` in a React Component `render` function
2. press `tab`
3.  got   `<div className="about"><h1 className="__h1"></h1><h2 className="--h2"></h2></div>`
4. expected  `<div class="about">  <h1 class="about about--h1"></h1>  <h2 class="about__h2"></h2></div>`

according to this case it's should be work https://github.com/Microsoft/vscode/issues/32183

![image](https://user-images.githubusercontent.com/5398066/140544560-5a6f9aa7-d774-4b93-af3e-6d883e9a347e.png)
Repository: yt-dlp
Issue: Youtube RSS feed
Labels: PR-needed,site-request

### Checklist

- [X] I'm asking a question and not reporting a bug/feature request
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar questions including closed ones

### Question

How do I let yt-dlp download videos from a Youtube RSS feed? Can yt-dlp parse this?

Example feed (for a channel -- PBS space time):
https://www.youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g

Or is it possible to digest an RSS feed from an invidio.us instance?
Repository: go
Issue: x/build: coordinator shouldn't wait forever for builders that do not snapshot
Labels: Testing,Builders,NeedsFix

In https://golang.org/cl/361754 (#49207), a builder was corrected to SkipSnapshot when it doesn't build the go repo. The following code will loop forever in this scenario, as a snapshot will never be uploaded for this configuration:

https://cs.opensource.google/go/x/build/+/master:cmd/coordinator/coordinator.go;l=1016;drc=0f6a98d88fcd2f596743aecbdc5b3def2458eded

A test should fail if this invalid configuration occurs.
Repository: create-react-app
Issue: Jest can't find AbortController in node v16.13.0 when "testEnvironment": "node" is set in package.json
Labels: needs triage,issue: bug report

### Description

If you have 
```
"jest": {
    "testEnvironment": "node"
  },
```

set in your package.json, and you run an npm command with jest in it (e.g. `"test": "jest"`), you'll get:
> ReferenceError: AbortController is not defined

This happens despite `AbortController` being available in Node v16.13.0.
Running code using `AbortController` without Jest works fine.

It seems CRA is changing Jest's node environment somehow?

I'm aware that CRA does not allow the `"testEnvironment"` setting to be set in the package.json when using `react-scripts test`. I simply did not expect setting the `"testEnvironment"` setting to its default (`"node"`) to seemingly change the environment.


### Environment
CRA v4.0.3
Node v16.13.0
npm v8.1.0

### Steps to reproduce

1. Setup a fresh CRA project
2. Delete App.test.js
3. Add 2 new files to src:
```js
// src/abortControllerCode.js
function start() {
    const abortController = new AbortController();
    abortController.abort();
    return 'foo';
}

module.exports = { start }
```

and

```js
// src/abortControllerCode.test.js
const { start } = require('./abortControllerCode');

describe('AbortController test', () => {
    it('Should not throw', () => {
        expect(start()).toBe('foo');
    })
});
```
4. Replace the default test command with: `"test": "jest",` in your package.json
5. Add 
```
"jest": {
    "testEnvironment": "node"
  },
```
To your package.json

6. Run `npm test`


I get the following output from that.
<img width="571" alt="ReferenceError" src="https://user-images.githubusercontent.com/16328356/140393853-535d4d2d-646c-42ea-9abd-cd08cd90396d.png">
Repository: godot
Issue: UV2 Scaling doesn't affect Detail when set to UV2 (fixed in `master`)
Labels: bug,topic:rendering,confirmed,topic:3d

### Godot version

3.3.3 Stable

### System information

Windows 10, GLES 2&3, Nvidia Quadro K2000 461.92

### Issue description

Changing the UV2 size scalars doesn't affect Detail at all when UV2 is used for the Detail Layer.

### Steps to reproduce

Change UV2 with a texture on Detail, with it being set to UV2

### Minimal reproduction project

[Detail.zip](https://github.com/godotengine/godot/files/7488766/Detail.zip)
Repository: rust
Issue: Better error message when OpenOptions lacks either .append() or .write()
Labels: C-enhancement,T-libs

It appears that when you open a file, OpenOptions requires either .append(true) or .write(true). If you don't do that, you get:

`panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }'
` 

"Invalid argument" isn't helpful in tracking down the problem. A better error message would be helpful.

To duplicate the error, do this:

        let mut file = OpenOptions::new()
            .create(true) 
            .truncate(true)
            // .append(true)
            // .write(true)
            .open("myfile.txt")
            .unwrap();

Uncomment one of the lines above to make it work.

I'm opening this as a blank issue because I'm not sure if it's a bug or a feature request.
Repository: flutter
Issue: Add the ability to change axisDirection in scrollController
Labels: framework,f: material design,c: proposal,team-design,triaged-design


## Proposal

Hi, Please add the ability to change axisDirection in scrollController, because textField with textAlign.right just behaves weird. Unless it can be resolved in another way.
![gif](https://user-images.githubusercontent.com/69908232/140580273-639fca04-3671-4f5e-abaf-3f90df85f1c9.gif)
Repository: flutter
Issue: Allow building and running a Linux app under WSL from Windows
Labels: tool,platform-windows,platform-linux,c: proposal,a: desktop,P3,team-linux,triaged-linux

*Cross-reference: https://github.com/flutter/flutter/issues/133848 requests the opposite direction.*

## Use case

Linux device not present on Windows when WSL is installed.

## Proposal

I'm a Windows user. Would it be possible to list Linux and Android as devices when WSLg/WSA are installed?

WSL does not list in Windows PowerShell when using the `flutter devices` command. However I have installed flutter on my Ubuntu WSL instance and it can run Linux apps.

Since I am a EU user, WSA is not yet available for me and I have not tested anything yet.
Repository: godot
Issue: Should `var2str()` preserve Dictionary key order? (keys are currently alphabetically sorted when restored with `str2var()`)
Labels: discussion,topic:core

### Godot version

3.3.3.stable

### System information

Windows 10

### Issue description

According to the docs ["Dictionaries will preserve the insertion order"](https://docs.godotengine.org/en/stable/classes/class_dictionary.html), however if I serialize a Dictionary with `var2str`, then restore it with `str2var`, the keys are ordered alphabetically so the original key order is lost.

Is this a bug? Should such a serializer functionality know about a feature of an object, such as Dictionary's promise to keep its keys in insertion order? Since `var2bytes` works differently, as it keeps the original key order, I think it's a bug.

### Steps to reproduce

    var my_dict := { b=1, c=2, a=3 }
    var serialized_str = var2str(my_dict)
    var deserialized_str = str2var(serialized_str)
    var serialized_bytes = var2bytes(my_dict)
    var deserialized_bytes = bytes2var(serialized_bytes)
    for k in my_dict:
        print("original: ", k)
    for k in deserialized_str:
        print("deserialized str: ", k)
    for k in deserialized_bytes:
        print("deserialized bytes: ", k)

Output:

    original: b
    original: c
    original: a
    deserialized str: a
    deserialized str: b
    deserialized str: c
    deserialized bytes: b
    deserialized bytes: c
    deserialized bytes: a


### Minimal reproduction project

_No response_
Repository: material-ui
Issue: No way to define Box variants?
Labels: support: question

Should we be able to provide styleOverrides, defaultProps or variants for Box?

- [x] The issue is present in the latest release.
- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.

## Current Behavior 😯

I'm not sure if this is a bug, or if it's by design. Considering the flexibility of Box I can see where it might be difficult to do.
 
We've been making extensive use of the ability to declare our own variants for various mui components and have found it to be more desirable than dealing with classNames.

One component that doesn't seem to work with this model, however, is Box.  
I've searched the existing issues as best I can but keep coming up empty, and haven't seen anyone else discussing Box variants.  I'm hoping I've just missed something.

Here's a simplified example:
 
```
const theme = createTheme({
  components: {
    MuiBox: {
      variants: [
        {
          props: { variant: 'error' },
          style: {
            border: '3px dashed red',
            textAlign: 'center'
          },
        }
      ],
    },
  }
})
```

I've also tried with other props such as `data-variant="error"`, in case it's just that Box doesn't recognize 'variant'.

## Expected Behavior 🤔

MuiBox variants, defaultProps and styleOverrides should work as they do with other components.

## Steps to Reproduce 🕹

While working on setting up this codebox, I noticed that MuiBox is not present in components.d.ts, so I guess this is more of a feature request than a bug report  :-/

https://codesandbox.io/s/heuristic-water-pzsoz
Repository: pytorch
Issue: Add support for LTC ops needed by backwards/autograd/autocast
Labels: triaged,module: lazy

[] - zeros
    - needs codegen change to handle one of its field types
 
[] - sum_to.. (@Krovatkin please confirm if sum_to_size is useful, or we need another op)
    - sum_to_size is codegen-compatible already, but needs shape/dtype inference function written

also needed for autocast
[] - some variant of .to for dtype (todo, confirm which one and see how to add it)

cc @jjsjann123  @kevinstephano  @mcarilli
Repository: create-react-app
Issue: Bug: Create-react-app fail of compile.
Labels: stale

If windows username have a quote - app will give out a Fail of compile. Code wasnt changed, its like npx created it.

![image](https://user-images.githubusercontent.com/74506125/140565777-7ee3f6bd-3831-4065-b367-1b83e9d21d3e.png)
![image](https://user-images.githubusercontent.com/74506125/140566098-bab96c1d-bc55-449a-886c-cbef6bb638b4.png)
Repository: go
Issue: runtime: canonical 48-bit address bug in lfstack
Labels: NeedsInvestigation,compiler/runtime

### What version of Go are you using (`go version`)?
go version go1.16.2 linux/amd64

### Does this issue reproduce with the latest release?
Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ryanh/.cache/go-build"
GOENV="/home/ryanh/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/ryanh/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/ryanh/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.16"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.16/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16.2"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1471403295=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->

If lfstack gets any pointer on amd64 platforms where the top bit is set then an assert is thrown.
In most cases this won't occur since the kernel will consume the top bit of VA, leaving the userspace with 47bits of VA.
This is a logic bug around address canonicalization.

Check is here: https://github.com/golang/go/blob/master/src/runtime/lfstack.go#L28
Pointer sign extension is here: https://github.com/golang/go/blob/master/src/runtime/lfstack_64bit.go#L52

I don't have a basic application or environment for reproducing this. Easy to see the logic bug.

### What did you expect to see?

While it is correct that you must canonicalize the pointer by sign extending it on 48bit systems (I'm not even going to bring up LA57). The check inside of lfstack is incorrect since it assumes the sign extension will never occur. Thus assuming it will never receive a true 48-bit pointer.
This assumption is broken in environments where you get 48-bit pointers with the high bit set.
This is purely a simple logic bug, it shouldn't assert in this case.

### What did you see instead?
An assert on 48-bit address with high bit set.
Repository: rust
Issue: Request: standard library function/type/whatever to parse utf-8 from an iterator
Labels: T-libs-api,C-feature-request

There's `char::decode_utf16`, and there's an iterator adapter to turn a byte iterator over utf-8 into a char iterator that's used by `str::chars`, but there's no thing like `decode_utf8` where an iterator over bytes is decoded as things go.
Repository: PowerToys
Issue: Allow filtering by files that won't be renamed in PowerRename's filter dropdown
Labels: Idea-Enhancement,Product-PowerRename

### Description of the new feature / enhancement

PowerRename's new FluentUI has a filter dropdown menu at the top right, allowing to switch between "Show all files" and "Only show files that will be renamed". It would be very useful to have a 3rd option, "Only show files that won't be renamed" - which would be helpful in seeing which files I'm inadvertently not matching.

Perhaps the wording should be adjusted, since "Only show files that will be renamed" and "Only show files that won't be renamed" are too visually similar in English to pass the glanceability test for me.

### Scenario when this would be used?

When attempting to match filenames, especially with a complex RegEx, it can be equally important to check which files will match and which files won't match. Currently there's no convenient practical way to do the later in a long list of files.

### Supporting information

<img width="241" alt="powerrename-filter" src="https://user-images.githubusercontent.com/406775/140598810-c29160de-cf46-416e-9ce8-6d292dd5206d.png">
Repository: TypeScript
Issue: False positive 'This condition will always return false' comparing `this` with an instance of a subclass
Labels: Bug

# Bug Report

### 💻 Code
```
class AA {
	do1 (){
		const b = dd.getB();
		if (this === b){
			console.log("this === b");
		}
	}
}

class BB extends AA{
	getB():BB {return this;}
}

let dd = new BB();
dd.do1();
```

### 🙁 Actual behavior
at line: 		if (this === b){
error TS2367: This condition will always return 'false' since the types 'this' and 'BB' have no overlap.

and execute the compiled js file will output:
this === b
Repository: terminal
Issue: Pane history not being saved (GitBash) 
Labels: Area-Server,Issue-Bug,Product-Terminal

### Windows Terminal version (or Windows build number)

Windows 10 , Version 21H1 (OS Build 19043.1288)
Windows Terminal Preview Version: 1.12.2931.0

### Other Software

Git 2.33.1

### Steps to reproduce

I have three Git Bash panes in my Windows Terminal Preview setup.  

I close Windows Terminal Preview by clicking the `X` button in top right of application.  

When I re-open, my most recent history is not accessible in any of these three panes (ie pressing the up and down arrows on the command line).  

It seems to have saved history from before I installed Windows Terminal Preview.  

I have a `.bash_history` file in `C:\Users\Me` and I can see the history entries in that file.  

I don't seem to have a `.bash_profile` file in that location (as related answers on stack overflow have suggested looking at).

### Expected Behavior

_No response_

### Actual Behavior

See `Steps to reproduce` section.
Repository: rust
Issue: Binaries built with the "i686-pc-windows-msvc" target triggers false (I hope) positives in VirusTotal
Labels: O-windows-msvc,C-bug,O-x86_32

It seems like 32-bit Windows binaries built with the "i686-pc-windows-msvc" target and Rust 1.56.1 is triggering what I hope and believe is false positives in VirusTotal. Mostly claiming it to be variations of "Jaik".

Screen shot of VirusTotal scan:
![brave_rseIFGcA14](https://user-images.githubusercontent.com/4687674/140607319-53d88189-a8ee-47d4-abc5-1da0ce9c3b39.png)

I made [this project](https://github.com/forbjok/gh-test), showing the issue reproduced in a release build done on Github Actions. (but it also happens when built locally on my computers)
This project is literally the "Hello world" example automatically generated by "cargo init", with no modifications.

While I would assume that they are false positives, having these show up on every 32-bit Windows binary built with Rust is not good optics.
Repository: electron
Issue: [Feature Request]: add docs for setup DEPS mirror to resolve network  trouble
Labels: enhancement :sparkles:,documentation :notebook:,pr welcome

### 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 feature request that matches the one I want to file, without success.

### Problem Description

The electron has several dependencies, and these dependencies are very large.

https://github.com/electron/electron/blob/95a867b795574689c9b6e93e3d327ccc8171eb56/DEPS#L84-L113

In mainland China, Github is not fast (Github does not have a CDN in mainland China), and the network cannot be reached directly (Google).

This makes it difficult to pull dependencies and then build.

This hinders people's enthusiasm for participating in contributing to Electron.

### Proposed Solution

Add a guide (document) describing how to replace these dependent sources

### Alternatives Considered

none

### Additional Information

If someone understands this and writes an English markdown, I would be happy to translate it to the Chinese version. Thanks