sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: [ARTE.tv] Unable to download JSON metadata
Labels: broken-IE,pending-fixes,duplicate

## Checklist

- [x] I'm reporting a broken site support issue
- [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 all URLs and arguments with special characters are properly quoted or escaped
- [x] I've searched the bugtracker for similar bug reports including closed ones
- [x] I've read bugs section in FAQ


## Verbose log

```
$ youtube-dl --verbose https://www.arte.tv/fr/videos/097516-000-A/operation-1005-les-effaceurs-de-crimes/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.arte.tv/fr/videos/097516-000-A/operation-1005-les-effaceurs-de-crimes/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-5.13.0-40-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[ArteTV] 097516-000-A: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

```


## Description

I was trying to download a video from website https://arte.tv/. Before, `youtube-dl` was working well with this site, but not anymore. I tried to re-download previously (successfully) downloaded videos, but I still receive the same error. I guess the page format changed.

Thanks for your job.
Repository: godot
Issue: [TRACKER] Physics interpolation usability improvements
Labels: enhancement,topic:rendering,usability,topic:3d

### Enhancements

As a result of feedback I'm building up a list of areas that can be improved for 3.5 to make things as easy to use as possible, and to eliminate "boiler plate" jobs that can be done automatically. Let me know any other ideas so they can be discussed and possibly added to the list.

- [ ] #60822
- [x] #60915
- [x] Fix glitch on unhiding nodes
(May be fixed already by #60584 )
- [x] https://github.com/godotengine/godot-proposals/issues/4487
Implemented in #60858

### Possible (low priority)
- [ ] Option to auto hide added nodes for 1 tick, to prevent glitches when added to moving parents
- [ ] Option to `reset_physics_interpolation` on unhiding nodes, as an alternative to continually updating hidden nodes

### Not so sure
- [ ] Auto change mode to physics (or display warnings) for `Tween`
- [ ] Auto change mode to physics (or display warnings) for `AnimationPlayer`

After investigating these two, they don't seem to be that straight forward (not having an in-depth knowledge of either node myself). They appear to operate through the `Object::set_indexed()` method and pass a String for e.g. Rotation rather than calling methods directly, so obvious methods of detecting this at runtime are likely too expensive for a warning.

And auto-flipping these to physics mode is also not obvious, as suggested below, because they could contain mixed transforms with non-interpolated properties. So I'm inclined to leave these warnings for now, or leave them for someone more familiar with how these work.
Repository: TypeScript
Issue: Improve handling of "unexported symbols"
Labels: Suggestion,Awaiting More Feedback

# Suggestion

When declaration is set to true (e.g. through composite projects), every inferred type needs to be accessible:

File 1: a creator function of an "abstract type" (think https://github.com/microsoft/TypeScript/issues/202)
```ts
const MySymbol = Symbol('MySymbol');
type MyThing = {
    _brand: typeof MySymbol,
    onlyCreatedHere: 'more-or-less'
}
const createMyThing = () => {
  return {
    _brand: MySymbol,
    onlyCreatedHere: 'more-or-less'
  }
}
```

File 2: builds on top of this
```ts
const createEverything = () => {
  return {
    myThing: createMyThing()
  }
}
```

We get a type error:

> The inferred type of 'createEverything' references an inaccessible 'unique symbol' type. A type annotation is necessary.

It can be solved by exporting `MySymbol` but that's against the point of the symbol as we want to make it private to hide things

It would be nice if TypeScript could automatically export `MySymbol` in a private matter. Other declaration files can import the type/value but actual files not.

Another solution would be that if the type of the Symbol is exported (`export type MySymbol = typeof MySymbol`) that that type is used and declared as an `unique symbol` (`declare export type MySymbol = unique symbol`).

## 🔍 Search Terms
symbol declaration inaccessible 

## ✅ Viability Checklist

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: terminal
Issue: [Settings - Startup]: JAWS is not announcing state as 'Selected' for Selected 'Startup', 'Interaction' etc button.
Labels: Issue-Bug,Area-Accessibility,Product-Terminal,Priority-3,HCL-E+D,A11yUsable,HCL-WindowsTerminal,A11yCO

### Windows Terminal version

1.13.10984.0

### Windows build number

1.13.10984.0

### Other Software

**Test Environment:**
**OS:** Windows 11 Version 21H2 (OS Build 22598.200)
**Screen Reader:** JAWS

**User Experience:**
Screen Reader users UX will not be good as they will get full control state is not announced to them.

**Attachments:**
[JAWS is not announcing state as 'Selected' for Selected 'Startup', 'Interaction' etc button..zip](https://github.com/microsoft/terminal/files/8639090/JAWS.is.not.announcing.state.as.Selected.for.Selected.Startup.Interaction.etc.button.zip)


### Steps to reproduce

**Repro Steps:**
Open Windows Terminal.
Open Settings page using "Ctrl + ',' ".
Select 'Startup', 'Interaction' etc button.
Verify that JAWS is not announcing state as 'Selected' present under setting page.

### Expected Behavior

JAWS should announce state as 'Selected' for Selected 'Startup', 'Interaction' etc button.

### Actual Behavior

JAWS is not announcing state as 'Selected' for Selected 'Startup', 'Interaction' etc button.
Repository: flutter
Issue: TextField became multiline after pasting a text containing unicode, when maxLines is set to 1
Labels: a: text input,framework,has reproducible steps,P2,found in release: 2.10,found in release: 2.13,team-framework,triaged-framework

## Steps to Reproduce
flutter version: 2.10.5
1. Run code sample
2. Paste the following text to the TextField `simple simple`
3. Text in the TextField is displayed in 2 lines

**Things to consider:**
In the text `simple simple` there is a hidden symbol with the following unicode `\u2028`

**Expected results:** Text in the TextField is displayed in one line

**Actual results:** Text in the TextField is displayed in 2 lines

**Code sample:**

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(
    const MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(
            maxLines: 1,
          ),
        ),
      ),
    ),
  );
}
```
Actual result (screenshot):
<img src="https://user-images.githubusercontent.com/57593530/167107457-e507bd9c-335e-4b76-aecc-2fca604cdd4b.jpeg" width="250" />
Repository: material-ui
Issue: [theme] Add theme color strong typing onto the sx color properties
Labels: new feature,typescript,customization: theme

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

Add strong type checking onto the palette theme aware sx properties.

### Examples 🌈

_No response_

### Motivation 🔦

Since MUI v5, the suggested way to configure the color related sx props is to use string reference of the theme palette, making the implementation simpler: https://mui.com/system/the-sx-prop/#palette

However, with the moving from `theme.palette` to string reference, we loose the typescript strong checking of the available color.

The sx `color` prop for example, will only suggest css related values, not something like `primary.main`.

Because of that, I'm still preferring the `theme.palette` usage.

It would be a great addition to have type checking on the palette theme aware properties.

This was also something asked on StackOverflow: https://stackoverflow.com/q/69888051/1731473
Repository: flutter
Issue: [iOS]: Listener fires additional(unwanted) onPointerMove events before onPointerUp and causes unintended positioning.
Labels: platform-ios,framework,has reproducible steps,P2,found in release: 2.10,found in release: 2.13,team-ios,triaged-ios


While developing a touch-enabled draggable app using Stack and Positioned, I noticed there is a big issue in iOS devices. 

After dragging and moving a positioned widget on the stack and trying to stop at a position by lifting the finger, there are unintended onPointerMove events coming before the onPointerUp event fires and this misplaces the positioned widget.
It should work like iOS native way by discarding the unintended onPointerMove events

The code you can use to reproduce is https://github.com/rodydavis/flutter_multi_touch_canvas
There is a web demo, [here](https://rodydavis.github.io/flutter_multi_touch_canvas/#/) which also has this issue visible if taken on iPhone or iPad.
NOTE: THIS HAPPENS ONLY ON iOS devices. Not in Desktop or web, Mac trackpad works fine.
Repository: PowerToys
Issue: "Win + M" shortcut doesn't work after I remap Win -> Alt and Alt -> Win
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Priority-2,Needs-Team-Response,Status-Reproducible

### Microsoft PowerToys version

0.58.0

### Running as admin

- [ ] Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

I'm using Logitech MX keys for Mac, and I don't quite like how the Win key is now next to the space key. So, I swap the keys.

1. Remap Win -> Alt
2. Remap Alt -> Win

After I done this, pressing Win+M to minimize windows by physically pressing Alt+M doesn't do anything. But if I turn off keyboard manager (with the remap configurations still there), then I press Win+M by physically pressing Cmd+M in the keyboard works just fine.

### ✔️ Expected Behavior

All windows minimized.

### ❌ Actual Behavior

Nothing happens.

### Other Software

Logitech Options
Repository: pytorch
Issue: ReduceSum causes the inconsistency of output between frameworks
Labels: needs reproduction,triaged

### 🐛 Describe the bug

Operators with ReduceSum will cause inconsistency between frameworks. And for this inconsistency, only changing the input may cause its nature to change.
（Inconsistency: When testing the three frameworks, the inconsistency here refers to comparing the output of the ReduceSum layer with the other two frameworks and computing their absolute values.）

**structure：**
```
[{'name': 'Transpose', 'params': {'output_shape': [0, 2, 3, 1], 'tensor_space': 4}}, {'name': 'ReduceSum', 'params': {'keep_dims': False, 'dim': 1, 'tensor_space': 4}}, {'name': 'Flatten'}, {'name': 'Dense', 'params': {'in_features': 28, 'out_features': 10}}, {'name': 'Softmax'}]

