sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: yt-dlp
Issue: Broken Site: mytaratata.com
Labels: good first issue,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)
- [ ] 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

Romania

### Description

Please update YT-DLP to download clips from mytratata.com.

### Verbose log

```shell
yt-dlp -v https://mytaratata.com/taratata/253/kevin-michael-yael-naim-lean-on-me-2008
[debug] Command-line config: ['-v', 'https://mytaratata.com/taratata/253/kevin-michael-yael-naim-lean-on-me-2008']
[debug] User config "/home/c/.config/yt-dlp/config": ['--format', '22/17/18/best', '--output', '/home/myname/%(upload_date)s_%(uploader)s_%(title)s.%(ext)s', '--restrict-filenames']
[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] (zip)
[debug] Python version 3.10.2 (CPython 64bit) - Linux-5.15.14-1-lts-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://mytaratata.com/taratata/253/kevin-michael-yael-naim-lean-on-me-2008
[generic] kevin-michael-yael-naim-lean-on-me-2008: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] kevin-michael-yael-naim-lean-on-me-2008: Downloading webpage
[generic] kevin-michael-yael-naim-lean-on-me-2008: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://mytaratata.com/taratata/253/kevin-michael-yael-naim-lean-on-me-2008
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1381, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1451, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 612, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 3986, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://mytaratata.com/taratata/253/kevin-michael-yael-naim-lean-on-me-2008
```
Repository: vscode
Issue: Opening a terminal in Multi-root workspace appends cwd option for new terminal. 
Labels: bug,terminal-process

<!-- ⚠️⚠️ 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.63.2
- OS Version:

Steps to Reproduce:

1. Create a multi-folder workspace (with one named 'Build')
2. Set the setting: `"terminal.integrated.cwd": "${workspaceFolder:Build}"`
```
{
    "folders": [
        {
            "name": "Build",
            "path": "build"
        },
        {
            "name": "Core",
            "path": "core/src"
        },
    ],
    "settings": {
        "terminal.integrated.cwd": "${workspaceFolder:Build}"
    }
}
```

When creating a new terminal with the toggle-terminal shortcut (`workbench.action.terminal.toggleTerminal, Ctrl+'`), it works as expected, and opens in the 'Build' folder as specified in the setting.
However, when using the other option, to specify the folder (`workspace.action.terminal.new, Ctrl+Shift+'`), and you select which folder to open, it concatenates the current workspace folder of whatever file you have open, plus the one specified in the setting, and both are full, absolute paths.
So when viewing a file inside of 'core\src\path\to\file', it tries to open it somewhere like this:
`C:\Users\luke.meppem\Documents\FooBar\core\src\C:\Users\luke.meppem\Documents\FooBar\build`.

There is a hack workaround, by overwriting `terminal.integrated.cwd` in each sub-folder, and have it set back to `./`.
However, this needs to be done in every single sub folder.

I think that when specifying the cwd of the new terminal using `workspace.action.terminal.new`, there should be a setting to not append the specified cwd for new terminals, as that's already specified by selecting it.
But when opening a terminal without specifying the cwd (like using toggle when you have no terminal, or with split terminal), then it should use the cwd.
Repository: rust
Issue: Minor: Compiler panic based on Cargo.toml "version" value
Labels: I-ICE,T-compiler,C-bug

### Minimal reproduction

The bug appears while following this tutorial:
https://docs.elrond.com/developers/tutorials/crowdfunding-p1/

