sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Incorrect bounce angle of RigidBody2D when using the Cast Ray Continuous Cd mode
Labels: bug,confirmed,topic:physics,topic:2d

**Godot version:**
v3.1.1.stable.official
**OS/device including version:**
Mac OS X and Linux Ubuntu
**Issue description:**
RigidBody2d collides with flat StaticBody2d and bounces with random angle. Often, with the same it came from. Happens on relatively high speed of RigidBody2d
**Steps to reproduce:**
1. Run the project
2. Bump the RigidBody2d with KinematicBody2d so it's speed increases
3. Observe the bug.

Here are the description with video and screenshots attached:
https://www.reddit.com/r/godot/comments/d4455z/bug_i_godot_physics_system/
**Minimal reproduction project:**
https://github.com/GaidamakUA/GodotExperiments/tree/master/arcanoid
Repository: flutter
Issue: Add support for external storage(Sd Card, USB Storage etc) in flutter.
Labels: c: new feature,customer: crowd,p: path_provider,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

I didn't find any method to locate external storage like Sd Card, USB Storage etc which is supported in native android. When I call this method `getExternalStorageDirectory()` which returns `/storage/emulated/0` that is Internal storage (not external). Also, add support for "Scoped Storage access". The official Android doc on [storage](https://developer.android.com/guide/topics/data/data-storage) is very well written hope to see some improvement on flutter too.
Repository: youtube-dl
Issue: add option --prefer-ipv6
Labels: request

- [x] I'm reporting a feature request
- [x] I've verified that I'm running youtube-dl version **2019.09.12.1**
- [x] I've searched the bugtracker for similar feature requests including closed ones


It's somewhat useful as some of the websites may not be available through IPv6.
Repository: TypeScript
Issue: Explicit module resolution
Labels: Suggestion,In Discussion

## Search Terms

explicit module resolution

Semi-Related: #11979

## Suggestion

Have the ability to specify a pragma/directive that provides a definitive resolution to a module to use at compiler time in place of one that is specified at runtime.  During transpilation, the directive could be elided, leaving the module specifier it was overriding untouched.

## Use Cases

Specifically in Deno, we don't use any form of "magic" resolution (like Node.js resolution logic), and we include a fully qualified module specifier.  This information would change the resolved module for the purposes of the compiler, but not change the runtime module specifier.  The logic applied to the module specifier in the pragma/directive could be applied "as normal", it simply would indicate there is a compile time only substitution to be made.

## Examples

Currently in Deno we utilise a special directive to accomplish this: `@deno-types="..."`.  We parse a source file as the module is being resolved by the TypeScript compiler, parse out any instances of the directive and apply that substitution to any `import`/`export` between that point and the next directive or the end of the file.

So to load prettier, we would do something like this:

```ts
// @deno-types="./prettier/standalone.d.ts"
import "./prettier/standalone.js";
```

Or if we load lo-dash:

```ts
// @deno-types="https://unpkg.com/@types/lodash@^4.0.0/index.d.ts"
import * as _ from 'https://cdn.pika.dev/lodash-es/v4';
```

So while we have something that works for us, we think that if solving this problem was done in the TypeScript compiler, it would be something that could benefit a wider community as we go more to situations people might not rely upon Node.js module resolution to resolve the compile time and runtime paths and expect the compiler to magically know what their intent is, but also it would be part of the parse of a source file and therefore TypeScript's understanding of the file, instead of having to "trick" the compiler.

There maybe other ways to solve this than some sort of positional directive, so thoughts, feedback are more than welcome.  The intent is "the module specifier says X, which is important at runtime, but TypeScript needs to be told to resolve to Y instead".

## Checklist

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, etc.)
* [X] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: TypeScript
Issue: Type of heterogeneous enum value can't be inferred correctly when used in object literal
Labels: Bug

**TypeScript Version:**  3.5.3

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
heterogeneous enum value type

**Code**

```ts
const enum Heterogeneous {
  Foo = 1,
  Bar = 'zzz',
}

var a1: string = Heterogeneous.Bar; // <= OK. no error.
var a2: {name: string} = {name: Heterogeneous.Bar}; // <= Type 'Heterogeneous' is not assignable to type 'string'.

var b1: Heterogeneous = Heterogeneous.Bar; // Type of 'b1' is 'Heterogeneous'.
var b2 = {name: b1}; // Type of 'b2' is still inferred as '{name: Heterogeneous.Bar;}'
var b3: {name: string} = {name: b1}; // OK. 'Heterogeneous.Bar' is assignable to 'string'.

```

**Expected behavior:**
no error.
**Actual behavior:**
var a2: {name: string} = {name: Constants.Bar}; // <= Type 'Constants' is not assignable to type 'string'.ts(2322)