[{'name': 'ReduceSum', 'params': {'keep_dims': True, 'dim': 1, 'tensor_space': 4}}, {'name': 'Flatten'}, {'name': 'Dense', 'params': {'in_features': 28, 'out_features': 10}}, {'name': 'Softmax'}]

[{'name': 'LeakyReLU', 'params': {'alpha': 0.08195527217568771}}, {'name': 'Transpose', 'params': {'output_shape': [0, 3, 1, 2], 'tensor_space': 4}}, {'name': 'ReduceSum', 'params': {'keep_dims': True, 'dim': 2, 'tensor_space': 4}}, {'name': 'Flatten'}, {'name': 'Dense', 'params': {'in_features': 28, 'out_features': 10}}, {'name': 'Softmax'}]
```


### Versions

Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)
Pytorch1.8
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
NVIDIA-SMI 460.80 Driver Version: 460.80 CUDA Version: 11.2
Repository: pytorch
Issue: GaussianNoise causes the inconsistency of output between frameworks
Labels: needs reproduction,triaged

### 🐛 Describe the bug

Operators with GaussianNoise will cause inconsistency between frameworks. And for this inconsistency, only changing the input may cause its nature to change.
（Inconsistency: When testing the three frameworks, the inconsistency here refers to comparing the output of the GaussianNoise layer with the other two frameworks and computing their absolute values.）

**structure：**
```
[{'name': 'GaussianNoise', 'params': {'stddev': 0.0050545493115078935}}, {'name': 'Flatten'}, {'name': 'Dense', 'params': {'in_features': 784, 'out_features': 10}}, {'name': 'Softmax'}]

