sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue:  build QT program use libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101 ok with CPU but error with cuda GPU
Labels: module: build,triaged

i use qt build program with  libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101
when i config with cpu is that ok
`
INCLUDEPATH = $$PWD/libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101/libtorch
INCLUDEPATH +=$$PWD/libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101/libtorch/include
INCLUDEPATH +=$$PWD/libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101/libtorch/include/torch/csrc/api/include
LIBS = -L$$PWD/libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101/libtorch/lib
LIBS += -ltorch_cpu -lc10
LIBS += -L/usr/local/lib
`
but when i change `LIBS +=ltorch_cpu`  to  `LIBS +=ltorch_cuda`  or  `LIBS +=ltorch` 
is get error

```
undefined reference to `torch::jit::load(std::__cxx11::basic_string<char, std::char_traits<char>,...
undefined reference to `at::print(std::ostream&, at::Tensor const&, long)
undefined reference to `at::getLegacyDeviceTypeInit()
undefined reference to `at::getLegacyDeviceTypeInit()
 undefined reference to `at::getLegacyDeviceTypeInit()
 undefined reference to `at::getLegacyDeviceTypeInit()
undefined reference to `at::getLegacyDeviceTypeInit()
undefined reference to `at::getLegacyDeviceTypeInit()
undefined reference to `torch::jit::Method::operator()
(.text._ZNK2at6Tensor5sliceEllll[_ZNK2at6Tensor5sliceEllll]+0x72): undefined reference to `c10::Dispatcher::singleton()'
(.text._ZNK2at6Tensor5sliceEllll[_ZNK2at6Tensor5sliceEllll]+0x281): undefined reference to `c10::Dispatcher::singleton()'
undefined reference to `c10::Dispatcher::findSchemaOrThrow(char const*, char const*)
 undefined reference to `c10::Dispatcher::reportError(c10::DispatchTable const&, c10::DispatchKey)
undefined reference to `c10::IntType::get()'
 undefined reference to `torch::jit::tracer::getTracingState()'
 undefined reference to `torch::jit::Graph::create(c10::Symbol, unsigned long)'
undefined reference to `torch::jit::tracer::recordSourceLocation(torch::jit::Node*)
undefined reference to `torch::jit::tracer::addInputs(torch::jit::Node*, char const*, c10::ArrayRef<long>)
undefined reference to `torch::jit::tracer::addInputs(torch::jit::Node*, char const*, c10::TensorOptions const&)
undefined reference to `torch::jit::Node::insertBefore(torch::jit::Node*)
 undefined reference to 
`torch::jit::tracer::setTracingState(std::shared_ptr<torch::jit::tracer::TracingState>)'
undefined reference to `at::globalLegacyTypeDispatch()
undefined reference to `c10::Dispatcher::singleton()
undefined reference to `torch::jit::tracer::setTracingState(std::shared_ptr<torch::jit::tracer::TracingState>)'
undefined reference to `torch::jit::tracer::addOutput(torch::jit::Node*, at::Tensor const&)
undefined reference to `c10::Dispatcher::singleton()
```
hope someone can help me
thank you very much
@goldsborough

cc @malfet
Repository: youtube-dl
Issue: EPIX website
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.06.06. 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.06.06**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.epix.com/series/laurel-canyon/season/1/episode/1/laurel-canyon-s1-e1



<!--
D:\Downloads\CuteFTP 9.0\FFMPEG Video-2>youtube-dl --cookies "D:\Internet Downloads\cookies.txt" --list-formats https://www.epix.com/series/laurel-canyon/season/1/episode/1/laurel-canyon-s1-e1?play=true
[generic] laurel-canyon-s1-e1?play=true: Requesting header
WARNING: Falling back on generic information extractor.
[generic] laurel-canyon-s1-e1?play=true: Downloading webpage
[generic] laurel-canyon-s1-e1?play=true: Extracting information
ERROR: Unsupported URL: https://www.epix.com/series/laurel-canyon/season/1/episode/1/laurel-canyon-s1-e1?play=true
-->

I am looking to download a video from the Epix.com website. I am able to download the video (up to 720p) using the free Chrome add-on 'Stream Video Downloader' so it seems like it should be even easier to grab using youtube-dl and may allow me access to the 1080p version. I have attempted accessing the video with cookies and logins but the results are the same for both. I was wondering if anyone else out there has had any success accessing the epix.com website using youtube-dl.
Repository: flutter
Issue: Check library versions in Linux doctor and CMake files
Labels: tool,t: flutter doctor,platform-linux,a: desktop,a: build,P3,team-linux,triaged-linux

See discussion in https://github.com/flutter/flutter/pull/59287

We should be checking for:
- GTK 3.22 or later
- glib ??? or later
- gio ??? or later

This should be done both in `doctor`, and in the CMake files. `doctor` should be updated to have logic to show a different message if any libraries are too old (although I don't think we need to show their versions if they are new enough, so the list of messages doesn't get to be excessive. Maybe just the GTK library version if we think that's useful.)
Repository: flutter
Issue: Material text selection menu wrong item order in RTL
Labels: a: text input,framework,f: material design,a: internationalization,has reproducible steps,found in release: 3.3,found in release: 3.6,team-design,triaged-design

When the text direction is RTL, the material text selection menu item are still LTR.

### Native android:

| LTR | Forced RTL |
|---|---|
|![Screenshot_1591936926](https://user-images.githubusercontent.com/31859944/84465845-e6445d80-ac2c-11ea-84c2-a343e31a2ac7.png) | ![Screenshot_1591937039](https://user-images.githubusercontent.com/31859944/84465862-ee9c9880-ac2c-11ea-93f9-53abd5abdaee.png)|
Repository: go
Issue: x/mobile: gomobile binding failed due to lack of some header file in Android NDK
Labels: NeedsInvestigation,mobile

<!--
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.4 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/chronosx/.cache/go-build"
GOENV="/home/chronosx/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/chronosx/Документы/code/golang/"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/snap/go/5830"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/snap/go/5830/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
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-build278490309=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

**Android NDK version**: `21.3.6528147`  

**Gomobile version**: `gomobile version +4c31acb Sun Mar 29 12:56:38 2020 +0000 (android); androidSDK=`

(I'm tried to use Go from Ubuntu repos, not only from Snap)

### 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.
-->

I'm trying to build some library which written in Go for Android (build AAR file).  
```
gomobile: go build -tags mobile -ldflags -X github.com/yggdrasil-network/yggdrasil-go/src/version.buildName=yggdrasil -X github.com/yggdrasil-network/yggdrasil-go/src/version.buildVersion=0.3.14 -s -w  -buildmode=c-shared -o=/tmp/gomobile-work-131080533/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind failed: exit status 2
# runtime/cgo
gcc_android.c:6:10: fatal error: 'android/log.h' file not found
```
The file `android/log.h` exists in Android NDK.

### What did you expect to see?

Library will compile successfully (it was compiled fine before).

### What did you see instead?

I got the error:
```
gcc_android.c:6:10: fatal error: 'android/log.h' file not found
```
Repository: vue
Issue: PropType doesn't take undefined for optional props into account
Labels: improvement,typescript

### Version
2.6.11

### Steps to reproduce
Create component with optional prop being an object and try to access its property

```ts
import Vue, { PropType } from 'vue';

Vue.extend({
  props: {
    container: Object as PropType<{ n: number }>,
    // or container: Number
  },

  mounted () {
    // should fail because this.container could be undefined
    console.log(this.container.n);
  },
});
```


### What is expected?
TS error: Object is possibly undefined

### What is actually happening?
No error

### Note

It works as expected with Composition API plugin

![image](https://user-images.githubusercontent.com/15625235/84488979-496fd780-aca1-11ea-9cd1-3f96ebdbdc28.png)

<!-- generated by vue-issues. DO NOT REMOVE -->
Repository: electron
Issue: ClientRequest lacks "timeout" configuration
Labels: enhancement :sparkles:

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
[ClientRequest](https://www.electronjs.org/docs/api/client-request) does not support "timeout" parameter. Based on testing it looks like the request will timeout in 240 seconds, but that's too much for many purposes.

### Proposed Solution
Add "timeout" in milliseconds as config parameter.

### Alternatives Considered
It's possible to handle it manually with:

```javascript
setTimeout(() => request.abort(), 10000);
```
Repository: rust
Issue: linking with rust-lld failed: exit code: 1
Labels: A-linkage,I-crash,O-Arm,T-compiler,C-bug,O-bare-metal

Dear Experts,
I am working on Discovery repository, I am building this for STM32F3 Discovery. I am facing following error 
**linking with rust-lld failed: exit code: 1** 

When I am building by 

**cargo build --target thumbv7em-none-eabihf**

It was working fine a couple of weeks ago, I am using Linux 18.04 LTS, I have updated rust my current version is

imran82ali@gmail:~$ rustup --version --verbose
rustup 1.21.1 (7832b2ebe 2019-12-20)

imran82ali@gmail:~$ rustc --version --verbose
rustc 1.44.0 (49cae5576 2020-06-01)
binary: rustc
commit-hash: 49cae55760da0a43428eba73abcb659bb70cf2e4
commit-date: 2020-06-01
host: x86_64-unknown-linux-gnu
release: 1.44.0
LLVM version: 9.0

Looking forward for your response.
Thanks, IMRAN ALI
Repository: youtube-dl
Issue: Request to add support for AcFun.cn
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.06.06. 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.06.06**
* [x] I've checked that all provided URLs are alive and playable in a browser
* [x] I've checked that none of provided URLs violate any copyrights
* [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.acfun.cn/v/ac16068535


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

The previous domain name acfun.tv is now replaced with acfun.cn
Repository: pytorch
Issue: [Caffe2]  compilation in c++ undefined reference to `caffe2
Labels: module: build,caffe2,triaged

Hi, I've tried to install caffe2 to use in c++ but I've run into some problems i can't seem to resolve. For the moment I've tried to compile a simple program to check if the library was successfully installed and i could use it. 
```
// ch1.cpp
#include "caffe2/core/init.h"

int main(int argc, char** argv)
{
    caffe2::GlobalInit(&argc, &argv);
    return 0;
}
```
I used a cmake installation of PyTorch following [#15004](https://github.com/pytorch/pytorch/issues/15004#issuecomment-451794531). I seem to have no problems creating the make file with cmake, 
but when i try to compile with make i get the following error message:
```
[ 50%] Linking CXX executable ch1
CMakeFiles/ch1.dir/ch1.cpp.o: In function `main':
ch1.cpp:(.text+0x1e): undefined reference to `caffe2::GlobalInit(int*, char***)'
collect2: error: ld returned 1 exit status
CMakeFiles/ch1.dir/build.make:111: recipe for target 'ch1' failed
make[2]: *** [ch1] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ch1.dir/all' failed
make[1]: *** [CMakeFiles/ch1.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
```
I've also tried installing pytorch using `python setup.py`, but the result is the same.


cc @malfet
Repository: flutter
Issue: Limit calls to exit()
Labels: team,tool,P2,c: flake,team-tool,triaged-tool

The Flutter CLI doesn't call `exit()` from many places today:

https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/runner.dart#L256
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/base/signals.dart#L144

But if it were to start calling exit() from more places, various hard-to-find/racy shutdown inconsistencies could potentially crop up. See the discussion here:

https://github.com/flutter/flutter/pull/58474#discussion_r436103344

After removing the call to exit() here:

https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/analyze_continuously.dart#L182

Calls to exit() could be limited using a forbidden_import_test after moving exit() from io.dart to, e.g. exit.dart.

/cc @jamesderlin @jonahwilliams
Repository: ant-design
Issue: SubMenu open status is  missing when toggle the collapse property of Side Component(侧边栏导航展开状态错误).
Labels: 💡 Feature Request,Inactive

- [ ] 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
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-2k43j)

### Steps to reproduce
1. select a submenu at left side.
2. click the  header collapse button to hide left menu.
3. click the header collapse button again to show the left menu.
4. when toggle the header collapse button,  the expand status of submenu is missing.

### What is expected?
when toggle the Sider Component collapsed property, the openKeys can not be reset.

当切换`Sider.collapsed`属性的时候, 希望`openKeys`不要被重置, 或者给一个配置可以选择

### What is actually happening?
the openKeys is always reset to empty array ([]) when toggle the  Sider Component collapsed property. 

每次切换`Sider.collapsed`属性的时候, `openKeys`都会被设置为空, 导致无法定位到先前展开的菜单

| Environment | Info |
|---|---|
| antd | 4.3.3 |
| React | 16.13.1 |
| System | macOS 10.15 |
| Browser | Chrome Version 85.0.4170.0 (Official Build) canary (64-bit) |

---
当采用的是受控组件(`selectedKeys` 和 `openKeys` 都是由程序控制的). 切换`Sider.collapsed`触发调用`onOpenChange`方法, 希望在调用`onOpenChange`方法的时候分辨一下, 是否由`SiderContext`触发的, 这样可以人为判断是否需要接受`openKeys=[]`这种情况


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: opencv
Issue: Feature request : enable cv.imencode and cv.imdecode in opencv.js
Labels: feature,category: javascript (js)

Please enable cv.imencode and cv.imdecode in opencv.js while supporting PNG, JPEG and WEBP.
Repository: material-ui
Issue: [Autocomplete] Padding issue with variant="filled" and hiddenLabel
Labels: bug 🐛,design: material,waiting for 👍,component: autocomplete

<!-- Provide a general summary of the issue in the Title above -->

Related to #21408 

![image](https://user-images.githubusercontent.com/33362998/84537041-a5902700-acb4-11ea-8e4c-b3b4403641e1.png)

![image](https://user-images.githubusercontent.com/33362998/84537071-ad4fcb80-acb4-11ea-8c70-6360e856cfa2.png)

<!--
  Thank you very much for contributing to Material-UI by creating an issue! ❤️
  To avoid duplicate issues we ask you to check off the following list.
-->

<!-- Checked checkbox should look like this: [x] -->

- [x] The issue is present in the latest release.
- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.

 

## Steps to Reproduce 🕹

<!--
  Provide a link to a live example (you can use codesandbox.io) and an unambiguous set of steps to reproduce this bug.
  Include code to reproduce, if relevant (which it most likely is).

  You should use the official codesandbox template as a starting point: https://material-ui.com/r/issue-template

  If you have an issue concerning TypeScript please start from this TypeScript playground: https://material-ui.com/r/ts-issue-template

  Issues without some form of live example have a longer response time.
-->

Steps:

1. https://codesandbox.io/s/lucid-franklin-qf5lc?file=/src/Demo.js
Repository: flutter
Issue: Upgrade java mockito to 2
Labels: a: tests,team,platform-android,engine,P2,c: tech-debt,team-android,triaged-android

https://github.com/flutter/engine/blob/d417772d7acddd447bd503e6cecefec862ab1622/shell/platform/android/embedding_bundle/build.gradle#L59-L59

There's no reason why we should be on 1 still. For instance mockito 1 can't mock final classes.
Repository: godot
Issue: Right click on script goes into this script
Labels: discussion,topic:editor

<!-- Please search existing issues for potential duplicates before filing yours:	
https://github.com/godotengine/godot/issues?q=is%3Aissue	
-->

**Godot version:**
3.2.1.stable.official
**OS/device including version:**
Windows 10 Home 1909
**Issue description:**
I don't know if it is a bug or rather a proposal. If you're in the scripts tab and have 2 (or more) scripts open and you right click a script that isn't the current script, it opens it.
**Steps to reproduce:**
Create 2 scripts. Right click the other script.
**Minimal reproduction project:**
Repository: next.js
Issue: [with-firebase-authentication] Can't use Firebase Admin SDK for anything other than verifying the token
Labels: good first issue,examples

# Bug report

## Describe the bug

There's a problem with the credential in initializing the firebase admin app. It works perfectly with admin.verifyToken, but any other method I try to use yields an error of

`Error: Credential implementation provided to initializeApp() via the "credential" property failed to fetch a valid Google OAuth2 access token with the following error: "Error fetching access token: invalid_grant (Invalid grant: account not found)". There are two likely causes: (1) your server time is not properly synced or (2) your certificate key file has been revoked. To solve (1), re-sync the time on your server. To solve (2), make sure the key ID for your key file is still present at https://console.firebase.google.com/iam-admin/serviceaccounts/project. If not, generate a new key file at https://console.firebase.google.com/project/_/settings/serviceaccounts/adminsdk.`

I've tried everything. Is there no way to use the firebase admin SDK with anything else in NextJS? 

## To Reproduce

firebaseAdmin.js

import * as admin from 'firebase-admin'


export const createUser = (email) => {
  const firebasePrivateKey = process.env.FIREBASE_PRIVATE_KEY

  if (!admin.apps.length) {
    admin.initializeApp({
      credential: admin.credential.cert({
        projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
        clientEmail: process.env.FIREBASE_CLIENT_EMAIL,
        // https://stackoverflow.com/a/41044630/1332513
        privateKey: firebasePrivateKey.replace(/\\n/g, '\n'),
      }),
      databaseURL: process.env.NEXT_PUBLIC_FIREBASE_DATABASE_URL,
    })
  } 

  return admin.auth().createUser({
    email: 'example@test.com',
    password: 'password'
  })
}

export const verifyIdToken = (token) => {
  const firebasePrivateKey = process.env.FIREBASE_PRIVATE_KEY
  if (!admin.apps.length) {
    admin.initializeApp({
      credential: admin.credential.cert({
        projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
        clientEmail: process.env.FIREBASE_CLIENT_EMAIL,
        // https://stackoverflow.com/a/41044630/1332513
        privateKey: firebasePrivateKey.replace(/\\n/g, '\n'),
      }),
      databaseURL: process.env.NEXT_PUBLIC_FIREBASE_DATABASE_URL,
    })
  }

  return admin
    .auth()
    .verifyIdToken(token)
    .catch((error) => {
      throw error
    })
}

Try to run createUser from an API endpoint

## Expected behavior

It should just work. I need a custom flow for creating my users.

## System information
- Mac.OS
- Node '12.16.1'
- NextJS - latest