sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: neovim
Issue: It isn't possible to set 'wildchar' through vim.opt in lua because it expects a number instead. Applies to wildcharm as well.
Labels: enhancement,has:workaround,lua

### Neovim version (nvim -v)

0.6.1

### Vim (not Nvim) behaves the same?

No (lua related)

### Operating system/version

x86_64 GNU/Linux

### Terminal name/version

xterm 372

### $TERM environment variable

xterm-256color

### Installation

Arch official community repo

### How to reproduce the issue

echo "vim.opt.wildchar = \"<c-z>\"" > test_init.lua
nvim -u ./test_init.lua

### Expected behavior

Neovim starts and the value of wildchar is set to "<c-z>"

### Actual behavior

Neovim greets with error message upon start:

> Error detected while processing /home/jscandal/test_init.lua:
E5113: Error while calling lua chunk: vim/_meta.lua:324: Invalid option type 'string' for 'wildchar', should be number
stack traceback:
        [C]: in function 'error'
        vim/_meta.lua:324: in function 'assert_valid_value'
        vim/_meta.lua:393: in function 'convert_value_to_vim'
        vim/_meta.lua:681: in function '_set'
        vim/_meta.lua:724: in function '__newindex'
        ./test_init.lua:1: in main chunk
Press ENTER or type command to continue
Repository: TypeScript
Issue: Suggestion: Formatting: Disable inserting spaces around leading semicolon
Labels: Suggestion,Help Wanted,Domain: Formatter,Experience Enhancement

# Suggestion

## 🔍 Search Terms

semicolon at the start of a line
formatting spaces around semi

## ✅ Viability 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, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion

In setups where semicolons are not used and the code relies on ASI, there are certain statements which can confuse both the developer and the engine.
In such cases, some people prefer to use semicolon at the start of the particular statement that could potentially cause such behavior regardless of what is actually on the preceding line.


## 📃 Motivating Example

This adjustment will fix formatting issue and make it consistent.

## 💻 Use Cases

With vscode formatting setting
```
"typescript.format.semicolons": "remove"
```
and eslint rules,
```
"semi-style": ["error", "first"],
"semi-spacing": "error"
"indent": ["error", 2],
```

I get this automatic `eslint --fix`,

```ts
// before
console.log('hi');
(something ??= {_default: 0})[key] = 1

// after 
console.log('hi')
;(something ??= {_default: 0})[key] = 1
^ ..... this is desired
```

which is then auto-formatted by vscode to this,
```ts
console.log('hi')
  ; (something ??= {_default: 0})[key] = 1
^^ ^ ..... spaces inserted, undesired
```

which in turn raises this eslint error.
```
Expected indentation of 14 spaces but found 16. eslint(indent)
```

Migrated from https://github.com/microsoft/vscode/issues/146620
Repository: flutter
Issue: Animated Icons (.eg: play_pause) that have multiple shapes, when wrapped with `Opacity`, the color is not uniform.
Labels: framework,f: material design,has reproducible steps,found in release: 2.10,found in release: 2.13,team-design,triaged-design

When the animated icon "play_pause" or "pause_play" is in the play state and you have some opacity on it, it has an ugly line across it: 

