sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Navigator can still get spurious writes during navigation
Labels: framework,f: routes,a: quality,P2,team-framework,triaged-framework

Once you navigate away from a route, that route shouldn't be able to trigger more navigators because most apps aren't expecting that to be possible.  We have a number of bugs with our current implementation:
- [ ] If two gestures are fighting it out in the arena, the navigator will cancel the pointers that are interacting with the the navigator, but that could cause another one to win-by-default, which could call an event handler and trigger another navigation.
- [ ] Similar to the above, but the two gestures might be a tap and a double-tap where the tap is complete but the double tap hasn't reached its timeout yet.  When we cancel the double-tap, the tap might win-by-default and navigate the navigator.
- [ ] Suppose you have two navigators side-by-side and a gesture recognizer above them that is attempting to detect a three-finger gesture.  Now when one of the child navigators navigates, we'll cancel the active pointers, which could spuriously break the three-finger gesture (because we cancel the pointer globally and not just in the old route's subtree).
Repository: flutter
Issue: Enable navigator test that involves pointer cancellation
Labels: a: tests,framework,f: routes,c: proposal,P2,team-framework,triaged-framework

In navigator_test.dart, there's a test that is commented out because it relies on part of the event dispatching mechanism that is mocked out in testing. We should use the real mechanism even during testing and enable that test.
Repository: go
Issue: encoding/xml: no way to output cdata field into a nested node
Labels: NeedsInvestigation

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

`go version go1.6.2 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/akrylysov/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.6.2/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.6.2/libexec/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
```

> What did you do?

```
type Test struct {
    Name string `xml:"Person>Name,cdata"`
}
```

https://play.golang.org/p/aVay4sw8xA

> What did you expect to see?

```
<Test><Person><Name><![CDATA[foo]]</Name></Person></Test>
```

> What did you see instead?

```
error: xml: invalid tag in field Name of type main.Test: "Person>Name,cdata"
```

I'm working on a web service which supports JSON and XML as output formats:

```
type Response struct {
    XMLName xml.Name `json:"-" xml:"response"`
    Foo string       `json:"foo" xml:"foo"`
    Bar string       `json:"bar" xml:"bar"`
}
```

It worked perfectly, but recently we got a new requirement from our external partner to wrap all XML values into CDATA. So instead of:

```
<response><foo>foo1</foo><bar>bar2</bar></response>
```

I need this:

```
<response><foo><![CDATA[foo1]]</foo><bar><![CDATA[bar2]]</bar></response>
```

Currently Go doesn't provide a way to do that without introducing a new nested structure like:

```
type CdataString struct {
    Value string `xml:",cdata"`
}

type Response struct {
    XMLName xml.Name `json:"-" xml:"response"`
    Foo CdataString  `json:"foo" xml:"foo"`
    Bar CdataString  `json:"bar" xml:"bar"`
}
```

which breaks JSON serialization.
Repository: go
Issue: doc: add internals FAQ?
Labels: Documentation,NeedsFix

@bcantrill asked of Go recently:

> I've never gotten a straight answer as to why Go makes system calls directly instead of doing what every other program on the planet does and calling into the system libraries. Certainly, it made the ports to non-Linux systems absolutely brutal: systems are required to make themselves look like Linux for Go to function correctly. So yes, this is unenlightened -- or perhaps it's a conscious attempt to make Go unportable?

And another thread recently happened on the mailing list about the `g`, `m`, and `p` internal runtime structures.

I'm starting to think we should have a documentation page for internals FAQs.

The closest we have now is a link from https://golang.org/doc/ to [Go Slices: usage and internals](https://blog.golang.org/go-slices-usage-and-internals)

But there's more content not as well linked:
- http://research.swtch.com/interfaces
- http://research.swtch.com/gorace
- http://research.swtch.com/randhash
- http://blog.altoros.com/golang-part-1-main-concepts-and-project-structure.html (6 parts)

