sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: yt-dlp
Issue: Twitcasting recordings with quality options
Labels: site-enhancement

### Checklist

- [X] I'm requesting a site-specific feature
- [X] I've verified that I'm running yt-dlp version **2022.05.18** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [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

### Region

_No response_

### Example URLs

https://twitcasting.tv/tsukushi_aria/movie/734232829

### Description

Most twitcasting.tv livestreams and recordings are only available at source quality, but occasionally popular ones get processed into lower resolution options. yt-dlp will successfully find the various formats for livestreams with quality options, but for recordings only source quality will be available. I am requesting that the lower resolution versions are added for recordings. (Note that the linked example has 720p and 360p options when played back in a browser but yt-dlp does not find them.)

### Verbose log

```shell
[debug] Command-line config: ['-vU', 'https://twitcasting.tv/tsukushi_aria/movie/734232829', '-F']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.05.18 [b14d523] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: ffmpeg -bsfs
[debug] exe versions: ffmpeg git-2020-07-29-cbb6ba2, ffprobe git-2020-07-29-cbb6ba2
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2021.10.08, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
Latest version: 2022.05.18, Current version: 2022.05.18
yt-dlp is up to date (2022.05.18)
[debug] [TwitCasting] Extracting URL: https://twitcasting.tv/tsukushi_aria/movie/734232829
[TwitCasting] 734232829: Downloading webpage
[TwitCasting] 734232829: Downloading live info
[TwitCasting] 734232829: 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
[info] Available formats for 734232829:
ID   EXT RESOLUTION │ FILESIZE   TBR PROTO  │ VCODEC        VBR ACODEC     ABR
──────────────────────────────────────────────────────────────────────────────
5174 mp4 unknown    │ ~4.23GiB 5174k m3u8_n │ avc1.640028 5174k mp4a.40.29  0k
```
Repository: godot
Issue: Division in inspector returns 0.001
Labels: discussion,topic:editor

### Godot version

4.0.dev b9375ea

### System information

Windows 10.0.19044.1706

### Issue description

I wanted to divide an imported file by 64, so I typed `1/64` into the root scale and it showed 0.001.
Typing 1/64.0 gives roughly the correct answer.

I think it's treating it as integer division, but this is not correct because these variables are floats.


### Steps to reproduce

1. Add a new scene with a Node3D.
2. Type 1/64 into the Scale field.
3. It shows 0 instead
4. Type 1/64.0 into the inspector. Now it shows roughly the correct answer.

### Minimal reproduction project

None. It happens in an empty project
Repository: pytorch
Issue: [build] No documented way to install C++ binaries for pure-python development of pytorch
Labels: module: binaries,module: build,triaged

## Issue description

There is currently no method documented to facilitate pure python development of PyTorch. This results in unnecessary compilation and building for those who just want to work on the Python part of PyTorch.

Even after disabling almost everything as documented in the "Install from Source" portion in README, the compilation can still take a long time. This feels quite unnecessary to just work on the Python portion of pytorch.

Current alternatives include manually symlinking files you are working on into site-packages.

## Code example

Run `DEBUG=1 USE_DISTRIBUTED=0 USE_MKLDNN=0 USE_CUDA=0 BUILD_TEST=0 USE_FBGEMM=0 USE_NNPACK=0 USE_QNNPACK=0 USE_XNNPACK=0 python setup.py develop` (documented in the documentation)



cc @ezyang @seemethere @malfet
Repository: flutter
Issue: Control CPU affinity of Flutter threads, enforcing running on big cores (willing to contribute)
Labels: c: new feature,engine,c: proposal,P3,team-engine,triaged-engine

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

Hi thanks for the wonderful library! We know modern mobile phones have big and little cores. If a thread is run in little cores, it is much slower (though less power-hungry). We also know cpu-intensive libraries, such as some mobile neural network inference libs, all provide features to set CPU affinity to have better and more stable performance.

Therefore, I would appreciate it if the CPU affinity of flutter threads could be controlled. Maybe including the CPU thread, raster thread, thread for isolate, etc.

I wonder whether I can do it now? If not, I am willing to contribute!

<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: flutter
Issue: `FocusableActionDetector` DartPad sample claims `ENTER` will invoke, but it doesn't 
Labels: framework,d: api docs,f: focus,has reproducible steps,P2,found in release: 3.0,found in release: 3.1,team-framework,triaged-framework

Looking at `FocusableActionDetector`'s [DartPad sample explanation](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/actions.dart#L1048) we see the following text:

```dart
/// This example defines its own key binding for the `X` key, but in this case,
/// there is also a default key binding for [ActivateAction] in the default key
/// bindings created by [WidgetsApp] (the parent for [MaterialApp], and
/// [CupertinoApp]), so the `ENTER` key will also activate the buttons.
```

In DartPad (on macOS) the `ENTER` key doesn't invoke the `ActivateAction`, but `SPACE` does. For reproduction, please use the [`FocusableActionDetector` DartPad sample](https://api.flutter.dev/flutter/widgets/FocusableActionDetector-class.html).
Repository: PowerToys
Issue: Multi application support for PowerToys Run.
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

Type multiple app names with some delimiter like comma or somewhat in PowerToys Run search box, and all apps of which names are typed will be opened.

### Scenario when this would be used?

It will be very convenient when I need to open multiple apps for some workflow like paper reading with zotero and note taking with obsidian, perhaps literature searching with edge also.

### Supporting information

_No response_
Repository: pytorch
Issue: TorchScript bidirectional lnlstm from example doesn't work
Labels: oncall: jit

I tried to run a bidirectional LNLSTM from example benchmarks/fastrnns/custom_lstms.py with code:
```python
def test_script_stacked_bidir_lnlstm(seq_len, batch, input_size, hidden_size,
		num_layers):
	inp = torch.randn(seq_len, batch, input_size)
	states = [LSTMState(torch.randn(batch, hidden_size),
			torch.randn(batch, hidden_size))
		for _ in range(num_layers)]
	rnn = script_lnlstm(
			input_size, hidden_size, num_layers, bidirectional=True)

	# just a smoke test
	out, out_state = rnn(inp, states)

	return out, out_state
```

It caused such error:
```
RuntimeError: The following operation failed in the TorchScript interpreter.
Traceback of TorchScript (most recent call last):
  File "/home/xun/projs/ML/ML_alls/custom_lstms.py", line 202, in forward
		outputs = torch.jit.annotate(List[Tensor], [])
		for i in range(len(inputs)):
			out, state = self.cell(inputs[i], state)
                ~~~~~~~~~ <--- HERE
			outputs += [out]
		return torch.stack(outputs), state
  File "/home/xun/projs/ML/ML_alls/custom_lstms.py", line 176, in forward
		hx, cx = state
		igates = self.layernorm_i(torch.mm(input, self.weight_ih.t()))
		hgates = self.layernorm_h(torch.mm(hx, self.weight_hh.t()))
                            ~~~~~~~~ <--- HERE
		gates = igates + hgates
		ingate, forgetgate, cellgate, outgate = gates.chunk(4, 1)
RuntimeError: self must be a matrix
```
Repository: godot
Issue: Vulkan: Sky not blurred by textureLod shader
Labels: bug,topic:rendering,regression,topic:3d

### Godot version

4.0.a9

### System information

Windows 10, NVidia 2070 Super, Vulkan

### Issue description

When blurring the screen with a textureLod shader I noticed the sky wasn't blurring with the rest of the meshes in my scene as of alpha 9. 

![image](https://user-images.githubusercontent.com/23744598/173229173-a888bfc8-8c45-42ae-8fe9-6fca0982d55b.png)

The attached projects works as expected in alpha 8, but not in alpha 9.

![blur](https://user-images.githubusercontent.com/23744598/173229200-449f7fad-962b-41ab-8dbc-c125ca237ecd.png)



### Steps to reproduce

Add a world environment and camera to a scene, point the camera at a mesh so the background environment is visible.

Add a TextureRect that covers the screen and add a shader that uses the textureLod function to blur the screen.

```
shader_type canvas_item;

void fragment() {
	vec4 t = textureLod(SCREEN_TEXTURE, SCREEN_UV, 4.0);
	// I also darken it to make the changes more visible
	t.rgb *= 0.5;
	COLOR = t;
}
```

### Minimal reproduction project

[BrokenBlur.zip](https://github.com/godotengine/godot/files/8885635/BrokenBlur.zip)
Repository: flutter
Issue: Support of ICO files / urls / content to display with Image widget
Labels: c: new feature,engine,a: images,c: proposal,P3,team-engine,triaged-engine

Why the Image widget doesn't support ICO files, urls, content? This format is very common.
Can you add support for it?
Repository: flutter
Issue: MacOS External Texture with YUV format render color space should determined by CVPixelBuffer
Labels: engine,platform-mac,c: proposal,P2,team-engine,triaged-engine

According to [FlutterDarwinExternalTextureMetal.mm Line 251](https://github.com/flutter/engine/blob/master/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.mm#L251), when skia renders it, the color space was specified to BT.601, which makes external workload (convert to bgra or downsampling to BT.601) for those pixelbuffer with color space BT.709 or BT.2020 or something else. 
`CVBufferGetAttachment` from `CVPixelBuffer` could get the correct color space, so the render color space should be determined by `CVPixelBuffer` itself.
Repository: PowerToys
Issue: Repeated shortcuts from low level keyboard hooks
Labels: Area-Runner,Area-Quality,Needs-Triage

### Description of the new feature / enhancement

https://github.com/microsoft/PowerToys/pull/18643#issuecomment-1153132840
Low level keyboards hook are sending repeated messages if shortcut is hold down.
Can be easy reproduced with ColorPicker.

PT Runner log:
```
[2022-06-11 18:31:23.379083] [p-19492] [t-11156] [trace] ColorPicker hotkey is invoked from Centralized keyboard hook
[2022-06-11 18:31:23.409516] [p-19492] [t-11156] [trace] ColorPicker hotkey is invoked from Centralized keyboard hook
[2022-06-11 18:31:23.441682] [p-19492] [t-11156] [trace] ColorPicker hotkey is invoked from Centralized keyboard hook
[2022-06-11 18:31:23.473254] [p-19492] [t-11156] [trace] ColorPicker hotkey is invoked from Centralized keyboard hook
[2022-06-11 18:31:23.505118] [p-19492] [t-11156] [trace] ColorPicker hotkey is invoked from Centralized keyboard hook
[2022-06-11 18:31:23.537153] [p-19492] [t-11156] [trace] ColorPicker hotkey is invoked from Centralized keyboard hook
[2022-06-11 18:31:23.567861] [p-19492] [t-11156] [trace] ColorPicker hotkey is invoked from Centralized keyboard hook
[2022-06-11 18:31:23.601543] [p-19492] [t-11156] [trace] ColorPicker hotkey is invoked from Centralized keyboard hook
```

### Scenario when this would be used?

Send one message only if shortcut is hold down.

### Supporting information

_No response_
Repository: godot
Issue: Disappear time does not reset on each new selection
Labels: topic:editor,needs testing

### Godot version

v3.5.rc3.official [af8a02dda]

### System information

win10 64

### Issue description

Disappear time does not reset on each new selection

It seems that when you select a method and its highlight box appears, then you select another method and another highlight box appears, but the timer for the box to disappear is the same as the timer that started on the first selection.

Problem, some highlight boxes suddenly disappear.

Watch this video.
https://youtu.be/eL3eFs-LGGE



### Steps to reproduce

See the video

### Minimal reproduction project

...
Repository: go
Issue: html/template: URL types always escape in attributes
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.18 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/weberc2/Library/Caches/go-build"
GOENV="/Users/weberc2/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/weberc2/.gvm/pkgsets/go1.18/global/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/weberc2/.gvm/pkgsets/go1.18/global"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/weberc2/.gvm/gos/go1.18"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/weberc2/.gvm/gos/go1.18/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.18"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/weberc2/projects/mono/go.mod"
GOWORK="/Users/weberc2/projects/go.work"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3727685623=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

```golang
printTemplate(`<x action="{{.}}">`, html.HTML("<expected-not-escaped>"))
// <x action="%3cexpected-not-escaped%3e">

printTemplate(`<x action="{{.}}">`, html.HTMLAttr("<expected-not-escaped>"))
// <x action="%3cexpected-not-escaped%3e">

printTemplate(`<x action="{{.}}">`, html.URL("<expected-not-escaped>"))
// <x action="%3cexpected-not-escaped%3e">

// executes the provided template with the provided data and prints the result
func printTemplate(template string, data interface{}) {
	var b bytes.Buffer
	t := html.Must(html.New("").Parse(template))
	if err := t.Execute(&b, data); err != nil {
		panic(err)
	}
	fmt.Println(b.String())
}
```

[Playground](https://go.dev/play/p/LKGbT_Q1l_O)



### What did you expect to see?

I expect that data of type `HTML`, `URL`, or `HTMLAttr` is not escaped inside of an attribute.


### What did you see instead?

Attributes are always escaped irrespective of data type.
Repository: rust
Issue: proc-macro-hack takes excessively long to check with polonius
Labels: I-compiletime,NLL-polonius,requires-nightly

```
/tmp$ cargo new testcrate
     Created binary (application) `testcrate` package
/tmp$ cd testcrate/
/tmp/testcrate$ cargo add proc-macro-hack
    Updating 'https://github.com/rust-lang/crates.io-index' index
      Adding proc-macro-hack v0.5.19 to dependencies.
/tmp/testcrate$ cargo +nightly check
    Updating crates.io index
   Compiling proc-macro-hack v0.5.19
    Checking testcrate v0.1.0 (/tmp/testcrate)
    Finished dev [unoptimized + debuginfo] target(s) in 1.09s
/tmp/testcrate$ RUSTFLAGS=-Zpolonius cargo +nightly check
   Compiling proc-macro-hack v0.5.19
    Checking testcrate v0.1.0 (/tmp/testcrate)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 41s
```

101x longer to check with polonius than without.

I've run into a few other crates with similar issues, some of which have been reported elsewhere:

[`serde_derive`](https://github.com/rust-lang/rust/issues/81303)
[`tinyvec`](https://github.com/rust-lang/polonius/issues/162)
Repository: pytorch
Issue: torch failure to open libcuda.so.1 on macOS
Labels: triaged,module: macos

### 🐛 Describe the bug

the torch had a hardcode of cuda lib soname, it does not match the macOS version, it is libcuda.dylib

I just try to run an example on [stable-baselines3](https://github.com/DLR-RM/stable-baselines3) ,  it raise exception

<pre>
Traceback (most recent call last):
  File "/Users/xlla/test/test-stable-baseline3.py", line 11, in <module>
    model.learn(total_timesteps=10_000)
  File "/usr/local/lib/python3.9/site-packages/stable_baselines3/ppo/ppo.py", line 304, in learn
    return super(PPO, self).learn(
  File "/usr/local/lib/python3.9/site-packages/stable_baselines3/common/on_policy_algorithm.py", line 270, in learn
    self.train()
  File "/usr/local/lib/python3.9/site-packages/stable_baselines3/ppo/ppo.py", line 264, in train
    loss.backward()
  File "/usr/local/lib/python3.9/site-packages/torch/_tensor.py", line 363, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/usr/local/lib/python3.9/site-packages/torch/autograd/__init__.py", line 173, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: Error in dlopen: dlopen(libcuda.so.1, 6): image not found
</pre>

I search this string and found it at 
`aten/src/ATen/cuda/detail/LazyNVRTC.cpp` and `third_party/tensorpipe/tensorpipe/common/cuda_lib.h`



### Versions

PyTorch version: 1.11.0a0+git967238d
Is debug build: False
CUDA used to build PyTorch: 10.1
ROCM used to build PyTorch: N/A

OS: macOS 10.13.6 (x86_64)
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.23.2
Libc version: N/A

Python version: 3.9.13 (main, Jun  3 2022, 08:10:53)  [Clang 10.0.1 (clang-1001.0.46.4)] (64-bit runtime)
Python platform: macOS-10.13.6-x86_64-i386-64bit
Is CUDA available: True
CUDA runtime version: 10.1.243
GPU models and configuration: GeForce GTX 1060 6GB
Nvidia driver version: 1.1.0
cuDNN version: Probably one of the following:
/usr/local/cuda/lib/libcudnn.7.dylib
/usr/local/cuda/lib/libcudnn_static.a
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] mypy==0.910
[pip3] mypy-extensions==0.4.3
[pip3] mypy-protobuf==3.2.0
[pip3] numpy==1.21.5
[pip3] pytorch-lightning==1.6.4
[pip3] torch==1.11.0a0+git967238d
[pip3] torchmetrics==0.9.1
[pip3] torchtext==0.14.0a0+e2fa8d8
[pip3] torchvision==0.14.0a0+5f6e22d
[conda] Could not collect


cc @malfet @albanD
Repository: terminal
Issue: Starting Windows Terminal with Win+X should lead to a different default profile
Labels: Issue-Feature,Product-Terminal,Needs-Tag-Fix

### Windows Terminal version

1.13.11432.0

### Windows build number

10.0.22000.708

### Other Software

_No response_

### Steps to reproduce

1. Setup WSL as your default profile in windows terminal (or azure...)
2. Press Win+X then I or A to start the windows terminal in normal or administrative mode
3. This will open the default profile which can be WSL2 if you use Linux a lot, while you would not expect a linux profile from a default Win+X keyboard sequence


### Expected Behavior

Win+X then I or A should start a Windows native prompt, as people starting Windows Terminal with the Win+X sequence are more likely to need PowerShell (or the command prompt) than Linux or Azure etc.

Consequently, there should be at least 3, more likely 4 different "default" profiles corresponding to the different context in which WT can be started:
 - the regular default profile for when WT is started from the start menu or the taskbar (regular use): whatever the user has currently setup as a default
 -  the WinX default profile for when WT is started from the key sequence Win+X: typically  for maintenance, like by following step-by-step instruction guides 
 -  the QuakeMode default profile for when WT is started from Alt+`: typically to quickly run commands as an overlay (therefore without tabs, titlebars etc)
 - (the 4th one would separate Win+X I and Win+X A)

Making these defaults configurable could allow say sticking to the command prompt for one of the Win+X sequences while preferring PowerShell for the other.

This means a typical user could start WT in 4 different ways:
 - click on the icon to start WSL2
 - press Win+X I to start a normal command prompt
 - press Win+X A to start an elevated PowerShell  
 - press Alt-` to start git bash
 

### Actual Behavior

Win+X then I or A starts the default profile, with no further distinction.

Likewise, Alt+` brings the current WT windows with any tab currently opened