![Screenshot 2022-04-05 155120](https://user-images.githubusercontent.com/46897578/161769187-c8f158a8-d545-488c-a9df-814924ce7d8c.png)

This is because the Icon is composed of multiple shapes, when they overlap, their transparent color is composed together.

Reproduce:
```dart
class _MyHomePageState extends State<MyHomePage> with SingleTickerProviderStateMixin {
  late final AnimationController _controller = AnimationController(vsync: this);

  @override
  Widget build(BuildContext context) => Scaffold(
        body: Center(
          child: Opacity(
            opacity: 0.5,
            child: AnimatedIcon(
              size: 300,
              icon: AnimatedIcons.play_pause,
              progress: _controller,
            ),
          ),
        ),
      );
}
```

Proposal:
When the animation is completed, make it consist of only one shape, instead of multiple.
Repository: terminal
Issue: With multiple split panel, Terminal is not responding to scroll using Surface Dial
Labels: Help Wanted,Needs-Repro,Area-Input,Issue-Bug,Product-Terminal

### Windows Terminal version

1.12.10733.0

### Windows build number

22581.200

### Other Software

WSL2: 0.56.2.0

### Steps to reproduce

1. Use Windows Terminal to open Command Prompt (also tried WSL)
2. Split pane, so there should be 2 instances of Command Prompt opened side-by-side
3. On both panes, run `dir` for a couple of times until the scroll buffer is filled
4. Press-and-hold Surface Dial, set to scroll mode
5. Rotate on the Surface Dial


### Expected Behavior

Rotating Surface Dial should scroll the active pane up/down.

Additionally, it should scroll on the pane where the mouse is hovering on, not focused (to follow mouse wheel behavior).


### Actual Behavior

Rotating the Surface Dial will not scroll the pane.

If all but one of the split panes are closed, rotating Surface Dial will scroll the sole pane.
Repository: vscode
Issue: Removing the notebookDeprecated proposal 
Labels: debt,upstream-issue-linked,notebook-api

The `notebookDeprecated` api proposal is currently not on track for finalization. It only contains a single property `NotebookCellOutput.id`, which we believe is no longer useful or needed 

We plan on removing this proposal  it once all current consumers have migrated off it. Here's the current list:

- [ ] Jupyter @rchiodo @DonJayamanne 
- [ ] Data Wrangler @pwang347
- [x] Dot Net Interactive @brettfo, @colombod

Please check if your extension is using this api and if you have any concerns migrating off of it
Repository: create-react-app
Issue: Fast Refresh & hot-update.js loaded from window.hostname and not configured sock host
Labels: needs triage

In development we run our website from inside a virtual machine (vagrant) on a specific DNS (say dev.socialtrip.com).

We load the website from dev.socialtrip.com in the browser, the backend server does the first render (not react) and load our JS bundle from the dev server on localhost:

```html
<script src="http://localhost:3000/static/js/bundle.js"></script>
```

And then our app renders.

We run the webpack dev server from the local host (and not from inside the VM).

The problem is that in this case, fast-refresh correctly detects that we made an update on the code, but tries to load the hot-update from `dev.socialtrip.com` instead of `localhost`.

.env config:
```
BROWSER=none
HOST=localhost
PORT=3000
WDS_SOCKET_HOST=localhost
WDS_SOCKET_PORT=3000
PUBLIC_URL="/"
# own variables
REACT_APP_SERVER_URL="http://dev.socialtrip.com"
```

I think I tried every possible configuration.

How can we fix this?
Repository: rust
Issue: [NLL] Loss of error codes for NLL errors
Labels: A-diagnostics,T-compiler,A-NLL,NLL-diagnostics

In #95591, it is shown that many NLL errors lack error codes compared to non-NLL. The errors themselves are not objectively worse (usually better), but the loss of error codes is unfortunate.
Repository: PowerToys
Issue: FancyZones won't remember (or won't remember for long) toggle settings of spaces around zones, and also when it forgets this setting it forgets it for all virtual desktops as well
Labels: Issue-Bug,Product-FancyZones,Needs-Repro,Needs-Team-Response

### Microsoft PowerToys version

.57

### Running as admin

- [ ] Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

Install PowerToys on Windows 11

Use Fancy Zones Editor to disable (detoggle) "spaces around zones" for Priority Grid

This behaviour has been around since I first started using PowerToys so at least a year, maybe 2

### ✔️ Expected Behavior

Powertoys should remember the toggle setting of _spaces around zones_ = _disabled_, but it doesn't. Maybe it does for a while, but often when you restart it, it won't remember it.

Also it is very annoying to have to toggle it for every single virtual desktop. Maybe you can make a way to remember the setting, regardless of what virtual desktop you are on?

Just to be clear, when it "forgets" the toggle setting (meaning it will become _enabled_ again since enable is the default), it will forget for every single Virtual Desktop.. even if you had disabled it for each Virtual Desktop before.



### ❌ Actual Behavior

what I wrote in Expected Behaviour mentions the actual behavior as well

### Other Software

Windows 11
Repository: pytorch
Issue: Kernel Dies while using conv2d layer / function
Labels: needs reproduction,triaged

### 🐛 Describe the bug

Kernel dies and restarts automatically as soon as model having conv2d is used.
It happens for both - conv2d layer (torch.nn.Conv2d) and conv2d function (torch.nn.functional.conv2d), while i am able to use linear layer model in my system.
Here is a minimal example code

```
import numpy as np
import torch
import torch.nn.functional as F
from torchvision import datasets
import torch.nn as nn

class model_conv_test(nn.Module):
     def __init__(self):
         super().__init__()
         self.l1 = nn.Conv2d(1,5, (3,3))
     def forward(self, x):
         return self.l1(x)

x = torch.rand((1,1,16,16))
model_test = model_conv_test()
model_test(x)
```
<img width="751" alt="Screenshot 2022-04-05 at 9 12 31 PM" src="https://user-images.githubusercontent.com/65191985/161819396-6d0b318a-a9de-4125-8397-818efa04f163.png">


### Versions

Collecting environment information...
PyTorch version: 1.11.0
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 12.2.1 (x86_64)
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.19.7
Libc version: N/A

