sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [docs] Bitwise ops miss arguments
Labels: module: docs,triaged

It looks like bitwise_and/bitwise_and_ have no arguments (like bitwise_not_) which is not true

![image](https://user-images.githubusercontent.com/1041752/88780198-f091cb00-d18a-11ea-9b12-dcba701d339b.png)


cc @jlin27
Repository: flutter
Issue: Current values are missing from RangeSliderThumbShape paint() method
Labels: c: new feature,framework,f: material design,c: proposal,P2,team-design,triaged-design

<!-- 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 want to customise a RangeSlider Thumb by adding the current value in the thumb.
It is possible with the SliderThumbShape class, since the paint() method is also passing the current value as the value parameter. 
Please note that the RangeSliderValueIndicatorShape also include this value parameter.
So it seems like an incoherency in the API.
 
<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal

Add the value (or values) parameter to the paint() method of RangeSliderThumbShape.
Please see #39882 which already added this parameter but sadly the issue was automatically closed...

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching images showing what you are imagining.

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: godot
Issue: Theme property descriptions don't appear for Theme resource
Labels: bug,topic:editor,confirmed,topic:gui

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.3

**Steps to reproduce:**
1. Create a Theme resource
2. Add any theme property
3. Hover it
![image](https://user-images.githubusercontent.com/2223172/88791443-fcd15480-d199-11ea-87e1-c1788c18a191.png)

The descriptions show correctly for the overrides in Control nodes, but not properties of Theme resource.
Repository: opencv
Issue: ACCESS_READ conflict with Microsoft's header Lmaccess.h
Labels: wontfix,category: build/install,future

ACCESS_READ is a defined constant in Lmaccess.h if the client project is including it before Opencv headers.

https://github.com/opencv/opencv/blob/afe9993376fee68e016be4a8cd9eb44d154c02d6/modules/core/include/opencv2/core/mat.hpp#L64
Repository: kubernetes
Issue: verify-master needs to be broken up 
Labels: priority/awaiting-more-evidence,sig/testing,lifecycle/frozen

verify-master as a job needs to be broken up in to more specific verification checks

As verify-master runs multiple verification steps it has bucket list smell that results in 
- unwieldy log output  
- difficulty in assigning ownership of flake or failure 
- an overall runtime of[ over an hour](https://testgrid.k8s.io/sig-release-master-blocking#verify-master&graph-metrics=test-duration-minutes)

Some of the individual checks are quite verbose a break up of the job into more specific checks would mitigate against that.  

There is some pre-existing design work / discussion on-going on this @liggitt and @hasheddan 
I'll add related comments and issues

This could be considered to be part of the effort documented here  https://docs.google.com/document/d/1uuP9kS28u1LFyx83Yl-Sodu7-2N_exPRrEoiwbAe0wc/edit#heading=h.xgjl2srtytjt 

/sig testing
Repository: godot
Issue: Theme resource with many properties makes the inspector unusable when node is reselected
Labels: bug,topic:editor,topic:gui

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.3

**Steps to reproduce:**
1. Create a Control node and some another node
2. Create a Theme in the Control node
3. Add some properties to the theme and unfold them, so that the inspector is scrollable
4. Scroll to bottom of the inspector
5. Select the other node
6. Select Control node again
7. You can't use the inspector for this node now
![image](https://user-images.githubusercontent.com/2223172/88795184-e75f2900-d19f-11ea-8af4-8b616a1efcd9.png)
(it's scrolled down without a scroll bar)

This can be fixed only if the `theme` property is visible in the scrolled inspector. Opening the theme will restore the scrollbar, so you can use the inspector again.

EDIT:
Re-selecting again seems to help too (but only when you deselect any node first).
Repository: youtube-dl
Issue: [ntv.com.tr] NTV Turkey Video
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.07.28. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.07.28**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Example 1 (Single MP4 file, no HLS): https://www.ntv.com.tr/video/ntv-programlari/yorum-farki-23-aralik-2010,XSjmFD1GQEO8lWTFO3R0jA
- Example 2 (HLS stream): https://www.ntv.com.tr/video/ntv-programlari/bbc-dunya-gundemi-30-eylul-2011,3G5zmDv6MUKS4wyP6OqIig
- Example 3 (HLS stream): https://www.ntv.com.tr/video/ntv-programlari/halkin-sanati-nallihan-26-temmuz-2020,fnXYmjUL5UycsnDxIsgl7Q
- Example 4 (HLS stream): https://www.ntv.com.tr/video/saglik/bilim-kurulu-uyesi-tevfik-ozlu-onumuzde-iki-onemli-kirilma-noktasi-var,0ukqY9sCk0moiKCrCH8t5A
- Example 5 (HLS stream): https://www.ntv.com.tr/video/ntv-dijital/kokpitte-21-yillik-savas-pilotu-siz-yokken-bir-ucus-hikayesi,q9pgLPXiw0m0zwttTjjruQ


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Official site of the NTV Turkey. NTV is a national TV channel. I was expecting "generic extractor" would work on them because it seemed straightforward and something generic extractor can handle but I was wrong.
Thanks in advance.
Repository: angular
Issue: Component's `animations` property should be of type `AnimationTriggerMetadata[]` instead of `any[]`
Labels: area: animations,cross-cutting: types,P3

Hola !

# 🚀 feature request

### Relevant Package
This feature request is for @angular/core

### Description
As we can see in the code below, the `animations` property in the component's definition has an `any[]` type. If there is a compatibility reason for this, maybe we could be more specific. Otherwise, we could fix the type and use `AnimationTriggerMetadata[]`. 
https://github.com/angular/angular/blob/57575e379fce9eb2367bfd48a8eb8be81f1d082c/packages/core/src/metadata/directives.ts#L517


### Describe the solution you'd like
Replace `any[]` by `AnimationTriggerMetadata[]`
Repository: TypeScript
Issue: `export default interface` with two names should be an error
Labels: Bug

The following does not report an error:

```ts
export default interface A { a: string; }
export default interface B { b: string; }
```

and instead makes both names refer to the merged interface.

---

Sidenote: if this does not become an error for whatever reason, then this should be made to work too:

```ts
export default interface A { a: string; }
export default interface B { b: string; }
declare var xa: A;
declare var xb: B;
```
Repository: rust
Issue: Compilation never finishes
Labels: E-needs-test,T-compiler,C-bug,I-hang

Project files (**MCVE**): [bugreport.zip](https://github.com/rust-lang/rust/files/4995960/bugreport.zip)


### Meta

`rustc --version --verbose`:
```
rustc 1.45.0 (5c1f21c3b 2020-07-13)
binary: rustc
commit-hash: 5c1f21c3b82297671ad3ae1e8c942d2ca92e84f2
commit-date: 2020-07-13
host: x86_64-apple-darwin
release: 1.45.0
LLVM version: 10.0
```

### Error description

In fact there is no visible error but the compilation never finishes in release mode 
(also with the nightly channel).

`cargo build` runs fine.

`cargo build --release` seems to fall in an infinite loop.

Note: if I associated the release mode with -O2, it works (that’s my current workaround).

### Additional notes

When I try to make this example as small as possible, I notice that (refer to the joined files):

- if I move the contents of `logic/for_each.rs` directly inside `logic.rs`, it works
- if I suppress some alternatives in the enum `ExprContents`, it works too
Repository: rust
Issue: [ER] One useless division by zero test
Labels: A-LLVM,I-slow,C-enhancement,T-compiler

This is an enhancement request. This program scans every possible input for the foo function, showing it never gives a division by zero error:
```rust
type T = u16;

#[inline(never)]
pub fn foo(x: T, y: T) -> T {
    if x > y {
        100 / (x - y)
    } else {
        100
    }
}

fn main() {
    let mut tot: T = 0;
    for x in T::MIN ..= T::MAX {
        for y in T::MIN ..= T::MAX {
            tot = tot.wrapping_add(foo(x, y));
        }
    }
    println!("{}", tot);
}
```
But LLVM adds an useless division by zero test (the same happens for T = u32):
```asm
foo:
    mov     ax, 100
    sub     di, si
    jbe     .LBB0_3
    je      .LBB0_4
    mov     ax, 100
    xor     edx, edx
    div     di
.LBB0_3:
    ret
.LBB0_4:
    push    rax
    lea     rdi, [rip + str.0]
    lea     rdx, [rip + .L__unnamed_1]
    mov     esi, 25
    call    qword ptr [rip + core::panicking::panic@GOTPCREL]
    ud2
```
Repository: PowerToys
Issue: Cannot map key to "Sleep".
Labels: Product-Keyboard Shortcut Manager

## ℹ Computer information

- Windows build number: 18362.959
- PowerToys version: 0.19.2
- PowerToy module: Keyboard Manager

## 📝 Provide detailed reproduction steps (if any)

1. Click "Remap a key"
2. Select Key on left side.
3. Select "Sleep" on right side.

### ✔️ Expected result

Pressing the remapped key puts Windows to sleep.

### ❌ Actual result

Powertoys says "The following keys are unassigned and you won't be able to use them:", followed by the remapped key name.

## 📷 Screenshots
![Screenshot_1](https://user-images.githubusercontent.com/46494221/88827953-6db74300-d17f-11ea-9d03-9bba0efaf849.png)
![Screenshot_2](https://user-images.githubusercontent.com/46494221/88827959-6f810680-d17f-11ea-86f2-081034639ecf.png)
Repository: go
Issue: x/pkgsite: mixed content warning on overview pages with links to third-party, insecure content
Labels: NeedsInvestigation,pkgsite,pkgsite/frontend

https://pkg.go.dev/github.com/sirupsen/logrus@v1.6.0?tab=overview triggers a mixed-content warning “Not Secure” in Chrome’s location bar.

GitHub (https://github.com/sirupsen/logrus/blob/v1.6.0/README.md) serves these assets themselves via https with a `data-canonical-url` attribute containing the original source.

NPM serves mixed content (https://www.npmjs.com/package/moment).
Repository: godot
Issue: Viewports do not render in HTML5 exports when running on some Macs.
Labels: bug,platform:web,platform:macos,topic:rendering

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
Godot v3.2.2 and v3.2 have both shown this issue when exporting using default export templates.


**OS/device including version:**
HTML5 export using GLES2.
Bug occurs when using Chrome 84 and Edge 84 on following device:
![697B1014F6F44F498C7CA130659ADC74](https://user-images.githubusercontent.com/36954453/88828704-847f8900-d1c3-11ea-922b-937fda469dcf.png)

Bug **does not** occur work when using  Safari 13.1 and Firefox.

Bug also occurs when using Chrome on following device:
![85C3AB2EDA984D2E91E3207DE6A6E3BA](https://user-images.githubusercontent.com/36954453/88828731-8e08f100-d1c3-11ea-8028-e335ea8f8a05.png)


**Issue description:**
When running an HTML exported game, Viewports do not render when using a combination of MacOS and Chrome or Edge. In at least one case the game also threw these errors.
![image](https://user-images.githubusercontent.com/36954453/88820334-1635c900-d1b9-11ea-80de-891994400b0b.png)

This bug does not occur on all Mac devices.

This bug occurs when the stretch mode of the project is set to "viewport". It has not been tested for different project stretch modes.

The bug can be seen when running the **Minimal reproduction project** with certain MacOS and browser configurations (see devices above).

I don't have access to the devices in which the bug occurs.

**Steps to reproduce:**
- Make a new project with GLES2 in Godot v3.2.2.
- In project settings, set the Stretch Mode to "viewport", and the Aspect to "expand".
- Create the following hierarchy as the main scene:
```
- Node
  - ViewportContainer     (Layout set to "Full Rect", Stretch property set to True)
    - Viewport
      - Label    (to test if the Viewport is rendering)

```
- Export the project to HTML5 using the default HTML export template.
- Running the exported project will not render the Label in the Viewport on certain hardware.

**Minimal reproduction project:**
[viewport test.zip](https://github.com/godotengine/godot/files/4996420/viewport.test.zip)
Repository: rust
Issue: Unrelated Code Fails to Typecheck when Feature Enabled
Labels: T-compiler,A-inference,C-bug,E-needs-mcve

When building the following wgpu-rs commit with default features, everything compiles. When the subscriber feature is enabled with `--features subscriber`, the [these two lines of code](https://github.com/gfx-rs/wgpu-rs/blob/9a9bf53a6e2e8fb26bd512d3a39ebda1c2233e32/src/util/mod.rs#L38-L39) fail to compile. They are unrelated to the feature. The error is:

```rust
error[E0282]: type annotations needed
  --> src\util\mod.rs:38:9
   |
38 |         debug_assert_eq!(pre, &[]);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
```

https://github.com/gfx-rs/wgpu-rs/commit/9a9bf53a6e2e8fb26bd512d3a39ebda1c2233e32

I have no idea how to even start making a reduced example.

### Meta

Issue happens on both stable and nightly:

`rustc --version --verbose`:
```
rustc 1.44.1 (c7087fe00 2020-06-17)
binary: rustc
commit-hash: c7087fe00d2ba919df1d813c040a5d47e43b0fe7
commit-date: 2020-06-17
host: x86_64-pc-windows-msvc
release: 1.44.1
LLVM version: 9.0
```

`rustc +nightly --version --verbose`
```rust
rustc 1.47.0-nightly (6c8927b0c 2020-07-26)
binary: rustc
commit-hash: 6c8927b0cf80ceee19386026cf9d7fd4fd9d486f
commit-date: 2020-07-26
host: x86_64-pc-windows-msvc
release: 1.47.0-nightly
LLVM version: 10.0
```
Repository: TypeScript
Issue: tsc reports error that LS does not
Labels: Bug,Rescheduled

**TypeScript Version:**  3.9.7 & nightly

**Search Terms:** diagnostics

**Steps**

 1. Clone https://github.com/amcasey/node-zwave-js
 2. Check out `Repro`
 3. `npm install --ignore-scripts`
 4. `lerna run build`
 5. Navigate to `packages/zwave-js/src/lib/driver/SendThreadMachine.ts` line 359
 6. `tsc -b -f packages/zwave-js/tsconfig.build.json`

**Expected behavior:** Editor and tsc show the same errors around lines 359 and 368.

**Actual behavior:** Editor does not show errors.

Notes: 
 - I believe the `LocalFix` branch is a sensible way to resolve the errors.  Locally, it only build with nightly - not with 3.9.7.
 - I made a reduced version of the project to investigate perf, but it doesn't exhibit this issue.
 - Technically, the LS uses tsconfig.json, rather than tsconfig.build.json but they're essentially the same and rejiggering the names to make them use the same tsconfig doesn't affect the behavior.
Repository: pytorch
Issue: `torch.tensor([1, 2], dtype=torch.int).fmod(torch.tensor(0, dtype=torch.float))` leads to "RuntimeError: result type Float can't be cast to the desired output type Int"
Labels: triaged,module: type promotion

## 🐛 Bug

`torch.tensor([1, 2], dtype=torch.int).fmod(torch.tensor(0, dtype=torch.float))` leads to

    RuntimeError: result type Float can't be cast to the desired output type Int

## Environment


PyTorch version: 1.7.0a0+79cfd85
Is debug build: Yes
CUDA used to build PyTorch: Could not collect

OS: Debian GNU/Linux 10 (buster)
GCC version: (Debian 8.3.0-6) 8.3.0
CMake version: version 3.16.3

Python version: 3.7
Is CUDA available: No
CUDA runtime version: 10.1.243
GPU models and configuration: GPU 0: Quadro P400
Nvidia driver version: 440.100
cuDNN version: Could not collect

Versions of relevant libraries:
[pip3] numpy==1.18.1
[pip3] pytorch-sphinx-theme==0.0.24
[pip3] torch==1.7.0a0+79cfd85
[conda] Could not collect

## Additional context

Similar issue occurs for `logaddexp2`: `torch.logaddexp2(torch.tensor([1, 2], dtype=torch.int), torch.tensor(0, dtype=torch.float))`

The problem seems to be that we need to specify the result type correctly instead of following the first operand:

https://github.com/pytorch/pytorch/blob/79cfd85987c128b672850b64d6680719e4eda552/aten/src/ATen/native/BinaryOps.cpp#L817-L818

Do we have any plan to reach a uniform type outcome on this? Should we simply call `promote_dtype` on the two operands and let the result be that type?


cc @nairbv
Repository: terminal
Issue: Cannot see cursor on white background - should have an invert option
Labels: Area-Rendering,Area-Accessibility,Product-Terminal,Issue-Task,Priority-2

# Environment

```none
Windows build number: Microsoft Windows [Version 10.0.19041.388]
Windows Terminal version (if applicable): Version: 1.1.2021.0
```

# Steps to reproduce
I have read this post:
<https://github.com/microsoft/terminal/issues/1203#issuecomment-632888374>
Apparently I am not smart enough to figure this out.

What I don't understand is how to set my cursor to just simply invert the FG and BG?
To me it is silly to set one of them to a fixed colour, and set the other to a foreground of background, cause at some point you will end up with the same colour FG and BG, and then cant read the text.

I use VIM, and I am tired of when the cursor is on white text, I have to guess where I am, type a few chars, delete them, move a little, try again.

I can't find where in the docs does `cursorTextColor` go (I think its not in the docs)? Under `profiles`? Under `schemes`, so I added it to both.

E.g. I have tried various combinations of `cursorColor`, `cursorTextColor` set to `textForeground`, `textBackground`, and `null`

# Actual behavior
White text on white background

# Expected behavior
It seems impossible to have the following (should be default scenario):
Case 1: White text on Black background -> Cursor is Black text on White background
Case 2: Black text on White background -> Cursor is White text on Black background

I must be missing the obvious here?
Repository: TypeScript
Issue: Auto import incorrectly imports 'null'
Labels: Bug

*TS Template added by @mjbvz*

**TypeScript Version**: 3.9.7

**Search Terms**
- auto import
- constant

---

Issue Type: <b>Bug</b>

    const { re } = require('mathjs')

1. type this:
    const something = nu
2. the autoimoport will show a list of advices, including 'null'
3. then select the 'null' and press 'tab' 

the header will be changed to:

    const { re,null } = require('mathjs')



VS Code version: Code 1.47.3 (91899dcef7b8110878ea59626991a18c8a6a1b3e, 2020-07-23T13:12:49.994Z)
OS version: Windows_NT x64 10.0.19041

<details><summary>Extensions (3)</summary>

Extension|Author (truncated)|Version
---|---|---
python|ms-|2020.7.96456
vetur|oct|0.25.0
LiveServer|rit|5.6.1


</details>
<!-- generated by issue reporter -->