sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: react-native
Issue: Android: Installed services
Labels: Good first issue,Platform: Android,Accessibility,Needs: Docs Website PR,Accessibility Team - Evaluated

## Requires API Proposal
This issue may require a new API, or a change to an existing API. An API proposal should be added and discussed before proceeding with implementation. The API proposal can be added in the comments of this issue or linked as a separate issue.

This issue has a parent issue #31346 and is intertwined with #30863 & #30862. Please review those issues before working on this one.

## Description
Sometimes it is useful to query what accessibility services a user has installed so that you can tailor your app's UI for potential changes that may be necessary if those services are enabled.  For example, if a user has the "Select to speak" service installed, you may want to present your UI in an easier-to-select layout with more padding between elements, and only trigger that change when the service is enabled.

## React Native version:
v0.63

## Expected Behavior
The AccessibilityInfo API should have a way to query a list of installed accessibility services.

## Android Details
This functionality is available on the AccessibilityManager class via the getInstalledAccessibilityServiceList method.
https://developer.android.com/reference/android/view/accessibility/AccessibilityManager#getInstalledAccessibilityServiceList()
Repository: react-native
Issue: Android: Color inversion
Labels: Good first issue,Platform: Android,Accessibility,Accessibility Team - Evaluated

## Description
Detecting this setting works on iOS, but not on Android.

## React Native version:
v0.63

## Expected Behavior
The AccessibilityInfo API's "isInvertColorsEnabled" method should work on Android as well as iOS.

## Android Details
This setting can be queried using the `Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED` property.
https://developer.android.com/reference/android/provider/Settings.Secure#ACCESSIBILITY_DISPLAY_INVERSION_ENABLED
Repository: go
Issue: runtime: unactionable "runtime: failed to create new OS thread (13)" error messages during Chromium build
Labels: help wanted,OS-Windows,NeedsFix,compiler/runtime

### What version of Go are you using (`go version`)?

<pre>
Unknown

</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>
Windows 10 19041

</pre></details>

### What did you do?

Sometimes when building Chromium the message "runtime: failed to create new OS thread (13)" is printed. This is presumed to come from here:

https://github.com/golang/go/blame/master/src/runtime/cgo/gcc_windows_amd64.c#L29

### What did you expect to see?

I expect that the Go programs which run as part of the Chromium build should succeed. If they do not succeed I expect that they will return an error code such that the build is halted. It could also be useful if they record a crash dump (intentionally crashing will do this) or print enough information (process name and command line) to give some hope of diagnosing the problem.

### What did you see instead?

The message is printed and the ninja build of Chromium continues. No failure is seen which suggests that the error is, somehow, non-fatal. Here is typical output:

