sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: MacOS Error: subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '12']' returned non-zero exit status 1.
Labels: module: build,module: cuda,triaged,module: macos

When trying to install Pytorch from source with CUDA enabled, I get the following error after running the last command in the set of instructions for installation (https://github.com/pytorch/pytorch#from-source). 

ninja: error: '/usr/local/cuda/lib/libnvToolsExt.dylib', needed by 'lib/libtorch_cuda.dylib', missing and no known rule to make it
Traceback (most recent call last):
  File "setup.py", line 745, in <module>
    build_deps()
  File "setup.py", line 316, in build_deps
    cmake=cmake)
  File "/Users/jonsaadfalcon/Documents/PoloClub Research/AdversarialProject/pytorch/tools/build_pytorch_libs.py", line 62, in build_caffe2
    cmake.build(my_env)
  File "/Users/jonsaadfalcon/Documents/PoloClub Research/AdversarialProject/pytorch/tools/setup_helpers/cmake.py", line 339, in build
    self.run(build_args, my_env)
  File "/Users/jonsaadfalcon/Documents/PoloClub Research/AdversarialProject/pytorch/tools/setup_helpers/cmake.py", line 141, in run
    check_call(command, cwd=self.build_dir, env=env)
  File "/Users/jonsaadfalcon/anaconda3/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '12']' returned non-zero exit status 1.


The previously solved issues for this problem were on Windows so idk how to solve it on MacOS. Thank you for the help.

cc @ngimel
Repository: create-react-app
Issue: include support for jest-runner-groups
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

<!--
  Provide a clear and concise description of what the problem is.
  For example, "I'm always frustrated when..."
-->

I'd like to categorize my jest tests so that I can run only a certain subset of them.

### Describe the solution you'd like

<!--
  Provide a clear and concise description of what you want to happen.
-->

There is already a package to facilitate this called jest-runner-groups, but I cannot use this in conjunction with create-react-app since it needs me to set the "runner" option which is not currently supported.

### Describe alternatives you've considered

<!--
  Let us know about other solutions you've tried or researched.
-->

the other alternative is to use `--testNamePattern` which does work but is more cumbersome to use as I need to include a unique word in the title of every test, or surround them in a `describe` block

### Additional context

<!--
  Is there anything else you can add about the proposal?
  You might want to link to related issues here, if you haven't already.
-->

(Write your answer here.)
Repository: flutter
Issue: Text on desktop Windows 10 looks rough(no antialiasing)
Labels: engine,platform-windows,a: typography,a: desktop,P3,team-windows,triaged-windows

