sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Codelens breaks bracket guides
Labels: bug,bracket-pair-guides

<!-- ⚠️⚠️ 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.3
- OS Version: Windows 10  OS build 19042.1348


Steps to Reproduce:
1. Enable `editor.guides.bracketPairs`
2.  Enable `editor.codeLens` 
![image](https://user-images.githubusercontent.com/25065744/145172040-b1749793-c469-48e4-bb43-c4762943da93.png)

Possibly duplicate (brackets, not indent guides) of https://github.com/microsoft/vscode/issues/9604
Repository: ant-design
Issue: Table with the scroll property works very slowly when scrolling
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.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/fixed-header-and-scroll-bar-with-the-page-antd-4-17-2-forked-gmxgt?file=/index.js)

### Steps to reproduce
1. Open reproduction link
2. Scroll down the table

### What is expected?
The table works quickly

### What is actually happening?
Scroll freezes

| Environment | Info |
|---|---|
| antd | 4.17.2 |
| React | 17.0.2 |
| System | Linux Mint 20.2 Cinnamon |
| Browser | Chrome 96.0.4664.45, (64 бит) |

---
I think it's related to this change of https://github.com/react-component/table/pull/647


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: kubernetes
Issue: No traffic disable handled by graceful node shutdown
Labels: kind/bug,sig/node,triage/accepted

### What happened?

The graceful-node-shutdown feature has been there, it handled preStop and grace period cases, but traffic may still be routed into this pod during shutdown.

### What did you expect to happen?

No further traffics are routed when node gets shutdown: pod IP should be moved into NotReady address list of Endpoint

### How can we reproduce it (as minimally and precisely as possible)?

Create a nginx deployment and a LoadBlance service with one or more replicas, keep simulating traffics, then try to reboot a node that runs nginx pod, the 503 error or other errors may be returned.

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
# paste output here
```
1.20
</details>


### Cloud provider

<details>
own data center
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: storybook
Issue: Popup or Modal type component persist in screen if go to Docs or Guideline
Labels: bug,addon: docs

**Describe the bug**
Popup or Modal type component persists in screen over other components

**To Reproduce**
When we have a Modal or Popup type components if we select Canvas tab in Playground and then switch to Guidelines of any other component or goto Playground of any other component while Docs tab selected the Popup or Modal type component still persist in the screen. That goes away when we go to Canvas tab of Playground of other components.
Screenshots are attached.

**System**
Environment Info:

  System:
    OS: macOS 12.0.1
    CPU: (8) x64 Apple M1
  Binaries:
    Node: 14.15.5 - ~/.nvm/versions/node/v14.15.5/bin/node
    Yarn: 1.22.5 - ~/.nvm/versions/node/v14.15.5/bin/yarn
    npm: 6.14.11 - ~/.nvm/versions/node/v14.15.5/bin/npm
  Browsers:
    Chrome: 96.0.4664.55
    Firefox: 89.0.2
    Safari: 15.1
  npmPackages:
    @storybook/addon-a11y: ^6.4.8 => 6.4.8 
    @storybook/addon-actions: ^6.4.8 => 6.4.8 
    @storybook/addon-docs: ^6.4.8 => 6.4.8 
    @storybook/addon-essentials: ^6.4.8 => 6.4.8 
    @storybook/addon-links: ^6.4.8 => 6.4.8 
    @storybook/addon-storysource: ^6.4.8 => 6.4.8 
    @storybook/addons: ^6.4.8 => 6.4.8 
    @storybook/builder-webpack5: ^6.4.8 => 6.4.8 
    @storybook/manager-webpack5: ^6.4.8 => 6.4.8 
    @storybook/node-logger: ^6.4.8 => 6.4.8 
    @storybook/preset-create-react-app: ^3.2.0 => 3.2.0 
    @storybook/preset-typescript: ^3.0.0 => 3.0.0 
    @storybook/react: ^6.4.8 => 6.4.8 
  npmGlobalPackages:
    @storybook/cli: 6.4.8


<img width="1426" alt="1" src="https://user-images.githubusercontent.com/1951794/145185058-da952593-78f8-4260-b954-6e7bbee1e92a.png">
<img width="1418" alt="2" src="https://user-images.githubusercontent.com/1951794/145185078-bfb8586a-0df4-47b0-b4f4-0294923fff63.png">
<img width="1402" alt="3" src="https://user-images.githubusercontent.com/1951794/145185082-26a3c884-09ae-46e3-a2df-80c4b09f71e0.png">
Repository: flutter
Issue: Refactor generic code in reorderable_list.dart into a base class / widget
Labels: framework,f: scrolling,c: proposal,P3,team-framework,triaged-framework

## Use case

I was looking into implementing a sliver reorderable grid, similar to the existing `SliverReorderableList`.
During my research, I found that a lot of code in the existing widget is private, but generic enough to be applicable to a `SliverReorderableGrid` (which is what I am trying to implement).

The fact that this code is private makes creating my own widget a little harder.
I have to essentially copy-paste all the private code and reimplement the important parts.

## Proposal

Refactor the generic code in `reorderable_list.dart` into a more generic set of  base classes, i.e. `SliverReorderable`, `_DragItem<T extends ReorderableState>`, in a file like `reorderable.dart`. The private code could still be kept private, but moved to that file.
The existing `SliverReorderableList` should be refactored to use this new `SliverReorderable`.

This would make fixing https://github.com/flutter/flutter/issues/46430 easier, as the only thing missing is the `SliverReorderableGrid`, which would extend the `SliverReorderable`.

cc @darrenaustin
Repository: rust
Issue: Check target definitions to see if more should have `cfg(target_thread_local)` enabled.
Labels: O-windows-gnu,O-openbsd,O-freebsd,O-netbsd,A-thread-locals,O-dragonfly,F-thread_local

Out of curiosity, I ran a script to print out the list of targets where `cfg(target_thread_local)` (indicating support for [`#[thread_local]`](https://github.com/rust-lang/rust/issues/29594)) is not true.

