sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: [adobepass] DIRECTV NOW login no longer working
Labels: tv-provider-account-needed

### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2018.09.26*. If it's not, read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2018.09.26**

### Before submitting an *issue* make sure you have:
- [x] At least skimmed through the [README](https://github.com/rg3/youtube-dl/blob/master/README.md), **most notably** the [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones
- [x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

### What is the purpose of your *issue*?
- [x] Bug report (encountered problems with youtube-dl)
- [ ] Site support request (request for adding support for a new site)
- [ ] Feature request (request for a new functionality)
- [ ] Question
- [ ] Other

---

### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your *issue*

---

### If the purpose of this *issue* is a *bug report*, *site support request* or you are not completely sure provide the full verbose output as follows:

Add the `-v` flag to **your command line** you run youtube-dl with (`youtube-dl -v <your command line>`), copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```):

```
# youtube-dl --ap-mso ATTOTT --ap-username *** --ap-password *** http://www.usanetwork.com/mrrobot/videos/shutdown-r
[debug] System config: []
[debug] User config: ['--write-sub', '--sub-format', 'srt/vtt', '--sub-lang', 'de,en,deu,eng,de-DE,en-US,en-GB,de-de,en-us,en-gb', '-R', 'infinite', '--fragment-retries', 'infinite', '--socket-timeout', '10']
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.26
[debug] Python version 3.7.0 (CPython) - Linux-4.18.10-arch1-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg n4.0.2, ffprobe n4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[USANetwork] shutdown-r: Downloading webpage
[USANetwork] 3630251: Retrieving Authorization Token
ERROR: 0070-We updated our app. Just sign out and sign back into DIRECTV NOW this one time, and you'll be all set!
```
---

### Description of your *issue*, suggested solution and other information

Authorizing through DIRECTV NOW to Adobe Pass-powered websites no longer works. Apparently the authorization schema has been changed. The error message also appeared in the browser, but disappeared after a relogin.
Repository: flutter
Issue: Properly implement ideographic baseline 
Labels: engine,a: china,a: typography,P2,team-engine,triaged-engine

Currently, ideographic baseline is implemented as:
(paragraph.cc)
```
ideographic_baseline_ =
         (metrics.fUnderlinePosition - metrics.fAscent) * style.height;
```
This appears to be incorrect and was only meant to be a stand-in that was *mostly* correct for most cases.

We should try to sort this out as it particularly impacts China.
Repository: vscode
Issue: Stabilize TextSearchProvider API
Labels: feature-request,search,on-testplan,api-proposal,search-api

Master issue to track stabilizing the TextSearchProvider extension API...

Forked from #47058 

Depends on
- #59919
- #59458
Repository: vscode
Issue: Stabilize findTextInFiles API
Labels: feature-request,search,on-testplan,api-proposal

Depends on

- #59919
- #59458
Repository: create-react-app
Issue: Setting "proxy" in package.json Fails for WebSockets
Labels: issue: proposal

### Expected Behavior

Setting "proxy" in package.json should proxy WebSockets to specified server.
(As documented [here](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#proxying-api-requests-in-development): "The proxy option supports HTTP, HTTPS and WebSocket connections.")

### Actual Behavior

Proxy does not work for WebSocket connections.

### Reproducible Demo

No time for this atm. ¯\\_(ツ)_/¯
Repository: go
Issue: net: TestLookupDotsWithRemoteSource is flaky
Labels: Testing,NeedsFix

```
#!watchflakes
post <- pkg == "net" && test == "TestLookupDotsWithRemoteSource" && (`DNS server failure`||`no such host`||`server misbehaving`||`timeout period expired`)
```

We are getting flaky test failures in net. This has been somewhat rare in the past few months, but it has failed the last 5 builds, so probably worth looking into now.

```
--- FAIL: TestLookupDotsWithRemoteSource (15.57s)
    lookup_test.go:694: LookupSRV(xmpp-server, tcp, google.com): lookup _xmpp-server._tcp.google.com on 8.8.8.8:53: read udp 10.50.0.170:50511->8.8.8.8:53: i/o timeout (mode=go)
FAIL
FAIL	net	30.123s
```

Looks very related to #16865 closed 2 years ago.
Repository: go
Issue: runtime: error message: P has cached GC work at end of mark termination
Labels: GarbageCollector,NeedsFix,early-in-cycle

I just saw this in a trybot run on OpenBSD amd64: https://storage.googleapis.com/go-build-log/e4418337/openbsd-amd64-62_9bec130b.log

greplogs shows:

[2018-10-03T02:09:38-06ff477/freebsd-386-10_4](https://build.golang.org/log/443686bd274b79ac55ab231dea2af38dec07c918)
[2018-10-03T17:40:17-048de7b/freebsd-386-11_2](https://build.golang.org/log/02501624f069d0ccb2696991e9381f38fc95372e)
[2018-10-03T19:54:23-9dac0a8/linux-amd64-nocgo](https://build.golang.org/log/e2cc676b4b0438a4c836b04d570e7573c11df416)

CC @aclements @RLH
Repository: pytorch
Issue: [caffe2] Inference using multiple GPU
Labels: caffe2

I would like to load the same model on different GPUs to process the images from different cameras in parallel. However, when I use the following code to force the GPU locations for the model, the model only lives on the GPU defined by the last run of the code. 

In this case, what is the right way to load the same model on different GPUs running in different process?

Thank you

```
# set the device options to CUDA
device_opts1 = caffe2_pb2.DeviceOption()
device_opts1.device_type = caffe2_pb2.CUDA
device_opts1.cuda_gpu_id = 0

# init net
init_def1 = caffe2_pb2.NetDef()
with open(INIT_NET, 'rb') as f:
    init_def1.ParseFromString(f.read())
    init_def1.device_option.CopyFrom(device_opts1)
    workspace.RunNetOnce(init_def1)

# create net
net_def1 = caffe2_pb2.NetDef()
with open(PREDICT_NET, 'rb') as f:
    net_def1.ParseFromString(f.read())
    net_def1.device_option.CopyFrom(device_opts1)
    workspace.CreateNet(net_def1, overwrite=True)
```
Repository: flutter
Issue: Logging flutter doctor results
Labels: team,tool,t: flutter doctor,P2,team-tool,triaged-tool

It would be useful to log the results of each `flutter doctor` run to better understand where the user is blocked in the Flutter installation process. I imagine we can start by collecting some high-level statistics such as the frequency of errors in each system (Home Brew, Android SDK, XCode, Cocoa Pods, Flutter SDK, IntelliJ/Android Studio, etc).

Cc: @gspencergoog
Repository: pytorch
Issue: nn.functional.linear() for sparse tensor
Labels: module: sparse,module: nn,triaged

Add `nn.functional.linear()` with autograd for sparse tensor when input is sparse, while weights and bias are dense.

- autograd for `torch.sparse.addmm(D, S, D) -> D`
- add `torch.sparse.matmul(S, D) -> D` with autograd, also need to support broadcasting..
Repository: vue
Issue: Non-breaking space acts different than other characters - outputs "&nbsp;" in template when passed via props
Labels: bug

### Version
2.5.17


### Reproduction link
https://codepen.io/avertes/pen/LYYpNRe
[https://jsfiddle.net/50wL7mdz/756973/](https://jsfiddle.net/50wL7mdz/756973/)





### Steps to reproduce
1. Create a new component that accepts a string prop.
1. Display the prop within the component's template.
1. Use the component in a Vue application and pass a string containing a non-breaking space character for the prop.

### What is expected?
The output should contain a non breaking space

### What is actually happening?
The output shows `&nbsp;`

---
In the example provided I've made 3 cases

- First case is that `&#160;` get turned into `&nbsp;`
- Second case is that in a long list of UTF-8 characters only `NON-BREAKING SPACE` is escaped.
- And third when getting the same list of characters, but retrieving it from a regular `HTMLElement` with `document.querySelector('#test').title` the character aren't escape.


**Note**: When copying the non-breaking space character it might turn into a regular space in the clipboard. Therefor use https://en.wikipedia.org/wiki/Non-breaking_space#Keyboard_entry_methods to make sure how to insert the character.

<!-- generated by vue-issues. DO NOT REMOVE -->
Repository: create-react-app
Issue: Add an ID to the run time script
Labels: tag: enhancement

https://github.com/facebook/create-react-app/issues/5144#issuecomment-426980892
Repository: TypeScript
Issue: Typescript ESType definition improvements
Labels: Suggestion,Help Wanted,Domain: lib.d.ts

Hi,

The following types can be improved on to be more correct in the lib.es5.d.ts file.

These type improve typically deal with the cases on of the arrays items keys has subset of the other keys, in this case the results is the common subset, with mismatching fields made optional.

This requires functionality in typelevel-ts, however, that is only based on keys.
new methods should do and K in keyof T, T[K] extends S[K] ? K : never
```.ts
// Improved more correctly helper method.
type ObjectOmit<T extends Record<string,any>, O extends Record<string,any>, KeyOfO keyof O> = Pick<T, {
 [K in keyof T] : K extends KeyOfO ? 
                         T[K] extends O[K] | undefined ? never : K // may need a two way extends comparison here.
                          : K
}[keyof T]

export function ObjectAssign<T extends Record<string,any>, U extends Record<string,any>>(target: T, source: U): 
ObjectOverwrite<T, U>
{
  return Object.assign(target, source);
}

export function ArrayConcat<A>(arrayA: A [] , arrayB : A []) : A[]

export function ArrayConcat<B, A extends B>(arrayA: A [], arrayB : B []) : B & Partial<ObjectOmit<A, keyof B>>[]
export function ArrayConcat<A, B extends A>(arrayA: A [], arrayB : B []) : A & Partial<ObjectOmit<B, keyof A>>[]
{
  return arrayA.concat(arrayB) as any
}


export function FilterDefined<T>(items : Array<T> | undefined) : NonNullable<T> []
{
  if (items)
    return items.filter(f => f != undefined) as NonNullable<T> [];
  else
    return []; 
}

```
Repository: rust
Issue: Pinning non-Deref pointers
Labels: C-enhancement,T-libs-api,A-pin

Currently, you cannot even construct a `Pin` unless the pointer it wraps implements `Deref`. This means you cannot have a `Pin<*const T>`, `Pin<*mut T>` or `Pin<NonNull<T>>`. We should consider extending the API of Pin to support these constructs.

Unfortunately, I don't know if there's much this actually helps, because we have no unsafe equivalent of `Deref` as a trait abstraction. As a result, I think the only APIs that could apply to these pointers generically is:

* `unsafe fn new_unchecked(p: P) -> Pin<P>`
* `unsafe fn into_inner(self: Pin<P>) -> P`

This limits the utility of `Pin` on these pointers, since it basically guarantees nothing with this API.

If we had an `UnsafeAsRef` trait, we could support unsafe equivalents of `as_ref` and `as_mut`, allowing you to at least maintain the pinning invariant in your unsafe code. In other words, some sort of `UnsafeAsRef` and `UnsafeAsMut` traits would be necessary for this to actually be helpful. I'm not sure if those traits are worth adding.
Repository: rust
Issue: Collection APIs for deallocating backing store without running destructors
Labels: T-libs-api,C-feature-request

Unfortunately, I have some code which needs to deallocate the backing store of our collection types without running the destructors on the elements in that collection.

Currently, I am transmuting those types from `HashMap<K, V>` to `HashMap<ManuallyDrop<K>, ManuallyDrop<V>>` and then dropping that. Right now, this appears to work as intended. Incidentally, I think both rustc and std should make the necessary guarantees that this will always be safe, but I also think we should consider providing an API which deallocates these types without calling the destructors of their elements.
Repository: node
Issue: N-API: An api for embedding Node in applications
Labels: c++,feature request,node-api,embedding,never-stale

**Is your feature request related to a problem? Please describe.**
Right now there isn't a documented/stable way to use Node as a shared library inside of an application. Were one to be made using N-API, this would open up using Chakra in addition to V8 in an application.


**Describe the solution you'd like**
I would like for there to be stable APIs in `node_api.h` for creating/managing a Node environment.

A function that does this could hypothetically look like:

```cpp
NAPI_EXTERN napi_status napi_create_env(int* argc, const char** argv, napi_env* env);
// Start the node event loop
NAPI_EXTERN napi_status napi_run_env(napi_env env);
// Cleanup (e.g. FreeIsolateData, FreeEnvironment and whatever else needs to be ran on teardown)
NAPI_EXTERN napi_status napi_free_env(napi_env env);
```

The embedder could get this environment's libuv loop using `napi_get_uv_event_loop`. But I would also like to have open the possibility of providing my own libuv loop that I have control over to help integrate with other event loops (e.g. Qt's event loop). This could look like:

```cpp
NAPI_EXTERN napi_status napi_create_env_from_loop(int* argc, const char** argv,
  napi_env* env, struct uv_loop_s* loop);
```

Keeping the event loop going (using `uv_run` on the env's loop) would then be the embedder's responsibility.

Also, right now methods like `node::CreateEnvironment` seem to always jump into a REPL, unless you provide a string to evaluate or a file to run. Tweaks to help make this nicer to use for embedding will have to be made.

These APIs are just hypothetical, and will probably change when an actual attempt to implement them is made.

I am up to trying to implement this, but I would like to see what kind of discussion happens first and what other ideas people have before I start.

**Implementation Progress**
 - [ ] Create a clean non-NAPI way to use Node embedded
 - [ ] Create NAPI functions for creating and managing environments
 - [x] Create a NAPI function for evaluating a string (exists in NAPI v1: `napi_run_script`)
 - [ ] Create a NAPI function for running a script from file
 - [ ] Investigate if this can play nicely with `worker_threads`.

**Describe alternatives you've considered**
I've tried using the unstable APIs, and they aren't fun to keep up with 😅 

For discussions on how the shared library can be distributed, see this issue: https://github.com/nodejs/node/issues/24028
Repository: go
Issue: x/build/cmd/gomote: gomote push confused by non-ASCII filenames
Labels: Builders

gomote push gets confused by non-ASCII filenames at least on Darwin:

```
$ gomote push user-bradfitz-darwin-amd64-10_12-0
2018/10/04 18:09:06 Deleting remote files: ["go/test/fixedbugs/issue27836.dir/Äfoo.go" "go/test/fixedbugs/issue27836.dir/Ämain.go"]
2018/10/04 18:09:06 Remote doesn't have "test/fixedbugs/issue27836.dir/Ämain.go"
2018/10/04 18:09:06 Remote doesn't have "test/fixedbugs/issue27836.dir/Äfoo.go"
```

These were added in https://golang.org/cl/138075

gomote just uses the underlying buildlet mechanisms, which are shared by the build system, so we should understand this more in case it's causing other problems or will cause problems down the road.

/cc @thanm @cherrymui @andybons @dmitshur
Repository: TypeScript
Issue: strictPropertyInitialization should consider `return`
Labels: Suggestion,Experience Enhancement

**TypeScript Version:**  3.2.0-dev.20181004

**Code**

```ts
class C {
    x: number;

    constructor(b: boolean) {
        if (b) {
            this.x = 3;
        } else {
            return new C(true);
        }
    }
}
```

**Expected behavior:**

No error.

**Actual behavior:**

```
src/a.ts:2:5 - error TS2564: Property 'x' has no initializer and is not definitely assigned in the constructor.

2     x: number;
```
Repository: go
Issue: time: notice system timezone changes
Labels: NeedsInvestigation

### What version of Go are you using (`go version`)?

go version go1.11.1 linux/amd64

### Does this issue reproduce with the latest release?

Yes.

### What operating system and processor architecture are you using (`go env`)?

linux/amd64

### What did you do?

```
package main

import (
	"fmt"
	"time"
)

func main() {
	for {
		time.Sleep(1 * time.Second)
		fmt.Println(time.Now())
	}
}
```

in one terminal:
```
$ go run time.go
```

in another (note, this changes your computer's timezone):
```
$ timedatectl set-timezone America/Denver
$ date
Thu Oct  4 12:48:50 MDT 2018
$ timedatectl set-timezone America/Los_Angeles
$ date
Thu Oct  4 11:48:56 PDT 2018
$ 
```

### What did you expect to see?

Go process seeing that the current time changes between MDT and PDT, time displayed changing by an hour.

As far as I can tell, there's not even a way to tell package time to re-initialize its idea of local time, even if my app somehow (in a platform-specific way) realized that it was necessary.

This hurts long-running end-user apps when users travel. Think of e.g. a desktop clock.

### What did you see instead?

```
2018-10-04 12:48:48.12727581 -0600 MDT m=+1.000767878
2018-10-04 12:48:49.127890815 -0600 MDT m=+2.001383092
2018-10-04 12:48:50.128187914 -0600 MDT m=+3.001680261
2018-10-04 12:48:51.128403029 -0600 MDT m=+4.001895306
2018-10-04 12:48:52.128632471 -0600 MDT m=+5.002124678
2018-10-04 12:48:53.128842855 -0600 MDT m=+6.002335551
2018-10-04 12:48:54.129075736 -0600 MDT m=+7.002568154
2018-10-04 12:48:55.129282227 -0600 MDT m=+8.002787356
2018-10-04 12:48:56.129528956 -0600 MDT m=+9.003021303
2018-10-04 12:48:57.129734907 -0600 MDT m=+10.003227044
2018-10-04 12:48:58.129960422 -0600 MDT m=+11.003452839
2018-10-04 12:48:59.130145298 -0600 MDT m=+12.003637576
```
Repository: godot
Issue: Error saving GDScript when no scene opened in editor.
Labels: bug,topic:editor,confirmed,usability

**Godot version:**
Godot Engine v3.0.6.stable.official.8314054


**OS/device including version:**
macOS 10.13.3


**Issue description:**
Error saving GDScript in the editor when no scene is loaded in the tabs.  Closing and discarding changes made after the error keeps changes made (perhaps cached in memory?) - although changes don't appear in file on-disk.  Opening file again shows changes that were made (even though they were discarded) and force saving (Command-S) still doesn't save changes to disk.

I see at least 2 issues here:

1. A script file should be able to be edited without a scene loaded.
2. Contents of the file should be read from disk on re-opening (or better cache handling?)

I am certain I have lost GDScript changes perviously due to believing changes I had made to a script file had be saved when, in fact, they hadn't.  On reopening Godot I would find my changes lost.


**Steps to reproduce:**
1. Close all scenes and files (but leave project still open).
2. Open a GDScript file (in my case used as an AutoLoad singleton instance, inherited from Node)
3. Edit the script file.
4. Save the file.
5. Error appears stating "Alert! This operation can't be done without a tree root.".
6. Click on "I see..." button in the alert dialog box.
7. Right click on the file in the listed files and select 'Close'.
8. Choose to discard the changes.
9. Open a scene.
10. Open the previously opened GDScript.
11. Observe the changes made still exist - yet the changes have *not* been saved to disk.
12. Opening the file in an external editor will show the changes don't exist.
13. Forcing a save (Command-S) appears to save the file but changes are still not in the file.
14. On closing and reopening Godot, changes will be lost.

**Minimal reproduction project:**
Repository: neovim
Issue: `set nofoldenable foldmethod=syntax` still delays file opening
Labels: performance,bug-vim,folds

When opening large files with a `set foldmethod=syntax` autocommand, neovim delays on startup while it calculates the folds to be collapsed (profiling does not reveal any script causing the delay), which is unfortunate but understandable.

I normally don't like folding, i.e. I want my code to default being unfolded, but I do want the option of folding a function every once in a while. `zc` without a `foldmethod` set obviously causes an error, but I'm almost always dealing with structured code and have a relevant (or semi-relevant) vim language plugin enabled that sets up the folds correctly with `set foldmethod=syntax`.

I was hoping that an autocommand in my init.vim that called `set nofoldenable foldmethod=syntax` would set the fold method without blocking to calculate and then fold all contents of the file, but `set foldmethod` appears to explicitly set `foldenable` and then proceeds to fold all contents.

What I don't want to do is call `set foldmethod=syntax nofoldenable` which basically blocks to calculate the folds only to leave them unfolded (at least it doesn't flash the content as it folds-then-unfolds).

The only thing I can think of right now is to map the first `zc` in a buffer to `set foldmethod=syntax nofoldenable <CR> zc` and take the hit on first use rather than slowing each and every file load.
Repository: go
Issue: runtime/cgo: -extldflags=-stack_size=NNN does not set stack size used by runtime/cgo
Labels: help wanted,OS-Darwin,NeedsInvestigation

Please answer these questions before submitting your issue. Thanks!

### What version of Go are you using (`go version`)?
go version go1.11 darwin/amd64
macOS Sierra (10.12.6)

### Does this issue reproduce with the latest release?
yes

### What operating system and processor architecture are you using (`go env`)?
```
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/p8a/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/p8a/data/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.11/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.11/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/5l/3qmpjt5s6_z0vhkj27l7v0p40000gr/T/go-build878210713=/tmp/go-build -gno-record-gcc-switches -fno-common"
```
### What did you do?
Integrating via cgo a 3rd-party library which requires 2mb stack space does not work because stack size is set to default PTHREAD_STACK_MIN (which is less).  

The runtime behavior manifests as a deadlocked "panic" call with the following stack:

```
2359 Thread_1644947
    + 2359 _sigtramp  (in libsystem_platform.dylib) + 26  [0x7fff9656cb3a]
    +   2359 runtime.sigtramp  (in test) + 51  [0x4065fe3]
    +     2359 runtime.sigtrampgo  (in test) + 544  [0x4049000]
    +       2359 runtime.sighandler  (in test) + 1788  [0x404866c]
    +         2359 runtime.(*sigctxt).preparePanic  (in test) + 172  [0x40475fc]
```

### What did you expect to see?
Panic being triggered and a way to set cgo stack size. 

### What did you see instead?