Python version: 3.8.5 (default, Sep 4 2020, 02:22:02) [Clang 10.0.0 ] (64-bit runtime)
Python platform: macOS-10.16-x86_64-i386-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] botorch==0.6.0
[pip3] gpytorch==1.6.0
[pip3] numpy==1.19.2
[pip3] numpydoc==1.1.0
[pip3] torch==1.11.0
[pip3] torchvision==0.12.0
[conda] blas 1.0 mkl
[conda] botorch 0.6.0 pypi_0 pypi
[conda] gpytorch 1.6.0 pypi_0 pypi
[conda] mkl 2019.4 233
[conda] mkl-service 2.3.0 py38hfbe908c_0
[conda] mkl_fft 1.2.0 py38hc64f4ea_0
[conda] mkl_random 1.1.1 py38h959d312_0
[conda] numpy 1.19.2 py38h456fd55_0
[conda] numpy-base 1.19.2 py38hcfb5961_0
[conda] numpydoc 1.1.0 pyhd3eb1b0_1
[conda] torch 1.11.0 pypi_0 pypi
[conda] torchvision 0.12.0 pypi_0 pypi
Repository: vscode
Issue: Detached DOM nodes memory leak
Labels: freeze-slow-crash-leak,debt

The Edge Dev Tools now offers Detached Elements tool to help detect memory leaks. The tool is a good addition to the memory heap tool but it's analyzing from a different angle. @sbatten and I spent some time digging into this tool and fixed memory leaks in the `ActionBar` successfully. Here is how we tackle the leaks in action bar:

* Open vscode (`scripts/code-web.sh`) in Edge
* Play around with it for a bit
* Open Edge Dev Tools -> `...` -> `More Tools` -> `Detached Elements` 
  <img width="921" alt="image" src="https://user-images.githubusercontent.com/876920/161843990-75a395f3-457b-425a-8c98-5e39a4e8f632.png">

* Click the trash icon to trigger manual GC and click the first button to collect all detached elements
  <img width="680" alt="image" src="https://user-images.githubusercontent.com/876920/161844073-6c1d8ad4-e06f-44c9-b0bc-159d3983be68.png">

* It found 100+ detached elements which can not be GC'ed. We easily found dozens of `markers-panel-action-filter-container`
  <img width="1005" alt="image" src="https://user-images.githubusercontent.com/876920/161844394-73464e9f-a3b2-48f4-8681-c60bb2db7927.png">

* To analyze why they can't be GC'ed, click the Eye icon on the top toolbar to generate a heap dump 
  <img width="781" alt="image" src="https://user-images.githubusercontent.com/876920/161844673-cadb53c4-493d-4312-9cbf-3b5c405b7abb.png">

* Once the memory heap is generated, it will link the detached element to the objects in the memory tool
  <img width="1009" alt="Screen Shot 2022-04-05 at 1 37 19 PM" src="https://user-images.githubusercontent.com/876920/161845046-bf90e02e-d237-4d24-ac97-a448148b6a36.png">

Turned out we register a global DOM listener for every `ActionViewItem` and store it in `ActionBar` disposable store. When the `ActionViewItem` is disposed, the DOM listener will be not disposed/cleared until the `ActionBar` is disposed.


---

With the `ActionBar` leaks fixed, there are still 30+ detached DOM nodes not GC'ed. Not every one is necessarily memory leak (for example, if you are using `ListView`, it will hold refs to template DOM nodes) but some of them are duplicated elements.

- [x] Multiple `markers-panel-action-filter-container` and `switch-output` @sbatten 
- [x] Multiple `status.languageStatus` span and  `codicon codicon-bracket wiggle` span nodes are ref'ed by mutation observers in `SuggestDetailsOverlay` @jrieken 
- [ ] DOM node for monaco editor in `AccessibilityHelpWidget` @isidorn
Repository: go
Issue: proposal: go/importer: provide a registry for x/tools importers to plug into
Labels: Proposal,Proposal-Hold

Right now the situation with go/types.Importer implementations is:

1. The standard library provides importers that only support the current export data format.
2. The x/tools repo provides additional importers that support older formats too, needed for users that deploy tools that need to support multiple toolchain revisions.

However, there's currently no mechanism where the x/tools importers can fallback to the stdlib importers for *current* export data format. This makes active development of new export data formats much more painful, because we need to keep the x/tools importers up-to-date even before the new format is finalized.

It would be nice if instead x/tools only provided legacy file formats that are no longer supported by the standard library.

I don't have a concrete suggestion yet of what a solution looks like here. But filing this issue so we can discuss it.
Repository: TypeScript
Issue: [semantic] [typescript] No special highlighting for the 'this' parameter
Labels: Suggestion,Help Wanted,Experience Enhancement

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.65.0
- OS Version: macOS 12.2.1

What's wrong:
The typescript semantic highlighter is currently highlighting the special 'this' parameter of function types/declarations the same as any other normal parameter.

Expectation:
I would expect the 'this' keyword to be highlighted as a keyword.

