sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Ability to bulk folder / app icons
Labels: Idea-New PowerToy,Product-File Explorer

## 📝 To Change Folder Icons in Bulk.

_What is the expected behavior of the proposed feature?_

Answer: The feature would help to change Folder icons of Multiple Folders at once, a somewhat similar concept like the existing Power Rename feature. 

_What is the scenario this would be used?_

Answer: Many a times, Users need to change multiple folder icons to a similar type, so that it helps them to organize huge amount of folders. The current procedure available, is to change each and every folder icons individually i.e. by Right Clicking on the Folder > Properties >Customize > Change Icons under Folder Icons, which is hectic if you consider doing the same thing for hundreds of folders. Therefore, a native few clicks solution to this problem would be really helpful. 

Here are links of few forums, where people in need of this feature, being suggested/forced to use 3rd Party Apps/Coding, since no native few clicks solution are available : 

1) https://www.howtogeek.com/forum/topic/how-do-i-change-folder-icons-for-many-folder-at-one-time-in-windows-7#:~:text=%22Highlight%20all%20of%20the%20folders,folders%20and%20click%20%22Properties.%22&text=Click%20the%20%22Change%20Icon%22%20button,or%20downloaded%20from%20the%20Internet.
2) https://answers.microsoft.com/en-us/windows/forum/all/how-do-you-change-multiple-file-folder-icons-all/13fd8918-4c33-4e61-a6a0-b1348b83d2e5
3) https://answers.microsoft.com/en-us/windows/forum/windows_10-files/changing-default-folder-icon-for-all-folders-on/cefe6da7-770d-4f9a-a94e-76e496d81b53
4) https://superuser.com/questions/1142609/how-to-do-i-batch-change-icons-of-folders-in-windows-10
5) https://www.reddit.com/r/windows/comments/ewa2fw/bulk_change_multiple_folder_icons_in_windows_10/
6) https://www.reddit.com/r/windows/comments/a5lu5f/how_to_change_multiple_folder_icons_at_once/
7) https://www.codeproject.com/Questions/1267157/How-to-change-multiple-folder-icons-in-windows

---

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Repository: neovim
Issue: system() throws error on `grep -m` commands with large input
Labels: bug,job-control

This is a new report for the exact same issue reported here: https://github.com/neovim/neovim/issues/5791. The proposed solution, prefixing the `system()` with `silent!` does not work for my Neovim version.

- `nvim --version`: 0.4.4
- `vim -u DEFAULTS` (version: ) behaves differently? No
- Operating system/version: Linux 5.9.1
- Terminal name/version: st 0.7
- `$TERM`: tmux-256color

### Steps to reproduce using `nvim -u NORC`

```
nvim -u NORC
:silent! call system("grep -m 50 'foobar'", repeat(['foobar'], 50000))
```

### Actual behaviour

E5677: Error writing input to shell-command: EPIPE

### Expected behaviour

No error message being printed.
Repository: pytorch
Issue: cudnn cannot be pickled by cloudpickle
Labels: module: cudnn,module: cuda,module: serialization,triaged

## 🐛 Bug

I was spawning parallel processes using Joblib for training distributed PyTorch code, and I get the error that the cudnn object cannot be pickled. After pruning as much extraneous code as possible, I've identified that cloudpickle is unable to pickle cudnn, as demonstrated in the minimal repro below:

## To Reproduce

```python
# main.py
import torch.backends.cudnn
import cloudpickle


def foo():
    print(torch.backends.cudnn)


cloudpickle.dumps(foo)
```

```shell
>>> python main.py

Traceback (most recent call last):
  File "main.py", line 9, in <module>
    cloudpickle.dumps(foo)
  File "/Users/BrianKo/anaconda3/envs/hydra38/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 73, in dumps
    cp.dump(obj)
  File "/Users/BrianKo/anaconda3/envs/hydra38/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 563, in dump
    return Pickler.dump(self, obj)
TypeError: cannot pickle 'CudnnModule' object
```