"c:\src\depot_tools\ninja.exe" -C out\release chrome -j 1000
ninja: Entering directory `out\release'
[1000 processes, 18048/41525 @ 54.1/s : 333.332s ] CXX obj/components/invalidation/impl/impl/mock_ack_handler.obj
runtime: failed to create new OS thread (13)
[1 processes, 41374/41374 @ 39.2/s : 1056.572s ] STAMP obj/chrome/chrome.stamp

Apologies for the lack of details but I don't know anything about how Go is used in the Chromium build system. This is happening on Google workstations with 96+ GB of RAM so resource limitations are unlikely to be the problem.

In addition to the non-ideal failure mode the failure itself is of interest - it is not clear why create thread is failing and that seems worth understanding.
Repository: opencv
Issue: implement WINDOW_KEEPRATIO for highgui win32 backend
Labels: category: highgui-gui,RFC,pr: Discussion Required

[WINDOW_NORMAL](https://docs.opencv.org/master/d0/d90/group__highgui__window__flags.html) (0) implies [WINDOW_KEEPRATIO](https://docs.opencv.org/master/d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3aa6bbb962c222cdf8b8539594a2d0d035) (0), which means WINDOW_NORMAL should maintain an image's ratio throughout window resizing. WINDOW_FREERATIO (nonzero) is a flag to disable that and cause the picture to be stretched in both directions independently. some backends conform to the documentation.

I noticed that WINDOW_KEEPRATIO on win32 (GDI/OpenGL) _doesn't_ actually maintain the ratio of the shown picture. the implementation contains no code that would do this.

I have investigated the code and believe I can implement that. it will require several changes to window_w32.cpp, primarily the "layouting" logic.

##### Steps to reproduce

```python
import numpy as np
import cv2 as cv
im = np.eye(200)
cv.namedWindow("autosize", cv.WINDOW_AUTOSIZE)
cv.namedWindow("keepratio", cv.WINDOW_KEEPRATIO)
cv.namedWindow("freeratio", cv.WINDOW_FREERATIO)
cv.imshow("autosize", im)
cv.imshow("keepratio", im)
cv.imshow("freeratio", im)
cv.waitKey()
```

![image](https://user-images.githubusercontent.com/7065108/106827117-86516a00-6688-11eb-9bba-1c6066d53635.png)
Repository: youtube-dl
Issue: Support for Echo360
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 2021.02.04. 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 **2021.02.04**
- [ ] I've checked that all provided URLs are alive and playable in a browser
- [ ] 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.
-->
Cant give URL due to them being account restricted but they have a URL structure like this
- Single video: https://echo360.org.au/lesson/${video_ID}/classroom#sortDirection=desc
- Playlist: https://echo360.org.au/section/${playlist_ID}/home


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

There are more domains for echo360. 
Is used by many University to host video recordings.
Some videos have multiple streams for different viewing angels like one showing screen record and the other one the lecture.
Python program that download echo360 videos https://github.com/soraxas/echo360 
API https://echo360.org/api-documentation
There is support for public videos but i can't find any examples for that.
Repository: transformers
Issue: Adversarial/amnesic heads
Labels: Feature request

# 🚀 Feature request

Task heads that backpropagate deliberately reversed gradients to the encoder. A flag requesting this behavior when constructing a task head.

## Motivation

Transfer learning experiments lend themselves to questions about the extent to which two tasks rely on the same information about a word/sentence, and to experiments probing whether and how word encodings contain/correspond to syntax trees, lemmas, frequencies, and other objects of linguistic/psycholinguistic study.

A difficulty is that a pretrained model, without fine-tuning, may already encode certain information too thoroughly and accessibly for intermediate training to make much of a difference. For example, BERT's masked language modeling objective produces word encodings in which syntax information is readily accessible. Intermediate training on a syntax task requires training a task head to extract this information, of course, but it will result in very little reorganization of the encoder itself.

Adversarial training, such as the amnesic probing of Elazar et al. 2020, can avoid this pitfall. Intermediate training can aim to burn particular information *out* of the encodings, and measure how much this impairs trainability of the target task. Strictly reversing the sense of the training data won't do it though; getting all the answers exactly wrong requires just as much domain knowledge as getting them all right does. And randomizing the labels on training data may just result in a feckless task head, one that discards useful information passed to it from the encoder, rather than affecting the encoder itself. 

Ideally, then, the task head would be trained toward correctly reproducing gold-standard labels, but would flip all its gradients before backpropagating them to the shared encoder, thus training it not to produce precisely the signals that the task head found most informative. The following work by Cory Shain illustrates flipping gradients in this way (although it's not applied to shared-encoder transfer learning, but rather to development of encoders that disentangle semantics from syntax).

	https://docs.google.com/presentation/d/1E89yZ8jXXeSARDLmlksOCJo83QZdNbd7phBrR_dRogg/edit#slide=id.g79452223cd_0_19
	https://github.com/coryshain/synsemnet

## Your contribution

I am deeply unfamiliar with pytorch, unfortunately, and utterly ignorant of tensorflow. I can't offer much.
Repository: flutter
Issue: macOS shell defaults to white background
Labels: engine,platform-mac,a: desktop,P2,c: parity,team-macos,triaged-macos

As far as I can tell, the macOS shell defaults to a white background instead of a black background. This means that e.g. the default Hello World won't work the same on macOS than on other platforms.

We should probably use the same background everywhere.
Repository: storybook
Issue: check and inline-check control state not reset between stories
Labels: bug,addon: controls

**Describe the bug**

Controls defined with type `inline-check` or `check` don't have their state reset when navigating between stories of the same component.

**To Reproduce**
Steps to reproduce the behavior:

I've created a demo repo here: https://github.com/dwightjack/storybook-control-demo (`npm i`) to install

1. Go to '.Example > Button > Primary' story
2. Select the `one` variant checkbox in the Controls panel
3. Go to another story within the Button component
4. `one` is still checked

**Expected behavior**

Changing story should reset the checkbox state to its initial value.

**System**

```
  System:
    OS: macOS 10.15.7
    CPU: (4) x64 Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
  Binaries:
    Node: 12.16.0 - ~/.nodenv/versions/12.16.0/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.13.4 - ~/.nodenv/versions/12.16.0/bin/npm
  Browsers:
    Chrome: 88.0.4324.146
    Firefox: 83.0
    Safari: 14.0.2
  npmPackages:
    @storybook/addon-actions: ^6.1.16 => 6.1.16
    @storybook/addon-essentials: ^6.1.16 => 6.1.16
    @storybook/addon-links: ^6.1.16 => 6.1.16
    @storybook/react: ^6.1.16 => 6.1.16
