sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Download video previews when hovering mouse?
Labels: question

<!--

######################################################################
  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:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [ x] I'm asking a question
- [ x] I've looked through the README and FAQ for similar questions
- [ x] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

Hi, I'm wondering if there is any way to download video thumbnail previews (showed when we hover the mouse on the video in playlists with extensions like .webm containing multiple frames of the video)?
Please let me know if there is a command to do so in youtube-dl or any other tool. Thanks
Repository: pytorch
Issue: Tensorboard summary_iterator
Labels: module: tensorboard,oncall: visualization

## 🚀 Feature
Pytorch has integrated most of tensorflow's tensorboard functionality, but it seems like the summary_iterator, allowing one to iterate through the event files generated, hasn't been ported into torch.utils.tensorboard? It would be nice if we didn't have to install and import tensorflow just to use this one feature of tensorboard.


## Alternatives

The alternative is to install tensorflow and use 
from tensorflow.python.summary.summary_iterator import summary_iterator

## Additional context

Apologies if this does already exist! In which case could the documentation be made clearer?
Repository: youtube-dl
Issue: Outtmpl values in python variables
Labels: question

<!--

######################################################################
  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:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [x] I've looked through the README and FAQ for similar questions
- [x] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

Anyway to store 'outtmpl' variables value used while downloading into python variables ? Some times title from extract_info is different from %(title)s used while downloading.
Repository: flutter
Issue: SystemNavigator.pop method doesn't do exit app in Windows
Labels: framework,engine,platform-windows,f: routes,a: desktop,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-windows,triaged-windows

###  Bug

A preferred way to exit a flutter application is through invoking the `SystemNavigator.pop` method through `SystemChannels.platform.invokeMethod()`.

But it doesn't seem to work on windows (haven't tested on Linux or macOS yet) but there's a high probability it's not working there too. **When invoking the method nothing happens**.

- ### Current Workaround

Importing the `dart:io` library and calling the `exit()` method with code 0 does the job.
There are two cons in this process -

1. `dartvm` gets terminated immediately, so it looks like the app crashed.
2. This method doesn't wait for any `async` operations to complete so any data left in the cache is lost/discarded.
Repository: go
Issue: proposal: net/url: add method to filter 'too many redirects' out of url.Error
Labels: Proposal

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.14.2 linux/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes


### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="<masked>/.cache/go-build"
GOENV="<masked>/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="<masked>/go-packages"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.14"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.14/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="<masked>/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build224090969=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->

When trying to filter the error type from an error returned by `client.Do(request)`, there is only the option to determine if it was a timeout. There is no other method to determine other specific types of errors.

```golang
client := &http.Client{}
request, _ := http.NewRequest("GET", "https://example.org", nil)
response, err := client.Do(request)

if urlErr, ok := err.(*url.Error); ok && urlErr.Timeout() {
  panic("Timeout!")
} else if err != nil {
  panic(err) // this could be a 'too many redirects' error
}
```

### What did you expect to see?

```golang
client := &http.Client{}
request, _ := http.NewRequest("GET", "https://example.org", nil)
response, err := client.Do(request)

if urlErr, ok := err.(*url.Error); ok && urlErr.Timeout() {
  panic("Timeout!")
} else if ok && urlErr.TooManyRedirects() {
  panic("Too many redirects!")
} else if err != nil {
  panic(err)
}
```

I managed to scrape the error myself with the `strings.Contains(err.Error(), "stopped after 10 redirects")` function, but this just isn't elegant at all and my cause collisions with other errors (or even strings).
Repository: electron
Issue: Feature request: Ability to remove in-memory sessions and already sent net requests to free up memory.
Labels: enhancement :sparkles:

### Problem Description
I'm using the net request module, and in-memory sessions for sending requests. Sending many requests, and using many in-memory sessions can easily take up many hundreds of megabyte of memory. You are not able to free this memory up unless you restart your Electron process.

### Proposed Solution
I'd like to propose a solution, where you would be able to delete/remove an in-memory session, as well as already sent net requests.
Repository: neovim
Issue: Do not overwrite CursorLineNr highlight with numhl attribute
Labels: enhancement,highlight,column

<!-- Before reporting: search existing issues and check the FAQ. -->

### Actual behaviour

