sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Removal Request - Streamsb
Labels: site-support-request

Dear Sirs,

We, Aiplex Software Private Limited an Antipiracy solution provider located in Bangalore, work on behalf of various production houses and broadcasters (the “Rights Holders”) across India. We protect the intellectual property and copyrights of our clients.

We request your good self to delete the same immediately.

We have sent an email from: [enforcement@aiplex.com]Mon 8/22/2022 4:25 PM

Best Regards
Antipiracy Team
Aiplex Software Private Limited

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [ ] I'm reporting a new site support request
- [ ] I've verified that I'm running youtube-dl version **2021.12.17**
- [ ] I've checked that all provided URLs are alive and playable in a browser
- [ ] I've checked that none of provided URLs violate any copyrights
- [ ] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.youtube.com/watch?v=BaW_jenozKc
- Single video: https://youtu.be/BaW_jenozKc
- Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

WRITE DESCRIPTION HERE
Repository: go
Issue: runtime: TestMemStats failure with `insanely high value` on openbsd-amd64-68
Labels: OS-OpenBSD,NeedsInvestigation

```
#!watchflakes
post <- pkg == "runtime" && test == "TestMemStats" && `insanely high value`
```

```
##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick
--- FAIL: TestMemStats (0.00s)
    malloc_test.go:93: PauseTotalNs = 18446744073177999286: insanely high value (overflow?); want <= 1e+11
FAIL
FAIL	runtime	21.088s
```

