sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: material-ui
Issue: [Autocomplete] ArrowUp must be pressed twice to bypass disabled items above
Labels: new feature,accessibility,component: autocomplete

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

When the first item is disabled, the ArrowUp must be pressed twice to bypass the disabled item.


### Expected behavior 🤔

It's not clear if it is a bug or if it was designed this way, but my logic says that if an item is disabled, then ArrowUp should bypass it.

### Steps to reproduce 🕹

Steps:

1. open  [codesandbox](https://codesandbox.io/s/mui-autocomplete-arrowup-issue-jsjnni?file=/demo.tsx)
2. open console
3. press keyboard ArrowUp key

![Autocomplete-Issue](https://user-images.githubusercontent.com/4041334/163142988-ff9e9723-6ed3-4a20-b2a0-7ecdb725aef8.gif)

### Context 🔦

Although it is not very important, I think it will confuse the user.

### Your environment 🌎

<details>
  <summary>`npx @mui/envinfo`</summary>

```
 System:
    OS: Windows 10 
  Binaries:
    Node: 14.17.0 
    Yarn: 1.22.10 
    npm: 6.14.13
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (100.0.1185.36)
```
</details>
Repository: yt-dlp
Issue: Error in "extractor\kakao.py"
Labels: DRM,geo-blocked,site-bug

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2022.04.08** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [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

Korea

### Description

When I try to use yt-dlp on Kakao an error is given: local variable 'fmt_url_json' referenced before assignment

### Verbose log

```shell
C:\Users\HS>yt-dlp -vU https://tv.kakao.com/channel/3962326/cliplink/427863327
[debug] Command-line config: ['-vU', 'https://tv.kakao.com/channel/3962326/cliplink/427863327']
[debug] Encodings: locale cp949, fs utf-8, out utf-8, err utf-8, pref cp949
[debug] yt-dlp version 2022.04.08 [7884ade65]
[debug] Python version 3.7.7 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg N-106564-gd6d46a2c50-20220411 (setts), ffprobe N-106564-gd6d46a2c50-20220411
[debug] Optional libraries: brotli, certifi, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[debug] [Kakao] Extracting URL: https://tv.kakao.com/channel/3962326/cliplink/427863327
[Kakao] 427863327: Downloading video info
[Kakao] 427863327: Downloading video URL for profile LOW
ERROR: local variable 'fmt_url_json' referenced before assignment
Traceback (most recent call last):
  File "C:\Python37\lib\site-packages\yt_dlp\YoutubeDL.py", line 1408, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Python37\lib\site-packages\yt_dlp\YoutubeDL.py", line 1478, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Python37\lib\site-packages\yt_dlp\extractor\common.py", line 641, in extract
    ie_result = self._real_extract(url)
  File "C:\Python37\lib\site-packages\yt_dlp\extractor\kakao.py", line 113, in _real_extract
    fmt_url = traverse_obj(fmt_url_json, ('videoLocation', 'url'))
UnboundLocalError: local variable 'fmt_url_json' referenced before assignment
```
Repository: PowerToys
Issue: FancyZones Editor vertical split of list of layouts for multiple monitor setup
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

In the FancyZones Editor, using a multi-monitor setup, instead of selecting a monitor to apply a layout to, have the optional layouts  displayed side-by-side for each monitor separately, with some form of separation in the middle. See this quick mock-up, where both the left and right monitor use the 'Columns' layout:
![FZE layout](https://user-images.githubusercontent.com/26246536/163140167-379d2e26-c20e-4ecb-9a4d-8bd9eb4bf33b.png)


### Scenario when this would be used?

In situations with multiple monitors, I often use different layouts depending on the screen resolution (see mock-up: the ultrawide monitor would be more suited to a 3-column setup than the standard 16:9 monitor). Being able to switch these without selecting the monitor would be much more convenient

### Supporting information

_No response_
Repository: PowerToys
Issue: FancyZones add option to delete template
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

In the FancyZones Editor, there are several templates predefined that I don't want to use. While it is possible to delete custom layout, it is not possible to delete a template. Please add functionality to remove unwanted templates

### Scenario when this would be used?

Unwanted templates just take up more room in the Editor, which can be used better for other purposes

### Supporting information

_No response_
Repository: go
Issue: x/sys/unix: add sysctl system call on Linux
Labels: NeedsFix

<!--
Our proposal process is documented here:
https://go.dev/s/proposal-process
-->

I noticed that golang.org/x/sys/unix don't have the sysctl function. Most compiler language like c have it by default. 
So I think go should have sysctl
Repository: godot
Issue: The Tree class item_collapsed signal is triggered even from user input
Labels: bug,topic:gui

### Godot version

v4.0.alpha.custom_build [9253b26f9]

### System information

Archlinux

### Issue description

Unlike most of the UI API, the Tree.item_collapsed signal is triggered even when setting the collapsed status from code. Doing something like this triggers the signal:
`my_tree_item.collapsed = true`

This goes against the general signal design principles in UI nodes that make them only trigger their signal when the situation change is caused by the user.

My use case aims at storing the collapsed status to save it for later on. So it is a problem that the signal trigger when setting the status manually, as I need to distinguish in the called function with a boolean whether I am setting them in code or if the user did it. Somehow like:
```
var in_code = false
func recreating_the_tree():
   ...
   var in_code = true
   tree_item.collapsed = true
   in_code = false

func _on_tree_item_collapsed(item):
   if not in_code:
       # Store the collapsed status
```


### Steps to reproduce

Just set the tree_item.collapsed status on a TreeItem and notice the signal is triggered.

### Minimal reproduction project

Ask if needed.
Repository: PowerToys
Issue: Capability to launch windows shortcuts from a configurable folder (and its subfolders)
Labels: Idea-Enhancement,Product-PowerToys Run

### Description of the new feature / enhancement

Would be great to have the capability to launch a shortcut from a collection of shortcuts available in a folder that can be configured in 'PowerToys Run' (PTR) application. Would enable the user to put a set of windows shortcuts (lnk files) in a folder and then configure the same in PTR. As a use case ... I have shortcut that opens outlook window in 'Inbox' / 'Calendar' / 'New Email' / 'Send Email' etc and for other applications - these are custom set of shortcuts that are not available from programs etc. The feature would be a great addition.

### Scenario when this would be used?

A windows shortcut could point to a 'bespoke' app launch (with command line parameters etc). A configurable location would help the user setup the PTR to launch shortcuts from a particular folder (or its subfolders) and would greatly enhance the usability of the PTR.

E.g. a windows shortcut (.lnk file) for opening 'Drafts' folder in outlook with command '"C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE" /nopreview /recycle /select "outlook:Drafts"' would be available in the 'configurable path' that the PTR app could be used to launch. This is not otherwise possible without a shortcut (.lnk) file.

### Supporting information

'launchy' application has such a feature wherein it maintained a 'utilities' folder that it allowed the user to maintain shortcuts in. It allowed the user to maintain '.lnk' files and in addition other files that could be launched (like a .pdf file directly launched from the search bar)
Repository: transformers
Issue: pointer to transformer (big) model
Labels: New model

# 🌟 New model addition

## Model description

<!-- Important information -->
Hi, needed a pointer on how to instantiate a Transformer-big from the original Vaswani et. al. paper (Attention Is All You Need). I could only find versions of Transformer-like architectures, so would be useful if this could also be added.

## Open source status

* [x] the model implementation is available: (give details): https://research.google/pubs/pub46201/
* [ ] the model weights are available: (give details)
* [ ] who are the authors: (mention them, if possible by @gh-username)
Repository: rust
Issue: The lint `unused_doc_comments` classifies all kinds of `#[doc …]` attributes as documentation comments
Labels: A-attributes,A-lints,P-low,T-compiler,C-bug,L-unused_doc_comments

The lint `unused_doc_comments` triggers on _any_ `#[doc …]` / `#![doc …]` (on any token stream inside the attribute) when it should only trigger on actual documentation comments i.e. `#[doc = …]` / `#![doc = …]`.

E.g. the following code incorrectly labels `#[doc(hidden)]` as a doc _comment_:

```rust
fn f<#[doc(hidden)] T>() {}
```

```
warning: unused doc comment
 --> q.rs:1:6
  |
1 | fn f<#[doc(hidden)] T>() {}
  |      ^^^^^^^^^^^^^^ - rustdoc does not generate documentation for generic parameters
  |
  = note: `#[warn(unused_doc_comments)]` on by default
  = help: use `//` for a plain comment
```

@rustbot label A-lint
@rustbot claim

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"fmease"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: pytorch
Issue: `torch.sum, prod, cumsum, cumprod, sparse.sum` INTERNAL ASSERT FAIL
Labels: module: error checking,triaged,module: reductions

### 🐛 Describe the bug

```python
import torch

a = torch.rand([], requires_grad=True)
torch.sum(a, dtype=torch.bool)
```

When the tensor requiring grad and arg `dtype` is `torch.bool`, `torch.sum` will trigger internal assert failed.

Besides, `torch.prod`, `cumsum`, `cumprod` and `sparse.sum` also trigger such internal assert fail

```python
import torch

a = torch.rand([], requires_grad=True)
torch.prod(a, dtype=torch.bool)
```

```python
import torch

a = torch.rand([1], requires_grad=True)
torch.cumsum(a, 0, dtype=torch.int8)
```

```python
import torch

a = torch.rand([1], requires_grad=True)
torch.cumprod(a, 0, dtype=torch.int8)
```

```python
import torch

a = torch.rand([1], requires_grad=True).to_sparse()
torch.sparse.sum(a, dtype=torch.int8)
```

### Versions

1.11.0
Repository: material-ui
Issue: [system] Expose styling callbacks in v5 (as was the case in v4)
Labels: discussion,package: material-ui

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

Material-UI v4 exposed `styles` functions from all of its constituent components, which could be imported and used with `makeStyles` to easily achieve consistent styling in custom components.

This is no longer the case in v5 - the styling callbacks passed to `styled` are defined in-line, so the only way to match the styling of an existing component is to vendor those styles, which is fairly ugly and not robust to updates.

(NB - I'm aware that custom components aren't necessarily a great idea from an accessibility perspective, but we should still have the option to build them with consistent styling.)

### Examples 🌈

Any element which is actively styled (Button, Tooltip, TextField, etc.).

### Motivation 🔦

It would be nice, for example, to be able to create a custom component which had the same `background-color` as a MUI `<Button>` does on hover without having to copy the following from `Button.js`:

```
    '&:hover': {
      backgroundColor: theme.vars
        ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})`
        : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),
      }
```

In addition, being able to import this code would make the custom component consistent regardless of changes to MUI's button styling.
Repository: rust
Issue: Using macros 2.0 single-matcher shorthand with `macro_rules!` results in an invalid suggestion
Labels: A-diagnostics,A-parser,A-macros,T-compiler,D-invalid-suggestion,D-incorrect

Given the following code ([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=044bfb218a6c674af58d48ab60892f7f)):

```rust
macro_rules! count_tts($($t:tt)*) {
    // TODO
    0
}
```

The current output is:

```
error: macros that expand to items must be delimited with braces or followed by a semicolon
 --> src/lib.rs:1:23
  |
1 | macro_rules! count_tts($($t:tt)*) {
  |                       ^^^^^^^^^^^
  |
help: change the delimiters to curly braces
  |
1 | macro_rules! count_tts{$($t:tt)*} {
  |                       ~         ~
help: add a semicolon
  |
1 | macro_rules! count_tts($($t:tt)*); {
  |                                  +

error: expected item, found `{`
 --> src/lib.rs:1:35
  |
1 | macro_rules! count_tts($($t:tt)*) {
  |                                   ^ expected item
```

Neither of the suggestions in the first diagnostic are valid syntax:
```rust
macro_rules! count_tts { $($t:tt)* } {
    // TODO
    0
}
```

```
error: expected item, found `{`
 --> src/lib.rs:1:38
  |
1 | macro_rules! count_tts { $($t:tt)* } {
  |                                      ^ expected item
```

```rust
macro_rules! count_tts($($t:tt)*); {
    // TODO
    0
}
```

```
error: expected item, found `{`
 --> src/lib.rs:1:36
  |
1 | macro_rules! count_tts($($t:tt)*); {
  |                                    ^ expected item
```

Ideally, the first diagnostic shouldn't appear in this case.

@rustbot modify labels: +A-macros +D-incorrect +D-invalid-suggestion

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"Milo123459"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: angular
Issue: ExpressionChangedAfterItHasBeenCheckedError is not thrown if ChangeDetection.OnPush is used
Labels: breaking changes,area: core,core: change detection,P3

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

core

### Is this a regression?

No

### Description

When changing a template value while the change detection is taking place, the user is warned with an `ExpressionChangedAfterItHasBeenCheckedError`.
This is not the case for components which use the `ChangeDetectionStrategy.OnPush` .

By doing some debugging I found the problem:

1. The async pipe triggers a `markForCheck` for the component, while change detection is running.
2. The refreshView [clears](https://github.com/angular/angular/blob/60b5a3de9d1c249d2322e56612d11d67aecc1d82/packages/core/src/render3/instructions/shared.ts#L477-L479) the dirty state of the component after the view has been checked.
3. The [checkNoChanges](https://github.com/angular/angular/blob/60b5a3de9d1c249d2322e56612d11d67aecc1d82/packages/core/src/application_ref.ts#L846-L850) is performed, and the [refreshComponent](https://github.com/angular/angular/blob/60b5a3de9d1c249d2322e56612d11d67aecc1d82/packages/core/src/render3/instructions/shared.ts#L1751-L1753) function does not perform a refreshView for that component, since it is no longer dirty.

This results in no ExpressionChangedAfterItHasBeenCheckedError because the view is not checked, since its dirty status has been cleared in the change detection process

This can be really hard to debug without the warning. So I found a workaround for now, that is to add `|| isInCheckNoChangesMode()` to the [refreshView check](https://github.com/angular/angular/blob/60b5a3de9d1c249d2322e56612d11d67aecc1d82/packages/core/src/render3/instructions/shared.ts#L1751) so that it becomes `if (componentView[FLAGS] & (LViewFlags.CheckAlways | LViewFlags.Dirty) || isInCheckNoChangesMode()) {`. This is very ugly and imperformant, but at least it helps detect those errors.

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

https://stackblitz.com/edit/angular-ivy-ked7hw?file=src/app/app.component.ts

### Please provide the exception or error you saw

_No response_

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

```true
Angular CLI: 13.3.2
Node: 16.14.2
Package Manager: yarn 1.22.18
OS: linux x64

Angular: 13.3.2
... animations, cdk, cdk-experimental, cli, common, compiler
... compiler-cli, core, forms, material, material-moment-adapter
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1303.2
@angular-devkit/build-angular   13.3.2
@angular-devkit/core            13.3.2
@angular-devkit/schematics      13.3.2
@schematics/angular             13.3.2
ng-packagr                      13.3.0
rxjs                            7.5.5
typescript                      4.6.3
webpack                         5.72.0
```


### Anything else?

_No response_
Repository: pytorch
Issue: torch.device missing doctring
Labels: module: docs,triaged

There is no docstring for `torch.device` for v. 1.12.0.dev20220224.

```python
# Running on JupyterLab
import torch
torch.device(<shift + tab>)

# A pop-up shows the following
Init signature: torch.device(self, /, *args, **kwargs)
Docstring:      <no docstring>
File:           /usr/local/Caskroom/miniconda/base/envs/book/lib/python3.10/site-packages/torch/__init__.py
Type:           type
Subclasses:
```

<details>
  <summary>Versions</summary>
  
```
PyTorch version: 1.12.0.dev20220224
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 12.3.1 (x86_64)
GCC version: Could not collect
Clang version: 11.0.0 (clang-1100.0.33.12)
CMake version: version 3.23.0
Libc version: N/A

Python version: 3.10.0 (default, Nov 10 2021, 11:24:47) [Clang 12.0.0 ] (64-bit runtime)
Python platform: macOS-10.16-x86_64-i386-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.21.2
[pip3] torch==1.12.0.dev20220224
[conda] blas                      1.0                         mkl  
[conda] mkl                       2021.4.0           hecd8cb5_637  
[conda] mkl-service               2.4.0           py310hca72f7f_0  
[conda] mkl_fft                   1.3.1           py310hf879493_0  
[conda] mkl_random                1.2.2           py310hc081a56_0  
[conda] numpy                     1.21.2          py310h2cbf25c_0  
[conda] numpy-base                1.21.2          py310he490955_0  
[conda] pytorch                   1.12.0.dev20220224        py3.10_0    pytorch-nightly
```

</details>

cc @brianjo @mruberry
Repository: excalidraw
Issue: support images in libraries
Labels: enhancement

- [ ] library schema update
- [ ] investigate sanitization requirements
- [ ] encoding?
Repository: vscode
Issue: Unable to drag views to reorder or move to different pane
Labels: bug,workbench-dnd,ios-ipados

<!-- ⚠️⚠️ 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.64.2
- OS Version: Ubuntu 20.04 LTS
- Notes: Running code-server and accessing via iPad running iPadOS 15.4 via Safari

Steps to Reproduce:

1. Open remote code server
2. Attempt to drag around icons and views
3. Be disappointed, nothing happens
Repository: storybook
Issue: Vue Teleport can't find target
Labels: bug,has workaround,vue3

**Describe the bug**
When using the built-in Vue component `Teleport`, using `to="#app"` doesn't work. I've tried adding `id="app"` to a div wrapped around the `<story />` component and to the story component itself, but neither fixed it. If I do `to="body"`, it works, but this means altering the component I'm testing.

In the console are these errors:
```bash
runtime-core.esm-bundler.js:38 [Vue warn]: Failed to locate Teleport target with selector "#app". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree. 
  at <VTeleport> 
  at <Anonymous> 
  at <Story> 
  at <Anonymous> 
  at <App>
warn @ runtime-core.esm-bundler.js:38
runtime-core.esm-bundler.js:38 [Vue warn]: Invalid Teleport target on mount: null (object) 
  at <VTeleport> 
  at <Anonymous> 
  at <Story> 
  at <Anonymous> 
  at <App>
```

**To Reproduce**
https://github.com/Daniel-Knights/storybook-teleport-bug

**System**
```
  System:
    OS: Windows 10 10.0.22000
    CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
  Binaries:
    Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.3.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (100.0.1185.36)
  npmPackages:
    @storybook/addon-essentials: ^6.4.21 => 6.4.21
    @storybook/vue3: ^6.4.21 => 6.4.21
```