sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Remove temporary desktop plugin dartPluginClass workaround
Labels: tool,platform-mac,platform-windows,platform-linux,a: desktop,P3,c: tech-debt,team-tool,triaged-tool

On 1.18 (current master), desktop plugins can either specify a `pluginClass` for a standard plugin with native code, or a `dartPluginClass` to allow that platform's implementation of a plugin to be Dart-only. However, the current stable build, 1.17, doesn't have this logic, and requires a `pluginClass` for all desktop platforms. When building for *any* platform, all platforms listed in the pubspec are validated, which means that publishing a plugin with:
```
  plugin:
    platforms:
        dartPluginClass: Foo
```

will break the iOS and Android builds of any project that ends up with a dependency on that plugin. That means that for example we can't publish a Dart-only Linux implementation of `path_provider` and endorse it without breaking everyone on stable.

To work around this, I propose temporarily adding special handling to the desktop platforms where having `pluginClass: none` is treated the same way as having no `pluginClass` field. This will pass validation on 1.17, but be a no-op on `master`. The workaround would be removed once 1.18 is released to stable.

Minor downsides:
- Desktop builds with older versions of master will break when using one of these plugins. It's master though, so it's reasonable to say that you need to be using the latest version if you want to use published plugins on desktop.
- If someone is building on desktop using another channel and bypassing our check (e.g., changing to a local branch at the same revision but a different name) they will break when using one of these plugins. However, that's not a supported configuration, so I'm fine with that tradeoff. Someone who really wants to do this can always patch their local copy with the workaround, or pin to a version of the plugin that doesn't endorse a plugin using this.
Repository: TypeScript
Issue: Improve declare module wildcards so that they can match parts of a path more like a glob
Labels: Suggestion,Awaiting More Feedback

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ

-->

## Search Terms

global module match glob path

## Suggestion

Improve the declare module wildcards so that they can be used multiple times in a path and they can match multiple parts of it.

## Use Cases

<!--
What do you want to use this for?
What shortcomings exist with current approaches?
-->