```

**Additional context**

I think this issue might be related to https://github.com/storybookjs/storybook/issues/10277.
Repository: PowerToys
Issue: Add translations for keybindings
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Product-Settings,Area-Localization,Priority-1,Cost-Medium,Issue-Translation

## ℹ Computer information

- PowerToys version: 0.31
- PowerToy utility: settings
- Language: German

## 📝 Provide where the issue is / 📷 Screenshots

![image](https://user-images.githubusercontent.com/58633848/108235727-691ba180-7146-11eb-8e35-6eac45c6dfea.png)![image](https://user-images.githubusercontent.com/58633848/108235759-78025400-7146-11eb-94bf-111e409230f8.png)![image](https://user-images.githubusercontent.com/58633848/108235808-85b7d980-7146-11eb-8c4b-f0bf6d3c21fd.png)

![image](https://user-images.githubusercontent.com/58633848/108236132-d62f3700-7146-11eb-8611-916884f113fa.png)


### ❌ Actual phrase(s)

Ctrl

### ✔️ Expected phrase(s)

Strg

### ℹ Why is the current translation wrong

On the german keyboard Ctrl (Control) is named Strg (Steuerung) and all Microsoft products have implmented this, so PowerToys should also do it. **Also other languages are affected**

### Other phrases

(left) and (right) should get translated.

print screen -> druck
Insert -> einfg or einfügen
Delete -> entf or entfernen
and more
Repository: flutter
Issue: Scrolling over a large delta in a very short amount of time in ListView.builder is significantly slower
Labels: framework,c: performance,f: scrolling,perf: speed,has reproducible steps,P2,team-framework,triaged-framework,found in release: 3.19,found in release: 3.22

Open the below project on MacOS and try using the scrollbar to jump halfway down the list. 

https://gist.github.com/ryanknauer/d8361c0e59ffd51f77b735ea8698714d

Expected: Smooth scrolling.
Actual: Freezes for multiple seconds.

This issue does not occur on Linux or Web. Also note that the above is using a fixed itemExtent so this is just an issue of laying out onscreen text as the user scrolls. 


**Target Platform:** MacOS
**Target OS version/browser:** Catalina 10.15.7
**Devices:** Macbook Pro
Repository: pytorch
Issue: Weird behavior in Conv2d padding when changed to 'reflect'
Labels: module: docs,module: nn,module: convolution,triaged,module: padding

![image](https://user-images.githubusercontent.com/49643709/106861754-8ba2c900-6709-11eb-9eb1-d1ff1f4e50e0.png)

When I change the convolution layer change the padding mode to 'reflect', it results weird behavior...

I'm using pytorch 1.7.1 cuda 11.0 stable.

Also asked to pytorch forum but nobody answered.
https://discuss.pytorch.org/t/changing-conv2d-parameters-from-pre-trained-models/110538

cc @jlin27 @mruberry @albanD @jbschlosser
Repository: pytorch
Issue: Inconsistent result between NumPy and PyTorch for 0^(z) when Re(z) < 0
Labels: triaged,module: complex,module: NaNs and Infs

## 🐛 Bug
When calculating 0 to power a complex number with negative image part, got an inconsistent result with NumPy.
I'm not sure whether this inconsistency is in our favor, I could have a try if a fixing is needed.

## To Reproduce
```
>>> (0)**np.array([1-1j])
array([nan+nanj])
>>> (0)**torch.tensor([1-1j])
tensor([0.+0.j])
```

## Expected behavior
Consistent complex results with NumPy, like:
```
>>> (0)**torch.tensor([1-1j])
tensor([nan+nanj])
```

## Environment
```
Collecting environment information...
PyTorch version: 1.8.0a0+d3b3387
Is debug build: True
CUDA used to build PyTorch: 11.0
ROCM used to build PyTorch: N/A
OS: CentOS Linux 7 (Core) (x86_64)
GCC version: (GCC) 7.5.0
Clang version: Could not collect
CMake version: version 3.14.0
Python version: 3.7 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: GeForce GTX 1050 Ti
Nvidia driver version: 450.51.05
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.18.5
[pip3] pytorch-sphinx-theme==0.0.24
[pip3] torch==1.8.0a0
[conda] blas                      1.0                         mkl    defaults
[conda] magma-cuda102             2.5.2                         1    pytorch
[conda] mkl                       2020.1                      217    defaults
[conda] mkl-include               2020.1                      217    defaults
[conda] mkl-service               2.3.0            py37he904b0f_0    defaults
[conda] mkl_fft                   1.1.0            py37h23d657b_0    defaults
[conda] mkl_random                1.1.1            py37h0573a6f_0    defaults
[conda] numpy                     1.18.5           py37ha1c710e_0    defaults
[conda] numpy-base                1.18.5           py37hde5b4d6_0    defaults
[conda] pytorch-sphinx-theme      0.0.24                    dev_0    <develop>
[conda] torch                     1.8.0a0                   dev_0    <develop>
```

cc @ezyang @anjali411 @dylanbespalko @mruberry
Repository: flutter
Issue: [integration_test] When all tests passed, integration_response_data.json shows null
Labels: a: tests,framework,f: integration_test,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-framework,triaged-framework

I'm using [integration_test](https://pub.dev/packages/integration_test) plugin for integration tests. Default action in `integrationDriver` method from `integration_test/integration_test_driver.dart` is a creating report file with tests result. But it created a file with one word: "null", thats all. I'm debugged the plugin and all steps works correctly before phase where a report result parsing from JSON response from the test framework (`integration_test/integration_test_driver.dart:72`):

```dart
final Response response = Response.fromJson(jsonResult);
```

And then to report file writing `response.data` (`integration_test/integration_test_driver.dart:78`):

```dart
await responseDataCallback(response.data);
```

But `data` is `null`.
Repository: create-react-app
Issue: Development Server doesn't load the app without React Dev Tools browser plugin installed
Labels: needs triage,issue: bug report

### Describe the bug

Development server doesn't serve the app landing page without React Dev Tools installed limiting development to browsers with React Dev Tools plugins. However useful, there's nothing in the docs that mention React Dev Tools requirement.

### Did you try recovering your dependencies?

Yep, no luck.

```sh
❯ node -v
v14.15.4
❯ npm -v
6.14.10
```

Note `npm` isn't laetest. `npm@14.15.4` comes with `node@14.15.4` by default, but problem occurs with latest `yarn` anyway so this is likely caused internally.

### Which terms did you search for in User Guide?

> devtools
> dev tools

### Environment

```
Environment Info:

  current version of create-react-app: 4.0.2
  running from /Users/designorant/.npm/_npx/11344/lib/node_modules/create-react-app

  System:
    OS: macOS 11.2
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  Binaries:
    Node: 14.15.4 - ~/.nodenv/versions/14.15.4/bin/node
    Yarn: Not Found
    npm: 6.14.10 - ~/.nodenv/versions/14.15.4/bin/npm
  Browsers:
    Chrome: 88.0.4324.146
    Edge: 86.0.622.38
    Firefox: 84.0.2
    Safari: 14.0.3
  npmPackages:
    react: ^17.0.1 => 17.0.1
    react-dom: ^17.0.1 => 17.0.1
    react-scripts: 4.0.1 => 4.0.1
  npmGlobalPackages:
    create-react-app: Not Found
