sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: [Request] Provide file-specific onDidChangeSemanticTokens event
Labels: feature-request,api,semantic-tokens

In C/C++, when a modification is made to a header file, semantic tokens in files that include it could change.  (i.e.  when renaming a function).  Because those other files are not themselves changing, VS Code does not re-request tokens for them (if also open).

There is an `onDidChangeSemanticTokens` event we can use to indicate that tokens have changed.  However, this event is not specific to a file, so may cause token requests for files that don't require an update.

Could an additional event be added that allows us to indicate the specific file that needs tokens re-requested?  i.e.

```
onDidChangeSemanticTokensForFile?: Event<Uri>;
```
Repository: flutter
Issue: [flutter_tools] The tool should prefer the JDK vendored with Android Studio
Labels: tool,a: quality,c: proposal,P3,team-tool,triaged-tool

As seen in issue #56572, if a version of JDK greater than 8 is set as `JAVA_HOME`, the tool will fail to detect android licenses. Since Android Studio vendors JDK 8, we should prefer that version.
Repository: opencv
Issue: Nightly(sporadic crashes): opencv_test_dnn - Test_Caffe_layers.Concat OCL_FP16
Labels: bug,category: dnn,needs investigation

Observed with:
- MSVS: 2019
- 64-bit
- OpenCL: 26.20.100.7262