## Expected behavior

If you use Python's native pickle instead, the above repro works.

## Environment

Please copy and paste the output from our
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

You can get the script and run it with:
```
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```

 - PyTorch Version (e.g., 1.0): 1.7.0
 - OS (e.g., Linux): macOS
 - How you installed PyTorch (`conda`, `pip`, source): pip
 - Build command you used (if compiling from source): N/A
 - Python version: 3.8
 - CUDA/cuDNN version: None
 - GPU models and configuration: None
 - Any other relevant information: None


cc @ngimel @csarofeen @ptrblck @mruberry
Repository: ant-design
Issue: fields touched state error
Labels: Inactive

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/neiliandenglulan-antd491-forked-u85vz?file=/index.js:1516-1531)

### Steps to reproduce
enter a value in the username input box, now the button is enabled. Obviously, the password input is not touched and the form state should be invalid

### What is expected?
the button should be disabled

### What is actually happening?
buttont enabled

| Environment | Info |
|---|---|
| antd | 4.8.5 |
| React | 17.0.1 |
| System | MAC catalina |
| Browser | chrome 87.0.4280.67 |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: create-react-app
Issue: Remove requirement for NODE_ENV "NODE_ENV environment variable is required but was not specified"
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

<!--
  Provide a clear and concise description of what the problem is.
  For example, "I'm always frustrated when..."
-->

Yes, NODE_ENV is required here: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/config/env.js#L21

We have a custom local .eslintrc file, and the current behavior prevent us from running eslint as an extension in vscode, which is quite annoying

we can still run eslint from command-line, but with prefixing NODE_ENV env var, like: `NODE_ENV=local npx eslint .` though

In our .eslintrc, we use 

```
"settings": {
    "import/resolver": {
      "webpack": {
        "config": "./node_modules/react-scripts/config/webpack.config.js"
      }
    }
  },
```
 which is probably why this react-script warning shows up

### Describe the solution you'd like

<!--
  Provide a clear and concise description of what you want to happen.
-->

We propose to simply drop the NODE_ENV requirement (dropping the assertion), we think only the project local eslint configuration should be used anyway, similarly to `root: true` option in eslint https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
Repository: go
Issue: testing: don't overwrite race detector exit code
Labels: NeedsInvestigation

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.15 linux/amd64
</pre>

### Does this issue reproduce with the latest release?
(Also) Tested against `golang:latest` from the docker hub 


### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env # Non docker environment
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/hvdb/.cache/go-build"
GOENV="/home/hvdb/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/hvdb/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/hvdb/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.15"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.15/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
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-build016896563=/tmp/go-build -gno-record-gcc-switches"

</pre></details>

### What did you do?

File main.go
```
import "fmt"

func main() {
	c := make(chan bool)
	m := make(map[string]string)
	go func() {
		m["1"] = "a" // First conflicting access.
		c <- true
	}()
	m["2"] = "b" // Second conflicting access.
	<-c
	for k, v := range m {
		fmt.Println(k, v)
	}
}
```

File main_test.go
```
package main

import (
	"os"
	"testing"
)

func TestMain(m *testing.M) {
	main()
	os.Exit(m.Run())
}
```

```
$ go test
2 b
1 a
testing: warning: no tests to run
PASS
ok  	_/home/hvdb/Sync/bug/golang-race-exitcode	0.001s


$ go test  -race
==================
WARNING: DATA RACE
[clipped]
==================
1 a
2 b
testing: warning: no tests to run
FAIL
exit status 1
FAIL	_/home/hvdb/Sync/bug/golang-race-exitcode	0.008s


$ GORACE=exitcode=0 go test -race 
==================
WARNING: DATA RACE
[clipped]
==================
2 b
1 a
testing: warning: no tests to run
FAIL
exit status 1
FAIL	_/home/hvdb/Sync/bug/golang-race-exitcode	0.009s

```


