sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Koreus.com
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.05.20. 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.05.20**
- [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.koreus.com/video/technique-emballer-velo-pliant.html
- Single video: https://www.koreus.com/video/acteurs-big-bang-theory-au-revoir.html

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Ytdl downloads the html page instead of the video. The video url is in the html file as plain text and can be downloaded with wget.
They recently updated their webplayer so older videos on the page still work properly (only newer videos are affected).
Repository: go
Issue: x/sys/unix: standardize Kevent_t Udata as integer, not pointer
Labels: help wanted,NeedsFix

`unix.SetKevent` only takes `mode`(eg. `Filter` field) and `flags` parameter.

Other fields also have different types depending on the ach/platform, say `Udata` which is either a `*byte` or a `int32`.

Since Go1 compat promise prevent us from changing the `SetKevent` function, perhaps it could be feasible to add new methods to the `Kevent_t` type to set the others fields, similar to `*Iovec.SetLen` for example.

`Fflags` and `Data` methods looks straightforward to implement, on the model of `SetKevent`, since types are integers on all platforms/archs.

However, so far, I am unsure about the type of the `Udata` parameter for the eponym method. I typically would do `kev.Udata = (*byte)(unsafe.Pointer(&foobar))` on my own currently for darwin/amd64, but I guess that exposing `unsafe.Pointer` as a parameter type is not a good solution.
Repository: godot
Issue:  Input.set_mouse_cursor doesn't immediately refresh the cursor in HTML5 exported games
Labels: bug,platform:web,topic:core,topic:porting,confirmed,documentation

**Godot version:**

3.1.1

**OS/device including version:**

Windows 10 (up-to-date) - Chrome (latest version) / Firefox (latest version)

**Issue description:**

When running a game on a browser, calling `Input.set_mouse_cursor` with a custom cursor will (often, see below) not update the cursor until the mouse is moved again. Sometimes (apparently only on Chrome), the cursor will also become hidden when you attempt to change it again into the same one (easily fixable by storing the last set cursor to not call it twice in a row, but still not ideal).

**Notes:**

This kinda happens randomly depending on browsers, settings, and maybe setup / graphic card / etc. On my own project, it only happens on Firefox, but sometimes stops occurring when debug is enabled. At work, it also happens on Chrome (same build of the game).

**Demo:**

https://pleesher.com/resources/temp/browser_cursor_bug/browser_cursor_bug.html

Wait until the screen is grey (scene fully loaded). Click anywhere to set the cursor, but try not moving the mouse right after doing so. The default cursor stays until you move it again. (As mentioned above, on Chrome, clicking again also makes the cursor disappear until the following move, and so on.)

**Steps to reproduce:**

```gdscript
extends Node2D

onready var alt_cursor = preload('res://left_ptr.png')

func _input(event):
	if event is InputEventMouseButton and event.button_index == BUTTON_LEFT and event.pressed:
		Input.set_custom_mouse_cursor(alt_cursor)
```

This is the exact code used in the demo above. left_ptr.png is a 32x32 cursor.
Repository: angular
Issue: Add Architect API documentation
Labels: feature,freq2: medium,P4,area: docs

<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅

Oh hi there! 😄

To expedite issue processing please search open and closed issues before submitting a new one.
Existing issues often contain information about workarounds, resolution, or progress updates.

🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->

# 📚 Docs or angular.io bug report

### Description
The PR for the [Architect Guide](https://github.com/angular/angular/pull/29964) mentions a lot of important Architect classes like `BuilderOutput` and `BuilderContext` but those the docs can't link to the API docs for those classes since the CLI APIs don't show up in the API docs.

## 🔬 Minimal Reproduction

### What's the affected URL?**
https://next.angular.io/api

### Expected vs Actual Behavior**
Expected
- Crticial, official, stable APIs are captured in the API docs

Actual
- Angular CLI APIs aren't available in the API docs

## 📷Screenshot
![Screen Shot 2019-05-20 at 19 00 11](https://user-images.githubusercontent.com/3506071/58057054-836bba00-7b31-11e9-93f4-2c664db68f79.png)


## 🌍  Your Environment

### Browser info
Chrome

### Anything else relevant?
https://github.com/angular/angular/pull/29964#discussion_r285753679
Repository: flutter
Issue: Audit all existing users of SkiaGPUObject<T> to ensure these are necessary.
Labels: engine,dependency: skia,P2,team-engine,triaged-engine

In the past, we have not had a good handle on which Skia objects are safe to dispose on the UI thread. This is because `dart:ui` objects that reference GL handles cannot be disposed on the UI thread without the corresponding GL objects leaking. To work around this, we devised the `SkiaGPUObject<T>` wrapper which holds an `sk_sp<T>` as well as a task runner on which all references to the Skia shared pointer have to be released. Excessive and unnecessary use of the task runner causes the delays in the disposal of Skia objects that may sometimes references large amounts of memory. With the aid of the Skia team, we should [audit existing users of `SkiaGPUObject<T>`](https://github.com/flutter/engine/search?q=SkiaGPUObject&unscoped_q=SkiaGPUObject) to ensure that we only use the same when absolutely necessary.
Repository: flutter
Issue: Delete old shader caches when the GPU driver, Skia or Flutter version is updated.
Labels: engine,dependency: skia,P2,team-engine,triaged-engine

Currently, the old shaders remain on disk. This is wasteful and we should collect the now invalid entries. @staniliev and @drwulf may have guidance on how Android and Chrome key their shader caches. We should emulate the same.
Repository: go
Issue: x/tools/go/analysis: running the same analysis with different sets of flags
Labels: NeedsInvestigation,FeatureRequest,Tools,Analysis

By convention, analyses are provided as singletons in package variables, a la `var Analysis = &analysis.Analyzer{...}`. Furthermore, analysis.Analyzer stores a flag.FlagSet for providing options to the analysis. However, this combination of singleton and FlagSet makes it difficult to run one analysis multiple times concurrently with different options. This becomes especially problematic when multiple independent tools coexist in the same address space and want to use the same analysis with different options, as they won't be coordinating with each other.

As far as I am aware, there is no suitable workaround.

/cc @matloob
Repository: flutter
Issue: [google_maps_flutter] Ability to show caption/label underneath the marker 
Labels: c: new feature,p: maps,package,team-ecosystem,P3,triaged-ecosystem

<!-- Thank you for using Flutter!

     Please check out our documentation first:
      * https://flutter.dev/
      * https://api.flutter.dev/

     If you can't find the answer there, please consider asking a question on
     the Stack Overflow Web site:
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     Please don't file a GitHub issue for support requests. GitHub issues are
     for tracking defects in the product. If you file a bug asking for help, we
     will consider this a request for a documentation update.

-->
I am using google_maps_flutter: ^0.5.13 in my app. When I add markers, there is no way to specify a caption\label under the marker. I do use InfoWindow option but this only gets displayed when user taps on it. What I need is a static text under each marker to show the user what that marker is for.
Repository: opencv
Issue: OpenCV causes Weblogic to shut down
Labels: affected: 2.4,incomplete,needs investigation

<!--
If you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses.
If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).

Please:

* Read the documentation to test with the latest developer build.
* Check if other person has already created the same issue to avoid duplicates. You can comment on it if there already is an issue.
* Try to be as detailed as possible in your report.
* Report only one problem per created issue.


This is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.
-->

##### System information (version)
<!-- Example
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
-->

- OpenCV => :2.4
- Operating System / Platform => :Redhat 6.5
- Compiler => :running in weblogic

##### Detailed description

The weblgoic process sometimes shuts down and leaves a log when the access is busy

java: jas_image.c:1387: jas_image_chclrspc: Assertion `j >= 0' failed.
/weblogic/user_projects/domains/wbqt/bin/startWebLogic.sh: line 180: 50660 Aborted

##### Steps to reproduce

<!-- to add code example fence it with triple backticks and optional file extension
    ```.cpp
    // C++ code example
    ```
 or attach as .txt or .zip file
-->
Repository: flutter
Issue: flutter screenshot should work in add-to-app
Labels: platform-android,tool,a: existing-apps,P3,team-android,triaged-android

It doesn't work currently unless on a Flutter screen on Android even though it's just using adb shell screencap.
Repository: node
Issue: stream: `end` cannot throw ERR_STREAM_DESTROYED after `destroy`
Labels: stream

<!--
Thank you for reporting a possible bug in Node.js.

Please fill in as much of the template below as you can.

Version: output of `node -v`
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
Subsystem: if known, please specify the affected core module name

If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you can.
-->

* **Version**:  12.1.0
* **Platform**: Darwin leaves 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64

<!-- Please provide more details below this comment. -->

In `objectMode` mode,  call `end` can receive null and also unable throw `ERR_STREAM_DESTROYED`.

```javascript
const fs = require('fs');
const { createWriteStream } = fs;

const ws = createWriteStream('./test.js', { objectMode: true });

ws.on('close', () => {
  console.log('ws close');
});

ws.on('error', (error) => {
  throw error;
});

ws.destroy();

setTimeout(() => ws.end(null, 'utf-8', () => {
  console.log('ws ended');
}), 1000);

/**
 * output:
 *  ws close
 *  ws ended
 */
```
Repository: flutter
Issue: Leaving the FlutterViewController hosting a webview breaks the next launch
Labels: platform-ios,engine,a: existing-apps,p: webview,package,P2,team-ios,triaged-ios

![Kapture 2019-05-20 at 21 48 04](https://user-images.githubusercontent.com/156888/58069254-575c3300-7b49-11e9-9202-bb9ce2913b42.gif)

Navigating between Flutter routes is ok, but navigating between native view controller and Flutter view controller leaves glitches the next time the webview is shown. The webview is blank, the nav bar with blur no longer renders, the page transition glitches. Works ok once the webview is removed.
Repository: TypeScript
Issue: [quick fix][typescript] Quick fix to change return type of method - ts(2322)
Labels: Suggestion,Awaiting More Feedback

Sample method that returns number instead of string. Quick fix should change return type to number. Now it does nothing.

```javascript
public someMethod(a: number): string {
        return 1;
}
```

![image](https://user-images.githubusercontent.com/2054009/58039343-68497c00-7b2a-11e9-9243-4ae464c9c147.png)
Repository: TypeScript
Issue: [quick fix][typescript] Quick fix to add method parameter if missing - ts(2554)
Labels: Suggestion,Awaiting More Feedback

Sample method that accepts only one parameter. Later in code I want to call this method with extra parameter. Quick fix action should add it for me. Now it does nothing.

```javascript
public someMethod(a: number):void {
 // ...
}
this.someMethod(1, 'test');
```

![image](https://user-images.githubusercontent.com/2054009/58039210-ef4a2480-7b29-11e9-8ffe-a26316ae9ae0.png)
Repository: TypeScript
Issue: Allow non-inherited static class members.
Labels: Suggestion,Awaiting More Feedback

## Search Terms
inheritance inherit static class extendStatics

## Suggestion
Provide a way to mark static class members as non-inherited.  This is particularly meaningful for factory methods.

## Use Cases
Static factory methods are often useful because they can be used for async construction of an object.  They also can be useful for providing alternative constructor implementations (effectively) since TypeScript doesn't support constructor overloads (without a bunch of conditional ugliness in the constructor).  Unfortunately, while the constructor for a subclass isn't inherited by the superclass, all static members are which means you cannot have a factory method like `create` or `from` in both the subclass and the superclass.  One of them gets the name, the other doesn't.

Looking at the emitted code, there is explicit code for emitting static class extension.  It would be nice if there were a way to tell the compiler to _not_ emit static extension for a particular static method.

## Examples
```typescript
class Point1 {
    public constructor(private readonly x: number) { }
}
class Point2 extends Point1 {
    public constructor(x: number, private readonly y: number) { super(x) }
    public static from = (point1: Point1, y) => new Point2(point1.x, y)
}
class Point3 extends Point2 {
    public constructor(x: number, y: number, private readonly z: number) { super(x, y) }
    public static from = (point2: Point2, z) => new Point3(point2.x, point2.y, z)
}
```
The above code currently fails to compile.  It would be nice if I could somehow annotate the `from` method on `Point2` such that it was _not_ inherited.  Currently, if I rename them to `from1` and `from2` then a user calling `Point3.from1(...)` will get back a `Point2` instead of the expected `Point3`.  When I am authoring a `Point2` factory method, I want to tell the compiler, "It doesn't make sense to call this static method from the context of a derived class".

## Checklist

My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: pytorch
Issue: Segmentation fault when use torch::from_blob
Labels: module: crash,module: cpp,module: abi,triaged

my code like this:


```c++
#include <torch/script.h>
#include <torch/torch.h> 
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>

#include <iostream>
#include <memory>
#include <string>
#include <vector>

/* main */
int main(int argc, const char* argv[]) {
  if (argc < 3) {
    std::cerr << "usage: example-app <path-to-exported-script-module> "
      << "<path-to-image>\n";
    return -1;
  }

  // Deserialize the ScriptModule from a file using torch::jit::load().
  std::shared_ptr<torch::jit::script::Module> module = torch::jit::load(argv[1]);

  assert(module != nullptr);
  std::cout << "load model ok\n";

  // Create a vector of inputs.
  std::vector<torch::jit::IValue> inputs;

  // load image with opencv and transform
  cv::Mat image;
  image = cv::imread(argv[2]);
  cv::cvtColor(image, image, CV_BGR2RGB);
  cv::Mat img_float;
  image.convertTo(img_float, CV_32F, 1.0);
  cv::Mat img_resize;
  cv::resize(img_float, img_resize, cv::Size(144, 288));
  //std::cout << img_float.at<cv::Vec3f>(56,34)[1] << std::endl;
  cv::imwrite("1.png",img_resize);
  auto img_tensor = torch::from_blob(img_resize.data, {1, 144, 288, 3});
  img_tensor = img_tensor.permute({0,3,1,2});
  img_tensor[0][0] = img_tensor[0][0].sub_(0.485).div_(0.229);
  img_tensor[0][1] = img_tensor[0][1].sub_(0.456).div_(0.224);
  img_tensor[0][2] = img_tensor[0][2].sub_(0.406).div_(0.225);
  // //auto img_var = torch::autograd::make_variable(img_tensor, false).data();
  inputs.push_back(img_tensor);
  
  // Execute the model and turn its output into a tensor.
  torch::Tensor out_tensor = module->forward(inputs).toTensor();
  std::cout << out_tensor.slice(/*dim=*/1, /*start=*/0, /*end=*/23) << '\n';

  printf("ok ok ok ok ok ok ok ok \n");
  return 0;
}
```

and the enc is: ubuntu16.04 cuda10 pytorch1.0

my input image size is 108*271

my network is resnet50

the code can print "ok ok ok ok ok ok ok ok",  then the error happens like this:
```
Thread 1 "example-app" received signal SIGSEGV, Segmentation fault.
std::_Function_handler<void (void*), torch::from_blob(void*, c10::ArrayRef<long>, c10::TensorOptions const&)::{lambda(void*)#1}>::_M_invoke(std::_Any_data const&, void*&&) (
    __functor=..., __args#0=<unknown type in /home/ulsee/often/lqc/Pedestrain attribute/Person-Reid/cpp/attribute-recognition/build/example-app, CU 0x0, DIE 0xc3f92>)
    at /usr/include/c++/5/functional:1871
1871            (*_Base::_M_get_pointer(__functor))(

```
Repository: rust
Issue: Doc comments can be passed to macros as literals
Labels: A-frontend,C-enhancement,A-macros,T-lang

Doc comments are the only tokens that cannot be passed to macros precisely, they are converted into a `#[doc = "text"]` form instead, which is a pretty big hack.
This conversion may change escaping in the text irrecoverably and can also change semantics in corner cases (e.g. `doc` starts going through name resolution).
Also, this is the single reason why doc comments may need a conversion at all (https://github.com/rust-lang/rust/issues/60935).

Lexically doc comments are raw string literals with weird quotes (`/**` + `*/` and `///` + `\n`).
Syntactically they certainly can be interpreted as attribute literals, similarly to how strings or integers are expression literals, and how `!` would be a type literal if it wasn't a punctuation lexically.
We can use this intuition for fixing the situation with passing doc comments to macros.

#### Declarative macros

The recently introduced `literal` matcher can start matching doc comments.

```rust
macro m($doc: literal) {
    $doc
    struct S;
}

m!(/** text */);
```

I don't think there are going to be any implementation issues with that.

#### Proc macros

We cannot add a new variant to `TokenTree` backward compatibly, but the content of `TokenTree::Literal` is only available through `to_string()` and is open for additions.

So, `literal.to_string()` can start returning things like `/// Text`.
Of course, `syn` and friends must be ready to get a result like this from stringifying a literal token.
Repository: angular
Issue: Template driven ngForm doesn't have a value on radio inputs
Labels: type: bug/fix,freq2: medium,area: forms,state: confirmed,forms: template-driven,P3

<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅

Oh hi there! 😄

To expedite issue processing please search open and closed issues before submitting a new one.
Existing issues often contain information about workarounds, resolution, or progress updates.

🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->


# 🐞 bug report

### Affected Package
<!-- Can you pin-point one or more @angular/* packages as the source of the bug? -->
<!-- ✍️edit: -->
@angular/forms

### Description

<!-- ✍️-->
When using a conditional directive like ngIf on radio input, value on ngForm for that control will be empty. As well as the control itself on ngForm. This happens on Template driven forms.

## 🔬 Minimal Reproduction
<!--
Please create and share minimal reproduction of the issue starting with this template: https://stackblitz.com/fork/angular-issue-repro2
-->
<!-- ✍️--> 
https://stackblitz.com/fork/angular-dssxnc
<!--
If StackBlitz is not suitable for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue.
A good way to make a minimal reproduction is to create a new app via `ng new repro-app` and add the minimum possible code to show the problem. 
Share the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior.

Issues that don't have enough info and can't be reproduced will be closed.

You can read more about issue submission guidelines here: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-submitting-an-issue
-->

## 🌍  Your Environment
**Angular Version:**
<pre><code>
Angular CLI: 7.0.5
Node: 10.14.1
OS: linux x64
Angular: 7.0.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.10.5
@angular-devkit/build-optimizer   0.10.5
@angular-devkit/core              7.0.5
@angular-devkit/schematics        7.0.5
@angular/cli                      7.0.5
@ngtools/webpack                  7.0.5
@schematics/angular               7.0.5
@schematics/update                0.10.5
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.25.1
</code></pre>