sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: Adjust styling of quake window (default height, etc)
Labels: Help Wanted,Area-Settings,Product-Terminal,Issue-Task,Area-Windowing

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

# Description of the new feature/enhancement
Adjust default styling of Quake Window 

Unless I'm missing something, there is no documented way to adjust the styling of the drop-down Quake window. For example, I would like my Quake dropdown window to take up 80% of screen height by default, not just 50%. Even if I resize the quake window from 50% to a different size, after I close the window and re-open it via the Hotkey it will resize back to the default of 50%.

If there is currently a way to do this, I'd love to know. Thanks!
Repository: react
Issue: Bug: Rules of Hooks should not allow passing a Hook as a function argument
Labels: Type: Bug,Component: ESLint Rules,Resolution: Backlog

See failing test in https://github.com/facebook/react/pull/22044.

Even if the PR gets stale, we should implement this check because currently it lets you circumvent the rule.
Repository: youtube-dl
Issue: URL not supported for members.familytherapyxxx.com
Labels: site-support-request

## Checklist
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.06.06**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs
- Single video: https://members.familytherapyxxx.com/bad-girls-have-more-fun/

Not sure if youtube-dl can support this, but it would be cool if it could automatically download every video from a category, or every video in every category
- All categories: https://members.familytherapyxxx.com/categories/
- A single category: https://members.familytherapyxxx.com/category/pov/

## Description
This work will require account credentials. To get them, please reply to this issue saying that you will be working on the issue, then email me at freesramey@protonmail.com, with the subject line: "Working on FamilyTherapy for Youtube-dl", and in the email, mention your github username.

It should be noted that the base site, https://familytherapyxxx.com, works fine, but it only has trailer content and doesn't require a paid login. The site https://members.familytherapyxxx.com is not supported and requires a paid login.

Here's relevant output from youtube-dl:
```
$ youtube-dl -v --cookies ~/fam-cookies.txt https://members.familytherapyxxx.com/the-guarantee/[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--cookies', '/home/sean/fam-cookies.txt', 'https://members.familytherapyxxx.com/the-guarantee/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.6 (CPython) - Linux-5.13.12-arch1-1-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4, ffprobe 4.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] the-guarantee: Requesting header
WARNING: Falling back on generic information extractor.
[generic] the-guarantee: Downloading webpage
[generic] the-guarantee: Extracting information
ERROR: Unsupported URL: https://members.familytherapyxxx.com/the-guarantee/
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.9/site-packages/youtube_dl/extractor/generic.py", line 3520, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://members.familytherapyxxx.com/the-guarantee/```
Repository: youtube-dl
Issue: podme.com
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running youtube-dl version **2021.06.06**
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that none of provided URLs violate any copyrights
- [X] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single podcast: 320 MP3: https://podme.com/no/papaya/550167, 128 MP4a: "https://reacthellomedia.streaming.mediaservices.windows.net/cd88cfe3-bcfb-44a2-b7c6-6793bea9bb27/89d10691fee842d5acb52ef257665c79.ism/manifest"
- podcast: https://podme.com/no/papaya


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Requires "premium" account, 14 day trial.
Repository: pytorch
Issue: Private bytes consumption exception
Labels: needs reproduction,module: cuda,module: memory usage,triaged

## 📚 Documentation

On the machine configured with RTX 3090 graphics card, initialize any CUDA tensor, and the space occupied by private bytes exceeds 9g.
On the 20 series graphics card, there is only about 4G. Why?

##Examples are as follows:

#Environment：
windows，pytorch1.9.0，python3.6.7，cuda11.1

#code：
import torch

def test():

   input_data = torch.rand((1, 1, 128, 128)).cuda().half()

   with torch.no_grad():
       while 1:
           print(input_data)
#[test.txt](https://github.com/pytorch/pytorch/files/7118429/test.txt)

if __name__ == '__main__':

    test()



cc @ngimel
Repository: PowerToys
Issue: Shortcut to minimize all apps from specific monitor / display
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

Could be a customized shortcut of a fixed one + n. For example, `ctrl + F1` to minimize all apps opened in the monitor 1,  `ctrl + F2` to minimize all apps opened in the monitor 2 and so on.

### Scenario when this would be used?

Specially in PCs with more than one monitor. But it can also be used in PCs with one monitor only as well.

### Supporting information

_No response_
Repository: TypeScript
Issue: exactOptionsPropertyTypes - anomolous behavior with Tuples, options, and spreading.
Labels: Suggestion,Experimentation Needed

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

