sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Add alternative toggle for AoT in right click menu 
Labels: Idea-Enhancement,Product-Always On Top

### Description of the new feature / enhancement

There are some programs that "controls" the hotkeys, like Parallels Space. For there programs we can't set Stay On Top with the hotkey. One alternative way that i thought of doing this would be just like the "Power Toys" of Windows 98 that have an option of define one popup menu for maximize button that used to have one checkable menu item with "Stay on top".

### Scenario when this would be used?

Trying to Stay On Top the app Parallels Space or Anydesk (when connected to some pc)

### Supporting information

It would be something like this
![image429 1](https://user-images.githubusercontent.com/59310948/153599834-67aab15c-eb2a-417e-92f8-77adb1040be7.png)
Repository: godot
Issue: `set_shader_param()` doesn't warn about non-existent parameters
Labels: enhancement,topic:core,topic:rendering

### Godot version

c576075

### System information

W10

### Issue description

When you call `set_shader_param()` on a ShaderMaterial and make a mistake, you don't get any error nor warning. It just does nothing. I think it should print something, because no-op is confusing.

Also if this was changed, `has_shader_param()` could be useful to add probably.

### Steps to reproduce

1. Create any node with material property
2. Add `ShaderMaterial`
3. Create a script and use `set_shader_param()` on the material

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: Feature request: Implement `gelsd` backend for `linalg.lstsq` via `linalg.svd`
Labels: feature,triaged,module: linear algebra

As per title.

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @IvanYashchuk @xwang233 @Lezcano
Repository: rust
Issue: Stack overflow in rustc when compiling generated function (7k+ lines) with debuginfo
Labels: I-crash,A-debuginfo,C-bug

I'm working on a project that heavily relies on generated code (e.g. derivatives obtained using symbolic differentiation) which I manually paste into my project. When I try to compile my crate with debuginfo (i.e. `cargo build` or `cargo build --release` with `debug=true`) I get a stack overflow error from `rustc`. 

I tried to reduce my code to a "minimal" example and uploaded a crate to reproduce this here: https://github.com/w1th0utnam3/stackoverflow_symbolic_code. The repository contains almost only the relevant function which can be found here: https://github.com/w1th0utnam3/stackoverflow_symbolic_code/blob/15d0da7cc578f85b5feac3f0a44c4be469fe282f/src/sympy_expressions.rs#L36.

The function has about 7000 lines of mostly basic arithmetic expressions. I removed any return values and added `#![allow(unused_variables)]` as this didn't affect the outcome. I replaced some Vector/Matrix types with a dummy type to remove dependencies.

By removing lines from the function e.g. using bisection you can find a point where the stack overflow disappears. The exact point seems to be depending on the environment so I don't provide specific values here.

Compiling with optimizations but without debuginfo (i.e. the standard `cargo build --release`) works fine.

**Exemplary output on Windows:**
```
PS C:\Programming\sympy_expr> $env:RUST_BACKTRACE=1; cargo build
   Compiling sympy-expr v0.0.1 (C:\Programming\sympy_expr)

thread 'optimize module 4wjpmobh093em8cl' has overflowed its stack
error: could not compile `sympy-expr`

Caused by:
  process didn't exit successfully: `rustc --crate-name sympy_expr --edition=2021 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=5bf94dff4ccd60be -C extra-filename=-5bf94dff4ccd60be --out-dir C:\Programming\sympy_expr\target\debug\deps -C incremental=C:\Programming\sympy_expr\target\debug\incremental -L dependency=C:\Programming\sympy_expr\target\debug\deps` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
```

A similar error appears on Linux. On Windows `rustfmt` crashes as well:

```
cargo fmt

thread 'main' has overflowed its stack
```
I don't know how `rustfmt` works internally, so this might require separate investigation from the `rustc` crash.

### Meta
Stack overflow happens on stable:
```
rustc 1.58.1 (db9d1b20b 2022-01-20)
binary: rustc
commit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b
commit-date: 2022-01-20
host: x86_64-pc-windows-msvc
release: 1.58.1
LLVM version: 13.0.0
```
but also on nightly:
```
rustc 1.60.0-nightly (e646f3d2a 2022-02-10)
binary: rustc
commit-hash: e646f3d2a9541952310778288854943678738ea9
commit-date: 2022-02-10
host: x86_64-pc-windows-msvc
release: 1.60.0-nightly
LLVM version: 13.0.0
```
Repository: three.js
Issue: Add a way to trigger shadow map updates separately from rendering the scene
Labels: Enhancement

**Is your feature request related to a problem? Please describe.**

It's sometimes desirable to setup the renderer state slightly differently for shadow map rendering vs. normal rendering - for example to use different clipping planes for shadow map computations if presenting a cutout view. Currently this is not very convenient, and one might have to resort to hacks like rendering an extra frame to trigger a shadow map update before rendering the actual frame. 

**Describe the solution you'd like**

It would be nice if a shadow map update could be triggered separately from `WebGLRenderer.render()` - for example with a new function `WebGLRenderer.updateShadowMaps(scene, camera)`, or `WebGLRenderer.updateShadowMap(scene, camera, light)` which would update the shadow map only for a single light. Setting the already existing `shadowMap.autoUpdate` to false could then be used to disable updating the shadow map during regular rendering.

**Describe alternatives you've considered**

Some kind of a callback before/after shadow map updates would be another alternative. This could potentially offer more flexibility if the callbacks were called separately for each light. However, this doesn't seem to be as easy to fit into how three.js currently updates shadows without restructuring the code to repeat more operations between updating different lights.

**Additional context**

Implementing some of the alternatives might complicate adding alternative shadow mapping techniques, at least cascaded shadow maps. This is part of the reason why I've included the regular camera as a parameter to the suggested `updateShadowMaps()` since it may affect shadow map generation. In general exposing too many internals can cause problems, so care should be taken to keep the API abstract enough.
Repository: PowerToys
Issue: Powertoys run / Automatically treat URL as such with URL handler
Labels: Idea-Enhancement,Product-PowerToys Run

### Description of the new feature / enhancement

In powertoy runs, URL handler could have an option : "automatically detect URL"

Then an automatically detected URL could be treated as such without using the direct activation command.

Automatic detection could simply use any query starting with "http" "www" \ \ (without the space)

I used to use wox with that feature and it was a proven user experience for me.

### Scenario when this would be used?

everyday powertoys run use

### Supporting information

_No response_
Repository: pytorch
Issue: Better support for pypip packages implementing torch cuda extentions
Labels: module: binaries,feature,triaged,needs design,release notes: releng

### 🚀 The feature, motivation and pitch

Recently I have been trying to publish a pypip package which implements a cuda based algorithm for use in pytorch. The ideal result would be that the user simply runs `pip install <package-name>`. However, as of torch 1.10, the code needs to be compiled by the same cuda version that was used to compile the users torch install. This makes it harder for developers to publish packages as they need to provide wheels for each cuda version they want to support.  It also complicates the install process `pip install <package-name>-<torch-cuda-version>`. 

One possible solution would be to include the correct nvcc compiler (and other required components) with the cuda binaries already included with the torch distibutions. A change to CUDAExtention could then be made to use the version of nvcc included in the pytorch install.

### Alternatives

Exisitng extentions, [pytorch-geometric](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html) for example, publish binary distributions for each cuda version. This is not ideal as it requires extra work to deploy packages and makes it more complex to install.

I found [nvidias pyindex](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#pip-wheels-installation-linux) where they publish various cuda runtimes for installation via pip. This includes `nvidia-cuda-nvcc-<cuda-version>` however it does not include the nvcc executable so solutions where this is installed as a build requirement wont work. (As a side note, would these runtimes be a better solution to pytorches current manual inclusion of cuda runtimes in the pip package?)


cc @ezyang @seemethere @malfet
Repository: node
Issue: httpServer.requestTimeout aborts downloads after 100 seconds
Labels: http

### Version

v16.14.0

### Platform

Linux ___ 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

### Subsystem

_No response_

### What steps will reproduce the bug?

If I comment out the requestTimeout (the second line), then I can download the large file that takes minutes (I simulate with Chromium's network throttle to 'Slow 3G').

If I have the requestTimeout enabled, then node.js aborts the download after (usually) 100 seconds (typically after 4 MB on 'Slow 3G').

```
const httpServer = require("http").createServer().listen(8080)
httpServer.requestTimeout = 16000
httpServer.on('request',function(client_req,client_res) {
	var file = require('fs').createReadStream('large.zip')
	file.on('open',function(){
		client_res.writeHead(200,{"Content-Type":"application/zip"})
		file.pipe(client_res)
	})
})
```

Also tested on a different browser with real slow connection.

### How often does it reproduce? Is there a required condition?

Always without exception.

### What is the expected behavior?

If I set httpServer.requestTimeout, it does not abort the download at all.

### What do you see instead?

Download is aborted after (usually) 100 seconds.

### Additional information

_No response_
Repository: pytorch
Issue: Add `pct_end` parameter to `OneCycleLR`
Labels: module: optimizer,triaged,enhancement,module: LrScheduler

### 🚀 The feature, motivation and pitch

Right now `OneCycleLR` with three phases has its first two phases lengths according to `pct_start`, and the length of the last phase is given by the rest. Adding a `pct_end` parameter that controls the length of the last phase can give more flexibility by allowing arbitrary lengths for each of the three phases. Would be happy to contribute if this is a desired feature!

cc @vincentqb @jbschlosser @albanD
Repository: kubernetes
Issue: Deprecate IPs with Leading Zeros ( CVE-2021-29923 )
Labels: priority/important-soon,sig/network,lifecycle/frozen

To summarize the situation:

1. Since golang 1.17 IPv4 addresses with leading zeros are considered invalid. #100895
2. Kubernetes decided to keep compatibility with stored data so it forked previous parsers to allow IPs with leading zeros. #104368
3. The rest of the Kubernetes ecosystem seems to prefer to use default parsers and consider that data invalid https://github.com/kubernetes/kubernetes/pull/107552#issuecomment-1033137581

We are in a situation where users can have IPs with leading zeros in their API objects, but may not be able to use it because the CNI, DNS, Ingress, ... implementation doesn't consider it valid

The proposal is (quoting thockin) 

> How about something like:

> 1) Any new builtin APIs should use ParseIP/ParseCIDR (not sloppy) and we let validation fail.
> 2) For the places we know of (service, ingress, netpol, pod, node, ...) we set a condition like "AmbiguousAddressSyntax", log them, maybe a metric.
> 3) Allow updates to otherwise immutable fields as long as the IP adress is changing from a malformed value to a correct value.
> 4) Ship that in 1.24.
> 5) Warn that in 1.25 or 1.26 such IPs will be tolerated if they exist, but rejected for new usage.
> 6) Implement (5)
> 7) Warn that in N+1 or N+2 we will fix such IPs upon read, effectively purging them from k8s
> 8) Implement (7) and ship
> 9) Maybe put these updates in a repair loop, ship that, then eventually remove sloppy parsing entirely

