sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: create-react-app
Issue: WARNING: You are currently running a version of TypeScript... react 17.x + react-scripts 4.x
Labels: needs triage

Hi folks!

I wonder why I'm still seeing the issue dated back in 2019 or earlier. 
I created a new project from scratch using the current versions of CRA (4.0.3), React (17.x), and TypeScript (4.5.2).
I didn't update typescript - it was installed by CRA.
Now when I run `npm run build` I'm seeing:
```
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.2.0

YOUR TYPESCRIPT VERSION: 4.5.2

Please only submit bug reports when using the officially supported version.

=============
```

I saw it two years ago and now again. 

I'm not sure but maybe this warning comes from the old  `@typescript-eslint/typescript-estree@3.10.1`: 

```
(master *+%)$ npm list @typescript-eslint/typescript-estree
lists-product@0.1.0 /projects/custom/piano/lists-product
└─┬ react-scripts@4.0.3
  ├─┬ @typescript-eslint/eslint-plugin@4.15.2
  │ └─┬ @typescript-eslint/experimental-utils@4.15.2
  │   └── @typescript-eslint/typescript-estree@4.15.2 deduped
  ├─┬ @typescript-eslint/parser@4.15.2
  │ └── @typescript-eslint/typescript-estree@4.15.2
  └─┬ eslint-plugin-testing-library@3.10.1
    └─┬ @typescript-eslint/experimental-utils@3.10.1
      └── @typescript-eslint/typescript-estree@3.10.1
```

which is here because of the old `eslint-plugin-testing-library@3.10.1` (while there is 5.0.0). And that - is installed by `react-scripts`.