Builds examples: [1](http://pullrequest.opencv.org/buildbot/builders/master-win64-vc16/builds/317) [2](http://pullrequest.opencv.org/buildbot/builders/master-win64-vc16/builds/413)

```
[ RUN      ] Test_Caffe_layers.Concat/1, where GetParam() = OCV/OCL_FP16
Process returned: 3221226356
ERROR: some tests have failed
program finished with exit code -1
```
Repository: godot
Issue: Bools are implicitly cast to ints
Labels: bug,discussion,topic:gdscript

<!-- Please search existing issues for potential duplicates before filing yours:	
https://github.com/godotengine/godot/issues?q=is%3Aissue	
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.2

**Issue description:**
<!-- What happened, and what was expected. -->
```GDScript
func _ready() -> void:
	test(true)

func test(arg: int):
	print(arg)
```
This runs without errors and prints 1.
Repository: youtube-dl
Issue: Plexstorm
Labels: site-support-request,nsfw

<!--

######################################################################
  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 2020.06.16.1. 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 **2020.06.16.1**
- [ 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://www.plexstorm.com/stream/rileyoh
- Single video: https://www.plexstorm.com/stream/velrala

URLs rely upon the streamer being live at the time. https://www.plexstorm.com/ has a live list of current streamers.

## Description

Plexstorm is a gamer streaming site but very much NSFW, like a combination between twitch and pornhub.

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

I have a stub that I wrote in the web console that gives me a link to copy to play on the command line (mostly what I use youtube-dl for):
var a=document.createElement('a'); document.body.appendChild(a); a.setAttribute('style', 'position:absolute; top:0; left:0; z-index:1000;'); a.innerHTML='Video link'; a.href=document.getElementsByTagName('video')[0].firstElementChild.src;
Repository: rust
Issue: Add item suggestions for broken intra doc links
Labels: T-rustdoc,C-enhancement,A-diagnostics,A-intra-doc-links,A-suggestion-diagnostics

The diagnostics for intra-doc links could be improve to match the diagnostics available in rust.

Current error message

```
warning: `[extend]` cannot be resolved, ignoring it.
   --> src/vec.rs:704:45
    |
704 |     /// Note that this function is same as [`extend`] except that it is specialized to work with
    |                                             ^^^^^^^^ cannot be resolved, ignoring
    |
    = note: `#[warn(intra_doc_link_resolution_failure)]` on by default
    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
```

The diagnostics should suggest `Self::extend()`. Note that it should also handle path ambiguity unlike the current diagnostics with `struct@`, `enum@` and others in the original RFC.

Original RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
Tracking issue for intra-doc links: https://github.com/rust-lang/rust/issues/43466

CC ~~@QuietMisdreavus~~ @Manishearth @jyn514
Repository: TypeScript
Issue: mixin constructor wrongly typed
Labels: Suggestion,Awaiting More Feedback

<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:**  3.9.2

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** mixin constructor signature

**Code**

```ts
class A
{
    constructor(public x:number){}
}

function f<T extends { new(...args: any[]): object }>(cls:T) {
    return class DynamicProxy extends cls {
        constructor(...args: any[]) {
            super(1);
        }
    }
}

const B = f(A);
var b = new B();
b.x;
```

**Expected behavior:** Either make it a warning or just allow any constructor signature.

**Actual behavior:** Errors with `Expected 1 arguments, but got 0.(2554)`

**Playground Link:** https://www.typescriptlang.org/play/index.html?ssl=1&ssc=1&pln=16&pc=5#code/MYGwhgzhAECCBQBve1XWAewHYQC4CcBXYXDfACgAdCAjEAS2GgA8AuLQgWxoFN8BKRAF94I+ADNCWEvWzRxAHgAq0Hs1w8sAExiJoWHgHdyAOjNh8AcwitoYLAE8A2gF1+tjDQBWPEtCEAfOSgNkr80Mho0Pg8uIT4WOjgUNAAIg5YYJyMAAr4GMwOquqaOkm6KFFomDgExKQUZiYW1rb2zm4RlVVVEISUfOQAjPwA3N1VIlEiYjV40ABC0AC88uSwY-AAbhbQNCv6RovkmzQmzKNAA

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
Repository: TypeScript
Issue: tsconfig extend field should be more user friendly
Labels: Suggestion,Awaiting More Feedback

## Suggestion

Probably some functionality may refer to editor (i.e VSCode)

`extends` field in `tsconfig.json`:

1) propose auto suggestions (propose existing parent configs in the project)

2) check if a path exists, and expose an error if the path doesn't exist.


My suggestion meets these guidelines:

* [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [ ] 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
* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: pytorch
Issue: The name "Contiguous" in `torch::MemoryFormat::Contiguous` can mislead users into assuming contiguous memory
Labels: high priority,triaged,module: memory format

When looking at `torch::MemoryFormat::Contiguous`, users can relate it to `tensor.contiguous()`, and assume that by passing it as the memory_format argument to operators/functions, the output tensor will be with contiguous memory. However this is not true e.g:

In [`at::Tensor::suggest_memory_format`](https://github.com/pytorch/pytorch/blob/16f276c/aten/src/ATen/templates/TensorBody.h#L236), it returns `MemoryFormat::Contiguous` for all non NHWC tensors. 
In [`tensor.to(memory_format=torch::MemoryFormat::Contiguous)`](https://github.com/pytorch/pytorch/blob/16f276cef94559cb11bc95a4fb3bffc0334f93e5/aten/src/ATen/native/TensorConversions.cpp#L25-L29), non contiguous input tensor `self` can be returned and so there is no guarantee on the output being contiguous.

I would suggest renaming `torch::MemoryFormat::Contiguous` to something else.

cc @ezyang @gchanan @zou3519 @VitalyFedyunin @jamesr66a
Repository: pytorch
Issue: Cleanup git branches
Labels: triaged,small,better-engineering,actionable

## 🚀 Feature
I'd like to propose cleaning up the branches of the pytorch git repo removing all merged or outdated ones

## Motivation

There are currently almost 3800 branches. Lot's of them refer to closed (rejected) PRs or are outdated or merged (e.g. gh/suo/8/base).
Having this many branches makes it harder to work with the repo as the size increases and every new fork will get all those branches making it harder for contributors to create and manage own branches as the amount of existing branches are overwhelming and name clashes are possible.

## Pitch

In a first step with low effort and high gain all branches which are strictly behind current master can be deleted. Those are either merged branches or branches that were started but with no work in them. Removing them doesn't loose anything.

In a second step branches with closed PRs can be deleted. Those are likely rejected features or superseded by other PRs. Loss is possible but very unlikely.

The remaining branches would need to be checked for and deleted as appropriate. For example branches older than a couple years are likely abandoned and no longer relevant. Furthermore the older a branch gets the harder it will be to use it as merge conflicts will make that almost impossible if the code changed significantly in the meantime.
Repository: create-react-app
Issue: [docs] I translated Create React App docs into Chinese, can i add a link to readme or send a PR?
Labels: issue: proposal,needs triage

I translated Create React App docs into Chinese, including docs under docusaurus directory, i want to contribute the works to community.

You could view the docs here: http://docs.breword.com/facebook-create-react-app

Can i add the above link to repo README.md or send a PR with my translated docs content ?

The CRA version i translated is v3.4.1
Repository: flutter
Issue: [pigeon] Clarify in example that the command depends on the plugin details
Labels: d: api docs,package,team-ecosystem,p: pigeon,P2,triaged-ecosystem

I am learning how to use pigeon   from https://s0pub0dev.icopy.site/packages/pigeon#-example-tab-
But when I call the following command,it prompts me:


```
maixiangMacBook-Pro:vision_ward wyj$ flutter pub run pigeon   --input pigeons/message.dart   --dart_out lib/pigeon.dart   --objc_header_out ios/Runner/pigeon.h   --objc_source_out ios/Runner/pigeon.m   --java_out ./android/app/src/main/java/com/yj/vision_ward/Pigeon.java   --java_package "com.yj.vision_ward"
Unhandled exception:
ProcessException: No such file or directory
  Command: dart _pigeon_temp_.dart --input pigeons/message.dart --dart_out lib/pigeon.dart --objc_header_out ios/Runner/pigeon.h --objc_source_out ios/Runner/pigeon.m --java_out ./android/app/src/main/java/com/yj/vision_ward/Pigeon.java --java_package com.yj.vision_ward
pub finished with exit code 255
```
This is my project directory
<img width="391" alt="android@2x" src="https://user-images.githubusercontent.com/14922509/87137322-47fcf380-c2cf-11ea-9fa6-36c76ce2764d.png">


<img width="773" alt="WX20200710-165929@2x" src="https://user-images.githubusercontent.com/14922509/87137018-d91f9a80-c2ce-11ea-95ed-cc69a11cbbbd.png">

And Flutter docrot:

```
..../flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.4 19E266, locale zh-Hans-CN)
    • Flutter version 1.17.5 at /Users/wyj/Library/Flutter/stable/flutter
    • Framework revision 8af6b2f038 (10 days ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/wyj/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • JSN AL00a • SJQNW19429000887 • android-arm64 • Android 10 (API 29)

• No issues found!
Process finished with exit code 0
```
pigeon version:
```
pigeon: ^0.1.2+1
```
I have tried to use the immobile version of pigeon.flutter clear ,modify directory.....
but did not find an effective way.
So what is the problem and how can I solve it ,  thanks in advance.
Repository: pytorch
Issue: "out of scope" variable `cmd` used
Labels: oncall: distributed,triaged,better-engineering

https://github.com/pytorch/pytorch/blob/df252c059c3ea4c04f8c39c3b4c25a3f4572b0b7/torch/distributed/launch.py#L257

should be `cmd=process.args` ?

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @jiayisuse @agolynski
Repository: vscode
Issue: Better API to associate a notebook cell document with its notebook
Labels: feature-request,api-finalization,notebook-api

A notebook document contains cell documents, which are `vscode.TextDocument` types. There is no easy/nice way to get to a notebook from a document. Ideas

* add a util like `notebook.findContainerNotebook(document: TextDocument): NotebookDocument | undefined`
* add a pointer from the document, e.g `TextDocument#notebook: NotebookDocument | undefined`
Repository: pytorch
Issue: [discussion] Unite nn modules nn.Something*d to just nn.Something with appropriate options
Labels: module: nn,triaged

I proposed it in https://github.com/pytorch/pytorch/issues/41081#issuecomment-655148816, but maybe a separate issue is a better place to discuss this:

A more radical proposal: unite BatchNorm\*d / SyncBatchNorm in one module BatchNorm (with option sync = False|True, especially given that SyncBatchNorm is now established in core and is reasonably common; and maybe an explicit "arity" argument if needed). I think now BatchNorm*d are all same except shape checking (and already implemented in a common parent class _BatchNorm). Then switching on sync would become

```python
for bn in [module for module in model.modules() if isinstance(module, torch.nn.BatchNorm)]:
   bn.sync_mode = True # or bn.sync_mode(True)
```

There may be same proposal to unite Conv\*d into Conv, MaxPool\*d into MaxPool etc. Dimensionality may be defined by shape of kernel_size.

Fusion code may become simpler, several versions of fused modules (that now separately exist ConvBn\*d, LinearBn\*d etc) would likely be simplified and unified.

If not for all, maybe for some cases this can be done (like we already have only one nn.SyncBatchNorm, and functional forms are F.batch_norm and not three separate functions)

I think this design already exists in ONNX.

Even if some of these \*d variants could stay for some clarity, it would be good to have also usable public base class for them (with maybe some `num_dims` argument that would specify this arity) that would enable "polymorphism"

cc @albanD @mruberry
Repository: pytorch
Issue: torch.tan(complex) on CUDA doesn't handle nonfinite values properly
Labels: module: cuda,triaged,module: complex

```
t = torch.tensor(complex(float('-inf'), 0))
print(torch.tan(t))
print(torch.tan(t.cuda()))
print(np.tan(t.numpy()))
```

will print:

```
tensor(nan+0.j)
tensor(nan+nanj, device='cuda:0')
(nan+0j)
```

The CUDA result (in the middle) is incorrect.

cc @ezyang @anjali411 @dylanbespalko @ngimel
Repository: pytorch
Issue: torch.sign is divergent from numpy.sign on NaN
Labels: triaged,module: numpy

```
torch.sign(torch.tensor(float('nan')))
: tensor(0.)

np.sign(float('nan'))
: nan
```

cc @mruberry @rgommers
Repository: pytorch
Issue: torch.abs(complex) is divergent from NumPy on vectorized NaN values 
Labels: triaged,module: complex,module: NaNs and Infs

```
c = complex(float('nan'), float('inf'))

l = [c] * 300
t = torch.tensor(l)
torch.abs(t)
```

will produce a tensor with mostly `nan` values. NumPy, however, and non-vectorized `torch.abs`, will produce `inf` values.

cc @ezyang @anjali411 @dylanbespalko
Repository: flutter
Issue: AVIF codec support
Labels: c: new feature,engine,customer: crowd,a: images,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 our the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

AVIF aims to be the successor of jpg on the web and is growing very fast. AVIF images also compress with much better results then jpg. So it would be very good for flutter applications to support AVIF.

## Proposal

Add AVIF codec support to flutter.
Repository: react-native
Issue: React native does not support screen refresh rate
Labels: Needs: Triage :mag:

Please provide all the information requested. Issues that do not follow this format are likely to stall.

## Description
When running a react native app on a device that has a refresh rate other than 60, react native apps still run at 60 fps.
This means that if you have a device like a Samsung Galaxy S20, which runs at 120 fps, every react native app will feel sluggish, slow and underperforming.

React native should honor the screen's refresh rate and use that for rendering. 

## React Native version:
Run `react-native info` in your terminal and copy the results here.
```
System:
    OS: macOS 10.15.5
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 791.56 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
    Yarn: 1.19.1 - ~/.yarn/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 21, 22, 23, 24, 25, 26, 27, 28, 29
      Build Tools: 25.0.0, 26.0.1, 26.0.2, 27.0.2, 27.0.3, 28.0.2, 28.0.3, 29.0.0, 29.0.2
      System Images: android-16 | Google APIs Intel x86 Atom, android-19 | Google APIs Intel x86 Atom, android-21 | Google APIs Intel x86 Atom_64, android-22 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-25 | Google Play Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-P | Google Play Intel x86 Atom, android-Q | Google APIs Intel x86 Atom
      Android NDK: 21.0.6113669
  IDEs:
    Android Studio: Not Found
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_152 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.2 => 0.62.2 
  npmGlobalPackages:
    *react-native*: Not Found
```

## Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

1. Use a phone with a higher refresh rate than 60 (e.g. Samsung Galaxy S20, Oneplus 7T (or higher))
2. Start any react native app
3. See that the app is slower than every app on the phone

## Expected Results
I expect that the app runs smooth on all refresh rates above 60.

## Snack, code example, screenshot, or link to a repository:
Repository: flutter
Issue: [flutter doctor] Cocoapods was not found even after sudo gem install cocoapods
Labels: platform-ios,tool,t: flutter doctor,a: first hour,P3,team-ios,triaged-ios

```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.20.0-8.0.pre.41, on Mac OS X 10.14.6 18G5033,
    locale zh-Hans-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[!] Xcode - develop for iOS and macOS (Xcode 11.3)
    ! Unknown CocoaPods version installed.
        Flutter is unable to determine the installed CocoaPods's version.
        Ensure that the output of 'pod --version' contains only digits and . to
        be recognized by Flutter.
      To upgrade:
        sudo gem install cocoapods
[✓] Android Studio (version 3.4)
[!] IntelliJ IDEA Ultimate Edition (version 2020.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.46.1)
[✓] Connected device (1 available)

! Doctor found issues in 2 categories.
➜  ~ pod --version
Resolving dependencies...
1.9.3
```