_Originally posted by @thockin in https://github.com/kubernetes/kubernetes/issues/107552#issuecomment-1035630181_
Repository: create-react-app
Issue: UnhandledSchemeError: Reading from "node:zlib" is not handled by plugins (Unhandled scheme)
Labels: needs triage

I get the above error when i run "npm start".I have tried all possible solution i could lay my hands on online and by myself but it isnt just working out.Im new to react and this is also my time of posting a question here,please ask for more information in regards the problem if the one i have provided isnt clear enough
Repository: storybook
Issue: Optional numeric props on Angular component end up with 'NaN' unless explicitly passed.
Labels: question / support,angular

When creating a story for our Angular components we have a number of optional numeric properties:

```
@Component(...)
export class MyComponent {
   @Input() name: string;
   @Input() min?: number;
   @Input() max?: number;
}
```

If left the optional parameters are left undefined in the args we're seeing console errors and warnings: `The specificed value "NaN" cannot be parsed, or is out of range.` and the string `"NaN"` is being passed into the Angular component:

Story:
```
export const Default: { args: MyComponent } = {
    args: {
       name: 'Foo',
    }
};
```

dev tool element:
```
<ng-input ng-reflect-min="NaN" ng-reflect-max="NaN"></ng-input>
```

These errors go away when we explicitly pass `undefined` as the min/max properties in the story:
```
export const Default: { args: MyComponent } = {
      args: {
            name: 'Foo',
            min: undefined,
            max: undefined,
      }
}
```

