sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: cmd/gofmt: Anonymous field could be placed in the 2nd column of a struct
Labels: NeedsInvestigation

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

`go version go1.7 windows/amd64`
### 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:\PROJECTS\Go
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
```
### What did you do?

![gofmt1](https://cloud.githubusercontent.com/assets/142650/18272045/79bf1ae6-742d-11e6-9ad4-ff7441d43445.png)
### What did you expect to see?

![gofmt2](https://cloud.githubusercontent.com/assets/142650/18272088/c36cd5d4-742d-11e6-9a4e-5ba93a088c6b.png)
### What did you see instead?

![gofmt1](https://cloud.githubusercontent.com/assets/142650/18272045/79bf1ae6-742d-11e6-9ad4-ff7441d43445.png)
Repository: flutter
Issue: DropDown have the ghost of a SizeObserver inside them
Labels: framework,f: material design,c: performance,perf: speed,P2,team-design,triaged-design

The way we handle the initial scroll offset means that we take two frames to render a dropdown. We should be able to compute the scroll offset at layout time and set it then, before paint, rather than requiring a loop through build via scrollTo().

See also https://github.com/flutter/flutter/issues/5750 about making DropDown lazy.
Repository: opencv
Issue: HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
Labels: incomplete

<!--
i am running code for face detection and i got this error : 
HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
Traceback (most recent call last):
  File "web.py", line 16, in <module>
    faces = face_cascade.detectMultiScale(gray, 1.3

find the attachment 
-->

[threading.tar.gz](https://github.com/opencv/opencv/files/458410/threading.tar.gz)
Repository: go
Issue: x/exp/shiny: value of event/key.Event.Rune inconsistent across platforms while control key is pressed
Labels: NeedsDecision

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

go version go1.7 linux/amd64
go version go1.7 windows/amd64
### What did you do?

Open a shiny window, log key events received, press ctrl+C on the window.
### What did you expect to see?

I expected the value of event/key.Event.Rune to be the same on linux and windows
### What did you see instead?

On linux ctrl+C produces the rune 'c', on windows 0x3 is reported instead. This isn't limited to 'c' all ctrl+key combinations produce different results on windows and linux. I think that the value of Rune should either be the same across platforms or always set to -1 when ctrl is pressed.
Repository: go
Issue: cmd/cgo: support clang on Windows
Labels: help wanted,OS-Windows,NeedsFix,compiler/runtime

What version of Go are you using (go version)?

go version devel +0cff219 Wed Sep 7 10:43:13 2016 +0000 windows/amd64

What operating system and processor architecture are you using (go env)?

Windows 10 / AMD64

What did you do?

I used CGO with Clang for Windows 3.8.1 (http://llvm.org/releases/3.8.1/LLVM-3.8.1-win64.exe) like this:

set CC=clang
set CGO_CFLAGS="-m64 -Ipath/to/my/includes"
set CGO_LDFLAGS = "-v -Xlinker -libpath:path/to/libs -lwldap32 -ladvapi32 -lws2_32 -ldbghelp -luser32"

go build

What did you expect to see?

Expected to see nothing (ie, successful compile)
### What did you see instead?

```
# editor/dom
clang version 3.8.1 (branches/release_38)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
 "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\link.exe" "-out:C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\go-build406860094\\editor\\dom\\_obj\\_cgo_.o" -defaultlib:libcmt "-libpath:C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\lib\\amd64" "-libpath:C:\\Program Files (x86)\\Windows Kits\\10\\Lib\\10.0.10240.0\\ucrt\\x64" "-libpath:C:\\Program Files (x86)\\Windows Kits\\8.1\\Lib\\winv6.3\\um\\x64" -nologo "C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\go-build406860094\\editor\\dom\\_obj\\_cgo_main.o" "C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\go-build406860094\\editor\\dom\\_obj\\_cgo_export.o" "C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\go-build406860094\\editor\\dom\\_obj\\binding.cgo2.o" "-libpath:c:\\temp\\go\\src\\editor\\.mm\\windows\\amd64\\release\\lib" core-static.lib ssl-static.lib crypto-static.lib ssh2-static.lib c-ares-static.lib user32.lib ws2_32.lib wldap32.lib advapi32.lib dbghelp.lib
   Creating library $WORK\editor\dom\_obj\_cgo_.lib and object $WORK\editor\dom\_obj\_cgo_.exp