The results (and script) are available here: https://gist.github.com/thomcc/766d76e4da35ce1a73b93ccd548fd143

This looks somewhat wrong to me — I believe several of these should have support for static/linker thread local (or at least `__thread`/`__declspec(thread)` has worked there for me). Here are some items in that list which are... fairly suspicious to me.

- All the x86_64 (and probably other arches) unix ELF targets, like the various BSDs.
- i686-pc-windows-msvc, x86_64-pc-windows-gnu and i686-pc-windows-gnu
- aarch64-apple-ios (probably), aarch64-apple-tvos (almost certainly)
- ...

Playing around with[^1] `clang`, `gcc`, and `msvc` a bit indicates that (the ones I can easily test of these) should have it, and probably others. 

[^1]: I *think* the correct thing to compare against would be `_Thread_local`/`__thread`/`__declspec(thread)` rather than C++'s `thread_local` — these don't have ctor/dtor support, and thus map more directly to Rust's `#[thread_local]`. That said, I don't really see a difference in what I've checked.

My suspicion is:
- Some of these are listed as not having thread locals by accident. It seems very easy to forget to change something like this when updating or adding a target
- Some of these are listed as unsupported because technically we might support very old versions.

If the issue is about old versions, I guess a question would be what should the cfg do in situations where the support is version-dependent...

This sounds like a tricky thing to decide! Worth noting: support for TLS is what caused us to choose 10.7 as the minimum supported version for macOS: https://github.com/rust-lang/rust/issues/11927, but I guess back then[^2] we might not have had a `#[cfg(target_thread_local)]`?.

[^2]: I don't feel doing that much spelunking, seems likely that given the numeric gap between the macOS issue and the `thread_local` issue, that things probably worked very differently!

But if nothing else, libstd probably has more concrete ideas about what it supports, and this causes it to be far more pessimistic in `std::thread_local!`.

