sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Site Request: DisneyLife.com
Labels: account-needed

- [x] I've **verified** and **I assure** that I'm running youtube-dl **2017.03.24**

### 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
- [x] Site support request (request for adding support for a new site)

---

### If the purpose of this *issue* is a *bug report*, *site support request* or you are not completely sure provide the full verbose output as follows:

Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```):
```
youtube-dl.exe -v https://disneylife.com/view/the-lion-king
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://disneylife.com/view/the-lion-king']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.03.24
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-83410-gb1e2192, ffprobe N-83410-gb1e2192
[debug] Proxy map: {}
[generic] the-lion-king: Requesting header
WARNING: Falling back on generic information extractor.
[generic] the-lion-king: Downloading webpage
[generic] the-lion-king: Extracting information
ERROR: Unsupported URL: https://disneylife.com/view/the-lion-king
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7c11i4w7\bu
ild\youtube_dl\YoutubeDL.py", line 761, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7c11i4w7\bu
ild\youtube_dl\extractor\common.py", line 428, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7c11i4w7\bu
ild\youtube_dl\extractor\generic.py", line 2653, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://disneylife.com/view/
the-lion-king
...
<end of log>
```

---

### 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: https://disneylife.com/view/the-lion-king

---

### Description of your *issue*, suggested solution and other information

Hi, please can support for disneylife.com be added, thank you.
Repository: youtube-dl
Issue: Support for KTLA videos
Labels: site-support-request

---

### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2017.03.26*. 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.03.26**

### 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
- [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

---

### Description of your *issue*, suggested solution and other information
Can you please add support for ktla.com videos

Example: http://ktla.com/2017/03/26/mother-and-her-2-children-among-4-people-killed-in-sacramento-home/

Currently it gives this error:
```
[generic] ...: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ...: Downloading webpage
[generic] ...: Extracting information
ERROR: Unsupported URL: ...
```
Repository: youtube-dl
Issue: Gaana Support
Labels: site-support-request

It would be nice to have Gaana.com support.

Song urls :
http://gaana.com/share/titemI21309714
http://gaana.com/song/do-naina-male

Album urls:
http://gaana.com/share/AitemI1863456
http://gaana.com/album/angamaly-diaries

Thank you
Repository: go
Issue: proposal: introduce new html meta tag for issue trackers
Labels: Proposal,Proposal-Hold

For the users of the packages with vanity import paths uses, it is often impossible to find the package's issue tracker to file an issue. The package maintainers often have to manually add a link to the package comment to ensure that users will be able to find the package's issue tracker. This process is tedious and adding more noise to the godoc.

I propose to introduce a new meta tag for our vanity URL redirect pages, so that the package owners can set the location of the package's issue tracker.

```
<meta name="go-import" content="cloud.google.com/go git https://code.googlesource.com/gocloud">
<meta name="go-source" content="cloud.google.com/go https://github.com/GoogleCloudPlatform/gcloud-golang https://github.com/GoogleCloudPlatform/gcloud-golang/tree/master{/dir} https://github.com/GoogleCloudPlatform/gcloud-golang/tree/master{/dir}/{file}#L{line}">