The obvious workaround is to pass min/max values as part of the default arguments, but it seems hacky to have to _explicitly_ pass `undefined` to a prop this is by definition _undefined_.
Repository: yt-dlp
Issue: iQIYI extractor can't find any video
Labels: geo-blocked,site-bug

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2022.02.04**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Mainland China

### Description

iQIYI extractor cannot find any video.

I've tried several videos on the site, including the ones included as `_TESTS` in the extractor.

Debugging the extractor, I have found that it fails to extract both the `tvid` and `video_id` values from the webpage.

Changing the regex for these to: `r'-tvid\s*=\s*[\'"](\d+)'` and `'\"vid\"\s*:\s*[\"]([a-f\d]+)\"'` respectively allows the extractor to get the correct IDs.  From which, the extractor can download the json and pull the m3u8, but the download of the individual segments fail with a timeout.

### Verbose log

```shell
.\yt-dlp.exe -Uv http://www.iqiyi.com/v_19rrhnnclk.html
[debug] Command-line config: ['-Uv', 'http://www.iqiyi.com/v_19rrhnnclk.html']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] exe versions: none
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {'http': 'http://127.0.0.1:41091', 'https': 'https://127.0.0.1:41091', 'ftp': 'ftp://127.0.0.1:41091'}
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)
[debug] [iqiyi] Extracting URL: http://www.iqiyi.com/v_19rrhnnclk.html
[iqiyi] temp_id: download video page
ERROR: [iqiyi] Can't find any video; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
  File "yt_dlp\extractor\common.py", line 612, in extract
  File "yt_dlp\extractor\iqiyi.py", line 366, in _real_extract
```
Repository: flutter
Issue: Programmatic control of text undo/redo
Labels: a: text input,c: new feature,framework,P3,team-framework,triaged-framework