Currently, since the introduction of #9113 the line number will be highlighted according to the `numhl` attribute (if set).
However, I think it would make more sense to only overwrite the `LineNr` but *not* the `CursorLineNr` highlight groups because in use cases like (e.g. [vim-gitgutter](https://github.com/airblade/vim-gitgutter)) where long areas may be highlighted with `numhl` attributes, the `CursorLineNr` highlighting would provide useful information.

### Expected behaviour

Thus, I propose to either not overwrite `CursorLineNr` with the `numhl` attribute by default or at least provide a configuration option to achieve this behavior.
Repository: ant-design
Issue: Ant design 4.5.2 validateFields.then() not working via forwardRef in HOC
Labels: Inactive

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[https://codepen.io/harvorus/pen/NWNJPEW?editors=001](https://codepen.io/harvorus/pen/NWNJPEW?editors=001)

### Steps to reproduce
Create a parent class with Form.
Create a child class with Form.Item.
Pass formRef via React.forwardRef
And try to run validateFields in child.
validateFields doesnt output in case of then but does logs catch and finally.

this.props.form.current
      .validateFields()
      .then((values) => {
        console.log('---- 2222222222222222 ----');
      })
      .catch((info) => {
        console.log('---- 33333333333333333 ----');
        console.log('Validate Failed:', info);
      })
      .finally((result) => {
        console.log('result --FINALLYYYYYYYYYYYYYYY--', result);
      });

### What is expected?
validateFields should run in the child component in case of no errors.

### What is actually happening?
validateFields is not running in the child component in case of no errors.

| Environment | Info |
|---|---|
| antd | 4.5.2 |
| React | 16.13.1 |
| System | MacOS |
| Browser | Chrome |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: Editor crashes when stopping on a breakpoint on an object with a script that implements _get()
Labels: bug,topic:editor,confirmed,crash

**Godot version:**
latest steam version for windows x64: Godot Engine v3.2.3.stable.official

**OS/device including version:**
Windows 10 2004 x64

**Issue description:**
The editor crashes and the editor window closes when stopping on a breakpoint on an object with a script that implements _get() **and** uses the native get function inside it.

This crash only occurs when stopping on a breakpoint. It crashes only the editor window, not the scene instance being debugged or the godot's console window.

The error message that appears in the console when the error occurs is
```
ERROR: get: FATAL: Index p_index = 9 is out of bounds (size() = 9).
   At: ./core/cowdata.h:152
```
It seems that, when the editor is stopped at a breakpoint, godot invokes the overridden _get method to access the node properties for something, maybe to set up the properties inspector pane. If instead of get() I return some value, like 'return true' the editor never crashes, but the properties inspector pane does not gets messed up, it shows the real values. If you put a print(property) inside the _get(property) function you will see the console spamming the names of the node properties, in the same order they are drawn on the inspector pane. The messages wont stop even though the editor stopped on the breakpoint, certainly because they are being printed by a different thread than the editor debugger thread.

**Steps to reproduce:**
Open the only scene in the attached project, put a breakpoint in the only line of the _process method and try to debug

**Minimal reproduction project:**
[a.zip](https://github.com/godotengine/godot/files/5282829/a.zip)
Repository: neovim
Issue: Fixed-width terminal independent of window size
Labels: enhancement,terminal

<!-- Before reporting: search existing issues and check the FAQ. -->

- `nvim --version`: master-4a996bc
- `vim -u DEFAULTS` (version: ) behaves differently? No
- Operating system/version: macOS Catalina
- Terminal name/version: iTerm2
- `$TERM`: xterm-256color

### Steps to reproduce using `nvim -u NORC`

```
nvim -u NORC
:terminal
bash
while true; do echo '1234567890a1234567890b1234567890c1234567890d1234567890e1234567890f1234567890g1234567890h1234567890i1234567890j1234567890k1234567890l1234567890m1234567890n1234567890o1234567890p1234567890q1234567890r1234567890s1234567890t1234567890u1234567890v1234567890w1234567890x1234567890y1234567890z'; sleep 1; done
<c-\><c-n>:vs
:q
```

### Actual behaviour
You see the width of the terminal changes

### Expected behaviour
I would like to be able to set a fixed width/columns for the terminal so that it works regardless of the window it is displayed in
Repository: TypeScript
Issue: No ways to do an alias of an exported type inside a namespace
Labels: Suggestion,Awaiting More Feedback

<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:**  3.9.7

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
export type alias namespace

**Code**
With import type, in case of long namespaces encapsulation, there's no way to do an alias of the namespaces.
We are forced to alias the final types / interfaces

file types.ts
```
type A = {}
type B = {}
type C = {}

export type {
    A,
    B,
    C
};
```

file namespace1.ts
```
import type * as namespace1 from 'types';

export type {namespace1}
```

file namespace2.ts
```
import type * as namespace2 from 'namespace1';

export type {namespace2}
```

file finalUsage.ts
```
import type {namespace2} from 'namespace2';

type A = namespace2.namespace1.A; // this is working
namespace aliasNamespaces2 {
   export import namespace1 = namespace2.namespace1; // fails with message 'An import alias cannot reference a declaration that was imported using 'import type'. '
}

```

**Expected behavior:**
we need a way to make a shortcut of namespaces2.namespace1

**Actual behavior:**
Cannot do it: we are forced to aliasthe final types namespaces2.namespace1.A

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
Repository: storybook
Issue: Avoid full refresh when linking from a comment/jsdoc
Labels: feature request,addon: docs

I'd link to link to other components within jsdoc style comments. The code below does that but forces a full refresh when linking. Is it possible to not fully refresh?
```
/**
 * Also check out [OtherComponent](/docs/othercomponent--default)
 */
function Component {
...
}
```
Repository: youtube-dl
Issue: Simple error/fail report
Labels: 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 2020.09.20. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Search the bugtracker for similar feature 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 feature request
- [x] I've verified that I'm running youtube-dl version **2020.09.20**
- [x] I've searched the bugtracker for similar feature requests including closed ones


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

Would be helpful to have a simple error/fail report, basically a reverse of "--download-archive FILE", that lists the URL of failed video downloads so they can (hopefully) be downloaded manually.
Repository: transformers
Issue: Add DistilBERTGeneration comparable to BertGeneration
Labels: Good Second Issue

# 🚀 Feature request

I noticed the new `BertGeneration` class, which uses BERT-style models as both encoder and decoder, as well as the more general `EncoderDecoder` class. This is all great stuff! It would also be great to be able to use distilled models. I believe this is possible for the encoder, but for the decoder a language head must be added.

Since DistilBert is implemented as its own model, and not as a BertModel, I don't think it's possible (or at least it's not easy) for the end user to do this. At least not loading pretrained models, since any pretrained model needs to be a type approved by `AutoModelForCausalLM`.

## Motivation

Same motivation as using distilled models in general. Same results at higher speed, this time applied to an `EncoderDecoder` model.

## Your contribution

Happy to be an alpha tester for this feature
Repository: TypeScript
Issue: IntelliSense shows invalid tips for tuple
Labels: Bug,Domain: Completion Lists

<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:**  4.0.2 and Nightly

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** Tuple, IntelliSense, invalid, tip

**Code**

```ts
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
type A = Readonly<[1, 2, 3]>

const a: A = [1, 2, 3] // Ok
const b: A = [2, 1, 3] // Error on indexed 0 and 1, as expected.
const c: A = [] // But, 1, 2 and 3 are show as IntelliSense options for index 0, when should be just "1"
```

**Expected behavior:**
For tuples, only the valid values should be shown for the respective index in IntelliSense tips.

**Actual behavior:**
In the example above in const c, IntelliSense tips 1, 2 and 3 values for any index.

**Playground Link:**https://www.typescriptlang.org/play?ts=4.1.0-dev.20200925#code/C4TwDgpgBAglC8UBKECGATA9gOwDYgB4BtARgBooAmCgZgF0A+AWAChWBjHAZ2ClQC5YCKKQrUo9KAHopUAPIBrDt14AjQXERFx5CXWmyAogCdjmY1BxQAltnQQAHhHRQADHztRdqLlEeR2YGcAOmVsHih2DWEifRkoACEAV2AKXUoPFxo+Y2guAAtMAHc+XwBJbCDcXGsAZQhw6EwwYGtuKAAzcxs7RzcKIvyGqALMJNwXVWgAKySIgCISeaA <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
Repository: godot
Issue: TextEdit text is not clipped into content margin.
Labels: bug,topic:gui

**Godot version:**
3.2.3

**OS/device including version:**
Windows 10 ltsc 64 bit

**Issue description:**
The TextEdit text is not clipped to the styles content margin on a per pixel basis.
![image](https://user-images.githubusercontent.com/2453707/94304344-47661780-ff24-11ea-990d-08f86b5c4001.png)


**Steps to reproduce:**
- create a theme
- add all text edit items
- set the style for normal so that it has really small content margin
- apply theme to text edit
- run project and see that the scrollbar is limited to it but not the text drawn.


**Minimal reproduction project:**
[FocusBug.zip](https://github.com/godotengine/godot/files/5284721/FocusBug.zip)
Repository: godot
Issue: TextEdit scrollbar doesn't obey top, bottom, and right side of content margin
Labels: bug,topic:gui

**Godot version:**
3.2.3


**OS/device including version:**
Windows 10 ltsc 64 bit


**Issue description:**
- TextEdit scrollbar's top seem to shift up when editing bottom content margin
- TextEdit scrollbar's bottom seem to shift down when editing top content margin
- TextEdit scrollbar's right is unaffected by right content margin

**Steps to reproduce:**
- make a text edit
- make the scrollbar appear by overflowing the control with text in the scene editor
- make a theme
- add all text edit items
- mess around with the content margin in the normal style of the text edit theme
- see that it doesn't correctly obey the content margin


**Minimal reproduction project:**
[FocusBug.zip](https://github.com/godotengine/godot/files/5284768/FocusBug.zip)
Repository: pytorch
Issue: torch.nn.functional.one_hot should gracefully skip negative and out-of-range indices
Labels: module: nn,triaged,enhancement

## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
There are useful algorithms that benefit for one_hot skipping negative and out-of-range indices. tensorflow does not crash in these scenarios and instead emits a 0 vector.

```
>>> x = torch.tensor([1, 2, 8])
>>> F.one_hot(x, num_classes=4)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Class values must be smaller than num_classes.
```

```
>>> x = torch.tensor([1, 2, -1])
>>> F.one_hot(x, num_classes=4)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Class values must be non-negative.
```

## Motivation

<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
Be able to simply represent some algorithms.

## Pitch

<!-- A clear and concise description of what you want to happen. -->
Be able to simply represent some algorithms. Easy to copy code/algorithms to/from tf and torch.

## Alternatives

<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
Explicitly clear negative and out-of-range values before calling one_hot and then cleanup the one_hot vector after. This is less efficient and less elegant.

## Additional context

<!-- Add any other context or screenshots about the feature request here. -->


cc @albanD @mruberry