sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: yt-dlp
Issue: [IHeartRadio] Add support for /live/ urls.
Labels: site-request

### 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

USA

### Description

I was trying to get [https://www.iheart.com/live/b985-5887/](https://www.iheart.com/live/b985-5887/) but when I tried it, it said that it was not supported. I looked at your supported website list and it was there. If you need any other information I am willing to give it just ask for what you need.

### Verbose log

```shell
[debug] Command-line config: ['-vU', 'https://www.iheart.com/live/b985-5887/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.02.04 [c1653e9ef]
[debug] Python version 3.10.2 (CPython 64bit) - Linux-5.16.10-arch1-1-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 5.0 (setts), ffprobe 5.0, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)
[debug] [generic] Extracting URL: https://www.iheart.com/live/b985-5887/
[generic] b985-5887: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] b985-5887: Downloading webpage
[generic] b985-5887: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.iheart.com/live/b985-5887/
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1381, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1451, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 612, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/generic.py", line 3986, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.iheart.com/live/b985-5887/
```
Repository: terminal
Issue: the tab title after launching powershell (launches terminal I think) doesn't make sense... "app data"???
Labels: Issue-Bug,Area-UserInterface,Product-Terminal,Priority-2,Area-DefApp

From MSFT:38253775

When launching pwsh From the Start Menu with defterm enabled, the title is set to the full path to the shortcut, rather than "PowerShell 7" (or whatever"

![image](https://user-images.githubusercontent.com/18356694/155758395-150af0a6-3902-4f64-8163-19654152e803.png)

idle thought: might be because conpty doesn't load ANY settings when we start it. In this case thought, the _title_ is a setting that's in the lnk. 

Unclear if this is something we could fix Terminal side. IDK if we know the lnk when we get an inbound connection.
Repository: terminal
Issue: WSL profile matching fails to work if launched from start menu
Labels: Issue-Bug,Area-Settings,Product-Terminal,Priority-2,Area-DefApp

### Windows Terminal version

1.14.552.0

### Windows build number

10.0.22559.0

### Steps to reproduce

* Have a wsl.exe profile without any further arguments in the command line
  This will ensure it functions as sort of a "fallback" profile for any other WSL launches.
* Launch wsl.exe from start menu.

### Expected Behavior

My WSL profile gets matched.

### Actual Behavior

WSL profile doesn't get matched.

### Cause

The start menu entry was changed to be a direct link to the WSL app package and is this for instance:
```
C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemforLinux_0.51.3.0_x64__8wekyb3d8bbwe\wsl.exe
```


### Addenda

Probably the same thing for distro-shipped executables, like `ubuntu.exe`, if that's at all possible. It might not be - we can't always be sure what the exe is going to be, or if the exe shipped by a distro actually is the launcher, or _something else_
Repository: create-react-app
Issue: CSS Modules have issued with object deconstruction
Labels: needs triage,issue: bug report

### Describe the bug

In react scripts 4.0.3 and earlier you were able to do
```js
import {firstClass, title, bacon} from "./App.module.css"; // also using scss
```
But now when you do the same you get
`export 'app' (imported as 'app') was not found in './App.module.css' (possible exports: default)`
This can also be seen in https://blog.logrocket.com/a-deep-dive-into-css-modules/ and their repo @ https://github.com/lawrenceagles/css-module-demo 

### Did you try recovering your dependencies?

8.1.0 & no as this is a fresh install

### Environment

Environment Info:

  current version of create-react-app: 5.0.0
  running from C:\Users\Lagicrus\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app

  System:
    OS: Windows 10 10.0.22000
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600K
  Binaries:
    Node: 16.13.0 - E:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 8.1.0 - E:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.22000.120.0), Chromium (98.0.1108.62)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    react-scripts: 5.0.0 => 5.0.0
  npmGlobalPackages:
    create-react-app: Not Found

(I do have Chrome, this just can't find it weirdly)

### Steps to reproduce

1. Create a fresh CRA repo
2. Rename `App.css` to `App.module.css`
3. Replace `import 'App.css';` in App.js with `import {test} from "./App.module.css"`; 
4. Get error in browser

### Expected behavior

To be able to import only the styles I need from a file and not the entire thing.
To not have to import `styles` and then deconstruct it on the next line which is verbosity for the sake of it.

### Actual behavior

![image](https://user-images.githubusercontent.com/24227350/155764425-7f849c97-2a62-4255-9777-0de74139170a.png)

### DEMO

https://github.com/Lagicrus/cra-bug12096
Repository: pytorch
Issue: [FSDP] test full_state_dict if we are already in full parameter summoning context
Labels: oncall: distributed,module: fsdp

### 🚀 The feature, motivation and pitch

We should test that everything works as expected if user wants to use `full_state_dict` and they are already in full paramter summoning context. See comment: https://github.com/pytorch/pytorch/pull/73324/files#r815016582

### Alternatives

_No response_

### Additional context

_No response_

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: vscode
Issue: Exception when opening an empty test resolver window in OSS
Labels: bug,settings-editor,confirmation-pending

Repro seems hard, but it's probably easy to know what's causing it by inspecting the code:

```
  ERR Cannot read property 'settingsGroups' of undefined: TypeError: Cannot read property 'settingsGroups' of undefined
    at SettingsEditor2.onConfigUpdate (vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/workbench/contrib/preferences/browser/settingsEditor2.js:794:60)
    at vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/workbench/contrib/preferences/browser/settingsEditor2.js:80:26
    at Listener.invoke (vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/base/common/event.js:420:27)
    at Emitter.fire (vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/base/common/event.js:559:34)
    at WorkspaceService.triggerConfigurationChange (vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/workbench/services/configuration/browser/configurationService.js:766:48)
    at WorkspaceService.updateWorkspaceTrust (vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/workbench/services/configuration/browser/configurationService.js:328:26)
    at vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/workbench/electron-sandbox/desktop.main.js:187:104
    at Listener.invoke (vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/base/common/event.js:420:27)
    at Emitter.fire (vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/base/common/event.js:559:34)
    at WorkspaceTrustManagementService.updateWorkspaceTrust (vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/workbench/services/workspaces/common/workspaceTrust.js:299:36)
    at async vscode-file://vscode-app/c:/Github/microsoft/vscode/out/vs/workbench/services/workspaces/common/workspaceTrust.js:111:17
```
Repository: flutter
Issue: Assert when RenderObjectElement can't find ancestor to attach RenderObject to
Labels: framework,P2,team-framework,triaged-framework

When a RenderObjectElement attempts to attach its RenderObject to the ancestor RenderObjectElement it just silently fails if it cannot find an ancestor. We should probably assert in that case as that's almost certainly a bug if the RenderObject cannot be attached to anything (unless you're the root of the tree).

We should also check if this silent failure was maybe introduced during the null safety migration by accident.
Repository: electron
Issue: [Feature Request]: Integrating Node's native MessageChannel Api into Electron
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

For some time now, Node has had the [MessageChannel Api](https://nodejs.org/api/worker_threads.html#class-messagechannel).

```js
const { port1, port2 } = new MessageChannel();
port1.on("message", (message) => console.log("received", message));
port2.postMessage({ foo: "bar" });
```

This Api is very similar - if not exactly the same - as Electrons [MessageChannelMain](https://www.electronjs.org/docs/latest/api/message-channel-main), however currently both have limitations:

| Property                                  | MessageChannel | MessageChannelMain |
| ----------------------------------------- | -------------- | ------------------ |
| Port can be transferred to BrowserWindow | no             | yes                |
| Port can be transferred to Worker Thread  | yes            | no                 |
| Port can be transferred to Child Process  | no            | no                 |

### Proposed Solution

The proposed solution would be to support Node's native `MessageChannel` Api, specifically being able to transfer a `MessagePort` from/to Browser Windows. `MessageChannelMain` could be deprecated/removed.

Having just one api will greatly simplify development of electron applications:

```js
// Main process
const { port1, port2 } = new MessageChannel()
w.webContents.postMessage('port', null, [port2])
const worker = new Worker("./worker.js");
worker.postMessage(port1, [port1]);


// Renderer process
const { ipcRenderer } = require('electron')
ipcRenderer.on('port', (e) => {
  const port2 = e.ports[0]
  port2.postMessage({ message: 'ping' }) // communicate directly with Worker Process
})


// Worker Process
port1.postMessage({ message: 'pong' })  // communicate directly with BrowserWindow
```


| Property                                  | MessageChannel |
| ----------------------------------------- | -------------- |
| Port can be transferred to Browser Window | yes            |
| Port can be transferred to Worker Thread  | yes            |
| Port can be transferred to Child Process  | no            |

### Alternatives Considered

None

### Additional Information

_No response_
Repository: pytorch
Issue: `TestCommonCUDA.test_noncontiguous_samples_pca_lowrank_cuda_float32` fails on A100 due to TF32 operation in `svd_lowrank`
Labels: module: cuda,module: tests,triaged,module: linear algebra,module: tf32

### 🐛 Describe the bug

`TestCommonCUDA.test_noncontiguous_samples_pca_lowrank_cuda_float32` fails on A100 due to TF32 operation in `svd_lowrank`

Run:
```sh
python test/test_ops.py -v TestCommonCUDA.test_noncontiguous_samples_pca_lowrank_cuda_float32
```

Sample error message:
```
Traceback (most recent call last):
  File "/opt/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 1754, in wrapper
    method(*args, **kwargs)
  File "/opt/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 1754, in wrapper
    method(*args, **kwargs)
  File "/opt/pytorch/pytorch/torch/testing/_internal/common_device_type.py", line 376, in instantiated_test
    result = test(self, **param_kwargs)
  File "/opt/pytorch/pytorch/torch/testing/_internal/common_device_type.py", line 796, in dep_fn
    return fn(slf, *args, **kwargs)
  File "/opt/pytorch/pytorch/torch/testing/_internal/common_device_type.py", line 761, in test_wrapper
    return test(*args, **kwargs)
  File "/opt/pytorch/pytorch/torch/testing/_internal/common_device_type.py", line 954, in only_fn
    return fn(self, *args, **kwargs)
  File "/opt/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 1104, in wrapper
    fn(*args, **kwargs)
  File "test_ops.py", line 298, in test_noncontiguous_samples
    self.assertEqual(t, n, msg=msg.format(i))
  File "/opt/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 2121, in assertEqual
    assert_equal(
  File "/opt/pytorch/pytorch/torch/testing/_comparison.py", line 1074, in assert_equal
    raise error_metas[0].to_error()
AssertionError: Got different gradients for contiguous / non-contiguous inputs wrt input 1.
```


The proposal is to disable TF32 in `svd_lowrank` (which `pca_lowrank` calls). However, `svd_lowrank` is implemented in python, it's easy to disable TF32 in forward, but hard to disable TF32 in backward since it's generated from autograd.

### Versions

latest master 9a8000fbf112ddc54b5afaa8aa2575f80f8ff8de
Nvidia A100


cc @ngimel @mruberry @jianyuh @nikitaved @pearu @walterddr @IvanYashchuk @xwang233 @Lezcano @zasdfgbnm @ptrblck
Repository: flutter
Issue: Undo/redo should coalesce changes correctly by platform
Labels: a: text input,framework,f: material design,a: desktop,has reproducible steps,P2,found in release: 2.11,team-text-input,triaged-text-input

Support for text undo/redo was added in https://github.com/flutter/flutter/pull/96968, but the coalescing isn't exactly correct on each platform.  In that PR, we used a simple time-based throttle on all platforms ([code](https://github.com/flutter/flutter/blob/fac90f44baf42558de44af86169346cbf7585e58/packages/flutter/lib/src/widgets/editable_text.dart#L4344-L4347)), but the actual behavior is much more nuanced and slightly different on each platform ([some analysis](https://github.com/flutter/flutter/issues/24222#issuecomment-868930150)).  Ideally, Flutter should perfectly match the behavior of each platform.

By coalescing, I mean where the editor separates one undoable chunk of text from the next.

## To reproduce

  1. Run any app with a text input, such as the one given below.
  2. Type one or two lines of text.  Enough that it takes you a few seconds to finish.
  3. Press ctrl/cmd + Z to undo a few times and notice how the text is grouped.

Expected behavior: The amount of text that is undone at each step exactly matches the native platform.
Actual behavior: It's likely to be off on all platforms.

<details>

<summary>Code</summary>

```dart
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({
    Key? key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Flutter Demo'),
        ),
        body: const Center(
          child: TextField(),
        ),
      ),
    );
  }
}
```

</details>

## TODO

  - [ ] Figure out what the exact algorithms are for coalescing text input on Windows, Mac, and Linux.

If your app is negatively affected by this, please give a 👍  and maybe leave a comment to help us gauge how this is affecting people.
Repository: go
Issue: crypto/x509: malformed x509 certificate is accepted since 1.17
Labels: NeedsDecision

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.17.7 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/dev/.cache/go-build"
GOENV="/home/dev/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/dev/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/dev/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/dev/Downloads/1.17.7/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/dev/Downloads/1.17.7/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.7"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build678374455=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->

To demonstrate this I included verify.go and three certificates in the file [verify_cert.tar.gz](https://github.com/golang/go/files/8145491/verify_cert.tar.gz)

We have a testing pipeline that checks the handling of x509 certificates. The host.pem included in verify_cert.tar.gz is a malformed certificate. Since it is not compliant to spec, parsing the certificate should result in error. With golang version 1.15.15 and 1.16.14, `x509.ParseCertificate` returns error, which is expected. However, after upgrade golang version to 1.17.7, this malformed certificate is now accepted.

### What did you expect to see?

With go 1.15.15

```
$ go run verify.go root.pem intermediate.pem host.pem 
panic: failed to parse certificate: x509: cannot parse URI "g\x81\x05\x05\x01\x01": parse "g\x81\x05\x05\x01\x01": net/url: invalid control character in URL

goroutine 1 [running]:
main.main()
	/home/dev/shared/verify.go:47 +0x4f7
exit status 2
```

With go 1.16.14

```
$ go run verify.go root.pem intermediate.pem host.pem 
panic: failed to parse certificate: x509: SAN uniformResourceIdentifier is malformed

goroutine 1 [running]:
main.main()
	/home/dev/shared/verify.go:47 +0x4f7
exit status 2
```

### What did you see instead?

With go 1.17.7, no error is returned.

```
$ go run verify.go root.pem intermediate.pem host.pem 
```
Repository: pytorch
Issue: [feature request] torch.hub.load_state_dict_from_url to be replaced by a new good general download-a-file function and to also support local paths and google drive links / private github release links
Labels: triaged,module: hub

### 🚀 The feature, motivation and pitch

It's useful to be able to load pretrained weights via a single-stop method without making checks if it's a url or a local path.

Another useful feature would be to support some cloud storage links. Currently I have this automated way to donload from Google Drive. It has been working for a few years, so the API is kind of stable. One way to account for API changes could be a mandatory opt-in flag `enable_best_effort_cloud_links_download=True`. This will save some boiler plate in research code.

```bash
function downloadgdrive() { wget --load-cookies googlecookies.txt "https://docs.google.com/uc?export=download&confirm="$(wget --quiet --save-cookies googlecookies.txt --keep-session-cookies --no-check-certificate "https://docs.google.com/uc?export=download&id=$1" -O- | sed -rn "s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p")"&id=$1" -O ${2:-$1}; }

# https://drive.google.com/file/d/15zENvGjHlM71uKQ3d2FbljWPubtrPtjl/view?usp=sharing
# https://github.com/microsoft/SimMIM#swin-transformer
mkdir -p data/common
downloadgdrive '15zENvGjHlM71uKQ3d2FbljWPubtrPtjl' data/common/simmim_pretrain__swin_base__img192_window6__800ep.pth
```

### Alternatives

_No response_

### Additional context

_No response_

cc @nairbv @NicolasHug @vmoens @jdsgomes
Repository: vscode
Issue: Extensions images not loading - zscaler proxy
Labels: bug,proxy

I am behind my company corporate network and it is using zscaler proxy.

In order to browse internet zscaler proxy redirects your request to proxy login page.
After login this will create a cookie and redirect you back to requested page.
![image](https://user-images.githubusercontent.com/226822/155824609-64e7f43c-4812-47e5-ad1c-d0b85375d33c.png)

When vscode wants to load something proxy sends redirect response to login page.
![image](https://user-images.githubusercontent.com/226822/155824876-94c833b1-4ae3-4398-b790-36cc35f0afb2.png)

Vscode should present this login page to the user. After user login vscode should store the cookie and send this cookie in other requests. Without the cookie proxy will always block the requests.

Is there some way how to do this (open some external url in vscode to be redirected to zscaler login page to retrieve this cookie)?
Repository: vscode
Issue: Remote SSH: Copy + Paste automatically open file in new tab 
Labels: bug,freeze-slow-crash-leak,file-explorer,remote,confirmation-pending

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
Same Issue: #117967
When I paste a large file (eg. dataset data) to the remote machine, VsCode always opens it automatically and then becomes unresponsive.
Expected: A Setting to disable this behavior.