There's some good stuff in https://golang.org/wiki/DesignDocuments too, but that's also not well linked.
Repository: vscode
Issue: Cannot select text from deleted lines diff view
Labels: feature-request,diff-editor,papercut :drop_of_blood:

- VSCode Version: 1.3.0-insider
- OS Version: OS X 10.11

Steps to Reproduce:
1. Open a file with changes in inline diff mode
2. Try to select the red (deleted) lines (You can't)

You can select them normally in the side-by-side. Being able to do so is useful to restore/revert small pieces of code manually by copying and pasting.
Repository: kubernetes
Issue: Allow Kubelet Node Status to be updated on demand
Labels: priority/backlog,sig/storage,sig/node,lifecycle/rotten,needs-triage

The kubelet volume manager depends on the `VolumesInUse` field of the node status being updated before it can proceed with attaching a volume. Since node updates happen periodically on kubelet it can take as much as 10 seconds before the field is updated.

Consider a force sync for the node status update code, something like:

``` GO
    select {
     case <- forceSync
     case <-time.After(10*time.Second)
     }
    tryUpdateNodestatus()
```

Where the `forceSync` channel can be passed to the volume manager to allow it to force updates faster than 10 seconds when needed.
Repository: react
Issue: onMouseEnter propagation in double reactroot
Labels: Type: Bug,Component: DOM

I think it is bug

Now onMouseEnter event handler calls in child element when there are several reactroots. 

To reproduce - run fiddle and move mouse from white square to red and back. In console you can see log when you do it. Link - https://jsfiddle.net/47sn3j5c/ . It works wrong.

Expected behavior: handler has to call just when mouse enter to red square. See here simiar example but with one reactroot - https://jsfiddle.net/bs3rc2wp/1/ . It works right.

React 15.1.0
Repository: angular
Issue: Feature Request: Allow binding expression in style(), keyframes() etc...
Labels: feature,area: animations,freq1: low,feature: under consideration

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

**Current behavior**
Animation instructions doesn't accept bindings expression.

**Expected/desired behavior**
Animation metadata should allow instructions from the component instance.

Example: 

``` ts
@Component({
  selector: 'my-app',
  animations: [
    trigger('fade', [
      transition('void => in', [
        animate('150ms linear', keyframes([
          style('MY_STYLE'),
          style({opacity: '*'})
        ]))
      ])
    ])
  ],
  encapsulation: ViewEncapsulation.None,
  template: `<div  @fade="fadeState"></div>`})
export class FadeInBackdrop {
  private fadeState: 'in' | 'out' = 'in';
  MY_STYLE = {
    opacity: 0
  }
}
```

**What is the motivation / use case for changing the behavior?**
This will allow dynamic animation based on user input.
Sine animation instructions are static the only way to change them in runtime is
A) Using auto style, letting the user set \* from css
B) Define multiple states (not really dynamic)

This is really useful in 3rd part libraries where some sort of animation customization is needed.

Since the generated animation factory runs on every change it can get a hold of the instance and easily get the value.
The syntax for referencing a bind needs definition as style might be a string.
Repository: rust
Issue: Add intrinsic to force-monomorphize; or some other solution for Index
Labels: T-lang,T-compiler,T-dev-tools,C-feature-request,A-intrinsics

For gdb to be able to index things like hashmaps, we need to ensure that the index implementation is monomorphized correctly.

I would like to have an intrinsic, which when found in a monomorphized function, will force monomorphization of the provided argument. For example, in `Vec::new()`, we can include `force_monomorphization(<Vec<T> as Index>::index)`.

Alternatively, we could specially mark methods (index and deref? all of `std::ops`? has to be parametric over `self` but not parametric over other non-`Self` args.) that are always monomorphized if the corresponding concrete self type already exists. Perhaps only in debug mode. This may bloat binary size, but eh, debug mode.

