sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Subtitle support for CloudFlareStream and videodelivery.net
Labels: request

## Checklist

- [x] I'm reporting a site feature request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've searched the bugtracker for similar site feature requests including closed ones


## Description
Hello, 

I've tried to download a video on videodelivery with options for subtitles but youtube-dl says that there isn't any subtitles associated with the video. 
youtube-dl  --list-subs      https://videodelivery.net/e9b513b0d66329997b0054d20356b02e/manifest/video.m3u8
[CloudflareStream] e9b513b0d66329997b0054d20356b02e: Downloading m3u8 information
[CloudflareStream] e9b513b0d66329997b0054d20356b02e: Downloading MPD manifest
**e9b513b0d66329997b0054d20356b02e has no subtitles**

The m3u8 file show that subtitles are possible (below). Please, can you add subtitle support for this provider ?

#EXTM3U
#EXT-X-VERSION:6
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_audio",NAME="original",LANGUAGE="en-3f7079ec",DEFAULT=YES,AUTOSELECT=YES,URI="stream_t3f7079ec182d43ff6ba7e6710df4531a_r684792.m3u8"
**#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="group_subtitle",LANGUAGE="cs",NAME="čeština",DEFAULT=NO,FORCED=NO,URI="stream_tba3e9858d784df665c88d27b4e9f84ef_r95446248.m3u8"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="group_subtitle",LANGUAGE="en",NAME="English",DEFAULT=NO,FORCED=NO,URI="stream_te634b76d15e4daa9f1df88fc86028587_r161166111.m3u8"**
#EXT-X-STREAM-INF:RESOLUTION=1280x720,CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=3988960,FRAME-RATE=25.000,AUDIO="group_audio",SUBTITLES="group_subtitle"
stream_t0cb40671b0d03b23da032945984bb931_r684790.m3u8
#EXT-X-STREAM-INF:RESOLUTION=1920x1080,CODECS="avc1.4d4028,mp4a.40.2",BANDWIDTH=5700960,FRAME-RATE=25.000,AUDIO="group_audio",SUBTITLES="group_subtitle"
stream_t0cb40671b0d03b23da032945984bb931_r684791.m3u8
#EXT-X-STREAM-INF:RESOLUTION=854x480,CODECS="avc1.4d401e,mp4a.40.2",BANDWIDTH=2062960,FRAME-RATE=25.000,AUDIO="group_audio",SUBTITLES="group_subtitle"
stream_t0cb40671b0d03b23da032945984bb931_r684789.m3u8
#EXT-X-STREAM-INF:RESOLUTION=640x360,CODECS="avc1.4d401e,mp4a.40.2",BANDWIDTH=992960,FRAME-RATE=25.000,AUDIO="group_audio",SUBTITLES="group_subtitle"
stream_t0cb40671b0d03b23da032945984bb931_r684788.m3u8
#EXT-X-STREAM-INF:RESOLUTION=426x240,CODECS="avc1.42c015,mp4a.40.2",BANDWIDTH=564960,FRAME-RATE=25.000,AUDIO="group_audio",SUBTITLES="group_subtitle"
stream_t0cb40671b0d03b23da032945984bb931_r684787.m3u8
Repository: stable-diffusion-webui
Issue: [Bug]: TypeError: unsupported operand type(s) for +: 'NoneType' and 'int' when using img2img alternative test
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Webui fails to generate an image if using the img2img alternative test.

### Steps to reproduce the problem

1. Go to img2img.
2. Choose img2img alternative test.
3. Upload image and write prompt, parameters, settings, etc.
4. Generate.

### What should have happened?

An image should generate.

### Commit where the problem happens

ccd73fc

