sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: [Color Picker] Add WCAG contrast ratio compliance checks
Labels: Idea-Enhancement,Product-Color Picker

A useful feature in the editor mode for color picker would be a display of color contrast ratio between the last two picked colors, and pass/fail indicators for WCAG 2.1 AA and AAA compliance for small and large text.

Here's a rough mockup of how it could look, but with only one set of indicators:
![image](https://user-images.githubusercontent.com/3411124/106184266-87e9d200-615e-11eb-9fa4-d924a3915635.png)

---

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Repository: kubernetes
Issue: Reflector: always succeed when listing a collection that is too large.
Labels: sig/api-machinery,kind/feature,lifecycle/frozen,triage/accepted

Today, if a collection is too large, a LIST might not be able to finish in the 60s time out, and then it is impossible for a controller to start.

If the controller uses multiple paginated LIST requests, that is better, but it must be able to get through the entire collection before the next compaction event (every 2.5 minutes).

Fortunately this can be fixed client-side without any server changes.

1. List the first page. Immediately start a watch at the given RV. Enqueue the watch events for later processing.
2. List subsequent pages.
3. When you get out of the history window, restart your watch at the same lexical place by using the supplied continue token.
4. Track the new RV acquired with each history window reset (i.e. we must be able to determine lexically from an object's name/namespace which RV list it came from).
5. When you get all the way through the collection, apply the enqueued watch events to the locally stored objects. We can see if we should apply the watch event or throw it away by comparing it lexically with the list RV tracked as in step 4.

This is a version of https://github.com/kubernetes/kubernetes/issues/90339 that is less efficient but doesn't require any complicated server changes. You could also consider this issue to be the client-side version of https://github.com/kubernetes/kubernetes/issues/90179
Repository: vscode
Issue: Native Notebooks - Different Markdown Icons
Labels: feature-request,outline,notebook-markdown

Markdown symbol for Ctrl + Shift + O Navigation does not match the markdown icon in outline

![image](https://user-images.githubusercontent.com/19276747/106194983-6b509880-6164-11eb-9dd5-da6c88ffa79e.png)

![image](https://user-images.githubusercontent.com/19276747/106194954-5b38b900-6164-11eb-9a36-96bdd216ca9f.png)
Repository: flutter
Issue: Add tests for variable inspection in debugging
Labels: a: tests,tool,P2,team-tool,triaged-tool

See https://github.com/dart-lang/sdk/issues/44800

There may be other breakages too. Still need to find the exact version # this was introduced in.
Repository: youtube-dl
Issue: support for likee.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 2021.01.24.1. 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.01.24.1**
- [ 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.
-->

- video url : https://l.likee.video/v/k6QcOp
- channel url : https://l.likee.video/p/Gp6YGd


## Description
site support for likee.video
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

WRITE DESCRIPTION HERE
Repository: flutter
Issue: Flutter Web SDK should include a manifest of "external" assets
Labels: c: new feature,team,engine,a: assets,platform-web,P3,team-web,triaged-web

E.g. CanvasKit, any font assets that are grabbed from CDN, etc.

This would be useful for being able to package up a Flutter Web application into a self-contained bundle, either for serving locally (i.e. DevTools) or in an Electron app (i.e. a plugin for an existing Electron app), or just for someone who wants to avoid using CDNs.
Repository: flutter
Issue: Image load failure not reported
Labels: engine,platform-web,a: images,e: web_canvaskit,has reproducible steps,P2,team: skip-test,found in release: 3.7,found in release: 3.10,team-web,triaged-web

Console is empty when i load a missing image asset or network image.

flutter run -d chrome --profile --web-renderer=canvaskit
Repository: deno
Issue: Support starting inspector through signal
Labels: cli,suggestion,debugger

In some cases it is useful to be able to start the inspector on an already running process (for example a long running task that you can not easily restart). Deno currently has no infrastructure to support this. Currently the only way to enable the debugger is through `--inspect` or `--inspect-brk`.

In Node you can start the inspector on an already running process by sending the process a `SIGUSR1` signal. See Node docs: https://nodejs.org/api/process.html#process_signal_events & article on the topic: https://blog.sqreen.com/memory-leaks-nodejs-heroku/.

It would be cool if we supported something like to this.
Repository: flutter
Issue: Mouse button release isn't detected in engines fl_view gtk widget after calling gtk_window_begin_move_drag
Labels: engine,platform-linux,a: desktop,a: mouse,has reproducible steps,P2,found in release: 3.19,found in release: 3.22,team-linux,triaged-linux

<!-- 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
-->

After calling gtk_window_begin_move_drag from a native plugin the view doesn't respond to the next mouse click, the function call is triggered from a gesture detector widget. It seems like the fl_view widget isn't responding to the mouse button release and so it still thinks the mouse button is down when the next mouse button press happens. I might also be doing something wrong on my end as I'm not too experienced with gtk. 

## Steps to Reproduce
 - Call `gtk_window_begin_move_drag` from the Linux runner, native plugin or ffi interface
 - Click in the app window, the click doesn't register

Flutter doctor output:
```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    ✗ Flutter requires Android SDK 29 and the Android BuildTools 28.0.3
      To update the Android SDK visit https://flutter.dev/docs/get-started/install/linux#android-setup
      for detailed instructions.
    ✗ Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] Connected device (2 available)

! Doctor found issues in 2 categories.
```
Repository: flutter
Issue: Improve multiple Flutters Android embedding memory performance
Labels: platform-android,engine,c: performance,a: existing-apps,perf: memory,P2,team-android,triaged-android

Some discrepancies between 10 flutter engines and 1 flutter engine that theoretically shouldn't be present and wasn't in our prototype

- [ ] flutter::PlatformViewAndroid::CreateResourceContext took 0.6MB instead of 0.06MB for 10 engines
- [ ] Some calls to flutter::Picture::RasterizeToImage costing 0.4MB instead of 0.04MB for 10 engines
Repository: angular
Issue: Document difference between `[NgClass]` and `[class]`
Labels: area: core,core: styling bindings,P3,area: docs

In https://angular.io/guide/template-syntax#class-binding we suggest that people should start replacing [ngClass] bindings with [class] bindings. At the same time, today, there are few gaps between [ngClass]  and [class] functionality so simple change from [ngClass] → [class] is not always possible.

Related:
* https://hackmd.io/jzDc7hIDTdWtQblv2TbL9A
* #35851
* #54605
Repository: vscode
Issue: No way to ensure an extension is prioritized as a rename provider in a language
Labels: api,under-discussion,rename

We are implementing rename functionality and have found [some guidance](https://github.com/microsoft/vscode/issues/96273#issuecomment-620057164) about how to ensure our extension "wins". This is based on the fact that rename takes the results from the [first extension to return anything](https://github.com/microsoft/vscode/blob/ea4d99921cc790d49194e897021faee02a1847f7/src/vs/editor/contrib/rename/rename.ts#L58-L72), the [scoring implementation](https://github.com/microsoft/vscode/blob/3a9daf3e34a782a7fc0cc3a9b92b601deb4d2723/src/vs/editor/common/modes/languageSelector.ts#L23), and finally how the [sorting handles when there is a score tie](https://github.com/microsoft/vscode/blob/bec5afa29238013355a57ed69ae6540a4daf3c01/src/vs/editor/common/modes/languageFeatureRegistry.ts#L163-L178). 

Unfortunately, the option for depending on the built-in extension doesn't work for us. The Angular Language Service provides features for _both_ html and typescript languages. We've found that if the first document opened is an html file, the built in typescript extension does not register its providers, but our extension does. Then when a TS file is opened, the TS extension registers as a rename provider, meaning it will "win" the registration time tie breaker. The result is that renames will not work correctly from TS files. 

We haven't found any additional guidance in existing issues or documentation on how to approach this. I guess I would categorize this as a feature request to make the provider registry for renaming more configurable.
Repository: pytorch
Issue: Pytorch not working properly (I don't know how to summarize it, see below)
Labels: module: nn,triaged

When I have a pytorch model, I sometimes would like to extract the features before the final softmax layers or such. Here, I have a model trained and loaded from a pickle:

```
def build_model():
    model = resnet18(pretrained=True)
  
    n_features = model.fc.in_features
    n_hidden = 100
    model.fc = torch.nn.Sequential(
        torch.nn.Linear(n_features, n_hidden),
        torch.nn.ReLU(),
        torch.nn.Linear(n_hidden, 2)
    )
    
    model.to(device)
    return model

model = build_model()
model.load_state_dict(torch.load('./model.pickle'))
model.eval()
```

Then, I would suppose that the model can be rebuild from it's children:

```
modules = list(model.children())
encoder = nn.Sequential(*modules)
```

However, given a test tensor:

```
>>> x_test.shape
torch.Size([100, 3, 128, 128])
```

model(x_test) produces an output normaly, but encoder(x_test) gives RuntimeError: mat1 dim 1 must match mat2 dim 0. I don't have any idea on how to investigate it further. The error messages are quite poor. The documentation is also EXTREMELY poor and doesn't specify at all the interface of the torchvision models (for example. the ".children" method came from a forum, because it doesn't appear anywhere in the documentation, which is insane).

cc @albanD @mruberry @jbschlosser
Repository: pytorch
Issue: Support torch::jit::script::Module converting to torch::nn::Module.
Labels: oncall: jit,weeks

## 🚀 Feature
Support torch::jit::script::Module converting to torch::nn::Module.

## Motivation
In some cases like image-style transfer, we need to calculate the gradient of loss w.r.t the input tensor. Howerver, if I load a pre-trained Pytorch CNN in C++ by using jit::script::Module. The pre-trained CNN of the jit::script::Module can't pass the gradients to the input tensor. Because it seems the jit::script::Module doesn't support the AutoGrad.

So if there is a convenient way to convert the pre-trained jit::script::Module into nn::Module. Then we could use AutoGrad of the pre-trained model more conveniently!

## Pitch

None

## Alternatives

None

## Additional context

None


cc @gmagogsfm
Repository: flutter
Issue: CircleAvatar.radius default size or documentation is incorrect with non-standard visual densities
Labels: framework,f: material design,d: api docs,team-design,triaged-design

In the [documentation for `CircleAvatar.radius`](https://api.flutter.dev/flutter/material/CircleAvatar/radius.html):

> If neither `minRadius` nor `maxRadius` are specified, defaults to 20 logical pixels. This is the appropriate size for use with `ListTile.leading`.

Since the introduction of [`VisualDensity`](https://api.flutter.dev/flutter/material/VisualDensity-class.html), 20 logical pixels is not always an appropriate size for use with `ListTile.leading`, as it can be too small or too large depending on how the `ListTile` adjusts its size.

I think either the documentation needs to be changed with visual density in mind, or the default size needs to change with the visual density.
Repository: vscode
Issue: Allow TreeItem.label to support MarkdownString
Labels: feature-request,tree-views,api-proposal

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- 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. -->
Looking at the [API for TreeItemLabel](https://code.visualstudio.com/api/references/vscode-api#TreeItemLabel) it seems a bit limited. I'm trying to avoid moving to a webview view and what I need is some way to have certain nodes in a tree view be crossed out. It'd be nice if `TreeItem.label` could be extended to support `MarkdownString`.

Proposal:

```ts
export class TreeItem {
		/**
		 * A human-readable string describing this item. When `falsy`, it is derived from [resourceUri](#TreeItem.resourceUri).
		 */
		label?: string | TreeItemLabel | MarkdownString;
}
```
Repository: godot
Issue: Your mono runtime and class libraries are out of sync. mscorlib.dll
Labels: bug,documentation,topic:dotnet

**Godot version:**
3.2.3.stable.mono


**OS/device including version:**
Windows 10


**Issue description:**
I compiled Godot using Mono 6.12.0 Stable and this [tutorial](https://docs.godotengine.org/en/stable/development/compiling/compiling_with_mono.html) and then created export templates according to [this](https://docs.godotengine.org/en/stable/development/compiling/compiling_for_windows.html#creating-windows-export-templates) one. My game worked fine in the editor, but after exporting it, I encountered this error launching the executable:
![image](https://user-images.githubusercontent.com/47952308/106231318-9ba73e00-621b-11eb-9a49-22b7e0850fda.png)
After copying `mono-2.0-sgen.dll` from Godot `bin` folder to the `.exe` folder of my game I see this message in the debug console:
```
Your mono runtime and class libraries are out of sync.
The out of sync library is: .mono/assemblies/Debug/mscorlib.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

Your mono runtime and class libraries are out of sync.
The out of sync library is: .mono/assemblies/Debug/mscorlib.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
```
But when I check the `.mono/assemblies/Debug/` directory of the project, there is no `mscorlib.dll` there.
Repository: flutter
Issue: Flutter tools should pass package:flutter the Dart DevTools Server url immediately on app startup
Labels: tool,a: quality,d: devtools,P3,team-tool,triaged-tool

Currently there may be issues if the DevTools Server has not started in time and there may also be issues due to needing to wait for the service extension to be registered.

Either flutter tools needs to wait for Dart DevTools to launch (would regress startup performance) or `flutter tools` needs to always pick the Dart DevTools port so that it knows what port Dart DevTools will launch on before it is launched.

In addition, there is an issue that VM Service extension setting the devtools url will likely not be registered until the first frame is rendered causing 1 frame to possibly generate errors without a valid devtools url to display error messages with.

Possible solution:
1. Extend the Dart VM Service to allow calling service extensions before they have been registered. When a service extension is registered it will receive the value sent before it was registered.
Repository: TypeScript
Issue: Preserve the jsdoc comments for interface while compiling.
Labels: Suggestion,Awaiting More Feedback

# Suggestion

## 🔍 Search Terms

tsc jsdoc

## ✅ Viability Checklist

My suggestion meets these guidelines:

* ✅  This wouldn't be a breaking change in existing TypeScript/JavaScript code
* ✅ This wouldn't change the runtime behavior of existing JavaScript code
* ✅ This could be implemented without emitting different JS based on the types of the expressions
* ✅  This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* ✅  This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion
Add a configuraion for preserving the jsdoc comments for interface while compiling.

## 📃 Motivating Example

Example

My .ts file like this:
```
// test.ts
/**
 * @typedef {Object} ITest - For test
 * @property {string} a
 */
export interface ITest {
  a: string
}

/**
 * @function print - print ITest
 * @params {ITest} d
 */
export function print (d: ITest): void {
  console.log(d.a)
}
```

while tsc compiling, the .js like this:
```
// test.js
/**
 * @typedef {Object} ITest - For test
 * @property {string} a
 */
/**
 * @function print - print ITest
 * @params {ITest} d
 */
export function print(d) {
    console.log(d.a);
}
```
## 💻 Use Cases

There are two case as I can see.
- Preverse comments for files.
- Use jsdoc comments to mark interfaces or types on .ts and generate doc through jsdoc comments on .js
Repository: godot
Issue: Mono/c# - field assigned resources of wrong type produce no error or warning
Labels: bug,topic:dotnet

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->
Probably similar underlying problem as this: https://github.com/godotengine/godot/issues/35033

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.4.rc1.mono.offical

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Win10

**Issue description:**
<!-- What happened, and what was expected. -->
I had a weird bug where some logic just didn't work, no crash, nothing indicative of a logic error.
Through debugging in rider (variable inspection) i found that a resource i assigned in the inspector was not actually accessible, but was treated as if it was. The resource was used as configuration and a value was accessed inside it (and it produced -no- crash or error or warning).
I then discovered that the assignment in the editor somehow changed itself to be the scriptfile itself instead of the resource.
I renamed some scripts outside godot, it's possible that this misbehaviour is linked to that, but the big problem here is that there was no error or warning or even a crash happening, to be indicative of an error. The scripting runtime somehow magically seemed to read a property value from a resource that was not of the correct type and doesn't even have the required property and just continued execution.

**Steps to reproduce:**
Open the attached project and run it. The Main scene contains the node which has the script itself assigned to the actual resource field. Here the runtime atleast crashes, but still no warning or error is emitted.

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
[BugProject.zip](https://github.com/godotengine/godot/files/5892527/BugProject.zip)
Repository: flutter
Issue: PopupMenuButton has inconsistent theme in GridTile
Labels: framework,f: material design,has reproducible steps,P3,found in release: 2.5,found in release: 2.6,team-design,triaged-design

Hi guys, I have two identical PopupMenuButton looking differently.

The first is an action of the AppBar:

```
return AppBar(
   title: Text('...'),
   actions: [
      PopupMenuButton(
         itemBuilder: (context) {
           return [
             _buildItem1(),
             _buildItem2(),
           ];
         },
         icon: Icon(
            LineAwesomeIcons.vertical_ellipsis,
            size: 28,
         ),
    )
   ],
);
```

This has a correct light theme aspect.

The second one is inside a GridTileBar:

```
return GridTile(
   footer: GridTileBar(
      backgroundColor: Colors.black38,
      trailing: PopupMenuButton(
         itemBuilder: (context) {
           return [
             _buildItem1(),
             _buildItem2(),
           ];
         },
         icon: Icon(
            LineAwesomeIcons.vertical_ellipsis,
            size: 28,
         ),
    ),
      title: Text('...'),
   ),
   child: _buildImage(),
);
```

This has a dark theme aspect, no matter how I change the global PopupMenuTheme.

I found out the culprit in popup_menu.dart:

`final PopupMenuThemeData popupMenuTheme = PopupMenuTheme.of(context);`

In the first context `popupMenuTheme.color` has the correct color, while in the second context it is null.

Is this inconsistent behavior a bug, or am I missing something?