cc @rust-lang/compiler @tromey
Repository: kubernetes
Issue: kubectl logs should allow to discriminate between pod's stderr and stdout
Labels: area/api,area/kubelet-api,area/kubectl,area/logging,sig/node,kind/feature,needs-triage

In the current state, invocation of `kubectl logs pods/my-pod` provides mixed stderr and stdout from the pod. For certain applications, it is important to be able to separate stderr from stdout. I haven't found any way of separating stderr from stdout through `kubectl logs...`.
Repository: three.js
Issue: Energy conservation for BlinnPhong Material
Labels: Enhancement

##### Description of the problem

Right now the specular reflection of a blinnphong does not diminish the light getting to the underlying diffuse color.  Technically the specular reflection of the blinnphong material, if it full, should act like a metal, it should be fully reflectively and then there should be no light getting to the underlying diffuse layer.

There are three standard methods of doing energy conservation: Monochromatic, RGB and none.  Right now we have implemented the None case.
##### Three.js version
- [x] Dev
- [x] r78
- [ ] ...
##### Browser
- [x] All of them
- [ ] Chrome
- [ ] Firefox
- [ ] Internet Explorer
##### OS
- [x] All of them
- [ ] Windows
- [ ] Linux
- [ ] Android
- [ ] IOS
##### Hardware Requirements (graphics card, VR Device, ...)
Repository: go
Issue: encoding/json: do all reflect work before decoding
Labels: Performance,NeedsFix