### What platforms do you use to access UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
--deepdanbooru --xformers --gradio-img2img-tool color-sketch
```


### Additional information, context and logs

Traceback (most recent call last):
  File "G:\stable-webui\modules\ui.py", line 188, in f
    res = list(func(*args, **kwargs))
  File "G:\stable-webui\webui.py", line 57, in f
    res = func(*args, **kwargs)
  File "G:\stable-webui\modules\img2img.py", line 137, in img2img
    processed = modules.scripts.scripts_img2img.run(p, *args)
  File "G:\stable-webui\modules\scripts.py", line 290, in run
    processed = script.run(p, *script_args)
  File "G:\stable-webui\scripts\img2imgalt.py", line 213, in run
    processed = processing.process_images(p)
  File "G:\stable-webui\modules\processing.py", line 429, in process_images
    res = process_images_inner(p)
  File "G:\stable-webui\modules\processing.py", line 529, in process_images_inner
    samples_ddim = p.sample(conditioning=c, unconditional_conditioning=uc, seeds=seeds, subseeds=subseeds, subseed_strength=p.subseed_strength, prompts=prompts)
  File "G:\stable-webui\scripts\img2imgalt.py", line 200, in sample_extra
    p.seed = p.seed + 1
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
Repository: transformers
Issue: longformer_content
Labels: New model

### Model description

This model will generate a content score for a summary given the context and the summary itself.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: i2i - not resize option
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

![2022-11-20 01 16 45](https://user-images.githubusercontent.com/20321215/202860832-0fd1ca63-3133-4b7c-93ad-d1d79a9239b2.png)

I want to retain the size of the original image.


### Proposed workflow

1. Go to ....  i2i
2. Press .... 
3. ...

Existing features) 
ori img1 w:123 , h:234
ori img2 w:555, h:555
set siz w:256 , h:128
ret img1 w:256 , h:128
ret img2 w:256 , h:128

i want)
ori img1 w:123 , h:234
ori img2 w:555, h:555
set siz w:256 , h:128 (Ignore)
ret img1 w:123 , h:234
ret img2 w:555, h:555

If you limit to a multiple of 64, treat it as close to a multiple of 64.

ret img1 w:128 , h:256
ret img2 w:512, h:512

### Additional information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: non work MagicPrompt-Stable-Diffusion mode - No module named 'aitextgen'
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

StableDiffusionUI-Voldemort V2.0 Colub

### Steps to reproduce the problem

1. Go to .... 
2. Press ....
3. ...


### What should have happened?

Closing server running on port: 7860
Reloading extensions
Reloading custom scripts
Error loading script: magicprompt.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 164, in load_scripts
    module = script_loading.load_module(scriptfile.path)
  File "/content/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "/content/stable-diffusion-webui/scripts/magicprompt.py", line 13, in <module>
    from aitextgen import aitextgen
ModuleNotFoundError: No module named 'aitextgen'

### Commit where the problem happens

StableDiffusionUI-Voldemort V2.0 Colub

### What platforms do you use to access UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

_No response_

### Additional information, context and logs

_No response_
Repository: vscode
Issue: allow filename#L<line_number> syntax to open file at specific line
Labels: feature-request,workbench-cli

<!-- ⚠️⚠️ 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. -->

to open a file at specific line, current syntax is:

```sh
code -g <filename>:<line_number>
```

please _also_ allow:

```sh
code -g '<filename>#L<linue_number>'
```
syntax to make it easier for copy and pasting permalinks from github.com, e.g.
`code extensions/git/src/protocolHandler.ts#L64`.

#### Breaking Change?

no, "also" is an operative word here.
Repository: vscode
Issue: [Bug] Diff Editors are not in the back/forward history
Labels: feature-request,diff-editor,workbench-history

<!-- ⚠️⚠️ 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. -->
Version: 1.74.0-insider (user setup)
Commit: 1b1e2a2c5794df1f475976062c754651827634a9
Date: 2022-11-18T05:25:18.342Z
Electron: 19.1.3
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22000
Sandboxed: Yes

## Description