In the project I am currently working on we make a distinction between images and icons:
* icons are usually small in size and used multiple times so we store them as SVG and put them in a SVG sprite with the help of [external-svg-sprite-loader](https://github.com/Karify/external-svg-sprite-loader).
* images are usually bigger in size and used only once so we store them as well as SVGs but do not put them in a sprite.

Since SVG imports are not recognized by TypeScript I want to create a global module declaration that targets all icon imports and another that targets all image imports. However, based on the feedback I got in this [StackOverflow issue](https://stackoverflow.com/questions/61816777/how-to-create-a-typescript-module-that-matches-complex-paths), it doesn't seem to be possible to do this since the support of wildcards in module paths seems to be very limited.

## Examples

This is an example of what I would like to be able to do:

```typescript
declare module '@my/**/icons/**/*.svg' {
    type IconType = { viewBox: string, symbol: string };

    const icon: IconType;
    export = icon;
}

declare module '@my/**/images/**/*.svg' {
    const url: string;
    export = url;
}
```

## Checklist

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
* [ ] 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.)
* [ ] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: godot
Issue: AddFontOverride seems not to work in C #
Labels: bug,topic:gdscript,topic:dotnet

**Godot version: 3.2.1 mono**

**OS/device including version: Windows 10 **

**Issue description:**
AddFontOverride on Label dont change font and policies size (c#)

**Steps to reproduce:**
Create a custom label, Set a font dynamically to _Ready() function

**Minimal reproduction project:**
Here a sample, I created a CustomLabel and i want font size dynamically at runtime.
The font and the size doesnt change

[Sample.zip](https://github.com/godotengine/godot/files/4645145/Sample.zip)
Repository: terminal
Issue: Allow the user to "Pin" tabs
Labels: Area-UserInterface,Product-Terminal,Issue-Task

With #5787 merging soon, we'll be able to have compact tabs, the same size as "pinned" tabs in lots of browsers. 

We should add a context menu option to let users pin tabs as well. When tabs are pinned, they'd move to the start of the list of tabs, to the left of the test of the tabs. We'd probably need to have different lists for pinned vs normal tabs.

Trickily, pinned tabs could only be reordered within the range of the pinned tabs - so it can't be [pinned, pinned, normal, pinned, normal] tab. That might be tricky to pull off.

A follow-up could be linked to #961 where the _pinned_ tabs are re-started, but not the unpinned ones. I think this is kinda similar to how browsers handle pinned tabs. We'd need to reconcile this with #756 - If the user has tabs pinned, then do those re-open, _and_ the startup configuration the user specifies? We'd want to have a comprehensive story before we start on either story.
Repository: godot
Issue: Some menus in the script editor disappear after using the "Close Other Tabs" context menu action
Labels: bug,topic:editor,confirmed

**Godot version:**
v3.2.stable.official

**OS/device including version:**
Windows 7 ultimate (version 6.1.7601 Service Pack 1 compilation 7601)
Ubuntu 20.04 aswell (versión 3.2.1.stable.official)

**Issue description:**
Sometimes when I use *Close other tabs* within the text editor it gets to another "mode", in which I see less menu entries (only "File" and "Debug" instead of the five usual File/Search/Edit/Go To/Debug) and I'm not able to do some actions (e.g. ctrl-F for find doesn't work, and that's why I realize it's bugged). It apparently works fine apart from that two symptoms.

It's a very small issue because I simply switch to another text editor (or to 2d mode and back to script mode) and the problem is gone.

I'm not able to reproduce it as doesn't happen always; looks like random to me.

I was getting the bug in Windows but now got it in Linux (Ubuntu 20.04) aswell.

**Steps to reproduce:**
Can't reproduce it.
Repository: rust
Issue: LLVM specific code in backend agnostic part
Labels: C-cleanup,A-codegen,T-compiler

Hi.
It seems like we have LLVM-specific code in the backend agnostic part.
For instance, [here](https://github.com/rust-lang/rust/blob/64db428967131be1f3966b82748fe8818eadb25b/src/librustc_codegen_ssa/mir/place.rs#L107-L108).
That should be moved to the LLVM codegen part.
Repository: pytorch
Issue: Unify CPU/CUDA exponential transformation formula
Labels: triaged,module: random

To preserve original logic([CPU](https://github.com/pytorch/pytorch/blob/8292742ba020fcff90f14418c18741ebf606103b/aten/src/ATen/core/DistributionsHelper.h#L246)/[CUDA](https://github.com/pytorch/pytorch/blob/8292742ba020fcff90f14418c18741ebf606103b/aten/src/ATen/native/cuda/DistributionTemplates.h#L575)) we use different calculations for CPU/CUDA exponential transformation
```
#if defined(__CUDACC__) || defined(__HIPCC__)
  return static_cast<T>(-1.0) / lambda * at::log(val);
#else
  return static_cast<T>(-1.0) / lambda * at::log(static_cast<T>(1.0) - val);
#endif
```
where `val` is uniformly distributed between 0 and 1. It should be investigated if it can be unified to have one formula and the best distribution properties

cc @pbelevich
Repository: TypeScript
Issue: Implemented method JSDocs not behaving correctly for @param
Labels: Bug,Domain: JSDoc


*TS Template added by @mjbvz*

**TypeScript Version**: 4.0.0-dev.20200518

**Search Terms**
- completionEntryDetails
- jsdoc
- tags

---

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->

<!-- Use Help > Report Issue to prefill these. -->
- VSCode Version: 1.45.0
- OS Version: Ubuntu 20.04

Steps to Reproduce:

1. Add JSDocs to an interface, and implement that interface in a class

```ts
interface Sample {
  /** 
   * Does some important work
   * @param name Name of employee working
   * @param age Age of employee
   */
  doWork(name: string, age: number): void;
}

let s: Sample;


class Concrete implements Sample {
  doWork(name: string, age: number) {
    // Nothing to do
  }
}

let c: Concrete;
```
2. Attempt to access intellisense for the class, and notice the @param information has not been picked up from the interface.

![travetto-1589679889262](https://user-images.githubusercontent.com/1264175/82133926-868a9c00-97bf-11ea-972b-9ddf6a5708e3.gif)


<!-- Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes
Repository: TypeScript
Issue: Confusing definition found for `function`s in some cases
Labels: Bug

`goToDefinition` handles `function`s specially, leading to this confusing highlight:

    let f1, f2;
    f2 = f1 = function () {};
    //   ^^
    f1();

this is different from:

    let g1, g2;
    g2 = g1 = () => {};
    //        ^^^^^^^^
    g1();

which seems like a better choice in the former case too.

This is an issue that was raised in #38567 (which removes the first `f1`/`g1` from the results but doesn't change the value highlights).
Repository: pytorch
Issue: Add CUDA callback to Python API
Labels: feature,module: cuda,triaged,module: rpc

As discussed in [this forum thread](https://discuss.pytorch.org/t/mpi-cuda-stream/80702/4). CUDA stream/event callback can be a useful feature. It might be helpful to add it to the Python API. 

Besides, some recent discussion for TensorPipe RPC backend also considered using CUDA callback to sync streams and handle errors. Hence creating this issue to track and join discussions in one place.

cc @ngimel @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @xush6528 @jjlilley @osalpekar
Repository: youtube-dl
Issue: anyporn.com
Labels: site-support-request

Hi,

Video URL: https://anyporn.com/621202/

And this is only support the following data:
Actors: Category: timestamp: Quality Video: 360p & 720p

Thanks Team
Repository: go
Issue: cmd/cgo: does not correctly read DWARF data for unsigned types
Labels: NeedsInvestigation,compiler/runtime

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.14.2 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="/Users/elagergren/gopath/bin"
GOCACHE="/Users/elagergren/Library/Caches/go-build"
GOENV="/Users/elagergren/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/elagergren/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/2b/74fz3jhd4wz4vnbf4z7ywzww0000gp/T/go-build455376315=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

https://play.golang.org/p/73rgY0pPok8

### What did you expect to see?

The values for all types be `0xa4a4a4...` (i.e., unsigned integers).

### What did you see instead?

Them converted to signed integers.

This is because https://github.com/golang/go/blob/afd477f2baca9c66ab7fda5fe565174db30933a7/src/cmd/cgo/gcc.go#L618 only checks for `*dwarf.UintType` when some types are, e.g., a `*QualType` wrapping a `*TypedefType`, which then contains a `*UintType`.

This patch fixes it, at least on macOS.

```
615c615
< 					if isUnsigned(types[i]) {
---
> 					if _, ok := types[i].(*dwarf.UintType); ok {
653,672d652
< func isUnsigned(t dwarf.Type) bool {
< 	unwrap := func(t dwarf.Type) dwarf.Type {
< 		switch t := t.(type) {
< 		case *dwarf.QualType:
< 			return t.Type
< 		case *dwarf.TypedefType:
< 			return t.Type
< 		default:
< 			return nil
< 		}
< 	}
< 	for t != nil {
< 		if _, ok := t.(*dwarf.UintType); ok {
< 			return true
< 		}
< 		t = unwrap(t)
< 	}
< 	return false
< }
<
```
Repository: youtube-dl
Issue: pornbimbo.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 2020.05.08. 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.05.08**
- [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: http://pornbimbo.com/video/3843/binaural-sissy-hypno-trainer
- Single video: http://pornbimbo.com/video/769/sissy-hypno-it-s-ok-to-be-a-girl


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

currently videos are downloaded in lowest resolution although on most videos multiple resolutions are available
Repository: pytorch
Issue: TestCase.assertEqual does not distinguish Python builtin types and single-element Tensor
Labels: module: tests,triaged

The test below can pass. Is this the expected behavior? Adding this to triage review for discussion.

```python
self.assertEqual(2, torch.ones(1, 1) * 2)
```

cc @mruberry
Repository: flutter
Issue: SystemSound.play(SystemSoundType.click) not working
Labels: platform-android,platform-ios,framework,engine,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-engine,triaged-engine

The below code is not working
```dart
static Future<void> play(SystemSoundType type) async {
    await SystemChannels.platform.invokeMethod<void>(
      'SystemSound.play',
      type.toString(),
    );
play(SystemSoundType.click);
```
Also it is not showing any errors. Please help. Let me know if you need more information.

Thanks,
Vishnu.
Repository: terminal
Issue: Terminal should treat the spaces at the right edge of a nonwrapped line as one region
Labels: Area-UserInterface,Product-Terminal,Issue-Task

In most other terminal emulators, when you drag a selection off the right edge of the text it selects the entire empty region up to the edge of the screen as a single unit.

There may be an impact, if we do this, on how we copy versus do not copy newlines.

```
+----------------------------------------------+
|TEXT TEXT TEXT                                |
|                                              |
+----------------------------------------------+
```

Selection:
```
              v cursor is here
 ##############
|TEXT TEXT TEXT                                |

drag right...

               v cursor is here
 ##############################################
|TEXT TEXT TEXT                                |
```

There's an argument to be made that copying `TEXT TEXT TEXT` should not have a newline and copying `TEXT TEXT TEXT<SPACE>` should.
Repository: pytorch
Issue: Add Plackett-Luce distribution
Labels: feature,triaged

## 🚀 Feature
Add PlackettLuce and RelaxedPlackettLuce distributions. It is a simple distribution over permutations.

## Motivation

For optimization over categorical/binary variables (i.e. variational inference with discrete variational approximate posteriors, RL and etc) we already can use `RelaxedBernoulli` /`RelaxedOneHotCategorical` and `Bernoulli`/`OneHotCategorical` depending on if the method is relaxation based or not. 

Also, the same Gumbel-Softmax trick holds for the distribution over the set of permutations - Plackett-Luce distribution. You can see successful applications in https://arxiv.org/abs/1911.10036, https://arxiv.org/abs/1903.08850.

## Pitch

Tensorflow has tfp.distributions.PlackettLuce. I think it will be very cool to have it in the pytorch.

## Additional context

For the efficient implementation we will need numerically stable implementation of LogCumSumExp function which is almost finished in PR https://github.com/pytorch/pytorch/pull/36308
Repository: opencv
Issue: Implement 17 Photoshop blending modes 
Labels: feature,category: imgproc

##### System information (version)
- OpenCV => 4.3:
- Operating System / Platform => ALL:
- Compiler => ALL:

##### Detailed description

Inspired by GIMP and [Formulas for Photoshop blending modes,](http://www.deepskycolors.com/archivo/2010/04/21/formulas-for-Photoshop-blending-modes.html) I'd like to implement  the following 17  Photoshop blending modes。

![捕获](https://user-images.githubusercontent.com/16490259/82269839-792f0680-99a5-11ea-810e-b8f1c1c452e4.JPG)

I wonder this code should be put under opencv / photo module or opencv_contrib / xphoto module
？Any other suggestions or requirements? I'd like to use this issue to track progress.

##### Steps to reproduce

<!-- to add code example fence it with triple backticks and optional file extension
    ```.cpp
    // C++ code example
    ```
 or attach as .txt or .zip file
-->

##### Issue submission checklist

 - [ ] I report the issue, it's not a question
   <!--
   OpenCV team works with answers.opencv.org, Stack Overflow and other communities
   to discuss problems. Tickets with question without real issue statement will be
   closed.
   -->
 - [x] I checked the problem with documentation, FAQ, open issues,
       answers.opencv.org, Stack Overflow, etc and have not found solution
   <!--
   Places to check:
   * OpenCV documentation: https://docs.opencv.org
   * FAQ page: https://github.com/opencv/opencv/wiki/FAQ
   * OpenCV forum: https://answers.opencv.org
   * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
   * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
   -->
 - [x] I updated to latest OpenCV version and the issue is still there
   <!--
   master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
   OpenCV team supports only latest release for each branch.
   The ticket is closed, if the problem is not reproduced with modern version.
   -->
 - [ ] There is reproducer code and related data files: videos, images, onnx, etc
   <!--
   The best reproducer -- test case for OpenCV that we can add to the library.
   Recommendations for media files and binary files:
   * Try to reproduce the issue with images and videos in opencv_extra repository
     to reduce attachment size
   * Use PNG for images, if you report some CV related bug, but not image reader
     issue
   * Attach the image as archite to the ticket, if you report some reader issue.
     Image hosting services compress images and it breaks the repro code.
   * Provide ONNX file for some public model or ONNX file with with random weights,
     if you report ONNX parsing or handling issue. Architecture details diagram
     from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
   -->
Repository: vscode
Issue: Allow extensions to fully control workspace symbol search (matching and highlights)
Labels: feature-request,api,workspace-symbols,quick-open

<!-- ⚠️⚠️ 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. -->

For qualified workspace-symbols queries like `llvm::Str`, our language server returns results like `{containerName: "llvm", name: "StringRef"}`.

VSCode attempts to fuzzy-match the query (`llvm::Str`) against the name only (`StringRef`). Because this always fails, it doesn't display any results.

In #23509 it's suggested this is something extensions should deal with, but it's not clear what extensions can do.  The `provideWorkspaceSymbols` extension point must return [SymbolInformation](https://code.visualstudio.com/api/references/vscode-api#SymbolInformation) which are then filtered by `name`. Adding the qualifier to `name` means it is displayed twice - once in `name` and once in `containerName`.