sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: [europeantour] redesigned with brightcove
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2019.09.28. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2019.09.28**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.europeantour.com/european-tour/news/video/arnaus-i-m-really-proud-of-myself/


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

The video https://www.europeantour.com/european-tour/news/video/arnaus-i-m-really-proud-of-myself/
is associated with these URLs
https://secure.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=6092287066001&pubId=5136026580001&secure=true
https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=6092302032001&secure=true&pubId=5136026580001&videoId=6092287066001
but plugging either of them into the youtube-dl command line still gives the 'Unsupported URL' error at the moment.
Repository: TypeScript
Issue: Infering type of optional parameter of lambda function is broken when passed to generic function.
Labels: Bug

**TypeScript Version:**  3.7.0-beta, nightly and older ones

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
optional parameter infer lambda generic
**Code**

```ts
declare function noop<T>(val: T): T;

const f = (a: string, b = 23) => b;

// reports "Parameter 'b' implicitly has an 'any' type."
// broken since v3.5.1, older versions work well
const foo = noop((a: string, b = 23) => b);  

// (a: string, b?: number) => number
const bar = noop(f);
 
declare function noop2<T extends (...params: any[]) => any>(val: T): T;

// (a: string, b?: any) => any (BUG)
const foo2 = noop2((a = 23) => a);  // broken on all versions

// (a: string, b?: number) => number
const bar2 = noop2(f);
```

**Expected behavior:**

`foo*` and `bar*` should all have the same type.

**Actual behavior:**

In the first case, the compiler complains that it can't infer the type of optional argument of lambda forwarded to `noop`, and in the second case it silently assigns `any` type to `b` instead of `number`

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->

https://www.typescriptlang.org/play/?ts=Nightly&ssl=11&ssc=23&pln=1&pc=1#code/CYUwxgNghgTiAEAzArgOzAFwJYHtX1RxwAcAeAFQD4AKANyggC55yBKZ8gbgFgAoPlOmx4k1KMwDOGGFlQBzADTwARvAC88AEwBmVvADe8OBmQx8UTvAC+fPmDxSkRdQSLFqYydNmKVLnXpqlPBQrJZ2DhgqsC6EJNSIYXzwfKCQsAiCmLj4ccSaFPAgAB4YIKjAEvDUAHR1xLBQALYSzFCoAJ4A2gC6gcHtHTT0TCzsLDz8vPaojohEmrFumh7i8FIy8kqqGgHqA2Ep05HRMIsaeSuJnEA

**Notes**
The mentioned versions of typescript are not exact, I just used TypeScript playground and the set of available versions there.
Repository: pytorch
Issue: batch_norm_elemt_cuda_template does not use its argument epsilon
Labels: module: bc-breaking,module: nn,module: cuda,triaged