Flutter channel: master
Flutter version: 1.16.3-pre.40
Windows 10 build: 19592
Monitor native resolution: 3840x2160
System resolution: 2560x1440
Scaling: 100%
[![Annotation-2020-03-25-141948.png](https://i.postimg.cc/7L5vFdWk/Annotation-2020-03-25-141948.png)](https://postimg.cc/qtHZnbrb)

Left is flutter, right is UWP(expected text smoothing)

A more closed up screenshot comparison
[![flutter.png](https://i.postimg.cc/tCnxg4nZ/flutter.png)](https://postimg.cc/D8FZjFgn)
flutter
[![uwp.png](https://i.postimg.cc/MT4Gk1Ds/uwp.png)](https://postimg.cc/0MYvDMhm)
uwp

Reproduction steps:
In powershell, run
`$env:ENABLE_FLUTTER_DESKTOP="true"`
In terminal, run
`flutter config --enable-windows-desktop`
`flutter create <your-app-name>`
`flutter run -d windows`
See the text on the screen for result
Repository: flutter
Issue: [animations] Allow different containers for source of open and target of closing animation
Labels: c: new feature,package,c: proposal,p: animations,team-ecosystem,P3,triaged-ecosystem

## Use case
I'm using OpenContainer with a FAB to open a new screen and add a new item to a list of OpenContainer Cards. The problem is once you add a new item, the OpenContainer animates back into the FAB which is confusing visually.

My implementation is very similar to:
https://github.com/flutter/packages/blob/master/packages/animations/example/lib/container_transition.dart
## Proposal
Add ability to change the route on the fly and animate back to the item that was just added, similar to what can be achieved with Hero animations.
Repository: react
Issue: Bug: Event handlers on custom elements work on the client but not on the server
Labels: Component: Server Rendering,Type: Needs Investigation

<!--
  Please provide a clear and concise description of what the bug is. Include
  screenshots if needed. Please test using the latest version of the relevant
  React packages to make sure your issue has not already been fixed.
-->

React version: 16.13.1

## Steps To Reproduce

```js
ReactDOMServer.renderToString(<div-x onClick={() => console.log('clicked')} />)
```

vs

```js
ReactDOM.render(<div-x onClick={() => { console.log('clicked'); }} />, root)
```

<!--
  Your bug will get fixed much faster if we can run your code and it doesn't
  have dependencies other than React. Issues without reproduction steps or
  code examples may be immediately closed as not actionable.
-->

Link to code example: https://jsfiddle.net/hsug65x0/2/

<!--
  Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
  repository on GitHub, or provide a minimal code example that reproduces the
  problem. You may provide a screenshot of the application if you think it is
  relevant to your bug report. Here are some tips for providing a minimal
  example: https://stackoverflow.com/help/mcve.
-->

## The current behavior

Custom element event handlers only work client side. In SSR the code of the event handler becomes an attribute value.

## The expected behavior

Custom element event handlers work in SSR.
Repository: flutter
Issue: Channels are ~2x slower on Android versus iOS
Labels: platform-android,engine,c: performance,perf: speed,P3,team-android,triaged-android

Microbenchmarks from https://github.com/gaaclarke/MessagingTiming

Things are going to be a bit slower because of JNI, 1ms seems excessive.

**Math:**
(0.4µs / 2.5µs) * (1000µs / 80µs) = 2

**Android:**
![Screenshot_20200325-173045](https://user-images.githubusercontent.com/30870216/77591755-e0e93980-6ead-11ea-8bc8-6188f5a31b5d.jpg)

**iOS:**
![IMG_4399](https://user-images.githubusercontent.com/30870216/77591797-f8c0bd80-6ead-11ea-80f4-a1a5bea5c9d8.PNG)
Repository: electron
Issue: Closing a child window brings a previously activate application to the front and the parent window is sent to the back
Labels: platform/windows,bug :beetle:,8-x-y,10-x-y

### Preflight Checklist
* [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 an issue that matches the one I want to file, without success.

### Issue Details
* **Electron Version:** 8.2.0
* **Operating System:** Windows 10
* **Last Known Working Electron version:** not sure

### Expected Behavior
When my electron app is visible and I have a child window opened, I expect that closing the child window will keep the main electron window on the front.

### Actual Behavior
In a specific case (see below), an application that was previously over the electron app gets brought to the front upon closing the window. Electron app is sent to the back.

### To Reproduce

1. `npm start` the below script.
2. In devtools, open a child window (e.g. `window.open("https://google.com")`).
3. Select another application from the task bar to bring it to the front of the electron app.
4. Click the electron app icon in the taskbar to bring it to the front.
5. Close the window.
6. Observe that the electron app is sent to the back and replaced with the other app that was previously brought to the front.

main.js:

```
const { app, BrowserWindow } = require('electron')

async function createWindow() {
  const mainWindow = new BrowserWindow({ webPreferences: { nativeWindowOpen: true } });
  await mainWindow.loadURL("https://google.com");
  mainWindow.webContents.openDevTools();

  mainWindow.webContents.on("new-window", (e, url, framename, disp, options, additionalFeatures, referrer) => {
    options.parent = mainWindow;
  });
}

app.on('ready', createWindow)
```
Repository: flutter
Issue: Review flutter attach performance
Labels: tool,c: performance,a: existing-apps,P2,team-tool,triaged-tool

On a simple test, it takes ~8s to connect to an already running flutter observatory via `flutter attach`. Though ~3s was from cleaning up the devfs and closing the process. 

Log gist at https://gist.github.com/xster/5becc4937c2cef8d5e84660d0601abd1

There's a 2397ms apparently pure Dart part in the middle of the process too. 

We should optimize.
Repository: TypeScript
Issue: New error: Type instantiation is excessively deep and possibly infinite.
Labels: Needs Investigation

This one's actually new in 3.8.  There are some additional errors in 3.9 - I'll post them below.

https://github.com/davidkpiano/xstate/blob/2e0bd5dcb11c8ffc5bfc9fba1d3c66fb7546c4bd/packages/core/src/stateUtils.ts#L157

```
packages/core/src/stateUtils.ts:157:36 - error TS2589: Type instantiation is excessively deep and possibly infinite.

157   return getValueFromAdj(rootNode, getAdjList(config));
                                       ~~~~~~~~~~~~~~~~~~

packages/core/src/State.ts:181:12 - error TS2589: Type instantiation is excessively deep and possibly infinite.

181     return new State(config);
               ~~~~~~~~~~~~~~~~~

packages/core/src/interpreter.ts:208:5 - error TS2589: Type instantiation is excessively deep and possibly infinite.

208     this.parent = parent;
        ~~~~~~~~~~~~~~~~~~~~

packages/core/src/interpreter.ts:783:13 - error TS2345: Argument of type '{ type: string; data: any; }' is not assignable to parameter of type 'string | EventObject | Event<EventObject>[] | Event<EventObject>'.
  Object literal may only specify known properties, and 'data' does not exist in type 'EventObject'.

783             data: err
                ~~~~~~~~~
```

To repro:
1) `yarn`
2) `tsc -b -f tsconfig.monorepo.json`
Repository: flutter
Issue: Don't destroy engine by default in the activity if the engine was provided by a subclass 
Labels: platform-android,engine,P2,team-android,triaged-android

https://cs.opensource.google/flutter/engine/+/master:shell/platform/android/io/flutter/embedding/android/FlutterFragmentActivity.java;l=552

is conceptually at odds with

https://cs.opensource.google/flutter/engine/+/master:shell/platform/android/io/flutter/embedding/android/FlutterFragmentActivity.java;l=150
Repository: pytorch
Issue: torch::normal only supports (double, double), but at::normal supports (double, double) / (double, Tensor) / (Tensor, double) / (Tensor, Tensor)
Labels: module: cpp,triaged

`torch::normal` only supports (double, double) as input, but `at::normal` supports (double, double) / (double, Tensor) / (Tensor, double) / (Tensor, Tensor) as input.

Python `torch.normal` also supports all four types of inputs (https://pytorch.org/docs/stable/torch.html#torch.normal), and we should do the same for `torch::normal`.

Some notes:
- `torch::normal` is currently defined in`torch/csrc/autograd/generated/variable_factories.h`
- Per conversation with Ed, we should put the tracing logic in VariableType and just dispatch `torch::normal` to VariableType

(This issue was originally reported by @ailzhang)

cc @yf225 

cc @ailzhang @ezyang
Repository: pytorch
Issue: [JIT] dropout fails on legacy mode
Labels: oncall: jit,triaged

## 🐛 Bug

## To Reproduce

Steps to reproduce the behavior:

On pytorch master build (1.5.0a0+efbd6b8), run 

```python 
python test/test_jit_legacy.py -k test_dropout_cuda 
``` 

The test fails. 

## Expected behavior

However, 

```python
python test/test_jit.py -k test_dropout_cuda
```

passes. 

## Environment

 - PyTorch Version (e.g., 1.0): 1.5.0a0+efbd6b8
 - OS (e.g., Linux): Fedora 29
 - Python version: 3.7.6
 - CUDA/cuDNN version: 10.1

## Additional context

This may be related to #34361. The test failure may also be related to legacy profiling executer. By commenting out the following line, the legacy test will also pass. 

https://github.com/pytorch/pytorch/blob/efbd6b8533bfa42f9e57d11b453b8a8bf4cf18ea/test/test_jit.py#L168

I'm also not sure if `test/test_jit_legacy.py` runs on pytorch CI? 

cc @suo @ptrblck @jjsjann123
Repository: opencv
Issue: Support the property CAP_PROP_SETTINGS under linux
Labels: feature,priority: low,category: videoio(camera)

##### System information (version)
<!-- Example
- OpenCV => 4.2
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2017
-->

- OpenCV => 4.2
- Operating System / Platform =>Ubuntu 18.04:
- Compiler => Qt Creator 4.11.0

##### Detailed description
when I use Videocapture , I want to use the property CAP_PROP_SETTINGS , but it was only support windows direct show , Do you consider support this property under linux .
<!-- your description -->

##### 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
-->

##### Issue submission checklist

 - [x] I report the issue, it's not a question
   <!--
   OpenCV team works with answers.opencv.org, Stack Overflow and other communities
   to discuss problems. Tickets with question without real issue statement will be
   closed.
   -->
 - [x] I checked the problem with documentation, FAQ, open issues,
       answers.opencv.org, Stack Overflow, etc and have not found solution
   <!--
   Places to check:
   * OpenCV documentation: https://docs.opencv.org
   * FAQ page: https://github.com/opencv/opencv/wiki/FAQ
   * OpenCV forum: https://answers.opencv.org
   * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
   * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
   -->
 - [x] I updated to latest OpenCV version and the issue is still there
   <!--
   master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
   OpenCV team supports only latest release for each branch.
   The ticket is closed, if the problem is not reproduced with modern version.
   -->
 - [ ] There is reproducer code and related data files: videos, images, onnx, etc
   <!--
   The best reproducer -- test case for OpenCV that we can add to the library.
   Recommendations for media files and binary files:
   * Try to reproduce the issue with images and videos in opencv_extra repository
     to reduce attachment size
   * Use PNG for images, if you report some CV related bug, but not image reader
     issue
   * Attach the image as archite to the ticket, if you report some reader issue.
     Image hosting services compress images and it breaks the repro code.
   * Provide ONNX file for some public model or ONNX file with with random weights,
     if you report ONNX parsing or handling issue. Architecture details diagram
     from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
   -->
Repository: create-react-app
Issue: Add new template for TypeSafe GraphQL (Apollo + GraphQL codegen) like Typescript template. 
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

<!--
  Provide a clear and concise description of what the problem is.
  For example, "I'm always frustrated when..."
-->

No

### Describe the solution you'd like

<!--
  Provide a clear and concise description of what you want to happen.
-->

As GraphQL (Apollo) users are getting increased a lot, we have to setup all Apollo, graphQL codegen, their plugins and other such tools in CRA to bootstrap a React+Apollo app. It will be great to create a template. 

### Describe alternatives you've considered

<!--
  Let us know about other solutions you've tried or researched.
-->

No

### Additional context

<!--
  Is there anything else you can add about the proposal?
  You might want to link to related issues here, if you haven't already.
-->

I can work on this issue, if approved
Repository: pytorch
Issue: Shared-QK transformer for the transformer (nn.activation.MultiheadAttention) module in PyTorch?
Labels: module: nn,triaged,needs research

## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
We can reduce the number of parameters by sharing the linear projection layers for queries and keys in the nn.Transformer and nn.activation.MultiheadAttention modules.


I think we edit the init and forward function in nn.activation.MultiheadAttention.
 
https://github.com/pytorch/pytorch/blob/be0cdf5d157a84dd28bd95ca8f5f82306c0340f5/torch/nn/modules/activation.py#L757

https://github.com/pytorch/pytorch/blob/be0cdf5d157a84dd28bd95ca8f5f82306c0340f5/torch/nn/modules/activation.py#L853


## Motivation

The recent paper, Reformer, proposed the shared-QK Transformer that shares the linear projection layer for keys and queries. It reduces the number of parameters and memory space while not affecting the model performance.
https://arxiv.org/abs/2001.04451

I think it is a very simple but efficient technique. If PyTorch provides this technique, many researchers can efficiently manage resources such as GPU memory.
<!-- Add any other context or screenshots about the feature request here. -->


cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: godot
Issue: RigidBody sometimes misses reporting a contact
Labels: bug,topic:physics,needs testing

**Godot version:**
3.2.1

**Issue description:**
The body_entered signal is sometimes not triggered on contact. Not entirely random, but depending on phsyics settings.

**Steps to reproduce:**
Download minimal project and watch the bounce counter in the console.

**Minimal reproduction project:**
https://www.dropbox.com/s/a3n3kvam5cd813x/MinimalProject.zip?dl=0
Repository: go
Issue: cmd/go: go get -u with GIT_TERMINAL_PROMPT=1 combines separate git username/password prompts, which can lead to password being exposed
Labels: NeedsDecision,GoCommand

<!--
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 go1.14.1 linux/amd64

</pre>

### Does this issue reproduce with the latest release?
Not Tested


### 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/nibin/.cache/go-build"
GOENV="/home/nibin/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/nibin/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/snap/go/5569"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/snap/go/5569/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/nibin/golang/mod-exp/sample-mods/mysample/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build009035298=/tmp/go-build -gno-record-gcc-switches"

</pre></details>

### What did you do?

I tried to update go module dependency ( 2 separate go modules residing in 2 repos) ( the dependency(s) resides in a private repo ) using <code>GIT_TERMINAL_PROMPT=1 GOSUMDB=off go get -u</code>
<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->



### What did you expect to see?
#### Assume Password Entered is : <code>mypassword</code>
```
Username for 'https://gitlab.com': myusername
Password for 'https://myusername@gitlab.com':
Username for 'https://gitlab.com': myusername
Password for 'https://myusername@gitlab.com':
```

### What did you see instead?
#### Assume Password Entered is : <code>mypassword</code>
```
Username for 'https://gitlab.com': 
Username for 'https://gitlab.com': myusername
Password for 'https://myusername@gitlab.com': 
Password for 'https://mypassword@gitlab.com':
```
Repository: godot
Issue: WebGL warning about TEXTURE_CUBE_MAP in Firefox
Labels: bug,platform:web,topic:rendering,confirmed

**Godot version:**
3.2.1-stable

**OS/device including version:**
Mageia 8 x86_64
Firefox 73.0.1, 74.0 (albeit with other bug #37245), Beta 75.0b8 and Nightly 76.0a1.

**Issue description:**
When running the simple MRP from #37245 in Firefox, the following warnings are displayed in the Web Console:
```
Error: WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_POSITIVE_X level 0 is incurring lazy initialization. index.js:7:260712
Error: WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_NEGATIVE_X level 0 is incurring lazy initialization. index.js:7:260712
Error: WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_POSITIVE_Y level 0 is incurring lazy initialization. index.js:7:260712
Error: WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_NEGATIVE_Y level 0 is incurring lazy initialization. index.js:7:260712
Error: WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_POSITIVE_Z level 0 is incurring lazy initialization. index.js:7:260712
Error: WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_NEGATIVE_Z level 0 is incurring lazy initialization. index.js:7:260712
```

CC @clayjohn @Faless 

**Steps to reproduce:**
- Download MRP "Export"
- Run in Firefox (`python3 -m http.server` to start web server in the project folder)

**Minimal reproduction project:**
[Minimal Project Crash.zip](https://github.com/godotengine/godot/files/4368764/Minimal.Project.Crash.zip)
[Minimal Project Crash Export.zip](https://github.com/godotengine/godot/files/4368765/Minimal.Project.Crash.Export.zip)
Repository: vscode
Issue: Event for onWill|DidRename|Create|Delete should indicate what caused the event (explorer vs workspace edit)
Labels: feature-request,api,file-io

Backstory: https://github.com/redhat-developer/vscode-java/issues/1222#issuecomment-603750889

We have events that fore before and after files are being created, deleted, or renamed. They fire when users manipulate files, e.g. in the explorer, or when the workspace-edits-api is used. There are cases in which it is valuable to know what the source of said events are.
Repository: ant-design
Issue: Carousel RTL sliding direction
Labels: help wanted,Inactive,rtl

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[https://ant.design/components/carousel-cn/#components-carousel-demo-basic](https://ant.design/components/carousel-cn/#components-carousel-demo-basic)

### Steps to reproduce
- Open link
- Select RTL
- Tap 4 sliders to switch

### What is expected?
currently 1, click 2

- The slider should slide in from the left

### What is actually happening?
- The slider should slide in from the right

| Environment | Info |
|---|---|
| antd | 4.0.4 |
| React | The latest |
| System | mac |
| Browser | chrome |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->