sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Consider adding a clear condition option
Labels: feature-request,debug

Testing #111425 

In a standard flow, this seems clunkier than necessary.

1. [Mouse] Right click > Edit Condition
2. [Keyboard] Backspace. Enter.
Repository: flutter
Issue: Audit API docs for null safety
Labels: framework,d: api docs,a: quality,a: null-safety,P2,team-framework,triaged-framework

We should go through our API docs and make sure they're all updated for null safety.

See also https://github.com/flutter/flutter/issues/71503 about the samples.
Repository: scrcpy
Issue: dark grey (almost black) on device is dark green in scrcpy
Labels: color

is there a way to tweak the black level? it seems to me that almost black is showing as dark green for me.
![5FF63D5B-5C2D-49CB-8FEA-B5889D741CA1_1_105_c](https://user-images.githubusercontent.com/6135879/100796800-312a7b00-33ef-11eb-8fa4-24310742d369.jpeg)
![716608EE-A4BD-4BA5-B7B5-9B7B1AEA1E3F_1_105_c](https://user-images.githubusercontent.com/6135879/100796813-34be0200-33ef-11eb-96f9-393a8aa7a7e3.jpeg)
Repository: godot
Issue: Exported Ressource properties with default value don't revert properly in the editor
Labels: bug,topic:editor

**Godot version:**
Godot Standard 3.2.3


**OS/device including version:**
Windows 10


**Issue description:**
When exporting a resource with a non-null default value in a script in tool mode. Reverting the resource with the inspector doesn't set back the property to its default value but to null.
Reverting to a null value doesn't remove the revert icon either. 
But if you save the scene that way (with a null value), the scene will still load properly with the right default value but the revert icon is still visible.
This behavior resets when the Godot editor is closed.

Script:
![image](https://user-images.githubusercontent.com/31470327/100806999-d36b5280-3431-11eb-8e9d-27702609a9c2.png)

Setting the script the first time:
![image](https://user-images.githubusercontent.com/31470327/100807136-15949400-3432-11eb-9880-22a216443674.png)

After reverting the resource when changed:
![image](https://user-images.githubusercontent.com/31470327/100807188-30670880-3432-11eb-9806-1ca16cd5914a.png)

Loading after saving with the wrong null value default:
![image](https://user-images.githubusercontent.com/31470327/100807241-4a085000-3432-11eb-9c0a-8c26a09871bf.png)



**Steps to reproduce:**

- Create a tool script with an exported Ressource and a default value.
- Create a scene and attach the script to the root.
- Modify a value inside the Ressource.
- Save, close and reload the scene.
- Revert the exported Ressource with the inspector.


**Minimal reproduction project:**
[RessourceDefaultValue.zip](https://github.com/godotengine/godot/files/5625984/RessourceDefaultValue.zip)
Repository: flutter
Issue: Engine unit-tests: implement screenshot functionality on Firefox
Labels: a: tests,team,platform-web,P2,team-web,triaged-web

Implement screenshot functionality for engine unit-tests when running on Firefox.
Repository: flutter
Issue: [web] Add E2E test for pointer events
Labels: a: tests,engine,platform-web,P2,team-web,triaged-web

See related issue: https://github.com/flutter/flutter/issues/70529
Repository: pytorch
Issue: Remove remaining native:: references from non-native ATen
Labels: module: internals,triaged

@iseeyuan recently made a patchset to make ATen compileable completely separately from ATen_cpu. This does not work if you have references to native:: functions from not the native/ folder. He fixed all sites which were blocking him.

However, it turns out there are a number of native:: references that still remain. These references did not block Martin's work, but they should still be resolved:

* aten/src/ATen/BatchingRegistrations.cpp - these are nonblocking because we don't ship this cpp file on mobile
* aten/src/ATen/TensorIndexing.h - nonblocking because this is a header file and it is not used from ATen (except maybe inside a native kernel?) This file is fairly performance sensitive so make sure to do benchmarking; see https://github.com/pytorch/pytorch/pull/32841 for relevant history
* aten/src/ATen/Version.cpp - not sure what's going on here

See #47567 and #46469 for examples of how we decoupled things in the past.

cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh @ailzhang
Repository: create-react-app
Issue: sometimes fast refresh not work with anonymous function component
Labels: needs triage

create-react-app version 4.0.1

run create-react-app demo i get a initially project.

if i change App.js file from

```
function App () {
	…
}

export default App
````

to 

```
export default () => {
	…
}
```

so i only change the function compnent from App to anonymous，then fast refresh don’t working now. Of couse i manual refresh my browser but  fast refresh is not works too.

return all modification in `App.js` file, and add a file `Example.js` and content is 

```
export default () => {
	…
}
```

put this component in function component App, like this:

```
import Example from ‘./example.js’

function App () {
	return (
		…
		<Example />
		…
	)
}
```

export default App

in file Example.js fast refresh is works.

so my question is why fast refresh sometimes work great, but sometimes does not work.
Repository: godot
Issue: TextureProgress value doesn't change when dragging mouse over Value's input box in Inspector
Labels: enhancement,topic:editor,usability

**Godot version:**
3.2.3

**OS/device including version:**
Windows 10

**Issue description:**
*What happened:* The value didn't change when I dragged my mouse. If I drag my mouse extremely far, it changes the value by 1 (or whatever value Step was set to).
*What was expected:* The value to go up or down as I move my mouse while holding down the left mouse button. Similar to other numeric input boxes in the Inspector.

(Maybe because the other input boxes in Range are in decimal values, Value's input box is also in decimals? Though shouldn't it increment/decrement by Step's value?)

**Steps to reproduce:**
1. Create a TextureProgress node
2. Go to the Node Inspector and under the Range section, see Value
3. Hold the left mouse button over the number input box and drag the mouse up and down
4. (optional, but for visual feedback) add an Under and Progress texture in TextureProgress

**Minimal reproduction project:**
[TextureProgress Drag Value.zip](https://github.com/godotengine/godot/files/5626834/TextureProgress.Drag.Value.zip)
Repository: material-ui
Issue: [TouchRipple] Do not trigger it when scrolling
Labels: duplicate,component: ButtonBase

I've checked #3407, but I honestly think it's still not fixed, or is it back?! 

https://www.dropbox.com/s/jm36onjlml8j9oq/IMG_3636.MOV

Thanks a lot.
Repository: rust
Issue: `InstrumentCoverage` requires information from HIR that might need to be available via MIR
Labels: T-compiler,A-HIR,A-MIR,A-code-coverage

Coverage requires the spans for the `FnSig` and `hir::Body`.

It also uses the `hir::Body` to compute a function hash, required by LLVM intrinsic `instrprof.coverage`.

According to this code review comment:

https://github.com/rust-lang/rust/pull/79109#discussion_r533817538

> MIR strives to be a self-contained IR which means that operations on it should only use the information in MIR

Consider improving MIR to provide the information needed, to avoid going back to HIR for it.
Repository: PowerToys
Issue: [PowerRename] Option to set an offset for date/time
Labels: Idea-Enhancement,Product-PowerRename

Reference #909 for this feature improvement

Right now I'm still using [AdvancedRenamer](https://www.advancedrenamer.com/) instead of PowerRename because of 2 features I'm missing:

* Rename based on files `Date taken` attribute instead of `File Created` date (covered by #6151)
* Option to set some manual offset for the date read from file attribute

# Use case for date/time offset

I'm using my camera only a few times a year and when I do, chances are high that I'm abroad, in a different time zone. Time has to be set manually on the camera. There's no online auto sync or anything. This oftentimes leads to incorrect time stamps on my photos since I simply forget to set the correct time before taking photos.

Having an option to set a manual offset in `+/- hh:mm:ss` format allows me to fix those timestamps in the filename.


---

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Repository: flutter
Issue: flutter build aar --output-dir command line argument
Labels: c: new feature,platform-android,tool,a: existing-apps,c: proposal,a: build,a: release,P3,team-android,triaged-android

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

I added a flutter module to my android app, and in our production builds, we want to depend on the Android Archives. I already configured everything in my gradle scripts to set the correct dependencies. When building the AAR, i set the output dir to our own maven repository location where we put other artifacts. However the command still adds the `host/outputs/repo` directories, thus needing to put an extra maven repo location in my gradle files

## Proposal

Setting the `--output-dir` command line option, skips generating the `host/outputs/repo` directories, and the AAR are created in the specified directory
Repository: TypeScript
Issue: Error when trying to assign a subclass of a base class with generics to `typeof` of that base class
Labels: Bug,Has Repro

**TypeScript Version:**  4.1.2

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** class generic extends typeof 2322

I stumbled upon a type error when trying to assign a subclass of a base class with generics to `typeof` of that base class.

**Code**

```ts repro
declare class Base<T extends Record<string, any>> {
  a: T;

  constructor(a: T);
}

class Sub1 extends Base<{a: boolean}> {}

const error: typeof Base = Sub1;

// Silence error by adding another constructor definition:
declare class BaseWith2Constructors<T extends Record<string, any>> {
  a: T;

  constructor(a: T);
  constructor(a: T);
}

class Sub2 extends BaseWith2Constructors<{a: boolean}> {}

const noerror: typeof BaseWith2Constructors = Sub2;
```

**Expected behavior:**

I would expect the first assignment to not error as well.

**Actual behavior:**

I get error 2322. The error says `Type 'T' is not assignable to type '{ a: boolean; }'` and `Property 'a' is missing in type 'Record<string, any>' but required in type '{ a: boolean; }'` which sounds like the assignment checks are flipped.

Strangely enough, the error can be silenced by adding a second constructor definition. Is that a workaround I can rely on?

If this is expected behavior, how am I supposed to use the base class as common base in this example? I cannot do `typeof Base<any>` in this case because that's a syntax error.

**Playground Link:**

https://www.typescriptlang.org/play?ts=4.1.2#code/CYUwxgNghgTiAEkoGdnwEIpAHgCrxAA8AXEAO2DQCVwB7GYbZYmASzIHMAaeKMgTwB8g+AG8AsACh4vAFzxcAbilSZYWmWYwArmGL0AFFHm4AlMskBfFZKSp4AZW0AjAIwES5ShizZRx+GdaWggQPksRUWtJKXVNYgIYGHp5Yn4ABxBaADMfZAQAXkcXVwspAHpyx1ZQsjAEECT6QP5eYGB2Dl4yWmIAC0bEDS1dfRh4UGz2VmJWDVkpUCQ4RGh7THyAdRm+gCYAYWGWUfpkPA9SCmo6BiYWTp4+IUjVOQUy6SH4nT1DALMLGojj8xkYTOYpNFYms0E5nLsLl40BsQNt+gdgScYGd-PIgiEwmQImIobYjvAeo1kjBUhksrkUWi9odvli0EU4btFEA

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
Repository: pytorch
Issue: provide example for distributed training with iterative dataloaders 
Labels: oncall: distributed,module: dataloader,triaged

Hi
I need to make iterative datasets work with distributed training, for this I shard the data which does not work, see my issue here https://github.com/pytorch/xla/issues/2657 to pytorch XLA team but this is in fact related to pytorch team to me, there is NO documentation or proper examples showing how to do it, I really need to make it work, could you please assist me? thanks 

cc @SsnL @VitalyFedyunin @ejguan @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @agolynski @SciPioneer @H-Huang @mrzzd
Repository: pytorch
Issue: Caffe2 upsample do not support float times output_size
Labels: oncall: mobile



Hi all,
I export a quantized model (with output_size=7x7, and input size is 4x4)
 to onnx, and I try to run it on caffe2 backend. And I found that the height_scale is 1 but not 1.75 according the [code](https://github.com/pytorch/pytorch/blob/f02753fabb8116ab202fd56b3fcaf9389b7cade6/caffe2/operators/quantized/int8_resize_nearest_op.h#L40).

cc @jerryzh168 @jianyuh @dzhulgakov @raghuramank100 @jamesr66a @vkuzo
Repository: ant-design
Issue: Wrong trigger event `afterVisibleChange` of <Popover> <Tooltip> <Popconfirm>
Labels: help wanted,Inactive,improvement

- [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
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-forked-38t08?file=/index.js)

### Steps to reproduce
点一下open

### What is expected?
弹出来的内容一直显示hello

### What is actually happening?
最后一瞬间显示了empty

正常情况下visible和afterVisible都false的时候，应该弹出内容是完全不显示了。
另外，可以看一下输出setAfterVisible每次都调用了2次。


| Environment | Info |
|---|---|
| antd | 4.9.1 |
| React | 17.0.1 |
| System | window 10 |
| Browser | firefox |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: test_inverse setup is flaky using MKL>=2020.1 on certain CPUs and fails on CUDA
Labels: module: cuda,triaged,module: mkl,shadow review

## 🐛 Bug

`test_inverse` fails after updating MKL to >=2020.1 (we used 2019.1 previously) on DGX1V nodes (8x V100) in `float32`.

### Root cause
While debugging we could narrow down the root cause to the test setup in [`random_fullrank_matrix_distinct_singular_value`](https://github.com/pytorch/pytorch/blob/bcc85a363ecbcb381623d3c26faa94be13ad58bc/torch/testing/_internal/common_utils.py#L1540-L1552). In particular the call to [`A.svd()`](https://github.com/pytorch/pytorch/blob/bcc85a363ecbcb381623d3c26faa94be13ad58bc/torch/testing/_internal/common_utils.py#L1549) is performed on the CPU in `float32` for the failing test and is calling into MKL in our setup.

We compared the result tensors (the code is deterministic) and could see numerical differences in the range `~1e-6`, which might be expected for `float32`. Nevertheless, we assume that even this small additional noise might cause the downstream operations and thus the `inverse` test to fail.
We used two different containers (one with MKL==2019.1 and another one with MKL==2020.4), created the `matrix` in both containers, and tested them by directly loading this tensor.
While the `matrix` created by MKL==2019.1 passes the test, it fails if it's created by MKL>=2020.1.

We assume the change in MKL is CPU-dependent, as we are seeing the failure using the DGX1V CPU
```
Intel(R) Xeon(R) CPU E5-2698 v4 @ 2.20GHz
```
while e.g. a DGX Station CPU doesn't seem to create the issue:
```
Intel(R) Xeon(R) CPU E5-1660 v4 @ 3.20GHz
```

While we tested it on these machines, we cannot verify that the test won't fail on other CPUs/setups.

### Background
In https://github.com/pytorch/pytorch/pull/47595 the test was modified and the thresholds for the additional `dtypes` were added (`float32`, `float64`, `complex64`, `complex128`).
Before this PR the test was located in [`test_torch.py`](https://github.com/pytorch/pytorch/blob/a5c65b86ce249f5f2d365169e6315593fbd47b61/test/test_torch.py#L6188-L6254) and used `float64` only, if I'm not missing the `dtype` override.

I'm unsure how these thresholds were determined, but they might be too strict for `float32` and might need to be increased.
Alternatively, the test could also use `float64` only again, but I'm unsure what the right approach for these linalg methods would be.

CC @IvanYashchuk who was working on the mentioned PR and might know how the thresholds were set.

CC @ngimel @csarofeen 


cc @ngimel @ezyang
Repository: rust
Issue: when program cause std::io::Error, can take the current path?
Labels: C-enhancement,T-libs-api

below code is a example about program cause error 
```rust
use std::fs;

fn main() -> std::io::Result<()> {
    let conf = read_cargo_conf()?;
    println!("conf:{}", conf);

    let lock = read_cargo_lock()?;
    println!("lock:{}", lock);

    Ok(())
}

fn read_cargo_conf() -> std::io::Result<String> {
    fs::read_to_string("./Cargo.conf")
}

fn read_cargo_lock() -> std::io::Result<String> {
    fs::read_to_string("./Cargo.lock")
}
```

when `Cargo.conf` or `Cargo.lock` not exist, the cause error message not very clear. Below output error message
```bash
~ cargo run
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
~
```

`No such file or directory` not clear with `Cargo.conf` or `Cargo.lock`. Shouble be changed with like this:

```bash
~ cargo run
Error: Os { code: 2, kind: NotFound, message: "No such file or directory with `/root/rust-demo/Cargo.conf`" }
~
```
Is there an additional full_path to be more clear. That I can know my program cause error line.
Repository: pytorch
Issue: RTX 3090 setup vs 2x RTX 2080TI setup slower? Help..
Labels: module: performance,triaged,module: data parallel

Hi all, 

I have a question on the setup for pytorch which is bothering me a lot. I have one setup with the following specs:

**SETUP A** (Data Parallel)
2x RTX 2080 TI MSI Gaming X Trio
1x Threadripper 1950X
96 GB RAM (2600MHz)

Another setup with:
**SETUP B** (Single GPU)
1x RTX 3090 ZOTAC Trinity 
1x Threadripper 3970x
64GB RAM (3200MHz)

However, when running the same model, Setup A takes only 10 minutes for each epoch, but Setup B takes 15 minutes for each epoch. May I know what's causing this to happen, when Setup B is actually having specs higher than Setup A? It is pretty confusing. Does having 2x gpu (double the memory clock speed) perform faster than having more cuda cores? Based on experimentations, it shows that 1x gpu should perform faster or even on par with 2x gpu.

https://blog.exxactcorp.com/rtx-3090-benchmarks-for-deep-learning-nvidia-rtx-3090-vs-2080-ti-vs-titan-rtx-vs-rtx-6000-8000/
Comparisons were done in the post above.

Thank you

cc @VitalyFedyunin @ngimel
Repository: flutter
Issue: Strange flickering on Windows desktop when hovering over checkboxes on Windows
Labels: engine,platform-windows,c: rendering,a: desktop,P2,team-windows,triaged-windows

with my current Flutter Desktop App on Windows one of our Testers reports a flickering when using the flutter_map plugin when he hovers above a checkbox on the screen which probably triggers a rebuild. Please see attached video.
It seem to depend on the windows monitor scaling factor and the window size.
Unfortunately I can't reproduce this on my Windows machine.

Have you seen something like that before?

cc: @johnpryan 


[MapFlicker.zip](https://github.com/flutter/flutter/files/5630375/MapFlicker.zip)


I'm running on latest master:

```
√] Flutter (Channel master, 1.24.0-8.0.pre.356, on Microsoft Windows [Version 10.0.18363.1198], locale de-DE)
    • Flutter version 1.24.0-8.0.pre.356 at C:\Entwicklung\flutter
    • Framework revision e6bd95bc5c (9 days ago), 2020-11-23 14:10:58 -0800
    • Engine revision 23a8e027db
    • Dart version 2.12.0 (build 2.12.0-62.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\escam\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.4.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.4.29709.97
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Community Edition (version 2018.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.5
    • Flutter plugin version 29.1.3
    • Dart plugin version 182.4892.25

[√] VS Code, 64-bit edition (version 1.51.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.16.0

[√] Connected device (4 available)
    • Windows (desktop) • windows    • windows-x64    • Microsoft Windows [Version 10.0.18363.1198]
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 86.0.4240.198
    • Edge (web)        • edge       • web-javascript • Microsoft Edge 87.0.664.47

• No issues found!
```