[{'name': 'StridedSlice', 'params': {'tensor_space': 4, 'begin': [0, 1, 1, 0], 'end': [25, 22, 10, 1], 'stride': [1, 1, 1, 1]}}, {'name': 'GaussianNoise', 'params': {'stddev': 0.0031597719267489033}}, {'name': 'Flatten'}, {'name': 'Dense', 'params': {'in_features': 189, 'out_features': 10}}, {'name': 'Softmax'}]
```

### Versions

Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)
Pytorch1.8
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
NVIDIA-SMI 460.80 Driver Version: 460.80 CUDA Version: 11.2
Repository: pytorch
Issue: GlobalAvgPool2d causes the inconsistency of output between frameworks
Labels: needs reproduction,triaged

### 🐛 Describe the bug

Operators with GlobalAvgPool2d will cause inconsistency between frameworks. And for this inconsistency, only changing the input may cause its nature to change.
（Inconsistency: When testing the three frameworks, the inconsistency here refers to comparing the output of the GlobalAvgPool2d layer with the other two frameworks and computing their absolute values.）

**structure：**
`[{'name': 'MaxPool2d', 'params': {'pool_size': [3, 2], 'stride': [4, 3], 'padding': 'same'}}, {'name': 'GlobalMaxPool2d', 'params': {}}, {'name': 'Dense', 'params': {'in_features': 1, 'out_features': 10}}, {'name': 'Softmax'}]`

### Versions

Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)
Pytorch1.8
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
NVIDIA-SMI 460.80 Driver Version: 460.80 CUDA Version: 11.2
Repository: flutter
Issue: [windows] Sharing assets with windows plugin
Labels: engine,platform-windows,d: api docs,a: assets,c: proposal,a: desktop,P3,a: plugins,team-windows,triaged-windows

## Use case

Hi, I want to read an asset in a plugin(Windows), I have dart call the plugin with a relative path, but I didn't find any way to get the assets' absolute path in the plugin. It can only visit at class DartProject in project runner.

<https://docs.flutter.dev/development/ui/assets-and-images#sharing-assets-with-the-underlying-platform>
The documentation on assets is only for android and iOS.

## Proposal

So, can we have a public engine API for a plugin to get an asset's absolute path? Window and other desktop platforms.
Repository: godot
Issue: MeshInstances turn black after waking up from suspend
Labels: bug,platform:linuxbsd,topic:rendering,topic:thirdparty,topic:3d

### Godot version

3.4.4.stable

### System information

Arch Linux with GNOME 41 64-bit, GLES3, AMD Ryzen 5, NVIDIA GeForce GTX 1650
Also, I use X.ORG X11

### Issue description

MeshInstances turn black after the computer is restored from suspend.
MeshInstance: Simple Cube Mesh Instance

Material definitions (globally):
```gdscript
var mat_sand = SpatialMaterial.new()
var mat_grass = SpatialMaterial.new()
var khaki = Color.khaki
var mediumseagreen = Color.mediumseagreen
```
Albedo color assignment and material override on the main mesh in func _ready:
```gdscript
mat_sand.albedo_color = khaki
mat_grass.albedo_color = mediumseagreen
...
m.material_override = mat_grass
# where m is an instance of a scene that only contains a MeshInstance
```
The issue seems to resolve when you re "play" the scene in godot
![image](https://user-images.githubusercontent.com/69424531/167138338-e5d1e77b-7dba-4cbe-9e6d-89b11121daa2.png)
Expected:
![image](https://user-images.githubusercontent.com/69424531/167140067-99ba565d-3ec0-4edb-a736-721b385f2f68.png)

Out of curiosity, I built the project (without debug) and the issue still persists, the only way I could find to fix it was to restart the game (which could be quite irritating)

Side Note: This also occurs on linux with the editor minimap (#58989) 
![image](https://user-images.githubusercontent.com/69424531/167138408-ef52bc73-113d-4294-82bd-4ff8e801fc11.png)


### Steps to reproduce

Suspend pc and start it up again (with the game running in godot)

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: When using Lambda, the output of the 1/x process is very likely to have nan/inf
Labels: needs reproduction,triaged

### 🐛 Describe the bug

When using Lambda, the output of the 1/x process is very likely to have nan/inf.  In some cases, the operator will not show output-nan/inf, but will show output-nan/inf. Scenarios, where this happens with lambda, are generally: when the lambda expression carried in the lambda operator has certain risks (the operator does not impose certain constraints on its expression).

**For example：**
structure
`[{'name': 'ReduceMax', 'params': {'keep_dims': True, 'dim': 1, 'tensor_space': 4}}, {'name': 'Upsample2d', 'params': {'scale_factor': 2, 'mode': 'nearest'}}, {'name': 'Lambda', 'params': {'output_shape': [2, 32, 3], 'function': 'lambda x: 1 / x**0.5 + 1.0'}}, {'name': 'Flatten'}, {'name': 'Dense', 'params': {'in_features': 192, 'out_features': 200}}, {'name': 'Softmax'}]`

### Versions

Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)
Pytorch1.8
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
NVIDIA-SMI 460.80 Driver Version: 460.80 CUDA Version: 11.2
Repository: pytorch
Issue: When using Rsqrt, the output of the 1/x process is very likely to have nan/inf
Labels: needs reproduction,triaged

### 🐛 Describe the bug

When using Rsqrt, the output of the 1/x process is very likely to have nan/inf. In some cases, the operator will not show output-nan/inf, but will show output-nan/inf

**For example：**
structure
```
[{'name': 'Slice', 'params': {'tensor_space': 4, 'begin': [0, 9, 1, 1], 'size': [50, 7, 15, 1]}}, {'name': 'ReduceMax', 'params': {'keep_dims': True, 'dim': 1, 'tensor_space': 4}}, {'name': 'Rsqrt', 'params': {}}, {'name': 'Flatten'}, {'name': 'Dense', 'params': {'in_features': 15, 'out_features': 200}}, {'name': 'Softmax'}]