`greplogs -l -e 'FAIL: TestMemStats.*(?:\n\s+.*)*insanely high value' --since=2022-01-01`
[2022-09-09T01:04:57-76c94eb/openbsd-amd64-68](https://build.golang.org/log/d6cc3fc8dec2c6f134321b8d6125ff52627b2044)

attn @golang/openbsd; CC @golang/runtime
Repository: go
Issue: log/syslog: TestWrite failures with empty Info
Labels: help wanted,NeedsInvestigation

```
#!watchflakes
post <- pkg == "log/syslog" && test == "TestWrite"
```

```
--- FAIL: TestWrite (1.83s)
    syslog_test.go:335: s.Info() = '""', didn't match '"<11>%s %s syslog_test[%d]: write test\n"' (0 unexpected EOF)
FAIL
FAIL	log/syslog	2.690s
```

`greplogs -l -e 'FAIL: TestWrite.*(?:\n\s+.*)*s\.Info\(\) = '\''""'\' --since=2022-01-01`
[2022-09-07T16:00:20-7033275/linux-amd64-wsl](https://build.golang.org/log/eb952cd09b5b76ea8c803b3c86850e7c7c1ab3a4)
[2022-06-17T21:35:36-d42a488/netbsd-arm64-bsiegert](https://build.golang.org/log/8994a4892675d3c54ca32d5ae5d9b27aa3fd3a23)
Repository: tauri
Issue: [bug] Building release Appimage leads to broken external binary in the package
Labels: type: bug,status: needs triage

### Describe the bug

When building the app for release with an external binary (this binary was built using [pkg](https://github.com/vercel/pkg)) this causes the binary to break only for AppImage works fine it's a deb on macOS & windows.



### Reproduction

1. Download the linux binary from [here](https://github.com/perspect3vism/ad4m-host/releases/tag/v0.0.29-hotfix4)
2. Clone this repo: https://github.com/fayeed/test-tauri
3. Copy that to `src-tauri/bins`
4. Run `yarn tauri build`
5. The Binary that's copied in `src-tauri/target/release/bundle/appimage/test-tauri.AppDir/usr/bin/ad4m` when run using `./ad4m serve` will throw this error message
````
pkg/prelude/bootstrap.js:1

���
   �/�$����_��&�"�-���
                      �/�(������[��*�︈b
 

SyntaxError: Invalid or unexpected token
    at new Script (node:vm:101:7)
    at readPrelude (node:internal/bootstrap/pkg:29:13)
    at node:internal/bootstrap/pkg:36:18
    at node:internal/bootstrap/pkg:43:4
    at node:internal/bootstrap/pkg:44:2
````

### Expected behavior

Expect the release AppImage binary to work.

### Platform and versions

Environment
  › OS: Ubuntu 22.04 X64
  › Node.js: 16.13.2
  › npm: 8.1.2
  › pnpm: Not installed!
  › yarn: 1.22.15
  › rustup: 1.24.3
  › rustc: 1.60.0
  › cargo: 1.60.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu 

Packages
  › @tauri-apps/cli [NPM]: 1.0.5
  › @tauri-apps/api [NPM]: Not installed!
  › tauri [RUST]: 1.0.5,
  › tauri-build [RUST]: 1.0.4,
  › tao [RUST]: 0.12.2,
  › wry [RUST]: 0.19.0,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../src
  › devPath: ../src

App directory structure
  ├─ node_modules
  ├─ src
  ├─ .git
  ├─ src-tauri
  └─ .vscode

### Stack trace

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: Fancy Zones Layout Change using Scroll Wheel
Labels: Idea-Enhancement,FancyZones-Layouts,Needs-Triage

### Description of the new feature / enhancement

Utilizing the scroll wheel (or any other input method) to toggle between different layout in fancy zones. 

### Scenario when this would be used?

To be able to use all of fancy zones features without having to use the keyboard; same reason for using the right click option for activating fancy zones over the default "shift" key. 

### Supporting information

_No response_
Repository: flutter
Issue: Remove non-trivially destructed global variables
Labels: engine,P2,c: tech-debt,team-engine,triaged-engine

The engine has multiple global variables that are not trivially destructed.  This is against the [Google C++ Style Guide]( https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables ) because it can lead to bugs that are hard to track down and are potentially platform specific.

I ran afoul of this when developing unit tests for https://github.com/flutter/engine/pull/35893 where the unit tests will pass on macOS but would [crash]( https://gist.github.com/loic-sharma/2786bd5bde34846f788352b124e3e6aa ) on Windows during the process of shutting down the process.   The global variable causing the issue is [the one in MessageLoop](https://github.com/gaaclarke/engine/blob/41455fd4f7287c01b233d8afd7c4fb2204ede469/fml/message_loop.cc#L17:L17).

The particular case that lead to the crash appears to happen when capturing one task runner in another task runner's event.  I'm still debugging this issue to see if there is some way we can get it working but the fact of the matter is that this isn't supposed to be an issue that pops up in one platform and not the other because of the rules defined in the style guide.
```c++
      auto ui_task_runner = task_runners_.GetUITaskRunner();
      task_runners_.GetPlatformTaskRunner()->PostTask(fml::MakeCopyable(
          [weak_platform_message_handler =
               std::weak_ptr<PlatformMessageHandler>(platform_message_handler_),
           message = std::move(message), ui_task_runner]() mutable {
            // The static leak checker gets confused by the use of
            // fml::MakeCopyable.
            // NOLINTNEXTLINE(clang-analyzer-core.CallAndMessage)
            ui_task_runner->PostTask(fml::MakeCopyable(
                [weak_platform_message_handler, message = std::move(message),
                 ui_task_runner]() mutable {
                  auto platform_message_handler =
                      weak_platform_message_handler.lock();
                  if (platform_message_handler) {
                    platform_message_handler->HandlePlatformMessage(
                        std::move(message));
                  }
                }));
          }));
```
(It is weird that the last lambda is holding onto `ui_task_runner` but it seems to have the problem without it too)
Repository: flutter
Issue: [file_selector] Add iOS's implementations for getDirectoryPath and getSavePath
Labels: c: new feature,platform-ios,package,c: proposal,P3,p: file_selector,team-ios,triaged-ios

## Use case
The current implementation of the [file_selector plugin](https://github.com/flutter/plugins/tree/main/packages/file_selector) has missing features on iOS.

<img src="https://user-images.githubusercontent.com/7011782/190223623-8569e224-353b-44ea-8627-74da46b1bed7.png"  width="300">
<img src="https://user-images.githubusercontent.com/7011782/190223687-3a35210a-ae19-4154-a1e7-cf85fb7f9713.png"  width="300">

There are [other packages](https://github.com/miguelpruivo/flutter_file_picker) available that offer this implementation that can be used as guidance.


## Proposal
Add the missing implementations to satisfy the whole interface.
Repository: godot
Issue: Preview appears to be incorrect on materials
Labels: bug,topic:rendering,topic:editor

### Godot version

0a0843a67d51eaacf5d3350d6c39a3893e3c1d6c

### System information

Windows 10, Nvidia 3000 series

### Issue description

The preview has these weird squares.

![image](https://user-images.githubusercontent.com/32321/190227270-cc94efed-965b-49ae-a30b-c2ebad0d46b1.png)

https://github.com/godotengine/godot/issues/57895#issuecomment-1036937522



### Steps to reproduce

1. Import
2. Inspect the material and the preview is incorrect.

### Minimal reproduction project

https://github.com/godotengine/godot/files/8052510/Mesh.Rendering.Bug_1.zip
Repository: godot
Issue: Setting lowest limits under Performance Settings crashes the project on load
Labels: bug,topic:core,needs testing,crash

### Godot version

3.5 stable

### System information

Garuda Linux, 5900HX, 6800M

### Issue description

My project was very slow on HTML export on tablets so I set all the limits on the lowest possible values under Performance settings and now I'm unable to even load the project. It crashes on load.

### Steps to reproduce

Set all the limits to the lowest value under Performance Settings. The project will crash and it will crash on load on every subsequent effort to open it.

### Minimal reproduction project

Unfortunately I can't provide the project because it's for a company. The default scene though is all 2D and consist of 2 images, 3 buttons and 3 labels.
Repository: pytorch
Issue: [CheckpointWrapper] Revamp API design
Labels: oncall: distributed,better-engineering,module: fsdp

### 🚀 The feature, motivation and pitch

CheckpointWrapper today is still in a private / prototype stage but nonetheless has gotten quite hacky with several different arguments, some of which don't work with each other, see this comment for details: https://github.com/pytorch/pytorch/pull/84908#discussion_r970933952.

In particular the following is confusing:

1. checkpoint_impl ignored if checkpoint_fn is specified
2. Both of the above are ignored if offload_to_cpu is specified
3. checkpoint_fn_args, checkpoint_fn_kwargs only used when checkpoint_fn is specified,

and adding additional options will likely only exacerbate the issue. We should revamp the design here to make it more user-friendly.

### Alternatives

_No response_

### Additional context

_No response_

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang @kwen2501
Repository: rust
Issue: Error::source and Error::cause do not expose immediate error in custom io::Error
Labels: T-libs-api,C-bug,A-error-handling

I tried this code ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=8652db49f5a01a73b64051a4aa9bc7d2)):

```rust
use std::error::Error;

#[derive(Debug, PartialEq, Eq)]
struct E;

impl std::fmt::Display for E {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "E")
    }
}

impl Error for E {}

#[test]
fn custom_io_has_source() {
    let e = E;
    let e = std::io::Error::new(std::io::ErrorKind::Other, e);
    assert_eq!(e.source().and_then(|s| s.downcast_ref::<E>()), Some(&E));
}

```

I expected to see this happen: the test passed

Instead, this happened: the test failed with
```
thread 'custom_io_has_source' panicked at 'assertion failed: `(left == right)`
  left: `None`,
 right: `Some(E)`', src/lib.rs:18:5
```

I don't _believe_ this is intentional, since the code standard library `impl Error for io::Error` specifically has:

https://github.com/rust-lang/rust/blob/a92669638461836f41f54f95e396f9082bb91391/library/std/src/io/error.rs#L963

In fact, it was _specifically_ implemented in https://github.com/rust-lang/rust/pull/58963, but that PR doesn't appear to have included any tests. The test above fails even on 1.30.0 (which is the first Rust version with `fn source`).

What's even more interesting is that `assert!(e.cause().is_some())` fails all the way back to Rust 1.0, so it sure seems like something is fishy here.

I wonder if @thomcc may know how the source might be disappearing given his work in #87869?

Another interesting tidbit here is that using [`io_error_downcast`](https://github.com/rust-lang/rust/issues/99262) we _do_ get the inner error, meaning there will (when that feature lands) be a discrepancy between `io::Error`'s `.source()` and `.downcast()`.

```rust
assert_eq!(e.downcast::<E>().unwrap(), Box::new(E));
```

### Meta

`rustc --version --verbose`:
```
rustc 1.63.0 (4b91a6ea7 2022-08-08)
binary: rustc
commit-hash: 4b91a6ea7258a947e59c6522cd5898e7c0a6a88f
commit-date: 2022-08-08
host: aarch64-unknown-linux-gnu
release: 1.63.0
LLVM version: 14.0.5
```
Repository: terminal
Issue: Themes should be included from fragments
Labels: Area-Settings,Product-Terminal,Issue-Task,Area-Theming

Basically the title. Just like schemes. Users should be able to 

```curl raw.github.com/microsoft/terminal/samples/accent.json > "%localappdata%\Microsoft\Windows Terminal\Fragments\themes\"```

and have it just work 😉
Repository: flutter
Issue: [Android] "[DP] cancelDraw" warning prints while app is starting on some Samsung devices
Labels: e: device-specific,platform-android,P3,e: samsung,team-android,triaged-android

On some Samsung devices, the warning

```
I/ViewRootImpl@91023c2[MainActivity]( 2630): [DP] cancelDraw io.flutter.embedding.android.FlutterActivityAndFragmentDelegate$2@a3ede7d isViewVisible: true
```

is printed many times before the app starts up and the Flutter Ui is displayed.

This has been reproduced on the following devices (see [original issue](https://github.com/flutter/flutter/issues/93668)):

- Galaxy s10+ (Android 11)
- Galaxy Z7 (Android 11)
- Galaxy Note 10
- Galaxy M31
- Galaxy M21
- Galaxy A51 (Android 11)
- Galaxy A50 (Android 11)
- Galaxy Tab A (Android 11)
- Galaxy Tab A (Android 11)
- Galaxy Tab S6 Lite
- Galaxy TabA7 (Android 11)
- Galaxy S20 Ultra (Android 10)
- Galaxy S10e (Android 11)
- Galaxy S10 (Android 12)
- Galaxy S10 Ultra


This warning by itself is **not** an error. **If you are experiencing the warning **and** the app is not starting at all, please report this under https://github.com/flutter/flutter/issues/111594.**
Repository: flutter
Issue: [Android] App stalls on blank screen and does not start on some Samsung devices
Labels: e: device-specific,platform-android,P2,e: samsung,team-android,triaged-android

On some Samsung devices, the app starts up, but stalls on a blank screen and never renders the Flutter UI.

This issue was reported to be reproducible on the following devices:

- Galaxy M21 (Android 11)
- Galaxy S10 Ultra
- Galaxy A7 Tab

This was originally reported under https://github.com/flutter/flutter/issues/93668, but has not yet been reproduced. If you are experiencing this, please include reproduction information in this thread,

**If you are not experiencing this, but instead the warning [DP] cancel draw discussed [here](https://github.com/flutter/flutter/issues/111593), please report it under https://github.com/flutter/flutter/issues/111593.**
Repository: storybook
Issue: `ts-node` in dependency tree breaks Storybook with TypeScript config
Labels: help wanted,configuration babel / webpack,documentation,has workaround

**Describe the bug**

After following the instructions to [configure my project with TypeScript](https://storybook.js.org/docs/react/configure/overview#configure-your-project-with-typescript), if I install `ts-node` or a dependency that depends on `ts-node`, then `npm run storybook` exits with the following error:

```
/Users/me/test/storybook-ts-node/.storybook/main.ts:15

SyntaxError: Unexpected token 'export'
ERR!     at Object.compileFunction (node:vm:352:18)
ERR!     at wrapSafe (node:internal/modules/cjs/loader:1033:15)
ERR!     at Module._compile (node:internal/modules/cjs/loader:1069:27)
ERR!     at Module.m._compile (/Users/me/test/storybook-ts-node/node_modules/ts-node/src/index.ts:1618:23)
ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
ERR!     at Object.require.extensions.<computed> [as .ts] (/Users/me/test/storybook-ts-node/node_modules/ts-node/src/index.ts:1621:12)
ERR!     at Module.load (node:internal/modules/cjs/loader:981:32)
ERR!     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
ERR!     at Module.require (node:internal/modules/cjs/loader:1005:19)
ERR!     at require (node:internal/modules/cjs/helpers:102:18)
```

If I remove the package then `npm run storybook` works fine. 

**To Reproduce**

1. Clone this repo: https://github.com/tim-phillips/storybook-ts-node-repro
2. Run `npm run storybook`
3. Observe `SyntaxError`

I cannot deploy this reproduction since the bug prevents build. 

In this repro, `@commitlint/cli` includes the dependency `ts-node`.

**System**


Environment Info:

```
  System:
    OS: macOS 12.5
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 16.15.1 - ~/.volta/tools/image/node/16.15.1/bin/node
    Yarn: 3.2.3 - ~/.volta/tools/image/yarn/1.22.17/bin/yarn
    npm: 8.11.0 - ~/.volta/tools/image/node/16.15.1/bin/npm
  Browsers:
    Chrome: 105.0.5195.102
    Firefox: 95.0.2
    Safari: 15.6
  npmPackages:
    @storybook/addon-actions: ^6.5.11 => 6.5.11 
    @storybook/addon-docs: ^6.5.11 => 6.5.11 
    @storybook/addon-essentials: ^6.5.11 => 6.5.11 
    @storybook/addon-interactions: ^6.5.11 => 6.5.11 
    @storybook/addon-links: ^6.5.11 => 6.5.11 
    @storybook/builder-webpack5: ^6.5.11 => 6.5.11 
    @storybook/manager-webpack5: ^6.5.11 => 6.5.11 
    @storybook/node-logger: ^6.5.11 => 6.5.11 
    @storybook/preset-create-react-app: ^4.1.2 => 4.1.2 
    @storybook/react: ^6.5.11 => 6.5.11 
    @storybook/testing-library: ^0.0.13 => 0.0.13 
```
Repository: rust
Issue: Writing `float::pow(int)` causes rustc to suggest using `powf`, not `powi`
Labels: A-diagnostics,T-compiler

While trying to raise a float to an integer power, if the user tries to write `float.pow(int)`, rustc suggests using `powf`, which then results in a type error. rustc then suggests casting the int to a float with `as`. The correct fix would instead be to use `powi`.

Given the following code: [[playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=7d07e5ca1f680d90b18c9d25fdd3216e)]

```rust
fn main() {
    let x: f32 = 10.0;
    let p: i32 = 3;
    let x_cubed = x.pow(p);
    println!("{} cubed is {}", x, x_cubed);
}
```

The current output is:

```
error[[E0599]](https://doc.rust-lang.org/stable/error-index.html#E0599): no method named `pow` found for type `f32` in the current scope
 --> src/main.rs:4:21
  |
4 |     let x_cubed = x.pow(p);
  |                     ^^^ help: there is an associated function with a similar name: `powf`

For more information about this error, try `rustc --explain E0599`.
```

When using the suggested fix, the output is:

```
error[[E0308]](https://doc.rust-lang.org/stable/error-index.html#E0308): mismatched types
 --> src/main.rs:4:26
  |
4 |     let x_cubed = x.powf(p);
  |                     ---- ^ expected `f32`, found `i32`
  |                     |
  |                     arguments to this function are incorrect
  |
note: associated function defined here
help: you can convert an `i32` to an `f32`, producing the floating point representation of the integer, rounded if necessary
  |
4 |     let x_cubed = x.powf(p as f32);
  |                            ++++++

For more information about this error, try `rustc --explain E0308`.
```

Ideally the output should look like:

```
error[[E0599]](https://doc.rust-lang.org/stable/error-index.html#E0599): no method named `pow` found for type `f32` in the current scope
 --> src/main.rs:4:21
  |
4 |     let x_cubed = x.pow(p);
  |                     ^^^ help: there is an associated function with a similar name: `powi`

For more information about this error, try `rustc --explain E0599`.
```

The ideal output provides a working fix, and is likely to be more correct to the user's intended function.
Repository: excalidraw
Issue: svg generation outside of browser contexts
Labels: enhancement

generating svg from excalidraw source outside the browser

related: https://github.com/excalidraw/excalidraw/issues/1261
Repository: create-react-app
Issue: How can I configure react-scripts jest to mock the return of an endpoint?
Labels: needs triage

I'm trying to use a custom configuration for jest by running this command

`react-scripts test -- --config=jest.config.js`

```
jest.config.js
/* eslint-disable no-undef */
module.exports = {
 setupFilesAfterEnv: ['<rootDir>/jestSetup.js'],
 preset: 'ts-jest',
  testEnvironment: 'node',
  transform: {
    '^.+\\.ts?$': 'ts-jest',
  },
  transformIgnorePatterns: ['<rootDir>/node_modules/'],
}
```

``` 
jestSetup.js

const { server } = require('./src/app/mocks/api/server')
const AbortController = require('abort-controller')
const { fetch, Headers, Request, Response } = require('cross-fetch')

// Establish API mocking before all tests.
beforeAll(() => {
  server.listen()
})

// Reset any request handlers that we may add during the tests,
// so they don't affect other tests.
afterEach(() => server.resetHandlers())

// Clean up after the tests are finished.
afterAll(() => server.close())

global.fetch = fetch
global.Headers = Headers
global.Request = Request
global.Response = Response
global.AbortController = AbortController
```