sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Support Xiami MV (Taobao video player)
Labels: site-support-request

Hi,
I'm using linux YouTube-dl to download a video from xiami.com;
the command is:
```shell
youtube-dl -v 'https://www.xiami.com/mv/K6YmI0'
```
And I got the following output:
```shell
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.xiami.com/mv/K6YmI0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.12.23
[debug] Python version 2.7.12 - Linux-4.4.0-119-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.14-0ubuntu0.16.04.1, avprobe 2.8.14-0ubuntu0.16.04.1, ffmpeg 2.8.14-0ubuntu0.16.04.1, ffprobe 2.8.14-0ubuntu0.16.04.1
[debug] Proxy map: {}
[generic] K6YmI0: Requesting header
WARNING: Falling back on generic information extractor.
[generic] K6YmI0: Downloading webpage
[generic] K6YmI0: Extracting information
ERROR: Unsupported URL: https://www.xiami.com/mv/K6YmI0
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2163, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2539, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2528, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: syntax error: line 4, column 0
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 438, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3063, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.xiami.com/mv/K6YmI0
```
Seems like YouTube-dl don't support it.
FIX IT plz, thx
Repository: youtube-dl
Issue: Support Better Homes and Gardens (BHG)
Labels: site-support-request

## 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 this: `[x]`)
- Use the *Preview* tab to see what your issue will actually look like

---

### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2018.05.18*. 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 **2018.05.18**