- strictOptionalProperties  #43947 #44548
- [exactOptionalPropertyTypes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-4.html#exact-optional-property-types---exactoptionalpropertytypes) 
- [Labelled Tuple Elements](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#labeled-tuple-elements)
- Optional Tuple Parameters (enabled with labeling)
-  [Variadic Tuple Types](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#variadic-tuple-types)



### 🕗 Version & Regression Information

- Spreading of Variadic Tuple types, as well as the ability to indicate final position optional parameters with labels,  were introduced in ts 4.0.  The noted behavior has been been present since then.

- However, although there was hope it would be fixed with 4.4's exact `exactOptionsParameters`, it was not.


### ⏯ Playground Link

https://www.typescriptlang.org/play?exactOptionalPropertyTypes=true&ts=4.4.2#code/ATAuE8AcFNgFQIzALzANoA8BcA7ArgLYBG0ATgDTAYD8WRA9vQDbQCGOAugFAgDG9OAM6gwCBFkQp0CcnhwATaADMAljmjyOwAPTbgAUQAaAYX0AZM-oBycAIS3gAdxWgAFsGgZWvUAHlIoCoCrEwACqT0MKQQcFDQgligpHiwbiqCwCS8rASw6cDsHqQRpAB0wDzA-EIioAgATBJIqGgySSncfALCogDMTVKt3JUQMPD1gwDkAHqT5KULiOSTACSTnVXdtfXicBMtM3NtydDLaxwA3JXVPaD1jXtTs+Qycoqq6vJn6xc6ejj0MikYAAWmAxjMAEEAJIAWVBYFc+QAygAJXwAVTMABFMrBCkD6KRrlswPV+o8Ds8ZKsfn8isCwRCYfCwWkMmjMTjgFZfHA8QUcAyiRUgA

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```ts
  type T1 = [x:number, x?:boolean]
  const t11:T1 = [1,undefined] // EXCELLENT!! with exactOptionalPropertyTypes:true this became is an error. 
  const t12:T1 = [1,true]
  const t13:T1 = [1]

  type T2 = ['^',...T1,'$']
  const t21:T2 = ['^',1,true,'$'];
  const t22:T2 = ['^',1,undefined,'$']; // noerr - CLAIM - this SHOULD be an error
  const t23:T2 = ['^',1,'$']; // err - CLAIM - this SHOULD NOT be an error 

```

### 🙁 Actual behavior

In the above code, variable declaration for `t22` is NOT an err.
In the above code, variable declaration for `t23` IS an err.

### 🙂 Expected behavior

In the above code, variable declaration for `t22` IS an err.
In the above code, variable declaration for `t23` is NOT an err.

Even though with `exactOptionalPropertyTypes` , the `T1` now no longer considers `[number,undefined]` to be a legal assignment,  when `T1` is spread into `T2` the old behavior is used instead of the new behavior.

The [documentation for exactOptionalPropertyTypes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-4.html#exact-optional-property-types---exactoptionalpropertytypes) says 

> In TypeScript 4.4, the new flag --exactOptionalPropertyTypes specifies that optional property types should be interpreted exactly as written, meaning that `| undefined` is not added to the type:

```
Repository: go
Issue: cmd/compile: cannot elim binary search typeHash on a type switch for a known type
Labels: Performance,NeedsInvestigation,compiler/runtime

In `cmd/compile/internal/walk/switch.go`, gc rewrites type switch into a binary search for typeHash and some type assertions.
The SSA backend can correctly eliminate the type assertions for a known type, but can't eliminate the binary search.

### What did you do?

```
package a

func test(y int) int {
	var x = interface{}(y)
	var a = 1
	switch x.(type) {
	case int:
		a = 2
	case string:
		a = 3
	case int32:
		a = 4
	default:
		a = 5
	}
	return a
}
```


### What did you expect to see?

```
00000 (3) TEXT "".test(SB), ABIInternal
    MOVL $2, AX
    RET
```

### What did you see instead?

```
00000 (3) TEXT "".test(SB), ABIInternal
00001 (3) FUNCDATA $0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
00002 (3) FUNCDATA $1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
00003 (3) FUNCDATA $5, "".test.arginfo1(SB)
00004 (+6) MOVL type.int+16(SB), CX
00005 (6) CMPL CX, $-1146273534
00006 (6) JEQ 13
00007 (6) CMPL CX, $-520135500
00008 (6) JEQ 13
00009 (6) CMPL CX, $-145526278
00010 (6) JNE 13
00011 (+6) MOVL $2, AX
00012 (6) JMP 14
00013 (6) MOVL $5, AX
00014 (+16) RET
00015 (?) END
```
Repository: flutter
Issue: `textureRegistry.createSurfaceTexture()` throws EGL Error `EGL_BAD_ATTRIBUTE`
Labels: platform-android,engine,P2,team-android,triaged-android

while working on the Android Version FlutterWebGL I ran into the problem that when I try to create a new `SurfaceTexture` in the Java part of my plugin I get an Exception with an EGL Error `EGL_BAD_ATTRIBUTE`. This only happens after I created a new EGL context and I made that current.

If I create the `SurfaceTexture` first and create the EGLContext after that it works, but that would mean I would need to know how many SurfaceTextures the user wants to create up front.

The Surface Attributes that I use to create the new context are:

```java
    private int[] getConfigAttributes() {
        return new int[]{
                EGL10.EGL_RENDERABLE_TYPE,
                EGL_OPENGL_ES3_BIT_KHR,
                EGL_SURFACE_TYPE,    EGL_WINDOW_BIT,
                EGL10.EGL_RED_SIZE, 8,
                EGL10.EGL_GREEN_SIZE, 8,
                EGL10.EGL_BLUE_SIZE, 8,
                EGL10.EGL_ALPHA_SIZE, 8,
                EGL10.EGL_DEPTH_SIZE, 16,
                EGL10.EGL_NONE
        };
    }
```
any idea what could cause that?

you can find the project here:
https://github.com/FlutterGL/flutter_web_gl

This is the place where the excption happens
![image](https://user-images.githubusercontent.com/16635729/132314484-608eee00-6661-4dd5-ba04-bcbb85817a3b.png)

See https://github.com/FlutterGL/flutter_web_gl/blob/master/android/src/main/java/org/fluttergl/flutter_web_gl/OpenGLManager.java

on how I initialize OpenGL



```
[√] Flutter (Channel master, 2.6.0-1.0.pre.193, on Microsoft Windows [Version 10.0.18363.1500], locale de-DE)
    • Flutter version 2.6.0-1.0.pre.193 at C:\Entwicklung\flutter
    • Upstream repository https://github.com/flutter/flutter
    • Framework revision 0c5431d99c (30 hours ago), 2021-09-05 22:31:02 -0400
    • Engine revision b9c633900e
    • Dart version 2.15.0 (build 2.15.0-82.0.dev)
```
Repository: go
Issue: cmd/compile: Load optimization suboptimal
Labels: Performance,NeedsInvestigation,compiler/runtime

### What version of Go are you using (`go version`)?

<pre>
λ go version
go version go1.17 windows/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes. And also previous versions.

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=d:\temp\gocache
set GOENV=C:\Users\klaus\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=e:\gopath\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=e:\gopath
set GOPRIVATE=
set GOPROXY=https://goproxy.io
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.17
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=d:\temp\wintemp\go-build3764886800=/tmp/go-build -gno-record-gcc-switches 
</pre></details>

### What did you do?

Compile https://play.golang.org/p/oWj4bSaNiHN

Godbolt: https://go.godbolt.org/z/YnGcGW8Gc

### What did you expect to see?

A single `MOVL` instruction used to load uint32.

### What did you see instead?

The compiler tries to put the value together with the previous load, 2 other loads, 2 shifts and 2 or operations.
```
        MOVBLZX (AX), CX
        NOP
        TESTB   CL, CL
        JNE     foo_pc65
        MOVBLZX 1(AX), DX
        SHLL    $8, DX
        ORL     CX, DX
        MOVWLZX 2(AX), AX
        SHLL    $16, AX
        ORL     DX, AX
```

It it safe to rely on the value being in L1 when it has just been loaded. Some modern archs even do memory -> virtual register aliasing. I don't see any cases where this "optimization" is a benefit compared to straight up reloading the value.
Repository: neovim
Issue: Receiving multigrid events without multigrid enabled
Labels: bug,api,ui,ui-extensibility

### Neovim version (nvim -v)

NVIM v0.5.0

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

No, I'm not sure Vim has support of attaching UIs with msgpack 

### Operating system/version

Ubuntu 20.04.3 LTS

### Terminal name/version

Neoray UI 0.0.9

### $TERM environment variable

xterm-256color, but it's not applicable I would gess

### Installation

appimage

### How to reproduce the issue

Have a plugin that displays a hint, I use

```
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'fatih/vim-go'
```

To display inter errrors:
![Screenshot from 2021-09-03 00-01-18](https://user-images.githubusercontent.com/244042/132332839-048959f5-2939-4148-bf22-12d52c6f1895.png)

Then switch to another window (`gt` or `:tabe`). Client receives `win_hide` event, which should not be sent when `AttachUI` in go client was not called with `options["ext_multigrid"] = true`. 


### Expected behavior

No `win_hide` event is received because it is a multigrid event.

### Actual behavior

`win_hide` is received, which is unexpected for client.
Repository: vscode
Issue: Keybinding when clause has context for extension is enabled/installed
Labels: feature-request,keybindings,context-keys

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

Rust-analyzer's current technique for auto inserting comments is with the following custom keybinding: 
```json
{
    "key": "Enter",
    "command": "rust-analyzer.onEnter",
    "when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
}
```
(from https://github.com/rust-analyzer/rust-analyzer/issues/4980)

The problem is that if the `rust-analyzer` extension is not installed or is disabled, pressing enter in the editor (when all the *when* conditions are met) throws a error with `⚠ command 'rust-analyzer.onEnter' not found` **and** prevents the default return insertion. 

Currently there isn't a way to prevent this apart from remove the keybinding temporarily. 

This could be solved by adding a new context object. I looked at the [when contexts](https://code.visualstudio.com/api/references/when-clause-contexts#available-contexts) and there isn't a extension one available in editor? Maybe ` "when": "extensions.available.has('rust-analyzer') && ..."` ...?

Alternatively could this be done automatically, could vscode see that the extension is not available and ignore this keybinding?
Repository: TypeScript
Issue: narrowing doesn't work when spreading from ternary operator 
Labels: Suggestion,Awaiting More Feedback

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

narrow spread ternary 

### 🕗 Version & Regression Information

v4.5.0-dev.20210907

### ⏯ Playground Link

<!--
  A link to a TypeScript Playground "Share" link which shows this behavior

  The TypeScript Workbench can be used for more complex setups, try
  https://www.typescriptlang.org/dev/bug-workbench/

  As a last resort, you can link to a repo, but these will be slower for us to investigate.
-->
[Playground link with relevant code](https://www.typescriptlang.org/play?ts=4.5.0-dev.20210907#code/JYOwLgpgTgZghgYwgAgGIHt3IN4FgBQyyYAngA4QBcyARDJjQUfetQM5hSgDmBAvgQKhIsRCgBCcKDibFyVWgCMpjQsmVRqIAK4BbRdH6D8AEwgIANlJQJ0IDsQAWPahnQAfSVGO37YZOhgjtAAKs4g3K6YnlLIALw4yAD0SdBQ6JrIIfLIAOR0DMjuSiq5yMBsyCCByHBsbMDcIHCKFihgWKQUeQXoNLkAdLJdCkE8AyMANLIDswAUYxETOXGrtCw0yAD8iSzUi9wDLMh8yNTY6lL74YcaJwCU-EA)

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```ts
interface Foo {
  type: "foo"
  foo: string
}

interface Bar {
  type: "bar"
  bar: number
}

declare const thing: Foo|Bar

const otherThing: Foo|Bar = { //error: Type '"foo" | "bar"' is not assignable to type '"foo"'.
  type: thing.type,
  ...(thing.type === "foo" ? { foo: thing.foo } : { bar: thing.bar })
}
```

### 🙁 Actual behavior

```
error: Type '"foo" | "bar"' is not assignable to type '"foo"'.
```

### 🙂 Expected behavior

no error, since it's not possible for the object to not match either the `Foo` or `Bar` types
Repository: flutter
Issue: [Windows] Flutter does not render any GUI and shows black window instead
Labels: engine,platform-windows,c: rendering,a: desktop,e: OS-version specific,a: production,P2,team-windows,triaged-windows

![image](https://user-images.githubusercontent.com/63228361/132346915-05d28afa-8f1a-4bcd-ad48-884525fda152.png)
The UI is not rendered, however, it's possible to interact with the app(cursor changes on button/textfield hovering), you can navigate between screens, execute dart code without problems. 

**Reproducible on Windows 7, 8, 8.1:** 
• Steps to reproduce: install official Windows 7 build 6.1.7601.17514 or Windows 8 and launch default flutter application(official flutter example app).
• FlutterError.onError and runZonedGuarded do not catch anything.
• Can be fixed by installing [.NET Framework 4.8](https://support.microsoft.com/en-gb/topic/microsoft-net-framework-4-8-offline-installer-for-windows-9d23f658-3b97-68ab-d013-aa3c3e7495e0)(This fix works only for Windows 7 because Windows 8/8.1 does not support such .NET Framework version)

Tested on Flutter 2.2.2, 2.2.3, 2.5.3 from the stable channel.