I often use a heterogeneous const enum as a constant provider, for compile time optimizing.
Specifying the string type literal explicitly will work, like:
```
var a2: {name: string} = {name: <string>Heterogeneous.Bar};
```
but it looks verbose.
Repository: rust
Issue: thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:347:21
Labels: O-macos,A-codegen,I-ICE,T-compiler,C-bug

when following [these install instructions](https://github.com/mad-de/IMPP#build-library-for-android) (which work under Ubuntu 18.04) compiling for openssl-sys fails with:
     thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:347:21

     note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

     error: internal compiler error: unexpected panic

     note: the compiler unexpectedly panicked. this is a bug.

     note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

     note: rustc 1.37.0 (eae3437df 2019-08-13) running on x86_64-apple-darwin

     note: compiler flags: -C opt-level=3 -C ar=/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar -C linker=/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android29-clang --crate-type lib

     note: some of the compiler flags provided by cargo are hidden

     error: Could not compile `openssl-sys`.
     warning: build failed, waiting for other jobs to finish...
     error: build failed


.cargo/config file:
     [target.aarch64-linux-android]
     ar = "/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar"
     linker = "/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android29-clang"

     [target.armv7-linux-androideabi]
     ar = "/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar"
     linker = "/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-clang"

     [target.i686-linux-android]
     ar = "/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ar"
     linker = "/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android28-clang"

System:
MacOS Mojave (10.14.5 (18F132))
rustc 1.37.0 (eae3437df 2019-08-13)

build commands:
     export CC=/Users/bianca/Library/Android/sdk/ndk/20.0.5594570/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android29-clang
     export AR=/Users/bianca/Library/Android/sdk/ndk/20.0.5594570/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar
     cargo build --target aarch64-linux-android --release
Repository: youtube-dl
Issue: Allow "file://" URLs
Labels: request

## Checklist

- [x] I'm reporting a feature request
- [x] I've verified that I'm running youtube-dl version **2019.09.12.1**
- [x] I've searched the bugtracker for similar feature requests including closed ones


## Description

#8228 disabled use of "file://" for good reasons. However not all of us run youtube-dl on a server, and there are instances where treating a local file as a URL with a "file://" protocol is necessary and desired.

While a command-line option to override that security fix would be trivial to circumvent (if youtube-dl is being run on a server), a config-file-only option would retain security where it is needed (and allow that functionality if it's needed on a desktop).

Request: A config-file option to allow use of "file://" URLs (eg "--allow-file-url"). If that option is present on the command-line, youtube-dl should respond either by ignoring it or exiting immediately with a non-zero status.

This would allow a secure method for users to explicitly choose to allow use of "file://" URLs. The default behaviour would remain secure, and it would not be possible to over-ride the secure behaviour via command-line options.
Repository: youtube-dl
Issue: I want to add multi-channel into my format selection config can, can I do that?
Labels: question

<!--

######################################################################
  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:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [X] I've looked through the README and FAQ for similar questions
- [X] I've searched the bugtracker for similar questions including closed ones


## Question
Hello!
I already have a convoluted format selection configuration, that I got with some help. Which prefers opus over Vorbis over AAC. (Also video with resolution preferred over format up to a certain size, otherwise vp9 preferred)
But recently I noticed that new higher bitrate multi-channel audio streams (formats 258, 256) were added which makes sense to be preferred, but apparently only in AAC. So I'd like to add them somehow.

`-f "(bestvideo[vcodec=vp9]/bestvideo[vcodec^=avc]/bestvideo[vcodec!=vp8])[height<=1440]+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio[acodec^=m4a]/bestaudio)/(best[vcodec=vp9]/best[vcodec^=avc]/best[vcodec!=vp8])[height<=1440]"`

Example video:
https://www.youtube.com/watch?v=_ttYSpt8oiw

Or should I just revert to bestaudio? I don't know if bestaudio actually selects bestaudio, or tries to combine AAC for AVC and opus/vorbis to VP9. Besed on the formats available for the example video it might work if bestaudio only looks at bitrate only. Though I'm not sure if there are videos with residual stereo AAC streams of higher bitrate than opus which I don't want. Or vorbis streams for which the bitrate I don't remember.
Repository: youtube-dl
Issue: Support for https://xxxdan.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 2019.09.12.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 **2019.09.12.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://xxxdan.com/livecams/faa90ea558d129221553b146f58ed99c/big-tits-brunette-melisagreen-dildoing-herself.html
- Single video: https://xxxdan.com/zya5Y/colombian-shemale-with-big-cock-masturbating.html
- Playlist: n/a


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Pornographic website which currently is not supported in youtube-dl. No account is required for viewing. BTW even though the one link has "livecams" in the url it is actually a static video
Repository: CS-Notes
Issue: HashMap 扩容-重新计算桶下标
Labels: question

假设原数组长度 capacity 为 16，扩容之后 new capacity 为 32：
capacity     : 00010000
new capacity : 00100000
对于一个 Key，
它的哈希值如果在第 5 位上为 0，那么取模得到的结果和之前一样；
如果为 1，那么得到的结果为原来的结果 +16。

没有看懂，有没有大佬详细讲解一下~
Repository: flutter
Issue: Help new users avoid odd patterns with more analyzer warnings
Labels: framework,dependency: dart,a: first hour,c: proposal,P2,team-framework,triaged-framework

I saw a new Flutter developer write code something like this:

```dart
class BlueRect extends Container {
  BlueRect(double argDim) {
    globalDim = argDim;
  }
  static double globalDim;
  final double dim = globalDim;
  Widget build(BuildContext context) {
    return Container(
      width: dim,
      height: dim,
      color: Colors.blue,
    );
  }
}
```

Their complaint was "when I hot reload it works, but when I restart it doesn't appear".

It's analyzer-clean, which is distressing. I'm not really sure how to help them, but we should be able to notice _something_ is off here, right...?

cc @devoncarew @stereotype441 @goderbauer @a14n
Repository: godot
Issue: Bumpy issue when dealing with moving platforms and Animation Player
Labels: bug,discussion,topic:core,confirmed,usability,topic:physics

**Godot version:**
3.1.1 stable

**OS/device including version:**
Ubuntu 18.04.2 LTS

**Issue description:**

A bumpy player in moving Platform when using `AnimationPlayer` in `CollisionShape2D`.

![](https://media.giphy.com/media/LS3McHmrcPCeXpM6zU/giphy.gif)

**Steps to reproduce:**


Given the following Node2D Structure:
```
* Node2D
  * KinematicBody2D
    * Sprite
    * Animation Player
    * Collision Shape 2D
```

If we animate `CollisionShape2D` and `Sprite` up and down, simulating a vertical moving platform, we get a bump effect on the character. 

But if we animate the `KinematicBody2D` up and down directly, it doesn't happen. It works, but some times it is not wanted since I don't want to mess the base location of that object.  

Make sure to set `Sync to Physics` to `on` in your platform object.

**Minimal reproduction project:**

Clone this and hit play in your Godot: 
https://github.com/raphaklaus/animation-player-issue
Repository: pytorch
Issue: "git describe" shows incorrect version 1.0 instead of 1.2
Labels: module: build,triaged

## 🐛 Bug

After cloning

`git describe --tags` shows version 1.0 instead of 1.2. This impacts packaging from git source.

## To Reproduce

`git describe --tags`

results in:

`v1.0rc0-7015-g31139b5f9a`

## Expected behavior

`v1.2.0-7015-g31139b5f9a`

## Environment

## Additional context


cc @ezyang @gchanan @zou3519
Repository: go
Issue: x/mobile: bind example does not work under xcode 11 GM
Labels: NeedsInvestigation,mobile

<!-- 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 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes. 


### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/user/Library/Caches/go-build"
GOENV="/Users/user/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/user/gocode"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/user/gocode/src/golang.org/x/mobile/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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mj/vc775djd4p73ftqvkrphl01m0000gn/T/go-build395480379=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?
checked out the go mobile repo (follow instructions https://github.com/golang/go/wiki/Mobile) and opened it in xcode 11 and built.
verified Hello.framework exists in "Framework, Libraries and Embeded contents" and also listed in "Link Binary with Libraries".

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->



### What did you expect to see?
able to build and run the package.


### What did you see instead?
"Module 'Hello' not found" in ViewController.m
Repository: flutter
Issue: Proposal: make material `Stepper` pass proper `isActive` to its children `Step`s, based on `currentStep`
Labels: framework,f: material design,c: proposal,P3,team-design,triaged-design

<!-- 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
For now, the users of `Stepper` have to pass duplicate information twice, that is:
1. `currentStep` to `Stepper`
2. `isActive: ([corresponding step of the Step widget] == currentState)` to each `Step`

However, I think it's safe to assume that in major cases, users would want to show `Step` at index `currentStep` to appear as selected one (I mean style-wise). If we implement exactly that, the users of `Stepper` aren't required to pass (redundant, in my opinion) `isActive` to `Step` widget.

<!--
     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
Make `Stepper` pass proper `isActive` parameter for children, based on its own `currentStep`. If needed, pass opt-out option for `Step` which disables enabled styling. (I think I can start [here](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/stepper.dart#L512-L533)?)

I'm filing an issue first instead of PR, as I'm not sure if the core team agrees with this change, and/or if there's any possible unintended outcome that I couln't think of. If there's any, please let me know! Thanks for the awesome product.

<!--
     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.
-->
Repository: youtube-dl
Issue: Support for https://www.keekass.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 2019.09.12.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 **2019.09.12.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.keekass.com/videos/41359/lorien-ejaculates/
- Single video: n/a
- Playlist: n/a


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Pornographic website which currently is not supported in youtube-dl. No account is required for viewing.