sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Index doesn't work for get_rotation and get_translation boxes in Visual Script, in Godot 3.2
Labels: bug,confirmed,topic:visualscript

**Godot version:**
3.2

**OS/device including version:**
Windows 10

**Issue description:**

Normally, when I change ' index ' for get_rotation and get_translation in Godot 3.1 Visual scripting, it changes the default output from a vector3, to a float, like the x-value for translation . . But, that button doesn't work anymore, changing the index doesn't work . . it's still a vector3, instead . . .

**Steps to reproduce:**

![2020-02-20 1054](https://user-images.githubusercontent.com/61069740/75102128-f9341300-55e6-11ea-909c-3264df6c6056.jpg)

![2020-02-20 1115](https://user-images.githubusercontent.com/61069740/75102131-05b86b80-55e7-11ea-8da3-7b2896ed8f4e.jpg)

**Minimal reproduction project:**

It's just really tough, when used to it working in 3.1, it not works in 3.2 . .
Repository: pytorch
Issue: /usr/bin/x86_64-linux-gnu-ld: warning: libcusparse.so.10.0, needed by /pytorch_master/build/lib/libtorch_cuda.so, not found (try using -rpath or -rpath-link)
Labels: module: build,module: cuda,triaged

```
undefined reference to `cusparseScsrmm2@libcusparse.so.10.0'
/pytorch_master/build/lib/libtorch_cuda.so: undefined reference to `cusparseDcsrmm2@libcusparse.so.10.0'
/pytorch_master/build/lib/libtorch_cuda.so: undefined reference to `cusparseCreate@libcusparse.so.10.0'
pytorch_master/build/lib/libtorch_cuda.so: undefined reference to `cusparseXcoosort_bufferSizeExt@libcusparse.so.10.0'
/pytorch_master/build/lib/libtorch_cuda.so: undefined reference to `cusparseXcoo2csr@libcusparse.so.10.0'
/pytorch_master/build/lib/libtorch_cuda.so: undefined reference to `cusparseXcsrsort_bufferSizeExt@libcusparse.so.10.0'
```

while:

```
> locate libcusparse.so.10.0                                                                                            1 master!1 master!
/usr/local/cuda-10.0/lib64/libcusparse.so.10.0
/usr/local/cuda-10.0/lib64/libcusparse.so.10.0.130

```
And my cuda lib64 path already in bashrc.

cc @ngimel
Repository: TypeScript
Issue: When an index signature is not available, encourage using a more specific type to index the type.
Labels: Suggestion,Awaiting More Feedback

## Search Terms

index signature, keyof, domain: error messages
Vaguely related:
https://github.com/Microsoft/TypeScript/issues/14951

## Suggestion

When there is a type error because of a missing `string` index signature, add a suggestion of:
"Did you mean to use a more specific type such as `keyof Thing` instead of `string`?"

Only show this message:
- if the type used to index is within the same scope
- the object being indexed is not empty

## Use Cases

Take the following example:
```tsx
interface Person {
  name: string;
  phone: string;
}
declare const person: Person;

const get = (person: Person, key: string) => {
  return person[key];
};

get(person, "name");
```

The error message here is:
```
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Person'.
  No index signature with a parameter of type 'string' was found on type 'Person'.
```

This is technically correct! However, many people read this error message to mean "add an index signature to `Person`," rather than advising them to use a more specific type than `string`, like `keyof Person`. Adding the index signature suppresses the error, making it seem like the correct solution.

## Where this doesn't work

There are some cases where this advice would not make sense:
```
// Did you mean to use a more specific type such as `keyof Number` instead of `string`?
1["a" as string]
```

Other cases I can think of so far:
- Empty objects, especially from `reduce` (suppress for empty objects)
- Indexing an object by number (only do this for strings?)
- `Object.keys` and `Object.entries` as discussed many, many times (require the indexing type to be in the same scope)

## 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: go
Issue: cmd/go: list_ambiguous_path test fails when Windows language is not english
Labels: Testing,NeedsFix

```
$ go version
go version devel +ebe49b2c29 Sun Feb 23 01:23:41 2020 +0000 windows/amd6
```

The `TestScript/list_ambiguous_path` test in `cmd/go` fails when the Windows language is set to something different from English, because the test hardcodes the missing file error message, which is localized.

An example failure from a system with the language set to Italian:

```
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/list_ambiguous_path (0.36s)
        script_test.go:193:
            # Ensures that we can correctly list package patterns ending in '.go'.
            # See golang.org/issue/34653.
            # A single pattern for a package ending in '.go'. (0.060s)
            # Multiple patterns for packages including one ending in '.go'. (0.057s)
            # A single pattern for a Go file. (0.144s)
            # A single typo-ed pattern for a Go file. This should
            # treat the wrong pattern as if it were a package. (0.049s)
            # Multiple patterns for Go files with a typo. This should
            # treat the wrong pattern as if it were a non-existint file. (0.035s)
            > ! go list ./foo.go/a.go ./foo.go/b.go
            [stderr]
            CreateFile ./foo.go/b.go: Impossibile trovare il file specificato.
            [exit status 1]
            > [plan9] stderr 'stat ./foo.go/b.go: ''./foo.go/b.go'' does not exist'
            > [windows] stderr './foo.go/b.go: The system cannot find the file specified'
            FAIL: testdata\script\list_ambiguous_path.txt:26: no match for `(?m)./foo.go/b.go: The system cannot find the file specified` found in stderr
 
FAIL
FAIL    cmd/go  229.859s
```

This test is run by `all.bat`, which means that `all.bat` will not complete successfully on a non-english Windows machine.

cc @Helcaraxan (which added the test) and @bcmills
Repository: TypeScript
Issue: NaN incorrectly narrows to 0
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. 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.0-dev.20200222

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** NaN Truthiness Falsy

**Code**

```ts
function bool(): boolean { return false; }
function number(): number { return NaN; }

let a = number();
let b = bool();

const x = a && b; // type = boolean | 0
console.log(x); // prints NaN (which is neither boolean, nor 0)
```

**Expected behavior:**
Type of `x` should be `number | boolean`.

Since `NaN` isn't a "unit type" like `0`, we can't express `NaN` without using `number`.

**Actual behavior:**
Type of `x` is `0 | boolean`.

**Playground Link:** [playground link](http://www.typescriptlang.org/play/?ts=3.9.0-dev.20200222&ssl=1&ssc=1&pln=8&pc=30#code/GYVwdgxgLglg9mABAIznANgCgJQC4VroCmAhkgN6IBORUIVSwJ6AzkQNyIC+AUKJLASIwIALbIiVHPhHjJiSjToNEAORKrOvHsSiISiALzCxEqdnY7aKIwQw5LPCAhZ6AHrYMAyLyk4B6f0QoAE8AByJbVAxSJAAfRAAGJxcYgDp0OABzTDcLREDEMKoYMCgWNQ0gA)

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
https://github.com/microsoft/TypeScript/issues/32778 (Incorrectly marked as duplicate?)
Repository: pytorch
Issue: [dev] `RecursiveScriptModule` does not expose `jit.ignore`d methods
Labels: oncall: jit,triaged

## 🐛 Bug

`RecursiveScriptModule` does not expose `jit.ignore`d methods. `jit.ignore` seems to be the recommended way to "gradually prepare" code for scripting, though.

## To Reproduce

```py
class Foo(nn.Module): 
    def forward(self, x):
        return None 
    @T.jit.ignore 
    def foo(self):
        return None

foo = jit.script(Foo())
print(foo.__dict__.keys())
assert 'foo' not in foo.__dict__
```

## Expected behavior

Either `jit.ignore` should work here (it used to), or the docs need an update.

## Environment

 - PyTorch Version (e.g., 1.0): 1.5.0.dev20200223
 - OS (e.g., Linux): Ubuntu 18.04 LTS
 - How you installed PyTorch (`conda`, `pip`, source): pip / dev
 - Python version: 3.6.8
 - CUDA/cuDNN version: 10.2
 - GPU models and configuration: P100
 - Any other relevant information: 

## Additional context

<!-- Add any other context about the problem here. -->


cc @suo
Repository: neovim
Issue: inccommand substitution should not call input()
Labels: bug,complexity:low,core,inccommand

<!-- Before reporting: search existing issues and check the FAQ. -->

- `nvim --version`:
```
NVIM v0.4.3
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /usr/lib/ccache/bin/cc -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe  -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/builddir/neovim-0.4.3/build/config -I/builddir/neovim-0.4.3/src -I/usr/include -I/builddir/neovim-0.4.3/build/src/nvim/auto -I/builddir/neovim-0.4.3/build/include
```

### Steps to reproduce using `nvim -u NORC`

```
nvim -u NORC
:set inccomand=nosplit
:s/^/\=input("sub: ")
```

### Actual behaviour
Prompts you for input when you're typing your substitute command and does nothing with your input, and then takes you back to the command you were typing.
### Expected behaviour
Shouldn't prompt you while you're typing your command.
Repository: flutter
Issue: GoogleMapController.animateCamera - Return Future after animation completion
Labels: c: new feature,p: maps,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

## Use case
<!--
     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?
-->
Flutter's Google Maps plugin `GoogleMapController.animateCamera` has a `Future<void>` return value.

According to the documentation:
`The returned Future completes after the change has been started on the platform side.`

I would like this Future to instead return after the change has been **completed** on the platform side. This is useful because it would enable`animateCamera().then(() => {})` logic that depends on the state of the map after the animation has completed.

## 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.
-->
Have `GoogleMapController.animateCamera` return a Future<void> after the animation has been **completed** on the platform side instead of after the animation has started.
Repository: TypeScript
Issue: Distribute property type union members to create union of object types
Labels: Bug

**TypeScript Version:**  v3.9.0-dev.20200222 

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** union type object property

**Code**

```ts
type Test =
  | { b: [false, "a"] }
  | { b: [true, "b"] }
  
declare const b2: boolean;
const a: Test = { b: b2 ? [b2, "b"] : [b2, "a"] }
```

**Expected behavior:**
No error. I'm not exactly sure if this is a bug or feature request but, essentially, it'd be nice if TS could recognize that: `{ b: [true, "b"] | [false, "a"]; }` is identical to `{ b: [true, "b"] } | { b: [false, "a"]; }`

**Actual behavior:**
```
Type '{ b: [true, "b"] | [false, "a"]; }' is not assignable to type 'Test'.
  Type '{ b: [true, "b"] | [false, "a"]; }' is not assignable to type '{ b: [true, "b"]; }'.
    Types of property 'b' are incompatible.
      Type '[true, "b"] | [false, "a"]' is not assignable to type '[true, "b"]'.
        Type '[false, "a"]' is not assignable to type '[true, "b"]'.
          Type 'false' is not assignable to type 'true'.
```

**Playground Link:** [Playground Link](http://www.typescriptlang.org/v2/en/play?ts=3.8.0-beta#code/C4TwDgpgBAKhDOwoF4BQUoB8oG8oCMAuKAbQDMBDAG3ggBooAiCxgXSgF90tcDiTgAJwCu9JvjaduqACYQAxlQqDo8gPYA7RAQBMxfGrVUIFDQG5U6rUgrE425LyK6oAflL4dDRhPb9P3izsHEA)
Repository: youtube-dl
Issue: support otr-online.ru
Labels: site-support-request

## Checklist

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.02.16**
- [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

- Single video: https://otr-online.ru/programmy/segodnya-v-rossii/sergey-leskov-41386.html
- Single video: https://otr-online.ru/programmy/segodnya-v-rossii/sergey-leskov-41465.html

## Description

The site of [Public Television of Russia](https://en.wikipedia.org/wiki/Public_Television_of_Russia) seems to provide single video players only with adjacent playlists (compelling their viewers to continue). However, youtube-dl should download only the first video.
Repository: excalidraw
Issue: show finish-arrow button always or on touchscreens
Labels: mobile

I find the way to end a multiline arrow/line not ideal.

My instinct was to click on the line shape again but that did nothing. Maybe we should make it end.

The checkmark button is not visible enough. We should make it a lot more obvious than it is right now somehow. Maybe change colors and/or location.
Repository: pytorch
Issue: Decouple Lifetime of Local RRef and RPC
Labels: oncall: distributed,triaged

Multiple people (cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @javier-m @shz0116) requested decouple the lifetime of local RRef from RPC, to allow creating local RRefs before `init_rpc`. See discussions ini #33587. 

Technically, this shouldn't be hard to implement, but it might look weird if RRef constructor is independent of `init_rpc` but `rpc.shutdown()` marks all RRefs as invalid. A more appropriate solution might be decoupling `OwnerRRef`'s lifetime from RPC, but `UserRRef` can only live between `init_rpc()` and `rpc.shutdown()`. This will also be easier to convey in the API description. 

More specifically, `rpc.shutdown()` would still clear all local RRefContext states, including the fork map. But, as long as the application still holds a Python object of the `OwnerRRef`, it can still use it if necessary. If later, the application calls `init_rpc` again, it can still pass the `OwnerRRef` as an argument in RPC calls.
Repository: TypeScript
Issue: Return export nodes of ast when resolving alias symbol
Labels: Suggestion,Awaiting More Feedback


## Search Terms

export star node

## Suggestion

Add an API which returns alias symbol of import specifier and the export nodes on the searching path.

## Use Cases

I want to write a little tool to extract certain type in typescript code and its dependent types.
Current approaches just return the alias symbol, and it's difficult to establish relationship between import specifier and export star statements.


## Examples

a.ts:
```
import {C} from './b';
```

b.ts:
```
export * from './c';
export * from './d';
export * from './e';
```

c.ts:
```
export const C = 1;
```

I want to get not only the location of symbol "C", but also the export star node in the AST of "b.ts", which is "export * from './c'".


## 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.)
* [ ] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: godot
Issue: Collision shapes created through CollisionObject2D APIs are not visible
Labels: enhancement,topic:physics,topic:2d

**Godot version:** 3.2

**OS/device including version:** Windows 10

**Issue description:** Collision shapes created using `CollisionObject2D` APIs work but are not visible on enabling "Visible Collision Shapes".

![ezgif-6-739f6b2d1364](https://user-images.githubusercontent.com/6249061/75130094-81eba580-56f2-11ea-9875-c1930cc1dd81.gif)

**Steps to reproduce:** Create collision shape using `shape_owner*` APIs
```
	var own = create_shape_owner($Child)
	var shape = CircleShape2D.new()
	shape.radius = 20
	shape_owner_add_shape(own, shape)
```
**Minimal reproduction project:**
[CollisionVisibilityBug.zip](https://github.com/godotengine/godot/files/4243133/CollisionVisibilityBug.zip)
Repository: rust
Issue: Make emitting an error necessary to acquire a `ErrorReported` token
Labels: C-cleanup,T-compiler

`ErrorReported` indicates that a compiler error has been emitted, but currently it may be freely constructed. We should make it unconstructable, so that the only way to get one is to `.emit()` an error.

cc https://github.com/rust-lang/rust/pull/68434#discussion_r370961307 @eddyb @estebank
Repository: flutter
Issue: Make the _TimePickerDialog easier to drive with Flutter driver
Labels: framework,f: material design,f: date/time picker,t: flutter driver,c: proposal,team-design,triaged-design

<!-- Thank you for using Flutter!

     Please check out our documentation first:
      * https://flutter.dev/
      * https://api.flutter.dev/

     If you can't find the answer there, please consider asking a question on
     the Stack Overflow Web site:
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     Please don't file a GitHub issue for support requests. GitHub issues are
     for tracking defects in the product. If you file a bug asking for help, we
     will consider this a request for a documentation update.

-->

Currently I'm unable to select a time in the time picker dialog, I've had a look through the source code the tests for this use an offset which is fine for widget testing but not great for integration testing, can we have a key or a text to select the times
Repository: excalidraw
Issue: Close menu when deselecting
Labels: mobile

Steps:

1. select shape and open properties menu
2. click away to deselect (which closes the menu)
3. select some element, which opens the menu again

IMO this is non-intuitive (and it tends to use the same tap you used to select an element for clicking a button in the menu if it happens to be under pointer --- I tested this on devTools emulation only, so it may not be what's happening on real device).
Repository: node
Issue: HTTP2 bandwidth issues
Labels: http2

* **Version**: 13.9.0
* **Platform**: Linux

Hi, 
I've been trying to launch a simple app, copying directories containing files only, using HTTP2.
my implementation was simple - create http2 session and use concurrent streams within this session to transfer all the files in the directory.

First environment: server and client were both launched on a Linux machine on AWS ec2 service. the two Linux machines were in the same subnet.
At first, I tried to copy directories with lots of small files - 500k/600k/700k each 1KB.
the performance was really good. 
However, when I tried to copy a directory with larger files - 300/200/100 files 1GB each, the performance was poor. I've tried to change MaxSessionMemory but there was no change.

Then, I've tried to change my implementation. I opened a new session **for each file**. This improved the performance of the directories with the large files significantly, but the performance of the directories with small files was worse than before.
I had no idea why it's happening, so I just decided to set some sort of threshold "x" for file's size - If the file size was smaller then x, then don't initiate a new session and use the existing one, else - initiate a new session to copy the file. That way, I thought I overcame this obstacle.

But, unfortunately, I was wrong. My next target was to try to copy the files over the internet. So I've tried to launch server and client on Linux machines in **different regions**.
This time, the best performance for both scenarios was to create a new session for each file - even for directories with lots of small files.

PS - by saying "poor performance" I mean that I checked bandwidth using "bmon", and saw big bandwidth differences.
Also, tried to change initialWindowSize, but didn't work.

I'm not so familiar with the http2 protocol itself, but I think maybe we need to have some sort of a way to control the session memory and the stream's memory at the session, maybe that's the problem.

reproduce:
https://github.com/Rantoledo/http2_nodejs_client_server_example2
Repository: flutter
Issue: Include current tree depth in BuildContext
Labels: c: new feature,framework,d: stackoverflow,P3,team-framework,triaged-framework

I have a system that is using StreamBuilders in the Widget tree. Changes to the system are directly published to the streams and will cause the Widget tree to rerender. However, that can cause some updates to no longer be relevant. I would like to only trigger updates that are necessary by targeting streams higher in the build tree first.

I found I can use: `findRenderObject`, but it doesn't seem like it designed for something like this (performance wise). 

Can't the BuildContext be aware of it's depth in the Widget tree? Or is there another way to do this.

Any help is appreciated.