In the internal function [`batch_norm_elemt_cuda_template`](
https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/cuda/Normalization.cuh#L672) epsilon is passed to [`batch_norm_transform_input_kernel`](https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/cuda/Normalization.cuh#L159), but `train=true` template parameter is used, so in fact epsilon is not used there either.

Proposal: remove `epsilon` argument from `batch_norm_elemt_cuda_template` and `torch.batch_norm_elemt` (since it's not used)

cc @ezyang @SsnL @gchanan
Repository: pytorch
Issue: [JIT] script::Module API parity with nnmodule
Labels: oncall: jit,triaged

Our script::Module has slightly different method names and behaviors compared to nn.Module. It shouldn't but it will take some to develop and test an equivalent API. We should:

1. design/review equivalent C++ API functions for nn.Module functions
2. implement and test the design
3. develop a plan to deprecate the old methods on script::Module and implement them in terms of the new methods.

For example: https://github.com/pytorch/pytorch/issues/27144

cc @suo
Repository: pytorch
Issue: [JIT] Figure out how to easily investigate memory usage issues issues
Labels: oncall: jit,triaged

e.g. https://github.com/pytorch/pytorch/issues/25267
 And other internal reports

cc @suo
Repository: opencv
Issue: Prepare a guideline for universal intrinsics development
Labels: category: documentation,RFC

##### Detailed description
There is an active extension of Universal Intrinsics utilization by the library and as a result active development of new UI functionality. Also there are ongoing efforts to extend UI support to new architectures.
All that leads to discussion on UI API and structure that fits everyone. So it's reasonable to discuss and prepare a development guideline to refer through development of new UI features.
Repository: flutter
Issue: Let's teach GN to build the final bucket artifacts for the engine
Labels: team,engine,P2,team-engine,triaged-engine

Today, the recipes need to know details of output files of the build.

We should just have GN build targets produce the zip files we want, along with some kind of file showing the paths to the outputs we want the recipe to upload.  That way, the recipe would be able to just take those outputs and not need to be updated when we change build rules or file names. The recipe could then just know how to read the list of output files and upload them.

/cc @jason-simmons @chinmaygarde @iskakaushik @cbracken @Hixie
Repository: go
Issue: cmd/doc: load packages with golang.org/x/tools/go/packages
Labels: NeedsFix,GoCommand,Tools

cmd/doc currently uses `go/build.Import` to locate and import packages. It should use `golang.org/x/tools/go/packages`.

This may be a little complicated because cmd/doc supports a number of shorthand formats for specifying the package to display documentation for, so we may not have the full package path. However, `go/build` has limited support for modules, and we're considering deprecating it eventually. Using `go/packages` could also simplify `cmd/doc`, since it wouldn't need code for parsing Go source.
Repository: electron
Issue: BrowserWindow.isFocused() can return true when it's not (Windows only)
Labels: platform/windows,bug :beetle:,8-x-y,6-1-x,11-x-y

### Preflight Checklist
* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:** `6.0.11`
* **Operating System:** `Windows 7` & `Windows 10 (1803)`
* **Last Known Working Electron version:** Unknown

### Expected Behavior
Window should be focused and allow typing

### Actual Behavior
Window reports being focused, but it's not.

Strangely, if I call the exact same method I used to create the demo video below via a global hotkey, the window is properly focused.

Another indication that focus truly isn't being transferred to the window is that Windows Aero darkens the glass effect on the focused window, and whatever previous window was focused does not lighten as it should when losing focus.

### To Reproduce
Unknown. I have other windows in my application that work perfectly using the same, very basic:

```
win.show();
```
I also tried 

```js
win.showInactive();
win.focus();
```

### Screenshots
https://recordit.co/ydntE6o9dt

You can see in the video the window reports being focused and the `input` as the `document.activeElement`. The input appears to be focused (it has the blue outline and blinking caret) - but it's not actually focused - or at least that's the only way it will allow me to type into the input. 

When I move focus to another window, it correctly almost always detects that it does not have focus. It failed once to report lost focus when I moved focus to Sublime Text) 

When I re-focus the window with my mouse, rather than programmatically, only then does it actually become focused.

### Additional Information

I tested Mac 10.13 and Linux Mint 19 and the same code works as intended there.
Repository: pytorch
Issue: [JIT] List Comprehensions With Ifs not Supported 
Labels: oncall: jit,triaged

## 🐛 Bug

## To Reproduce

```
def func():
    return [v for k, v in x.items() if k {"1": 1, "2": 2} in ["1"]]
torch.jit.script(func)
```




cc @suo
Repository: pytorch
Issue: [JIT] ndimension not supported
Labels: oncall: jit,triaged

## 🐛 Bug

```
def fn(x)
     return x.ndimension()
torch.jit.script(fn)
```

cc @suo
Repository: youtube-dl
Issue: www.thesportschronicle.com (Blue Billywig Video player)
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2019.09.28. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2019.09.28**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

https://www.thesportschronicle.com/rugby/nigel-owens-rugby-world-cup/

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Plays OK in Firefox, Safari, Chrome.  youtube-dl does not currently support it
Repository: flutter
Issue: Message loops in TLS slots may not be collected.
Labels: engine,from: sanitizer,P2,team-engine,triaged-engine

As written, these should be collected when the thread dies, however, leak sanitizer seems to indicate that these are not collected. Possible false positive.

```
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x11a77f522 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x66522)
    #1 0x10e2b63cc in fml::RefPtr<fml::TaskRunner> fml::internal::MakeRefCountedHelper<fml::TaskRunner>::MakeRefCounted<fml::RefPtr<fml::MessageLoopImpl>&>(fml::RefPtr<fml::MessageLoopImpl>&&&) ref_ptr_internal.h:31
    #2 0x10e2b54fc in fml::RefPtr<fml::TaskRunner> fml::MakeRefCounted<fml::TaskRunner, fml::RefPtr<fml::MessageLoopImpl>&>(fml::RefPtr<fml::MessageLoopImpl>&&&) ref_ptr.h:231
    #3 0x10e2b523a in fml::MessageLoop::MessageLoop() message_loop.cc:41
    #4 0x10e2b5032 in fml::MessageLoop::MessageLoop() message_loop.cc:41
    #5 0x10e2b4f76 in fml::MessageLoop::EnsureInitializedForCurrentThread() message_loop.cc:32
    #6 0x111ece7a3 in flutter::testing::ThreadTest::SetUp() thread_test.cc:14
    #7 0x10cb23365 in flutter::testing::EmbedderTest::SetUp() embedder_test.cc:30
    #8 0x1121d7ed2 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) gtest.cc:2447
    #9 0x1121837e9 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) gtest.cc:2502
    #10 0x1121831db in testing::Test::Run() gtest.cc:2517
    #11 0x1121854c9 in testing::TestInfo::Run() gtest.cc:2698
    #12 0x112187ab9 in testing::TestSuite::Run() gtest.cc:2828
    #13 0x1121a0861 in testing::internal::UnitTestImpl::RunAllTests() gtest.cc:5285
    #14 0x1121e4fc2 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) gtest.cc:2447
    #15 0x11219fb40 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) gtest.cc:2502
    #16 0x11219f68c in testing::UnitTest::Run() gtest.cc:4873
    #17 0x111ece682 in RUN_ALL_TESTS() gtest.h:2453
    #18 0x111ece5e9 in main run_all_unittests.cc:9
    #19 0x7fff7c8aa3d4 in start (libdyld.dylib:x86_64+0x163d4)

```
Repository: godot
Issue: Multiple debug errors when breakpoint set in loaded script using `SceneTree`
Labels: bug,topic:editor,confirmed,topic:network

**Godot version:**
3.2.alpha1.official

**OS/device including version:**
Mac OS X Mojave

**Issue description:**
Multiple debug errors when breakpoint set in a loaded script from the main scene.
```
E 0:00:01:0044   is_refusing_new_network_connections: No network peer is assigned. Unable to get 'refuse_new_connections'.
  <C++ Error>    Condition ' !network_peer.is_valid() ' is true. returned: false
  <C++ Source>   core/io/multiplayer_api.cpp:822 @ is_refusing_new_network_connections()
  <Stack Trace>  somescript.gd:4 @ _init()
                 TestScript.gd:5 @ _ready()
```

**Main Scene**
![image](https://user-images.githubusercontent.com/930478/66356471-05ba1680-e939-11e9-8f37-9568a7011fe7.png)

**Loaded script**
![image](https://user-images.githubusercontent.com/930478/66356391-cdb2d380-e938-11e9-8db9-232f7f3f84c4.png)

**Steps to reproduce:**
Create a Main Control scene and add the following code:
```
extends Control
func _ready():
	var MySomescript = load("somescript.gd")
	var myInst = MySomescript.new()
	pass
```
Then create the script `somescript.gd `and add the following code:
```
extends SceneTree
var somevar = 20
var foo1='abcd'
func _init():
	print(foo1)
```

Run without breakpoints, no `is_refusing_new_network_connections` errors appear.

Set a breakpoint on the `var somevar = 20` line. Run the project and notice the multiple debugger errors.
Repository: flutter
Issue: Dart isolate group create callback called with incorrect signature.
Labels: engine,from: sanitizer,P2,team-engine,triaged-engine

Caught by undefined behavior sanitizer in the `shell_unittests` harness:

```
../../third_party/dart/runtime/lib/isolate.cc:164:44: runtime error: call to function flutter::DartIsolate::DartIsolateGroupCreateCallback(char const*, char const*, char const*, char const*, Dart_IsolateFlags*, std::__1::shared_ptr<flutter::DartIsolate>*, char**) through pointer to incorrect function type '_Dart_Isolate *(*)(const char *, const char *, const char *, const char *, Dart_IsolateFlags *, void *, char **)'
dart_isolate.cc:647: note: flutter::DartIsolate::DartIsolateGroupCreateCallback(char const*, char const*, char const*, char const*, Dart_IsolateFlags*, std::__1::shared_ptr<flutter::DartIsolate>*, char**) defined here
```
Repository: terminal
Issue: Terminal touch screen scrolling stops immediately once you lift your finger off the screen (touch scrolling is not inertial)
Labels: Help Wanted,Area-TerminalControl,Product-Terminal,Issue-Task,Priority-3

<!-- 
The "core team" sounds really douchey. I know better because I work with them personally, though.
-->

### Environment

_Windows build number:_ Windows 10 version 1903 [[Version 10.0.18362.388](https://support.microsoft.com/en-us/help/4524147)]
_Windows Terminal version:_ [0.5.2762.0](https://github.com/microsoft/terminal/releases/tag/v0.5.2762.0)
You need a touch screen monitor or a device with a built-in touch screen.

### Reproduction steps
1. Start Terminal and open a cmd.exe tab.
1. Run this command: `dir /a C:\Windows\System32`
1. After the command completes, try using your finger on the touch screen to scroll through the output, using quick, long flicks of the finger.

### Expected behavior

When you lift your finger, the text continues to scroll in the same direction for a short period, eventually slowing to a stop. This is what happens when you try the above steps in the original console window, or when you scroll a webpage using touch in most web browsers.

### Actual behavior

When you lift your finger, the text stops scrolling immediately.
Repository: flutter
Issue: ShellTest::InitializeWithDifferentThread causes thread sanitizer crash.
Labels: engine,from: sanitizer,P2,team-engine,triaged-engine

Caught by thread sanitizer in the `shell_unittests` target. This may be a false positive.

```
FATAL: ThreadSanitizer CHECK failed: /b/s/w/ir/kitchen-workdir/llvm-project/compiler-rt/lib/tsan/rtl/tsan_rtl_proc.cc:48 "((thr->proc1)) == ((nullptr))" (0x4b40000000000000, 0x0)
FATAL: ThreadSanitizer CHECK failed: /b/s/w/ir/kitchen-workdir/llvm-project/compiler-rt/lib/tsan/rtl/tsan_mman.cc:328 "((0)) != (0)" (0x0, 0x0)
ThreadSanitizer:DEADLYSIGNAL
==58641==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000116c949e6 bp 0x7e8001681d70 sp 0x7e8001681d50 T6482002)
==58641==The signal is caused by a READ memory access.
==58641==Hint: address points to the zero page.
    #0 __sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator32<__sanitizer::AP32>, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >, __sanitizer::LargeMmapAllocator<__sanitizer::NoOpMapUnmapCallback, __sanitizer::LargeMmapAllocatorPtrArrayStatic, __sanitizer::LocalAddressSpaceView> >::Allocate(__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*, unsigned long, unsigned long) <null>:23596976 (libclang_rt.tsan_osx_dynamic.dylib:x86_64+0x29e5)

==58641==Register values:
rax = 0x000000000000001d  rbx = 0x4b40000000014f88  rcx = 0x0000000000000009  rdx = 0x000000000000000b  
rdi = 0x00000000000001ff  rsi = 0x0000000000000000  rbp = 0x00007e8001681d70  rsp = 0x00007e8001681d50  
 r8 = 0x0000000116d29940   r9 = 0x0000000000000010  r10 = 0x00000000000000b3  r11 = 0x0000000000000004  
r12 = 0x0000000000007400  r13 = 0x0000000000000148  r14 = 0x4b4000000000db88  r15 = 0x0000000000000008  
ThreadSanitizer can not provide additional info.
SUMMARY: ThreadSanitizer: SEGV (libclang_rt.tsan_osx_dynamic.dylib:x86_64+0x29e5) in __sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator32<__sanitizer::AP32>, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >, __sanitizer::LargeMmapAllocator<__sanitizer::NoOpMapUnmapCallback, __sanitizer::LargeMmapAllocatorPtrArrayStatic, __sanitizer::LocalAddressSpaceView> >::Allocate(__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*, unsigned long, unsigned long)
==58641==ABORTING
[1]    58641 abort      ./out/host_debug_unopt/shell_unittests 

```
Repository: pytorch
Issue: Allow explicit gradients in torch.distributed.autograd.backward() API
Labels: triaged,module: rpc

The [torch.distributed.autograd.backward](https://github.com/pytorch/pytorch/blob/master/torch/csrc/distributed/autograd/init.cpp#L108) API only allows scalars as the roots and doesn't allow explicit gradient tensors. Similar to the [torch.autograd.backward](https://pytorch.org/docs/stable/autograd.html#torch.autograd.backward) API, we should allow explicit gradients (`grad_tensors`) in this API as well.

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini
Repository: flutter
Issue: Use of uninitialized value while accessing the pending tasks heap in the embedder task runner.
Labels: engine,from: sanitizer,P2,team-engine,triaged-engine

Caught by memory sanitizer while running `embedder_unittests` harness.

```
./third_party/libcxx/include/__hash_table:2137
./third_party/libcxx/include/unordered_map:1633
./flutter/shell/platform/embedder/embedder_task_runner.cc:39
./flutter/shell/platform/embedder/embedder_task_runner.cc:24
./flutter/runtime/dart_isolate.cc:245
./flutter/runtime/dart_isolate.cc:190
./flutter/runtime/dart_isolate.cc:739
./flutter/runtime/dart_isolate.cc:72
./flutter/runtime/runtime_controller.cc:75
./flutter/runtime/runtime_controller.cc:30
./third_party/libcxx/include/memory:3003
./flutter/shell/common/engine.cc:60
./third_party/libcxx/include/memory:3003
./flutter/shell/common/shell.cc:132
./flutter/fml/make_copyable.h:24
./third_party/libcxx/include/type_traits:3530
./third_party/libcxx/include/__functional_base:348
./third_party/libcxx/include/functional:1533
./third_party/libcxx/include/functional:1707
./third_party/libcxx/include/functional:1860
./third_party/libcxx/include/functional:2419
./flutter/fml/message_loop_impl.cc:121
./flutter/fml/message_loop_impl.cc:131
./flutter/fml/platform/linux/message_loop_linux.cc:89
./flutter/fml/platform/linux/message_loop_linux.cc:70
./flutter/fml/message_loop_impl.cc:90
./flutter/fml/message_loop.cc:49
./flutter/fml/thread.cc:34
./third_party/libcxx/include/type_traits:3530
./third_party/libcxx/include/thread:341
./third_party/libcxx/include/thread:351
```