sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: node
Issue: http2 client request doesn't always fire end event
Labels: http2

* **Version**: v12.16.1
* **Platform**: Darwin Cypher.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64
* **Subsystem**: http2

### What steps will reproduce the bug?
```
const http2 = require('http2');
const client = http2.connect('https://prod.geo-fsty.philo.com');
const req = client.request({ ':path': '/' });
let data = '';
req.on('data', chunk => { data += chunk; });
req.on('end', () => {
  console.log(`END: ${data}`);
  client.close();
});
req.end();
```

### How often does it reproduce? Is there a required condition?
This is reproducible every time.
Other HTTP/2 clients behave correctly, such as: `curl --http2 -v https://prod.geo-fsty.philo.com`

### What is the expected behavior?
The end event is fired.

### What do you see instead?
The end event does not fire. The complete data payload is received.

### Additional information
If the code is modified to wait for the ClientHttp2Session to be ready and delay issuing the request via setImmediate, it works.
```
const http2 = require('http2');
const client = http2.connect('https://prod.geo-fsty.philo.com', () => {
  setImmediate(() => {
    const req = client.request({ ':path': '/' });
    let data = '';
    req.on('data', chunk => { data += chunk; });
    req.on('end', () => {
      console.log(`END: ${data}`);
      client.close();
    });
    req.end();
  });
});
```
Repository: youtube-dl
Issue: VKSPEED.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 2020.02.16. 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 **2020.02.16**
- [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://vkspeed.com/oyuzj5ziy4r0.html
- Single video: https://vkspeed.com/6l67mljbc9qa.html
- Playlist: Not a feature on the website


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

It is a video hosting platform. Examples provided are of same type. No other fancy features on the website and hence no other types of URL. 

Generic Information Extractor says "Unsupported URL"

Please let me know if you require further information.
Repository: rust
Issue: Feature Request: NonZeroInt literal coersion
Labels: T-lang,C-feature-request,A-coercions

It should be possible for an integer literal to initialize a `NonZeroInt` type, like `NonZeroUsize`. For instance, this should be legal:

```rust
struct Settings {
    // None means unlimited
    max_args: Option<NonZeroUsize>
}

let settings = Settings {
    max_args: Some(2),
}
```

The compiler can easily check whether the literal is zero and fail if it is.

While I know that the `NonZero` types are "just" regular structs, it seems as though they already have so many special compiler attributes attached to them to ensure that they work with Option correctly that it seems like it wouldn't be much of a stretch to have this one as well (though I'm happy to be corrected there).
Repository: flutter
Issue: [web][safari] unskip safari font test
Labels: a: tests,team,framework,a: typography,platform-web,browser: safari-macos,P2,team-web,triaged-web

font_collection_test.dart is failing in Safari on LUCI (not locally)

The LUCI logs for the failure: https://logs.chromium.org/logs/flutter/led/nurhan_google.com/8b7433ee4ff6b175296bd9807acf776eb9c45e899119691659f27d49334a4fad/+/steps/felt_test/0/stdout
Repository: godot
Issue: VisualServer: `get_video_adapter_vendor()` and `get_video_adapter_name()` return `null` when multithreaded rendering is enabled
Labels: bug,topic:core,topic:rendering,confirmed

**Godot version:**
3.2

**OS/device including version:**
Windows/Linux

**Issue description:**
get_video_adapter_vendor()  and get_video_adapter_name() both return null if they are not running on the rendering thread.

**Steps to reproduce:**
Configure a project with the following setting in `project.godot`

```
[rendering]

threads/thread_model=2
```
call VisualServer.get_video_adapter_name() or VisualServer.get_video_adapter_vendor()

Observe the empty strings.

**Minimal reproduction project:**