And more concretely: I'm pretty sure if I used `#[thread_local]` in a malloc, I'd be pretty annoyed if it couldn't support, say, FreeBSD, since I know that at least GCC/Clang support `__thread` on that target.
Repository: flutter
Issue: Integration test support in TestDefaultBinaryMessenger
Labels: framework,c: proposal,f: integration_test,P3,team-framework,triaged-framework

For unit tests, `TestDefaultBinaryMessenger` lets you intercept/mock specified platform channels.

For integration tests, it's desirable to be able to intercept/mock _all_ channels. Today the only way I see to do this is to give the test a list of all known channel names; if there is a better way, please point me to it :)

If not, could we please extend the API a little? We could for example provide a way to install one "all channels" handler as an alternative to the current per-channel handlers, e.g. in addition to

```
setMockMessageHandler(String channel, MessageHandler? handler, [ Object? identity ])
```

have

```
typedef AllMessageHandler = Future<ByteData?>? Function(String channel, ByteData? message);

setMockAllMessagesHandler(String channel, AllMessageHandler? handler)
```

Thanks.
Repository: angular
Issue: checkForUpdate does not work after forced reload
Labels: area: service-worker,P3

### Which @angular/* package(s) are the source of the bug?

service-worker

### Is this a regression?

No

### Description

This issue follows #44044 that was closed.

Configuration: 
```typescript
        ServiceWorkerModule.register('ngsw-worker.js', {
            enabled: environment.minimized && environment.environment === 'staging',
            registrationStrategy: 'registerWhenStable:120000'
        })
```

Update check executes during initialization:
```typescript
{
            provide: APP_INITIALIZER,
            useFactory: (service: ServiceWorkerService) => () => service.check$(),
            deps: [ServiceWorkerService],
            multi: true
}
```

ServiceWorkerService:

```typescript
public check$(): Observable<unknown> {
        if (this.swUpdate.isEnabled) {
            return of(undefined).pipe(
                tap(() => this.info('Start check for update')),
                concatMap(() => this.swUpdate.checkForUpdate()),
                tap((value) => {
                    this.info('Update available', value);
                    if (value) {
                        this.growlService.showInfo('Application update is installed. Page will reload in 5 seconds.', 'Update');
                    }
                }),
                concatMap((value) => (value ? of(value).pipe(delay(5000)) : of(value))),
                tap((value) => {
                    if (value) {
                        this.beforeUnloadService.skip(() => {
                            reload();
                        });
                    }
                }),
                concatMap((value) => (value ? NEVER : of(undefined)))
            );
        } else {
            return of(false);
        }
    }
```

It can be reproduced on our staging server, I can provide link privately upon request.

### Please provide a link to a minimal reproduction of the bug

_No response_

### Please provide the exception or error you saw

```true
There are no errors, `this.swUpdate.checkForUpdate()` never resolves.
```


### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 13.0.4
Node: 14.18.0
Package Manager: yarn 1.22.5
OS: win32 x64

