sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Variable substitution with environment - allow for fallback to default
Labels: feature-request,variable-resolving

<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
When doing variable substitution with environment (at debugging launch, but could be useful for tasks too - `${env:Name}`), I would like to provide a fallback (default) when the environment variable is not set.

As an example, see the variable substitution scheme for Docker Compose: https://docs.docker.com/compose/compose-file/#variable-substitution

> - `${VARIABLE:-default}` evaluates to default if `VARIABLE` is unset or empty in the environment.
> - `${VARIABLE-default}` evaluates to default only if `VARIABLE` is unset in the environment.

The syntax for VS Code could be `${env:Name:-default}` and `${env:Name-default}` with the same logic. 

<!-- Please include the latest version of VS Code you've confirmed to not have this feature -->
VS Code version 1.42.1
Repository: node
Issue: HTTP2 does not support system Host 
Labels: http2

set a "domain ip" mapping in system host file, it does not work when use
http2.connect('https://domain').

The error shows: 
`events.js:174
      throw er; // Unhandled 'error' event
      ^

Error [ERR_HTTP2_ERROR]: Protocol error
    at Http2Session.onSessionInternalError [as error] (internal/http2/core.js:637:26)
Emitted 'error' event at:
    at emitClose (internal/http2/core.js:878:10)
    at process._tickCallback (internal/process/next_tick.js:63:19)
` 

while it works perfect in https.get(https://domain), and no certificate problem.
Repository: vscode
Issue: Git - Version control does not honor "remote.origin.push" git config.
Labels: help wanted,feature-request,git

- VSCode Version: 1.41.1
- OS Version: Cent OS 7

Steps to Reproduce:

1. Set the push to git config 
```git config --global remote.origin.push refs/heads/master:refs/for/master```

2. Use the push context menu on version control tab.
git config is not considered.
git output shows the following command used to push the code.
```git push origin master:master```

Expected behavior: 
It should use the following command.
git push origin refs/heads/master:refs/for/master


Does this issue occur when all extensions are disabled?: Yes
Repository: youtube-dl
Issue: Support Laracasts
Labels: site-support-request

## Checklist
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.03.08**
- [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://laracasts.com/series/laravel-6-from-scratch/episodes/1
- Single video: https://laracasts.com/series/laravel-6-from-scratch/episodes/2
- Playlist: https://laracasts.com/series/laravel-6-from-scratch
Repository: rust
Issue: `unused_parens` is not emitted for exprs used in macro.
Labels: A-lints,A-macros,T-compiler,C-bug,L-unused_parens

```rust
fn main() {
    let x = vec![((8))];
    println!("Hello, world!, {:?}",x);
}
```
and
```rust
fn main() {
    println!("Hello, world!, {:?}", ((8)));
}
```
do not have any warnings while
```rust
fn main() {
    let x = ((8));
    println!("Hello, world!, {:?}",x);
}
```

emits `unused_parens`.

I expect the first two snippets to also cause this warning.

----

note: is there a way to add labels to an issue without being a member?
Repository: vscode
Issue: Terminal doesn't flush all line data before firing onExit
Labels: bug,tasks,terminal-process

- VSCode Version: 1.43.0
- OS Version: Windows 10 version 1809
- Does this issue occur on the latest insiders build?: Yes
- Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

1. Create a `Task` which uses `CustomExecution` to output to a `PseudoTerminal` and specify one or more `ProblemMatcher`s which are relevant to the `Task`'s output.
2. Run the `Task`. Its output seemingly will not be processed by the specified `ProblemMatcher`s. At least, the effects are not applied - I cannot CTRL+click on file names, problems are not reported in the "Problems" tab, etc.

Sample code:
```ts
import * as vscode from "vscode";
import { exec } from "child_process";

// Simply run tsc and output the results to the terminal
class MyBuildTaskTerminal implements vscode.Pseudoterminal {
    private writeEmitter = new vscode.EventEmitter<string>();
    onDidWrite: vscode.Event<string> = this.writeEmitter.event;
    private closeEmitter = new vscode.EventEmitter<void>();
    onDidClose?: vscode.Event<void> = this.closeEmitter.event;

    open(_initialDimensions: vscode.TerminalDimensions | undefined): void {
        this.doBuild();
    }

    close(): void {
    }

    private async doBuild(): Promise<void> {
        this.writeEmitter.fire("Starting build...\r\n");

        // non-existent.ts doesn't exist and will output an error, but there will
        // be no corresponding entry in the "Problems" tab.
        //
        // Similarly, if the file did exist but contained errors (and I prefixed the
        // command with "cd /path/to/workspace/dir && "), I wouldn't be able
        // to CTRL+click the file's path to go to the location of the problem
        exec("tsc non-existent.ts", (_error, stdout, stderr) => {
            this.writeEmitter.fire(stdout);
            this.writeEmitter.fire(stderr);
            this.closeEmitter.fire();
        });
    }
}

const myTask = new vscode.Task(
    { type: "myType" },
    vscode.TaskScope.Workspace,
    "myTask",
    "mySource",
    new vscode.CustomExecution(async () => {
        // Pseudo-terminal implementing some task which fires onDidWrite()'s emitter
        // to output text. For this example, it runs tsc and outputs any compile errors
       return new MyBuildTaskTerminal();
    }),
    "$tsc"  // TypeScript errors should be picked up
);
vscode.tasks.executeTask(myTask);
```

VSCode behaves as expected if I change the line
```ts
new vscode.CustomExecution(...)
```
to
```ts
new vscode.ShellExecution("tsc non-existent.ts")
```

In my actual project, the `Task`'s logic is more complex and I can't simply use `ShellExecution`.
Repository: electron
Issue: Treat DevTools windows as regular windows
Labels: enhancement :sparkles:

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
  * 7.1.10 
* **Operating System:**
  * macOS 10.14<!-- (Platform and Version) e.g. macOS 10.13.6 / Windows 10 (1803) / Ubuntu 18.04 x64 -->
* **Last Known Working Electron version:**
  * N/A<!-- (if applicable) e.g. 3.1.0 -->

### Issue

The following line of code works in a way that doesn't make sense to me:

```js
!!BrowserWindow.getFocusedWindow ()?.isFocused (); // => true or false
```

When calling `BrowserWindow.getFocusedWindow` the main window of my app is returned, even if actually the devtools window is focused. Then, calling `BrowserWindow#isFocused` on the retuned window will return `true`, if in fact my app's main window was focused, but `false` if in reality the devtools window was focused. Basically it's like windows are kind of focused and not focused at the same time according to what these APIs tell me.

I see two issues here:

- Devtools windows are not treated as regular windows, even though they are from the user perspective.
- As I've reimplemented the app menu I need to manually trigger actions like copy or paste inside the devtools myself, and in order to do that I needed to detect if the devtools window is actually focused and I didn't find any standalone API for detecting that, other than the aforementioned quirky line of code, there should probably be one.
  - It seems that I could have used `Menu.sendActionToFirstResponder` to implement this too, but it's not clear from the documentation how that actually works and what actions are supported, it should probably be documented better. And that's a macOS-only API anyway.
Repository: svelte
Issue: animate:flip glitches when each block is updated during animation
Labels: temp-stale

When a list iterated in a keyed `each` block is updated while some of its elements are being animated with the `animate:flip` directive, all the current animations glitch.

https://svelte.dev/repl/7197a0f2d51d47f8b9b2d6e7aa5d401c?version=3.20.1
Repository: flutter
Issue: LocalizationsDelegate should use the supportedLocales listed in MaterialApp
Labels: framework,f: material design,a: internationalization,c: proposal,team-design,triaged-design

## Use case

When creating a class that extends `LocalizationsDelegate`, it is required to `@override isSupported` returning a bool if the locale is supported. 

That's a bit redundant given that the MaterialApp's localizationsDelegate and supportedLocales property already required listing of the supported locales.

```dart
MaterialApp(
          title: 'LocalizedApp',
          localizationsDelegates: [
            const LocalizedAppLocalizationsDelegate(),
            GlobalMaterialLocalizations.delegate,
            GlobalWidgetsLocalizations.delegate,
          ],
          supportedLocales: [
            const Locale.fromSubtags(languageCode: 'en'),
            const Locale.fromSubtags(languageCode: 'es'),
          ],
          home: const StartupPage(),
);
**const List<String> supportedLanguages = ['en', 'es'];**

class LocalizedAppLocalizationsDelegate
    extends LocalizationsDelegate<LocalizedAppLocalizations> {
  const LocalizedAppLocalizationsDelegate();

  @override
  bool isSupported(Locale locale) =>
      supportedLanguages.contains(locale.languageCode);

  @override
  Future<LocalizedAppLocalizations> load(Locale locale) async {
    return SynchronousFuture<LocalizedAppLocalizations>(
        await LocalizedAppLocalizations.instance(locale));
  }

  @override
  bool shouldReload(LocalizationsDelegate<LocalizedAppLocalizations> old) => false;
}
```

## Proposal

MaterialApp should "pass-in" the supportedLocales to `LocalizedAppLocalizationsDelegate`
Repository: godot
Issue: Jitter in projects
Labels: bug,topic:rendering,topic:physics

**Godot version:**
3.11 & 3.2.1

**OS/device including version:**
Windows 10

**Issue description:**
I have jitter every ~2 seconds in my Godot projects. Did some test and reduced it to the basics.
I included a simple sample project with a moving kinematicbody2D that moves with:
move_and_collide(Vector2(120,0) * delta) in _physics_process(delta)
What i see is 3 intervals where the sprite jitters, near frame 71, 188 and 304 (and continueing onward). The profiler says the frame time, mainly idle time, is 0.073s on those frame numbers. Which is 4 frames at 60fps. 
![profiler](https://user-images.githubusercontent.com/62304683/76888691-a87da600-6884-11ea-8f28-9e742a624c92.png)

I have tried to bypass this with running fullscreen, exporting without debug, putting the move_and_collide in _process instead. It stays very visible.

**Minimal reproduction project:**
[jitter_project.zip](https://github.com/godotengine/godot/files/4345077/jitter_project.zip)
Repository: PowerToys
Issue: Add taskbar separators 
Labels: Idea-New PowerToy,Product-Tweak UI Design

# Summary of the new feature/enhancement

I have my apps grouped in the taskbar by function (e.g. all my text/code editors are next to each other, all my email/chat apps are next to each other, all my browsers, office apps, games, etc.) Having some sort of space or vertical bar between the groups would improve the legibility of these groups, making it immediately obvious where each group begins/ends. I do this on macOS and it's **super** helpful. It looks like this
<img width="1588" alt="Screen Shot 2020-03-17 at 11 48 25 AM" src="https://user-images.githubusercontent.com/8008261/76890929-6bde8a00-6845-11ea-83f3-d4738b98bcaf.png">
Repository: rust
Issue: `unused_parens` never checks expressions behind references
Labels: A-lints,T-compiler,C-bug,L-unused_parens

```rust
fn main() {
    let _ = &(5);
    // This does not warn
}
```
[playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4f7d927326c626229ddbc94b96fc2e71)

@rustbot modify labels: +T-compiler
Repository: rust
Issue: Tracking Issue for `Option::zip` and `Option::zip_with` (feature `option_zip`)
Labels: T-libs-api,B-unstable,C-tracking-issue,A-result-option,Libs-Tracked,Libs-Small

<!--
Thank you for creating a tracking issue! 📜 Tracking issues are for tracking a
feature from implementation to stabilisation. Make sure to include the relevant
RFC for the feature if it has one. Otherwise provide a short summary of the
feature and link any relevant PRs or issues, and remove any sections that are
not relevant to the feature.

Remember to add team labels to the tracking issue.
For a language team feature, this would e.g., be `T-lang`.
Such a feature should also be labeled with e.g., `F-my_feature`.
This label is used to associate issues (e.g., bugs and design questions) to the feature.
-->

This is a tracking issue for `#![feature(option_zip)]` which was introduced in #69997.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps
<!--
Include each step required to complete the feature. Typically this is a PR
implementing a feature, followed by a PR that stabilises the feature. However
for larger features an implementation could be broken up into multiple PRs.
-->

- [x] Stabilize `Option::zip` (https://github.com/rust-lang/rust/pull/72938)
- [ ] Resolve unresolved questions
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions
<!--
Include any open questions that need to be answered before the feature can be
stabilised.
-->

- [ ] Should we also include `zip_with` in the public API? Seems like a niche API and is easily replaced with `a.zip(b).map(f)`.
Repository: youtube-dl
Issue: Support for Celebsroulette.com
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.03.08. 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.03.08**
- [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.
-->

- Single video: https://celebsroulette.com/videos/3032/zooey-deschanel-new-girl-s1ep8/
- Playlist: https://celebsroulette.com/playlists/684/beautiful-butts/
Repository: youtube-dl
Issue: Support for heroero.com
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.03.08. 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.03.08**
- [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.
-->

- Single video: https://heroero.com/videos/1061/sanex-naked-new-hot-video-ad-2013/
Repository: electron
Issue: Electron.ClientRequest should be typed as a WritableStream
Labels: documentation :notebook:,component/typescript,stale-exempt

In order to allow typescript usage of `stream.pipe(request)` (which works) the `ClientRequest` typescript definition needs to either be compatible with or `extend` Writable.

Extending probably makes the most sense if we can make that work as that's what we're actually doing in the code.
Repository: terminal
Issue: Console property sheet allows bitmap fonts despite the v2 console _not_ supporting them
Labels: Product-Conhost,Issue-Bug,Area-Settings,Priority-3

The ["Hellfont Cyr"](https://plugring.farmanager.com/plugin.php?pid=164&l=en) terminal font is not rendered in v2 console. Instead of its 9x16 typeface, some random 12x16 is chosen.

(Left is ForceV2=0, right is ForceV2=1. Same font settings.)

![image](https://user-images.githubusercontent.com/6532485/76876645-44a6ad80-6883-11ea-8ab2-adb645f97c7b.png)

_Originally posted by @AnrDaemon in https://github.com/microsoft/terminal/issues/295#issuecomment-600209738_
Repository: youtube-dl
Issue: www.ohrka.de
Labels: site-support-request

## Checklist

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.03.08**
- [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 Audio: https://www.ohrka.de/hoeren/abenteuerlich-lustig/oskars-ganz-geheime-hoehle/

## Description

„Ear-channel“ connected to the German Public KiKa („Childrens Channel“) TV-Channel
Repository: godot
Issue: GridMap Mesh Library "Clear" doesn't actually clear the grid-map
Labels: discussion,topic:editor,confirmed,topic:3d

**Godot version**: 3.0, 3.1, 3.2

**OS/device including version**: Windows 10 Pro 64-bit

**Issue description**:
- GridMap inspector has a section for choosing Mesh Library
- In this section, you can "Clear" currently assigned Mesh Library, which removes the Mesh Library and (apparently) deletes all tiles
- But this is not true, because even if you restart Godot, and then attach the same Mesh Library, all your tiles will be there at the scene again
- Clear implies complete removal of data, so this is not how it is meant to work. That is, by clicking "Clear", it should remove all history as well so you can effectively clean your map.

**Steps to reproduce:**
1) Add a Spatial, add a GridMap as its child
2) Assign your Mesh Library to the GridMap
3) Dump a couple of tiles, save, now use "Clear", see your tiles disappearing, save
4) Restart Godot, open your scene, re-add the Mesh Library and find your old tiles to be at the scene again
Repository: PowerToys
Issue: [FancyZones] Exclude app by window title / exe
Labels: Idea-Enhancement,FancyZones-Dragging&UI,Product-FancyZones

# Summary of the new feature/enhancement
The feature of "Move newly created windows to their last known zone" has a flaw - it resizes dialog boxes that can (but under normal circumstances shouldn't) be resized, such as the file dialog or Find and Replace.
While I like Excel windows to open in their prior place, I don't want the Find/Replace or the file dialogs box to span a huge space.
The proposal is to allow exclusion by window title (maybe also by dialog type for standard dialog boxes like the file dialog).
To do that (by title), the user would add the window title (e.g. "Find and Replace") to exclude windows with that title from being resized automatically.
<!-- 
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->

# Proposed technical implementation details (optional)

<!-- 
A clear and concise description of what you want to happen.
-->
Repository: flutter
Issue: [pigeon] be explicit about allowed Dart keywords in the IDL
Labels: d: api docs,package,team-ecosystem,p: pigeon,P3,triaged-ecosystem

We should be very clear in the https://pub.dev/packages/pigeon readme on what types of Dart statements are allowed in the IDL files so that users don't gradually find out via trial and error repeat pub runs. 

cc @gaaclarke