sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: angular
Issue: forms: update required validator when input is autofilled
Labels: type: bug/fix,area: forms,forms: validators,forms: change detection,P5,feature: under consideration

<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅

Oh hi there! 😄 

To expedite issue processing please search open and closed issues before submitting a new one.
Existing issues often contain information about workarounds, resolution, or progress updates.

🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->


# 🚀 feature request

### Relevant Package
<!-- Can you pin-point one or more @angular/* packages the are relevant for this feature request? -->
<!-- ✍️edit: --> This feature request is for @angular/forms


### Description
The `RequiredValidator` does not update its validation status when an input is autofilled in Chrome. This is problematic for users who set up a required username and password input and then conditionally enable the submit button when the inputs are valid. The user sees:

1. Page loads
2. Inputs are autofilled with username and password
3. Submit button is still disabled.

This issue has been filed in the past on the components repo: https://github.com/angular/components/issues/3414, though the change would really have to happen in @angular/forms.

### Describe the solution you'd like
@angular/cdk has an `AutofillMonitor` that could be moved to @angular/forms and used to detect when an input is autofilled.


### Describe alternatives you've considered
It is possible to monkey patch a solution, as @kherock [demonstrated](https://stackblitz.com/edit/autofillmon-validate?file=app/autofillvalueaccessor.directive.ts) on the components issue.
Repository: PowerToys
Issue: swipe keyboard functionality and configurable on screen keyboard layout
Labels: Idea-New PowerToy

This is a feature request :
- need  full smaller keyboards on both left & right sides of the display with swipe typing(single finger typing where words automatically recognized and typed according to finger movement and with suggestions just above like android gboard ) with the thumb should be great for typing fast.Also an ability to place as many small keyboards on the screen as you want(like the the tablet mode small keyboards)

- And also To be able configure the layout of the on screen keyboard . Like create custom keys and remove unwanted keys in tablet mode keyboard and also the basic on screen keyboard. 
For example - for people who use a lot of shortcuts in some particualr apps and do have a touch screen display then while using as a tablet can convert combination of keys to a single key (with custom name ) .And use those custom keys in a custom layout to ease there on screen typing.

- to be able to add different keyboard layouts on github or share opensource with everyone.

- To be able to set the opacity of the tablet mode keyboard and normal on screen keyboard(Dont know if its currently possible) .

And also to be able to have the tablet mode keyboard available in normal mode(Dont know if this is possible today).

Thanks
P.S. Dont know if any of the above is possible today somehow. If it is please tell how.
Repository: godot
Issue: Fix Subtract and Multiply modes on CanvasItemMaterial to also work on alpha
Labels: enhancement,topic:rendering,confirmed,topic:2d

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:** 3.1.1
<!-- Specify commit hash if non-official. -->


**OS/device including version:** Solus Gnome NVIDIA GTX 1050 TI
<!-- Specify GPU model and drivers if graphics-related. -->


**Issue description:**
<!-- What happened, and what was expected. -->
Currently the Subtract and the Multiply modes of the CanvasItemMaterial doesn't operate on the alphas of the CanvasItems below it, so we cannot perform simple boolean operations.

![ezgif com-video-to-gif](https://user-images.githubusercontent.com/10171059/58193988-b4b3c980-7c9a-11e9-97d5-69f0cbeac05b.gif)

Ideally it should take the alpha of the canvas item below it and multiply by its own, clipping them.

**Steps to reproduce:**
1. Create 2 CanvasItems (Preferably a Line2D so you can have graphics to overlap)
1. Add a CanvasMaterial to one of them
1. Set the CanvasMaterial blend mode to `Mul`
1. Set the Modulate or SelfModulate alpha to 0
1. Intersect both CanvasItems



**Minimal reproduction project:**
<!-- Recommended as it greatly speeds up debugging. Drag and drop a zip archive to upload it. -->
Repository: flutter
Issue: [Feature Request] Provide a way to change global touch ripple size (padding)?
Labels: c: new feature,framework,f: material design,P3,team-design,triaged-design

Hi, the current touch ripple size (or padding size?) looks too big to me. I hope there is a way to reduce/change touch ripple size. (so that I will have a smaller touch ripple and smaller sized widgets for those which have touch ripple effects) 
Thank you very much.
Repository: go
Issue: cmd/gofmt: align renamed imports
Labels: NeedsDecision

Currently, my import block looks something like:
```go
import (
	"bytes"
	"math"
	"reflect"
	"testing"

	"github.com/google/go-cmp/cmp"
	"github.com/google/go-cmp/cmp/cmpopts"
	"google.golang.org/protobuf/internal/encoding/pack"
	pimpl "google.golang.org/protobuf/internal/impl"
	"google.golang.org/protobuf/internal/pragma"
	ptype "google.golang.org/protobuf/internal/prototype"
	"google.golang.org/protobuf/internal/scalar"
	pref "google.golang.org/protobuf/reflect/protoreflect"
	preg "google.golang.org/protobuf/reflect/protoregistry"
	piface "google.golang.org/protobuf/runtime/protoiface"

	proto2_20180125 "google.golang.org/protobuf/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152"
)
```

Most of the import paths have a shared prefix, but the lack of aligning makes this hard to see. Preferably, `gofmt` would align the imports like:
```go
import (
	"bytes"
	"math"
	"reflect"
	"testing"

	       "github.com/google/go-cmp/cmp"
	       "github.com/google/go-cmp/cmp/cmpopts"
	       "google.golang.org/protobuf/internal/encoding/pack"
	pimpl  "google.golang.org/protobuf/internal/impl"
	       "google.golang.org/protobuf/internal/pragma"
	ptype  "google.golang.org/protobuf/internal/prototype"
	       "google.golang.org/protobuf/internal/scalar"
	pref   "google.golang.org/protobuf/reflect/protoreflect"
	preg   "google.golang.org/protobuf/reflect/protoregistry"
	piface "google.golang.org/protobuf/runtime/protoiface"

	proto2_20180125 "google.golang.org/protobuf/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152"
)
```
Repository: pytorch
Issue: [Proposal] Data reading framework for PyTorch (Hive, MySQL, S3 etc.) 
Labels: feature,module: dataloader,triaged,needs research

At Facebook we are building a data reading framework for PyTorch which can efficiently read from data stores like Hive, MySQL, our internal blob store and any other tabular data sources. The framework allows for specifying complex input pipelines to read from different sources. For example if you have a table which stores handles for images, you can write SQL like code to read from the table, apply filters to select certain handles and then retrieve those handles from another data source with a few lines of code.

In addition to this, the framework supports running user-defined transforms which can either be pure python (ex: [torchvision.transforms](https://pytorch.org/docs/stable/torchvision/transforms.html)) or torchscript code. This framework can also be used with the [torch.distributed](https://pytorch.org/docs/stable/distributed.html) package to distribute the data across multiple nodes for training. The input pipeline that the user specifies can be defined once, serialized as a plan and run on multiple remote machines if required.

The framework builds upon the OSS dataloader and dataset framework. In particular it uses [IterableDataset](https://github.com/pytorch/pytorch/pull/19228) to provide a stream based interface for data retrieved from input pipelines.

Sample code to illustrate what reading and pre-processing images would look like:

```
# Hive table has columns handle and partition_no. The partition column 
# for the table is partition_no
df = data.data_warehouse("mynamespace", "mytable")

# Filter to partition the data across multiple workers.
partition_filter = "hash(partition_no) % {0} = {1}".format(worker_info.num_workers, worker_id)
df = df.filter(partition_filter)

# Fetch the handle from a blobstore
df = df.map(["fetch_handle(handle) as img"])

# Rebatch the data
df = df.rebatch(batch_size=16)

# transform_image is a user supplied function to run image transforms.
ds = MyDataset(df=df, transforms=transform_image)
dl = torch.utils.data.DataLoader(ds)

for batch in dl:
    pass
```
We are evaluating whether it makes sense to open source this framework. For OSS users, this framework might be useful for training jobs which store large amount of data in Hive or S3 (images). Although, we would love to hear from the community whether this would be useful and also some use cases that might benefit from a framework like this.

@dzhulgakov @jspisak @aartibasant @apaszke @SsnL
Repository: flutter
Issue: Add mouse button support to GLFW shell
Labels: engine,a: desktop,e: glfw,P3,team-linux,triaged-linux

The embedding API now has the ability to pass mouse buttons through, enabling right click, middle click, etc. It's been wired up in the macOS shell, but still needs to be done for the GLFW shell.
Repository: terminal
Issue: [Settings UI] Add a button to reset the settings to defaults
Labels: Issue-Feature,Product-Terminal,Area-SettingsUI

# Summary of the new feature/enhancement

Sometimes, I update between builds and see breaking changes on the configuration side. I know that this is normal on Alpha software but there should be a way to remove the configuration without having to delete profiles.json manually.

This can also be helpful for end users once the Terminal is released.

# Proposed technical implementation details (optional)

This can work like the normal Shift + Right Click on the Windows Explorer: A Shift + Left Click on the selector should show more options like the already mentioned Delete/Reset Configuration.
Repository: flutter
Issue: Flutter tools support for packaging/linking to native libraries
Labels: c: new feature,tool,P3,team-tool,triaged-tool

**update 2022-12-05**

There are currently two options for shipping native libraries as Flutter plugins:

1. Ship sources a flutter plugins with flutter create --template=plugin_ffi --platform=..., or
2. Ship a script that downloads the native library during flutter build [see realm_flutter](https://github.com/realm/realm-dart/blob/81c8b913b5c9d639fd5d4f09b069eb4fc87de706/flutter/realm_flutter/android/build.gradle#L85), or

There is currently not a good way to make Dart (non-Flutter-plugins) with native libararies work for Flutter _and_ Dart. This work is being tracked in:

* https://github.com/dart-lang/sdk/issues/50565

For more documentation:

* https://dart.dev/guides/libraries/c-interop
* https://docs.flutter.dev/development/platform-integration/android/c-interop
* https://docs.flutter.dev/development/platform-integration/ios/c-interop

**old post**

We want to enable Flutter apps and plugins to bind to native (C/C++) libraries directly via the Dart FFI. This requires support from Flutter tools. There are four categories of use cases we'd like to enable:

0. A Flutter plugin wants to interact with a native library which should be available on the target device (e.g. Android Audio).

1. A Flutter app wants to ship business logic written in C/C++ (e.g. some add-to-app scenarios).

2. A Flutter plugin wants to ship a prebuilt native library (.so on Android or .framework on iOS) within its package (e.g. closed-source or vendored plugins like Realm).

3. A Flutter plugin wants to ship source code within its package which should be compiled by the client developer.

We should also keep in mind support for desktop, server and non-Flutter use cases (which also broadly fall into the above categories).
Repository: rust
Issue: On type mismatch involving fn call, point at fn definition
Labels: C-enhancement,A-diagnostics,T-compiler,A-suggestion-diagnostics

[Given](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=27a5f6a2fb95cd907f8e5511736c82bf)

```
fn foo() -> u32 {
    1
}

fn bar() {
    let x: usize = foo();
}
```

we now present:
```
error[E0308]: mismatched types
 --> src/lib.rs:6:20
  |
6 |     let x: usize = foo();
  |                    ^^^^^ expected usize, found u32
help: you can convert an `u32` to `usize` and panic if the converted value wouldn't fit
  |
6 |     let x: usize = foo().try_into().unwrap();
  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^
```

We should ideally also point at `foo` and maybe tell the user to consider changing it.
Repository: vue-element-admin
Issue: 关于引入冲突或者说引入死循环问题
Labels: not vue-element-admin bug

## Question（提问）

我在实际开发中，经常遇到引入冲突问题，经常体验在

1. axios请求方法封装的文件中引入store
2. store中调用api方法

但我观vue-element-admin这个项目，好像也是这样写的，但并没有出现报错问题，这是为什么？

以下是我的代码片段
```
//api/base/index.js
import Axios from 'axios';
import Config from './config';
import { Storage } from '@util';
import { requestSuccess, requestFail, responseSuccess, responseFail } from './interceptors';
import Store from '@store'; //去掉它可以正常运行


//store/model/user.js
import { Storage } from '@util';
import API_USER from '@api/user';
import API_SYS from '@api/sys';
```
//一般它会抛一个Uncaught TypeError的报错，但我保证并没有这样的问题:)
```
Uncaught TypeError: Super expression must either be null or a function, not undefined
```
Repository: three.js
Issue: VRCamera?
Labels: Suggestion

##### Description of the problem

I'm sure I'm not aware of all the issues and tradeoffs but I wonder if the way WebVR works might do from some changes?

It's really strange that I have a `PerspectiveCamera` that is ignored and that enabling VR basically ignores my camera which has implications for rendering to render targets and other uses of `renderer.render(scene, camera)`

It made me wonder if maybe there should be a `VRCamera` and you should have to manually pass it in if you want VR.  That way you can easily choose when to render with some other camera for render targets for example. 

I don't know what problems that would bring. Just throwing it out there as a thought to see if it makes any sense.

##### Three.js version

- [X] Dev

##### Browser

- [x] All of them

##### OS

- [x] All of them
Repository: rust
Issue: failure to normalize associated types in supertraits
Labels: A-trait-system,A-associated-items,T-compiler

This example does not compile, but I believe it ought to ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=93dea30abcab62e4116dbec77ff37b81)):

```rust
use std::vec::Vec;

trait Foo<T> { }

trait Bar<T: Iterator>: Foo<T::Item> { }

fn a(x: &(impl Foo<u32> + ?Sized)) {
    
}

fn b(y: &dyn Bar<std::vec::IntoIter<u32>>) {
    a(y)
}

fn main() {
    
}
```

we get the error:

```
error[E0277]: the trait bound `dyn Bar<std::vec::IntoIter<u32>>: Foo<u32>` is not satisfied
  --> src/main.rs:12:5
   |
12 |     a(y)
   |     ^ the trait `Foo<u32>` is not implemented for `dyn Bar<std::vec::IntoIter<u32>>`
   |
note: required by `a`
  --> src/main.rs:7:1
   |
7  | fn a(x: &(impl Foo<u32> + ?Sized)) {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

Note that changing `b` like so compiles ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=7a50b8a49862872b76c18ddd41e89587)):

```rust
fn b(y: &(impl Bar<std::vec::IntoIter<u32>> + ?Sized)) { }
```
Repository: go
Issue: net/http: support HTTP/3
Labels: NeedsInvestigation,FeatureRequest

I searched for an issue to track progress of implementing HTTP/3 in the standard library but couldn't find one, so I'm opening this new issue to track this (presumably inevitable) effort.

HTTP/3 is still an IETF draft, so there's not too much point starting work on this yet. The relevant spec is (currently) available here: https://quicwg.org/base-drafts/draft-ietf-quic-http.html.

Some questions we may want to answer before any work starts:

1. Should work on this start in one of the x repos, like HTTP/2 did?
2. What if any existing libraries can be used as a base for the new HTTP/3 work?

Of note is an existing attempt at implementing QUIC and HTTP/3 in pure go: https://github.com/lucas-clemente/quic-go.
Repository: terminal
Issue: Doc issue: Spectre mitigated libraries needed?
Labels: Issue-Docs,Area-Build,Product-Meta

Yesterday, I tried installing Visual Studio 2019 (16.1.0) on a new computer and cloning and building the terminal repo. When installing VS, I made sure to select the "desktop dev with C++" and "universal Windows dev" profiles, and the v141 compiler and universal Windows tools.

However, building from the command line with `bz` reliably failed. While I don't have the exact text on hand, I remember MSBuild showed the following:

- Warnings in an MSBuild-built-in settings file (in `C:\Program Files` or similar, not in the terminal repo) that Spectre-mitigated libraries were chosen but not installed.
- Errors that the linker could not find the import .lib for the C runtime or C++ library DLLs (`msvcrt.lib` , `msvcprt.lib` , ...). After observing with [Process Monitor](https://docs.microsoft.com/sysinternals/downloads/procmon), I saw that link.exe did seem to be looking only in "Spectre" folders for these files.

Is it expected that Spectre-mitigated C runtimes are required? Could it be documented if so? And if not, could it be corrected?
Repository: pytorch
Issue: Import warning when using the wrong version of CUDA
Labels: module: cuda,triaged

## 🚀 Feature

Emit some warning text on import when trying to use a version of PyTorch compiled with a different version of CUDA than is available.

## Motivation

I recently experienced basically this problem:   https://github.com/pytorch/pytorch/issues/17543 . I was using CUDA 10.0 (based on a docker image `nvidia/cuda:10.0-base-ubuntu16.04`) and installed pytorch with `pip install torch`, but that installs a version of PyTorch that only works reliably with CUDA 9.

The actual instructions for installing a PyTorch that works with CUDA 10 (as offered at https://pytorch.org/get-started/locally/) are to install from wheel files, but this is probably not the first thing many people will try.   On the other hand, it doesn't seem unreasonable for people to be installing the latest version of CUDA.  So this sort of mismatch seems like it would happen a lot.

The error printed out currently (`RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED`) is not very helpful.  Also it's very confusing that the error only happens for certain code paths (RNNs, it seems), so one might have been using torch successfully for months before running into this problem.  (By which point, one might too quickly rule out a bad install, since it had been working so far, leading to more wasted time.)

## Pitch

When importing torch, check the version of CUDA expected against the version of CUDA installed, and print out a warning if they don't have the same, say, major version.

## Alternatives

I don't know enough about python packaging to understand why `pip` can't do this automatically and just make sure we get the right version of PyTorch for whatever version of CUDA is already installed.  Maybe this is a bad idea for some reason.
Repository: TypeScript
Issue: Go To Definition on call expression of union signature only shows one constituent signature
Labels: Bug,Domain: Symbol Navigation

**TypeScript Version:**  6a559e37ee0d660fcc94f086a34370e79e94b17a

**Search Terms:** go to definition call expression union signature

**Code**

```ts
interface A {
    (): string
}
interface B {
    (): number
}

declare const fn: A | B;
fn(); // Go To Definition here
```

**Expected behavior:**
Should show three definitions: `declare const fn: A | B`, the call signature from `A`, and the call signature from `B`

**Actual behavior:**
Shows only `declare const fn: A | B` and the call signature from `A`

![image](https://user-images.githubusercontent.com/3277153/58271194-58a38080-7d40-11e9-8f79-71ed530f7abb.png)


[**Playground Link**](https://www.typescriptlang.org/play/#src=interface%20A%20%7B%0D%0A%20%20%20%20()%3A%20string%0D%0A%7D%0D%0Ainterface%20B%20%7B%0D%0A%20%20%20%20()%3A%20number%0D%0A%7D%0D%0A%0D%0Adeclare%20const%20fn%3A%20A%20%7C%20B%3B%0D%0Afn()%3B%20%2F%2F%20⌘%20click%20or%20⌘%20F12%20or%20right-click%20-%3E%20Go%20To%20Definition%0D%0A)
Repository: rust
Issue: --print=native-static-libs should behave as the other --print commands and not create output
Labels: A-frontend,A-driver,T-compiler,C-bug

It creates `.a` instead.

And if one wants to get the link line in shell you have this mouthful expression:

``` sh
NATIVE_LIBS=`rustc --crate-type staticlib \
  --print native-static-libs 2>&1 - < /dev/null | \
  grep native-static-libs | cut -d ':' -f 3`
```
Repository: youtube-dl
Issue: learningcrux
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 2019.05.20. 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 **2019.05.20**
- [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

https://www.learningcrux.com/course/2019-machine-learning-classification-bootcamp-in-python


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Microsoft Windows [Version 10.0.17763.168]
(c) 2018 Microsoft Corporation. All rights reserved.



c:\crux>youtube-dl
[generic] 2019-machine-learning-classification-bootcamp-in-python: Requesting header
[generic] 2019-machine-learning-classification-bootcamp-in-python: Downloading webpage
[generic] 2019-machine-learning-classification-bootcamp-in-python: Extracting information
ERROR: Unsupported URL: https://www.learningcrux.com/course/2019-machine-learning-classification-bootcamp-in-python

c:\crux>