Does it mean that we should just wait until your update CRA to use `eslint-plugin-testing-library@5.0.0`?
Repository: yt-dlp
Issue: ok.ru download speed limited to 250KB/s
Labels: cant-reproduce,site-bug

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2021.11.10.1**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [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 read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Any

### Description

The download speed on ok.ru is throttling at 250KB/s, it was fine before, seems like a change occured on the website.

### Verbose log

```shell
[debug] Command-line config: ['-Uv', 'https://ok.ru/video/2742403926747']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.11.10.1 (win_exe)
[debug] Python version 3.7.9 (CPython 32bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
yt-dlp is up to date (2021.11.10.1)
[debug] [Odnoklassniki] Extracting URL: https://ok.ru/video/2742403926747
[Odnoklassniki] 2742403926747: Downloading webpage
[Odnoklassniki] 2742403926747: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 2742403926747: Downloading 1 format(s): mpd-5
[debug] Invoking downloader on "https://vd197.mycdn.me/?expires=1637571825175&srcAg=CHROME&ms=45.136.22.5&type=5&sig=M74GPGu75u4&ct=4&urls=185.226.52.6&clientType=0&id=1784221993691"
[download] Destination: Обмани меня. Эпизод 2 [2742403926747].mp4
[download]   0.8% of 132.43MiB at 271.01KiB/s ETA 08:16
```
Repository: kubernetes
Issue: E2E tests: avoid generic poll functions
Labels: kind/feature,sig/testing,area/e2e-test-framework,needs-triage

### What would you like to be added?

Tests that use `wait.PollImmediate` (directly or indirectly, as in https://github.com/kubernetes/kubernetes/blob/ed07515ee012207e79816b4641ad5d3be238468b/test/e2e/framework/pod/wait.go#L386-L426) with a custom test function fail poorly when polling times out. Example:

```
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/storage/pvc_protection.go:72
Nov 13 14:20:10.683: While creating pod that uses the PVC or waiting for the Pod to become Running
Unexpected error:
    <*errors.errorString | 0xc003d86070>: {
        s: "pod \"pvc-tester-w2jjx\" is not Running: timed out waiting for the condition",
    }
    pod "pvc-tester-w2jjx" is not Running: timed out waiting for the condition
occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/storage/pvc_protection.go:96
```

This is actually one of the better examples. In other cases the only failure message is "timed out waiting for the condition" without any indication what the condition was expected to be. Even in this example it is not clear what the state of the pod was in the end. Were there some events for the pod? What's its status?

A better way to write such tests is with `gomega.Eventually` and a custom matcher. `Eventually` handles the polling. In case of a failure, the matcher is called to produce a failure report which then can include arbitrary additional information that currently developers have to start hunting for in log files, if they can be found there at all.

Metrics testing is another example where some data is checked against certain expectations. Because the data is never logged, it is impossible to tell after a failure what went wrong.

### Why is this needed?

Easier debugging after an E2E test failure.
Repository: yt-dlp
Issue: [IGN] Playlist pages
Labels: site-request

### Checklist

- [X] I'm reporting a site feature request
- [X] I've verified that I'm running yt-dlp version **2021.11.10.1**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Example URLs

https://www.ign.com/videos?filter=trailers (from `https://www.ign.com/videos`)
https://www.ign.com/videos/series/ign-game-reviews (from `https://www.ign.com/videos/series/`)

The former is an "endless" lazy-loading page, the latter requires more user-input (clicking on 'view next').

### Description

`yt-dlp -Uv https://www.ign.com/videos?filter=trailers` command output:

```
[debug] Command-line config: ['-Uv', 'https://www.ign.com/videos?filter=trailers']
[debug] System config file: /etc/yt-dlp.conf
[debug] System config: ['-o', '/home/user/Videos/youtube-dl/%(title)s [%(id)s].%(ext)s', '--sponsorblock-remove', 'all', '--embed-metadata', '--embed-subs', '--restrict-filenames', '--compat-options', 'no-live-chat', '--no-write-comments']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.11.10.1
[debug] Compatibility options: no-live-chat
[debug] Python version 3.9.7 (CPython 64bit) - Linux-5.14.17-201.fc34.x86_64-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
yt-dlp is up to date (2021.11.10.1)
[debug] [generic] Extracting URL: https://www.ign.com/videos?filter=trailers
[generic] videos?filter=trailers: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] videos?filter=trailers: Downloading webpage
[generic] videos?filter=trailers: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.ign.com/videos?filter=trailers
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1311, in wrapper
    return func(self, *args, **kwargs)
  File "/home/user/.local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1336, in __extract_info
    ie_result = ie.extract(url)
  File "/home/user/.local/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 595, in extract
    ie_result = self._real_extract(url)
  File "/home/user/.local/lib/python3.9/site-packages/yt_dlp/extractor/generic.py", line 3766, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.ign.com/videos?filter=trailers
```
Repository: pytorch
Issue: Transpose of a sparse tensor is not a view operation
Labels: module: sparse,module: autograd,triaged,needs design,module: viewing and reshaping,Stale

## Issue description

Transpose operation is a non-view operation for non-strided tensors (see [COO transpose implementation](https://github.com/pytorch/pytorch/blob/c50c77b444812d6f28bb7a9071ca0eb643ab6f78/aten/src/ATen/native/TensorShape.cpp#L1697-L1700), for the CSR transpose the situation is [similar](https://github.com/pytorch/pytorch/issues/61059#issuecomment-974684741)) that
1. contradicts with [transpose docs](https://pytorch.org/docs/master/generated/torch.transpose.html?highlight=transpose#torch.transpose) according to which the result of transpose shares the storage with the input
2. [is claimed to break autograd](https://github.com/pytorch/pytorch/issues/61059#issuecomment-877896058) that expects transpose to be a view operation. For testing this claim, see https://github.com/pytorch/pytorch/issues/61059#issuecomment-974787817 .

## A possible formalism for making COO/CSR transpose a view operation

Initial considerations:
1. COO and CSR tensors are composite tensors in the sense that their data is stored as "indices" and "values" tensors where autograd would act only on the "values" member tensor.
2. Transpose operation merely permutes the items in "values" member tensor. Hence, we have
```
COO(indices, values).transpose(dim0, dim1) == COO(new_indices, P(dim0, dim1) @ values)
CSR(crow_indices, col_indices, values).transpose(0, 1) == CSR(new_crow_indices, new_col_indices, P @ values)
``` 
where `P` is a certain permutation matrix that can be computed when coalescing the transposed COO tensor (here we assume that the CSR transpose is computed using "to COO->COO transpose->to CSR" algorithm).

Could autograd use this formalism, either explicitly or implicitly, to ensure its correctness on operations with sparse tensors?
If so, the permutation matrix `P` should be stored as an extra member tensor which is a  1-d integer tensor of size `nnz`.

cc @nikitaved @pearu @cpuhrsch @amjames @bhosmer @ezyang @albanD @zou3519 @gqchen @soulitzer @Lezcano @Varal7 @IvanYashchuk
Repository: pytorch
Issue: Tensor precision manifests differently between CPU and GPU.
Labels: module: numerical-stability,module: cuda,triaged,module: arm,Stale,module: jetson

- Device : Nvidia Jetson Xavier Nx.
- Problem: Shown in the pic below.
![image](https://user-images.githubusercontent.com/37702903/142760216-3355449f-ce5a-4b43-ab51-86ec46b96397.png)

But when tested on another device with 1080ti, it turned out normal as expected.
![image](https://user-images.githubusercontent.com/37702903/142760309-38b06656-7690-4423-8e83-d925086ee3b4.png)


cc @ngimel @malfet @ptrblck @puririshi98
Repository: godot
Issue: Grid map changing mesh library .tres sub resource ids when saving scene
Labels: bug,confirmed,topic:3d

### Godot version

Godot_v4.0-dev.20211108_win64

### System information

Windows 10 64 bit

### Issue description

Setup: Scene with grid map node which has assigned mesh library resource (in default .tres format).

Issue: After saving the scene, the sub_resource ids for mesh, image and image texture change. This is an issue when using source control as the .tres file has changed on disk.

### Steps to reproduce

- Open the repro project. 
- Load game.tscn. 
- Save the scene. 
- Check the .tres file.

The .tres sub resource ids for mesh, image and image texture have changed.

### Minimal reproduction project

[godot-tres-sub-resource-bug.zip](https://github.com/godotengine/godot/files/7576239/godot-tres-sub-resource-bug.zip)
Repository: godot
Issue: Embree fails building on OpenBSD 7.0
Labels: bug,platform:linuxbsd,topic:buildsystem,topic:thirdparty

### Godot version

dd3acd74bbd0c682f489693e31961aba54bde10a

### System information

OpenBSD 7.0, OpenBSD clang version 11.1.0

### Issue description

I am trying to build Godot on OpenBSD 7.0. I followed this guide* https://docs.godotengine.org/en/stable/development/compiling/compiling_for_x11.html (*the guide says I should install scons with pkg_add but that doesn't work becuase the python version that is used with it is 2.7 and godot uses type anotations which are not supported by python2.7 so I used pip install scons). when I run
 ```scons platform=linuxbsd -j2 use_llvm=yes``` I get the follwing error:
```
thirdparty/embree/common/sys/sysinfo.cpp:630:5: error: unknown type name 'cpu_set_t'
    cpu_set_t set;
    ^
1 error generated.
scons: *** [thirdparty/embree/common/sys/sysinfo.x11.tools.64.o] Error 1
scons: building terminated because of errors.
[Time elapsed: 00:08:05.616]
```

### Steps to reproduce

```
doas pkg_add llvm python3
pip install scons # python version 3.8.12
git clone https://github.com/godotengine/godot.git -b 3.x
cd godot
scons platform=linuxbsd -j2 use_llvm=yes

```

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: Feature request: Extend `torch.eye` for creating a batch of eye matrices 
Labels: feature,triaged,module: tensor creation

## 🚀 Feature
`torch.eye` only returns a nXn matrix with no batch dim. I suggest adding `torch.eye_like` that will create a nXn matrix with same number of samples in batch as another tensor.

## Motivation

Eye matrices are widely used in various fields, and creating this short alias can unify its creation, by keeping the same batch, type, and device as the given tensor. Similarly, we can modify the existing `torch.eye` to support the creation of a batch of eye matrices by passing the batch size.

## Additional context

```shell
def eye_like(x: torch.Tensor, n: int) -> torch.Tensor:
    """
    Return a tensor with same batch size as x, that has a nxn eye matrix in each sample in batch.

    Args:
        x: tensor of shape (B, *).

    Returns:
        tensor of shape (B, n, n) that has the same dtype and device as x.
    """
    return torch.eye(n, n, dtype=x.dtype, device=x.device).unsqueeze(0).repeat(x.shape[0], 1, 1)
```

cc @gchanan @mruberry
Repository: godot
Issue: [3.4] iOS startup errors
Labels: bug,platform:ios,topic:porting

### Godot version

3.4 stable

### System information

iOS

### Issue description

These have been mentioned as side notes in other bug reports but I am creating a dedicated one.

On iOS, any project generates the following errors at startup, seen in XCode:

```
*********** main.m
running app main
Path: /var/containers/Bundle/Application/XXX/TheGame.app
godot_iphone /var/containers/Bundle/Application/XXX/TheGame.app/TheGame
cwd /private/var/containers/Bundle/Application/XXX/TheGame.app
os created
setting data dir to /var/mobile/Containers/Data/Application/YYY/Documents from /var/mobile/Containers/Data/Application/YYY/Documents
setup 0
2021-11-21 14:19:37.146412+0100 TheGame[8334:2548902] Metal API Validation Enabled
2021-11-21 14:19:37.475337+0100 TheGame[8334:2548902] Setting up an OpenGL ES 2.0 context.
2021-11-21 14:19:37.478560+0100 TheGame[8334:2548902] failed to make complete framebuffer object 8cd6
2021-11-21 14:19:37.478773+0100 TheGame[8334:2548902] Failed to create frame buffer!
******** setting up keyboard input view
******** adding observer for keyboard show/hide
start animation!
2021-11-21 14:19:37.566405+0100 TheGame[8334:2548902] ERROR: AudioOutputUnitStart failed, code: -50
2021-11-21 14:19:37.566500+0100 TheGame[8334:2548902]    at: start (drivers/coreaudio/audio_driver_coreaudio.cpp:249) - AudioOutputUnitStart failed, code: -50
```

So we have a framebuffer and an audio error at init time and these are systematic, project independent.
These do not prevent the app from running properly, but they probably result in suboptimal performance, especially the one about the framebuffer.

PS: The 8cd6 error code is `GL_FRAMEBUFFER_INCLOMPLETE_ATTACHMENT`. [This discussion](https://stackoverflow.com/questions/8990770/failed-to-make-complete-framebuffer-object-8cd6-ios-programmatically-created-o) scheds some light on it and a possible solution.

### Steps to reproduce

Run any project on an iOS target from XCode

### Minimal reproduction project

Any
Repository: terminal
Issue: One letter types twice
Labels: Needs-Repro,Area-Input,Issue-Bug,Product-Terminal

### Windows Terminal version

1.11.2921.0

### Windows build number

10.0.19044.0

### Other Software

powershell 5.1 (build 19041 revision 1320)
mongosh 1.0.5 (I don't think that it's matter)

### Steps to reproduce

1. Open new tab
2. Turn on something and wait for hour (i didn't anything else)
3. Type something (e.x. "cls")

### Expected Behavior

I see "cls"

### Actual Behavior

I see "ccllss"

P.S. my keyboard is good, in other programs I don't get this result
Repository: electron
Issue: [Feature Request]: webContents inspect DOM element
Labels: enhancement :sparkles:

### 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

When using a webview, it is only possible to trigger inspect element from its position on content. It is impossible to inspect element outside the client view without scrolling or inspect element not in view (such as a `<title>` tag, etc.).

### Proposed Solution

Adding a new method on `webContents` instance which runs the inspection on a precise element. Just like Chrome extension allows when inside a devtools window : `chrome.devtools.inspectedWindow.eval('inspect(document.querySelector("title")[0])')`.

### Alternatives Considered

I already tried the `inspectElement(x, y)` method, even with re-positionning element before running inspection, but it is really inconsent, and the `<title>` like elements problem still exists.

### Additional Information

My current goal is to allow a user to list specific elements from a given webview in user interface, and allowing him to run inspection on a precise element which can be visible or not.
Repository: ant-design
Issue: TreeSelect - emphasize matching TreeNode based on custom search filter
Labels: 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?
I want to use custom filterTreeNode function which in my case filters nodes based on title and regardless locale letters (it's exact extension of default filtering based on title). The problem is that I am not able to emphasize matching nodes.

Here is my example: https://codesandbox.io/s/tree-select-custom-filtertreenode-8zxgy

Pay attention that I'm using treeNodeFilterProp="title" to gain some desired user experience, but it's not enough in my case.

When I'm typing "aaa" my nodes are filtering properly and the "aaaą" node is emphasized (due to treeNodeFiltersProp). 
![image](https://user-images.githubusercontent.com/50505013/142768077-ad465faa-b320-4260-beaf-f688c2dc949b.png)

But when I'm writing "aaaa" my node is still showing up but is not emphasized, which is not exactly what I wanted.
![image](https://user-images.githubusercontent.com/50505013/142768102-2c9567d8-baa8-4708-882b-bda05b6e77ac.png)


### What does the proposed API look like?
```
<TreeSelect
    ...
    treeNodeFilterProp="filterTreeNode" // use custom filterTreeNode function
    filterTreeNode={this.filterTreeNode}
>
```


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: Suboptimal code generation for omittable bound checks
Labels: I-slow,E-needs-test,C-bug

Compiler Explorer link: https://godbolt.org/z/KMTfY18Wf

I tried this code:

```rust
pub fn zero(d: &mut [Vec<i32>]) {
    let n = d.len();
    for i in 0..n {
        assert!(d[i].len() == n);
        for j in 0..n {
            d[i][j] = 0;
        }
    }
}
```

With `-C llvm-args=-enable-constraint-elimination`, I expected the bound checks to be optimized out as they're performed manually by `assert!`. However, both assert and bound checks were present in the compiled code. The inner loop looks really dumb in terms of code generation:
```asm
.LBB0_5:
        cmp     rsi, rdx
        je      .LBB0_9
        mov     dword ptr [rcx + 4*rdx], 0
        add     rdx, 1
        cmp     rsi, rdx
        jne     .LBB0_5
```
`rsi != rdx` is the loop invariant, but it's verified on each iteration.

At first I suspected the issue to be entirely on the LLVM side, but bound checks are omitted in equivalent C++ code (which is also present at the Compiler Explorer link), and the whole inner loop is replaced with a single `memset` call.

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.58.0-nightly (a77da2d45 2021-11-19)
binary: rustc
commit-hash: a77da2d454e6caa227a85b16410b95f93495e7e0
commit-date: 2021-11-19
host: x86_64-unknown-linux-gnu
release: 1.58.0-nightly
LLVM version: 13.0.0
```
Repository: vscode
Issue: Multiple quiet login requests (different scopes) from an extension to a single AuthenticationProvider are indistinguishable on the Accounts menu
Labels: feature-request,authentication


![image](https://user-images.githubusercontent.com/6726799/142768457-1f2bd4c1-0137-40cf-b66e-98e11ee86416.png)

> The two quiet logins are now accessible, but the screenshot reveals another issue, which is that the menu item prompts for the two different-scopes requests are identical. I will open a separate issue for this.

_Originally posted by @gjsjohnmurray in https://github.com/microsoft/vscode/issues/137613#issuecomment-974840018_
Repository: node
Issue: Support changing the active stack frame in CLI debugger (`node inspect`)
Labels: inspector

See https://github.com/nodejs/node/issues/14049
Repository: create-react-app
Issue: npx
Labels: stale,needs triage,issue: bug report

I have problems installing packages when I run npx create-react-app
27 vulnerabilities (16 moderate, 9 high, 2 critical)
I am using node version 17.1.0 and windows 11 (Microsoft Windows NT 10.0.22504.0 x64)