Angular: 13.0.3
... animations, cdk, common, compiler, compiler-cli, core
... elements, forms, language-service, material
... platform-browser, platform-browser-dynamic, router
... service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1300.1
@angular-devkit/build-angular   13.0.4
@angular-devkit/core            13.0.4
@angular-devkit/schematics      13.0.4
@angular/cli                    13.0.4
@schematics/angular             13.0.4
rxjs                            7.4.0
typescript                      4.4.4
```


### Anything else?

_No response_
Repository: PowerToys
Issue: Image Resizer - Ignore Orientation Not Working
Labels: Issue-Bug,Needs-Repro,Product-Image Resizer

### Microsoft PowerToys version

0.51.1

### Running as admin

- [X] Yes

### Area(s) with issue?

Image Resizer

### Steps to reproduce

According to the documentation, the "ignore orientation" checkbox should affect whether the specified width x height dimensions are strictly enforced or swapped for portrait-oriented pictures.  However, it's not working.  The resizer _always_ swaps the dimensions.

1. Testing with an image that is 4000 x 6000 pixels.  (Portrait orientation)
2. Resize the image.
 - Resize Type: Fit
 - Width: 60
 - Height: 40
 - Unit: Pixel
 - [Check] Make pictures smaller but not larger
 - [Check] Ignore the orientation of pictures
 - [Check] Resize the original pictures
 - [Uncheck] Remove metadata that doesn't affect rendering
3. Resize.  The output image has swapped the dimensions, and is 40x60 instead of 60x40.  It remains in portrait mode.
4. Repeat step 2, but this time uncheck the box to "ignore the orientation of pictures."
5. Resize.  The output image has swapped the dimensions, and is 40x60 instead of 60x40.  It remains in portrait mode.

The checkbox state is _not_ correctly controlling whether the orientation is forced or rotated.

### ✔️ Expected Behavior

When unchecked, the documentation says that "ignore the orientation of pictures" should force it to take the literal dimensions provided (60x40).

### ❌ Actual Behavior

Image Resizer is swapping the dimensions from 60x40 ==> 40x60 regardless of whether or not the checkbox is checked.

### Other Software

N/A
Repository: godot
Issue: Add more inspector Resource auto-conversions
Labels: enhancement,discussion,topic:editor,usability

### Godot version

3.4 / 4.0

### System information

W10

### Issue description

The inspector currently supports a couple of implicit conversions for resource fields, i.e. you can drop a different resource than the expected one and it will be automatically converted if possible.

The currently supported conversions are:
Texture -> StandardMaterial3D (used as `albedo_texture`)
FontData -> Font (DynamicFont in 3.x)
Shader -> ShaderMaterial
Image -> ImageTexture

We could add more such conversions. ~~The most obvious one missing is Image -> Image texture.~~ Any more ideas about what could also be converted this way?

btw the conversions are very easy to add, check #41511 for example (the code moved to editor resource picker though).

### Steps to reproduce

1. Have Shader in your project
2. Drop it onto `material` field in the inspector
3. Wow it created ShaderMaterial
4. We need more of this

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: Optimize For Inference - add warning/error upon serialization
Labels: oncall: jit

I can't reload the  scriptmodule after freeze. Code is like below:
```
class TestModel(nn.Module):
    def __init__(self, dmodel):
        super(TestModel, self).__init__()
        self.linear = nn.Linear(4, dmodel, bias=False)
    def forward(self, x):
        out = self.linear(x)
        return out
fake_x = torch.rand(1, 4)
mymodel = TestModel(8)
mymodel.eval()
with torch.jit.optimized_execution(True):
    model = torch.jit.trace(mymodel, example_inputs=torch.randn(size=(1, 4)))
    freezed_model = torch.jit.freeze(mod=model)
    optimized_model = torch.jit.optimize_for_inference(freezed_model)
    print(freezed_model.code)
    model.save('model.pt')
    freezed_model.save('freeze.pt')
    optimized_model.save('optimized.pt')

```
Then I tried to loat it, but get error: RuntimeError: required keyword attribute 'value' is undefined``
Repository: storybook
Issue: 6.4 Breaking Chromatic excludeStories check with storyStoreV7
Labels: feature request,on-demand store

**Describe the bug**
In Storybook 6.3 we are using the following `excludeStories` expression:
```javascript
import isChromatic from 'chromatic';