[{'name': 'ReduceMean', 'params': {'keep_dims': True, 'dim': 3, 'tensor_space': 4}}, {'name': 'ReduceMean', 'params': {'keep_dims': False, 'dim': 1, 'tensor_space': 4}}, {'name': 'Flatten', 'params': {}}, {'name': 'Rsqrt', 'params': {}}, {'name': 'Dense', 'params': {'in_features': 16, 'out_features': 200}}, {'name': 'Softmax'}]

[{'name': 'ReduceSum', 'params': {'keep_dims': True, 'dim': 1, 'tensor_space': 4}}, {'name': 'Rsqrt', 'params': {}}, {'name': 'Flatten'}, {'name': 'Dense', 'params': {'in_features': 48, 'out_features': 200}}, {'name': 'Softmax'}]
```

### Versions

Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)
Pytorch1.8
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
NVIDIA-SMI 460.80 Driver Version: 460.80 CUDA Version: 11.2
Repository: PowerToys
Issue: Add "new file" customization
Labels: Idea-New PowerToy,Product-Tweak UI Design,Product-File Explorer

### Description of the new feature / enhancement

Adding a "new file" in right-click dialog in Windows Explorer is troublesome as it requires you to deal with registry keys.
A nice UI would be welcome.
![image](https://user-images.githubusercontent.com/33297169/167148815-ca69a38d-0575-4289-acf5-c80ff3b0bc3e.png)


### Scenario when this would be used?

When user wants to have a quick access to a new file from a freshly installed program that does not add it to Windows Explorer (e.g., Markdown, ...).

### Supporting information

_No response_
Repository: pytorch
Issue: DISABLED test_comprehensive_linalg_ldl_factor_ex_cuda (__main__.TestDecompCUDA)
Labels: triaged,module: linear algebra,skipped

Platforms: linux

Same as #76961, but disabling test_comprehensive_linalg_ldl_factor_ex_cuda_complex128 and test_comprehensive_linalg_ldl_factor_ex_cuda_complex64

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @IvanYashchuk @xwang233 @Lezcano
Repository: pytorch
Issue: [bug] `NATIVE` and `OMP` `parallel_for` implementations are inconsistent.
Labels: triaged,module: openmp,module: multithreading

### 🐛 Describe the bug

https://github.com/pytorch/pytorch/pull/72710 and parallel CIs uncovered that.
Simply build with `ATEN_THREADING=NATIVE python setup.py develop` and run `pytest -sv test/test_sparse.py -k index_select_par`.
Error messages could be inspected here: https://github.com/pytorch/pytorch/runs/6324324431?check_suite_focus=true.
These tests pass when built with `ATEN_THREADING=OMP`.

I was not able to test `TBB` as it is currently impossible to compile due to https://github.com/pytorch/pytorch/issues/76953.

The issue is in how backends decide on chunk size and the number of threads. I will submit a fix for that soon.

### Versions

Current master.