### What did you expect to see?

```
$ go test  -race
[same as before]
exit status 66
FAIL	_/home/hvdb/Sync/bug/golang-race-exitcode	0.008s

$ GORACE=exitcode=0 go test -race 
[same as before]
exit status 0
FAIL	_/home/hvdb/Sync/bug/golang-race-exitcode	0.009s
```


### What did you see instead?
See *what did you do*
Repository: go
Issue: cmd/dist: request to increase user higher test timeout scale for ARM
Labels: NeedsInvestigation

<!--
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.14.7 linux/arm
</pre>

### Does this issue reproduce with the latest release?
Most likely (see #42798), but we carry carry the fix in Ubuntu so I'm not absolutely sure.

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
go version go1.14.7 linux/arm
root@tender-starling:~# go env
GO111MODULE=""
GOARCH="arm"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.14"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.14/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM="6"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build283516640=/tmp/go-build -gno-record-gcc-switches"

</pre></details>

### What did you do?

Ran a test on armhf:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/armhf/g/golang-gopkg-square-go-jose.v2/20200706_025803_f6666@/log.gz
### What did you expect to see?

Test passing, like on all other architectures.

### What did you see instead?

Internal test timeout:
```
=== RUN TestOpaqueKeyRoundtripJWE
panic: test timed out after 10m0s
```
Also reported as https://bugs.launchpad.net/ubuntu/+source/golang-gopkg-square-go-jose.v2/+bug/1893640 and fixed in Ubuntu by bumping arm's timeout scale to 3 from 2.

I had hard time resulting only a failure to get cross-company CLA signed, thus I'm not filing a PR, but the change is trivial. Please consider applying it.

The reasoning is that most developers use (faster) amd64 machines setting the test timeouts, but test may run on slower arm ones and also different tests may suffer different relative slowdown on the arm CPUs.

Due to those two varying factors it is safer to allow a higher timeout scale on arm to avoid tests timing out.
Repository: storybook
Issue: Changing value of control does not re-render a component fully
Labels: question / support,has workaround,angular,addon: controls

**To Reproduce**
Steps to reproduce the behavior:

1. Select 's' in the 'dialogModalSize' control dropdown
2. Click on the component's button with the text 'open modal'

**Expected behavior**
The modal window to be the smallest width size.

**Actual behavior**
The modal window is not changed in width size.

When changing to the 'save-button' component and then on 'Dialog Modal > Default' again the changes do apply.

Other controls such as 'dialogTitle' are indeed working. The difference with the 'size' control is that the 'title' text control is not set in the `ngOnInit` lifecycle method.

So maybe changing a value in the control is not really creating a new instance of the component? 

**Screenshot**

<img width="822" alt="Screenshot 2020-12-04 at 16 42 51" src="https://user-images.githubusercontent.com/9882035/101183399-c330be80-364f-11eb-8a5c-74dd2a5162c3.png">

**Code snippets**

Contrived example, but it will show the gist:

```ts
export default {
  title: 'Components/MyComponent',
  component: MyComponent,
  decorators: [...],
  argTypes: {
    size: { control: { type: 'select', options: ['xs', 's', 'm', 'l', 'xl'] } },
    title: { control: { type: 'text' }
  }
} as Meta;

const Template: Story<MyComponent> = (args) => ({
  template: `
    <my-component [title]="title" [size]="size">
    </my-component>
  `
});
```

MyComponent: 
```ts
type Size = 'xs' | 's' | 'm' | 'l' | 'xl';

@Component({
  selector: `my-component`,
  templateUrl: './my.component.html,
})
export class MyComponent implements OnInit {
   // ... left out for brevity

  @Input()
  title: string;

  @Input()
  size: Size;

 ngOnInit(): void {
   const width = this.size ? this.sizes[this.size].width : this.sizes[this.breakpoint].width;
      this.config = Object.assign(
        new MatDialogConfig(),
        { width, minHeight: '320px' }
    );
  }
}
```

**System**
  System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  Binaries:
    Node: 12.18.3 - ~/.nvm/versions/node/v12.18.3/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.6 - ~/.nvm/versions/node/v12.18.3/bin/npm
  Browsers:
    Chrome: 87.0.4280.88
    Firefox: 83.0
    Safari: 14.0
  npmPackages:
    @storybook/addon-actions: 6.1.0 => 6.1.0
    @storybook/addon-essentials: 6.1.0 => 6.1.0
    @storybook/addon-links: 6.1.0 => 6.1.0
    @storybook/angular: 6.1.0 => 6.1.0
Repository: flutter
Issue: flutter downgrade to support version selection
Labels: c: new feature,tool,c: proposal,P3,team-tool,triaged-tool

## Use case

Currently, `flutter downgrade` only supports downgrading to the previous version. Unfortunately the latest upgrade from 1.20.3 to 1.22.x broke a ton of plugins and to temporarily fix this we need to go back to said version. The current solution is to uninstall flutter and reinstall it, which takes a lot of time, especially when testing different versions.


## Proposal

support a specific version with `flutter downgrade [versiontaghere]`
Repository: react
Issue: CRA: Fast Refresh breaks embedded DevTools backend
Labels: Type: Discussion,Component: Developer Tools,Component: Fast Refresh

`TypeError: undefined is not a function (near '...e.sub...')
(anonymous function)
src/backend/index.js:26
  23 |   // DevTools didn't get injected into this page (maybe b'c of the contentType).
  24 |   return () => {};
  25 | }
> 26 | const subs = [
     | ^  27 |   hook.sub(
  28 |     'renderer-attached',
  29 |     ({
View compiled
(anonymous function)
src/backend.js:179
  176 |   hook.emit('shutdown');
  177 | });
  178 | 
> 179 | initBackend(hook, agent, window);
      | ^  180 | 
  181 | // Setup React Native style editor if the environment supports it.
  182 | if (resolveRNStyle != null || hook.resolveRNStyle != null) {`
React version:

## Steps To Reproduce

1. create-react-app
2. yarn add react-devtools
3. in index.js add import 'react-devtools' on first line
4. start react-devtools
4. start create-react-app devserver
6. go to localhost:3000
7. crash


Link to code example:

add react-devtools on first line of vanilla 'create-react-app'

## The current behavior

<img width="941" alt="devtools" src="https://user-images.githubusercontent.com/5372632/101188389-f24a2e80-3655-11eb-9a6b-239ac8742eb1.png">

## The expected behavior

Debug-Session
Repository: ant-design
Issue: Form 'fields' prop is too loosely coupled with form fields
Labels: help wanted,Inactive

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### What problem does this feature solve?
If I pass down to the `fields` prop an empty array - form values do not change.
If I want, for example to set all fields to empty - I am forced to explicitly pass an array, describing each field that I want to be empty.
Repro: https://stackblitz.com/edit/react-v8yrzb?file=index.js
Press `Reset form` and you will see that Inputs' values do not change.

### What does the proposed API look like?
I would like that if I pass `[]` to `fields` prop - all the fields in the corresponding form would become empty; because this is my intention.
Also, mind you, that that's exactly how `setState` works in React. You have your own strange version of it.
Please don't advise me to use `form.resetFields` - as I don't want the initial values - I want all fields to be empty. Also, I don't want use the `form` instance API.
Please don't advise not to use `fields` API - I have a very big and complex form and I want Redux to manage it.


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: opencv
Issue: Possible non-ASCII paths returned from utils::fs::getCacheDirectory
Labels: bug,category: core,platform: win32

##### System information (version)
<!-- Example
- OpenCV => 3.4/master
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
-->

- OpenCV => 3.4/master
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015

##### Detailed description
Related: https://github.com/opencv/opencv/pull/18931

On Windows this function can paths containing non-ASCII symbols. For example, in path like ```C:\Documents and Settings\%username%\Local Settings\AppData\Local\opencv\<major_version>.x<version_status>\``` ```%username%``` may be the source of  non-ASCII symbols

This issue currently reproduced only on Windows, although on Linux it also can use ```/home/%username%``` folder.

##### Steps to reproduce

<!-- to add code example fence it with triple backticks and optional file extension
    ```.cpp
    // C++ code example
    ```
 or attach as .txt or .zip file
-->

##### Issue submission checklist

 - [x] I report the issue, it's not a question
   <!--
   OpenCV team works with answers.opencv.org, Stack Overflow and other communities
   to discuss problems. Tickets with question without real issue statement will be
   closed.
   -->
 - [x] I checked the problem with documentation, FAQ, open issues,
       answers.opencv.org, Stack Overflow, etc and have not found solution
   <!--
   Places to check:
   * OpenCV documentation: https://docs.opencv.org
   * FAQ page: https://github.com/opencv/opencv/wiki/FAQ
   * OpenCV forum: https://answers.opencv.org
   * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
   * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
   -->
 - [x] I updated to latest OpenCV version and the issue is still there
   <!--
   master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
   OpenCV team supports only latest release for each branch.
   The ticket is closed, if the problem is not reproduced with modern version.
   -->
 - [x] There is reproducer code and related data files: videos, images, onnx, etc
   <!--
   The best reproducer -- test case for OpenCV that we can add to the library.
   Recommendations for media files and binary files:
   * Try to reproduce the issue with images and videos in opencv_extra repository
     to reduce attachment size
   * Use PNG for images, if you report some CV related bug, but not image reader
     issue
   * Attach the image as archive to the ticket, if you report some reader issue.
     Image hosting services compress images and it breaks the repro code.
   * Provide ONNX file for some public model or ONNX file with with random weights,
     if you report ONNX parsing or handling issue. Architecture details diagram
     from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
   -->
Repository: pytorch
Issue: memory_format kwarg doesn't work on most factory functions
Labels: module: bootcamp,triaged,enhancement,module: memory format

```
>>> torch.empty((2,2,2,2), memory_format=torch.channels_last)
tensor([[[[0.0000e+00, 0.0000e+00],
          [7.6059e+31, 1.0023e-08]],

         [[2.5244e-29, 2.5244e-29],
          [9.7881e-09, 2.4044e-12]]],


        [[[4.4377e+27, 4.6894e+27],
          [4.2964e+24, 1.1095e+27]],

         [[1.7975e+19, 6.0041e+31],
          [2.6792e+20, 2.7252e+20]]]])
>>> torch.zeros((2,2,2,2), memory_format=torch.channels_last)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: zeros() received an invalid combination of arguments - got (tuple, memory_format=torch.memory_format), but expected one of:
 * (tuple of ints size, *, tuple of names names, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)
 * (tuple of ints size, *, Tensor out, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)

```

Checklist:
- [ ] `arange()`
- [X] `empty()`
- [ ] `eye()`
- [ ] `full()`
- [ ] `linspace()`
- [ ] `logspace()`
- [ ] `ones()`
- [ ] `rand()`
- [ ] `randint()`
- [ ] `randn()`
- [ ] `randperm()`
- [ ] `tensor()`
- [ ] `zeros()`

cc @VitalyFedyunin @jamesr66a @ppwwyyxx
Repository: neovim
Issue: Add <count1> to properly check if a command count was set and isn't just the default
Labels: enhancement

See https://github.com/neovim/neovim/pull/13417

Looks like we don't have a `<count1>` for `<count>` like we have `v:count1` for `v:count`. The `count1` variable helps to check if a count was actually set or is just the default. The reasoning being when no count is provided and the default is used, `count1` will differ from `count` but when a count is provided, they will be the same.

Another option is to make `v:count` work for commands and not just keybinds. Though I'm concerned about backwards compatibility here.