sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: cmd/go: mod why -m is not strict when parsing an import path
Labels: help wanted,NeedsFix,modules

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.13.6 linux/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="on"
GOARCH="amd64"
GOBIN="/home/manlio/.local/bin"
GOCACHE="/home/manlio/.cache/go-build"
GOENV="/home/manlio/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB="github.com/perillo/*"
GOOS="linux"
GOPATH="/home/manlio/.local/lib/go:/home/manlio/src/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/manlio/src/go/src/github.com/perillo/database/go.mod"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build853843883=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version go1.13.6 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.13.6
uname -sr: Linux 5.4.12-arch1-1
/usr/lib/libc.so.6: GNU C Library (GNU libc) stable release version 2.30.
gdb --version: GNU gdb (GDB) 8.3.1
</pre></details>

### What did you do?

In a project that depends on `golang.org/x/tools/go/packages`, I executed
```
go mod why -m golang.org/x/tools/ 
```

### What did you expect to see?
```
go: malformed import path "golang.org/x/tools/": trailing slash
```
as it is done by `go mod init`.

### What did you see instead?
```
# golang.org/x/tools/
(main module does not need module golang.org/x/tools/)
```
Repository: godot
Issue: Dictionary exporting not showing default value
Labels: bug,topic:editor

**Godot version:**
3.1.1
**OS/device including version:**
Windows 10
**Issue description:**
When exporting a dictionary on a script the default assigned dictionary is not shown on the Inspector as expected. Instead, an empty dictionary is shown. I attached two screenshots, one with the declaration of the dictionary and the key/value pairs that it contains and another of the inspector with the empty dictionary that it shows.

![Screenshot 134 - 20 de enero 18 35](https://user-images.githubusercontent.com/24842781/72747218-49692100-3bb4-11ea-89d7-60a778787cf2.png)
![Screenshot 135 - 20 de enero 18 35](https://user-images.githubusercontent.com/24842781/72747219-49692100-3bb4-11ea-8836-716ca208f6f1.png)

This may be related to #10018 but it is said to be fixed.

**Steps to reproduce:**
1.- Export a Dictionary on a script.
2.- Assign it a non-empty dictionary.
3.- Save everything and check the exported dictionary. It is empty instead of having said key/values.

**Minimal reproduction project:**
Repository: go
Issue: cmd/dist: cmd/internal/objabi/zbootstrap.go is not removed
Labels: help wanted,NeedsInvestigation

I noted that on Linux amd64, with go1.14beta1-137-g71239b4f49, after calling `make.bash`, `clean.bash` does not remove the file  `cmd/internal/objabi/zbootstrap.go`.

I have confirmed the problem using `git status --ignored`.
Repository: pytorch
Issue: [C++] Don't use DeprecatedTypeProperties in torch::utils::reorder_tensors_like
Labels: module: internals,triaged

This is a followup to https://github.com/pytorch/pytorch/issues/29161. As per https://github.com/pytorch/pytorch/issues/29161#issuecomment-558308534, DeprecatedTypeProperties needs to be removed from the very last use site before it can be completely gotten rid of.

cc @ezyang @gchanan @ngoldbaum
Repository: godot
Issue: [Bullet] Changing 3D gravity in BulletPhysics does not work as expected
Labels: bug,topic:physics,topic:dotnet

**Godot version:** 3.2 RC 2

**OS/device including version:** Windows 10 / PC

**Issue description:** I'm trying to make a game where the gravity changes during runtime. This does not work as expected.

- Changing the gravity in _Ready() works fine
- Changing the gravity in _Process(float delta) just slows the default gravity vector
- Changing the gravity in _PhysicsProcess(float delta) freezes the gravity:

```
    public override void _Ready()
    {
		// Works as expected
        Vector3 lNewGravityVec3 = new Vector3(0,1,0);
        PhysicsServer.AreaSetParam(GetWorld().Space, PhysicsServer.AreaParameter.GravityVector, lNewGravityVec3);
    }
```
	
```
    public override void _Process(float delta)
    {
		// Just 'slows' the gravity
        Vector3 lNewGravityVec3 = new Vector3(0,1,0);
        //PhysicsServer.AreaSetParam(GetWorld().Space, PhysicsServer.AreaParameter.GravityVector, lNewGravityVec3);
    }
```

```
    public override void _PhysicsProcess(float delta) {
        // Freezes the gravity
		Vector3 lNewGravityVec3 = new Vector3(0,1,0);
        //PhysicsServer.AreaSetParam(GetWorld().Space, PhysicsServer.AreaParameter.GravityVector, lNewGravityVec3);
	}
```

**Minimal reproduction project:**
[Physics Test.zip](https://github.com/godotengine/godot/files/4087649/Physics.Test.zip)
Repository: youtube-dl
Issue: Screenopsis support request
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.01.15. 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.01.15**
- [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.screenopsis.com/www/program/67aa1d05-61a6-41c3-8fd2-a6cd051010bb/home?videoId=1a8d1830-a588-426c-9a6c-caa3f75892cc&skipConsult=true
- Single video: https://www.screenopsis.com/www/program/d6679c95-c646-463e-bf7f-6449705a04c6/home?videoId=7a6b485a-baed-4c09-8b30-1111fd389899&skipConsult=true
- Single video: https://www.screenopsis.com/www/program/9c1e52c1-efaa-4480-b38d-94a2ead41818/home?videoId=fdb51260-4616-499c-9841-6d404f04d2b9&skipConsult=true


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Database for French media like movies, TV shows and documentaries. Includes trailers and sample episodes which can't be downloaded, even with an account (which at least grants access to all available videos, only some videos can be seen without an account).
Repository: youtube-dl
Issue: Radiohead Library support request
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.01.15. 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.01.15**
- [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://radiohead.com/library/#amsp/burn-the-witch
- Single video: https://radiohead.com/library/#ir/house-of-cards
- Single video: https://radiohead.com/library/#okc/karma-police


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

A recently opened archive of Radiohead's videos, music and merchandise. Includes their entire catalogue of music videos in the best available quality (most are in HD), and whose status bar/UI appear to be based on vimeo. Right now it isn't supported by youtube-dl or any vimeo downloader tools.
Repository: create-react-app
Issue: Allow default hostnames for fetch() in production
Labels: issue: proposal

### Problem

I'm always frustrated when I'm making a `create-react-app` app that's hosted in S3 (or other static hosting) and the backend API app is hosted elsewhere.

Locally I can use

```
"proxy": "http://localhost:5000",
```

and 

```
await fetch(`/someEndpoint`)
```

will proxy the request and display the results. But there's no way to provide a different default hostname for production. Unless I intervene, this code will always try to hit `/someEndpoint` on the static web server.

### Solution I'd like

I'd like to similarly provide a hostname for production in `package.json`, perhaps:

```
"production-hostname": "https://fun-app.herokuapp.com",
```

or perhaps as a collection:

```
"hostnames": [
    "production": "https://fun-app.herokuapp.com"
]
```

These hostnames could be inserted into `fetch()` calls during compilation.

### Alternatives considered

- Hacking together something based on environment variables (a lot of cruft that we could hide from users)
- Ejecting and making my own proxy middleware

### CORS note

This approach would require that the production API (e.g. `fun-app.herokuapp.com `) respond to an `OPTIONS` request with the appropriate `Access-Control-Allow-Origin` HTTP header to allow the user's browser to process the request. This should be relatively straightforward and if we implement this feature it could be discussed in documentation.

### Additional context

I see lots of roughly related issues here and on Stack Overflow. Seems like hosting an API one place and then hosting the react app on a static hosting service elsewhere is a fairly common setup but we don't have the configuration options to really handle it elegantly.
Repository: create-react-app
Issue: Specify a standard filename under terserOptions
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

The current `npm run build` extracts the License comments and put them in a file that ends in a non standard extension `.LICENCSE`. This causes problem for servers like IIS to return 404 for request to the file. It also causes serviceWorker to break due to the file not being loaded.

### Describe the solution you'd like
Specify a standard name under `terserOptions` in `webpack.config.js`, so that it ends in `.js`.

Not tested, should be something like the below:

    filename: [file]
Repository: create-react-app
Issue: Update dependencies webpack
Labels: issue: proposal,needs triage

├─┬ @storybook/addon-storyshots@5.3.7
│ └─┬ @storybook/core@5.3.7
│   ├─┬ corejs-upgrade-webpack-plugin@2.2.0
│   │ └── webpack@4.41.5  deduped
│   └── webpack@4.41.5  deduped
├─┬ @storybook/react@5.3.7
│ └── webpack@4.41.5
└─┬ react-scripts@3.3.0
  └── webpack@4.41.2


Hi, when I am using storybook, I have issue with webpack, dependencies for create react app is older 4.41.2, could you please update it?

Best regards

Jindrich Kuba
Repository: vue
Issue: v-bind with empty key
Labels: improvement,warnings

### Version
2.6.11

### Reproduction link
[https://jsfiddle.net/andrewharvey4/k6r3uzby/10/](https://jsfiddle.net/andrewharvey4/k6r3uzby/10/)

### Steps to reproduce
v-bind an object with a empty string key

### What is expected?
vue not to crash, it to either be silently ignored or a warning but not a fatal error

### What is actually happening?
an error is thown crashing the app

```
vue.js:4483 Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': '' is not a valid attribute name.
    at baseSetAttr (https://unpkg.com/vue@2.6.11/dist/vue.js:6778:10)
    at setAttr (https://unpkg.com/vue@2.6.11/dist/vue.js:6753:7)
    at Array.updateAttrs (https://unpkg.com/vue@2.6.11/dist/vue.js:6708:9)
    at invokeCreateHooks (https://unpkg.com/vue@2.6.11/dist/vue.js:6064:24)
    at initComponent (https://unpkg.com/vue@2.6.11/dist/vue.js:5997:9)
    at createComponent (https://unpkg.com/vue@2.6.11/dist/vue.js:5980:11)
    at createElm (https://unpkg.com/vue@2.6.11/dist/vue.js:5920:11)
    at createChildren (https://unpkg.com/vue@2.6.11/dist/vue.js:6048:11)
    at createElm (https://unpkg.com/vue@2.6.11/dist/vue.js:5949:11)
    at Vue.patch [as __patch__] (https://unpkg.com/vue@2.6.11/dist/vue.js:6509:11)
```

<!-- generated by vue-issues. DO NOT REMOVE -->
Repository: godot
Issue: 3.2 RC1 Transparent material appear opaque when opaque prepass used [GLES2]
Labels: bug,topic:rendering,confirmed

Godot version: Godot 3.2 RC1

OS/device including version: Windows 10

Issue description: Setting a material as transparent and opaque prepass, alpha channel behaves weird. This was working perfectly on 3.1 and 3.2 the behaviour is shown in the attached gif:
![opaque_prepass_transparent](https://user-images.githubusercontent.com/28926813/72806143-749f4f00-3c4c-11ea-9943-c660bb36572e.gif)


Steps to reproduce: Create a cube, create a SpatialMaterial. Set flag Transparent to True, set Opaque pre-pass. In albedo, play with alpha channel slider

Minimal reproduction project: N/A
Repository: scrcpy
Issue: audio recording via line-in
Labels: audio

Hi,
I love your tool, and I am using it for several scenarios.

There is a very special need for the windows version, but I am not able to do the coding stuff by myself. Is there anyone in the crew or the community able to help me out?

Due to known limitations (issue #14 ) it is not possible to record audio on windows.
In our special setup, we do have the possibility to deliver the android device audio via line-out to the windows pc. There is also a dadicated windows sound device (Soundblaster USB stick) available to use the line-in to forward android's audio to the windows pc.

I am now looking for the possibility to record the display video via scrcpy including the sound via line-in of the soundblaster USB stick.

As this scenario is covering the needs for special purpose vehicles for a German special police unit I am willing to spend some money on this.

Any help is highly appreciated!

Frank
Repository: go
Issue: proposal: net/http: add a ServeConn method to http.Server to handle net.Conn
Labels: Proposal,NeedsInvestigation


```
// x/net/http
func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) 
```

or

```
// github.com/valyala/fasthttp
func (s *Server) ServeConn(c net.Conn) error 
```
Repository: go
Issue: runtime: use standard prefix for GODEBUG logs
Labels: NeedsDecision,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.13.1 linux/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

not relevant 
</pre></details>

### What did you do?
I've just enabled the gctrace and found all the debug logs are sent to stderr by print function.
src/runtime/mgc.go:
	if debug.gctrace > 0 {
		printlock()
		print("gc ", memstats.numgc,
			" @", string(itoaDiv(sbuf[:], uint64(work.tSweepTerm-runtimeInitTime)/1e6, 3)), "s ",
			util, "%: ")

// write to goroutine-local buffer if diverting output,
// or else standard error.
func gwrite(b []byte) {
	if len(b) == 0 {
		return
	}
	recordForPanic(b)
	gp := getg()
	// Don't use the writebuf if gp.m is dying. We want anything
	// written through gwrite to appear in the terminal rather
	// than be written to in some buffer, if we're in a panicking state.
	// Note that we can't just clear writebuf in the gp.m.dying case
	// because a panic isn't allowed to have any write barriers.
	if gp == nil || gp.writebuf == nil || gp.m.dying > 0 {
		writeErr(b)
		return
	}

	n := copy(gp.writebuf[len(gp.writebuf):cap(gp.writebuf)], b)
	gp.writebuf = gp.writebuf[:len(gp.writebuf)+n]
}
### What did you expect to see?
i'm happy to see the debug logs puts to stdout with some debug flag like:
debug.out=1


### What did you see instead?
all debug logs were treated as error by log server.
Repository: opencv
Issue: I am unable to run the command detail_ImageFeatures().descriptors in Python
Labels: bug,category: python bindings,category: stitching

### System Version(Information)
- OpenCV =>4.1.2 (Python 3.7.3)
- Operating System / Platform => Windows 10 64 Bit
- Hardware => Dell Inspiron 7460
- Compiler/Interpreter => Jupyter Notebooks
- GPU =>NVIDIA 940MX

 
**Detailed Description**

I am unable to access a public data member of  cv::detail::ImageFeatures::descriptors. When i run this command:
`import cv2
obj_Umat=cv2.detail_ImageFeatures().descriptors`

The command `cv2.detail_ImageFeatures().descriptors` returns a UMat object.
My interpreter then gives me a response that :

 **The kernel appears to have died**
Repository: scrcpy
Issue: Feature request: Add shortcut to swipe home screen left/right
Labels: feature request

I have a hard time finding the right spot on a home screen where I can use the mouse to swipe to get to the next/previous home screen. What usually happens is the action triggers Android to move the nearest icon or widget.

Edit: Removed reference to long press.
Repository: pytorch
Issue: Numba Enhancement Proposal (NBEP) 7: External Memory Management Plugins
Labels: feature,triaged

Raising here to solicit feedback on a proposal for External Memory Management support in [Numba]( https://numba.pydata.org ) (also called NBEP 7). Discussion is occurring in [this repo]( https://github.com/gmarkall/nbep-7 ). Please take a look and raise issues/PRs as you see fit. Thanks in advance for your feedback!

cc @gmarkall (for awareness)
Repository: flutter
Issue: Blend modes for Widgets
Labels: c: new feature,framework,P3,team-framework,triaged-framework

<!-- 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

Using blend modes on text, especially in relation to images is very common, but it can also help with using less CustomPaints and better utilising existing Widgets, BoxDecorations and Shadows to create slick UI and Widgets. This will also help with handoff since all of the popular Design tools (Figma, Sketch, Photoshop) have these features.

<!--
     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 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 images showing what you are imagining.

     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.
-->

I think it would be best to have the user set a blend mode as a property on in the constructor of any Widget. Alternatively the Stack Widget could have an option to enable blend modes.
Repository: rust
Issue: typeck: diverging binding in pattern does not generate unreachable_code
Labels: C-enhancement,A-lints,T-compiler,C-bug

The following should probably result in the lint being emitted:
```rust
#![feature(never_type)]

pub fn foo(maybe_never: Option<!>) {
    match maybe_never {
        Some(_never) => {
            println!("foo");
        }
        None => {}
    }
}
```
as `_never` is matched on, and it has a diverging type.

Compare this with:

```rust
#![feature(never_type)]

pub fn foo(maybe_never: Option<!>) {
    match maybe_never {
        Some(never) => {
            let _ = never;
            println!("foo");
        }
        None => {}
    }
}
```

Currently, the pattern type checking code does not care about `diverges`.

We should probably avoid fixing this in typeck and have this be fixed automatically (?) by moving `diverges` logic to MIR or some such.

cc @eddyb https://github.com/rust-lang/rust/pull/68422#discussion_r369246043.