Recently, undo/redo (https://github.com/flutter/flutter/pull/96968) was added to Flutter's text editing.  It is contained within EditableText privately, but some developers may want to be able to control its behavior programmatically.

Currently, the only way its behavior can be affected by the developer is by using Shortcuts and Intents to affect its use of UndoTextIntent and RedoTextIntent.

CC @YeungKC
Repository: terminal
Issue: Update UI to support RTL
Labels: Area-UserInterface,Product-Terminal,Issue-Task

Our UI (particularly the settings UI) should support RTL. Check out this doc for how to do it: https://docs.microsoft.com/en-us/windows/apps/design/globalizing/adjust-layout-and-fonts--and-support-rtl#handling-right-to-left-rtl-languages

qps-ploca is a good tool for testing RTL.

Some notable UI that could use this includes:
- settings UI
- tabs?
- dropdown
- command palette
- about menu
- other popups
Repository: pytorch
Issue: Pattern Matching with Tensors
Labels: feature,triaged,function request

### 🚀 The feature, motivation and pitch


Taking a nod from sequence alignment algorithms in bioinformatics, given two tensors, a _template_ and _pattern_, it would be a nice feature in PyTorch to be able to find the indices of the pattern in the template. 

The pattern matching algorithm can be exact (needs to match the identical sequence in the pattern) or approximate (given the maximum number of mismatches). I provide a few examples below.

Given a template tensor:

`template = torch.tensor([101.,   124.,   979.,   430.,  1073.,   146.,   111.,   650.,   983., 430., 25484.,   983.,  2731.,   111.])`

Given the following pattern tensor:

`pattern1= torch.tensor([ 430.,  1073.,   146.,   111.,   650.])`

**Find the indices of the exact pattern in the template:**

`start_indices = torch.match(pattern1, template, mismatch_cnt=0, axis=0)` 
`start_indices = torch.tensor([3])`

**Find the indices of the approximate pattern in the template:**

Given the following pattern tensor with 2 mismatches (indices 2 and 4 do not match the sequence in the template):

`pattern2 = torch.tensor([ 111.,   650.,   101.,  430.,  430., 983.])`


`start_indices = torch.match(pattern2,  template, max_mismatch=2, axis=0)` 
`start_indices = torch.tensor([6])`

The axis dimension is provided for searching tensors in other dimensions.













### Alternatives


I've attached a file with the python code for the approximate Boyer Moore pattern matching algorithm using two lists as inputs. 

[approximate_match_lists.txt](https://github.com/pytorch/pytorch/files/8051323/approximate_match_lists.txt)



### Additional context

_No response_
Repository: go
Issue: x/tools/gopls: use `static` modifier for unexported function/method semantic tokens
Labels: FeatureRequest,gopls,Tools

Suggesting to use the `static` modifier for `function` / `method` semantic tokens. This will allow finer grained color customization:

![static](https://user-images.githubusercontent.com/16069774/153665639-20c58f11-742f-4455-8d7b-70e0d83ab70c.jpeg)

This customization exists in proprietary IDE's like JetBrains GoLand, and can later be expanded to distinguish unexported types/variables/consts/etc from exported ones.
Repository: three.js
Issue: Add support for TEXCOORD_n and COLOR_n for morph targets
Labels: Enhancement

In [gLTF 2.0.1 Specification](https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html) it says that "_Client implementations MAY optionally support morphed TEXCOORD_n and/or COLOR_n attributes_".
I am aware that is optional, but it would be nice for three.js to support them.
Repository: PowerToys
Issue: Allow adding comments to remapped keys / shortcuts
Labels: Idea-Enhancement,Product-Keyboard Shortcut Manager

### Description of the new feature / enhancement

When defining a remap, should be able to provide a quick comment next to it.

### Scenario when this would be used?

It would help as a reminder (especially with a ton of remaps defined) and for easy reference to quickly find and tweak a remap.

### Supporting information

_No response_
Repository: angular
Issue: :enter and :leaving animations of children with triggers are asymmetric/confusing/unclear
Labels: area: animations,P4

### Which @angular/* package(s) are the source of the bug?

animations

### Is this a regression?

No

### Description

When an element is removed from the DOM, the following `_signalRemovalForInnerTriggers` function gets executed:
https://github.com/angular/angular/blob/4c778cdb28de128c6ddecd2fd6cb6257d675500b/packages/animations/browser/src/render/transition_animation_engine.ts#L315

This makes the element's children containing animation triggers to be considered/animatable as leaving elements.

This is not the case for entering (there is not `_signalInsertionForInnerTriggers` or something like that), so basically entering and leaving children with triggers are handled differently (animated for leave but not for enter)

As you can see here:
![Peek 2022-02-11 21-28](https://user-images.githubusercontent.com/61631103/153673613-c2613b06-6857-4eb7-918f-7ef9d66aad00.gif)

I think it makes things confusing (they are already confusing as you can see from this issue: https://github.com/angular/angular/issues/44253) and I don't think having such asymmetric behavior makes much sense

So I would suggest to either add some sort of `_signalInsertionForInnerTriggers` function to do the same sort of thing to entering elements or to remove the `_signalRemovalForInnerTriggers` function

(Personally I'd prefer the removal of the `_signalRemovalForInnerTriggers` function since that makes more sense in the logic of elements considered as entering/leaving based on their own logic, as presented in the [query api docs](https://angular.io/api/animations/query#entering-and-leaving-elements))

### Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-ivy-axtaen?devtoolsheight=33&file=src/app/app.component.ts

### Extra

- I didn't think it was really useful to classify this as a regression, but it technically is one, introduced by the PR that implemented the `_signalRemovalForInnerTriggers` function: https://github.com/angular/angular/pull/19693

- this isn't completely related to `query` but I am not sure if there are ways without the use of `query` to encounter such behavior :thinking: