sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Quickly launch groups of apps
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

This new feature would allow:

1. Allow a user to start a set of applications, position them in to Fancy Zones and then save the layout referencing the apps and zones.
2. Allow the user to later recall the preset to reload the same applications to the same fancy zones at a later time
3. Allow the user to define a file to be loaded with the application as part of the preset
4. Edit the Preset for application layouts in fancy zones to change the application (executable file) assigned to a specific fancy zone or the file loaded
5. Associate a hot key with a Fancy Zone Application Layout preset

### Scenario when this would be used?

This allows many use cases:

- Robust business use cases leveraging fancy zones.
- Robust workspace layouts that allow a user to go instantly back to their workspace rather than having to remember and re-position each application to the desired fancy zone
- Use of Fancy zones in very large collaborative environments such as visualization centers, meeting auditoriums and other meeting spaces where very specific visual layouts are desired
- Technical briefings of products, product information, program management tasks and VIP type business meetings where lots of data needs to be effectively arranged into different predefined screen areas

### Supporting information

This feature could be similar to the behavior of tools such as the Nvidia Quadro / RTX Experience View tool or products such as Mechdyne Meeting Canvas or Vis Cube.

Window snapping in windows 11 does not in any way provide the functionality described in this idea.
Repository: yt-dlp
Issue: Showroom live download fails with room is offline error
Labels: site-bug

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2021.12.01**. ([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)
- [ ] 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

_No response_

### Description

Attempting to download certain streams from showroom results in an error saying the stream is offline despite it being online and accessible through the browser.

### Verbose log

```shell
[debug] Command-line config: ['-Uv', 'showroom-live.com/tetorateto']
[debug] Encodings: locale cp932, fs utf-8, out utf-8, err utf-8, pref cp932
[debug] yt-dlp version 2021.12.01 [91f071a] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19042-SP0
[debug] exe versions: ffmpeg 4.3.2-2021-02-20-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.01, Current version: 2021.12.01
yt-dlp is up to date (2021.12.01)
[debug] [generic] Extracting URL: showroom-live.com/tetorateto
WARNING: [generic] The url doesn't specify the protocol, trying with http
[debug] [ShowRoomLive] Extracting URL: http://showroom-live.com/tetorateto
[ShowRoomLive] tetorateto: Downloading webpage
[ShowRoomLive] tetorateto: Downloading JSON metadata
ERROR: [ShowRoomLive] tetorateto: tetorateto is offline
Traceback (most recent call last):
  File "yt_dlp\extractor\common.py", line 597, in extract
  File "yt_dlp\extractor\showroomlive.py", line 35, in _real_extract
yt_dlp.utils.ExtractorError: tetorateto is offline
Traceback (most recent call last):
  File "yt_dlp\extractor\common.py", line 597, in extract
  File "yt_dlp\extractor\showroomlive.py", line 35, in _real_extract
yt_dlp.utils.ExtractorError: tetorateto is offline

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1329, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1398, in __extract_info
  File "yt_dlp\extractor\common.py", line 623, in extract
yt_dlp.utils.ExtractorError: [ShowRoomLive] tetorateto: tetorateto is offline
```
Repository: terminal
Issue: [Settings]: In scan mode, Screen Reader users are not able to open 'Open JSON file' control.
Labels: Issue-Bug,Area-Accessibility,Product-Terminal,Priority-3,HCL-E+D,A11yWCAG,HCL-WindowsTerminal,A11yCO,A11ySev3

### Windows Terminal version

1.12.3472.0

### Windows build number

10.0.22504.1010

### Other Software

**Test Environment:**
OS: Windows 11 Version Dev (OS Build 22504.1010)
App: Windows Terminal Preview
Screen Reader: Narrator
Tool: Accessibility Insights for Windows Version 1.1.1741.1

### Steps to reproduce

**Repro Steps:**
1. Open Windows Terminal.
2. Open Settings page using 'Ctr+,'.
3. Open Narrator using 'Win+Ctrl+ Enter' key. Turn ON Narrator scan mode using 'Caps lock + Space' key.
4. Now navigate to 'Open JSON file' control and try to activate it then observe the issue.

**User Experience:**
Screen Reader users will be impacted here as they are not able to activate a control in scan mode which will not enhance the UX of those users.

**Guideline Reference:**
EN 301 549 V3.2.1: 11.5.2.12 Execution of available actions

**Attachments:**
[Uploading In scan mode, Screen Reader users are not able to open 'Open JSON file' control..zip…]()

### Expected Behavior

In scan mode, Screen Reader users should be able to open 'Open JSON file' control using 'Enter' key.

### Actual Behavior

In scan mode, Screen Reader users are not able to open 'Open JSON file' control using 'Enter' key. Screen Reader Users is only able to open JSON file in Scan off mode.
Repository: terminal
Issue: [Settings]: Main Landmark is not defined on the Settings page.
Labels: Issue-Bug,Area-Accessibility,Product-Terminal,Priority-3,HCL-E+D,A11yWCAG,HCL-WindowsTerminal,A11yCO,A11ySev3

### Windows Terminal version

1.12.3472.0

### Windows build number

10.0.22504.1010

### Other Software

**Test Environment:**
OS: Windows 11 Version Dev (OS Build 22504.1010)
App: Windows Terminal Preview
Screen Reader: Narrator
Tool: Accessibility Insights for Windows Version 1.1.1741.1

### Steps to reproduce

**Repro Steps:**
1. Open Windows Terminal.
2. Open Settings page using 'Ctr+,'.
3. Open Narrator using 'Win+Ctrl+ Enter' key. Turn ON Narrator scan mode using 'Caps lock + Space' key.
4. Now navigate through landmark using shortcut key 'd' or 'Shift + d' and observe the issue.

**User Experience:**
Screen Reader users UX will be not good if landmark is not defined on the page for fast navigation.

**Guideline Reference:**
https://www.w3.org/WAI/WCAG21/Understanding/bypass-blocks

**Attachments:**
[Main Landmark is not defined on the Settings page..zip](https://github.com/microsoft/terminal/files/7750232/Main.Landmark.is.not.defined.on.the.Settings.page.zip)


### Expected Behavior

Main Landmark should be defined on the Settings page so that Screen Reader users can jump from one section/region to another.

### Actual Behavior

Main Landmark is not defined on the Settings page. Only navigation landmark is defined on the page.
Repository: rust
Issue: generic_const_exprs: unification does not look into const items
Labels: C-bug,A-const-generics,F-generic_const_exprs

```rust
#![feature(generic_const_exprs)]
use std::marker::PhantomData;

struct Nil;
struct Cons<N>(PhantomData<N>);

trait Len {
    const N: usize;
}

impl<N: Len> Len for Cons<N> {
    const N: usize = 1 + N::N;
}

impl Len for Nil {
    const N: usize = 0;
}

trait Piece<T> {
    type Size: Len;

    fn construct(self) -> [T; Self::Size::N];
}

impl<T: Copy + From<i32>> Piece<T> for i32 {
    type Size = Cons<Nil>;

    fn construct(self) -> [T; Self::Size::N] {
        [T::from(self)]
    }
}

impl<T: Copy, U: Piece<T>> Piece<T> for (U,) {
    type Size = U::Size;

    fn construct(self) -> [T; Self::Size::N] {
        todo!()
    }
}

```
this results in the following which definitely seems wrong
```
error: unconstrained generic constant
  --> src/lib.rs:36:31
   |
36 |     fn construct(self) -> [T; Self::Size::N] {
   |                               ^^^^^^^^^^^^^
   |
   = help: try adding a `where` bound using this expression: `where [(); Self::Size::N]:`
note: the requirement `the constant `<(U,) as Piece<T>>::construct::{constant#0}` can be evaluated` appears on the impl method `construct` but not on the corresponding trait method
  --> src/lib.rs:22:8
   |
19 | trait Piece<T> {
   |       ----- in this trait
...
22 |     fn construct(self) -> [T; Self::Size::N];
   |        ^^^^^^^^^ this trait method doesn't have the requirement `the constant `<(U,) as Piece<T>>::construct::{constant#0}` can be evaluated`

error[E0308]: method not compatible with trait
  --> src/lib.rs:36:5
   |
36 |     fn construct(self) -> [T; Self::Size::N] {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Self::Size::N`, found `Self::Size::N`
   |
   = note: expected type `Self::Size::N`
              found type `Self::Size::N`
```
Repository: terminal
Issue: [Settings> Profiles]: Screen Reader is not announcing group label 'Profiles' with Profile tab item controls.
Labels: Issue-Bug,Area-Accessibility,Product-Terminal,Priority-3,HCL-E+D,A11yWCAG,HCL-WindowsTerminal,A11yCO,A11ySev3

### Windows Terminal version

1.12.3472.0

### Windows build number

10.0.22504.1010

### Other Software

Test Environment:
OS: Windows 11 Version Dev (OS Build 22504.1010)
App: Windows Terminal Preview
Screen Reader: Narrator
Tool: Accessibility Insights for Windows Version 1.1.1741.1

### Steps to reproduce

**Repro Steps:**
1. Open Windows Terminal.
2. Open Settings page using 'Ctr+,'.
3. Open Narrator using 'Win+Ctrl+ Enter' key. Turn OFF Narrator scan mode using 'Caps lock + Space' key.
4. Now navigate from Actions tab control to 'Defaults' control and so on, Then observe the issue.

**User Experience:**
Screen Reader users will be impacted here as they will not be able to structure complete information as label is not associated with controls. 

**Guideline Reference:**
https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships

**Attachments:**
[Screen Reader is not announcing group label 'Profiles' with Profile tab item controls..zip](https://github.com/microsoft/terminal/files/7750324/Screen.Reader.is.not.announcing.group.label.Profiles.with.Profile.tab.item.controls.zip)


### Expected Behavior

Screen Reader should announce group label 'Profiles' with tab item controls belongs to Profile group.
i.e. for 'Defults' tab item Screen Reader should announce 'Profiles Group Defaults 1 of 6 level 1'

### Actual Behavior

Screen Reader is not announcing group label 'Profiles' with tab item controls belongs to Profile group.
i.e. for 'Defaults' control Screen Reader is only announcing 'Defaults 1 of 6 level 1'
Repository: terminal
Issue: [Settings]: ‘Columns’ and ‘Rows’ edit box are the editable spin box, but same info is not provided to Screen Reader users.
Labels: Issue-Bug,Area-Accessibility,Product-Terminal,Priority-3,HCL-E+D,A11yWCAG,HCL-WindowsTerminal,A11yCO,A11ySev3

### Windows Terminal version

1.12.3472.0

### Windows build number

10.0.22504.1010

### Other Software

**Test Environment:**
OS: Windows 11 Version Dev (OS Build 22504.1010)
App: Windows Terminal Preview
Screen Reader: Narrator
Tool: Accessibility Insights for Windows Version 1.1.1741.1

### Steps to reproduce

**Repro Steps:**
1. Open Windows Terminal.
2. Open Settings page using 'Ctr+,'.
3. Open Narrator using 'Win+Ctrl+ Enter' key. Turn OFF Narrator scan mode using 'Caps lock + Space' key.
4. Activate 'Startup' tab and then navigate to 'Columns' edit field then observe the issue.

**User Experience:**
Screen Reader users will be impacted here as they are not able to know about the spin property of edit control, which will not enhance the UX of those users.

**Guideline Reference:**
https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships

**Attachments:**
[‘Columns’ and ‘Rows’ edit box are the editable spin box, but same info is not provided to Screen Reader users..zip](https://github.com/microsoft/terminal/files/7750603/Columns.and.Rows.edit.box.are.the.editable.spin.box.but.same.info.is.not.provided.to.Screen.Reader.users.zip)

### Expected Behavior

 Screen Reader should give some hint about ‘Columns’ and ‘Rows’ edit box 'spin' property.
i.e. For Column with value 120 Screen Reader should announce something like this 'Columns Spinner edit 120' OR 'Columns edit 120 Use up or down arrow keys to increase or decrease count'

### Actual Behavior

 ‘Columns’ and ‘Rows’ edit box are the editable spin box, but same info is not provided to Screen Reader users. _Issue repro with all spinner edit fields._
i.e. For Column with value 120 Screen Reader is announcing 'Column edit 120'.

**Observation:** Issue not repro with NVDA as it announce 'Column Spin button <tooltip> Columns edit selected 120'
Repository: flutter
Issue: [video_player] Ability to prevent record a video 
Labels: c: new feature,platform-android,p: video_player,package,c: proposal,P3,team-android,triaged-android

## Use case

There are some ways to prevent content recording on iOS with help of specific listeners, but in Android you can only use 
`WindowManager.LayoutParams.FLAG_SECURE` and `setSecure` method in `SurfaceView`. The first one covers the whole screen with a black square, and you can't even screenshot the screen with the secure flag. The second one is something that can [cover only video content](https://github.com/google/ExoPlayer/issues/7860), but there aren't `SurfaceView` in the video_player plugin. 

## Proposal

Now Android plugin uses `setVideoSurface` method for setting video player's view. 

```
surface = new Surface(textureEntry.surfaceTexture());
exoPlayer.setVideoSurface(surface);
```

I think it can be replaced with SurfaceView and [setVideoSurfaceView](https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/SimpleExoPlayer.html#setVideoSurfaceView-android.view.SurfaceView-) method. Looks like it can be implemented with [Hybrid Composition](https://github.com/flutter/flutter/wiki/Hybrid-Composition).
Repository: puppeteer
Issue: HTTPResponse: add stream method
Labels: feature,confirmed

what would be desirable is a way to return the stream associated with a response rather than a buffer

```js
page.on('response', async respone => {
  const stream = response.stream()
})
```

That could be achieved using [`Network.takeResponseBodyForInterceptionAsStream`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#method-takeResponseBodyForInterceptionAsStream) CDP method in a similar way how the buffer gets.

https://github.com/puppeteer/puppeteer/blob/main/src/common/HTTPResponse.ts#L183
Repository: terminal
Issue: [Settings> Color Schemes/Actions]: Accessible name is not descriptive for 'Add New', 'Rename', 'Add new', 'Edit', 'Accept', 'Cancel' and 'Delete' buttons inside Color Schemes & Actions page.
Labels: Issue-Bug,Area-Accessibility,Product-Terminal,Priority-3,HCL-E+D,A11yWCAG,HCL-WindowsTerminal,A11yCO,A11ySev3

### Windows Terminal version

1.12.3472.0

### Windows build number

10.0.22504.1010

### Other Software

Test Environment:
OS: Windows 11 Version Dev (OS Build 22504.1010)
App: Windows Terminal Preview
Screen Reader: Narrator
Tool: Accessibility Insights for Windows Version 1.1.1741.1

### Steps to reproduce

**Repro Steps:**
1. Open Windows Terminal.
2. Open Settings page using 'Ctr+,'.
3. Open Narrator using 'Win+Ctrl+ Enter' key. 
4. Now navigate to 'Add New', 'Rename', 'Add new', 'Edit', 'Accept', 'Cancel' and 'Delete' buttons inside Color Schemes & Actions page and observe the issue.

**User Experience:**
Screen Reader users UX will not be good if control name is not descriptive.

**Guideline Reference:**
https://www.w3.org/WAI/WCAG21/Understanding/name-role-value

**Attachments:**
[Accessible name is not descriptive for buttons.zip](https://github.com/microsoft/terminal/files/7751151/Accessible.name.is.not.descriptive.for.buttons.zip)


### Expected Behavior

Accessible name should be descriptive i.e. 'Add New Color Schemes', 'Rename Color Schemes', 'Add new Actions', 'Edit Copy Text Actions', 'Accept Actions', 'Cancel Actions' and 'Delete Actions' buttons inside Color Schemes & Actions page.

### Actual Behavior

Accessible name is not descriptive for 'Add New', 'Rename', 'Add new', 'Edit', 'Accept', 'Cancel' and 'Delete' buttons inside Color Schemes & Actions page.
i.e. For 'Edit' button Screen Reader is only announcing 'Edit' button.

**Observation:** Same issue repro with NVDA Screen Reader.
Repository: terminal
Issue: [Settings]: Color controls are not associated with its group label 'Terminal colors' and 'System Colors' inside Color Schemes page.
Labels: Issue-Bug,Area-Accessibility,Product-Terminal,Priority-3,HCL-E+D,A11yWCAG,HCL-WindowsTerminal,A11yCO,A11ySev3

### Windows Terminal version

1.12.3472.0

### Windows build number

10.0.22504.1010

### Other Software

**Test Environment:**
OS: Windows 11 Version Dev (OS Build 22504.1010)
App: Windows Terminal Preview
Screen Reader: Narrator
Tool: Accessibility Insights for Windows Version 1.1.1741.1

### Steps to reproduce

**Repro Steps:**
1. Open Windows Terminal.
2. Open Settings page using 'Ctr+,'.
3. Open Narrator using 'Win+Ctrl+ Enter' key. 
4. Activate 'Color Schemes' page and then navigate to color control present below 'Terminal colors' and 'System Colors' text and observe the issue.

**User Experience:**
Screen Reader users UX will not be good if they will not be able to know the purpose of a control from its name due to lack of label association

**Guideline Reference:**
https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships

**Attachments:**
[Color controls are not associated with its group label 'Terminal colors' and 'System Colors' inside Color Schemes page..zip](https://github.com/microsoft/terminal/files/7752159/Color.controls.are.not.associated.with.its.group.label.Terminal.colors.and.System.Colors.inside.Color.Schemes.page.zip)

### Expected Behavior

Color controls should be associated with its group label 'Terminal colors' and 'System Colors' inside Color Schemes page. 
i.e. If user navigate to 'Black' color present below 'Terminal colors' then Screen Reader should announce 'Terminal Colors Group Black' button.

### Actual Behavior

Color controls are not associated with its group label 'Terminal colors' and 'System Colors' inside Color Schemes page. 
i.e. For 'Black' color present below 'Terminal colors' then Screen Reader is only announcing 'Black' button.

**Observation:** Same issue repro with NVDA Screen Reader.
Repository: pytorch
Issue: `TensorIterator`: refactor `build_ternary_op` to match binary versions
Labels: triaged,module: TensorIterator

### 🚀 The feature, motivation and pitch

I'm working on porting an op to `TensorIterator` which requires `build_ternary_op`.

I've noticed that it just uses `TensorIteratorConfig()` while `build_binary_op` uses `BINARY_OP_CONFIG`.
Also, the binary version has two variants: owned and non-owned.

Should this be changed or not?

As of [this commit](https://github.com/pytorch/pytorch/blob/70ed4f3ffc0af1e12f9da7f64104c9631a6d70ef/aten/src/ATen/TensorIterator.cpp#L912):

```cpp
// This cannot be a function because TensorIteratorConfig is not
// copyable or movable, so it can't be returned from the function.
#define BINARY_OP_CONFIG()                              \
  TensorIteratorConfig()                                \
    .set_check_mem_overlap(true)                        \
    .allow_cpu_scalars(true)                            \
    .promote_inputs_to_common_dtype(true)               \
    .cast_common_dtype_to_outputs(true)                 \
    .enforce_safe_casting_to_output(true)               \

void TensorIteratorBase::build_binary_op(const TensorBase& out, const TensorBase& a, const TensorBase& b) {
  build(BINARY_OP_CONFIG()
      .add_owned_output(out)
      .add_owned_input(a)
      .add_owned_input(b));
}

void TensorIteratorBase::build_borrowing_binary_op(
    const TensorBase& out, const TensorBase& a, const TensorBase& b) {
  build(BINARY_OP_CONFIG()
      .add_output(out)
      .add_input(a)
      .add_input(b));
}
```

```cpp
void TensorIteratorBase::build_ternary_op(
    const TensorBase& out, const TensorBase& a,
    const TensorBase& b, const TensorBase& c) {
  build(TensorIteratorConfig()
      .add_owned_output(out)
      .add_owned_input(a)
      .add_owned_input(b)
      .add_owned_input(c));
}
```

Related discussion: https://github.com/pytorch/pytorch/pull/62318#pullrequestreview-717041233

cc @Lezcano @bdhirsh @ysiraichi 


### Alternatives

_No response_

### Additional context

_No response_
Repository: pytorch
Issue: `pytorch` hangs during interaction with `ray` package
Labels: module: cpu,triaged,module: deadlock

### 🐛 Describe the bug

Hi!
I have a problem with usage of `pytorch` optimization during interaction with `ray` package, see reproducer below:
Create and activate conda environment from yml file (`conda env create -f ray_torch.yml && conda activate ray_torch`):
```
name: ray_torch
channels:
  - conda-forge
dependencies:
  - python=3.8
  - pytorch==1.10.0 # the latest pytorch in the conda-forge channel
  - pip
  - pip:
      - ray==1.9.0 # the latest ray in the pip
```
And then run the next reproducer:
```python
import os
# reproducer works fine if KMP_AFFINITY variable is not set (the next line is commented)
os.environ["KMP_AFFINITY"] = "granularity=fine,compact,1,0"
import torch

import ray
ray.init()

print("Passed")
```
The above snippet works fine if environment variable KMP_AFFINITY is not set and hangs otherwise. Interesting note about this issue is that hanging occurs only if number of CPU cores is big enough (in my case i had reproduced this issue on the Intel Xeon Platinum 8276L CPU with 112 cores, but it had worked fine on machine with 8 cores.).

### Versions

```
PyTorch version: 1.10.0
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.2 LTS (x86_64)
GCC version: (Ubuntu 8.4.0-3ubuntu2) 8.4.0
Clang version: Could not collect
CMake version: version 3.16.3
Libc version: glibc-2.31

Python version: 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:57:06)  [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.4.0-65-generic-x86_64-with-glibc2.10
Is CUDA available: False
CUDA runtime version: 10.1.243
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.21.4
[pip3] torch==1.10.0
[conda] libblas                   3.9.0            12_linux64_mkl    conda-forge
[conda] libcblas                  3.9.0            12_linux64_mkl    conda-forge
[conda] liblapack                 3.9.0            12_linux64_mkl    conda-forge
[conda] mkl                       2021.4.0           h8d4b97c_729    conda-forge
[conda] numpy                     1.21.4           py38he2449b9_0    conda-forge
[conda] pytorch                   1.10.0          cpu_py38h1ee18c8_0    conda-forge
```


cc @VitalyFedyunin