sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: It is not good to separate the steps of modules making and forward computation
Labels: feature,triaged

## 🚀 Feature
Hi, dear developers, I think,
<!-- A clear and concise description of the feature proposal -->
It is not good to separate the steps of modules making and forward computation,
which should be combined like a circuit diagram

## 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 -->
Because separating  the steps of modules making and forward computation will make code highly redundant, as the module initiation and forward computation are a procedure essentially the same.

## Pitch

<!-- A clear and concise description of what you want to happen. -->

## Alternatives

<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->

## Additional context

<!-- Add any other context or screenshots about the feature request here. -->
Repository: youtube-dl
Issue: It would be awesome if youtube-dl had an option to define maximum time allowed for the download
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.01.24. 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.01.24**
- [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.
-->

Due to restrictions in my workplace I need to interrupt my download after x seconds and then wait with a timeout to continue downloading and then repeat this process again and again until the download is complete. 
I tried use this option:  
--external-downloader curl --external-downloader-args “--max-time <seconds>” 
But the problem is  when the “--max-time” option is complete I think youtube-dl detect it as an error in the connection and it try to auto retry the download and start the download process again. 
I not found an option in youtube-dl to set no rety. The only option I see is --retries wish define the number of retries and when I set --retries 0 an error occurs. 
Thank you for your attention and please let me know if there is a better way to do what I trie to do with youtube-dl
Sorry for my poor english
Repository: flutter
Issue: How to remove 'I/flutter (13135):' in vscode debug console
Labels: c: new feature,tool,engine,d: stackoverflow,P3,team-engine,triaged-engine

When I use debugPrint () to print the information, 'I / flutter (13135):' is added to each line, which affects readability very much and cannot copy the data in json format correctly.

Another way to print logs is developer.log (). This way is not added 'I / flutter (13135):', but multi-line text will be truncated. In fact, developer.log () is normal in android studio.

![image](https://user-images.githubusercontent.com/8267505/74606602-c54f7e00-510c-11ea-9f18-bf8b90e3d12c.png)
Repository: rust
Issue: Tracking Issue for linked_list_remove
Labels: A-collections,T-libs-api,B-unstable,C-tracking-issue,Libs-Tracked,Libs-Small

<!--
Thank you for creating a tracking issue! 📜 Tracking issues are for tracking a
feature from implementation to stabilisation. Make sure to include the relevant
RFC for the feature if it has one. Otherwise provide a short summary of the
feature and link any relevant PRs or issues, and remove any sections that are
not relevant to the feature.

Remember to add team labels to the tracking issue.
For a language team feature, this would e.g., be `T-lang`.
Such a feature should also be labeled with e.g., `F-my_feature`.
This label is used to associate issues (e.g., bugs and design questions) to the feature.
-->
#68705 adds a method in LinkedList to remove an element at a specified index.

The feature gate for the issue is `#![feature(linked_list_remove)]`.
Repository: godot
Issue: Not obvious behavior with temporary removed signal definition
Labels: bug,topic:gdscript,topic:editor,confirmed,usability

**Godot version:**
3.2.stable

**OS/device including version:**
Windows 10

**Issue description:**
On existing signal connection try to comment out/rename/remove the definition of the signal:
- Scene tab - icon showing that connection is still present
- Signals tab - connection disappears

But if you return signal definition back to the script/class - connection in Signals tab appears again.

If you close and reopen the scene (while signal definition removed) - signal connection also removed completely and finally.

**Steps to reproduce:**
Just comment out any signal definition with existing connection
![signal_bug](https://user-images.githubusercontent.com/13387159/74608260-421c3100-50e8-11ea-9e7a-5dabe42f0e8d.gif)

**Possible solutions:**
- Scene tab - icon could change the color and/or hover description could be more clear
- Signals tab - such connection could be marked as "temporary unavailable"
Repository: godot
Issue: AnimationPlayer::stop(false) unexpectedly flushes animation queue
Labels: bug,topic:core

**Godot version:**
Godot 3.2 stable

**OS/device including version:**
Ubuntu 18.04

**Issue description:**
When pausing animations using `AnimationPlayer::stop(false)`, the animation queue is unexpectedly flushed, and as a result they do not play when resuming using `AnimationPlayer::play()` after the paused animation finishes.

**Steps to reproduce:**
In the reproduction project, press `Enter` to play red animation and queue green animation, then press `Esc` while red animation is playing to pause it (using `AnimationPlayer::stop(false)`). Press `Esc` again to unpause (using `AnimationPlayer::play()`), and notice that the red animation finishes but the green one that was previously queued does not play.

**Minimal reproduction project:**
[animationplayer-queue-bug-minimal-reproduction.zip](https://github.com/godotengine/godot/files/4210541/animationplayer-queue-bug-minimal-reproduction.zip)
Repository: go
Issue: x/pkgsite: lower score of previous path in case of module rename
Labels: NeedsInvestigation,pkgsite,UX,pkgsite/search

### What is the URL of the page with the issue?

https://pkg.go.dev/github.com/myitcv/govim/cmd/govim/config?tab=doc

### What is your user agent?

<pre>
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36
</pre>

### Screenshot

![Screen Shot 2020-02-16 at 20 02 26](https://user-images.githubusercontent.com/3374574/74611793-4734ac80-50f7-11ea-9e61-600fb5a45dea.png)

### What did you do?

Visited the above page.

### What did you expect to see?

Expected to see `v0.0.29` as the latest version.

### What did you see instead?

Saw `v0.0.22` which was released a long time ago:

![Screen Shot 2020-02-16 at 20 03 13](https://user-images.githubusercontent.com/3374574/74611813-659aa800-50f7-11ea-9474-740f7b7b18a9.png)
Repository: neovim
Issue: refactor: use DEFER() macro for freeing resources
Labels: refactor,core

someone implemented DEFER() macro for C , and it looks pretty good:

- https://github.com/moon-chilled/Defer
- https://lobste.rs/s/d8g4mk/i_implemented_defer_for_c

see also https://news.ycombinator.com/item?id=22617915

> the "cleanup" GCC variable attribute: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html
> example usage: https://github.com/FRRouting/frr/blob/master/lib/frr_pthread.h#L218-L264
Repository: flutter
Issue: Connect to VM timeout when doing integration tests
Labels: c: regression,tool,t: flutter driver,customer: crowd,P2,team-tool,triaged-tool

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Run `flutter drive --target=test_driver/app.dart`.
2. see the error on test startup:
```bash
VMServiceFlutterDriver: It is taking an unusually long time to connect to the VM...
VMServiceFlutterDriver: It is taking an unusually long time to connect to the VM...
VMServiceFlutterDriver: It is taking an unusually long time to connect to the VM...
VMServiceFlutterDriver: It is taking an unusually long time to connect to the VM...
...
```

**Expected results:** the integration tests should start running in the emulator

**Actual results:** it keeps saying cannot connect to VM and finally timeout.

see this CI run: https://github.com/tianhaoz95/photochat/pull/17/checks?check_run_id=449361947#step:6:936

[logs_157.zip](https://github.com/flutter/flutter/files/4210996/logs_157.zip)
Repository: godot
Issue: Enabled text wrapping on TextEdit node causes low perfomance
Labels: bug,confirmed,topic:gui,performance

**Godot version:** 3.2.stable.official

**OS/device including version:** Windows 10 x64

**Issue description:** I suppose everything is just the way it is, but this was quite unexpected source of lag for my text processing app. Perfomance decrease depends on _(string length / node width)_ ratio and gets worse if text is selected.
Gif below demonstrates CPU (left column) and GPU (rightmost column) usage (RAM is middle).
![wrap-FFB](https://user-images.githubusercontent.com/8709735/74614051-8ed22d00-5125-11ea-890f-65d833b295a9.gif)
Can it be because line splits of entire string are calculated every frame? Is it possible to freeze the node unless it has focus or text is changed?

**Steps to reproduce:** Paste text (>10k symbols) to TextEdit node with true _wrap_enabled_.

**Minimal reproduction project:** [Text Wrap Test.zip](https://github.com/godotengine/godot/files/4211078/Text.Wrap.Test.zip)
Repository: flutter
Issue: The flutter tool can crash when the local .git workspace gets into a bad state
Labels: c: crash,tool,a: quality,P2,team-tool,triaged-tool

This may happen if .git is pointed to a different origin, lacks an origin repo, is on some unknown branch, or is in a detached HEAD state. There are numerous causes, one being of course the unfortunate behavior of the `flutter version` command. Another would be manual git operations. The usual failure case is either a version check exception or an error such as:

`ProcessException: git log -n 1 --pretty=format:%ad --date=iso exited with code 0` (This often happens during upgrades)

One solution is to manually put the `git` workspace back into a good state. The commands to do so, assuming you wanted to be on the `stable` channel would be:

`git remote remove origin`
`git remote add origin https://github.com/flutter/flutter.git`
`git fetch origin`
`git checkout --track  -b stable origin/stable`

This can also happen if `git` is configured incorrectly on a local level. For example, set a `git config` like `git config --global color.ui ture`. This will result in git commands that read this configuration crashing:

```
VersionCheckError: VersionCheckError: Command exited with code 128: git -c log.showSignature=false log -n 1 --pretty=format:%ad --date=iso
Standard error: fatal: bad numeric config value 'ture' for 'color.ui': invalid unit
``` 

In the `flutter doctor` check, we're specifically catching these crashes but they ultimately prevent us from upgrading or determining the current flutter version.
Repository: rust
Issue: Confusing errors when using `Self` variants with lifetimes
Labels: C-enhancement,A-diagnostics,T-compiler,D-confusing

Minimal example, imagine that we have the following type:

```rust
enum MyCow<'a> {
    Owned(String),
    Borrowed(&'a str),
}
```

If the user returns `Self` variants, this fails:

```rust
impl<'a> MyCow<'a> {
    fn borrow(&self) -> MyCow<'_> {
        match self {
            Self::Owned(s) => Self::Borrowed(s),
            Self::Borrowed(s) => Self::Borrowed(s),
        }
    }
    fn own(&self) -> MyCow<'static> {
        match self {
            Self::Owned(s) => Self::Owned(s.clone()),
            Self::Borrowed(s) => Self::Owned(s.to_string()),
        }
    }
}
```

But the same code works when you change `Self` to `MyCow`!
```rust
impl<'a> MyCow<'a> {
    fn borrow(&self) -> MyCow<'_> {
        match self {
            Self::Owned(s) => MyCow::Borrowed(s),
            Self::Borrowed(s) => MyCow::Borrowed(s),
        }
    }
    fn own(&self) -> MyCow<'static> {
        match self {
            Self::Owned(s) => MyCow::Owned(s.clone()),
            Self::Borrowed(s) => MyCow::Owned(s.to_string()),
        }
    }
}
```

The real error here is that `Self` really represents `MyCow<'a>` and not `MyCow<'_>` or `MyCow<'static>`-, but the errors don't really relay this. Potentially linked issue: #30904 (has been fixed).
Repository: go
Issue: gollvm: runtime and runtime/pprof packages test failed
Labels: NeedsInvestigation

<!--
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.14rc1 gollvm LLVM 11.0.0git 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="/home/erifan01/.cache/go-build"
GOENV="/home/erifan01/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/erifan01/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/erifan01/gollvm-master/install"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/erifan01/gollvm-master/install/tools"
GCCGO="/home/erifan01/gollvm-master/install/bin/llvm-goc"
AR="ar"
CC="/usr/bin/cc"
CXX="/usr/bin/c++"
CGO_ENABLED="1"
GOMOD=""
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-build180143903=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

</pre></details>

### What did you do?

$ ninja check-gollvm


### What did you expect to see?

All test pass

### What did you see instead?

Tests of package runtime and runtime/pprof failed

@thanm @ianlancetaylor @cherrymui
Repository: You-Dont-Know-JS
Issue: types & grammar: research trig math
Labels: for second edition

https://macwright.org/2020/02/14/math-keeps-changing.html
Repository: PowerToys
Issue: Add hot corners functionality to PowerToys
Labels: Help Wanted,Idea-New PowerToy

# Summary of the new feature/enhancement

Operating systems such as macOS or some Linux distributions have hot corners option in their functionality. It would be great to have something like that in Windows. Although there are third party applications that provide such functionality (e.g. WinX Corners), they are sometimes limited.

# Proposed technical implementation details (optional)

For example, you can set one of the default options:
- Opening the task view
- Opening the start menu
- Opening of the action centre
- Opening Cortana (?)
- Opening the Alt-tab interface
- Execution of own powershell / cmd command
Repository: pytorch
Issue: IterableDataset with num_workers > 0 and drop_last=True drops more instances than expected
Labels: feature,module: dataloader,triaged

## 🐛 Bug
When using `IterableDataset` with `num_workers > 0` and `drop_last=True`, DataLoader drops more instances than expected.
It seems like the drop of incomplete batches are occurred at each worker.

## To Reproduce

Steps to reproduce the behavior:

```
import torch
from torch.utils.data import IterableDataset
from torch.utils.data import DataLoader
from torch.utils.data import get_worker_info

class MyIterableDataset(IterableDataset):
    def __iter__(self):
        worker_info = get_worker_info()
        worker_id = worker_info.id
        yield from range(100*worker_id, 100*(worker_id+1))

dataset = MyIterableDataset()
data_loader = DataLoader(dataset, batch_size=128, num_workers=10, drop_last=True)
next(iter(data_loader))

>>>
(Expect this to return some batch, but this just raises StopIteration)
```

## Expected behavior
Drops only the incomplete batch of complete iteration, not per each worker.

## Environment
PyTorch version: 1.3.1
Is debug build: No
CUDA used to build PyTorch: 10.1.243

OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.10.2

Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration:
GPU 0: TITAN Xp
GPU 1: TITAN Xp
GPU 2: TITAN Xp
GPU 3: TITAN Xp

Nvidia driver version: 440.44
cuDNN version: Could not collect

Versions of relevant libraries:
[pip] numpy==1.18.1
[pip] torch==1.3.1
[pip] torchvision==0.4.2
[conda] blas                      1.0                         mkl
[conda] mkl                       2019.4                      243
[conda] mkl-service               2.3.0            py36he904b0f_0
[conda] mkl_fft                   1.0.15           py36ha843d7b_0
[conda] mkl_random                1.1.0            py36hd6b4f25_0
[conda] pytorch                   1.3.1           py3.6_cuda10.1.243_cudnn7.6.3_0    pytorch
[conda] torchvision               0.4.2                py36_cu101    pytorch


cc @SsnL
Repository: vscode
Issue: Key binding condition for "is merging conflicts"?
Labels: feature-request,merge-conflict

It would be great if there is a way to express the key binding condition of merging conflicts. That way I can bind the same key to "move to next change" and "move to next conflict" and let VSCode do the right thing smartly.

Looks like [there is another person](https://stackoverflow.com/a/46133407/1755086) who would like this as well.
Repository: go
Issue: x/net/html: text node is moved outside <table>
Labels: NeedsInvestigation

### What version of Go are you using (`go version`)?

Playground, Go 1.13

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

Playground

### What did you do?

https://play.golang.org/p/UmY2tC6CML5

### What did you expect to see?

The output HTML should be identical to the input.

### What did you see instead?

The `test` text node is moved before `<table>`.



Yes, I know that it's not correct to have a text node directly inside a `<table>`.
However, I'm manipulating an HTML document containing templating instructions from https://github.com/flosch/pongo2 .
My goal is to do some changes in the HTML **before** rendering the template.

Is it possible to not move these text nodes, even if the HTML is not strictly valid ?
Is there another workaround ?
Repository: opencv
Issue: Decode with multiple GPUs: How can I specify whichi gpu to use in cv::VideoCapture()?
Labels: feature,priority: low,category: videoio,category: gpu/cuda (contrib)

<!--
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 => 4.2.0
- Operating System / Platform => ubuntu 18.04
- Compiler => gcc
-->

- OpenCV => 4.2.0
- Operating System / Platform => ubuntu 18.04
- Compiler => gcc

##### Detailed description

I have 2 videos to be decoded, and I have 2 available gpus. 

I want to construct two video captures to decode video 0 with gpu 0 and decode video 1 with gpu 1. 

How can I achieve this feature? Thanks!

BTW, I set 
`OPENCV_FFMPEG_CAPTURE_OPTIONS="video_codec;h264_cuvid"` to use ffmpeg with cuvid to decode videos in opencv.

##### 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: rust
Issue: parser: Implement recovery for potential unknown macro variables `$ IDENT`
Labels: C-enhancement,A-diagnostics,A-parser,T-compiler

https://github.com/rust-lang/rust/pull/69211 simplified parsing and fixed treatment of `$` tokens coming from proc macros, but slightly regressed diagnostics.

If a declarative macro body contains something that looks like an unknown macro variable `$ var`, then it's preserved and outputted like two-token sequence punctuation `$` and identifier `var`.

We previously tried to detect such sequences in `Parser::bump`, but the detection wasn't correct and wasn't done in the best way for recovery.

Instead, we need to support parsing the `$ IDENT` sequences in context dependent fashion, as an error expression in expression position, as an error type in type position etc.

Currently supported positions for macro variables (roughly in the order of importance):
- [ ] `expr`
- [ ] `ty`
- [ ] `pat`
- [ ] `item`
- [ ] `ident`
- [ ] `lifetime`
- [ ] `vis`
- [ ] `path`
- [ ] `block`
- [ ] `literal`
- [ ] `meta`
- [ ] `stmt`

It's quite possible that implementing this recovery for `ident` can successfully make implementing it for `expr`, `ty`, `pat`, `path` and `meta` unnecessary.
Repository: vue
Issue: Throw error/warn if watch path doesn't resolve to an existing property
Labels: feature request,warnings

### What problem does this feature solve?
Currently, if a watch path does not address an existing property, its handler would just silently never execute.
This may cause bugs due to a typo or refactoring that involves restructuring the app model. Especially if we want to watch something like `'$store.state.user.user.subscriptions'`.

Here's a JSFiddle to play with: https://jsfiddle.net/WofWca/50feyxn7

### What does the proposed API look like?
Just throw an error (or warn?) in such case. Like it would happen if we used `this.$watch(() => this.$store.state.user.user.subscriptions, () => { .... });`

<!-- generated by vue-issues. DO NOT REMOVE -->