export default {
  component: Component,
  excludeStories: isChromatic() ? undefined : /^Chromatic/;
};
```
This no longer works in 6.4 when using the experimental `storyStoreV7` feature. I can only assume it is related to https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#string-literal-titles, is metadata being pulled with static analysis now?

**To Reproduce**
I created a repro here: https://github.com/AndrewLeedham/storybook-exclude-stories-repro/tree/master I can't publish it to Chromatic because the build fails because of this issue.

**System**
```
System:
    OS: macOS 11.2.3
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node
    Yarn: 3.1.1 - /usr/local/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.18.1/bin/npm
  Browsers:
    Chrome: 96.0.4664.93
    Edge: 96.0.1054.34
    Firefox: 94.0.1
    Safari: 14.0.3
  npmPackages:
    @storybook/addon-actions: ^6.5.0-alpha.1 => 6.5.0-alpha.1 
    @storybook/addon-docs: ^6.5.0-alpha.1 => 6.5.0-alpha.1 
    @storybook/addon-essentials: ^6.5.0-alpha.1 => 6.5.0-alpha.1 
    @storybook/addon-links: ^6.5.0-alpha.1 => 6.5.0-alpha.1 
    @storybook/react: ^6.5.0-alpha.1 => 6.5.0-alpha.1
```
Repository: pytorch
Issue: [Question] How to extract/expose the complete PyTorch computation graph (forward and backward)?
Labels: module: autograd,triaged,oncall: visualization

How to extract the complete computation graph PyTorch  generates?

Here is my understanding:
1. The forward graph can be generated by `jit.trace` or `jit.script`
2. The backward graph is created from scratch each time `loss.backward()` is invoked in the training loop.

I am attempting to lower the computation graph generated by PyTorch into GLOW manually for some custom downstream optimization. I am not able to extract the complete computation graph at the framework level (forward AND backward).

Any help or guidance in this regard is greatly appreciated.

cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @Lezcano @Varal7
Repository: neovim
Issue: vim/neovim does not fill terminal since it only aligns to characters
Labels: enhancement,tui

### Neovim version (nvim -v)

0.6.0 commit e65b724

### Vim (not Nvim) behaves the same?

yes, vim 8.2.3582

### Operating system/version

Arch Linux

### Terminal name/version

kitty

### $TERM environment variable

xterm-kitty

### Installation

pacman -S neovim

### How to reproduce the issue

1. set terminal font large enough (in my example it's 64px per character)
2. launch neovim
3. set colorscheme which has a background (in my example, I use the built in colorscheme blue)
4. resize terminal window to make it not align to character size. (for example, 1279 x 767, which is (64 x 19 + 63) x (64 x 11 + 63) that is not suitable to place characters with 20 per row and 12 per column.

### Expected behavior

vim background color fill all the terminal.

### Actual behavior

The black background which is circled by red box is not expected.
![border](https://user-images.githubusercontent.com/24190403/145232638-b0ad13e3-bbb3-4e49-b42f-88e25b9454b9.png)
![border2](https://user-images.githubusercontent.com/24190403/145232747-ccde76e1-eea6-4ee9-80ca-6a76ed2e53a6.png)
Repository: yt-dlp
Issue: NHL Video - fails back to Generic - ERROR: Unsupported URL
Labels: site-enhancement

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2021.12.01**. ([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

Canada

### Description

URL: https://www.nhl.com/blackhawks/video/t-277437096 


NOTE: For NHL video I often need to use --no-check-certificate to avoid [SSL: CERTIFICATE_VERIFY_FAILED]
...however in this case it never gets that far.






### Verbose log

```shell
>yt-dlp.py -v "https://www.nhl.com/blackhawks/video/t-277437096"
[debug] Command-line config: ['-v', 'https://www.nhl.com/blackhawks/video/t-277437096']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.01 [91f071af6] (zip)
[debug] Python version 3.6.6 (CPython 64bit) - Windows-10-10.0.14393-SP0
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-full_build-www.gyan.dev, ffprobe 4.3.2-2021-02-02-full_build-www.gyan.dev, rtmpdump 2.4
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://www.nhl.com/blackhawks/video/t-277437096
[generic] t-277437096: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] t-277437096: Downloading webpage
[generic] t-277437096: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.nhl.com/blackhawks/video/t-277437096
Traceback (most recent call last):
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\YoutubeDL.py", line 1329, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\YoutubeDL.py", line 1398, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\extractor\common.py", line 597, in extract
    ie_result = self._real_extract(url)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\extractor\generic.py", line 3813, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.nhl.com/blackhawks/video/t-277437096
```