### Before submitting an *issue* make sure you have:
- [x] At least skimmed through the [README](https://github.com/rg3/youtube-dl/blob/master/README.md), **most notably** the [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones
- [x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

### 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**):
- Single video: https://www.bhg.com.au/koala-hospital?category=TV
- Single video: https://www.bhg.com.au/magnolia-manor?category=TV


Note that **youtube-dl does not support sites dedicated to [copyright infringement](https://github.com/rg3/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free)**. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

---

### Description of your *issue*, suggested solution and other information

Please add support for https://www.bhg.com.au/ site.  Thank you
Repository: pytorch
Issue: [Caffe2][Caffe] Caffe to Caffe2 ParseError
Labels: caffe2

`google.protobuf.text_format.ParseError: 78:5 : Message type "caffe.PoolingParameter" has no field named "torch_pooling".
`

So I am trying to convert from Caffe to Caffe 2 with custom pooling parameter using floor and ceil.

implemented it like this in `pooling_layer.cpp`
```
template <typename Dtype>
void PoolingLayer<Dtype>::Reshape(const vector<Blob<Dtype>*>& bottom,
      const vector<Blob<Dtype>*>& top) {
//unrelated code
switch (this->layer_param_.pooling_param().torch_pooling()) {
/// implementation
    }
}
```


Found out on [caffe_translator.py](https://github.com/caffe2/caffe2/blob/master/caffe2/python/caffe_translator.py) line 521, that facebook has basically the same thing.
```
        # In the Facebook port of Caffe, a torch_pooling field was added to
        # map the pooling computation of Torch. Essentially, it uses
        #   floor((height + 2 * padding - kernel) / stride) + 1
        # instead of
        #   ceil((height + 2 * padding - kernel) / stride) + 1
        # which is Caffe's version.
        # Torch pooling is actually the same as Caffe2 pooling, so we don't
        # need to do anything.
```

I dont exactly understand how to register it so the parser will understand it.
I tried, in `caffe.proto`:

```
message LayerParameter {
  optional PoolingParameter torch_pooling = 149;
```

Is there any documentation how facebook implemented its torch_pooling? I didn't find any information on the internet.

If the question above is unansverable, can you help me to register that pooling parameter to be parsed succesfully?
Repository: gin
Issue: how do i get response body in after router middleware?
Labels: question

rt

```
r := gin.Default()
r.GET("/test",handler,middleware())

func middleware() gin.HandlerFunc{
// get response body in here;
...
}
```
Repository: rust
Issue: Higher ranked trivial bounds are not checked
Labels: C-enhancement,A-trait-system,T-compiler,T-types,S-types-tracked,A-higher-ranked

As can be seen in the example:
```rust
trait Trait {}
// Checked
fn foo() where i32 : Trait {}
// Not checked.
fn bar() where for<'a> fn(&'a ()) : Trait {}
```
In light of #2056 this will become just a lint, but still we should lint in both cases rather than just the first. This would be fixed by having well-formedness not ignore higher-ranked predicates. See #50815 for an attempted fix which resulted in too many regressions, probably for other bugs in handling higher-ranked stuff. We can try revisiting this after more chalkification.
Repository: electron
Issue: Electron defaults to en-US and MM/dd/YY date formats regardless of system settings
Labels: platform/windows,bug :beetle:,blocked/upstream ❌,2-0-x,4-2-x,5-0-x,6-1-x,7-1-x,10-x-y,stale-exempt

* Electron Version: 2.0.0, 4.2.5
* Operating System (Platform and Version): Windows 10
* Last known working Electron version: Unknown

**Expected Behavior**
Electron should default to the OS's current culture/locale and date format settings.

**Actual behavior**
Electron defaults to en-US and the MM/dd/YY format for dates. More specifically:
- Entering `navigator.language` should return whatever my OS is set to.
- Entering `new Date().toLocaleString()` should return a date string in the format set by my OS.

**To Reproduce**
1. If in the US, change your OS language/region to something else (like United Kingdom or Sweden).
2. Install and run the Electron Quick Start sample application.
3. Open the developer tools and enter `navigator.language` in the console window.
4. In the console window, enter `new Date().toLocaleString()`.
Repository: pytorch
Issue: Inserting a tensor into a python dict causes strange behavior
Labels: todo,module: nn,triaged

Reported from https://discuss.pytorch.org/t/why-tensor-is-hashable/18225 
```
T = torch.randn(5,5)
c = hash(T)  # i.e. c = 140676925984200
dic = dict()
dic[T] = 100
dic[c] 
RuntimeError: bool value of Tensor with more than one value is ambiguous.
```

I'm not sure if we support using Tensors as keys in python dicts; but Tensor does have a __hash__ method.

cc @albanD @mruberry
Repository: pytorch
Issue: Conv3D can be optimized for cases when kernel is spatial (probably)
Labels: module: performance,module: convolution,triaged

While using 3D CNNs we may need to use kernels with temporal dimension 1 (i.e. 1xHxW kernel), example 3D Resnet.

It would be similar to using a 2D Conv on reshaped input. What I have observed is that if i reshape, then do a 2D conv and then reshape back I get quicker results than 3D conv (which is maybe not very surprising).

[Here](https://discuss.pytorch.org/t/conv3d-can-be-optimized-for-case-when-no-temporal-stride-done/18184) is link to form post I created referencing this issue.

While measuring speed I used `torch.cuda.synchronize` so I hope my calculations were correct. 

[Here](https://www.cse.iitb.ac.in/~namanjain/test2DConv.py) is the script I used for method using 2D Convolutions and [here](https://www.cse.iitb.ac.in/~namanjain/test3DConv.py)
is the one that used plane 3D convs.

I might have miscalculated the times but my observations showed scope of improvement which I believe would be useful..

What do you guys think???



cc @VitalyFedyunin @ngimel
Repository: flutter
Issue: Let’s Rewrite Buildroot
Labels: team,engine,P2,team-engine,triaged-engine

The current buildroot was forked from Chromium many years ago. Due to different project priorities, a lot of features were tacked on in an entirely ad-hoc fashion. Changing project priorities and the lack of a clear owner has left a lot of unused cruft in the source tree.

For instance, there are definitions for platforms that don’t exist (fnl), or, have no users in the engine source tree (cros). Many toolchain definitions reference toolchains that don’t exist at all (GCC toolchains and many of the toolchains for architectures that we don’t target). There are also tools and templates for features that we no longer use (like preparing APKs in the source tree). Many unused python and shell utilities reference Chromium infrastructure.

Many of the features we want to add support for are not fully implemented and the existing definitions cause confusion. This includes adding support for sanitizers or supporting custom toolchains and sysroots. This technical debt is currently limiting development velocity and developer productivity.

The Flutter engine is a relatively simple project that would be better served with a simpler buildroot. I propose we write one from scratch.
Repository: TypeScript
Issue: Support @param tag on function type
Labels: Suggestion,In Discussion,Domain: JSDoc,Domain: Signature Help,Domain: Quick Info

## Examples

```ts
/**
 * @param a A doc
 * @param b B doc
 */
type F = (a: number, b: number) => number;
```

Hover over `a` or `b` -- I would expect to see parameter documentation.
It would also be nice to get it at `a` in `const f: F = (a, b) => a + b;`.
Repository: go
Issue: net/http: investigate and fix uncaught allocations and regressions
Labels: Performance,NeedsInvestigation

I just made a fix for https://golang.org/issue/25383 with https://go-review.googlesource.com/c/go/+/113996 and that CL just puts a bandaid on the issue which was a regression that was manually noticed by @Quasilyte. 

The real issue as raised by @bradfitz is that there have been a bunch of allocations and regressions that have crept into net/http code over the past couple of months/years, that are more concerning.

This issue is to track the mentioned the problem raised. I am currently too swamped to comprehensively do investigative and performance work but if anyone would like to take on this issue or would like to work on this for Go1.11 or perhaps during Go1.12 or so, I would be very happy to help out whether pairing or as a "bounty", please feel free to reach out to me.
Repository: go
Issue: x/tools: write release tool to run your package's callers' tests
Labels: NeedsFix

In https://github.com/golang/go/issues/24301#issuecomment-390788506 I proposed in a comment:

> We've been discussing some sort of `go release` command that both makes releases/tagging easy, but also checks API compatibility (like the Go-internal `go tool api` checker I wrote for Go releases). It might also be able to query `godoc.org` and find callers of your package and run their tests against your new version too at pre-release time, before any tag is pushed. etc.

And later in that issue, I said:

> With all the cloud providers starting to offer pay-by-the-second containers-as-a-service, I see no reason we couldn't provide this as an open source tool that anybody can run and pay the $0.57 or $1.34 they need to to run a bazillion tests over a bunch of hosts for a few minutes.

@SamWhited and @mattfarina had objections (https://github.com/golang/go/issues/24301#issuecomment-390792056, https://github.com/golang/go/issues/24301#issuecomment-390794717) about the inclusivity of such a tool, so I'm opening this bug so we don't cause too much noise in the other issue.

Such a tool would involve:

* querying a service (such as godoc.org or anything implementing the "Go workspace abstraction") to find your callers
* running the tests (or a fraction thereof) either
  * locally, possibly overnight
  * on a cloud provider of your choice (AWS Fargate, Azure Container Service, Digital Ocean, GCP, etc)

... and telling you if they pass before your change, but fail after your change, so you can release a new version of your package with confidence.

In local mode, it'd use your local GOOS/GOARCH. On cloud, Linux containers are cheapest, but it could also spin up Windows VMs like we do with Go. (Each Go commit gets a fresh new Windows VM that boots in under a minute and runs a few tests and then the VM is destroyed).

None of this costs much, and the assumption is that this would be used by people (optionally) who are willing to pay for the extra assurance, and/or those whose time needed to fix regressions later is worth more than the cloud costs.

And maybe some cloud CI/CD company(s) could sponsor such builders.
Repository: pytorch
Issue: [Caffe2] Align Element-Wise Ops Broadcasting to Numpy
Labels: caffe2

- [x] Add
- [x] Div
- [x] Mul
- [ ] Pow
- [x] Sub
- [ ] And
- [ ] Or
- [ ] Xor
- [x] Equal
- [x] Greater
- [x] Less
- [ ] Gemm
- [ ] PRelu
Repository: angular
Issue: bug happened when animations work with ng-content
Labels: type: bug/fix,area: animations,freq2: medium,P3

<!--
PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.

ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.
-->

## I'm submitting a...
<!-- Check one of the following options with "x" -->
<pre><code>
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:
</code></pre>

## Current behavior
<!-- Describe how the issue manifests. -->

When there is an animation in the parent div of ng-content, the animation in ng-content will break and go wrong.

## Expected behavior
<!-- Describe what the desired behavior would be. -->
animation works fine.

## Minimal reproduction of the problem with instructions
<!--
For bug reports please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via
https://stackblitz.com or similar (you can use this template as a starting point: https://stackblitz.com/fork/angular-gitter).
-->

https://stackblitz.com/edit/angular-36yemx?file=src%2Fapp%2Fcontent.component.html

click toggle button twice, you can see all `span` are gone, which expected to display again with animations


![11_51_17__05_22_2018](https://user-images.githubusercontent.com/1506722/40341359-51fe9480-5db7-11e8-8819-d781b386f288.jpg)







## What is the motivation / use case for changing the behavior?
<!-- Describe the motivation or the concrete use case. -->


## Environment

<pre><code>
Angular version: latest
<!-- Check whether this is still an issue in the most recent Angular version -->

Browser:
- [x] Chrome (desktop) version latest
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  <!-- run `node --version` -->
- Platform:  <!-- Mac, Linux, Windows -->

Others:
<!-- Anything else relevant?  Operating system version, IDE, package manager, HTTP server, ... -->
</code></pre>

remove animation in the `content component` or do it without `ng-content`, every thing will be ok
Repository: flutter
Issue: Circular Progress Indicator CPU Spike 
Labels: framework,f: material design,c: performance,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-design,triaged-design

My Flutter application heats up my MacBook Pro Late 2015 15" whenever I use a Circular Progress Indicator on the Android Emulator (Running Nougat)

## Steps to Reproduce

<!--
     Please tell us exactly how to reproduce the problem you are running into.

     Please attach a small application (ideally just one main.dart file) that
     reproduces the problem. You could use https://gist.github.com/ for this.

     If the problem is with your application's rendering, then please attach
     a screenshot and explain what the problem is.
-->

1. Use CircleProgressIndicator Widget
Repository: flutter
Issue: Support TextSpan in TextFields
Labels: a: text input,c: new feature,framework,P3,team-framework,triaged-framework

Android's `EditText` and `TextView` both support rich text spans.
But in Flutter, only `RichText` widget support rich text spans.
`TextField` should support rich text spans natively using `TextSpan`.

Android example of using text span in edit text component:

![image](https://user-images.githubusercontent.com/3154529/40371551-51f279c2-5e00-11e8-9e0e-f923af4b4ecb.png)
Repository: vscode
Issue: Intellisense tooltip with filter category like Visual Studio
Labels: feature-request,suggest


![](https://www.visualstudio.com/wp-content/uploads/2018/05/assisted-intellisense@2x-800x436.jpg)

It would be awesome if in the moment to bring the intellisense of properties or classes on Typescript and C# or other language we can filter this like the little icons on the bottom of the tooltip as visual studio,
or control + shift + p + @: but for the intellisense.
Repository: TypeScript
Issue: Add `SharedWorker` to the library
Labels: Bug,Help Wanted,Domain: lib.d.ts

Details in https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker

This should work
```ts
var myWorker = new SharedWorker('worker.js');
```
Repository: electron
Issue: serviceWorkerRegistration.showNotification does not work
Labels: enhancement :sparkles:,platform/all,2-0-x,5-0-x,6-0-x,6-1-x,9-x-y,11-x-y

* Electron Version: 1.8.x - 2.x
* Operating System (Platform and Version): Win, Linux, MacOSX
* Last known working Electron version: no

**Expected Behavior**
notification should be shown

**Actual behavior**
notification not shown

**To Reproduce**
here example: https://github.com/dregenor/showNotification.git
1) clone, 
2) npm install, 
3) npm start
click "Show Notification"

```sh
$ git clone https://github.com/dregenor/showNotification.git -b master
$ npm install
$ npm start
```

in browser all works fine.
example:
1) open src folder and start simpleHttp server
```sh
python -m SimpleHTTPServer 8080
```
2) open in Google Chrome http://127.0.0.1:8080
3) press "Show Notification" button

result:
![image](https://user-images.githubusercontent.com/1700057/40380988-33cf1c4a-5e03-11e8-8132-498a43fdecb4.png)
Repository: pytorch
Issue: [feature request] Add Local Contrast Normalization 
Labels: module: nn,triaged,enhancement

## Issue description
As mentioned in this paper  :- http://yann.lecun.com/exdb/publis/pdf/jarrett-iccv-09.pdf
I noticed that Local Response Norm is present. This is will be a good addition too.
I have an implementation ready and can create a PR soon, if approved.


cc @albanD @mruberry
Repository: opencv
Issue: JVM crash while reading from camera
Labels: bug,category: videoio(camera)

##### System information (version)
- OpenCV => 3.4.1
- Operating System / Platform => OpenSUSE Leap
- Compiler => gcc 4.8.5

##### Detailed description
```
uvcvideo: Failed to query (GET_CUR) UVC control 4 on unit 1: -110 (exp. 4).
uvcvideo: Failed to query (GET_CUR) UVC control 3 on unit 1: -110 (exp. 1).
 libv4l2: error setting pixformat: Input/output error
 VIDEOIO ERROR: libv4l unable to ioctl S_FMT
uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
 VIDIOC_G_FMT: Bad file descriptor
  ERROR: V4L: Unable to determine size of incoming image
 *** Error in `/usr/lib64/jvm/jre/bin/java': double free or corruption (fasttop): 0x00007f93200a40e0 ***
 ======= Backtrace: =========
 /lib64/libc.so.6(+0x740ef)[0x7f937f4bc0ef]
 /lib64/libc.so.6(+0x79646)[0x7f937f4c1646]
 /lib64/libc.so.6(+0x7a393)[0x7f937f4c2393]
 /usr/lib64/libopencv_videoio.so.3.4(+0x173c2)[0x7f93243993c2]
 /usr/lib64/libopencv_videoio.so.3.4(+0x175e4)[0x7f93243995e4]
 /usr/lib64/libopencv_videoio.so.3.4(cvReleaseCapture+0x1f)[0x7f93243891df]
 /usr/lib64/libopencv_videoio.so.3.4(_ZNK2cv14DefaultDeleterI9CvCaptureEclEPS1_+0x15)[0x7f9324389205]
 /usr/lib64/libopencv_videoio.so.3.4(+0x7229)[0x7f9324389229]
 /usr/lib64/libopencv_videoio.so.3.4(_ZN2cv12VideoCapture7releaseEv+0x86)[0x7f9324388e36]
 /usr/share/OpenCV/java/libopencv_java341.so(Java_org_opencv_videoio_VideoCapture_release_10+0x15)[0x7f932533a7c5]
 [0x7f9369017e47]
```

This doesn't happen consistently (maybe one out of 50 attempts to open the camera), but it always includes the uvcvideo errors (from the kernel) and v4l errors.

When this happens the calls to `open` and `isOpen` on `VideoCamera` both return true, but I can detect that there's a problem by setting the resolution, reading back the resolution and seeing that it didn't take. If at that point I don't call `release` i can avoid this particular crash, but then the JVM still crashes a few seconds later in some random place.

I saw the same issue with OpenCV 3.1.