core-static.lib(node.obj) : warning LNK4049: locally defined symbol xmlFree imported
core-static.lib(xml.obj) : warning LNK4049: locally defined symbol xmlFree imported
# editor/dom
clang version 3.8.1 (branches/release_38)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
 "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\link.exe" "-out:C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\go-build406860094\\editor\\dom\\_obj\\_all.o" "-libpath:C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\lib\\amd64" "-libpath:C:\\Program Files (x86)\\Windows Kits\\10\\Lib\\10.0.10240.0\\ucrt\\x64" "-libpath:C:\\Program Files (x86)\\Windows Kits\\8.1\\Lib\\winv6.3\\um\\x64" -nologo "C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\go-build406860094\\editor\\dom\\_obj\\_cgo_export.o" "C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\go-build406860094\\editor\\dom\\_obj\\binding.cgo2.o" -Wl,-r
LINK : warning LNK4044: unrecognized option '/Wl,-r'; ignored
LINK : fatal error LNK1561: entry point must be defined
clang.exe: error: linker command failed with exit code 1561 (use -v to see invocation)
```
Repository: TypeScript
Issue: [Proposal] Display all properties (inherited or not) of a given class (in TypeScript)
Labels: Suggestion,Needs Proposal,VS Code Tracked

_From @yahiko00 on September 4, 2016 21:56_

Visual Studio Code is a fantastic tool and I am really impressed by all its features despite being quite young.

There is a feature that does not still exists in VS Code which could be really convenient when we are forced to deal with big inheritance hierarchies.

This proposal is based on the TypeScript language, but I am quite sure this could apply to other OOP languages VS Code supports.
## Overview of the Workflow

Let us assume we have a source file _animal.ts_ like this:

``` ts
// animal.ts

abstract class Animal {
    private dna: number;
    name: string;

    constructor(name: string) {
        this.dna = Math.random();
        this.name = name;
    }

    abstract shout(): string;
}
```

This file could be open or not in VS Code, but it is part of the current project.

Let us assume we have another source file _bird.ts_ like this:

``` ts
// bird.ts

class Bird extends Animal {
    constructor() {
        super();
        this.name = "Hector";
    }
    shout(): string {
        return "Cuicui!"; // sorry it is in French... I do not know how a bird shouts in English ^_^
    }
}
```

This file is open in VS Code.

What I would like to be able to do in VS Code is displaying all properties, inherited or not, available for the class `Bird`.

To do so, we could move the cursor on the `Bird` identifier, press F1 key, and run a new _Display all inherited properties_ command.

This new command would open a new file in a new tab called _Bird (all inherited properties)_.

In this example, the content of this file would be the following:

```
class Bird {
    private dna: number;
    name: string;

    super.constructor(name: string) {
        this.dna = Math.random();
        this.name = name;
    }

    constructor() {
        super();
        this.name = "Hector";
    }

    shout(): string {
        return "Cuicui!";
    }
}
```

The content of _Bird (all inherited properties)_ has nothing to do with valid syntax. Its purpose is only informational.
## Some informal rules
- Attributes should be displayed first.
- Type anotations should be rendered unchanged.
- Access modifiers `public`, `protected`, `private` should be rendered unchanged.
- Abstract methods which are not overriden should be rendered.
- All versions of an overriden method should be rendered, with a concatenation of `super` prefixes to distinguish each version in the inheritance hierarchy. For instance `super.method()` would refer to immediate `method()`'s parent, whereas `super.super.method()` would refer to `method()`'s grand-parent, and so on.
- `Method()`'s parent should be displayed before the `method()` itself.
- The same rules for `method()` apply to `constructor()`.

_Copied from original issue: Microsoft/vscode#11526_
Repository: opencv
Issue: Executable download differs from build.
Labels: incomplete

##### System information (version)
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2013
##### Detailed description

Downloading the executable from opencv.org and installing provides OpenCV 3.1 with a different directory structure then when building from source, the opencv_world310.libs are not built by the downloadable installer either, it looks more like a 2.x version really
 That makes code written for the sole `#include <opencv2/opencv.hpp>` import dysfunctional when building with the downloaded version.
Repository: go
Issue: cmd/compile: detect call trees that can be marked NOSPLIT
Labels: Performance,compiler/runtime

CL 24814 contains a minor optimization for 386/amd64: Ignore a few common runtime functions that take no arguments when deciding whether a function is a leaf function and is thus eligible for being marked NOSPLIT and thus having no function prolog.

Keith suggested some ways during code review to make this analysis much more powerful. This issue is a reminder to investigate those suggestions.
Repository: flutter
Issue: Path.arcTo doesn't draw anything if its angles add up to a multiple of 2*PI
Labels: framework,d: api docs,P3,team-framework,triaged-framework
Repository: TypeScript
Issue: Support property decorators for shorthand constructor-parameter syntax
Labels: Bug

**TypeScript Version:**  2.0.2

**Code**
I'm taking advantage of shorthand property declarations syntax via constructor.
The code below contains a problem, it won't work as expected for `class City`, it such case typescript will treat `PropertyDecorator` as `ParameterDecorator`, there is no way to supply both `PropertyDecorator` and `ParameterDecorator` simultaneously for such shorthand syntax:

``` ts
function PropertyDecorator(target: Object, propertyKey: string | symbol) { }
function ParameterDecorator(target: Object, propertyKey: string | symbol, index: number) {}

class Country {
    @PropertyDecorator public name: string;

    public constructor(name: string) {
        this.name = name;
    }
}

class City {
    public constructor(
        @PropertyDecorator public name: string,
        @PropertyDecorator public country: Country) {
    }
}

```

It looks better to use the following syntax that would allow distinguishing different decorator types:

``` ts
function PropertyDecorator(target: Object, propertyKey: string | symbol) { }
function ParameterDecorator(target: Object, propertyKey: string | symbol, index: number) {}

class Country {
    public name: string;

    public constructor(name: string) {
        this.name = name;
    }
}

class City {
    public constructor(
        @PropertyDecorator public @ParameterDecorator name: string,
        @PropertyDecorator public @ParameterDecorator country: Country) {
    }
}

```
Repository: vscode
Issue: Feature request: 'Ignore comments' checkbox in the 'Find' dialog
Labels: feature-request,search,editor-find

Wide popularity of the embedded documentation conventions like JSDoc and C#'s XML comments leads to a situation where comments often constitute the bigger part of a source file (e.g. look at the source of [angular.js](https://unpkg.com/angular/angular.js): the whole API documentation is there!). This abundance of comments makes it extremely difficult to find anything in the source code proper. For example, reading someone's code, we might want to know how and where a certain function is used. However, if we decide to conduct a search by its name, we might get lost in dozens of code samples in the comments and overlook some important case of its real usage. Shift-F12 often helps in such situations, but not always. This undermines the habitual workflow of those who are used to rely a lot on the search to read the code. Not sure if any other editor has this feature, but it would be great to have the 'Ignore comments' option in VS Code's search dialog.
Repository: angular
Issue: Add readonly to FormControl formstate
Labels: feature,state: Needs Design,freq2: medium,area: forms,Accessibility,feature: under consideration

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

```
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
```

Currently there is a "disabled" flag which will disable the control, and also disable the validator.
But there also should be a "readonly" flag which do not disable the validator.

**Current behavior**
- Does not exist -

**Expected behavior**
- Explained above -

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

**Please tell us about your environment:**
- **Angular version:** 2.0.0-rc.6
- **Browser:** [all] 
- **Language:** [all]
- **Node (for AoT issues):** `node --version` =   6.5.0
Repository: go
Issue: cmd/compile: make algs content-addressable
Labels: binary-size,compiler/runtime

When we generate algs, we name them after the types they operate on. However, all that matters to the alg is the structure of the type. Equality and hashing is the same for `struct { A [2]int64}` and `struct { B [2]int64 }`. I took an initial stab at this in [CL 19842](https://go-review.googlesource.com/c/19842/) but it didn't properly handle pointers vs scalars. The CL suggested a possible binary size improvement of ~1%. This issue is a reminder to try again, probably after some alg-related cleanup.

cc @cherrymui
Repository: go
Issue: cmd/compile: reuse algs for [N]T arrays
Labels: binary-size,compiler/runtime

For arrays [N]T where T is not a pure memory type, we currently generate separate algorithms for each distinct value of N.  Instead, we could emit simple stub algs that load N into a register/argument, and then jump to a common []T implementation.

Unclear if this shows up often enough in practice to be beneficial though.

Related #17029.
Repository: You-Dont-Know-JS
Issue: ES6 & Beyond: default params truncate function length
Labels: for second edition

![screen shot 2016-09-08 at 11 52 08 pm](https://cloud.githubusercontent.com/assets/150330/18369668/80a2ebb6-7627-11e6-87f5-e5a4b1c54e03.png)
Repository: You-Dont-Know-JS
Issue: ES6 & Beyond: default params have `this`, `arguments`, etc
Labels: for second edition

![screen shot 2016-09-09 at 12 53 33 am](https://cloud.githubusercontent.com/assets/150330/18369742/e126b8b4-7627-11e6-9288-8f155347e632.png)
Repository: You-Dont-Know-JS
Issue: ES6 & Beyond: figure out default function closure over params/body-vars
Labels: for second edition

https://gist.github.com/getify/1abb4e0710a3eb56b04e9fbc9944b50d
Repository: youtube-dl
Issue: Site Request: https://school.scotch.io/courses
Labels: account-needed

## Please follow the guide below
- You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x])
- Use _Preview_ tab to see how your issue will actually look like

---
### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.08_. 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.09.08**
### 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)
- [x] Site support request (request for adding support for a new site)
- [ ] 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**):
- List of Courses: https://school.scotch.io/courses
- Example Course / Playlist: https://school.scotch.io/getting-started-with-angular-2
- Single video (part of course): https://school.scotch.io/getting-started-with-angular-2/introduction
Repository: vue
Issue: Allow SSR to render unescaped inlined script tags.
Labels: feature request

I have a feature request  - In order to fully replace templating engine server should be able to output raw unescaped contents for some tags like &lt;script&gt;. Currently all the transcluded content or the content provided by v-text/v-html is automatically escaped and the script becomes unusable. 

Example of usage - output json-ld: 

```
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Person",
  "name": "John Doe",
  "jobTitle": "Graduate research assistant",
  "affiliation": "University of Dreams",
  "additionalName": "Johnny",
  "url": "http://www.example.com",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "1234 Peach Drive",
    "addressLocality": "Wonderland",
    "addressRegion": "Georgia"
  }
}
</script>
```
Repository: opencv
Issue: Suggestions for future GSoCs
Labels: RFC,GSoC

Just want to point out that it might be interesting to get the opinion of the community into new subjects for GSoC 2017 and collect them somewhere central. We could use this issue for a growing list of suggestions.

Let me start by adding one
- Fixing the terribly broken down video backend (both writer and reader). There is simply no guarantee that stuff works on different systems for now, codecs are poorly supported and the huge amount of issues on the Q&A clearly show we need some fixing in this part of the library.
Repository: opencv
Issue: IPP: pow() with non-integral exponent does not follow documentation on negative numbers
Labels: bug,category: core,category: documentation,RFC

##### System information (version)
- OpenCV => 3.1
- Operating System / Platform => Linux 64 Bit
- Compiler => g++ 4.9.3
##### Detailed description

When compiling OpenCV with `-DWITH_IPP=OFF`, there is (typically) no problem. When compiling OpenCV with `-DWITH_IPP=ON` however, taking a non-integral power of a negative number x results in `-nan` instead of the expected |x|^e, which is what should happen according to:
http://docs.opencv.org/3.1.0/d2/de8/group__core__array.html#gaf0d056b5bd1dc92500d6f6cf6bac41ef
##### Steps to reproduce

```
#include <opencv/cv.hpp>
using namespace cv;

main(int argc, char** argv) {
    Mat test(1,1,CV_32FC1);
    test = -1.0;
    pow(test,0.4,test);
    printf("result: %f\n",test.at<float>(0));
}
```

When compiled with `-DWITH_IPP=OFF`, you get `result: 1.0`
When compiled with `-DWITH_IPP=ON`, you get `result: -nan`

For exponent 0.5, both the IPP and non-IPP version seem to be broken (probably because it is handled as a special case), and they both result in `-nan`.

Suggested solution:
Update the documentation to say that the result of a negative number to a non-integral power is undefined.

Some background:
I was using `pow` to gamma-adjust an image, where the values were not necessarily between 0.0 and 1.0 but could be a bit outside that range because of previous processing steps. I was assuming that values below 0.0 would be clamped to 0.0 before taking the power (which would be the useful thing to do here), but instead they would actually become positive. So thanks to this bug in OpenCV, I discovered a bug in my code. I can't think of any cases where the documented behavior is actually what you want, so I think it's better to explicitly say that the result is undefined (after all, mathematically the result is not a real number), than it is to 'fix' the IPP implementation of `pow`.
Repository: vscode
Issue: Support for RTL languages
Labels: feature-request,editor-RTL

- VSCode Version: 1.5.0
- OS Version: windows 10

I can honestly dare to say that this is the best open source editor for web developers but, the missing of the small things like the Arabic language support is really frustrating!!

@alexandrudima  yes I mean to work with source code files containing Arabic or Hebrew.
Repository: flutter
Issue: `flutter build` is returning zero, should return not zero ?
Labels: tool,P3,team-tool,triaged-tool

`flutter build` doesn't do anything other than print the help. We might not want to return zero there. Instead, I'd expect some non-zero code.

For example, this will run the second command, which I didn't expect:

`flutter build && flutter install`

The second command should not run because the first was not successful, however the first command returned zero.
Repository: flutter
Issue: "flutter drive" CLI is confusing
Labels: tool,P2,team-tool,triaged-tool

``` bash
$ flutter drive --profile
Test file not found: test_driver/main_test.dart

$ flutter drive --profile -t test_driver/main.dart
Target file "test_driver/main.dart" not found.

$ flutter drive --profile test_driver/scroll_perf.dart
Starting application: lib/main.dart

$ flutter drive --profile -t test_driver/scroll_perf.dart
Starting application: test_driver/scroll_perf.dart

$ flutter drive --profile -t test_driver/scroll_perf_test.dart
Test file not found: test_driver/scroll_perf_test_test.dart
```

I AM THE CONFOOSE.
Repository: go
Issue: runtime: mark long lived objects with a special flag
Labels: NeedsDecision,FeatureRequest,compiler/runtime

Hi, 

I've been thinking on how to make finding memory leaks a bit easier for Go users.

I would like to ask if it's possible to introduce a runtime flag like `GODEBUG=gctrace=3` where the GC would "paint" the long lived objects that live over a long period of time in the memory of the program. Say this could be configured via `GODEBUG=gctrace=3,longlived=100s` which would express that the user sees the objects that are present for more than 100 seconds printed when the GC runs (the display can be done at a frequency of a few seconds apart so that it doesn't overload output in case of very large applications). An alternative would be maybe instead of a time span to configure a number of GC runs that would need to pass in order for an object to be considered old (but that would imply the user is very savvy about the GC, how it works and how the application should perform).

I know this would imply a runtime penalty but when trying to find a memory leak performance is not the priority.

What do you think? Would this be possible? If you need further details to clarify this please let me know.

Thank you.
Repository: vscode
Issue: Move line up/down should support multiple cursors
Labels: feature-request,editor-multicursor,editor-commands

- VSCode Version: Code - Insiders 1.6.0-insider (20c3935a130f5b86d629a8543c9c71348c54c3de, 2016-09-09T05:59:09.913Z)
- OS Version: Linux x64 4.4.0-31-generic, Ubuntu 16.04

Steps to Reproduce:
1. Add multiple cursors across multiple lines
2. Run the move line up command, only the line containing the "primary" cursor is moved and the other cursors are lost