sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: Documentation update: explain the color names and how they related to ECMA-48
Labels: Help Wanted,Issue-Docs,Area-Settings,Product-Terminal,good first issue

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

# Description of the new feature/enhancement

Currently colors in the config are names in what arguably is a somewhat confusing way. E. g. it's not immediately obvious what "BrightBlack" or "BrightWhite" actually is.

It's also not clear if those names are consistent with any other public color names?

# Proposed technical implementation details
Can we reuse .NET's ConsoleColor enum instead?
https://docs.microsoft.com/en-us/dotnet/api/system.consolecolor?view=netframework-4.8

It's already used in .NET and powershell, and is widely known.
<!-- 
A clear and concise description of what you want to happen.
-->
Repository: pytorch
Issue: Usage of DDP on a module that doesn't require gradients
Labels: oncall: distributed,triaged,enhancement

Per #25550, this raises a terrible error message.

Instead, we can choose to do one of two things:
* Raise a nicer error message to say it's not needed to use DDP.
* Allow this and become a non-functional pass through.

@mrshenli @zhaojuanmao @pritamdamania87 Thoughts?

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera
Repository: godot
Issue: AnimationPlayer - Bezier curves values won't show in the inspector in Curve Edit Mode
Labels: enhancement,topic:editor

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
3.1 stable


**OS/device including version:**
Win 7


**Issue description:**
Because of https://github.com/godotengine/godot/issues/31697 I try to set keys in the Curve Edit mode. But because of https://github.com/godotengine/godot/issues/19468 I need to set the keys numerically in the Inspector. 

But the AnimationTrackKeyEdit will only show up outside the Bezier Curve mode when a key is selected.

**Proposal:**

- When a key is selected, show AnimationTrackKeyEdit in the Inspector for both regular track mode as well as Bezier curve edit mode. 
- If a key is selected in regular track mode and the user switches to Bezier curve edit mode, the same key should be selected (and therefore AnimationTrackKeyEdit should still show all the keys values).
- Likewise, if a key is selected in Bezier Curve edit mode, and then switched to regular track edit, the same key should be still selected and AnimationTrackKeyEdit should show all it's values.
Repository: scrcpy
Issue: scrcpy client as virtual webcam driver
Labels: feature request,webcam

First of all... I would like to say thanks to scrcpy creators.  I am in love with scrcpy, my life's history can be resumed as:  before scrcpy and after scrcpy. Thanks so much!

However, I think it would be a nice feature to scrcpy client act as a Windows "Virtual Webcam".
I am not talking about displaying the Phone Cameras, but the frames displayed into the client's window.
It would be something similar what DroidCam, vCam (e2esoft) and OBS-VirtualCam do, all of them create a "Virtual Webcam Driver" which we can use as any other regular webcam.

Would it be possible?
Repository: flutter
Issue: Please add ability to disable font smoothing
Labels: c: new feature,engine,a: typography,a: desktop,P3,team-engine,triaged-engine

<!-- 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 our the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

Please add ability to disable font smoothing. This is necessary to disabling smoothing on desktop systems (with low DPI)

Related: https://github.com/google/flutter-desktop-embedding/issues/524
Repository: TypeScript
Issue: [language server] Apply codefix to all files
Labels: Suggestion,Awaiting More Feedback

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ

-->

## Search Terms

* File is a CommonJS module; it may be converted to an ES6 module.
* Apply codefixes to all files (vscode, visual studio code)
* Convert all files from CommonJS to ES6
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->

## Suggestion