<meta name="go-issues" content="cloud.google.com/go https://github.com/GoogleCloudPlatform/gcloud-golang/issues">
```

Once a meta tag is introduced, the Go tools (such as godoc.org) can display a link to the issue tracker on the package page.
Repository: go
Issue: proposal: cmd/vet: missing error assignment check
Labels: Proposal,Proposal-Hold,Analysis

I noticed a mistake during a code review that I think could be automatically detected. The idea is to detect code which looks like:
```
if f(); err != nil {
    ...
}
```
which should instead assign the return value of f()

```
if err := f(); err != nil {
    ...
}
```

For the code to compile at all, err must be declared in the outer scope.

### Correctness:
This check detects code that the programmer didn't intend to write. In some instances the mistake is caused by what I personally might call a readability issue, such as when f() is a multi-line func literal that obscures the if statement. Nevertheless, this reports on the missing assignment, not the style.

### Frequency:
A number of these have been detected at Google. The check is lightweight. I did not do a large review of open-source Go, but examples can be seen at:
https://github.com/golang/crypto/blob/459e26527287adbc2adcc5d0d49abff9a5f315a7/acme/acme.go#L157
https://github.com/tensorflow/tensorflow/blob/c44601f5411408c324c81dd38bc8686cbd2568aa/tensorflow/go/tensor.go#L101

### Precision:
It is difficult to define a false negative for this test, but for my particular implementation perhaps errors that are not called "err", and are not checked against nil. Others implementations may be able to increase the scope.

False positives seem rare, though it is possible to write code like:

```
var err error
f := func() {
   mu.Lock()
   defer mu.Unlock()
   err = g()
}
if f(); err != nil {
```

I do not think it would any less clear for f() to return err in that case though.

A false positive of my initial implementation is

https://github.com/ziutek/mymysql/blob/0582bcf675f52c0c2045c027fd135bd726048f45/autorc/autorecon.go#L124

this could be eliminated by looking for err (or &err) being passed as a parameter, though that function could avoid modifying its input parameter and instead return an error.

A more thorough check for if conditions that are always true/false would detect some of these situations, especially if a previous check for nil caused a return. But it would miss some, so I think a simple check is worth introducing. Some mistakes occur in tests:

```
if err := f(); err != nil {
    t.Error(err)
}
if g(); err != nil {
    t.Error(err)
}
```

whilst others aggregate errors rather than returning:
```

for x := range xs {
    if f(x); err != nil {
        errs = append(errs, err)
    }
}
```

An initial implementation is here: https://go-review.googlesource.com/c/38631/
Repository: rust
Issue: Indexing tuple warning misleading
Labels: C-enhancement,A-diagnostics,P-low,T-compiler,A-suggestion-diagnostics,D-newcomer-roadblock,D-terse

The following rust snippet:

```rust
fn main() {
  let x = (0u32, 1u64, 2isize);
  for i in 0..3 {
      println!("{}\n", x[i]);
      // ERROR: to access tuple elements, 
      // use tuple indexing syntax (e.g. `tuple.0`)
      // println!("{}\n", x.i); // This doesn't obviously work
  }
}
```

produces a warning that recommends using `.0` to index the tuple, but what it should recommend is to `match` on the index.
Repository: flutter
Issue: Doctor should check for hardware VM accelleration
Labels: platform-android,tool,t: flutter doctor,P3,team-android,triaged-android

If a developer is configured for Android, then we should check if they have hardware acceleration configured. If not, Flutter will run very slow.

The command is:
```
$ ./emulator -accel-check
accel:
0
HAXM version 6.0.1 (3) is installed and usable.
accel
```

When the check fails, we should point developers at this URL:
https://developer.android.com/studio/run/emulator-acceleration.html
Repository: angular
Issue: Implement --help for compiler-cli tools
Labels: feature,hotlist: error messages,area: compiler,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
```

**Current behavior**
`ngc --help` and `ng-xi18n --help` do not display help text, instead it does the usual action.

**Expected behavior**
`ngc --help` and `ng-xi18n --help` should display the command line and modifiers supported by the tools.

**Minimal reproduction of the problem with instructions**
Run `ngc --help` in a terminal

**What is the motivation / use case for changing the behavior?**
Most command line tools implement `--help` and `-h` flags to display some help text (with the various supported modifiers) and the version. The `compiler-cli` tools should do the same as it provides an easy way to figure out how to tweak command line and scripts to get the expected behaviours.

See for instance `npm --help`, `yarn --help`, `tsc --help` or `webpack --help` for similar help texts.

`--version` would also be a nice to have but not as critical I guess.

* **Angular version:** 2.4.9
* **Browser:** n/a
* **Language:** n/a
* **Node (for AoT issues):** `node --version` = 4.7.2
Repository: TypeScript
Issue: Unable to access ServiceWorkerGlobalScope via `self.`
Labels: Bug,Help Wanted,Domain: lib.d.ts

<!-- 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 -->

Since `ServiceWorker` related types sit in `lib.webworker.d.ts`, `webworker` lib need to be added to `tsconfig.json`.

```json
{
  "compilerOptions": {
    "lib": [
      "es2017",
      "webworker"
    ]
  }
}
```

But in current [`lib.webworker.d.ts`](https://github.com/Microsoft/TypeScript/blob/v2.2.2/lib/lib.webworker.d.ts#L1718), it `declare var self: WorkerGlobalScope;`, so we can't access ServiceWorkerGlobalScope via `self.`

---

**TypeScript Version:**  2.2.1

**Expected behavior:**

Can access ServiceWorkerGlobalScope via `self.`(like [`self.clients`](https://github.com/Microsoft/TypeScript/blob/v2.2.2/lib/lib.webworker.d.ts#L1375))

**Actual behavior:**

Access with error.

![image](https://cloud.githubusercontent.com/assets/6076919/24366001/64ec1922-134a-11e7-8714-9573fe8380d7.png)
Repository: electron
Issue: Method to get/set file pointers in clipboard
Labels: enhancement :sparkles:,component/clipboard

There is currently no mechanism to get/set file pointers from/to clipboard.

File pointers: The stuff in clipboard when you copy (`ctrl+c`) selected files in your OS file explorer.

After ~15 min research, there was #2244 issue which went a different direction and than got closed. Also there are some projects on hold waiting for this kind of functionality, such as https://github.com/bertofer/quercus/issues/1.
Repository: flutter
Issue: RepaintBoundaries should notice that they are next to each other
Labels: framework,c: performance,c: proposal,P3,team-framework,triaged-framework

It seems like we should remove one of the following boundaries, and that the logic should complain that one of them is redundant. Maybe if the parent is a RenderRepaintBoundary, then it should always diagnose as redundant?

```
  │
  └─child 1: RenderRepaintBoundary#699402239
    │ creator: RepaintBoundary-[<1>] ← SliverFillViewport ← Viewport ←
    │   IgnorePointer-[GlobalKey#991626018] ← Listener ←
    │   _GestureSemantics ←
    │   RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#486348456]
    │   ← RepaintBoundary ← CustomPaint ← RepaintBoundary ←
    │   NotificationListener<ScrollNotification> ←
    │   GlowingOverscrollIndicator ← ⋯
    │ parentData: index=1; layoutOffset=411.4
    │ constraints: BoxConstraints(w=411.4, h=663.4)
    │ size: Size(411.4, 663.4)
    │ metrics: 99.9% useful (1 bad vs 1152 good)
    │ diagnosis: this is an outstandingly useful repaint boundary and
    │   should definitely be kept
    │
    └─child: RenderRepaintBoundary#127255144
      │ creator: RepaintBoundary ←
      │   NotificationListener<ScrollNotification> ←
      │   GlowingOverscrollIndicator ← Scrollable ←
      │   PrimaryScrollController ← ListView ← RepaintBoundary-[<1>] ←
      │   SliverFillViewport ← Viewport ←
      │   IgnorePointer-[GlobalKey#991626018] ← Listener ←
      │   _GestureSemantics ← ⋯
      │ parentData: <none>
      │ constraints: BoxConstraints(w=411.4, h=663.4)
      │ size: Size(411.4, 663.4)
      │ metrics: 100.0% useful (1 bad vs 2112 good)
      │ diagnosis: this is an outstandingly useful repaint boundary and
      │   should definitely be kept
      │
```
Repository: flutter
Issue: Highlight draws above Splash (which when opaque causes Splash to disappear)
Labels: framework,f: material design,customer: posse (eap),P3,team-design,triaged-design

Re: InkWell (and everything that uses it).

If you use opaque (alpha = 255) colors or trigger multiple highlight events then the highlight layer will be rendered above the splash (or previous splash). I spoke briefly to @Hixie about it and the solution is probably to create a hierarchy or manager to ensure that the layers are always rendered in the correct order.

It is easy to test using this code:

```dart
    final Color highlightColor = new Color(0xFFFF0000);
    final Color splashColor = new Color(0xFF0000FF);
    var mainWidget = new Material(
      child: new Center(
        child: new Container(
          width: 200.0,
          height: 60.0,
          child: new InkWell(
            highlightColor: highlightColor,
            splashColor: splashColor,
            onTap: () {},
          ),
        ),
      ),
    );
```

You will see that the highlight will fade in over the top of the splash.
Repository: flutter
Issue: Add description for why some dependencies are needed in doctor
Labels: tool,t: flutter doctor,P3,team-tool,triaged-tool

We're asking users to install more and more stuff. Some are more self evident like xcode. But why the user needs the six python module and cocoapods are a bit more obscure. We should probably explain why they're needed on the website or in doctor and what happens if they don't have them.
Repository: go
Issue: cmd/compile: clumsy rematerialization in mapassign_fast*
Labels: Performance,compiler/runtime

On 73912a1b91

If you disassemble `runtime.mapassign_fast32` on ARM, you'll find the following code generated for the bucket probing loop:
```
  0.34 │ d4:   cmp    ip, #8
       │     ↓ bcs    1a0
       │       ldrsb  fp, [r2]
       │       add    lr, r2, ip
       │       ldrb   r0, [lr] 
       │       and    r3, r5, #255
       │       cmp    r3, r0
       │     ↓ beq    13c
       │       cmp    r0, #0
 39.68 │     ↓ bne    104
       │       cmp    r7, #0
       │     ↓ beq    114              ; jumps just past this loop
       │104:   add    ip, ip, #1
  0.20 │       ldr    r0, [sp, #28]    ; <-- clobbered in loop
       │       mov    r3, #1           ; <-- clobbered in loop
       │     ↑ b      d4
```
(The `ldr r0, [sp, #28]` is reloading a spill of the variable `bucket`.)

The `beq 114` branch jumps forwards to a block that uses `r0` and `r3`. I'd expect the values in those registers to be rematerialized in that block, rather than in the body of a loop. (They don't appear to be live on any other edges out of this loop.)

Found while investigating #19495
Repository: electron
Issue: Allow specifying udp port range for webrtc
Labels: enhancement :sparkles:,beginner friendly

It would be good to be able to provide some values for the policies that can be found here:
 chrome://policy/
(Tick the box "Show policies with no value set")

For instance, this will allow a developer to set a particular range of UDP port for WebRTC (policy named WebRtcUdpPortRange) and avoid issue with some firewall restrictions.
Repository: go
Issue: x/mobile: gobind reverse bindings mistakes struct fields with embedding a java class
Labels: mobile

### What version of Go are you using (`go version`)?
go version go1.8 linux/amd64

### What operating system and processor architecture are you using (`go env`)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/micro/Workspace"
GORACE=""
GOROOT="/usr/lib/go"
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build006260206=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

### x/mobile version
my x/mobile is updated to the latest commit in Date:   Tue Feb 21 21:57:37 2017 +0100

### What did you do?
I've created an `MainActivity` and embedded `android.app.Activity`. Then I added a `android.webkit.WebView` field to the struct and ran `./gradlew assembleDebug`.
Here is the [code](https://play.golang.org/p/mB8gNDgxyG) and [build.gradle](https://pastebin.com/ATxqqfV4)

### What did you expect to see?
Successfully compile and build an apk.

### What did you see instead?
```
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
:prepareComAndroidDatabindingAdapters121Library UP-TO-DATE
:prepareComAndroidDatabindingLibrary121Library UP-TO-DATE
:prepareComAndroidSupportSupportV42103Library UP-TO-DATE
:prepareDebugDependencies
:compileDebugRenderscript UP-TO-DATE
:generateDebugResValues UP-TO-DATE
:generateDebugResources UP-TO-DATE
:mergeDebugResources UP-TO-DATE
:dataBindingProcessLayoutsDebug UP-TO-DATE
:compileDebugAidl UP-TO-DATE
:generateDebugBuildConfig UP-TO-DATE
:gobindDebug
type test1.MainActivity struct{Java/android/app.Activity; MyWebView Java/android/webkit.WebView} embeds more than one Java class; only one is allowed.
type test1.MainActivity struct{Java/android/app.Activity; MyWebView Java/android/webkit.WebView} embeds more than one Java class; only one is allowed.
type test1.MainActivity struct{Java/android/app.Activity; MyWebView Java/android/webkit.WebView} embeds more than one Java class; only one is allowed.
type test1.MainActivity struct{Java/android/app.Activity; MyWebView Java/android/webkit.WebView} embeds more than one Java class; only one is allowed.
:gobindDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':gobindDebug'.
> Process 'command '/home/micro/Workspace/bin/gobind'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
```

I think that `gobind` mistakes the struct fields with embedding a java class.
Repository: go
Issue: runtime: redirect println(runtime.writeErr) to NSLog(asl_log) on iOS
Labels: Proposal,Proposal-Accepted,compiler/runtime

Please answer these questions before submitting your issue. Thanks!

### What version of Go are you using (`go version`)?
go version go1.7.5 darwin/amd64

### What operating system and processor architecture are you using (`go env`)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH=""
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/m9/qtbxkp6s3p96fk54rln7qhj80000gp/T/go-build412033723=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"


### What did you do?
Get a uncatch panic on ios in network extension process.As I can not attach xcode to that process.I can only use devices window of xcode to view the NSLog output from that process.  


### What did you expect to see?
See panic message in NSLog output of that network extension process.

### What did you see instead?
Nothing.