For some reason diff editors are not added to the history when navigating. When doing some digging in this it seems DiffEditors get [disposed](https://github.com/microsoft/vscode/blob/main/src/vs/workbench/common/editor/diffEditorInput.ts#L235-L246) of when closing the editor (unlike normal single file editors). You can see the group [tries to re-open them](https://github.com/microsoft/vscode/blob/main/src/vs/workbench/browser/parts/editor/editorGroupView.ts#L957-L962) but falls into the return when they're already disposed, so nothing happens.

Why is this important? In GitHub when reviewing code you can open a file fully in isolation then click back to the diff. In VSCode this isn’t easy to do.
For more context see: https://github.com/microsoft/vscode/pull/165765

Steps to Reproduce:

## Timeline
1. Navigate to Timeline (so that you get a diff)
2. Now navigate to another file
3. press back
4. VSCode is unable to get back to the diff editor

## Source Control
1. Make a change then go to source control and click the diff
2. Close the tab then click back
4. VSCode is unable to get back to the diff editor


### Screencast
#### Source Control
![diffHIstory](https://user-images.githubusercontent.com/936006/202863695-a6083f2f-c8bd-4732-aec7-6b40aac3a082.gif)

#### Timeline
![diffHIstoryTimeline](https://user-images.githubusercontent.com/936006/202863742-8b1a56b3-e7d3-43f9-bbb1-b9eaf7aab2bb.gif)
Repository: node
Issue: pipeline and duplex having multiple error as well as not calling the pipeline function on some cases
Labels: stream

### Version

v18.12.1 and 16.18.1 and 16.10

### Platform

Darwin Razs-MBP 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64

### Subsystem

stream

### What steps will reproduce the bug?

Tested on:
- `18.12.1`
- `16.18.1`
- `16.10.0`

**Functions that will be used in the examples**
```js
function getData() {
  return Readable.from(['a', 'b', 'c', 'd']);
}

async function* stopAfterFirst(stream) {
  for await (const chunk of stream) {
    yield chunk;
    return;
  }
}

async function* justListen(stream) {
  for await (const _ of stream) ;
}

function createLogPipelineResult(prefix) {
  prefix = prefix ? `${prefix}: ` : '';
  return function logPipelineResult(e) {
    if(e) {
      console.log(`${prefix}pipeline error`, e);
    } else {
      console.log(`${prefix}pipeline succeeded`)
    }
  }
}
```

The following are the problematic cases:
```js

function duplexAndNotLast() {
  pipeline(
    getData(),
    Duplex.from(stopAfterFirst), // <- Wrapped with duplex
    justListen,
    createLogPipelineResult('duplexAndNotLast'),
  ).on('error', createLogPipelineResult('duplexAndNotLast on error'));

  // Node 18.12.1:
  // => duplexAndNotLast: pipeline error AbortError: The operation was aborted

  // Node 16.18.1 and 16.10.0:
  // => no log at all
}

function noDuplexAndNotLast() {
  pipeline(
    getData(),
    stopAfterFirst, // <- Not wrapped with duplex
    justListen,
    createLogPipelineResult('noDuplexAndNotLast'),
  ).on('error', createLogPipelineResult('noDuplexAndNotLast on error'));

  // Node 18.12.1:
  // => noDuplexAndNotLast: pipeline succeeded

  // Node 16.18.1 and 16.10.0:
  // => noDuplexAndNotLast: pipeline error Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
}

function duplexAndLast() {
  pipeline(
    getData(),
    Duplex.from(stopAfterFirst), // <- Wrapped with duplex and last
    createLogPipelineResult('duplexAndLast'),
  ).on('error', createLogPipelineResult('duplexAndLast on error'));


  // Node 18.12.1:
  // not logging **at all**

  // Node 16.18.1 and 16.10.0:
  // not logging **at all**
}

function noDuplexAndLast() {
  pipeline(
    getData(),
    stopAfterFirst, // <- Not wrapped with duplex and last
    createLogPipelineResult('noDuplexAndLast'),
  ).on('error', createLogPipelineResult('noDuplexAndLast on error'));

  // Node 18.12.1:
  // => noDuplexAndLast: pipeline succeeded

  // Node 16.18.1 and 16.10.0:
  // => noDuplexAndLast: pipeline error Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
}
```

### How often does it reproduce? Is there a required condition?

every time

### What is the expected behavior?

_No response_

### What do you see instead?

added in each function in `What steps will reproduce the bug?`

### Additional information

Maybe it's related to #44026
Repository: go
Issue: cmd/cgo: cgo "//export" usage missing crucial info
Labels: Documentation,help wanted,NeedsFix

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What is the URL of the page with the issue?

https://pkg.go.dev/cmd/cgo

About "//export".

While the example code itself shows correct usage, the paragraph surrounding it doesn't say two things you should NOT do:

1. Other "functional" comments in cgo allows beginning white spaces. Thus, for readability, one does (with a space between "//" and "#")
```
// #cgo pkg-config: ...
```

"//export" does not allow a space between. It is also extremely difficult to find out when the space should be deleted for this to work as intended. (A suitable warning if "// export ..." is used?)

2. The other less important thing is trailing garbage/comments. Though a suitable error is emitted, it would be nice to be able to do have trailing comments like this:

```
//export MyRoutine // used by MyOtherProject
```

3. It is also not clear whether the "//export MyRoutine" and the next line "func MyCoolRoutine ..." name must match. One might want to name routines by Go convention in Go code, but export as a different name  following C code's naming conventions, for example?


### What is your user agent?

<!--
You can find your user agent here:
https://www.google.com/search?q=what+is+my+user+agent
-->



### Screenshot

<!--
Please paste a screenshot of the page.
-->



### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
-->



### What did you expect to see?



### What did you see instead?
Repository: opencv
Issue: Being able to build Qt support as a plugin
Labels: feature,category: highgui-gui,category: build/install

### Descripe the feature and motivation

Qt is a heavy dependency to install.

It would be advantageous to build opencv once, and have qt as an optional dependency.



### Additional context

This was somewhat outlined in https://github.com/conda-forge/opencv-feedstock/issues/293#issuecomment-982373647
Repository: flutter
Issue: Add support to define widget preview and see it in the IDE when developing
Labels: c: new feature,c: proposal,d: devtools

## Use case

It is difficult to quickly find out what widget contains the dart file when opening it in the IDE. A developer has to read the code and try to guess what the widget looks like and whether this is the widget he searches for. Because of that, it is hard to get oriented in a project with a large code base or when joining a project created by someone else, or simply when you don't remember widget names by heart. One has to run the app and search for a particular widget e.g. based on strings visible in the app UI.
Also, a developer has to run the app when developing even a simple widget.

## Proposal

I would like to see a widget preview(s) when opening a dart file. Also, I would like to be able to define some example data for the widget preview, or even more preview options like font scale.
That would allow me to develop widgets without a need to run the app and orient quickly in the project.
 
In general, it would be useful to have the preview functionality similar to:
	• Android Compose annotations - @Preview/@PreviewParameter
		- https://developer.android.com/jetpack/compose/tooling#preview
	• or Swift UI PreviewProvider
 
Btw: it seems that there is starting one project that is similar to what I aim for -  https://pub.dev/packages/idea_widget_preview
Repository: youtube-dl
Issue: Twitch ads block
Labels: question

Hello, 

Is there a way to bypass ads on Twitch or different sites?

Thank you
Repository: godot
Issue: CharacterBody2D giving wrong floor normal when walking across the apex of a CircleShape2D
Labels: bug,topic:physics,topic:2d

### Godot version

4.0 beta5 (89a33d28f)

### System information

Ubuntu 22.04.1

### Issue description

Examining the return value of `get_floor_normal` on a CharacterBody2D with the template script for movement, sometimes returns a wrong normal when walking across the apex of a CircleShape2D.

### Steps to reproduce

Running the scene in the attached project:
A CharacterBody2D will drop on a StaticBody2D with a CircleShape2D.
When colliding, a pink line will be drawn to indicate the floor normal.
The floor normal will be pointing to the side, while a straight up normal is expected.
![Screenshot from 2022-11-19 22-47-59](https://user-images.githubusercontent.com/13875387/202873416-d4ec9ab4-760e-4392-9b4a-5746d17eb71c.png)

You can jump in place, and sometimes the correct normal will show.
You can also walk back and forth around the apex and have brief flashes appear of the incorrect normal.

### Minimal reproduction project

[CollisionNormalTest.zip](https://github.com/godotengine/godot/files/10048046/CollisionNormalTest.zip)
Repository: rust
Issue: Add warning for unnecessary imports
Labels: A-diagnostics,T-compiler

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.

If you cannot produce a minimal reproduction case (something that would work in
isolation), please provide the steps or even link to a repository that causes
the problematic output to occur.
-->

Given the following code: <!-- Please provide a link to play.rust-lang.org -->

```rust
use foo::*;
use foo::bar;

// ...
```

The current output is:

Nothing, assuming the modules exist and are used.

Ideally the output should look like:

```
warning: unnecessary import: `foo::bar`
 --> src\main.rs:2:5
  |
2 | use foo::bar;
  |     ^^^^^^^^
  |
  = note: `#[warn(unnecessary_imports)]` on by default
```

This sort of thing is fairly innocuous, but still probably merits a warning.

Incidentally, this:

```rust
use foo::bar;
use foo::bar;

// ...
```

Generates the output:

```
error[E0252]: the name `bar` is defined multiple times
 --> src\main.rs:2:5
  |
1 | use foo::bar;
  |     -------- previous import of the <module/type/value> `bar` here
2 | use foo::bar;
  |     ^^^^^^^^ `bar` reimported here
  |
  = note: `bar` must be defined only once in the <type/value> namespace of this module
```

And this:

```rust
use foo::{bar,baz};
use foo::bar;

// ...
```

Generates the same sort of thing:

```
error[E0252]: the name `bar` is defined multiple times
 --> src\main.rs:2:5
  |
1 | use foo::{bar,baz};
  |           --- previous import of the <module/type/value> `bar` here
2 | use foo::bar;
  |     ^^^^^^^^ `bar` reimported here
  |
  = note: `bar` must be defined only once in the <type/value> namespace of this module
```

So maybe it should be an extension of error E0252 rather than a warning?
Repository: godot
Issue: editor plugin language category rolls back to GDScript for C# plugin after reopening IDE
Labels: bug,topic:editor,topic:plugin,topic:dotnet

### Godot version

4.0.beta5.mono

### System information

MacOS 13.0.1 (22A400)

### Issue description

A plugin was created with C# Language. But in plugin edit page, the Language field shows GDScript. After changing to C# and reload the project it became GDScript again.

### Steps to reproduce
1. Create a C# plugin
2. Close IDE and reopen it.
3. Go to Project setting -> Plugin and edit plugin
4. The language is GDscript instead of C#
5. Change language to C# and save
6. Close IDE and reopen it
7. Go to Project setting -> Plugin and edit plugin
8. The language changes back to GDscript again



Here is a screen recording. Please wait for seconds to load:

![Kapture 2022-11-20 at 08 56 04](https://user-images.githubusercontent.com/8757916/202877714-80020b38-c9d6-4e45-b789-3643647db66b.gif)


### Minimal reproduction project

N/A
Repository: godot
Issue: svg thumbnail is not refreshed
Labels: bug,topic:editor,regression

### Godot version

4.0.beta5.mono

### System information

MacOS 13.0.1 (22A400)

### Issue description

thumbnail is still old one even if I rename it and change it back then

### Steps to reproduce
1. import a svg named with name.svg
2. delete name.svg and import another svg named with name.svg as well
3. the thumbnail in the IDE is still the old one

![Kapture 2022-11-20 at 09 24 13](https://user-images.githubusercontent.com/8757916/202878347-6a411589-9ec3-4021-8167-2df608450cc6.gif)



### Minimal reproduction project

N/A
Repository: godot
Issue: C# file name is case sensitive for custom plugin script but IDE doesn't raise error
Labels: bug,topic:editor,topic:plugin,topic:dotnet

### Godot version

4.0.beta5.mono

### System information

MacOS 13.0.1 (22A400)

### Issue description

I've a plugin named `pgm` and has a custom node with path `res://addons/pgm/ProceduralGenerationMap.cs`.
For the plugin entry code, I use a wrong path `res://addons/pgm/proceduralGenerationMap.cs` where I use a lower case for the `p`. The IDE won't load the custom node correctly but it doesn't throw any errors or warnings. The custom node will be treated as a common Node with a wrong path.

<img width="808" alt="image" src="https://user-images.githubusercontent.com/8757916/202879023-3c381361-9ba5-4030-899b-71d0de5cd2a3.png">

After I correct the path everything works fine.
<img width="786" alt="image" src="https://user-images.githubusercontent.com/8757916/202879258-da3a66c0-a217-4b6c-82c7-6ab6d65080e4.png">




### Steps to reproduce

N/A

### Minimal reproduction project

```C#
#if TOOLS
using Godot;

[Tool]
public partial class ProceduralGenerationMapPlugin : EditorPlugin
{
    public override void _EnterTree()
    {
        var proceduralGenerationMapScript =
            GD.Load<Script>("res://addons/pgm/ProceduralGenerationMap.cs");
        var proceduralGenerationMapLogo =
            GD.Load<Texture2D>("res://addons/pgm/procedural_generation_map_logo.svg");
        AddCustomType("ProceduralGenerationMap", "Node", proceduralGenerationMapScript, proceduralGenerationMapLogo);
    }

    public override void _ExitTree()
    {
        RemoveCustomType("ProceduralGenerationMap");
    }
}
#endif
```