sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Please add support for the onion URL of invidious.
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.12.25. 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.12.25**
- [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.youtube.com/watch?v=BaW_jenozKc
- Single video: https://youtu.be/BaW_jenozKc
- Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Since invidious is a middle man for youtube, everything but the URL is the same as youtube. That URL is "kgg2m7yk5aybusll.onion"

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

I would like the onion URL for invidious ( kgg2m7yk5aybusll.onion ) to be supported.
Repository: youtube-dl
Issue: Support to https://live.fc2.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.12.25. 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.12.25**
- [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.
-->

Any current live can be used as example: https://live.fc2.com/
Live example: https://live.fc2.com/77598545/


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

I would like to be able to download lives from the site https://live.fc2.com/ I looked the bugtracker and the only relevant issue there was from 2013 so I am requesting support for the site now. Tried grabbing links from network tab in dev mode but won't work.
Repository: rust
Issue: [Rustdoc] A way to disambiguate between Trait methods and implemented ones in search?
Labels: T-rustdoc,C-feature-request,A-rustdoc-search

![image](https://user-images.githubusercontent.com/15225902/71450140-60bc1680-278e-11ea-96c6-17aaf20c8b7b.png)

Maybe a duplicated of #48069.
Repository: neovim
Issue: Setting langmap doesn't handle macros.
Labels: bug-vim

- `nvim --version`:
```
NVIM v0.4.3
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /usr/lib/ccache/bin/cc -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe  -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/builddir/neovim-0.4.3/build/config -I/builddir/neovim-0.4.3/src -I/usr/include -I/builddir/neovim-0.4.3/build/src/nvim/auto -I/builddir/neovim-0.4.3/build/include
Compiled by void-buildslave@a-hel-fi

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info
```
- `vim -u DEFAULTS` (version: ) behaves differently?
```
Nope.
```
- Operating system/version:
```
Void GNU+Linux (glib) (it is rolling release)
```
- Terminal name/version:
```
My own fork of ST 6.2
```
- `$TERM`:
```
st-256color
```

### Steps to reproduce using `nvim -u NORC`

1. Set `langmap` like this: `set langmap=kh,mj,lk,yl`
2. Create 3 by 3 area of random characters then go to the middle character of the middle (second) line like this:
```
asd
asd <-- Cursor should be on this line and on the "s" character.
asd
```
3. Record a macro with your favorite register and after that, just press `l` key.
4. Run the macro.

### Actual behavior
When you press `l` key, it moves your cursor to up and when you run it again, it moves your cursor to right (default behavior of `l` character in neovim/vim).

### Expected behavior
It has to move the cursor to up again.

### Side note
You can "fix" this behavior with `set langremap` ***but*** it will break all of the plug-ins you have and this is not a thing that you would ever want, I learned this the hard way. :)
Repository: godot
Issue: Scene opens as [Unsaved] when it's already opened in Script Editor
Labels: bug,topic:editor,confirmed

**Godot version:**
3.2 beta4

**Issue description:**
This one is complicated, but well, a bug is a bug. Related to #33320

**Steps to reproduce:**
1. Add .tscn to `editor/search_in_file_extensions`
2. Search for something in a .tscn file (make sure it's not currently opened)
3. Click on the result
4. The .tscn file should be opened as text in Script Editor (this is important)
5. Open that scene from file explorer
6. The scene appears as [Unsaved] tab
Repository: opencv
Issue: 3.4.9 build error with matlab2019b
Labels: priority: low,category: build/install,category: contrib,category: matlab bindings

Ubuntu 16.04.06, opencv3.4.9 with modules, build with matlab 2019b.
```
[ 99%] Built target opencv_test_videostab
CMake Error at /home/<USER_NAME>/opencv/opencv_contrib-3.4.9/modules/matlab/compile.cmake:54 (message):
  Failed to compile CamShift: In file included from
  /home/<USER_NAME>/opencv/opencv-3.4.9/build/modules/matlab/src/CamShift.cpp:13:0:


  
  /home/<USER_NAME>/opencv/opencv_contrib-3.4.9/modules/matlab/include/opencv2/matlab/bridge.hpp:95:17:
  error: ‘TonemapDurand’ was not declared in this scope

   typedef cv::Ptr<TonemapDurand> Ptr_TonemapDurand;
                   ^

  
  /home/<USER_NAME>/opencv/opencv_contrib-3.4.9/modules/matlab/include/opencv2/matlab/bridge.hpp:95:30:
  error: template argument 1 is invalid

   typedef cv::Ptr<TonemapDurand> Ptr_TonemapDurand;
                                ^

  
  /home/<USER_NAME>/opencv/opencv_contrib-3.4.9/modules/matlab/include/opencv2/matlab/bridge.hpp:512:11:
  error: ‘cv::bridge::Bridge& cv::bridge::Bridge::operator=(const
  Ptr_TonemapDurand&)’ cannot be overloaded

     Bridge& operator=(const Ptr_TonemapDurand& ) { return *this; }
             ^

  
  /home/<USER_NAME>/opencv/opencv_contrib-3.4.9/modules/matlab/include/opencv2/matlab/bridge.hpp:292:11:
  error: with ‘cv::bridge::Bridge& cv::bridge::Bridge::operator=(const
  int&)’

     Bridge& operator=(const int& ) { return *this; }
             ^

  



modules/matlab/CMakeFiles/opencv_matlab.dir/build.make:60: recipe for target 'modules/matlab/compile.proxy' failed
make[2]: *** [modules/matlab/compile.proxy] Error 1
CMakeFiles/Makefile2:9484: recipe for target 'modules/matlab/CMakeFiles/opencv_matlab.dir/all' failed
make[1]: *** [modules/matlab/CMakeFiles/opencv_matlab.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....

```
Repository: pytorch
Issue: 'torch.load' report 'bad pickle data'
Labels: module: serialization,triaged

## 🐛 Bug

<!-- A clear and concise description of what the bug is. -->

## To Reproduce

Hello, everyone. I am using pytorch1.0.1 to load pretrained models.
According to torch/serialization.py,
```
Example:
        >>> torch.load('tensors.pt')
        # Load all tensors onto the CPU
        >>> torch.load('tensors.pt', map_location=torch.device('cpu'))
        # Load all tensors onto the CPU, using a function
        >>> torch.load('tensors.pt', map_location=lambda storage, loc: storage)
        # Load all tensors onto GPU 1
        >>> torch.load('tensors.pt', map_location=lambda storage, loc: storage.cuda(1))
        # Map tensors from GPU 1 to GPU 0
        >>> torch.load('tensors.pt', map_location={'cuda:1':'cuda:0'})
        # Load tensor from io.BytesIO object
        >>> with open('tensor.pt') as f:
                buffer = io.BytesIO(f.read())
        >>> torch.load(buffer)
```
It means that i can read pth files in bytes, and then call io.BytesIO(). 'torch.load' can load the buffer because 'io.BytesIO' is a file-like object. 
But when i test the [pth file](https://download.pytorch.org/models/alexnet-owt-4df8aa71.pth), it failed, the detailed information is
```
Traceback (most recent call last):
  File "test1.py", line 24, in <module>
    model_params = torch.load(pth_buf, map_location='cpu')
  File "/usr/local/lib/python3.5/dist-packages/torch/serialization.py", line 368, in load
    return _load(f, map_location, pickle_module)
  File "/usr/local/lib/python3.5/dist-packages/torch/serialization.py", line 532, in _load
    magic_number = pickle_module.load(f)
_pickle.UnpicklingError: bad pickle data
```

my code is 
```
with open('./model/alexnet/ch/alexnet-owt-4df8aa71.pth', 'rb') as f:
    file_buf = f.read()
pth_buf = io.BytesIO(file_buf)
model_params = torch.load(pth_buf, map_location='cpu')
```

Notice that i must use pth buffer rather than pth file.

Steps to reproduce the behavior:

1.
1.
1.

<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->

## Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## Environment

Please copy and paste the output from our
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

You can get the script and run it with:
```
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```

 - PyTorch Version (e.g., 1.0):  1.0.1
 - OS (e.g., Linux):  ubuntu16.04
 - How you installed PyTorch (`conda`, `pip`, source): pip
 - Build command you used (if compiling from source):
 - Python version: 3.5.2
 - CUDA/cuDNN version: no
 - GPU models and configuration: no
 - Any other relevant information:

## Additional context

<!-- Add any other context about the problem here. -->
Repository: rust
Issue: Wrong compiler error message.
Labels: A-diagnostics,T-compiler,C-bug,D-incorrect

```rust
trait Baz {}
trait Bar2<A> { type X; }
struct Foo<'a>(&'a str);
impl<'a, A, B> Baz for B where B: Bar2<Foo<'a>, X=A> {}
```
The current error message is 
"error[E0207]: the type parameter `A` is not constrained by the impl trait, self type, or predicates"

but the actually error in the code is that `'a` is not constrained. `A` is used in associated type, and is correct according to the documentation of `E0207`. The correct fix would be move to `'a` to a HRTB as in `for<'a> Bar2<Foo<'a>, X=A>`
Repository: svelte
Issue: Allow to specify custom base class for Svelte Components
Labels: feature request,custom element

Could we have an option to specify a custom base class for Svelte components?

```html
<script>
import {BaseSvelteComponent} from './base';
</script>

<svelte:options base="BaseSvelteComponent"/>
```

base.js:
```
import {SvelteComponent} from 'svelte';

export class BaseSvelteComponent extends SvelteComponent {
 /* or could be completly own custom impl */
}
```

It would step to make Svelte a more generic compiler and could move many conflict decisions out of the scope of Svelte project.

It allows end-users of the compiler to make own decision. I think it could resolve things like [Component inheritance](https://github.com/sveltejs/svelte/issues/192), move towards a solution for [Custom element without shadow DOM](https://github.com/sveltejs/svelte/issues/1748) and  [Support attachShadow({mode: 'closed'})](https://github.com/sveltejs/svelte/issues/2972), handle [Native HTML elements](https://github.com/sveltejs/svelte/issues/1869) and 
[Form-associated custom elements](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example) and minor things like [Define some attributes on Custom Elements ](https://github.com/sveltejs/svelte/issues/3919)

And it seems pretty easy to implement - https://github.com/kmmbvnr/svelte/commit/4a7f3171050dea3d676bf928bbfb6644d09e0359
Repository: flutter
Issue: Horizontal Stepper in flutter
Labels: framework,d: examples,would be a good package,c: proposal,P3,team-framework,triaged-framework

I am trying to create a horizontal stepper, but I am failing to do so.

I have raised a stackover flow question here as well, 

https://stackoverflow.com/questions/59484581/horizontal-stepper-in-flutter/59485333#59485333

Please let me know where am I wrong
Repository: terminal
Issue: 'MODE CON LINES=100'  kills command prompt
Labels: Product-Conpty,Area-Server,Issue-Bug,Priority-2

# Environment

```none
Windows build number: Microsoft Windows [Version 10.0.18363.535]
Windows Terminal version (if applicable): 0.7.3451.0
```

# Steps to reproduce

Open command prompt ('CMD'), and type 'MODE CON LINES=100'

# Expected behavior

The screen is cleared, and prompt is shown at upper left corner.

# Actual behavior

No prompt is  show  (at least characters of prompt are invisible).
![command_prompt](https://user-images.githubusercontent.com/7850737/71471452-cd0b3a00-27cf-11ea-92c5-431c4d18fef6.gif)
Repository: flutter
Issue: FadeInImage performs fade-out and fade-in simultaneously
Labels: c: new feature,framework,would be a good package,c: proposal,P3,team-framework,triaged-framework

## Proposal

FadeInImage fade-out the placeholder, then fade-in the target image.
In other words, at the middle point, there is a moment when neither is displayed.

I feel this as a flickering image.

I think that the fade-out of the placeholder and the fade-in of the target image should be performed simultaneously.
Repository: flutter
Issue: I need buffer update event instead of ValueNotifier in video_player
Labels: c: new feature,p: video_player,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

currently ,VideoPlayerController implements ValueNotifier, but as a listener, I am  more interested in designated change such as buffer update; 
could this feature be added;


through  we can use 
```
VideoPlayerPlatform.instance.videoEventsFor(_controller.textureId).listen(eventListener, onError: errorListener);
```
 any textureId is exported for only for test;

and also there are so many same buffer update events;

```
I/flutter (25101): [DurationRange(start: 0:00:00.000000, end: 0:00:57.152000)]
I/flutter (25101): VideoEventType.bufferingUpdate
I/flutter (25101): [DurationRange(start: 0:00:00.000000, end: 0:00:57.152000)]
I/flutter (25101): VideoEventType.bufferingUpdate
I/flutter (25101): [DurationRange(start: 0:00:00.000000, end: 0:00:57.152000)]
I/flutter (25101): VideoEventType.bufferingUpdate
I/flutter (25101): [DurationRange(start: 0:00:00.000000, end: 0:00:57.152000)]
```

so I request two things, 1: designated events; 2: no duplicated events;
Repository: terminal
Issue: Terminal window is moved off-screen in 2 screen setup after a single-screen RDP session
Labels: Help Wanted,Needs-Repro,Issue-Bug,Area-UserInterface,Product-Terminal,Priority-3

# Environment

```none
Windows build number: 10.0.18363.535
Windows Terminal version (if applicable): 0.7.3451.0
```

# Steps to reproduce

1. Have a dual-screen setup with primary screen on the right, secondary on the left.
2. Open the Windows Terminal on a primary (right) screen.
3. Lock the workstation, go somewhere and connect via RDP using 1 screen configuration.
4. WT windows are observed on the RDP session single screen.
5. End RDP session, go back.
6. All WT windows are moved off-screen, past the right edge of the primary (right) screen.

# Expected behavior

WT windows should stay on the primary (right) screen.

# Actual behavior

WT windows are displayed off-screen. It is possible to drag them back via ALT+Space -> Move but is very annoying.
Repository: flutter
Issue: [macOS] Allow using integrated GPU to save battery
Labels: c: new feature,engine,c: performance,platform-mac,a: desktop,perf: energy,P3,team-macos,triaged-macos

Even after setting `NSSupportsAutomaticGraphicsSwitching` to `YES` in `macos/Runner/Info.plist` the app always uses the discrete GPU. 

```
[✓] Flutter (Channel master, v1.13.6-pre.23, on Mac OS X 10.15.2 19C57, locale en-CH)
    • Flutter version 1.13.6-pre.23 at /Users/ben/flutter
    • Framework revision 6e72facad1 (2 days ago), 2019-12-24 10:54:04 -0800
    • Engine revision 33813929e3
    • Dart version 2.8.0 (build 2.8.0-dev.0.0 886615d0f9)


[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/ben/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B53
    • CocoaPods version 1.8.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[✓] Connected device (3 available)
    • macOS      • macOS      • darwin-x64     • Mac OS X 10.15.2 19C57
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.88
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!
```
Repository: PowerToys
Issue: Integrate clang-tidy linter
Labels: Idea-Enhancement,Area-Quality,Cost-Medium

# Summary of the new feature/enhancement
[clang-tidy](https://clang.llvm.org/extra/clang-tidy) is a great C++ linter with many useful automated refactorings. We may integrate it to our pipeline, starting with [the formatting script](https://github.com/microsoft/PowerToys/blob/master/format_sources.ps1). Unlike clang-format, it requires a [compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html) which we need to provide somehow, [e.g. using this](https://github.com/CoatiSoftware/vs-sourcetrail).
Repository: TypeScript
Issue: Union type checking during assignment fails for boolean and passes for other primitives
Labels: Bug

**TypeScript Version:**  3.7.2

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
number string union

**Expected behavior:**

Compiler should be giving an error on assigning `demo1`, like it does with `demo2`. 

**Actual behavior:**

Doesn't seem to properly discriminate between the `string` and other types that are conceptually unbound: `number`/`RegExp` etc.

**Related Issues:**
 #20863
https://github.com/microsoft/TypeScript/issues/30506
https://github.com/microsoft/TypeScript/issues/9254

**Code**
```ts
type t1 = {
    a: number;
    b: string;
} | {
    a: string;
};

// no error. Invalid assignment is possible
const demo1: t1 = {
    a: '123',
    b: 'asd',
};

type t2 = {
    a: boolean;
    b: string;
} | {
    a: string;
};

// error Error: TS2322: Type '{ a: string; b: string; }' is not assignable to type 't2'.  Object literal may only specify known properties, and 'b' does not exist in type '{ a: string; }'.
const demo2: t2 = {
    a: '123',
    b: 'asd',
};
```



<details><summary><b>Output</b></summary>

```ts
"use strict";
// no error
const demo1 = {
    a: '123',
    b: 'asd',
};
// error
const demo2 = {
    a: '123',
    b: 'asd',
};

```
</details>

<details><summary><b>Compiler Options</b></summary>

```json
{
  "compilerOptions": {
    "noImplicitAny": true,
    "strictNullChecks": true,
    "strictFunctionTypes": true,
    "strictPropertyInitialization": true,
    "strictBindCallApply": true,
    "noImplicitThis": true,
    "noImplicitReturns": true,
    "useDefineForClassFields": false,
    "alwaysStrict": true,
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "downlevelIteration": false,
    "noEmitHelpers": false,
    "noLib": false,
    "noStrictGenericChecks": false,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "esModuleInterop": true,
    "preserveConstEnums": false,
    "removeComments": false,
    "skipLibCheck": false,
    "checkJs": false,
    "allowJs": false,
    "declaration": true,
    "experimentalDecorators": false,
    "emitDecoratorMetadata": false,
    "target": "ES2017",
    "module": "ESNext"
  }
}
```


</details>

**Playground Link:** [Provided](https://www.typescriptlang.org/play/?ssl=25&ssc=14&pln=1&pc=1#code/C4TwDgpgBMCMUF4oG8BQUNQIYC4oDsBXAWwCMIAnAbnU1LwGdgKBLfAcxoF8oAfFWhlxQmrDtxqoA9FIIB7KJQpyKqAMZz8TKABMIxObDxxEAzNjwByWACYAzJYA0gqPSiWsDHU9RdJoSBgbUzRzYVI5OQAbCCx8GnM3UTZOXz4zTGFk8V9JGUUKZVV1TW09AxtjYKRQzKtbB2dEq09vZz8gA)