sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Document Missing x86_64 ABIs when building from Android Studio 
Labels: tool,d: api docs,a: build,a: release,P3,team-tool,triaged-tool

According to the [official guide](https://flutter.dev/docs/deployment/android) (_How do I build a release from within Android Studio?_), we can also build release apk from within Android Studio.  However, these builds (I tested release builds) are missing x86_64 so files as opposed to `flutter build apk --release` which generates ABIs correctly for all 3 architectures.

## Steps to Reproduce
1. Create a sample Flutter application with Android Studio (File -> New -> new Flutter Project -> Flutter Application)
2. Open the "android" folder for editing in Android Studio (I'm using Tools -> Flutter -> Open for Editing in Android Studio option).
3. Build a release APK either by "Generate Signed Bundle / APK" **or** by choosing the release build variant and Build -> Make project **or** by executing `assembleRelease` task.

**Expected results:** 
I expect the generated apk contains all 3 supported ABIs: `arm64-v8a`,` armeabi-v7a,` `x86_64` because these architectures are default according to Flutter docs.

**Actual results:**
The resulting APK file does not contain `x86_64` ABIs. I tested it by unzipping the APK.

<details>
  <summary>Logs</summary>

- flutter analyze (no issues)

- flutter doctor -v
<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.7 19H2, locale pl-PL)
    • Flutter version 1.20.4 at /Users/darek/flutter
    • Framework revision fba99f6cf9 (2 weeks ago), 2020-09-14 15:32:52 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/darek/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

```

</details>
Repository: node
Issue: http2: calling ServerHttp2Stream end() can silently fail
Labels: http2

* **Version**: v14.10.1
* **Platform**: macOS 10.15.6
* **Subsystem**: http2

### What steps will reproduce the bug?

```js
const http2 = require('http2');

const server = http2.createServer({
  host: '127.0.0.1'
});

server.on('stream', (stream, headers) => {
  //stream.respond({ ':status': 200 });
  stream.end(() => console.log('FINISHED')); // nothing is ever sent!!
});

server.listen(0, () => {
  const client = http2.connect(`http://localhost:${server.address().port}/`);
  const req = client.request();
  req.on('aborted', () => console.log('ABORTED'));
  req.on('aborted', () => console.log('CLOSE'));
});
```

### How often does it reproduce? Is there a required condition?

Always, for server streams where `stream.respond()` has not been called.

### What is the expected behavior?

Not being ignored, eg. a thrown error / server stream emitted error / a response with code 200.

### What do you see instead?

`stream.end()` calls its callback, but nothing really happens!

### Additional information

A wireshark capture shows that the server never sends a response.
Repository: pytorch
Issue: Build LibTorch for cpu using OpenBLAS: Had to manually remove a path in Caffe2Targets.cmake
Labels: module: build,triaged

Hi,
I after building libtorch, i've had to manually remove a path to **libopenblas.a** in the **INTERFACE_LINK_LIBRARIES** file: ```Caffe2Targets.cmake``` 
```
set_target_properties(torch_cpu PROPERTIES
  INTERFACE_COMPILE_OPTIONS "\$<\$<COMPILE_LANGUAGE:CXX>:-std=c++14>"
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;c10;Threads::Threads;/storage/mmaatouk/openblas_lib/lib/libopenblas.so"
)
```
Once this build is distributed on another computer, it raises the following error:
```make[2]: *** No rule to make target `/storage/mmaatouk/openblas_lib/lib/libopenblas.so', needed by `libstate.so'.  Stop.```

Thanks,

cc @malfet @seemethere @walterddr
Repository: flutter
Issue: Dismissible 2.0 with additional options
Labels: c: new feature,framework,f: material design,c: proposal,team-design,triaged-design

## Use case

As [mentioned by many people 2.5 years ago already](https://github.com/flutter/flutter/issues/11825), the dismissible widget is wayyy behind today's UI patterns and does not currently have the capability it deserves. There's [Flutter_Slidable](https://pub.dev/packages/flutter_slidable), but it doesn't quite do the job either.


## Proposal


Give dismissible the power to be highly customized, work with cards, trigger many different actions, have multiple action items per side, be able to just slide a bit and then tap, be able to define how far one needs to slide to open it etc. Basically make it capable of doing what the gmail app is doing.
Repository: pytorch
Issue: torch.nonzero(t, as_tuple=...) does not work with the JIT because the as_tuple signatures are not exposed properly
Labels: oncall: jit,triaged,module: numpy,module: python array api

```
def foo(t):
  return torch.nonzero(t, as_tuple=False)
: RuntimeError: Arguments for call are not valid.
```

This is because of the Python arg parsing done to handle the "as_tuple" kwarg. Note that tracing works fine. 

cc @mruberry @rgommers @heitorschueroff @pmeier @gmagogsfm
Repository: tensorflow
Issue: LookupError when computing nested gradient with UpSampling2D
Labels: stat:awaiting tensorflower,type:bug,comp:keras,TF 2.11

**System information**
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
- TensorFlow installed from (source or binary): binary (pip)
- TensorFlow version (use command below): 2.3.1
- Python version: 3.7.4
- CUDA/cuDNN version: 10.1
- GPU model and memory: NVIDIA GeForce GTX 1070 8GB VRAM

**Describe the current behavior**
The provided code fails with the following error (see Colab link for full stacktrace):
`LookupError: gradient registry has no entry for: ResizeNearestNeighborGrad`

**Describe the expected behavior**
The GradientTape.gradient method should be able to compute the gradient.

**Standalone code to reproduce the issue**
[Google Colab standalone code](https://colab.research.google.com/drive/1eGMvXJxVvY7zb8OISkS1H3D90N0J380d?usp=sharing)

**Other info / logs**
I encountered the error while developing a GAN. I used Conv2DTranspose for upsampling at first but encountered artifacts. After changing Conv2DTranspose to a combination of UpSampling2D and Conv2D (as is common in GAN's) the inner gradient stopped working.
Repository: godot
Issue: OpenXR in Godot 4
Labels: discussion,topic:xr

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
4.0


**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Linux version 5.4.0-42-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2))
Nvidia GeForce RGX 2080Ti
Vulkan 1.2
AMD Ryzen Threadripper 2950X 16-Core Processor

**Issue description:**
Hello. I am currently working on an implementation of OpenXR using the Vulkan backend that I have directly inserted into the Godot source. It is all going really well, but I have reached an impasse.  I don't understand what the vision is for integrating OpenXR with the viewports/windows and I need some guidance to understand the intent.  There is a SubViewport class and node that can be instantiated within the scene root that can be flagged to "Use XR". Is the intent to use these SubViewport classes somehow to feed the active XrInterface? I thought maybe so, but the viewport_to_screen_rect inside of the underlying RenderServerViewport::Viewport is always [0,0] because the viewport is never attached to the screen. So I clearly don't understand what is going on here.

Basically, my idea for getting this implementation working was to slowly undef the section of code in rendering_server_viewport.cpp between #if 0 and the endif (lines 369 to 410) and try to get the eye commits working; however, the SubViewport is always skipped in the render loop because `vp->last_pass != draw_viewports_pass` is always true because of line 334, ie.. `bool visible = vp->viewport_to_screen_rect != Rect2();`

Help.

**Steps to reproduce:**
Compile.. then run. :)

Is this even the correct place to ask this question? I kinda seems like a bug but I dunno.
TIA
Repository: godot
Issue: Parse Error: The method "set_button_icon" isn't declared in the current class.
Labels: bug,topic:gdscript

**Godot version:**
3.2.3

**OS/device including version:**
N/A

**Issue description:**
Try to use a function that is not declared in the main class, but check if it exists before calling it, so it should not crash.
```
SCRIPT ERROR: GDScript::reload: Parse Error: The method "set_button_icon" isn't declared in the current class.
   At: res://scripts/game/staff/role-generic-button.gd:23.
ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:599.
```

**Steps to reproduce:**
Create a new project with the following code.
The GScript parser should not throw any error, but I cannot start the projet because of the GDScript parser.

**Minimal reproduction project:**
```gdscript
# main.gd
extends Node

func _ready():
  if has_method('set_button_icon'):
    set_button_icon()
```
Repository: rust
Issue: Deprecation text for Error::description leads users towards accidentally introducing infinite recursion
Labels: A-lints,A-diagnostics,T-compiler,C-bug,D-confusing

Consider the following code:

```rust
pub enum Error {
    Variant,
}

impl fmt::Display for Error {
    fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
        f.write_str(std::error::Error::description(self))
    }
}

impl std::error::Error for Error {
    fn description(&self) -> &str {
        match self {
            Error::Variant => "some error happened",
        }
    }
}
```

This will give you the following error:

```
error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
  --> somefile.rs:16:21
   |
16 |         f.write_str(std::error::Error::description(self))
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: requested on the command line with `-D deprecated`
```

which, if changed naively, will become:

```rust
impl fmt::Display for Error {
    fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
        f.write_str(self.to_string())
    }
}
```

making the fmt implementation self-recursive (`to_string` calls `Display` calls `to_string`...).
Repository: vscode
Issue: Tabbing when a setting is selected is jumping back to the setting
Labels: bug,macos,settings-editor

Testing #107610

- Enable Voice Over
- Open Settings Editor and focus in search
- Press Down arrow until you reach Files: Auto Save setting
- Now Tab twice -> instead of focussing the control, selection jumps back to setting. See following gif:

![Kapture 2020-09-29 at 17 28 07](https://user-images.githubusercontent.com/10746682/94579643-5842c000-0279-11eb-9997-8366d5a90cce.gif)
Repository: storybook
Issue: ArgType with control being set to 'radio' results in error
Labels: bug,addon: controls

**Describe the bug**
Inside a story definition file when setting `argTypes` for a component prop that expects `true`/`false` values and settings its control type to `radio` it results in a page crash. 

**To Reproduce**
1) Create a component with some boolean type prop.  
2) Create component story. 
3) Add argTypes for a boolean prop of that component with control type as 'radio'. 
4) Open story with that component. 
5) Try to open the 'Controls' tab. 
6) See an error. 

**Expected behavior**
The "Controls" tab opens without an error. The created boolean prop is controlled.

**Screenshots**
<img width="840" alt="Снимок экрана 2020-09-29 в 18 27 51" src="https://user-images.githubusercontent.com/10761254/94579577-a6f45800-0281-11eb-9225-2bc127981537.png">

**Code snippets**
Below is a code from a file. When control.type is 'radio' page crashes, otherwise, all is working correctly.
```
export default {
  title: 'Search',
  component: Search,
  argTypes: {
    disabled: {
      control: {
        type: 'radio'
      }
    }
  }
};
```
**System**
```
System:
    OS: macOS 10.15.6
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
  Binaries:
    Node: 10.17.0 - ~/.nvm/versions/node/v10.17.0/bin/node
    Yarn: 1.22.0 - /usr/local/bin/yarn
    npm: 6.11.3 - ~/.nvm/versions/node/v10.17.0/bin/npm
  Browsers:
    Chrome: 85.0.4183.121
    Safari: 14.0
  npmPackages:
    @storybook/addon-actions: ^6.0.22 => 6.0.22
    @storybook/addon-essentials: ^6.0.22 => 6.0.22
    @storybook/addon-links: ^6.0.22 => 6.0.22
    @storybook/react: ^6.0.22 => 6.0.22
```

**Additional info**

The issue happened in a React-based repo.
Repository: create-react-app
Issue: [CRA4] Typecheck results are often stale and get "stuck"
Labels: stale,needs triage,issue: bug report



### Describe the bug

Difficult to reproduce consistently, but with CRA4, but say you saved a file that had an error, then quickly fixed the error and re-saved, often what will happen is that it will then somehow get the typecheck results of the broken version (a save ago) and display that error as a non-dismiss-able compile-time error (despite the current file on disk being totally ok), that references a line of code that is from the previous file. This error then persists, sometimes you can get rid of it by re-saving the file (though not always), and sometimes you have to restart the dev server entirely.

Complete conjecture but I am thinking this is possibly caused by some sort of race between two asynchronous typechecks, where the initial (broken) file somehow takes a bit longer, then because the file on disk at this is not updated (despite being mismatched to the result), the typecheck is not re-run. 

If I am right the fix would be storing a random ID for each typecheck run, and maintaining a value for the latest ID, so stale typechecks don't "overwrite" current ones.
Repository: ant-design
Issue: Depend Form.Item validation ignore Form.validationTrigger="onSubmit"
Labels: Inactive

- [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-smk36)

### Steps to reproduce
1. set Form validationTrigger = "onSubmit"
2. add 2 fields to the form, the second field must be dependent on the first (<Form.Item name="secondItem" dependencies={["firstItem"]}>...</Form.Item>)
3. add a validation rule for the 2nd field (for example "required")
4. enter and then delete data in the second field
5. enter data in the first field

### What is expected?
Validation for the second field is triggered only after submitting the form

### What is actually happening?
Validation for the second field is triggered immediately after editing the first field (provided that the first field was touched)

| Environment | Info |
|---|---|
| antd | 4.6.6 |
| React | React v16.13.1 |
| System | Windows 7 |
| Browser | Google Chrome 83.0.4103.61 |

---
If this behavior is initially valid, then it would be more logical to allow control over the validation of dependent fields using the 'validateTrigger' parameter in the Rule object, which will take precedence over the 'validateTrigger' parameter in the Form.


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: create-react-app
Issue: [CRA4] require doesn't work with images
Labels: needs triage,issue: bug report

CRA 4 looks really neat, but I've had this issue for the past week:

### Describe the bug

`require` results in `[Object module]` instead of the image URL in CRA 4 but not CRA 3

see https://github.com/facebook/create-react-app/discussions/9720

### Did you try recovering your dependencies?

yes

`yarn --version`: 2.2.2

### Which terms did you search for in User Guide?

image not loading, require image typescript, typescript load image

### Environment

```
Environment Info:

  current version of create-react-app: 3.4.1
  running from /Users/suman/.config/yarn/global/node_modules/create-react-app

  System:
    OS: macOS 11.0
    CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
  Binaries:
    Node: 12.14.1 - /usr/local/bin/node
    Yarn: 2.2.2 - /usr/local/bin/yarn
    npm: 6.14.8 - /usr/local/bin/npm
  Browsers:
    Chrome: 85.0.4183.121
    Firefox: 81.0
    Safari: 14.0.1
  npmPackages:
    react: Not Found
    react-dom: Not Found
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found
```

### Steps to reproduce

1. create a CRA TypeScript with CRA v3
2. edit the CRA version (`react-scripts` in `package.json`) to `^4.0.0-next.98`. 
3. `yarn install`
4. `yarn start`


### Expected behavior

images load in CRA 4 (the same way they did in CRA 3)

### Actual behavior
with CRA 4:
![Screen Shot 2020-09-29 at 12 34 42](https://user-images.githubusercontent.com/31281983/94587181-33862280-0250-11eb-9fab-e23a0c692880.png)

with CRA 3:
![Screen Shot 2020-09-29 at 12 41 41](https://user-images.githubusercontent.com/31281983/94587867-2d447600-0251-11eb-81d0-209f162a027a.png)

both are running on the exact same project source code

### Reproducible demo

https://github.com/sumanthratna/cra-4-ts-require

if you clone, change the react-scripts version to 3, and then rerun, the React logo loads perfectly. If you make no changes to the git repo, you'll see that the logo doesn't load. 

P.S. thanks for CRA!
Repository: create-react-app
Issue: How to override react-scripts/lib/react-app-env.d.ts with src/react-app-env.d.ts?
Labels: needs triage

I would like to override one of the module declarations in `node_modules/react-scripts/lib/react-app-env.d.ts` (specifically for svgs, because I use a custom loader) I have tried to do this in `src/react-app-env.d.ts` however it seems that Typescript? or React? gives precedence to the `react-scripts` definitions. I.e.,

```tsx
// node_modules/react-scripts/lib/react-app-env.d.ts
declare module '*.svg' {
  import * as React from 'react';

  export const ReactComponent: React.FunctionComponent<React.SVGProps<
    SVGSVGElement
  > & { title?: string }>;

  const src: string;
  export default src;
}
```

```tsx
// src/react-app-env.d.ts
declare module '*.svg' {
  import React from 'react';
  const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
  export default ReactComponent;
}
```

The declaration in `src/react-app-env.d.ts` however does not have any effect, as the declaration in `react-scripts` is still the one TS/React is using.
Repository: flutter
Issue: [video_player_web] Integrate Shaka Player for DASH and HLS support.
Labels: c: new feature,platform-web,p: video_player,package,c: proposal,P3,customer: arias,team-web,triaged-web

## Use case

There has been multiple requests to support DASH/HLS videos in the web:

* https://github.com/flutter/flutter/issues/53011
* https://github.com/flutter/flutter/issues/46778

## Proposal

We should explore [Shaka Player](https://github.com/google/shaka-player), which is _an open-source JavaScript library for adaptive media. It plays adaptive media formats (such as DASH and HLS) in a browser, without using plugins or Flash. Instead, Shaka Player uses the open web standards MediaSource Extensions and Encrypted Media Extensions._

## TODO

In order to integrate this with video_player_web, we need a few things:

* Can Shaka's JS be dynamically downloaded when needed? This is to minimize the amount of JS a Flutter web app uses to bootstrap.
* Does Shaka support non-DASH/HLS videos? Can we use it as the core videoplayer? This is to decide how to integrate with the current plugin, or maybe write a new plugin for these types of videos that users optionally use.
* Create a js-interop layer of shaka's [API](https://shaka-player-demo.appspot.com/docs/api/index.html). AFAIK, nobody has integrated Shaka in Dart before.
Repository: material-ui
Issue: [useMediaQuery] Safari scrollbar unstable
Labels: bug 🐛,external dependency,hook: useMediaQuery


- [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.

## Current Behavior 😯

![2020-09-29 15 40 56](https://user-images.githubusercontent.com/1818302/94607919-997fa380-026a-11eb-9ea2-a96cb4aa41d8.gif)

## Expected Behavior 🤔

The menu should toggle once only when the menu icon is clicked.

## Steps to Reproduce 🕹

Steps:

1. Set display resolution to "Looks like 1280x800"
1. Make the Safari window fill the entire laptop screen
1. Open Safari 14.0+ on MacOS
1. Go to https://material-ui.com/getting-started/installation/ and click the menu icon in the top left

## Context 🔦

I cannot reproduce this issue on the homepage (https://material-ui.com), only on the documentation pages.

I cannot reproduce this bug in Firefox, even at the same resolution and window width that the error occurs at in Safari.

The bug only happens when the Safari window is a specific size:

<img width="1280" alt="Screen Shot 2020-09-29 at 3 54 30 PM" src="https://user-images.githubusercontent.com/1818302/94608902-17907a00-026c-11eb-8cfe-8386abf57a8a.png">


## Your Environment 🌎

| Tech        | Version |
| ----------- | ------- |
| Browser     |    Safari 14.0     |
| etc.        |    macOS Catalina  10.15.7, 2560x1600 display resolution, Display scaling set to "looks like 1280x800" (2x)    |
Repository: pytorch
Issue: [FX] Make tracer return a Graph, not a GraphModule
Labels: triaged,module: fx

Some people may want to use a custom sublclass of GraphModule to do some extra configuration/special stuff, or they may just want to consume a whole graph and return something else. We should make tracer.trace return a `Graph`, then people can just construct a GraphModule after that

cc @ezyang
Repository: pytorch
Issue: Why does NLLLoss and CrossEntropyLoss require type long?
Labels: feature,triaged

## 🚀 Feature

Flexible data type of input tensor to NLLLoss and CrossEntropyLoss. As long as it is of type int, the precision is specific to the problem. 

## Motivation

Building a model and defining loss for a multi-class prediction such as for semantic segmentation or reconstruction, if the resolution of the output tensor / image is large then the amount of memory required is absurd. Thus it leads to a significantly smaller batch size. For example, for semantic segmentation of an image 256,256,3 and of 255 classes, the amount of memory required for a batch size larger than 16 and datatype long, doesn't fit in memory of any commercial grade GPU. Moreover for most classification tasks the datatype of long is an overkill. 

## Pitch

NLLLoss(dtype=torch.uint8)