sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: opencv
Issue: std::tuple errors when Building OpenCV (Main Branch) for Microsoft VS 2015 (x64)
Labels: bug,priority: low,category: build/install,category: gpu/cuda (contrib)

- OpenCV version: 3.x main branch
- Host OS: Windows 10
- Compiler & CMake: Visual Studio 2015 (update 1), Cuda 8RC & CMake 3.5

A large number of compiler errors related to std::tuple in lots of opencv_perf_cudaxxx... e.g opencv_perf_cudaimproc, opencv_perf_cudaarithm, opencv_perf_cudastereo, opencv_perf_cudalegacy, 

```
Severity    Code    Description File    Project Line    Suppression State
Error   C2610   'std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth>::tuple(const std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth> &)': is not a special member function which can be defaulted (compiling source file D:\Data\My Documents\GitHub\opencv\modules\cudaarithm\perf\perf_element_operations.cpp) C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple    opencv_perf_cudaarithm  328 

```

```
Severity    Code    Description File    Project Line    Suppression State
Error   C2535   'std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth,perf::`anonymous-namespace'::MatCn> &std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth,perf::`anonymous-namespace'::MatCn>::operator =(const std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth,perf::`anonymous-namespace'::MatCn> &)': member function already defined or declared (compiling source file D:\Data\My Documents\GitHub\opencv\modules\cudawarping\perf\perf_warping.cpp) C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple    opencv_perf_cudawarping 463 

```
Repository: neovim
Issue: Errorformat improvement
Labels: enhancement

This is fundamentally a proposed enhancement.

The Vim `compiler/:make` system is a real boon to productivity that I've only recently started to really explore. 

One of its shortcomings are the limitations of the 'errorformat' system. The docs hint at them with the suggestion of adding a filter to the 'makeprg' setting to product "formattable" output. The problem there is that the filter conceals the error code of the make program, which can be useful for other tools.

What I'm proposing is an 'errorfunc' setting, that would consume the output of 'makeprg' as a list of lines and be directly responsible for populating the appropriate quickfix/location list. The default implementation would examine the 'errorformat' setting and behave exactly as the current system does.
Repository: youtube-dl
Issue: Youtube storyboard
Labels: request

### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.06.23.1_. 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 **2016.06.23.1**
### Before submitting an _issue_ make sure you have:
- [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [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)
- [x] Question
- [ ] Other

---

Hello guys! Is there any way to get "storyboard" for youtube videos? It is the image that popus when you hovering video progressbar (time preview, not a thumbnail). Cannot find any option related to this, also there is no such info in json dump.

Storyborad links looks like "https://i9.ytimg.com/sb/quxmiWngllo/storyboard3_L2/M0.jpg?sigh=_m2B-EynQsrHPLsZ_-q1OJuV8Sw".
Repository: go
Issue: x/tools/cmd/goyacc: When growing the stack, save it in the parser
Labels: Tools

1. What version of Go are you using (`go version`)?

```
go version go1.6.2 windows/amd64
```
1. What operating system and processor architecture are you using (`go env`)?

```
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\rillig\go
set GORACE=
set GOROOT=C:\Program Files (x86)\Go1.6.2
set GOTOOLDIR=C:\Program Files (x86)\Go1.6.2\pkg\tool\windows_amd64
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
```
1. What did you do?

I wrote a Yacc parser for parsing shell commands into an AST.
I accessed the resulting AST via `yyParserImpl.stack[1]`.
For small examples, this worked well.
More complicated examples resulted in `nil` being on the stack.
1. What did you expect to see?

`yyParserImpl.stack[1]` should always contain the result, no matter how deeply nested the grammar is.
1. What did you see instead?

When the Yacc parser needs more stack, it grows it. The code is after the `yystack:` label. This new stack is then local to the current function, and it is not written back into the parser. This means that calling `Parse` multiple times will create unnecessary copies of the stack. And, more importantly, accessing the actual stack becomes impossible.

References: http://stackoverflow.com/questions/36822702/accessing-result-of-a-golang-yacc-generated-parser
Repository: vscode
Issue: additional options for `editor.selectionHighlight` 
Labels: feature-request,editor-contrib

- VSCode Version: 1.2.1
- OS Version: OS X 10.11.4

Having the current word highlighted is convenient, but too distracting when moving around and accidentally leaving the cursor on a keyword (e.g. `let .. in` in OCaml).
Turning it off, one has to fall back to search and lose the previous results.

Maybe it would make sense to introduce options to:
1. only highlight if a whole word is selected (i.e. e.g. with a double click)
2. only highlight non-keyword words
3. only highlight identifiers
Repository: rust
Issue: Type mismatch between associated type and concrete type which are the same type.
Labels: A-type-system,A-trait-system,E-needs-test,T-compiler,C-bug,T-types

Trying to build the following code:

``` rust
trait WithLifetime<'a> {
    type Type;
}

struct Foo;

enum FooRef {}

impl<'a> WithLifetime<'a> for FooRef {
    type Type = &'a Foo;
}

fn wub<T, F>(f: F)
    where T: for<'a> WithLifetime<'a>,
          F: for<'a> FnOnce(&'a Foo) -> <T as WithLifetime<'a>>::Type
{
}

fn main() {
    wub::<FooRef, _>(|foo| foo)
}
```

Gives the error:

```
foo.rs:20:28: 20:31 error: mismatched types:
 expected `<FooRef as WithLifetime<'a>>::Type`,
    found `&'a Foo`
(expected associated type,
    found &-ptr) [E0308]
foo.rs:20     wub::<FooRef, _>(|foo| foo)
                                     ^~~
```

However `<FooRef as WithLifetime<'a>>::Type` and `&'a Foo` are the same type. And the compiler should be able to see that.
Repository: TypeScript
Issue: Namespaces not merged from UMD globals
Labels: Bug

**a.d.ts**

``` ts
export = ns;

export as namespace ns;

declare namespace ns {
  export var x: number;
  export interface IFoo { }
}
```

**b.d.ts**

``` ts
declare namespace ns.something {
  export var p: ns.IFoo;
}
```

> `tsc a.d.ts b.d.ts`

Expected: No error
Actual: Error that `ns` has no member `IFoo` (because the `ns` UMD global gets shadowed rather than merged)
Repository: flutter
Issue: flutter test --coverage and flutter test --watch
Labels: a: tests,c: new feature,tool,P3,team-tool,triaged-tool

- [ ] `flutter test --coverage` should write:
  - [x] two identical files, a base file and a coverage file,
  - [ ] plus a file that lists the last modification times of all the test files.
- [ ] `flutter test --watch` should watch the file system of the current package.
  - [ ] If a file under `lib/` changes, it should rerun all the tests and create a new base file and timestamp file.
  - [ ] If a file under 'test/' changes, it should rerun all the tests with timestamps that indicate the file changed since the base file was written.
  - [ ] after `flutter test --watch` runs some tests, it should merge the new coverage with the base file and overwrite the coverage file.
- [ ] We should document the caveats here:
  - [ ] Tests that have expectations or that depend on non-test files won't be run when those files change.
  - [ ] Reducing coverage won't be noticed.
  - [ ] Coverage is per-line and hitting any expression on the line counts as covering the line.
Repository: angular
Issue: False-Positive: Parser Error: Missing expected } at the end of the expression
Labels: type: bug/fix,workaround1: obvious,freq1: low,area: compiler,state: confirmed,core: basic template syntax,core: binding & interpolation,P3,compiler: parser

**I'm submitting a ...**  (check one with "x")

```
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
```
I have written a custom pipe (translate). The pipe can be parameterized with an object, e.g.: 
```
<h3 id="">{{KEY | translate:{'len': '10'}}}</h3>
```

**Current behavior**
Notice that all all opening curly braces were properly closed. Yet, the compiler produces the following template parse error

```
Uncaught (in promise): Template parse errors:
Parser Error: Missing expected } at the end of the expression [{{'KEY' | translate:{'arg1': '10'}}}] in HomeComponent@0:10 ("<h3 id="">[ERROR ->]{{'KEY' | translate:{'arg1': '10'}}}</h3>): HomeComponent@0:10 Error: Uncaught (in promise): Template parse errors:(…)ConsoleWriter.write @ ConsoleWriter.js:43Rx_1.Subscriber.create._this.write.sourceHint @ ConsoleWriter.js:18SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88MapSubscriber._next @ map.js:82Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77message @ LogService.js:47error @ LogService.js:63ExceptionHandler.call @ ExceptionHandler.js:23(anonymous function) @ core.umd.js:9704schedulerFn @ core.umd.js:6651SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77EventEmitter.emit @ core.umd.js:6639NgZone._zoneImpl.NgZoneImpl.onError @ core.umd.js:9153NgZoneImpl.inner.inner.fork.onHandleError @ core.umd.js:9025ZoneDelegate.handleError @ zone.js:327Zone.runGuarded @ zone.js:233_loop_1 @ zone.js:487drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426
```

**Bug**
In contrast to what the message tells, all opening curly braces have been properly closed.

**Workaround**
The bug can be circumvented by putting a space in front of the closing curly braces:

```
<h3 id="">{{KEY | translate:{'len': '10'} }}</h3>
                                        ^^^
```

**Expected/desired behavior**

Omitting the space character should not cause a template parse error. 

**Reproduction**
- see also [comment below](https://github.com/angular/angular/issues/9571#issuecomment-625611333) from @pkozlowski-opensource 

**Please tell us about your environment:**
- **Angular version:** 2.0.0-rc.3
- **Browser:** 
  Chrome 49.0.2623.75 m 
- **Language:** [TypeScript 1.8.10] 

I don't remember getting this error in Beta releases.
Repository: rust
Issue: Improve documentation search fuzziness
Labels: T-rustdoc,C-feature-request,A-rustdoc-search

I'd love to see better searching. [~Besides the lack of search for the book itself,~](https://github.com/rust-lang/rust/issues/22786) Search filters out some characters without telling you; e.g. [`C++`](https://doc.rust-lang.org/nightly/std/?search=C%2B%2B) and [`[Unstable]`](https://doc.rust-lang.org/nightly/std/?search=%5Bunstable%5D) are reasonable search terms, but the first gives false positives by using `C` and the second isn't indexed?

Related: the [search box](http://doc.rust-lang.org/nightly/std/) says that `?` gives more options, but it just lists everything like a wildcard.
Repository: rust
Issue: Package gdb with Rust
Labels: T-infra,T-dev-tools,C-feature-request

gdb has first-class support for Rust now, and two active maintainers (@tromey @Manishearth). Let's package it with Rust. This will have lots of advantages:
- All major platforms will get the same debugging experience
- Debuging will be more reliable because users have the exact debugger we've actually tested with our toolchain
- By controlling the producer and consumer of our DWARF we can evolve it quickly, move to Rust-specific DWARF

Steps:
- Set up a fork in rust-lang-nursery
- Modify it to produce a gdb with a Rust-specific name
- Set up CI and packaging for gdb
- Modify rust-buildbot / rust-packaging to add gdb to the manifest as an optional component
- Figure out the best user experience for obtaining gdb via rustup

cc @michaelwoerister  @rust-lang/tools What you think?
Repository: angular
Issue: event.stopImmediatePropagation() called from listeners not working
Labels: type: bug/fix,freq1: low,area: core,core: event listeners,P5

Hello, I have an issue with `event.stopImmediatePropagation()`
I have a component as below

```
@Component({
    selector: 'my-component',
    template: '<button><ng-content></ng-content></button>'
})
export class MyComponent { 
    @HostListener('click', ['$event'])
    onClick(event: Event){ console.log('stopImmediatePropagation'); event.stopImmediatePropagation(); }
}
```

And I use it like that

```
<my-component (click)="clicked()">Hello Angular 2</my-component>
```

As you see, I have bound 2 handlers `onClick` & `clicked` to same `click` event
I expect that after `onClick` handler execute, it should stop other ones.
But in fact, 2 these handlers always execute, `event.stopImmediatePropagation()` doesn't work for me

Beside that, seemly, `clicked` handler always execute first. 
It mean that I have no chance to stop propagation by using `HostListener` as I do above
Should event handlers have priority for execution ? or have any idea for this case ?
Repository: rust
Issue: Linker error for cdylib with panic=abort (Undefined symbol "_rust_eh_personality_catch")
Labels: A-linkage,C-bug

If I attempt to compile a crate as a cdylib with panic=abort, I get the following error:

```
error: linking with `cc` failed: exit code: 1
note: Undefined symbols for architecture x86_64:
  "_rust_eh_personality_catch", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

I'm using `rustc 1.11.0-nightly (ad7fe6521 2016-06-23)` on OSX 10.11.5.

I can repro by compiling an empty lib.rs with `rustc lib.rs --crate-type cdylib -C panic=abort` or with a Cargo.toml like the following:

``` toml
[package]
name = "foo"
version = "0.0.0"

[lib]
crate-type = ["cdylib"]

[profile.release]
panic = "abort"
```
Repository: neovim
Issue: Add register for the replace pattern ( ~ in sub-replace-special)
Labels: enhancement

I'd like a way to access the replace pattern from the last :substitute command.

At the moment there is no clean way (or at least I can't find one) to access the replace pattern in vimL.
This means that if you want to run a :substitute command in vimL, you can't preserve the behaviour of shortcuts like `&`, `g&`, `:&`, `:~`, and `:s` .
It is possible -- but via an ugly hack of using `s/^/~/`  to find out what the original pattern is, and then `exe 's/^/'oldpattern'/'`  to set it back after having done work.

I would like a register to access this state, and some way to just avoid modifying the value.
The modification could be via adding a `:keepreplace` command, or modifying `:keeppatterns` to maintain the replace pattern as well as the search pattern (as suggested by BjrnLinseGitter[ on IRC) whether via a bang option or by default.

A related/alternate suggestion: I'd like there to be a general "save user state" command that takes a blacklist of the things a function/command wants to modify rather than having to remember to keep the state of many separate things (cursor position, window view, buffer, marks, registers, patterns, and probably many other things I've missed) most of which change implicitly with many actions.
I think this would make plugin-writing a much less surprise-prone task.
Repository: angular
Issue: feat(forms) support creating arrays with the template-driven-forms approach (NgModelArray?)
Labels: feature,workaround1: obvious,freq2: medium,area: forms,feature: under consideration

**I'm submitting a ...**  (check one with "x")

```
[ ] bug report
[x ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
```

**Current behavior**

Currently we are able to do:

``` html
 <div ngModelGroup="assignee">
    <div class="form-group">
      <label>Name</label>
      <input type="text" class="form-control"
             name="name" ngModel/>
    </div>
    <div class="form-group">
      <label>E-Mail</label>
      <input type="text" class="form-control"
             name="email" ngModel/>
    </div>
  </div>
```

`form.value` would then have an object "assignee" with the fields "name" and "email".

Currently there seems to be no way to create Arrays with a pure template-driven approach unless using two-way databinding. 

**Expected/desired behavior**

What I would assume would be something like:

``` html
  <div ngModelArray="tags">
    <div *ngFor="let tag of form.value.tags; let i = index">
        <div ngModelGroup="i">
          <input class="form-control"
                 name="label"
                 ngModel
                 minlength="3">
         </div>
    </div>
  </div>
```

To create the structure

```
{ tags: [{label: "important"}, {label: "difficult"}]}
```

**What is the motivation / use case for changing the behavior?**

Being able to use the template-driven forms approach to create arrays without two-way databinding

**Please tell us about your environment:**
- **Angular version:** 2.0.0-rc.3
- **Browser:** [chrome] 
- **Language:** [TypeScript]
Repository: go
Issue: cmd/compile: go1.7beta2 performance regression (floats and arrays)
Labels: Performance,NeedsInvestigation,compiler/runtime

Please answer these questions before submitting your issue. Thanks!
1. What version of Go are you using (`go version`)?

```
go version go1.6.2 linux/amd64
go version go1.7beta2 linux/amd64
```
1. What operating system and processor architecture are you using (`go env`)?

```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/taru/go"
GORACE=""
GOROOT="/usr/lib/go-1.6"
GOTOOLDIR="/usr/lib/go-1.6/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
```

```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/taru/go"
GORACE=""
GOROOT="/tmp/go"
GOTOOLDIR="/tmp/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build453968611=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
```
1. What did you do?

Try some float32 heavy code with arrays on 1.7beta2, saw a problem and reduced it to a self contained example:

go get [github.com/taruti/float_degradation](https://github.com/taruti/float_degradation)
cd ...
go test -test.bench=.

Or fancier
while date; do go test -test.bench=. >> /tmp/old.txt; GOROOT=/tmp/go /tmp/go/bin/go test -test.bench=. >> /tmp/new.txt; done
1. What did you expect to see?

1.7beta2 producing as good or better code than 1.6
1. What did you see instead?

```
benchcmp /tmp/old.txt /tmp/new.txt 
benchmark                 old ns/op     new ns/op     delta
BenchmarkOptimize16-2     33310269      41841404      +25.61%
BenchmarkOptimize16-2     33337835      41889202      +25.65%
BenchmarkOptimize16-2     33341432      42080975      +26.21%
BenchmarkOptimize16-2     33280481      41913719      +25.94%
BenchmarkOptimize16-2     33236073      41971975      +26.28%
BenchmarkOptimize16-2     33274075      41866159      +25.82%
```
Repository: nvm
Issue: NVM doesn't create a ~/.bash_profile file if it doesn't exist
Labels: OS: Mac OS,installing nvm: profile detection

# Issue

I just installed NVM on a brand new environment. This environment didn't have a `~/.bash_profile` file.
It seems that the NVM install script wouldn't write anything into `~/.bash_profile` until I manually create the file.
# Environment
- Mac OS 10.11.5
- Bash 3.2.57
Repository: kubernetes
Issue: manual conversion should call autogenerated ones first
Labels: sig/storage,sig/api-machinery,lifecycle/frozen

Manually-written conversions should be special-cases ONLY.  They should all call the autoConvert... form first.  For example: Convert_batch_JobSpec_To_v1_JobSpec

We have a LOT of manual conversion code, and anything that doesn't call autoConvert first is suspect.
Repository: opencv
Issue: Semi Global Block Matching artifacts on high resolution images
Labels: bug,category: calib3d

### Semi Global Block Matching artifacts

The semi global block matching method seems to show artifacts on high resolution images with block sizes > 23.
## How to reproduce:

```
cpp-example-stereo_match.exe t00_a1.png t00_a2.png --max-disparity=288 --blocksize=25 --algorithm=sgbm
```
## How does it look:
## image size=2960x1923, block size=25

![image](https://cloud.githubusercontent.com/assets/20163651/16374126/66043bf4-3c55-11e6-8205-75dd69fc7515.png)

The input images were from the Middlebury data set
## left image

![t00_a1](https://cloud.githubusercontent.com/assets/20163651/16374452/d441ca90-3c56-11e6-843b-165be079d9a9.png)
## right image

![t00_a2](https://cloud.githubusercontent.com/assets/20163651/16374470/e778dfa4-3c56-11e6-9790-5daedd59c1d4.png)
### Detailed description

The artifacts are vertical lines on the disparity map output (see attached PDF).

[160623_OMa_high_resolution_depth_estimation.pdf](https://github.com/Itseez/opencv/files/334414/160623_OMa_high_resolution_depth_estimation.pdf)
### Current system
- OpenCV version: 3.1
- Windows 7
- Visual Studio 2015
## Build Script:

```
SET INSTALL_DIR=c:\work\lib\external
SET OPENCV_INSTALL_DIR=build_vs2015

ECHO INSTALL_DIR=%INSTALL_DIR%
CD %INSTALL_DIR%

SET PYTHON3=C:\Python35
SET PATH=%PYTHON3%;%PATH%;
echo %PATH%

git clone https://github.com/Itseez/opencv.git
git clone https://github.com/Itseez/opencv_contrib.git

CD opencv

cmake -H. -B%OPENCV_INSTALL_DIR% -G "Visual Studio 14 2015 Win64" -    DOPENCV_EXTRA_MODULES_PATH="%INSTALL_DIR%\opencv_contrib\modules" -DBUILD_EXAMPLES=yes
cmake --build ./%OPENCV_INSTALL_DIR%  --target ALL_BUILD --config Release
cmake --build ./%OPENCV_INSTALL_DIR%  --target ALL_BUILD --config Debug
cmake --build ./%OPENCV_INSTALL_DIR%  --target INSTALL --config Release
cmake --build ./%OPENCV_INSTALL_DIR%  --target INSTALL --config Debug
```
### Part of the OpenCV library you got the issue?
## \- calib3d
Repository: rust
Issue: Cause a debug break when a panic occurs on Windows.
Labels: O-windows,C-feature-accepted,T-libs

In order to aid debugging it would be really useful if Rust would trigger a debug break whenever a panic occurs on Windows. Ideally using the `__debugbreak` intrinsic which is equivalent to `int 3` on x86 platforms.