<img width="670" alt="Screen Shot 2022-04-05 at 1 25 00 PM" src="https://user-images.githubusercontent.com/39534148/161825171-7fe6b042-73fd-423e-a382-f9fa2d7e3854.png">

Possible Solutions:
Make the keyword token type "thisParameter" or add a modifier to it.
Repository: electron
Issue: [Feature Request]: printToPDF for iframe
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

According to the documentation https://www.electronjs.org/de/docs/latest/api/webview-tag it is recommended not to use webview and instead use iframe. Unfortunately, iframe does not have a printToPDF function.

### Proposed Solution

Would be good if printToPDF would be exposed as a separate function where we could pass in our own context.

### Alternatives Considered

`iframe.print()` does exist but it creates a popup, where you would have to manually select the location and format.

### Additional Information

_No response_
Repository: PowerToys
Issue: [OOBE] What's New can show info for version later then installed
Labels: Idea-Enhancement,Area-OOBE

### Microsoft PowerToys version

any lower then latest

### Area(s) with issue?

Welcome / PowerToys Tour window

### Steps to reproduce

Install (not update) a version that is **not** the latest.

### ✔️ Expected Behavior

Release notes from _current_ version and earlier open.

### ❌ Actual Behavior

Release notes from _latest_ version and earlier open.
![image](https://user-images.githubusercontent.com/65828559/161843107-de91f1f3-8b26-4559-a307-d4ec0173678c.png)
Repository: youtube-dl
Issue: detect all piped instances
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.12.17. 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.12.17**
- [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://piped.moomoo.me/watch?v=BaW_jenozKc
- Playlist: https://piped.moomoo.me/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

### piped instances

- https://piped.moomoo.me
- https://piped.silkky.cloud
- https://piped.tokhmi.xyz
- https://piped.mint.lgbt
- https://piped.privacy.com.de
- https://piped.notyourcomputer.net
- and maybe others

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

At the moment, only the official piped instance [https://piped.kavin.rocks](https://piped.kavin.rocks) is supported

Every instance begin with "https://piped."

Considering that the number of instances can grow, is it worth to find a way to make youtube-dl works based on that instead on rely of the list of all instances?
Repository: go
Issue: cmd/objdump: MOVZX disassembly is ambiguous
Labels: NeedsFix,compiler/runtime

Is it zeroing the top 56, 48, or 32 bits? Not clear from the disassembler.
Similarly for MOVSX - where is it sign-extending from?
In gcc syntax you can tell from the size of the register argument. Not so for plan9 syntax.

I fixed something similar for POPCNT in https://go-review.googlesource.com/c/arch/+/351889/ , but that strategy won't work here because the size used there is the output size, not the input size.
Repository: pytorch
Issue: [JIT] log_extract.py improvements
Labels: oncall: jit

### 🚀 The feature, motivation and pitch

- [x] (https://github.com/pytorch/pytorch/pull/75436) move the make_tensor functions into torch/testing or somewhere else like that, to dedup log_extract from torchbench
- [x] move the no_fuser wrapper into torch/testing or torch.jit.fuser() , to dedup
- [ ] randomize data in make_tensor
- [ ] randomize data in parse_ir constant tensors
- [x] (https://github.com/pytorch/benchmark/pull/920) ~csv~ json output for easier analysis

### Alternatives

_No response_

### Additional context

_No response_
Repository: flutter
Issue: [google_maps_flutter_web] Improve error messages when using a disposed map instance
Labels: p: maps,platform-web,package,has reproducible steps,P3,found in release: 2.10,found in release: 2.13,team-web,triaged-web

Essentially the same as the now closed  https://github.com/flutter/flutter/issues/97913

I took the code furnished by OP and put it in a `TabBarView` like he explained.

# Repro

https://github.com/cedvdb/flutter_repros/tree/google_map_init

 1. get the correct branch `google_map_init`
 2. in index.html replace `YOUR_API_KEY_HERE` with a valid google map api key
 3.  run project in chrome
 4. go to third tab, back to second, back to third and back to second.
 
 
 the error will appear
 
 -------------------------------------------------------------------
 
 # Edit
 
 Okay so I investigated this a bit, and the example code in the repro I furnished (that was taken from another issue) is kind of wrong. because OP calls `controller.dispose` in the dispose method of the widget. Apparently you are not supposed to do that with the google maps package as it handles the disposing. 

This doesn't seem very idiomatic for flutter though, so that might add to the confusion. That should be documented with a better error or the method should be made private.

Secondly in my case, the error happened in a different scenario I was using an additional package `google_map_cluster_manager` that does the following: `await GoogleMapsFlutterPlatform.instance.getZoomLevel(mapId: mapId);`.

To resolve this I just had to check if the widget was mounted before using the above.

There are still things inherently wrong here imo, because this could be statically typed somehow.