@crawshaw commented in [CL 24472](https://go-review.googlesource.com/#/c/24472/):

> With more time and care, I believe more of the JSON decoder's work could be shifted so it is done before decoding, and independent of the number of bytes processed. Maybe someone could explore that for Go 1.8.

This issue is a reminder, because CLs get forgotten.
Repository: kubernetes
Issue: Support Posix Shared Memory across containers in a pod
Labels: sig/node,kind/feature,lifecycle/frozen,needs-triage

Docker implemented modifiable shmsize (see [1](https://github.com/docker/docker/pull/16168)) in version 1.9. It should be possible to define the shmsize of a pod on the API and Kubernetes shall pass this information to Docker.
Repository: godot
Issue: Editor shows old script when using ResourceSaver in tool mode. 
Labels: bug,topic:editor,confirmed

After using "ResourceSaver" with tool mode, the editor is not reloading my edited script.

Example project:
[BUG.zip](https://github.com/godotengine/godot/files/341406/BUG.zip)

Open the project with godot. Go to the project folder with your filesystem open ground.gd and remove the last line "export var id=-1"
1. Open the main.scn and the tileset.tscn in godot
2. See that the child "Ground" in the tileset.tscn has a script where "export var id=-1" is missing.
3. Go to main.scn and click on the exported "Update" property to trigger the ground.gd update.
4. Go to your filesystem and see that "export var id=-1" was added to ground.gd.
5. Go to the "ground.gd" in the editor and see that nothing has changed.
6. Repopen the tileset.tscn has no effect.
7. Restart the project shows now the updated  "ground.gd"
8. It is also possible to see the update without Reopen or Restart when you edit the project folder with your filesystem(delete or add a file).
Repository: TypeScript
Issue: String literal type inconsistency in overload resolution
Labels: Suggestion,In Discussion

As far as I see, the TS compiler still sees a string literal type of a single literal as an old style "string parameter" thing. I thought that the concept of string literal types should replace overloading on string parameters, but seems that it doesn't.

That complicates things, and results in a "strange" behaviour in overload resolution:

``` ts
class A256 {
    m(a): any;
    m(a: "a" | "b"): string;
    m(a: "c"): string;
    m(a): any {}
}

var foo1 = new A256().m("a"); // 'any'
var foo2 = new A256().m("c"); // 'string'
```

What should be the correct logic with string literal types in overload resolution?
Shouldn't overloads with unions of literals precede the others as well, when resolving overloads?
Repository: TypeScript
Issue: No indentation gets inserted after comment on enter key press
Labels: Bug,Help Wanted,Domain: Formatter

**TypeScript Version:**  The master branch as of 7b77f6b3fd88f012a2b1f93cd49505ac5cef1099

**Code**

Put the cursor on '|' position and press enter.

``` ts
function foo() {
    window.addEventListener("click", () => { |/* foo */ })
}
```

**Expected behavior:**

``` ts
function foo() {
    window.addEventListener("click", () => { 
        /* foo */
    })
}
```

**Actual behavior:** 

``` ts
function foo() {
    window.addEventListener("click", () => { 
        /* foo */
})
}
```
Repository: youtube-dl
Issue: Site support request : sports.news.naver.com
Labels: geo-restricted

## 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.07.01_. 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.07.01**
### Before submitting an _issue_ make sure you have:
- [ ] 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
- [ ] [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 (http://sports.news.naver.com/videoCenter/index.nhn)
- [ ] Feature request (request for a new functionality)
- [ ] Question
- [ ] Other

example:

http://sports.news.naver.com/videoCenter/index.nhn?uCategory=wfootball&category=&listType=total&date=20160701

http://sports.news.naver.com/videoCenter/index.nhn?uCategory=kvolleyball&category=&listType=season&season=53&id=117305

currently support Naver is 네이버 TV캐스트 
example : http://tvcast.naver.com/v/925918
Repository: opencv
Issue: Nightly builds upload artifacts - mobile only?
Labels: category: infrastructure,RFC

The [iOS nightly builds](http://pullrequest.opencv.org/buildbot/builders/master-contrib_iOS-mac/builds/337) have an `upload artifacts` step that allows direct downloading of the build. All the other builds ([windows](http://pullrequest.opencv.org/buildbot/builders/master-contrib-win64-vc12/builds/340), mac, etc.) don't zip and upload the release.

Why don't all the nightly builds archive the build?
Repository: neovim
Issue: :terminal text clipped after resize
Labels: bug,terminal

- `nvim --version`: NVIM v0.1.5-508-g47a15d0
- Vim (version: ) behaves differently? N/A
- Operating system/version: Arch Linux (64-bit Linux 4.6.3-1)
- Terminal name/version: rxvt-unicode v9.22
- `$TERM`: rxvt-256color
### Actual behaviour

Text in Neovim terminal becomes clipped on the right side after reducing window size to a width smaller than what is displayed.
### Expected behaviour

Terminal text return to its original unclipped after the window is temporarily narrowed.
### Steps to reproduce using `nvim -u NORC`
1. nvim -u NORC
2. Open a terminal using `:term` and then print some long line to the screen. Initially the entire text will be displayed:

```
$ echo "abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy"                                               
abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy 
```

If the screen is then resized (e.g. 50% width), and then resized back to 100% width, the text is now clipped at the position where it was hidden when the terminal size was reduced:

```
$ echo "abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn op                                                                                       
abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy 
```

(Thanks @jalvesaq for coming up with this simple example to reproduce the issue).
Repository: TypeScript
Issue: allowJs option with namespaces
Labels: Suggestion,Needs Proposal,Domain: JavaScript

<!-- BUGS: Please use this template. -->

<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->

<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->

I am currently trying to put the compiler option "allowJs" to use. My goal is to convert an existing JavaScript application into TypeScript step by step. The application does not use (external) modules, so I'm converting the JavaScript namespaces into real TypeScript namespaces, but I'm running into "duplicate identifier" errors as outlined below. Shouldn't it be possible to combine TypeScript and JavaScript using the same namespace? Maybe I'm doing something wrong or this is not intended, but I expected this to work.

**TypeScript Version:**  1.8.10

**Code**
File 1:

``` ts
namespace myapp {
    export var c1 = 5;
}
```

File 2:

``` js
var myapp;
(function (myapp) {
    myapp.c2 = 4;
})(myapp || (myapp = {}));
```

tsconfig.json

``` json
{
    "compilerOptions": {
        "allowJs": true,
        "outFile": "dist/appBundle.js"
    }
}
```

**Expected behavior:**
Bundling the compiled code of file 1 and the code of file 2 without modifications into a single JavaScript file.

**Actual behavior:** 
The compilation is done, but the compiler throws an error: "error TS2300: Duplicate identifier 'myapp'."
Repository: go
Issue: rsc.io/tmp/fieldtrack: update with new tests
Labels: NeedsInvestigation

@ianlancetaylor internally committed a new regress test to fieldtrack_test for #16243.  rsc.io/tmp/fieldtrack should be updated with this test.

(Not a Go project issue per se, but this seems like the safest place to make sure it's not forgotten about by time @rsc returns from leave.)
Repository: TypeScript
Issue: Public APIs not normalizing paths
Labels: Bug,Help Wanted

As discussed in [this](https://github.com/Microsoft/TypeScript/issues/9123) issue, the `parseJsonConfigFileContent` public API can fail on Windows when passed non-normalized paths (that is, paths containing backslash delimiters).

It appears that this is not the only public API with which this occurs. The following two public API functions call [`getDirectoryPath`](https://github.com/otbe/TypeScript/blob/master/src/compiler/core.ts#L648-L652) with non-normalized paths:
- [`findConfigFile`](https://github.com/Microsoft/TypeScript/blob/613e2d33b6bebc96ab9fc3a111d61b2a30015490/src/compiler/program.ts#L18-L31)
- [`resolveTripleslashReference`](https://github.com/Microsoft/TypeScript/blob/613e2d33b6bebc96ab9fc3a111d61b2a30015490/src/compiler/program.ts#L33-L37)

The first of these has caused numerous issue with [tsify](https://github.com/TypeStrong/tsify):
- [Replace backslashes in the current directory](https://github.com/TypeStrong/tsify/pull/125)
- [switch to hard-coded tsconfig.json string](https://github.com/TypeStrong/tsify/pull/126)
- [Replace backslashes](https://github.com/TypeStrong/tsify/pull/146)

Is there any guidance regarding how module authors are supposed to use public TypeScript APIs that accept paths? Are paths always expected to be normalized? If so, that puts a burden on module developers. Would it not be preferable for the `parseJsonConfigFileContent`, `findConfigFile`, `resolveTripleslashReference` functions to normalize any paths before calling functions - like `getDirectoryPath` - that expect/assume normalized paths?
Repository: rust
Issue: Generate HTML versions of man pages
Labels: T-dev-tools,C-feature-request

man pages contain useful information that isn't accessible on windows. rustup [concerns itself with man pages](https://github.com/rust-lang-nursery/rustup.rs/issues/490) and will have a `rustup man` feature that is useless on windows. I'd like be able to show the same information by opening up a browser to the installed docs.

Can we find a way to generate both the man pages and new HTML versions of the command line documentation from the same source? We probably don't want to take a new pandoc dependency. Perhaps we can just write something in Rust to do it.

Alternately, we could create HTML documentation for each of the command line tools. In the future we're going to be distributing more command line tools. They'll need to be documented in HTML.
Repository: godot
Issue: "Invalid call. Nonexistent built-in function 'convert'." from script
Labels: enhancement,topic:gdscript,confirmed

**Operating system or device - Godot version:**
Arch linux -- Godot master ( 119cd5d3ff9fbbafc59db7481c0eee29f43c0c64 )

**Issue description** (what happened, and what was expected):
I was playing around with some code until `Invalid call. Nonexistent built-in function 'convert'.` came up.

**Steps to reproduce:**
- Add this script to a random node:

``` gdscript
func _ready():
    print(convert("1,2", TYPE_VECTOR2))
```
- Hit play and watch.

**Edit**: looks like one can't convert a `String` to a `Vector2` -- oops! Anyway, the error message is as misleading as possible, and would be nice if it is fixed ^^

**Link to minimal example project** (optional but very welcome):