sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: FanzyZones Improvement
Labels: Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

# FancyZones

- set the size and position of zones when creating layouts
- change the hotkey for switching layouts
- input/export layouts (maybe in JSON format)

# PowerToys Run

- the ability to change the scale/size of the search window

### Scenario when this would be used?

# FancyZones
This is generally useful for creating layouts and would grant the ability to create layouts programmatically.

### Supporting information

_No response_
Repository: go
Issue: cmd/go: make cache keys for libraries in GOROOT insensitive to `-trimpath`
Labels: help wanted,NeedsInvestigation,GoCommand

In [CL 380915](https://go.dev/cl/380915) we observed that libraries in GOROOT contain the literal string `$GOROOT` instead of their absolute paths, even when `-trimpath` is not set.

As a result, we should (theoretically) compile the same bytes for those libraries regardless of whether `-trimpath` is set. We can therefore omit `-trimpath` from the cache key, allowing object files already in the cache to be reused in more cases.

We should add a script test that verifies that the library object files really don't depend on the `-trimpath` flag, make the flags passed to the compiler ignore `cfg.BuildTrimpath` for those libraries, and then update `cmd/go/internal/work` to omit it from the cache key.

(Note that we *cannot* omit it from the cache key for executables, since those are stamped with the actual `GOROOT` or `GOROOT_FINAL` during linking.)
Repository: youtube-dl
Issue: Skillshare
Labels: site-support-request,patch-available

## 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.
-->

- Playlist: https://www.skillshare.com/en/classes/Understanding-and-Painting-the-Head/62353942/projects


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

I would like to see a new extractor for [Skillshare](https://www.skillshare.com/) so I can make backups of my classes (ex: videos)
Repository: yt-dlp
Issue: Skillshare
Labels: site-request,account-needed,can-share-account

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running yt-dlp version **2022.11.11** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that none of provided URLs [violate any copyrights](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#is-the-website-primarily-used-for-piracy) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge
- [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 am willing to share it if required

### Region

_No response_

### Example URLs

Playlist: https://www.skillshare.com/en/classes/Understanding-and-Painting-the-Head/62353942/projects

### Provide a description that is worded well enough to be understood

I would like to see a new extractor for [Skillshare](https://www.skillshare.com/) so I can make backups of my classes

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
None
```
Repository: storybook
Issue: [Feature Request]: Addon-control color picker preset limit
Labels: feature request,good first issue,help wanted,addon: controls

### Is your feature request related to a problem? Please describe

/cc @ghengeveld and @shilman who initially worked on this code and decided on the 27 preset color limit.

My design system has more than 27 colors available to choose from. However, the default color picker control option does not allow any more colors past 27 due to this line of code:

https://github.com/storybookjs/storybook/blob/5642c93edbc7472a608263d5518e30012731bf6c/code/ui/blocks/src/controls/Color.tsx#L287



### Describe the solution you'd like

Provide a mechanism to allow the color picker preset limit to be changed or disabled entirely. If possible, I would be willing to open a PR to enhance the code with proper guidance.



### Describe alternatives you've considered

Not sure on alternatives since the color picker not configurable. I would create a custom add-on but that seems heavy handed when all I need is to change the limit.

### Are you able to assist to bring the feature to reality?

yes, I can

### Additional context

_No response_
Repository: deno
Issue: Feature request: repl: add type inspection command
Labels: repl,suggestion

Hello, I have an idea.
I think we need a command to inspect the type of a symbol, something like `:type` command in [`ghci`](https://downloads.haskell.org/ghc/latest/docs/users_guide/ghci.html#ghci-cmd-:type)
it is a command that only available in repl
for example
```
> :type console.log
console.log : (...data: any[]) => void
> import * as react from `npm:react'
undefined
> :type react.useEffect
react.useEffect : (effect: EffectCallback, deps?: DependencyList) => void
```
of course, this feature is only available to any symbol that has a typescript declaration
Repository: TypeScript
Issue: JSDoc after a decorator is not picked up
Labels: Suggestion,Awaiting More Feedback,Experience Enhancement

Something @MariaSolOs noticed while we were playing with decorators.

```ts
declare var someDecorator: any;
class C {
    @someDecorator
    /** some docs */
    foo() {
        // ...
    }
}
```

Hover over `foo`

**Expected**: `some docs` are included in the quick info request
**Actual**: the JSDoc is not attached

Something we want to get more feedback on, since supporting this would be more work/complexity.
Repository: TypeScript
Issue: Consider making "Add missing function declaration" declare a more permissive function on decorators 
Labels: Suggestion,In Discussion,Domain: Quick Fixes

Related to #50820.

```ts
type InputType = { inputValue: string };
type OutputType<T> = { outputValue: T };

export class SomeClass {
    @someDecorator/**/
    foo(obj: InputType): OutputType<string> {
        return { outputValue: obj.inputValue };
    }
}
```

If you trigger the "add missing function" quick fix on `someDecorator`, it generates something like this:

```ts
function someDecorator(target: (obj: InputType) => OutputType<string>, context: ClassMethodDecoratorContext<SomeClass, (obj: InputType) => OutputType<string>> & { name: "foo"; private: false; static: false; }): void | ((obj: InputType) => OutputType<string>) {
    throw new Error("Function not implemented.");
}
```

It's actually really cool to see this because you can learn roughly how a decorator should be declared by running this quick fix.

But notice that `someDecorator` is likely overly-precise in its type.

1. It includes an intersection with an object to relay the precise information about `name`, `private`, and `static`. An advanced decorator might want this information, but most might not.
2. It is pretty specific about the `target` type, including the parameters it takes, the return type, and the context object. It would be ideal if these were made generic instead.

It would be nice if people who want to learn to write decorators could be told to work backwards from the usage.
Repository: material-ui
Issue: [RFC] mui v5 has been put into production, but there are too few old browser versions supported. If I want to have a browser version supported by v4, can I only fall back to v4? Is there any simple solution?
Labels: support: question

### What's the problem? 🤔

mui v5 has been put into production, but there are too few old browser versions supported. If I want to have a browser version supported by v4, can I only fall back to v4? Is there any simple solution?

### What are the requirements? ❓

_No response_

### What are our options? 💡

_No response_

### Proposed solution 🟢

_No response_

### Resources and benchmarks 🔗

_No response_
Repository: vscode
Issue: Order of "Recently opened" and "File (and symbol) results" should be reversed by default and/or configurable
Labels: feature-request,quick-open

<!-- ⚠️⚠️ 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.74.1
- OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

1. <kbd>CTRL</kbd>+<kbd>P</kbd> or use the Search box at the top of the window if enabled
2. Search for a very common filename that you would find in lots of different repositories/workspaces but typically only once in any given one, such as `package.json`

Expected results:

The files from the current workspace are autocompleted first, for example <kbd> CTRL</kbd>+<kbd>P</kbd> `package.json` <kbd>ENTER</kbd> should open the package.json from the root of the current project.

Actual results:

The most recently opened files are autocompleted first even if they are from a completely different project, for example <kbd>CTRL</kbd>+<kbd>P</kbd> `package.json` <kbd>ENTER</kbd> opens a package.json from some other project I opened yesterday rather than the project I am working on right now. 

You can turn off `search.quickOpen.includeHistory` but it's a useful feature, I often want to copy and paste from or look and what I did in another project.  And it's probably worth making an option since some people do work in huge monorepos where it useful to surface the most recently used files at the top, but then again those people could just set `search.quickOpen.history.filterSortOrder` to `recency` too.
Repository: stable-diffusion-webui
Issue: [Feature Request]: Introduce a better ratio input for merging
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Introduce a resizable input similar to the hdd partitioning utilities with number of areas adjusting to the number of models
![](https://i.imgur.com/DxHQiQN.png)
![image](https://user-images.githubusercontent.com/581458/208037224-2e0b73b3-2269-4644-8538-1858000d093c.png)
![image](https://user-images.githubusercontent.com/581458/208037283-952c264c-737c-4f89-8e86-f893ac2e79c6.png)
![](https://www.resize-c.com/img/howto/shrink500.gif)


### Proposed workflow

1. Go to the Checkpoint merger tab
2. The multiplier field should use a new input
3. User can resize the areas to visually adjust the ratio, each area has the model name and the value of it's ratio


### Additional information

[Article on making one](https://css-tricks.com/lets-make-a-multi-thumb-slider-that-calculates-the-width-between-thumbs/)
Repository: storybook
Issue: [Feature Request]: support exportmap in core-common presets resolution
Labels: feature request,core

### Is your feature request related to a problem? Please describe

The problem is that our preset loading mechanism, doesn't respect exportmaps. It only looks at the main field.

### Describe the solution you'd like

I found this library: https://github.com/lukeed/resolve.exports that might be a solution. Perhaps we can combine the resolve-from library and this to get the desired effect.

### Describe alternatives you've considered

There are likely other libraries, and it's also possible we can get the node-resolver to do this natively, but I honestly don't want to dabble with node version for a while, right now.

We're not ready to to switch to full modern-mode on the node side of things.

### Are you able to assist to bring the feature to reality?

yes, I can

### Additional context

_No response_
Repository: godot
Issue: `TileMap.update_bitmask_region` shows endless error spam
Labels: bug,topic:2d

### Godot version

3.6.beta.custom_build. d79699041

### System information

Ubuntu 22.10 - AMD RX 470, Gnome shell 43 X11

### Issue description

```
	var temp_variable2013 = TileMap.new()
	temp_variable2013.update_bitmask_region(Vector2(-NAN, 0), Vector2(0.799005, 0.601325))
```
shows endless spam of
```
ERROR: Cannot update cell bitmask if Tileset is not open.
   at: update_cell_bitmask (scene/2d/tile_map.cpp:977)
ERROR: Cannot update cell bitmask if Tileset is not open.
   at: update_cell_bitmask (scene/2d/tile_map.cpp:977)
ERROR: Cannot update cell bitmask if Tileset is not open.
   at: update_cell_bitmask (scene/2d/tile_map.cpp:977)

```

### Steps to reproduce

Above

### Minimal reproduction project

N/A
Repository: pytorch
Issue: as_strided_scatter : INTERNAL_ASSERT_FAILED for requires_grad=True and non-config input
Labels: triaged,module: functionalization

### 🐛 Describe the bug

```python
import torch

from torch.testing._internal.common_methods_invocations import op_db

as_strided_scatter_opinfo = list(filter(lambda op_info : op_info.name == 'as_strided_scatter', op_db))[0]

device = 'cpu'
dtype = torch.float
requires_grad = True
for sample in as_strided_scatter_opinfo.sample_inputs(device, dtype, requires_grad=True):
    noncontig_sample = sample.noncontiguous()
    args = [sample.input] + list(sample.args)
    kwargs = sample.kwargs
    out = as_strided_scatter_opinfo.op(*args, **kwargs)
    out.sum().backward()
```

Fails with
`RuntimeError: !self.requires_grad() || self.is_contiguous() INTERNAL ASSERT FAILED at "ATen/native/TensorShape.cpp":3827, please report a bug to PyTorch. as_strided_scatter is currently only supported for contiguous inputs
`

This should probably be a `TORCH_CHECK` instead of `TORCH_INTERNAL_ASSERT`.

cc: @bdhirsh 

### Versions

master

cc @bdhirsh @ezyang @soumith
Repository: vscode
Issue: Set plain text language mode when saving as plain text
Labels: feature-request,workbench-editors

<!-- ⚠️⚠️ 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.74.1
- OS Version: Windows 11

Steps to Reproduce:

1. Set the files.defaultLanguage setting to ${activeEditorLanguage}
![image](https://user-images.githubusercontent.com/120711650/208061379-380d0b07-f0b1-44fc-a6e9-78b09d466b13.png)
2. Open a JavaScript file
3. Open a new file with the command: workbench.action.files.newUntitledFile
4. Save the file with a .txt file extension
5. Notice that the file still has javascript syntax highlighting and is still formatted as a JavaScript file.

If I use the command 'Change Language Mode' and then specify the language mode as a plain text file, the JavaScript wiggly underlines go away and the JavaScript syntax highlighting goes away, but it's annoying to have to do this every time I create a new plain text file.
Repository: vscode
Issue: Accessibility detection on Windows is off
Labels: upstream,accessibility,windows,chromium

Detected by @devinvalenciano 

Currently we detect too many screen readers on Windows. On macOS and Linux we are fine.
After discussing with @deepak1556 we propose:
* On Windows we should turn back to the old accessibility detection
* We should introduce a new telemetry event that captures the "new detection" on Windows. That way we will be able to see how this affects the numbers without affecting the actual user experience. 
* We should introduce a new telemetry event that captures the "accessibility deactivation" on all platforms. That way we will be able to see how well does Chromium deactivate accessibility.

Marking as a candidate so we can discuss in Standup if we should ship this as part of a recovery release.
fyi @meganrogge
Repository: rust
Issue: emit lint when using `ref` with match ergonomics
Labels: A-diagnostics,T-compiler

```rust
fn foo(x: &Option<u32>) -> Option<&u32> {
    match x {
        Some(ref inner) => Some(inner),
        None => None,
    }
}
```
because of match ergonomics, every binding inside of `Some` is already matched by `ref` implicitly, so the additional explicit `ref` is completely redundant. Consider the following example where `l` and `r` have the exact same type.
```rust
#![feature(type_name_of_val)]
use std::any::type_name_of_val;
fn foo(x: &Option<(u32, u32)>) {
    match x {
        Some((l, ref r)) => assert_eq!(
            type_name_of_val(l),
            type_name_of_val(r),
        ),
        None => unreachable!(),
    }
}

fn main() {
    foo(&Some((3, 3)));
}
```

This lint should either suggest to disable match ergonomics by adding `&` and `&mut` patterns in the relevant places or to remove the `ref`.

There are a lot of places even inside of rustc which hit this pattern, so this lint feels really desirable to me.


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":null}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: rust
Issue: `ref` in or-pattern less powerful than match ergonomics
Labels: A-patterns

```rust
// error
fn bind_by_ref(x: Option<u32>, y: Option<&u32>) {
    match (x, y) {
        (Some(ref x), _) | (_, Some(x)) => {}
        _ => {}
    }
}

// ok
fn match_ergonomics(x: Option<u32>, y: Option<&u32>) {
    match (&x, y) {
        (Some(x), _) | (_, Some(x)) => {}
        _ => {}
    }
}
```

ideally `bind_by_ref` also compiles.
Repository: pytorch
Issue: Crash in `index_select` with singleton `self`, non-singleton `index`
Labels: triaged

### 🐛 Describe the bug

Running the following can cause pytorch 1.13 to segfault (or give some other memory-related abort):

```python
torch.index_select(torch.tensor(10), 0, torch.tensor([0, 0, 0, 0, 0, 0, 0, 0]))
```
Example error messages:
```
munmap_chunk(): invalid pointer
Aborted (core dumped)
```
```
corrupted size vs. prev_size
Aborted (core dumped)
```
It doesn't happen every time, but i'm pretty much guaranteed to get it after ~3 runs.

I've also only found it to happen if `index` has at least four elements (though it probably just crashes less often with fewer).

### Versions

PyTorch version: 1.13.0+cpu
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: 10.0.0-4ubuntu1 
CMake version: version 3.25.1
Libc version: glibc-2.31

Python version: 3.8.10 (default, Nov 14 2022, 12:59:47)  [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.29
Is CUDA available: False
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: Quadro T2000 with Max-Q Design
Nvidia driver version: 510.108.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.23.4
[pip3] torch==1.13.0+cpu
[pip3] torchaudio==0.13.0+cpu
[pip3] torchvision==0.14.0+cpu
[conda] Could not collect
Repository: angular
Issue: docs: Provide an example of non-CLI environment
Labels: state: needs eng input,P2,docsarea: testing

### Describe the problem that you experienced

The [docs](https://angular.io/guide/testing-components-scenarios#calling-compilecomponents) contain the sentence:
> If you run tests in a non-CLI environment, the tests might fail with a message like this one:

I think it would be helpful to provide 1-2 examples of non-cli environemnts. So the sentence will look like this:
"If you run tests in a non-CLI environment (e,g, {example_of_the_such_environment}), the tests might fail with a message like this one:"

### Enter the URL of the topic with the problem

https://angular.io/guide/testing-components-scenarios#calling-compilecomponents

### Describe what you were looking for in the documentation

_No response_

### Describe the actions that led you to experience the problem

_No response_

### Describe what you want to experience that would fix the problem

_No response_

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

_No response_