```

### Steps to reproduce

1. Run `npx create-react-app my-app`
2. Start the project with either `npm start` or `yarn start`

### Expected behavior

CRA Landing Page is visible at http://localhost:3000

### Actual behavior

http://localhost:3000 serves a blank page with the following error:

```
react-refresh-runtime.development.js:465 Uncaught TypeError: Cannot read property 'forEach' of undefined
    at Object.injectIntoGlobalHook (react-refresh-runtime.development.js:465)
    at Object../node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js (ReactRefreshEntry.js:8)
    at __webpack_require__ (bootstrap:856)
    at fn (bootstrap:150)
    at Object.1 (reportWebVitals.js:14)
    at __webpack_require__ (bootstrap:856)
    at checkDeferredModules (bootstrap:45)
    at Array.webpackJsonpCallback [as push] (bootstrap:32)
    at main.chunk.js:1
```

Looking at you, [react-refresh-webpack-plugin](https://github.com/pmmmwh/react-refresh-webpack-plugin).

### Reproducible demo

No live demo I'm afraid, but reproduction takes very little time.
Repository: excalidraw
Issue: The number of participants and the avatars do not match.
Labels: bug,collaboration

<img width="809" alt="Screenshot 2021-02-04 at 2 08 30 PM" src="https://user-images.githubusercontent.com/125676/106890763-779f9d00-66f2-11eb-830d-ea7f2ee7d719.png">

I also don't see my own avatar.. would be nice to know my assigned color.
Repository: rust
Issue: global_asm! does not register location information to LLVM, resulting in suboptimal error reporting.
Labels: A-LLVM,C-enhancement,A-diagnostics,A-inline-assembly,T-compiler,requires-nightly

Quick example ([run on playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=8dcc111cf690e80a409e53c0c260a9c7)):
```rust
#![feature(asm, global_asm)]

