sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: create-react-app
Issue: CRA is not downloading the latest version of webpack
Labels: stale,needs triage,issue: bug report

<!--
    Please note that your issue will be fixed much faster if you spend about
    half an hour preparing it, including the exact reproduction steps and a demo.

    If you're in a hurry or don't feel confident, it's fine to report bugs with
    less details, but this makes it less likely they'll get fixed soon.

    In either case, please use this template and fill in as many fields below as you can.

    Note that we don't provide help for webpack questions after ejecting.
    You can find webpack docs at https://webpack.js.org/.
-->

### Describe the bug

I tried creating a new app using `create-react-app`, which in turn installed `react-scripts 4.0.3`, which in turn installed `webpack 4.44.2`. But while navigating to github repo of `react-scripts`, I found it uses `webpack 5.41.1` [link](https://github.com/facebook/create-react-app/blob/08dc7ab0f520f680b678556edeb702a5791af20e/packages/react-scripts/package.json#L73). Basically, it is not installing the latest version of nested dependencies.

### Environment

<!--
  To help identify if a problem is specific to a platform, browser, or module version, information about your environment is required.
  This enables the maintainers quickly reproduce the issue and give feedback.

  Run the following command in your React app's folder in terminal.
  Note: The result is copied to your clipboard directly.

  `npx create-react-app --info`

  Paste the output of the command in the section below.
-->
current version of create-react-app: 4.0.3
running from C:\Users\223015921\AppData\Roaming\npm-cache_npx\20060\node_modules\create-react-app

System:
OS: Windows 10 10.0.18363
CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Binaries:
Node: 14.15.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 93.0.4577.63
Edge: Spartan (44.18362.1533.0)
Internet Explorer: 11.0.18362.1
npmPackages:
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
react-scripts: 4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found

### Steps to reproduce

<!--
  How would you describe your issue to someone who doesn’t know you or your project?
  Try to write a sequence of steps that anybody can repeat to see the issue.
-->

1. Open `cmd` terminal.
2. Create new react app using `npx create-react-app <app-name>`.
3. Check for `webpack` version installed.

### Expected behavior

<!--
  How did you expect the tool to behave?
  It’s fine if you’re not sure your understanding is correct.
  Just write down what you thought would happen.
-->

It should have installed the mentioned version of nested dependencies.

### Actual behavior

<!--
  Did something go wrong?
  Is something broken, or not behaving as you expected?
  Please attach screenshots if possible! They are extremely helpful for diagnosing issues.
-->

Installing different version of nested dependencies rather than mentioned version.
Repository: node
Issue: Histogram `exceeds` metric 1 hour threshold
Labels: doc,perf_hooks

# 📗 API Reference Docs Problem

<!--

Thank you for wanting to make nodejs.org better!

This template is for issues with the Node.js API
reference documentation.

For problems with nodejs.org beyond the API
reference documentation, please open an issue
using the issue tracker for our site repository.

  https://github.com/nodejs/nodejs.org

For more general support, please open an issue
using the issue tracker for our help repository.

  https://github.com/nodejs/help

---

For the issue title, please enter a one-line
summary after “doc: ” (preferably 50 characters
or less and no more than 72).

The “✍️” are placeholders signifying requests for
input. Replace them with your responses.

If you are unsure of something, do your best.

-->

<!-- The output of “node --version”. -->

- **Version**: v11.10.0+

## Location

_Section of the site where the content exists_

**Performance measurement APIs**

Affected URL(s):

- https://nodejs.org/api/perf_hooks.html#perf_hooks_histogram_exceeds

## Description

The histogram `exceeds` metric description might be incorrect or at least vague in explaining what is being measured. 

> `histogram.exceeds`
> The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.


---

I havent seen any code implementation of the mentioned `maximum 1 hour event loop delay threshold.`.


#### My walkthrough in the code:

1. `Histogram::RecordDelta` tracks the delta time between `now` and the last time it was called. ([code](https://github.com/nodejs/node/blob/master/src/histogram-inl.h#L64))
2. `exceeds` is incremented when `hdr_record_value(,delta)` returns `true` ([code](https://github.com/nodejs/node/blob/master/src/histogram-inl.h#L71))

3. The `hdr_record_values` function is what determines this metric ([code](https://github.com/nodejs/node/blob/master/deps/histogram/src/hdr_histogram.c#L468))
   a. `value` is always bigger than 0 in our case.
   b. `exceeds` is incremented if this condition is `true`:

```
counts_index = counts_index_for(h, value);

if (counts_index < 0 || h->counts_len <= counts_index) { ... }
```

`counts_index` is the index of the last counts that happened in the `delta` duration. Hence `exceeds` will increment whenever there is no counts during the last `resolution` time.

Is my understanding corrent here? CC @jasnell as I believe he's implemented this feature

---

<!-- Use “[x]” to check the box below if you are
interested in contributing. -->

- [x] I would like to work on this issue and
      submit a pull request.
Repository: neovim
Issue: Last insert location should be an extmark, to follow small line changes
Labels: enhancement,marks

### Neovim version (nvim -v)

0.5.0

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

CentOS

### Terminal name/version

Wezterm 20210814-124438-54e29167

### $TERM environment variable

tmux-256color

### Installation

Nix (using the unstable branch to get 0.5.0)

### How to reproduce the issue

```
nvim -u NONE
:set sw=4
iabc def<esc>        # insert `abc def`
^                    # move cursor away
>>                   # indent
gi                   # try to get to the last insert location
```

### Expected behavior

Last insert location should use an extmark, to follow line changes like an indentation.

After the `gi` command, I'd expect the cursor to go back after `def|`

### Actual behavior

Last insert location seems to be stored as a row/col, and `gi` moves the cursor after `abc|`
Repository: rust
Issue: ensure that `the lint level is defined here` is always the last note
Labels: C-enhancement,A-lints,A-diagnostics,T-compiler,D-papercut

see #88865 for more conversation about why this would be preferable

@rustbot claim


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: pytorch
Issue: native functions should not be allowed to take in a `grad` argument
Labels: module: autograd,triaged,actionable,module: codegen

## 🚀 Feature
This conflicts with autograd codegen. If a native function accepts a `grad` argument, autograd codegen (from derivatives.yaml) uses "grad" to mean the "grad_output". This causes a conflict when trying to add a backward formula for an operator that accepts a `grad` argument.

## Motivation

Avoid conflict

## Pitch

Add some codegen-time checks to assert that a native function does not have a `grad` argument. It's OK for the argument to be named `grad_input` or something else.

## Alternatives

We introduce a way for the autograd codegen to have a different name for the grad_output.



cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @Lezcano @Varal7
Repository: pytorch
Issue: BC CI error message should link to some information about how to squash the warning
Labels: module: ci,triaged,better-engineering

## 🚀 Feature
The BC CI error message says:
```
The PR is introducing backward incompatible changes to the operator library. Please contact PyTorch team to confirm whether this change is wanted or not. 
```

I know the change is wanted, but I don't remember how to actually "add the change so that the BC mechanism stops complaining". This information can easily be found by searching the codebase or looking for similar PRs, but it would be nice if we just linked directly to a note or a wiki page or something so that we don't have to go searching around every time.

## Motivation

Save devs (old and new) some time when reading the message!

## Pitch

The error message should be improved with a "see this link for more details"

## Alternatives

Not sure


cc @ezyang @seemethere @malfet @lg20987 @pytorch/pytorch-dev-infra
Repository: create-react-app
Issue: Flow Enums support 
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..."
-->

Flowtype introduced Enums: a new feature that extends the language https://medium.com/flow-type/introducing-flow-enums-16d4239b3180 (starting from `v0.159`). In order to use the feature, certain tooling update is required: https://flow.org/en/docs/enums/enabling-enums/#toc-upgrade-tooling and a new Babel plugin needs to be enabled: https://flow.org/en/docs/enums/enabling-enums/#toc-enable-enums. Given that CRA does not allow extending Babel config, this means Flow Enums are not available for CRA users.

### Describe the solution you'd like

<!--
  Provide a clear and concise description of what you want to happen.
-->

CRA already has decent support of Flow: the user can simply create CRA project, install Flow and just use it. It is possible because Babel config includes necessary Flow-related plugins. Ideally, I'd like CRA team to consider adding `babel-plugin-transform-flow-enums` to Babel config. The required runtime dependency `flow-enums-runtime` can be added by the user, whenever they actually consider using Flow (and its enums).

### Describe alternatives you've considered

<!--
  Let us know about other solutions you've tried or researched.
-->

Craco and the rest of solutions for extending CRA configs were considered. Personally, I'd like to avoid them because of possible issues with upgrading CRA versions in the future and simply because those are like Pandora's boxes.

~Another alternative solution I'd consider is having a separate template (alike TypeScript) for Flow projects: `create-react-app my-project --template flowtype`. This can also help moving existing Flow-related plugins out of default settings (if it can make users life easier in any way).~ (Edit: I forgot templates don't change configs)
Repository: rust
Issue: already borrowed: BorrowMutError
Labels: I-ICE,T-compiler,C-bug,E-needs-mcve

### Code

https://github.com/akula-bft/akula/commit/3c1d3e2385557398b4d175b196b69deeb307f7c9


### Meta

`rustc --version --verbose`:
```
rustc 1.57.0-nightly (51e514c0f 2021-09-12)
binary: rustc
commit-hash: 51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8
commit-date: 2021-09-12
host: x86_64-unknown-linux-gnu
release: 1.57.0-nightly
LLVM version: 13.0.0
```

### Error output

```
thread 'rustc' panicked at 'already borrowed: BorrowMutError', compiler/rustc_infer/src/infer/combine.rs:952:50
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.57.0-nightly (51e514c0f 2021-09-12) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 --crate-type lib

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `((ethereum_types::H160, ethereum_types::H256), models::BlockNumber): kv::traits::TableObject`  |  = note: this failure-note originates in the macro `decl_table` (in Nightly builds, run with -Z macro-backtrace for more info)

#1 [check_mod_item_types] checking item types in module `kv::tables`
end of query stack
```
Repository: pytorch
Issue: Quantile is limited to 16 million elements and have poor performance.
Labels: module: performance,triaged,module: numpy,module: sorting and selection

## 🐛 Bug

x = torch.randn((17_000_000))
q = x.quantile(torch.tensor([0.1,0.5]))

Will throw that the tensor is too large:   RuntimeError: quantile() input tensor is too large.

In addition to this the performance is really bad. Looking at the c++ here at Git shows a sort that returns the indexes is used which consumes a lot of memory. And the speed a very slow. I computed some quantiles of a 16 million element tensor and it took 2.3 s. The equivalent operation in numpy took 0.2 s. 

## To Reproduce

See above.

## Expected behavior

That I can compute the quantile of very large tensors, that it requires much less memory than now and that it is about 10 times faster.

## Environment

PyTorch version: 1.9.0+cu111
Is debug build: False
CUDA used to build PyTorch: 11.1
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 10 Home
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.19042-SP0
Is CUDA available: True
CUDA runtime version: 11.4.100
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3070 Laptop GPU
Nvidia driver version: 471.41
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.21.2
[pip3] torch==1.9.0+cu111
[pip3] torchaudio==0.9.0
[pip3] torchvision==0.10.0+cu111
[conda] Could not collect



cc @VitalyFedyunin @ngimel @heitorschueroff @mruberry @rgommers
Repository: flutter
Issue: Remove updateSubtreeNeedsAddToScene
Labels: framework,P2,team-framework,triaged-framework

AFAICT, we should always be able to figure this out in `ContainerLayer.append` and `markNeedsAddToScene`.

/cc @goderbauer @flar for any insights I may be missing.
Repository: flutter
Issue: Make it an error to have a leaf container layer once `buildScene` is called on a layer tree
Labels: framework,P2,team-framework,triaged-framework

Leaf container layers are permissible when building up the layer tree, but should not be present once `buildScene` is called. At best, this is some wasted cycles on some native calls to the SceneBuilder API. 

/cc @goderbauer @flar for any additional insights
Repository: flutter
Issue: [video_player] special syntax in web_vtt captions should be handled.
Labels: p: video_player,package,team-ecosystem,P2,triaged-ecosystem

In web_vtt annotation handling, some captions comes with annotations (information about who/how is the speech being delivered) and styles tags. Those text format can be found in https://www.w3.org/TR/webvtt1/
E.g:
<v.first.loud Neil deGrasse Tyson><i>Laughs</i>

We need to handle these cases.

to reproduce, simply replace the caption text in https://github.com/flutter/plugins/blob/master/packages/video_player/video_player/example/assets/bumble_bee_captions.vtt to with `<v.first.loud Neil deGrasse Tyson><i>Laughs</i>`
Repository: flutter
Issue: [video_player] handle vtt caption text style.
Labels: p: video_player,package,team-ecosystem,P3,triaged-ecosystem

Some captions comes with styles about where/how the caption should be rendered. See https://www.w3.org/TR/webvtt1/ for details.
E.g:
00:32.500 --> 00:33.500 align:left size:50%

These styles should be handled.

to reproduce, simply replace the caption timestamp in https://github.com/flutter/plugins/blob/master/packages/video_player/video_player/example/assets/bumble_bee_captions.vtt to with `00:32.500 --> 00:33.500 align:left size:50%`
Repository: pytorch
Issue: `INTERNAL ASSERT FAILED` after `torch.jit.freeze`
Labels: oncall: jit

## 🐛 Bug

I have a model that fails consistently on its third call, after being frozen:
```
    return forward_call(*input, **kwargs)
RuntimeError: The following operation failed in the TorchScript interpreter.
Traceback of TorchScript (most recent call last):
RuntimeError: !ref.requires_grad()INTERNAL ASSERT FAILED at "/opt/conda/conda-bld/pytorch_1623448255797/work/torch/csrc/jit/ir/constants.cpp":77, please report a bug to PyTorch.
```
If I call it twice, there is no issue. When scripted but not frozen, there is also no issue.

There is no issue on CPU; it only occurs on CUDA.

## To Reproduce

I am currently unable to reproduce with a limited example, but am looking for one.

## Expected behavior

No assertion failure.

## Environment

 - PyTorch Version (e.g., 1.0): 1.9.0
 - OS (e.g., Linux): Linux
 - How you installed PyTorch (`conda`, `pip`, source): conda
 - Build command you used (if compiling from source): n/a
 - Python version: 3.9.6
 - CUDA/cuDNN version:  11.1
 - GPU models and configuration:  RTX 3060
 - Any other relevant information: n/a
Repository: vscode
Issue: MacOS CLI prof-startup results in hanging program
Labels: bug,freeze-slow-crash-leak,macos,workbench-cli,confirmed

On macOS:

1. Run `code-insiders --prof-startup <some-project-directory>`
2. After the profile is taken, a dialog should appear. One of the options is "Restart". Press that option
3. 🐛 VS Code doesn't restart, and the user must go to the dock and force quit the application.
Repository: storybook
Issue: Storybook cannot load in IE11 with window.history.state as 'unspecified error'
Labels: bug,needs triage

**Describe the bug**
Storybook cannot load in IE11 with window.history.state as 'unspecified error'

**To Reproduce**
https://github.com/jackysee/storybook-ie-unspecified-error

**System**
```
Environment Info:

  System:
    OS: Linux 5.4 Manjaro Linux
    CPU: (2) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
  Binaries:
    Node: 14.15.0 - /tmp/fnm_multishell_2448238_1631588352900/bin/node
    Yarn: 3.0.2 - /usr/bin/yarn
    npm: 6.14.8 - /tmp/fnm_multishell_2448238_1631588352900/bin/npm
  Browsers:
    Firefox: 91.0.2
  npmPackages:
    @storybook/addon-actions: ^6.4.0-alpha.34 => 6.4.0-alpha.34
    @storybook/addon-docs: ^6.4.0-alpha.34 => 6.4.0-alpha.34
    @storybook/addon-essentials: ^6.4.0-alpha.34 => 6.4.0-alpha.34
    @storybook/addon-links: ^6.4.0-alpha.34 => 6.4.0-alpha.34
    @storybook/vue: ^6.4.0-alpha.34 => 6.4.0-alpha.34
```

**Additional context**
The debugger showed that it has "unspecified error" when accessing `source.history.state`  where `source` === `window` in this case.
![storybook-ie-unspecified-error2](https://user-images.githubusercontent.com/30516/133188368-3df04a4f-ec24-4663-a7d9-66e460611bf8.png)
Repository: go
Issue: crypto/x509: invalid RDNSequence: invalid attribute value: unsupported string type: 4
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.17.1 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/colin/.cache/go-build"
GOENV="/home/colin/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/colin/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/colin"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/nix/store/5mp1rvzzmawm68f2gkcrg1b46g2wim9n-go-1.17.1/share/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/nix/store/5mp1rvzzmawm68f2gkcrg1b46g2wim9n-go-1.17.1/share/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.1"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/colin/brood/src/cert/go.mod"
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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1102055071=/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.
-->
https://play.golang.org/p/lJBj4om1QJ7


### What did you expect to see?

No error - with go 1.16.8, this works

### What did you see instead?
x509: invalid RDNSequence: invalid attribute value: unsupported string type: 4
Repository: ant-design
Issue: Table  control filters by filteredValue  mistake when hide column
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/ke-kong-de-shai-xuan-he-pai-xu-antd-4-17-0-alpha-0-forked-2gqhc?file=/index.js)

### Steps to reproduce
1、table columns have some control filters // 第一步 table有受控的筛选列
2、filter one column， check the data // 第二步 筛选某一列，检查数据
3、hide the columns just filtered // 第三步 隐藏刚刚的那列
4、check the data // 第四部，检查数据

### What is expected?
hide the filterrd column, the data is correct // 隐藏受控的筛选列时，数据正常

### What is actually happening?
hide the filterrd column, the data is incorrect // 隐藏受控的筛选列时，数据不正常

| Environment | Info |
|---|---|
| antd | 4.16.13 |
| React | 16.14.0 |
| System | macOS |
| Browser | chrome  V91.0.4472.114 |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: crypto/cipher: ExampleNewGCM_encrypt should use NonceSize to generate nonce.
Labels: Documentation,NeedsFix

ExampleNewGCM_encrypt should use AEAD.NonceSize to generate nonce.

Current:

```go
nonce := make([]byte, 12)
```

12 is hard-coded to make nonce buffer.

Better:

```go
nonce := make([]byte, aesgcm.NonceSize())
```

Use AEAD.NonceSize. AEAD has NonceSize that returns the size of the nonce.
Repository: youtube-dl
Issue: Support for vidsrc.me
Labels: site-support-request

I found this site and its not supported by youtube-dl.

Below is the info from the website - [vidsrc.me](https://vidsrc.me/).

VidSource - Video streaming API - VidSrc

VidSource is a database of movies and tv shows which u can use via our API.

For Movie: https://vidsrc.me/embed/ IMDB_ID /
ex: https://vidsrc.me/embed/tt1300854/

For TV Show https://vidsrc.me/embed/ IMDB_ID / SE - EP /
ex: https://vidsrc.me/embed/tt0944947/2-3/
Repository: flutter
Issue: [tool_crash] FileSystemException: Creation failed, OS Error: A file cannot be created if it already exists., errno = 183
Labels: c: crash,tool,P2,team-tool,triaged-tool


[flutter_01.log](https://github.com/flutter/flutter/files/7159437/flutter_01.log)