1. Install Elrond IDE extension on vscode
(https://marketplace.visualstudio.com/items?itemName=Elrond.vscode-elrond-ide)

2. On terminal:
`erdpy contract new crowdfunding --template adder`
`code crowdfunding`

3. Open file Cargo.toml
4. Set "version" to "0.0.1"
5. Compile the code using `erdpy contract build`
6. Compiler panics (It makes no sence)
7. If you change "version" to something else (like 0.1.1) the problem self resolves.
8. Setting the value back to "0.0.1" causes the compiler to panic again

### Code
It doesn't seem to be affected at all by the rust code itself

### Meta

`rustc --version --verbose`:
```
<version>
rustc 1.58.1 (db9d1b20b 2022-01-20)
binary: rustc
commit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b
commit-date: 2022-01-20
host: x86_64-unknown-linux-gnu
release: 1.58.1
LLVM version: 13.0.0
```

### Error output

```
<output>
INFO:projects.core:build_project.directory: /home/pigeon/Downloads/contract/crowdfunding
INFO:projects.core:build_project.debug: False
INFO:myprocess:run_process: ['rustc', '--version'], in folder: None
INFO:myprocess:Successful run. Output:
rustc 1.59.0-nightly (78fd0f633 2021-12-29)

Compiling crowdfunding v0.0.1 (/home/pigeon/Downloads/contract/crowdfunding)
Compiling crowdfunding-meta v0.0.0 (/home/pigeon/Downloads/contract/crowdfunding/meta)
thread 'rustc' panicked at 'no entry found for key', compiler/rustc_metadata/src/rmeta/decoder.rs:1631:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (78fd0f633 2021-12-29) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [typeck] type-checking `main`
#1 [analysis] running analysis passes on this crate
end of query stack
error: could not compile `crowdfunding-meta`
CRITICAL:cli:Build error: error code = 101, see output.
```



<p>

```
Im a newbie to both rust and vscode and all the methods of setting RUST_BACKTRACE didn't seem to work for me. How do you properly set its value?
<backtrace>
```

</p>
</details>
Repository: TypeScript
Issue: nodenext allows trailing slash module specifier to match `.` export
Labels: Bug,Domain: ES Modules

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

nodenext trailing slash

<!--
  What search terms did you use when trying to find an existing bug report?
  List them here so people in the future can find this one more easily.
-->

### 💻 Code

```ts
// @Filename: /node_modules/foo/package.json
{
  "name": "foo",
  "exports": {
    ".": "./index.d.ts"
  }
}

// @Filename: /node_modules/foo/index.d.ts
export {};

// @Filename: /index.ts
import {} from "foo/";
```

### 🙁 Actual behavior

No error

### 🙂 Expected behavior

Error on module specifier to match Node behavior: `Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './' is not defined by "exports"`
Repository: storybook
Issue: Remove the stub LinkTo function in addon-links
Labels: feature request,needs triage

The `LinkTo` function that is exported from the root of `addon-links` does nothing other than printing an error to the console. This was added to avoid introducing a disruptive change as the component was moved to `/react`. But it has been a while since the change (https://github.com/storybookjs/storybook/pull/2239), and I think we can remove the function in the next major release to keep the codebase clean.

https://github.com/storybookjs/storybook/blob/7064642e1aee7786c77fe735c064c0c29dbcee01/addons/links/src/index.ts#L5-L15

(I'm using the feature request issue template as I don't think the "bug" label is appropriate.)
Repository: rust
Issue: rustdoc-gui tests sporadically failing
Labels: A-testsuite,T-rustdoc,C-bug,I-flaky-test

The `src/test/rustdoc-gui` tests have been sporadically failing on CI:

* https://github.com/rust-lang/rust/pull/93778#issuecomment-1032804754
* https://github.com/rust-lang/rust/pull/93778#issuecomment-1033131524
* https://github.com/rust-lang/rust/pull/93626#issuecomment-1031823968
* https://github.com/rust-lang/rust/pull/93677#issuecomment-1030708214
* https://github.com/rust-lang/rust/pull/93721#issuecomment-1031001101'

These may have started with #93597
cc @GuillaumeGomez 

There are various different errors:

```
/checkout/src/test/rustdoc-gui/search-tab-selection-if-current-is-empty.goml search-tab-selection-if-current-is-empty... FAILED
[ERROR] (line 6) TimeoutError: waiting for selector "#titles" failed: timeout 30000ms exceeded: for command `wait-for: "#titles"`
```

```
/checkout/src/test/rustdoc-gui/search-result-display.goml search-result-display... FAILED
[ERROR] (line 6) TimeoutError: waiting for selector "#titles" failed: timeout 30000ms exceeded: for command `wait-for: "#titles"`
```

```
/checkout/src/test/rustdoc-gui/src-font-size.goml An exception occured: read ECONNRESET
== STACKTRACE ==
Error
    at innerRunTestCode (/node-v14.4.0-linux-x64/lib/node_modules/browser-ui-test/src/index.js:468:16)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async main (/checkout/src/tools/rustdoc-gui/tester.js:226:13)
```

```
/checkout/src/test/rustdoc-gui/mobile.goml An exception occured: Failed to launch the browser process!
Inconsistency detected by ld.so: dl-tls.c: 493: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
== STACKTRACE ==
Error
Error
    at innerRunTestCode (/node-v14.4.0-linux-x64/lib/node_modules/browser-ui-test/src/index.js:468:16)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
```
Repository: angular
Issue: zone.js cause "Unable to preventDefault inside passive event listener invocation." "errors", if passive handler is added first 
Labels: area: zones,P3

### Which @angular/* package(s) are the source of the bug?

Don't known / other

### Is this a regression?

No

### Description

There is issue with zone.js **addEventListener** patch. If you add listener with { passive: true } options first, same handler will be used for non-passive event listeners. As result calling event.preventDefault() causing error. Code example:

```
import 'zone.js';

document.addEventListener('mousemove', (ev) => {}, { passive: true });
document.addEventListener('mousemove', (ev) => {
  ev.preventDefault(); // throws error
});
```


### Please provide a link to a minimal reproduction of the bug

Demo - https://js-dtyss2.stackblitz.io/
Code - https://stackblitz.com/edit/js-dtyss2

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

```
OS: win32 x64
Browser: Chrome 98

@zone.js        0.11.4
```

### Anything else?

_No response_
Repository: flutter
Issue: Compiling iOS using a different toolchain
Labels: platform-ios,tool,t: xcode,P3,team-ios,triaged-ios

I'm trying to compile an app that uses a package with an iOS library that was built using the 5.4.2 swift compiler.

Running the `flutter build ios` command, using flutter 2.2.3 (last compatible flutter version with the library), I get the error

> `error: module compiled with Swift 5.4.2 cannot be imported by the Swift 5.5.2 compiler`

It is possible to install an older toolchain from https://www.swift.org/download/ and select that one in XCode from XCode -> Toolchains -> Manage Toolchains. However, this doesn't seem to affect the flutter build command.
Are there any environment variables I can set in order to use another swift compiler for the `flutter build` command?
Repository: vscode
Issue: Background update on Windows steals focus
Labels: bug,install-update,windows

<!-- ⚠️⚠️ 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: any
- OS Version: Windows 10/11 any

Steps to Reproduce:

1. Have background update option enabled.
2. Launch VSCode, start doing something.
3. VSCode detects an update, puts the timer overlay on Settings icon on the left rail, focus goes away from VSCode window.

This happens all the time across any VSCode and Windows 10/11 version. Great indicator of an update that had arrived, even though I specifically want it to happen in _background_.
Repository: pytorch
Issue: Feature: Add tril_embed and triu_embed
Labels: feature,triaged,module: linear algebra,module: tensor creation

### 🚀 The feature, motivation and pitch

Add functions `tril_embed` and `triu_embed` analogous to [`diag_embed`](https://pytorch.org/docs/stable/generated/torch.diag_embed.html) but for constructing lower and upper triangular matrices, respectively.

### Alternatives

As an example, here is a partial implementation of `tril_embed`:

```python3
import torch
from math import isqrt

def tril_embed(x, offset=0):
    if offset > 0:
        raise Exception('only offset <= 0 is currently supported')
    n = (isqrt(8 * x.shape[-1] + 1) - 2 * offset - 1) // 2
    y = torch.zeros(*x.shape[:-1], n, n)
    i, j = torch.tril_indices(n, n, offset)
    y[..., i, j] = x
    return y

def test_tril_embed():
    n = 5
    offset = -2
    k = (n + offset) * (n + 1 + offset) // 2
    x = torch.randn(20, k)
    y = tril_embed(x, offset)
    assert torch.equal(y, y.tril(offset))
```

### Additional context

_No response_

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @IvanYashchuk @xwang233 @Lezcano @gchanan @rgommers
Repository: pytorch
Issue: Split up torch.distributions docs into multiple pages
Labels: module: distributions,module: docs,triaged

### 📚 The doc issue

The [distributions docs](https://pytorch.org/docs/stable/distributions.html) have grown to include many distributions, transforms, and constraints. The page is large and has become difficult to navigate.

### Suggest a potential alternative/fix

It would ease navigation and reduce page size if we split these docs up into separate pages. Two possibilities are:

**Solution 2: Split up by type:**
- distributions
- transforms
- constraints

**Solution 2: Split up by object**
- distributions
  - Normal
  - Exponential
  - ...
- transforms
  - SoftmaxTransform
  - ...
- constraints

cc @fritzo @neerajprad @alicanb @nikitaved @brianjo @mruberry
Repository: godot
Issue: Incorrect Node Path being assigned by Godot for VisualScript functions
Labels: bug,topic:editor,topic:visualscript

### Godot version

v3.4.2.stable.mono.official.45eaa2daf

### System information

Windows 10 Home

### Issue description

I have noticed that using the "Select a Node" menu 
![image](https://user-images.githubusercontent.com/66200144/153069860-7f742375-e2be-4fde-9bf8-ea829a92f829.png)
which opens from the "Node Path" option
![image](https://user-images.githubusercontent.com/66200144/153070022-4ab6c0d8-ba8d-4610-9d7c-7931c869b42e.png)
never results in a correct Node Path being set for the function, which gives an error:
![image](https://user-images.githubusercontent.com/66200144/153071550-bfa2c1ff-7871-4fbd-acb6-dcb6b09fca1f.png)


This is universal to all the functions and nodes I have tested in two different projects.
Position of the script node and assigned nodes also doesn't seem to matter.

There is a chance this problem is exclusive to my system, because using the Copy Node Path
![image](https://user-images.githubusercontent.com/66200144/153071873-d128feaf-674e-472d-b8ce-cb0369cc30e5.png)
also gives me a wrong Node Path AND I had the same problem in Godot v3.3.3

I can only get a proper Node Path if I:

- type it myself (for the Construct NodePath function)
- drag the node from the scene tree to the VS editor (this creates a function with linked Node Path)

I have only adjusted Display Settings for my projects and didnt adjust any Edittor Settings.

Perhaps the incorrect Node Paths are being assigned for another coding language? Outside tutorials I have only used VS but I did leave the C# option on (I dont remember the name but there was a pop-up).

### Steps to reproduce

1. Create a VS script
2. Add a function node within the script (I recommend something simple like "Set text" for a label node)
3. Connect all the inputs required for chosen function to be called.
4. Adjust the "Set Mode" option of the script to "Node Path"
5. Click on the Node Path in "Node Path" option, just below the "Set Mode" option.
6. Select any node.
7. Hit Play and try to call the function.

### Minimal reproduction project

_No response_
Repository: flutter
Issue: [flutter_tools] FileSystemException: Creation failed, path = 'C:\path' (OS Error: The system cannot find the file specified. , errno = 2)
Labels: c: crash,tool,P2,team-tool,triaged-tool

```
Thread 0 main threadFileSystemException: FileSystemException: Creation failed, path = 'D:\Project\Flutter\flutter_apps\lib' (OS Error: The system cannot find the file specified.
, errno = 2)
at _Directory.createSync(directory_impl.dart:133)
at _File.createSync(file_impl.dart:270)
at ForwardingFile.createSync(forwarding_file.dart:23)
at ErrorHandlingFile.createSync.<anonymous closure>(error_handling_io.dart:286)
at _runSync(error_handling_io.dart:597)
at ErrorHandlingFile.createSync(error_handling_io.dart:285)
at Template.render.<anonymous closure>(template.dart:293)
at _LinkedHashMapMixin.forEach(compact_hash.dart:539)
at Template.render(template.dart:253)
at CreateBase.renderMerged(create_base.dart:458)
at <asynchronous gap>(async)
at CreateBase.generateApp(create_base.dart:479)
at <asynchronous gap>(async)
at CreateCommand.runCommand(create.dart:295)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1161)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:209)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:281)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:229)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:62)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:94)
at <asynchronous gap>(async)
```

Note that we are calling `finalDestinationFile.createSync(recursive: true)` https://github.com/flutter/flutter/blob/stable/packages/flutter_tools/lib/src/template.dart#L293, we should investigate if this is not robust on Windows
Repository: go
Issue: runtime: clean up system call code
Labels: NeedsInvestigation,compiler/runtime

The code used to make system calls from the runtime is a mess and a big pain point when making OS-level changes in the runtime.

Quick summary of some of the pain points:

* Completely independent implementation from package `syscall`.
* System call stubs exist in a variety of OS- and arch-specific `sys*` files (57, to be precise, mostly assembly), totaling ~23k lines of code [1], which is 100% hand-written. Adding a new syscall stub often requires adding new assembly to 10+ files.
* There is no generic `Syscall` function that can be used to make an arbitrary system call. You *must* add a new stub to make a new call.

Some things we could do to improve the situation:

* Add generic `Syscall` functions, used by other stubs. And/or use code generation to generate stubs rather than doing so manually.
* Move syscall code to a new package (like `runtime/internal/syscall` or perhaps `runtime/internal/linux`?) to avoid littering the `runtime` package itself with so many files.
* Make package `syscall` depend on the runtime's `Syscall` stub so we only have a single implementation.

[1] Some of this code is things other than syscall stubs, like thread entrypoints.

cc @aclements @mknyszek @cherrymui