<!-- A summary of what you'd like to see added or changed -->
I would like to have some way to apply a specific codefix to all files in a directory. For example, convert a bunch of files from CommonJS format to the new ES6 module format using the codefix [here](https://github.com/microsoft/TypeScript/blob/master/src/services/codefixes/convertToEs6Module.ts).

## Use Cases

I have a few hundred files in CommonJS module format that I want to convert to ES6 module syntax (export/import instead of exports/require).

Currently, my text editor (vscode) shows after some delay three dots at the top of the current file which, when hovered over with the mouse shows after a few more seconds delay a "quickFix" button that, when clicked, causes the current file to be converted. To convert all of my files with this method would take hours of tedious clicking.

I want some method of automating this process.
<!--
What do you want to use this for?
What shortcomings exist with current approaches?
-->

## Examples

<!-- Show how this would be used and what the behavior would be -->

## Checklist

My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: go
Issue: net: Lookup does not support Android/ios
Labels: help wanted,NeedsInvestigation,mobile


<pre>
$ go version
1.12.9
</pre>

```
package main
 
import (
  "fmt"
  "net"
)
 
func main() {
  txtrecords, _ := net.LookupTXT("facebook.com")
 
  for _, txt := range txtrecords {
    fmt.Println(txt)
  }
}
```

`lookup facebook.com on [::1]:53: read udp [::1]:57440->[::1]:53: read: connection refused`

android There is no `/etc/resolv.conf` file.
Repository: rust
Issue: A tuple of primitives function parameter is passed via the stack even though the tuple constituents could be passed as registers
Labels: I-slow,O-linux,O-x86_64,T-compiler

1.36.0 x86_64-unknown-linux-gnu

---

```rust
#[inline(never)]
pub fn foo((a, b, c, d): (usize, usize, usize, usize)) -> ((usize, usize), (usize, usize)) {
    if a == 0 {
        ((0, b), (0, d))
    }
    else {
        ((a, b), (c, d))
    }
}

pub fn bar() {
    foo((1, 2, 3, 4));
}
```

passes the tuple via the stack

```asm
example::bar:
        sub     rsp, 72
        movaps  xmm0, xmmword ptr [rip + .LCPI1_0]
        movaps  xmmword ptr [rsp], xmm0
        movaps  xmm0, xmmword ptr [rip + .LCPI1_1]
        movaps  xmmword ptr [rsp + 16], xmm0
        lea     rdi, [rsp + 40]
        mov     rsi, rsp
        call    qword ptr [rip + example::foo@GOTPCREL]
        add     rsp, 72
        ret
```

However if the function has four `usize` parameters, they're passed via registers.

```rust
#[inline(never)]
pub fn foo(a: usize, b: usize, c: usize, d: usize) -> ((usize, usize), (usize, usize)) {
    if a == 0 {
        ((0, b), (0, d))
    }
    else {
        ((a, b), (c, d))
    }
}
```

```asm
example::bar:
        sub     rsp, 40
        lea     rdi, [rsp + 8]
        mov     esi, 1
        mov     edx, 2
        mov     ecx, 3
        mov     r8d, 4
        call    qword ptr [rip + example::foo@GOTPCREL]
        add     rsp, 40
        ret
```

It would be nice if the tuple case also used registers.

---

Perhaps related to / same as https://github.com/rust-lang/rust/issues/63244 . The tuple-taking `foo` has an aggregate parameter, and making multi-constituent tuples transparent (as suggested there) would help?

Tuple-taking `foo`:

```
define void @_ZN7example3foo17hffb69e1018702615E({ [0 x i64], { i64, i64 }, [0 x i64], { i64, i64 }, [0 x i64] }* noalias nocapture sret dereferenceable(32), { [0 x i64], i64, [0 x i64], i64, [0 x i64], i64, [0 x i64], i64, [0 x i64] }* noalias nocapture readonly dereferenceable(32) %arg0) unnamed_addr #0 !dbg !5 {
```

vs four-parameter `foo`:

```
define void @_ZN7example3foo17hb403de2e6269ef77E({ [0 x i64], { i64, i64 }, [0 x i64], { i64, i64 }, [0 x i64] }* noalias nocapture sret dereferenceable(32), i64 %a, i64 %b, i64 %c, i64 %d) unnamed_addr #0 !dbg !5 {
```

---

I discovered this with a `fn (Option<(NonNull<FatPointer>, NonNull<FatPointer>)>) -> (Option<NonNull<FatPointer>>, Option<NonNull<FatPointer>>)`. So I can't just rewrite this to use four separate parameters.

The two `usize` cases and the `Option` case are in [this godbolt](https://rust.godbolt.org/z/Up5SHj) for reference.
Repository: TypeScript
Issue: Error on static class members named 'constructor' should be consistent
Labels: Suggestion,In Discussion,Awaiting More Feedback

**TypeScript Version:**  3.7.0-dev.20190831

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** class, constructor, static, computed, quoted

**Code**

```ts
class A { static constructor() {} }
class B { static "constructor"() {} }
class C { static ["constructor"]() {} }
```

**Expected behavior:**

Even though it may be confused with non-standard extensions like #265, I think treating all cases equally would be less confusing, because unlike non-static `["constructor"]` there is no difference at runtime.

**Actual behavior:**

`A` and `B` (with #31949) get a `'static' modifier cannot appear on a constructor declaration.
` diagnostic.

**Playground Link:**
http://www.typescriptlang.org/play/#code/MYGwhgzhAECC0G9oQC5hQS2NYB7AdqgE4CuwKuRAFAJSIC+09AUKJDAEKLJqbYBEeQilLlK-WgyatwUaAGFuqdFmgBtQQWJkKRfgF1JCRiyA

**Related Issues:** #31020, https://github.com/eslint/eslint/pull/12110
Repository: pytorch
Issue: Remote memory access similar to MPI one-sided in pytorch
Labels: oncall: distributed,feature,triaged,module: mpi

torch.distributed package currently implements two-sided point to point communication, i.e. send and recv. However, one-sided communication, i.e., put, get and accumulate routines are getting popular in mpi due to performance benefits and dynamic communication patterns. It would be great to implement these routines in pytorch.

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera
Repository: flutter
Issue: More ascii in logs
Labels: framework,c: proposal,a: error message,P3,team-framework,triaged-framework

Non-ascii characters appearing in logs seem non-essential. For example.

```
I/flutter (10543): The AnimationController notifying listeners was:
I/flutter (10543):   AnimationController#0218f(⏭ 1.000; paused)
```

And as an image:

![Screen Shot 2019-09-02 at 11 02 23 PM](https://user-images.githubusercontent.com/6107051/64147681-f09c1600-cdd5-11e9-8293-37ba22989c74.png)

This is not only distracting.

Rendering such a log will depend on system fonts, terminals, etc. It also will break pastebins not robust to non-ascii, like ix.io. Consider http://ix.io/1U7J/dart vs http://ix.io/1U7O/dart. This can be seen as limitations in a particular pastebin, a terminal, or a user's system fonts, but if these characters are not essentials to logs, then it seems unnecessary to force this issue with various tools.
Repository: neovim
Issue: :terminal fails to clear ANSI background color for some code sequences
Labels: bug,terminal,has:repro

- `nvim --version`:
NVIM v0.4.0-1887-ge29b89ca5
Build type: Debug
LuaJIT 2.0.5
Compilation: /usr/bin/cc -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/home/shmaryar/src/neovim/build/config -I/home/shmaryar/src/neovim/src -I/home/shmaryar/src/neovim/.deps/usr/include -I/usr/include -I/home/shmaryar/src/neovim/build/src/nvim/auto -I/home/shmaryar/src/neovim/build/include
Compiled by shmaryar@SHMARYAR

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/home/shmaryar/src/neovim/install/share/nvim"

Run :checkhealth for more info
- `vim -u DEFAULTS` (version: ) behaves differently?
Not relevant to standard vim, as it doesn't have :terminal
- Operating system/version:
ubuntu 18.10
- Terminal name/version:
kitty 0.14.3
- `$TERM`:
xterm-kitty

### Steps to reproduce using `nvim -u NORC`

```
nvim -u NORC
:terminal
cat <attached file>
```
[26R4Gk1a.txt](https://github.com/neovim/neovim/files/3568211/26R4Gk1a.txt)

### Actual behaviour
There are green background bars all the way to the right on some of the lines. As seen in the screenshot:
![2019-09-03-101253_863x960_scrot](https://user-images.githubusercontent.com/5682183/64151605-6c787b80-ce33-11e9-930a-20abc76a3dc7.png)

### Expected behaviour
No highlighting except for within the lines.
Repository: TypeScript
Issue: Support for JSDoc interface definition
Labels: Suggestion,Awaiting More Feedback

## Search Terms

jsdoc, interface
I found https://github.com/microsoft/TypeScript/issues/16142 which was closed by the reporter, and never reopened even though some other people suggested it.

## Suggestion

JSDoc has a way to declare interfaces, through `@interface`, `@function` (and then `@implements` on the class). It would be great if tsc could support them (defining a TS interface based on that info).

## Use Cases

JSDoc interfaces are useful to define interfaces implemented by multiple classes, that are then used based on this interface. This is part of JSDoc, but currently unsupported by tsc.

## Examples

```js
/**
 * @interface Metric
 */
/**
 * @function
 * @name Metric#getName
 * @returns {string}
 */
/**
 * @function
 * @name Metric#compute
 * @param context
 * @param [extra]
 * @returns {Promise<object>}
 */

/**
 * @constructor
 * @implements {Metric}
 */
function ActivityScoreMetric () {
    // [REDACTED]
}
ActivityScoreMetric.prototype = {
  compute: function (context, extra) {
      // [REDACTED]
  },

  getName: function () {
    return 'activity_score'
  }
}

// Other implementations go there

// Later code deals with `Array<Metric>` for some variables
```

## Checklist

My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: rust
Issue: xLTO: Code from standard library does not partake in linker-based LTO (unless compiling with -Clto)
Labels: A-LLVM,A-codegen,I-compiletime,T-compiler,C-feature-request

xLTO works by emitting LLVM bitcode instead of machine code and then letting the linker run LLVM optimizations (at a point where also code from C/C++ is available for IPO). In the current setup, this means that code from the standard library does *not* partake in the final LTO step because it is pre-compiled to machine code. 

This limitation can be lifted by compiling to a staticlib with `-Clto` because the fat LTO step that `rustc` does pulls in the compressed bitcode version of the standard library and then emits the unified bitcode file for further processing by the linker. However, this adds an additional fat LTO step into the compilation pipeline, which is very costly. 

In theory it should be possible to make `rustc` emit `libstd` LLVM bitcode into the staticlib instead of the object files (if `-Clinker-plugin-lto` is specified). The bitcode is available and `rustc` knows how to decompress it. Then the linker could do its LTO step with the standard library included but without the additional cost.
Repository: flutter
Issue: [Feature] NetworkImage : custom 'makeRequest' function ?
Labels: c: new feature,framework,a: images,c: proposal,P3,team-framework,triaged-framework

## Use case

To deal with redirects and authorization and any future problem that may arise.
Currently, the NetworkImage will create an http request, set headers, and use it.

However, when dealing with redircet and authorization ( e.g. #34894 ), the user may want:
(1) To not follow redirect (boolean property)
(2) When the request returns, if it's a redirect, to make another request without the authorization.

## Proposal

Since I can't see a good enough use-case for a specific property of the NetworkImage, 
using the parameter will give the NetworkImage users enough control to pretty much do what ever they want

The type of the new parameter will be an function that accepts `HttpClientRequest` and returns `Future<HttpClientResponse>`.

The default value of the function will be `request.close()`

This is just a proposal, and although it's very generic I'm not a big fan of it, so I'd love a discussion here about more ideas, hopefully better than mine.

## Implementation
I'm willing to implement this feature, the Flutter team just needs to decide what the feature is.
Repository: go
Issue: x/tools/internal/imports: test frequently times out on `dragonfly-amd64` builder
Labels: Testing,OS-Dragonfly,Builders,NeedsInvestigation,Tools

The test for `golang.org/x/tools/internal/imports` seems to be timing out on around 25% of runs on the `dragonfly-amd64` builder.

Example logs:
* https://build.golang.org/log/e697ac9c8ea86c4aa83321b80d9c1371c7c630fb
* https://build.golang.org/log/7a7c78010de15f81e9b3411c020e1048006e39e2
* https://build.golang.org/log/606423ffa1cb92cf42e35073469762d25b9e282c
* https://build.golang.org/log/ed9923ceaf868e900d12bf6e7c296d916c7f6a2c

The `dragonfly-amd64` builder seems to be a bit underpowered in general (see also #29583 and #25796). Perhaps we should set `GO_TEST_TIMEOUT_SCALE=2` in its environment and see if that improves the situation for `x/tools`?

CC @matloob @ianthehat @tdfbsd
Repository: youtube-dl
Issue: Add air.tv
Labels: site-support-request

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running youtube-dl version **2019.09.01**
- [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

- Single video: https://www.air.tv/watch?v=sv57EC8tRXG6h8dNXFUU1Q
- Single video 2: https://www.air.tv/watch?v=qVOWEB4tSSi7nDVl9FZbMQ
Repository: flutter
Issue: Button widget should provide enable/disable properties instead of setting onpressed to null
Labels: c: new feature,framework,f: material design,P3,team-design,triaged-design

## Steps to Reproduce

I want disable button first, then process logic, then enable button at last.

My logic is : first set onpressed to null to  disable button, then do some async operation, at last set onpressed to origin to enable button.
My purpose is to avoid user tapping the button many times when processing async operation.

But got errors:

Unhandled Exception: setState() called after dispose(): _LoginPageState#e0856(lifecycle state: defunct, not mounted)

Codes Steps :
```
Widget _buildButton(BuildContext context) {
    return OutlineButton(
      child: Text('Login'),
      onPressed: _enableButton
          ? () async {
              if (!_formKey.currentState.validate()) return;

              setState(() {
                _enableButton = false;
              });

              await doLogin(context);

              setState(() {
                _enableButton = true;
              });
            }
          : null,
    );
  }
```



But got errors:
```
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: setState() called after dispose(): _LoginPageState#e0856(lifecycle state: defunct, not mounted)
This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
#0      State.setState.<anonymous closure> (package:flutter/src/widgets/framew<…>
```
![enable-button](https://user-images.githubusercontent.com/4568610/64183169-07a53b80-ce9c-11e9-9f40-7898f1fe1577.jpg)


Is there any way to enable/disable button directly?

like this:
```
OutlineButton(
child:Text('button here'),
onPressed:(){},
enabled:true,
)
```

## Logs

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing app_travel...                                                 
No issues found! (ran in 1.7s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
No issues found!
```