sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: react
Issue: <video /> attribute needed but not guaranteed by React
Labels: Type: Feature Request,Component: DOM,HTML

As @gaearon [mentioned](https://twitter.com/dan_abramov/status/893511715463340033), React does not guarantee an *attribute* will be set, so probably this is not a bug.

If I understand well, react will ensure the property is set anyway. 

**Current behaviour**
React renders the html `<video />` element without the attribute `muted` when explicitly passed.

**Demo time**
In [this pen](https://codepen.io/elrumordelaluz/pen/ba4b5294cec7ea455c66e9b9d0a6c889?editors=0010) I made a simple example setting `muted` to the element and obtaining the result below:
![pen-screen-shot](https://user-images.githubusercontent.com/784056/28986491-7b2dd45e-7967-11e7-9f63-b4db88db9989.png)

Actually the property is set well, since the [original medial file](http://clips.vorwaerts-gmbh.de/VfE_html5.mp4) has an audio track and in the pen result is muted.

**The point**
I think is most a _specific need_ than the _expected behaviour_.
From the functionality POV, it is absolutely ok, my _Component_ renders a `<video />` muted as requested and so on.

But there are _browsers_ and _policies_, more specifically related to this issue, Webkit and the [New <video> Policies for iOS](https://webkit.org/blog/6784/new-video-policies-for-ios/) updated one year ago, with some interesting changes for the `<video />` element.
The part interested is
> `<video muted>` elements will also be allowed to autoplay without a user gesture.

So, the _specific need_ is to have the _explicit_ `attribute` to tell the browser that this video could be `autoPlay`ed.

There's a similar [issue](https://github.com/facebook/react/issues/6544)
Repository: TypeScript
Issue: Feedback to improve compileOnSave with tsserver.
Labels: Suggestion,Help Wanted,API,VS Code Tracked

I have implemented inside Eclipse `compile on save` with tsserver by consuming `compileOnSaveAffectedFileList` and `compileOnSaveEmitFile` commands. It works great but I think we could again improved it

For `compileOnSaveAffectedFileList`:
 
 * `compileOnSaveAffectedFileList` should throw error when the given file is excluded of tsconfig.json. It will give the capability to display an error dialog when user wishes to compile a ts file which is excluded by tsconfig.json
 * in some case, tsserver `compileOnSaveAffectedFileList` returns *.d.ts files (see ttps://github.com/angelozerr/typescript.java/issues/190#issuecomment-317876026) those *.d.ts files must be ignored for compilation.

For `compileOnSaveEmitFile`:

 * the reponse `compileOnSaveEmitFile` should return diagnostics errors. I had to call the two tsserver commands `syntacticDiagnosticsSync` and `semantacticDiagnosticsSync` after the  call of `compileOnSaveEmitFile` to display errors in the Eclipse "Problem View"
 * the reponse `compileOnSaveEmitFile` should return the emited files path (js and *.js.map). In Eclipse case it's very helpful because I could refresh the files.
Repository: go
Issue: all: inconsistent hyphenation
Labels: Documentation,NeedsInvestigation

Grepping for `//.*[a-zA-Z]-\n` (see [CL 53510](https://go.dev/cl/53510)) yields some examples of phrases that are inconsistently hyphenated in the tree. Two prominent ones:

* "floating-point" vs "floating point"
* "run-time" vs "run time"

Low priority, but we should pick one and use it consistently. (And also do a more targeted grep to find other hyphenation inconsistencies.)
Repository: opencv
Issue: Please produce current C++ NuGet package for OpenCV
Labels: feature,category: build/install

To whom it may concern,

Please produce a current C++ NuGet package for OpenCV.  This has become the standard way to deploy software libraries on Windows.

Unfortunately, since there is no official current package, many non-official packages have arisen, causing confusion.  The two I have found to work are:

https://www.nuget.org/packages/OpenCV/2.4.11/

Which seems to be the most downloaded one and works great, but is using OpenCV 2.4.11, which is quite a bit out of date by now.  The only other one I have found to work is:

https://www.nuget.org/packages/opencv3.1/1.0.0

Which also works great, but is clearly labeled not official and is using OpenCV 3.1 rather than the current 3.2, and also does not seem to work with the recently released Visual Studio 2017.

I realize this could be a substantial undertaking, however a current C++ NuGet package for OpenCV would be greatly appreciated by all Windows OpenCV users.
Repository: youtube-dl
Issue: Add support for “danmaku” subtitles on nicovideo.jp
Labels: request

### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2017.08.06*. If it's not, read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2017.08.06**

### Before submitting an *issue* make sure you have:
- [x] At least skimmed through the [README](https://github.com/rg3/youtube-dl/blob/master/README.md), **most notably** the [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones

### What is the purpose of your *issue*?
- [ ] Bug report (encountered problems with youtube-dl)
- [ ] Site support request (request for adding support for a new site)
- [x] Feature request (request for a new functionality)
- [ ] Question
- [ ] Other

---

### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):
- Single video: http://nicovideo.jp/watch/sm10215922

---

### Description of your *issue*, suggested solution and other information

Most videos on nicovideo.jp contain an XML file representing comments from users, meant to be rendered on top of the video in a similar way as subtitles.

youtube-dl should expose a way to retrieve this track, either to then [convert it to ass](https://github.com/m13253/danmaku2ass), or to (be made available to video players](https://github.com/mpv-player/mpv/issues/4722).
Repository: flutter
Issue: Customizable BottomNavigationBar height
Labels: c: new feature,framework,f: material design,P2,team-design,triaged-design

Although it implements the material design spec, plenty of apps do make the BottomNavigationBar shorter (Youtube, Facebook, Keep, etc).   It would be nice to have this functionality, although it is not critical to our app.
Repository: go
Issue: x/tools/cmd/eg: clean imports after refactoring
Labels: Tools,Refactoring

tl;dr: While new imports are correctly added by the refactoring, imports that are made obsolete still exist unnecessarily (and therefore __break compilation__). We need to run something like `goimports` after performing the eg transformation.

### What version of Go are you using (`go version`)?
`go version go1.8.1 darwin/amd64`

### What operating system and processor architecture are you using (`go env`)?
darwin/amd64

### What did you do?

```bash
Leos-MBP:~ LeoRudberg$ go build golang.org/x/tools/cmd/eg
Leos-MBP:~ LeoRudberg$ go version
go version go1.8.1 darwin/amd64
Leos-MBP:~ LeoRudberg$ cat test-eg/template.go 
package template

import (
	"errors"
	"fmt"
)

func before(s string) error { return fmt.Errorf("%s", s) }
func after(s string) error  { return errors.New(s) }
Leos-MBP:~ LeoRudberg$ cat test-eg/example.go 
package example

import (
	"fmt"
)

func Whoops(s string) error {
	return fmt.Errorf("%s", "Whoops: "+s)
}
Leos-MBP:~ LeoRudberg$ eg -t test-eg/template.go test-eg/example.go 
=== test-eg/example.go (1 matches)
package example

import (
	"fmt"
	"errors"
)

func Whoops(s string) error {
	return errors.New("Whoops: " + s)
}
```

### What did you expect to see?
The `import` section for the result should only contain `errors`.

### What did you see instead?
The `import` section contained `errors`, but also `fmt` unnecessarily.
Repository: java-design-patterns
Issue: Robot pattern
Labels: epic: pattern,type: feature

**Description:**
The Robot design pattern is an advanced testing pattern commonly used in Android development to simplify and streamline UI testing. The core idea is to encapsulate the interactions with the UI components in a separate class, referred to as a "Robot," which then exposes high-level methods for test scripts to use. This promotes clean, readable, and maintainable test code by abstracting away the detailed interactions with the UI.

**Main elements of the pattern:**
1. **Robot Class**: This class handles UI interactions. It encapsulates the operations that can be performed on the UI, such as clicking buttons, entering text, or verifying text visibility.
2. **Test Class**: This class uses the Robot class to perform tests. It calls the high-level methods provided by the Robot class, making the test code cleaner and more readable.
3. **Fluent Interface**: The Robot methods are often designed to return the Robot itself, enabling method chaining for more concise and expressive tests.

**References:**
1. [Robot Design Pattern Overview](https://academy.realm.io/posts/kau-jake-wharton-testing-robots/)
2. [Java Design Patterns Contribution Guidelines](https://github.com/iluwatar/java-design-patterns/wiki)

**Acceptance Criteria:**
1. A Robot class is implemented encapsulating UI interactions.
2. A sample test class is provided demonstrating the use of the Robot class.
3. Documentation is updated to include a description of the Robot design pattern and usage examples.
Repository: opencv
Issue: How to set key frame interval
Labels: feature,category: videoio

<!--
If you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses.
If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).

This is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.
-->

##### System information (version)
<!-- Example
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
-->

- OpenCV => 3.1
- Operating System / Platform => mac
- Compiler => gcc+

##### Detailed description

<!-- your description -->

##### 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
-->

I use some picture to generate a video, and i want to set keyframe just for some reason. But i can not find any methods to set or change keyframe when i generate the video. So is there any way to do that, or just maybe impossible?
Repository: pytorch
Issue: DataParallel is not compatible with pack_padded_sequence
Labels: awaiting response (this tag is deprecated),triaged,module: data parallel

If the model has `pack_padded_sequence`, then with `DataParallel ` module it will output error `"ValueError: lengths array has incorrect size"`
Repository: nvm
Issue: I can't use nvm install node, help me
Labels: installing node,needs followup

I can't use nvm install node, help me


error : 
```sh
Downloading and installing node v8.2.1...
Local cache found: $NVM_DIR/.cache/bin/node-v8.2.1-linux-x64/node-v8.2.1-linux-x64.tar.xz
Computing checksum with sha256sum
Checksums do not match: 'f74e70e2c3c6d96e887286e605480f64487cd543f4a5988b29f491b32f1256c8' found, 'abcddeb95cc4465953b1edb0922d20e9b0b3de83688fc8150b863117032a978a' expected.
Checksum check failed!
Removing the broken local cache...
Downloading https://npm.taobao.org/mirrors/node/v8.2.1/node-v8.2.1-linux-x64.tar.xz...
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums do not match: 'f74e70e2c3c6d96e887286e605480f64487cd543f4a5988b29f491b32f1256c8' found, 'abcddeb95cc4465953b1edb0922d20e9b0b3de83688fc8150b863117032a978a' expected.
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Binary download failed, trying source.
Additional options while compiling:  8
Local cache found: $NVM_DIR/.cache/src/node-v8.2.1/node-v8.2.1.tar.xz
Computing checksum with sha256sum
Checksums do not match: '9ceab53e0b7dd9771d7ea799d8599d2f1711fe39230692651ec99190d9f8e956' found, '02c46d8914540eea73d0ad33bf9f371a28aa0dc8c5d740948491fef044ad8c8b' expected.
Checksum check failed!
Removing the broken local cache...
Downloading https://npm.taobao.org/mirrors/node/v8.2.1/node-v8.2.1.tar.xz...
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums do not match: '9ceab53e0b7dd9771d7ea799d8599d2f1711fe39230692651ec99190d9f8e956' found, '02c46d8914540eea73d0ad33bf9f371a28aa0dc8c5d740948491fef044ad8c8b' expected.
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
nvm: install v8.2.1 failed!

```
Repository: vscode
Issue: Provide an API to show hover-like tooltip
Labels: feature-request,editor-api

Please provide an API to trigger a hover-like tooltip.

Use case:
In my language extension, I want to let users know the type of the expression by pressing a combination of keys. This is similar to what hover does but:
- It is triggered by pressing a shortcut
- When the same shortcut is pressed again I want to widen the scope of the expression and show the type of a "bigger" expression, etc.

Being able to show custom tooltips is also useful in different scenarios for providing extra information about the code.

- VSCode Version: 1.14.2
- OS Version: MacOS
Repository: godot
Issue: Scripts not added retroactively to instanced inherited scenes open in editor
Labels: bug,topic:core,confirmed

_**bugsquad edit**_: reproduction steps which were used to confirm the issue are here: https://github.com/godotengine/godot/issues/10156#issuecomment-320997658 

-----------

**Operating system or device - Godot version:**
OS: Windows
Godot Version: 3.0 Alpha Build 1

**Issue description:**
I have found a problem where when I add a script to a scene, all nodes that instance that scene don't get the script.

**Steps to reproduce:**
1. Make a scene that you will instance.
2. Instance that scene into the scene your game will run.
3. Add a script to the original scene.
Repository: go
Issue: x/net/http2: bogus greeting when providing TLSClientConfig
Labels: NeedsFix

### What version of Go are you using (`go version`)?

go version go1.9beta2 darwin/amd64

### What operating system and processor architecture are you using (`go env`)?

```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jackson/"
GORACE=""
GOROOT="/Users/jackson/sdk/go1.9beta2"
GOTOOLDIR="/Users/jackson/sdk/go1.9beta2/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/df/tll2ynl125z01jxszx2fq2nw0000gn/T/go-build293310413=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config
```

### What did you do?

Download https://gist.github.com/jbowens/3e1f7443d6cb1bf8071f4aea2397c4b1

go1.9beta2 run main.go

### What did you expect to see?

The program should exit without panicking.

### What did you see instead?

```
2017/08/07 18:17:01 http2: server: error reading preface from client [::1]:59163: bogus greeting "POST / HTTP/1.1\r\nHost: l"
panic: Post https://localhost:8080/: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x00\x00\x18\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x04\x00\x10\x00\x00"
```

From my understanding, the presence of TLSClientConfig should cause the client [to not use http2](https://golang.org/src/net/http/transport.go#L213), but it appears to negotiate to http2 anyways.
Repository: thefuck
Issue: Can we make thefuck learn alias + function in bash?
Labels: enhancement,help wanted,hacktoberfest,HackIllinois

i have this function in .bash_profile
```
quickpush() {
  git add .
  git commit -m "$@"
  echo "🍏 commit message: [$@]"
  git push
  echo 🚀  quick push success... or not.
}
```
when i use it in terminal (mac)
```
$: quickpus hello world // => suggest quickpush hello world
```
can we auto suggest like that for all function in bash or need modify fuck for each custom function?
Repository: vscode
Issue: SCM - Support altCommand for SCM resources
Labels: help wanted,feature-request,scm

Feature suggestion. Implement some keyboard button+Click combination on a file in Git Sidebar to `Open File` (not `Open Change`, which is being used by default by just clicking on a file). For example: Ctrl+Click (Command+Click), Option+Click (Alt+Click) or something like that.

Make a life a bit easier for a user when he tries to open files, which has been already edited by him, for further edition. :)
Repository: angular
Issue: Http ResponseType cannot be set
Labels: feature,area: common/http,feature: under consideration

## I'm submitting a...
<!-- Check one of the following options with "x" -->
<pre><code>
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre>

## Current behavior
Response type cannot be set for HttpClient methods.

```
        const options = {headers: headers, params: params, responseType: 'text'};

        return this.http.get(url, options).share();
```

Would show an error 

```        
  Types of property 'responseType' are incompatible.
    Type 'string' is not assignable to type '"json"'.
```

## Expected behavior
It is expected that the response type should be exported like 
```
export type ResponseType = 'arraybuffer' | 'blob' | 'json' | 'text';;
```

And one would be able to set it using this type. Otherwise the type cannot be changed.

## Environment

Angular version: 4.1.1 and still there in 5.0.0-beta.2
as seen here: https://github.com/angular/angular/blob/master/packages/common/http/src/client.ts
Repository: opencv
Issue: Use imported targets for linking to CUDA
Labels: feature,category: build/install,category: gpu/cuda (contrib)

In https://github.com/opencv/opencv/pull/3893 CUDA targets where nicely marked as imported targets, but this change seems to be lost again over time. To repeat from original pull request moving to imported targets has two major advantages:
* It removes the need to use link_directories, which doesn't guarantee that the libraries from the supplied directory will be used (there may be libraries with the same names earlier in the search path).
* It removes the need to put -L entries into OPENCV_LINKER_LIBS. This variable is used with target_link_libraries, where such entries are treated as linker flags, so doing this is unportable. I remove the support for -L entries from OpenCVGenPkgconfig.cmake, as well, to discourage adding them in the future.

Would it be an option to get this applied again for newer OpenCV versions? If yes I could prepare a pull request accordingly.
Repository: opencv
Issue: Nested parallel_for_ no longer parallelized
Labels: category: core,RFC

##### System information (version)
<!-- Example
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
-->

- OpenCV => 3.3.0
- Operating System / Platform => All
- Compiler => All

##### Detailed description

Commit 006966e6295f44e48ade066d4eb56826439680fb breaks nesting of parallell_for_
If you have parallel loops nested within others then parallelization is now disabled for the nested regions.

##### Steps to reproduce

1. Search Internet for your preferred nested parallel_for_ example. There are plenty.
2. Put a breakpoint on the nested loop

Results:
1. The range parameter provided to the nested loop will always be for the full range of the loop
2. CPU utilization is much lower than earlier versions of OpenCV. Ie. slower performance
Repository: godot
Issue: Instances of inner class can't be load back with ConfigFile
Labels: bug,topic:core,confirmed

**Operating system or device - Godot version:**
Godot 3.0 alpha1 on Windows 10

**Issue description:**
<!-- What happened, and what was expected. -->

There is a class named `MyClass.gd`. Instance of this class can be save and load back with `ConfigFile` but something wrong with the member `subObj ` which is an Instance of the inner class `SubClass`.

```gdscript
var name = "boy"
var age = 2
var subObj = SubClass.new()

class SubClass:
    var sex = "male"
```

**Steps to reproduce:**
1. Download the project below
2. Click "Save" button to save an instance of `MyClass` with `ConfigFile`
3. Click "Load" button to load the saved instance back from the saved file.

**Link to minimal example project:**
[ConfigFileBug.zip](https://github.com/godotengine/godot/files/1210159/ConfigFileBug.zip)
Repository: neovim
Issue: API: timeout for blocking requests
Labels: enhancement,api,channels-rpc

<!-- Before reporting: search existing issues and check the FAQ. -->

- `nvim --version`: 0.2.0
- Vim (version: ) behaves differently? N/A
- Operating system/version: macOS Sierra 10.12.1
- Terminal name/version: a remote UI talking to a --headless nvim through the Nvim API
- `$TERM`: N/A

### Steps to reproduce using `nvim -u NORC`

Run:
    
    NVIM_LISTEN_ADDRESS=... nvim -u NORC --headless 

Connect to that address, and issue an API call:

    nvim_command("edit README.md")

Kill the nvim process and restart it.
Reconnect and issue the same command.

Observe that nvim prints out a swap file recovery dialog with a prompt to nvim's stdout:

```
Found a swap file by the name ...
...
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: 
```

**Note**: Changing `nvim_command` to `nvim_command_output` exposes the same behaviour.

### Actual behaviour

The API call blocks and never returns, neither success nor failure.
Moreover, no API calls work from this point.
For example, calling `nvim_command("recover")` or `nvim_command("help recovery")` blocks and doesn't return any result either, and has no effect on nvim.

### Expected behaviour

`nvim_command` must not block. It should return immediately an error reply explaining that a recovery decision is required. Until the decision is taken, other commands like `nvim_command("help recovery")` should be processed normally.
Repository: rust
Issue: Static library linkage error
Labels: A-linkage,C-bug

This issue was previously submitted to https://github.com/rust-lang/cargo/issues/4351, which contains the description and the reproduction steps.

Basically I suspect that rustc is not passing the static libraries in the correct order to the linker.