sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: gopro.com videos
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 video: https://gopro.com/v/ZNVvED8QDzR5V


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

This video plays OK in Firefox and Safari.  However, youtube-dl seems to redirect this to "https://quik.gopro.com/twitter-player/ZNVvED8QDzR5V", but this fails with "HTTP Error 404: Not Found"
Repository: deno
Issue: `listener.addr.path` is null when listening on unix abstract address
Labels: bug,upstream

```js
let listener = Deno.listen({ path: "\0aaa", transport: "unix" });
console.log(listener.addr.path) // null
```

the `as_pathname` return `Some(String)` only when address kind is pathname address, otherwise it will return None.

https://github.com/denoland/deno/blob/79ac050d2917ddc1be97e458c8ac7c6a3d728269/extensions/net/ops.rs#L529
Repository: godot
Issue: Newline does not work on labels unless set at runtime (neither does richtextlabel)
Labels: discussion,topic:editor

### Godot version

3.3 stable

### System information

linux

### Issue description

When you create a label and add '\n' at design time it is not rendered as a newline, you get the literal characters.

If you set the label text at runtime with the exact same text, then new lines are rendered.

If you use an animation player to set text, the same happens because the label text is set at design time.

Richtext label bb code does not support newline ([br]?) so it doesn't work either. In addition, if there is a way to do it with richtext, then switching label to richtext label causes all sorts of problems because the layout upon changing is completely altered meaning it has to be done all again.

I know you can manually insert line breaks with the enter key, but it kind of defeats the point that newline character works one way but not the other.

Observe below, same text set at different times:

![image](https://user-images.githubusercontent.com/12863685/135748024-49efdbaf-48fd-4586-b72a-b2864897fb73.png)


### Steps to reproduce

project attached.

### Minimal reproduction project

[textnewlinebug.zip](https://github.com/godotengine/godot/files/7273065/textnewlinebug.zip)
Repository: TypeScript
Issue: compiler option to ban recursive conditional types that aren't tail recursive
Labels: Suggestion,Awaiting More Feedback

# Suggestion

<!--
  Please fill in each section completely. Thank you!
-->

## 🔍 Search Terms
tail recursive
<!--
  💡 Did you know? TypeScript has over 2,000 open suggestions!
  🔎 Please search thoroughly before logging new feature requests as most common ideas already have a proposal in progress.
  The "Common Feature Requests" section of the FAQ lists many popular requests: https://github.com/Microsoft/TypeScript/wiki/FAQ#common-feature-requests

  Replace the text below:
-->

## ✅ Viability Checklist

<!--
   Suggestions that don't meet all these criteria are very, very unlikely to be accepted.
   We always recommend reviewing the TypeScript design goals before investing time writing
   a proposal for ideas outside the scope of the project.
-->
My suggestion meets these guidelines:

* [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [X] This wouldn't change the runtime behavior of existing JavaScript code
* [X] This could be implemented without emitting different JS based on the types of the expressions
* [X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [X] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion
[tail-recursion elimintaion](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#tailrec-conditional) in my opinion means that writing recursive conditional types in a non-tail recursive way should be avoided. it would be nice if there was a compiler option to ban it
<!-- A summary of what you'd like to see added or changed -->

## 📃 Motivating Example
this one from the blog post:
```ts
type GetChars<S> =
    S extends `${infer Char}${infer Rest}` ? Char | GetChars<Rest> : never;
```
<!--
  If you were announcing this feature in a blog post, what's a short explanation that shows
  a developer why this feature improves the language?
-->

## 💻 Use Cases
i have a utility types package full of recursive conditional types. most of them aren't tail-recursive so i'm going back and rewriting them, however these can be difficult to spot and it would be nice if the compiler would warn me about them

an alternative solution is an eslint rule perhaps?
<!--
  What do you want to use this for?
  What shortcomings exist with current approaches?
  What workarounds are you using in the meantime?
-->
Repository: excalidraw
Issue: Image_support: API hook to saveFiles, loadFiles and resolve dataURLs
Labels: images

@dwelle,

I am thinking it would be very useful if I could write my own saveImage and loadImages hooks and persist files in Obsidian as separate files, instead of creating a large Excalidraw file with all the embedded images included in the saved AppState.

This would also allow me for example to embed an Excalidraw drawing into another, such, that when the user CTRL+clicks the embedded image I could navigate him/her to the original embedded drawing (much like I handle link clicks for TextElements). As a side note, for embedding/display purposes, I would convert the embedded Excalidraw drawings to SVG. I could navigate the user to the original file in the case of other file types (png, jpg, gif, svg, etc) as well.

The idea is not yet fully formed in my head... I'd welcome your thoughts. I am thinking of hooks something like this:

```typescript
/**
 * 
 * @param base64 - the image itself
 * @param filename - filename is whatever is available: URL, image path, etc. depending on the source of the image
 */
const saveImage = async (base64: string, filename?: string):  Promise<ImageId> => {
}

const loadImages = async (imageID: ImageId[]): Promise<{imageID: ImageId, dataURL: DataURL}[]> => {
}
```
Repository: PowerToys
Issue: Some PowerToys processes are running in Operating system context: Windows Vista
Labels: Issue-Bug,Area-Runner,Priority-3,Cost-Small,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.47.0

### Running as admin

- [ ] Yes

### Area(s) with issue?

General

### Steps to reproduce

1) Install PowerToys
2) Open Windows Task Manager
3) Select the details tab
4) Add column "Operating system context"

Some of the PowerToys processes are listed as using "Windows Vista" as OS context:
PowerToys.Awake.exe
PowerToys.FancyZones.exe
PowerToys.KeyboardManagerEngine.exe

It seems that these .exe files are missing a manifest compatibility entry like:

 ```
 <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!-- Windows 10 -->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
    </application>
  </compatibility>
```


Other PowerToys .exe files (for example PowerToys.exe) have a compatibility entry like:

```
 <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
   <application>
    <maxversiontested Id="10.0.18362.0" /> 
  </application>
  </compatibility>
```

Note: Adding the manifest compatibility entry has impact how the OS executes the process. My assumption is that these entries are just missing at the moment and not on purpose not defined.

### ✔️ Expected Behavior

All PowerToys processes are running in "Windows 10\11" OS context. Task Manager does not report "Windows Vista".

### ❌ Actual Behavior

Task Manager list some processes running in "Windows Vista" OS context.

### Other Software

_No response_
Repository: godot
Issue: using set_custom_mouse_cursor causes cursor to not appear in Chrome and Edge
Labels: bug,platform:web,topic:porting

### Godot version

v3.3.4.stable.mono.official [faf3f883d]

### System information

Windows 10, GLES3

### Issue description

Using Input.set_custom_mouse_cursor to change the cursor shape in runtime in an html5 build will make the cursor not visible in chrome and will make it flicker in edge.

https://user-images.githubusercontent.com/7292421/135764198-b2b02ec5-e78b-4fa6-8e24-9f599a4e1fe4.mov





### Steps to reproduce

use Input.set_custom_mouse_cursor to change cursor shape in a project
export the project to html5
upload to itch
run the game in chrome or edge.
sometimes the cursor displays properly, if you alt-tab, or switch windows (it's kind of random) it will break though.


### Minimal reproduction project

[WebCursorBug.zip](https://github.com/godotengine/godot/files/7274177/WebCursorBug.zip)

you can try it here as well: https://nartier.itch.io/godot-web-cursor-debug
password is 1111
Repository: rust
Issue: `m68k-unknown-linux-gnu`: can't compile functions with certain return types
Labels: A-LLVM,T-compiler,C-bug,O-motorola68k,S-waiting-on-LLVM

I think the m68k support for Rust is really interesting, and I've been trying to make a project with it. However, I'm unable to build the core library, which makes it really hard to actually use Rust.

You can replicate this by running `cargo build -Zbuild-std=core --target m68k-unknown-linux-gnu`.

I expected it to build successfully. 

Instead, I get an LLVM error:
```
LLVM ERROR: unable to allocate function return #2
error: could not compile `core`
warning: build failed, waiting for other jobs to finish...
error: build failed
```
I think this has something to do with functions that return `u64` and `u128`?

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.57.0-nightly (f03eb6bef 2021-10-02)
binary: rustc
commit-hash: f03eb6bef8ced8a243858b819e013b9caf83d757
commit-date: 2021-10-02
host: x86_64-apple-darwin
release: 1.57.0-nightly
LLVM version: 13.0.0
```

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary>Backtrace</summary>
<p>

```
   Compiling core v0.0.0 (/Users/annika/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/library/core)
   Compiling rustc-std-workspace-core v1.99.0 (/Users/annika/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error: could not compile `core`

Caused by:
  process didn't exit successfully: `rustc --crate-name core --edition=2018 /Users/annika/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=803798926cf71182 -C extra-filename=-803798926cf71182 --out-dir /Users/annika/randbats-winrates/target/m68k-unknown-linux-gnu/debug/deps --target m68k-unknown-linux-gnu -Z force-unstable-if-unmarked -L dependency=/Users/annika/randbats-winrates/target/m68k-unknown-linux-gnu/debug/deps -L dependency=/Users/annika/randbats-winrates/target/debug/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: build failed
```

</p>
</details>
Repository: PowerToys
Issue: Color picker - Lab format: use roundoff optional
Labels: Idea-Enhancement,Good first issue,Product-Color Picker

### Description of the new feature / enhancement

Love ability to use Lab color mode. I even discovered ability to zoom...very handy too.

But, suggest you give users ability/option to have NO decimal point accuracy. Instead have option to see rounded-off whole numbers...
 for example:  75, -19, 16   instead of   75.37,  -19.4, 15.7

Why? Because decimal accuracy rarely needed (but if desired, set option to see decimals) and when displayed as whole numbers it is far easier and faster to understand the colors. Decimals make our brains think/convert/interpret when it is not needed and adds confusion.

Thanks, Doug

<img width="221" alt="Lab decimals" src="https://user-images.githubusercontent.com/3689169/135767632-ac3c2976-d296-45b5-b3ec-a0f1f5db68a4.png">

![Lab decimals](https://user-images.githubusercontent.com/3689169/135767648-1c2606d7-7a83-43f7-b70b-6244254c764f.jpg)


### Scenario when this would be used?

I use color sampling of on screen images (not already in Photoshop or other image program) to check colors and see if correct or if desired for future uses....very often every day,
And I use Lab as I know instantly the brightness and color (which you cannot do using RGB or other color spaces...because Lab separates colors from luminosity)
Accuracy to whole numbers is quite sufficient and much faster to "read" by the numbers.

### Supporting information

Ask anyone who regularly uses Lab. Dan Margulis is the Lab master; see his books.
Repository: rust
Issue: Where bounds with associated types equality cause overflow.
Labels: A-trait-system,P-high,regression-from-stable-to-stable,S-has-mcve,T-types

<!--
Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to.

Please provide a short summary of the regression, along with any information you feel is relevant to replicate it.
-->

### Code

I tried this code:

```rust
trait Assoc {
    type B;
}
struct Test<U, T>
where
    U: Assoc,
    T: Assoc<B = <U as Assoc>::B>,
{
    a: U,
    c: T,
}
impl<U, T> Assoc for Test<U, T>
where
    U: Assoc,
    T: Assoc<B = <U as Assoc>::B>,
{
    type B = <U as Assoc>::B;
}
trait TestTrait: Assoc {}
impl<U, T> TestTrait for Test<U, T>
where
    U: Assoc,
    T: Assoc<B = <Self as Assoc>::B>,
{
}
```

It used to compile but now it doesn't because:
```
error[E0275]: overflow evaluating the requirement `<T as Assoc>::B == <U as Assoc>::B`
  --> src/main.rs:20:1
   |
20 | / impl<U: Assoc, T> TestTrait for Test<U, T>
21 | | where
22 | |     U: Assoc,
23 | |     T: Assoc<B = <Self as Assoc>::B>,
24 | | {
25 | | }
   | |_^
   |
note: required because of the requirements on the impl of `Assoc` for `Test<U, T>`
  --> src/main.rs:12:12
   |
12 | impl<U, T> Assoc for Test<U, T>
   |
```

### Version it worked on

<!--
Provide the most recent version this worked on, for example:

It most recently worked on: Rust 1.47
-->

It most recently worked on:
Stable: `1.55.0`
Nightly: `rustc 1.56.0-nightly (50171c310 2021-09-01)`

### Version with regression

<!--
Provide the version you are using that has the regression.
-->

`rustc --version --verbose`:
```
rustc 1.57.0-nightly (f03eb6bef 2021-10-02)
rustc 1.56.0-beta.3 (deef86610 2021-09-17)
```
(Probably all nightly versions after `2021-09-01`)

@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged
Repository: godot
Issue:  occlusion shadows on Android
Labels: bug,platform:android,topic:rendering,needs testing,topic:2d

### Godot version

3.3.4.stable

### System information

Android 5.1,Galaxy J1 Ace, GLES2

### Issue description

![image](https://user-images.githubusercontent.com/66444993/135773391-11fa5660-4353-43c9-8bd2-0ca0ba0d97f5.png)


### Steps to reproduce

...

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: torch.jit.script fails to cast explicit Optional parameter to bool
Labels: oncall: jit

## 🐛 Bug

I have a parameter in my model with explicit type  Optional[Tuple[int, int]] where python can seem to convert to bool without a problem. Jit module seem to fail here. This isn't a big deal because we can skip the implicit casting in the if statement with a simple `is not None` and it works

## To Reproduce

```
import torch
from torch import nn
from typing import Optional, Tuple
class test_model(nn.Module):
    def __init__(self, size: Optional[Tuple[int, int]] = None) -> None:
        super(test_model, self).__init__()
        self.size = size

    def forward(self, x):
        if self.size:
            ...
        return x

if __name__ == "__main__":
    test = torch.Tensor(1, 3, 8, 10)
    model = test_model((10, 8))
    torch.jit.script(model)  # replace to see if it actually works in plain python
    print(model(test).shape)
```


Steps to reproduce the behavior:

1. Run the above code
2. Comment uncomment jit.script to see the difference

```
Traceback (most recent call last):
  File "/home/sflash/Documents/php/oca/oca-server/src/models/ddrnet_dappm.py", line 156, in <module>
    torch.jit.script(model)
  File "/home/sflash/miniconda3/envs/oca-dev/lib/python3.9/site-packages/torch/jit/_script.py", line 1096, in script
    return torch.jit._recursive.create_script_module(
  File "/home/sflash/miniconda3/envs/oca-dev/lib/python3.9/site-packages/torch/jit/_recursive.py", line 412, in create_script_module
    return create_script_module_impl(nn_module, concrete_type, stubs_fn)
  File "/home/sflash/miniconda3/envs/oca-dev/lib/python3.9/site-packages/torch/jit/_recursive.py", line 478, in create_script_module_impl
    create_methods_and_properties_from_stubs(concrete_type, method_stubs, property_stubs)
  File "/home/sflash/miniconda3/envs/oca-dev/lib/python3.9/site-packages/torch/jit/_recursive.py", line 355, in create_methods_and_properties_from_stubs
    concrete_type._create_methods_and_properties(property_defs, property_rcbs, method_defs, method_rcbs, method_defaults)
RuntimeError: 
Could not cast value of type Tuple[int, int] to bool:
  File "/home/sflash/Documents/php/oca/oca-server/src/models/ddrnet_dappm.py", line 145
    def forward(self, x):
        if self.size:
           ~~~~~~~~~ <--- HERE
            ...
        return x

```

## Expected behavior

ability to cast like normal python

## Environment

 - PyTorch Version (e.g., 1.0): 1.9.0
 - OS (e.g., Linux): Linux
 - How you installed PyTorch (`conda`, `pip`, source): pip and conda
 - Build command you used (if compiling from source):
 - Python version: 3.9.*
 - CUDA/cuDNN version: not-used
 - GPU models and configuration: not-used
 - Any other relevant information: ...

## Additional context
Repository: create-react-app
Issue: react-scripts : Throwing a set of 2k + vulnerabilities on set-value
Labels: stale,needs triage,issue: bug report

react-scripts : Throwing a set of 2k + vulnerabilities on set-value

Any resolution on this vulnerability, as I see set-value has a latest version of 4.0.1, but react-scripts use 2.0 version

Version Details
node : v14.17.4
npm : 6.14.14

Can we know, when it is going to fixed or any resolution for the same
Repository: vscode
Issue: Git - Merge Conflict - Accept All Incoming/Current - Multiple Repositories
Labels: bug,git

<!-- ⚠️⚠️ 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. -->
Version: 1.60.2 (user setup)
Commit: 7f6ab5485bbc008386c4386d08766667e155244e
Date: 2021-09-22T12:00:31.514Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042

Steps to Reproduce:

Open a workspace folder that has subfolders with git repos in each. 
In one of the repos, merge so that multiple file merge conflict happens
Open command pallet select "Merge Conflict: Accept All Incoming"
Expected: all merge conflicts should have been incoming
Actual: Nothing happens

Similarly if you select all the files in the conflict, and on the right click menu select "Accept All Incoming" nothing happens.
Repository: flutter
Issue: [google_sign_in] Throwing deprecation warnings and using outdated SDK and dependencies
Labels: platform-android,p: google_sign_in,package,P3,team-android,triaged-android

Right now google_sign_in is throwing several deprecation warnings about embedding v1 like the following.
With #91069 in mind, i think the best action would be to remove all reference to embedding v1.

~~Besides that this package is targeting old dependencies and SDK and it should be updated.~~

```
/Users/x/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.1.1/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java:79: warning: [deprecation] Registrar in PluginRegistry has been deprecated
  public void setUpRegistrar(PluginRegistry.Registrar registrar) {
                                           ^
/Users/x/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.1.1/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java:270: warning: [deprecation] Registrar in PluginRegistry has been deprecated
    private PluginRegistry.Registrar registrar;
                          ^
/Users/x/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.1.1/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java:285: warning: [deprecation] Registrar in PluginRegistry has been deprecated
    public void setUpRegistrar(PluginRegistry.Registrar registrar) {
```