global_asm!("GlobalThisIsNotAnInstruction");

fn main() {
    unsafe {
        asm!("MainThisIsNotAnInstruction");
    }
}
```

Current error output is:
```rust
error: invalid instruction mnemonic 'globalthisisnotaninstruction'
  |
note: instantiated into assembly here
 --> <inline asm>:1:1
  |
1 | GlobalThisIsNotAnInstruction
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'mainthisisnotaninstruction'
 --> src/main.rs:7:15
  |
7 |         asm!("MainThisIsNotAnInstruction");
  |               ^
  |
note: instantiated into assembly here
 --> <inline asm>:2:2
  |
2 |     MainThisIsNotAnInstruction
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
```

The reason `asm!` has location information is [because it attaches `!srcloc` metadata](https://github.com/rust-lang/rust/blob/6645da366eed0c61258a04265bea513e94df7ea6/compiler/rustc_codegen_llvm/src/asm.rs#L381-L407) on the `call asm` instruction, whereas `global_asm!` [does nothing of the sort](https://github.com/rust-lang/rust/blob/6645da366eed0c61258a04265bea513e94df7ea6/compiler/rustc_codegen_llvm/src/asm.rs#L335).

It's not clear [from the LLVM documentation](https://releases.llvm.org/11.0.0/docs/LangRef.html#module-level-inline-assembly) whether `!srcloc` (or something equivalent) is supported for `module asm`, so this might be blocked on LLVM implementing it in the first place.

This came up as @Jasper-Bekkers tried iimplementing `AsmMethods::codegen_global_asm` for `rustc_codegen_spirv` and noticed there was no `Span` being passed, and (presumably the more worrying aspect) that `hir::GlobalAsm` contains no `Span` either - it probably should (given that `hir::InlineAsm` has `line_spans: &[Span]`).

cc @Amanieu @mrhota