[renderer-repro.zip](https://github.com/godotengine/godot/files/4233511/renderer-repro.zip)
Repository: godot
Issue: Animation Curves: moving the timeline in the Animation Panel is delayed by seconds.
Labels: bug,topic:editor

**Godot version:** 3.2.stable

**OS/device including version:** Win 64

**Issue description:**
![curve_timeline_panel_lag](https://user-images.githubusercontent.com/47016402/74989840-dd433c80-5441-11ea-92ba-cb21f37f9c5e.gif)


**Steps to reproduce:**

1. Make a new animation and enable curves.
2. set some keyframes and click the curves symbol to edit the curves
3. try to move the Timeline left panel border
Repository: PowerToys
Issue: [FancyZones] Cycle Windows across Zones (not Focus) Round Robin on hotkey
Labels: Idea-Enhancement,Product-FancyZones

# Summary of the new feature/enhancement

When the user presses a HotKey, FZ should shift Windows one place left or right. 
In a Scenario like "Priority Grid". User can cycle and bring into the center focus one of the 3 Windows. Of course, an alternative is to Use Win+Arrow, but that leaves a spot open.

Please note, I'm requesting that the Window shift from their original grid positions, not merely shifting the focus (#358 #175 )

That said, I have not thought about how to deal with overlapping windows.
Repository: godot
Issue: This error check seems unreasonable (MAX_EXTENSIONS) at vulkan_context.h
Labels: discussion,topic:rendering

Version: 4.0

Shouldn't we replace this with a comment to tell if ever we may care about more than 128 extensions, we should increase the constant MAX_EXTENSIONS to 254? Unless we reach this specific situation this condition will be false.

https://github.com/godotengine/godot/blob/851cb429631168369d2a51812de763b658795fbf/drivers/vulkan/vulkan_context.cpp#L251

Does it ever occur for a driver have a limit for the number of extensions? Because to me, even limiting the number of extensions affordable seems odd.
Repository: flutter
Issue: [google_maps_flutter] Add support for transit layer
Labels: c: new feature,p: maps,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

Add transit layer api support as in the Google Maps Javascript API, which can be found here: https://developers.google.com/maps/documentation/javascript/trafficlayer#transit_layer
Repository: terminal
Issue: Duplicate Tab doesn't duplicate split panes
Labels: Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task



# Steps to reproduce

Create some spit panes in a tab, then ctrl-shift-d  to duplicateTab,   new tab is a single pane tab.

# Expected behavior

new tab is a duplicate of the split paned tab with the same panes

# Actual behavior

single pane tab
Repository: TypeScript
Issue: No excess property error for computed property
Labels: Suggestion,In Discussion

**TypeScript Version:**  3.7.5 and 3.9.0-dev.20200220

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** excess property, computed property, index signature

**Code**

```ts
interface Foo {
	a: string;
} 

const bar: Foo = {
	a: "",
	z: "" // error, excess prop
}

const baz: Foo = {
	a: "",
	["Z".toLowerCase()]: "" // this is okay I guess?
}
```

**Expected behavior:**
The computed property in the definition of `baz` should maybe produce an excess property error, since `Foo` has no string index signature and `"Z".toLowerCase()` is only known to be a `string`.

**Actual behavior:**
The computed property is allowed.

**Playground Link:** [Here](https://www.typescriptlang.org/play/#code/JYOwLgpgTgZghgYwgAgGIHt3IN4FgBQAkHAFzIDOYUoA5gNwEC+yBBC6IlyARnFGRiwBeHAWJkARBIA0YgF6SJyAPTLk0KOijT1ADyTlyyAA6bjTFvjYcuvBWkzIReIqWRTZRANoSAWhIA6MHQAGXQAd2gAYThyCAAKAEoAXUUVNTAAC2AjHOR0AGs4AE9kAElkGgBXCEMAfiZWfCA)

**Related Issues:**  #22427

This issue is a re-opening of #22427, which was marked as a bug and closed as "fixed", but I don't see an actual fix referenced anywhere in that issue and the behavior described in that issue persists.   Any ideas?  Thanks!

There's an [SO question](https://stackoverflow.com/questions/60331830/why-can-i-create-an-index-dynamically-in-typescript) asking this, which brought me to #22427, which has me scratching my head 😕.
Repository: pytorch
Issue: Resnet 32x32 in caffe2 generates ResNet with wrong number of layers
Labels: caffe2

## Issue description

The generated 32x32  resnet model  in `caffe2/python/models/resnet.py` does not reflect the architecture of He et al (2015).  For example, if the num_groups parameter (supposedly `n` in He et al. 2015) is set to 3, it should generate ResNet18 having 6*n (+ 2) layers. However, it generates a network having 36 (+2) layers (thus ResNet36).

The bug is in line 256 of   `https://github.com/pytorch/pytorch/blob/master/caffe2/python/models/resnet.py`
The line  ` for blockidx in range(0, 2 * num_groups): ` should be `for blockidx in range(0, num_groups):` as each simple block already contains 2 conv layers.
Repository: go
Issue: x/crypto/acme/autocert: Consider storing certificates as "*.pem" in DirCache
Labels: NeedsInvestigation

I recently implemented autocert to generate certificates; it works quite well for me :+1: 

I did run in to one snag: the `DirCache` implementation stores the generated certificates as just the domain name; e.g. `test.example.com`, rather than `test.example.com.pem`.

I also use the generated certificates with an external TLS proxy (hitch), and loading the certificates like this isn't possible since it will errors out on non-certificate files like `acme_account+key`, which strikes me as reasonable behaviour on hitch's part.

If they would be stored as `*.pem` I could tell hitch to load only those files, which works.

I worked around this by wrapping the `DirCache` as below, but I think it might be reasonable to change the behaviour of `DirCache` to always do this?

```
// cache is like autocert.DirCache, but ensures that certificates end with .pem.
type cache struct{ dc autocert.DirCache }

func NewCache(dir string) cache { return cache{dc: autocert.DirCache(dir)} }

func (d cache) Get(ctx context.Context, key string) ([]byte, error) {
    if !strings.Contains(key, "+") {
        key += ".pem"
    }
    return d.dc.Get(ctx, key)
}

func (d cache) Delete(ctx context.Context, key string) error {
    if !strings.Contains(key, "+") {
        key += ".pem"
    }
    return d.dc.Delete(ctx, key)
}

func (d cache) Put(ctx context.Context, key string, data []byte) error {
    if !strings.Contains(key, "+") {
        key += ".pem"
    }
    return d.dc.Put(ctx, key, data)
}
```
Repository: opencv
Issue: dnn(Scale): errornous handling of batch inputs in untrainable scale mode
Labels: bug,category: dnn

##### System information (version)
- OpenCV => 3.4

##### Detailed description

The untrainable mode in ScaleLayer uses the second input as scale factors for the first input.
```
outputs[0] = inputs[0] * inputs[1] // elementwise multiplication with broadcasting
```

The code which performs the above operation appears to assume that the batch size is one (but there is no assertion to enforce the requirement).

https://github.com/opencv/opencv/blob/3efa78311a837b7a06d81f2f359ca98e6d26609a/modules/dnn/src/layers/scale_layer.cpp#L86-L94

`weights` is reshaped (assuming that batch size is one?).

https://github.com/opencv/opencv/blob/3efa78311a837b7a06d81f2f359ca98e6d26609a/modules/dnn/src/layers/scale_layer.cpp#L98-L104

This code attempts to look for broadcasting options.  It does so by attempting to match `numWeights` (which is `weights.total()`) to a subrange in the input tensor starting from `axis`. This logic will fail to find a match and depending on input shapes will either lead to incorrect outputs or tip-off downstream assertions 

**Example:**
```
input shape: 2 3 3 3
weights input: 2 3 1 1
```

The shapes are compatible for an elementwise operation. The current logic will fail to see it.

`weights` is reshaped to `6 1`. The matching code tries to look for a subrange in the input `(2 3 3 3)` which totals to 6 but there is no such range.

This particular example triggers an assertion.

```
(-215:Assertion failed) start <= (int)shape.size() && end <= (int)shape.size() && start <= end in function 'total'
```

##### Steps to reproduce
A test for PR16436 (not merged yet) can reproduce it:

https://github.com/opencv/opencv/blob/a42268678eac90fb7d5f09d16e3a2db7167d2641/modules/dnn/test/test_darknet_importer.cpp#L547-L548

Change `testDarknetLayer("scale_channels", false, false);` to `testDarknetLayer("scale_channels", false, true);`
Repository: vscode
Issue: Cannot drag/drop file from VS Code to other apps due to invalid data object
Labels: feature-request,file-explorer

Version: 1.42.1 (user setup)
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:45:59.656Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363

## Steps to Reproduce:
Drag a file from _Explorer_ tool window and drop it onto:

### Visual Studio
1. Visual Studio's main window (with no editors open)

**Expected**: For VS to open the file
**Actual**: Get stop icon indicating the drag is not supported

2. C# project in Solution Explorer

**Expected**: For the file to be copied to the project
**Actual**: Get an drag icon indicating that a Copy will occur, but after dropping nothing happens --

### Outlook
3. Onto Outlook

**Expected**: New Email with file as attachment
**Actual** : Message Box with _Cannot copy the items_

### Excel

4. Drop it on Excel

Expected: File to be opened as text
Actual: Just the _file name_ is pasted into cell 

Does this issue occur when all extensions are disabled?: Yes

## Background
I work on Visual Studio and debugged this from our side, and this is what I've found. We are expecting a format of CF_HDROP and doing the following pseudo code:

``` C#
var format = new FORMATETC
{
    cfFormat = CF_HDROP,
    ptd = IntPtr.Zero,
    dwAspect = (uint)DVASPECT.DVASPECT_CONTENT,
    lindex = -1,
    tymed = (uint)TYMED.TYMED_HGLOBAL
};

var storage = default(STGMEDIUM);

if (dataObject.QueryGetData(format) == S_OK)
{
     dataObject.GetData(format, storage) // "Invalid FORMATETC structure (0x80040064 - DV_E_FORMATETC)
}
```

QueryGetData is saying "I support this format", yet GetData is returning a HRESULT saying the format we just passed to QueryGetData is invalid. I suspect this is happening similarly in other applications. We have 4 or 5 places we look CF_HDROP and everyone of them fails.

I spent a little bit of time trying to figure out how VS Code produces CF_HDROP but to no avail. Could not find any code that looks like it puts a data object into the clipboard other than text.
Repository: godot
Issue: Undefined Behavior IAP. Transactions do not end.
Labels: bug,platform:ios,topic:porting

**Godot version:** 3.2

**OS/device including version:** IOS (All version)

**Issue description:**
Transactions do not end.
This is not mentioned anywhere in the documentation.

**Steps to reproduce:**
If you make a purchase, it will not end.
"pop_pending_event" Will return a purchase every time.

**Minimal reproduction project:**
Source Code in Godot engine 3.2.

_in_app_store.mm_ : 31-45 line
see on var "_auto_finish_transactions_"
```objc++
#ifdef STOREKIT_ENABLED

#include "in_app_store.h"

extern "C" {
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
};

bool auto_finish_transactions = true; // <==== This code is misleading!  In the constructor, it is reinitialized
NSMutableDictionary *pending_transactions = [NSMutableDictionary dictionary];

@interface SKProduct (LocalizedPrice)
@property(nonatomic, readonly) NSString *localizedPrice;
@end
...
```

in_app_store.mm : 314-322 line
see on var "_auto_finish_transactions_"
```objc++
InAppStore::InAppStore() {
	ERR_FAIL_COND(instance != NULL);
	instance = this;
	auto_finish_transactions = false; // <==== SEEE

	TransObserver *observer = [[TransObserver alloc] init];
	[[SKPaymentQueue defaultQueue] addTransactionObserver:observer];
	//pending_transactions = [NSMutableDictionary dictionary];
};
```

As you can see, in the constructor the variable becomes false.
But these methods are not documented: https://docs.godotengine.org/ru/latest/tutorials/platform/services_for_ios.html#purchase
```objc++
ClassDB::bind_method(D_METHOD("finish_transaction"), &InAppStore::finish_transaction);
ClassDB::bind_method(D_METHOD("set_auto_finish_transaction"), &InAppStore::set_auto_finish_transaction);
```

- - 
I also ran into a problem that it is not possible to process deferred transactions through:
```objc
- (BOOL)paymentQueue:(SKPaymentQueue *)queue shouldAddStorePayment:(SKPayment *)payment forProduct:(SKProduct *)product
```
to use promotion: https://developer.apple.com/app-store/promoting-in-app-purchases/
Repository: TypeScript
Issue: tsconfig paths not work if dir name start with dot.
Labels: Bug

<!-- 🚨 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.7.3

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**

**Code**

 `./.temp/test`

```
export enum Test {
  test
}
```

The following code does not work
```
import { Test } from '@temp/test'
```

```ts
paths: {
"@temp/*": [
        "./.temp/*"
      ]
}
```

**Expected behavior:**
import not error tips.
**Actual behavior:**
![image](https://user-images.githubusercontent.com/15847574/75014843-3488f180-54c2-11ea-9fd9-3299236113db.png)


**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: godot
Issue: set_transform() doesn't work while mouse is moving
Labels: bug,topic:core,confirmed,topic:input


**Godot version:**
3.2

**OS/device including version:**
Arch Linux & Windows 8.1, i7-6700, GTX 1070

**Issue description:**
If object.set_transform() is called while the mouse is moving, the object's transform may not be updated properly. Calling object.get_rotation() after object.set_transform() (even discarding get_rotation()'s result) seems to prevent the bug from happening.

**Steps to reproduce:**
Run the attached project. Drag the blue arrow with the mouse. Be sure to stop moving the mouse before releasing the mouse button. See that the arrow resets to its initial position.

Resetting the arrow is done by reset() in ArrowArea.gd. The relevant lines are:
```
onready var initial_transform = mesh.get_transform()
…
func reset():
  mesh.set_transform(initial_transform)
  other_area.mesh.set_transform(other_area.initial_transform)
```

Try dragging the arrow again, but this time release the mouse button while the mouse is still moving. See that the arrow doesn't reset properly.

Go into ArrowArea.gd and uncomment the last 2 get_rotation() lines. Run it and drag the arrow again. See that the arrow now resets properly, even if the mouse is still moving.

**Minimal reproduction project:**
~~[set-transform-bug.zip](https://github.com/godotengine/godot/files/4234857/set-transform-bug.zip)~~

*Bugsquad edit: Fixed project to avoid mixed indentation in scripts: [set-transform-bug.zip](https://github.com/godotengine/godot/files/4434902/set-transform-bug.zip)*
Repository: youtube-dl
Issue: Delay / missing videos in requested playlist vs actual youtube site
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.
-->

This question was previously marked as duplicate with no indication of the link or source to the duplicate question. Searching does not turn up a duplicate question. Is this issue resolvable?
Link to the dupe or the solution?

Thank you. 

When requesting playlist items youtube-dl is missing several most recent videos compared to the actual youtube page. Some hours old. This happens on several youtube channels. Is there some sort of delay?
youtube-dl --playlist-items 1-3 -j --flat-playlist https://www.youtube.com/user/NHLVideo/videos

[debug] Command-line args: [u'-v', u'--playlist-items', u'1-3', u'-j', u'--flat-playlist', u'https://www.youtube.com/user/NHLVideo/videos']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.02.16
[debug] Python version 2.7.17 (CPython) - Linux-5.3.0-29-generic-x86_64-with-Ubuntu-19.10-eoan
[debug] exe versions: ffmpeg 4.1.4-1build2, ffprobe 4.1.4-1build2, phantomjs 26300, rtmpdump 2.4