sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Is there any documentation for developers?
Labels: question

<!--

######################################################################
  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:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [x] I've looked through the README and FAQ for similar questions
- [x] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

I'm coding my own extractor for a relatively new video platform. I'm not such an experienced coder and so am struggling to go through the code and understand the high-level structure of Youtube-DL. Is there any documentation for developers? Something which details how the program is designed, what some of the important classes are, how additions should be made, what code or file interacts with what etc? I've had a look at the Readme and it's rather too scant for me. I need more details. 

Is there a chatroom, IRC, or forum where Youtube-DL developers hang out, where I can chat and ask questions in real time?
Repository: vscode
Issue: Support generic markup cells in notebooks
Labels: feature-request,api,notebook-markdown

Tracks supporting markup cells in notebooks. We currently only support markdown cells, but we would also like to support other markup languages that can be rendered by an extension
Repository: deno
Issue: Request body `ReadableStream` chunks are not validated
Labels: bug,web,ext/fetch

When reading the readable stream, we should validate that all chunks are of type `Uint8Array`. See https://fetch.spec.whatwg.org/#incrementally-read-loop and https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes.
Repository: deno
Issue: Fetch is not retried on a 421 response on a new connection
Labels: bug,web,ext/fetch

See step 15 of https://fetch.spec.whatwg.org/#concept-http-network-or-cache-fetch. Probably requires upstream support in `reqwest`.
Repository: godot
Issue: Custom builds with disabled webp module crash
Labels: bug,topic:buildsystem,topic:import,crash

### Godot version

de04394c733925c2c2bff0e27626f203cc932c47

### System information

Win10 64x

### Issue description

Custom builds with disabled webp module crash in both editor and exported game (in Godot 4.x as well).

I tried to disable the newer webp feature for a custom Godot build cause I have no use for webp at all in a project but it is "hardcoded" instead of being a true module so the **module_webp_enabled=no** Scons parameter is basically a deathtrap.

### Steps to reproduce

Compile Godot from source with **module_webp_enabled=no** setting.

Editor or game crashes with an error from \scene\resources\texture.cpp around line 560 in Godot3.x and line 365 in Godot4.x  immediately when a texture is loaded.

### Minimal reproduction project

see steps
Repository: pytorch
Issue: [c10d] Make `broadcast_object_list` accept a device parameter
Labels: oncall: distributed,module: bootcamp

## 🚀 Feature
`torch.distributed.optim.ZeroRedundancyOptimizer` implements `_broadcast_object` which takes a `dist_device` argument, see: https://github.com/pytorch/pytorch/blob/master/torch/distributed/optim/zero_redundancy_optimizer.py#L56

We would like for the optimizer to use the available `dist.broadcast_object_list` API, in order to do this that API must also accept a `dist_device` argument. API: https://github.com/pytorch/pytorch/blob/master/torch/distributed/distributed_c10d.py#L1703

To preserve the backwards compatibility, we can default it to `None` in which case we can run the current logic of device selection, i.e. current_device if backend is NCCL otherwise CPU device. In the case it is not `None` we move all intermediate tensors to this given device.

## Motivation

This will help zero optimizer adopt `broadcast_object_list` API

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @agolynski @SciPioneer @H-Huang @mrzzd @cbalioglu @gcramer23
Repository: pytorch
Issue: Symbolic trace with *args
Labels: triaged,module: fx

## 🐛 Bug

When I'm trying to trace model with positional arguments `*args` in `forward`, the following error occurs:

`torch.fx.proxy.TraceError: Proxy object cannot be iterated. This can be attempted when used in a for loop or as a *args or **kwargs function argument.`

## To Reproduce
The simplified problem is `Container` that forwards positional arguments to its `Module`:

```python
from torch import Tensor
import torch.nn as nn
import torch.fx as fx

class Module(nn.Module):
    def forward(self, x):
        return x

class Container(nn.Module):
    def __init__(self):
        super().__init__()
        self._module = Module()

    def forward(self, *args):
        return self._module(*args)

model = Container()
model(Tensor())

trace = fx.symbolic_trace(model)  # Error.
```

## Expected behavior

Arguments should not be wrapped to `Proxy`, they should be passed directly to `Module`.

## Environment
```
PyTorch version: 1.8.1+cu102
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Fedora 34 (Workstation Edition) (x86_64)
GCC version: (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3)
Clang version: 12.0.0 (Fedora 12.0.0-2.fc34)
CMake version: version 3.20.3
Libc version: glibc-2.33

Python version: 3.9 (64-bit runtime)
Python platform: Linux-5.12.10-300.fc34.x86_64-x86_64-with-glibc2.33
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.20.2
[pip3] pytorch-ranger==0.1.1
[pip3] torch==1.8.1
[pip3] torch-optimizer==0.1.0
[pip3] torchvision==0.9.1
[conda] Could not collect
```

cc @ezyang @SherlockNoMad
Repository: godot
Issue: `EditorImportPlugin` does not call `get_option_visibility` when options change
Labels: bug,topic:editor,confirmed,topic:plugin,topic:import

### Godot version

3.3.2

### System information

Windows 10

### Issue description

The GDScript version of `EditorImportPlugin` has a method called `get_option_visibility` that allows you to change the visibility of an option based on other options.

The problem is that it doesn't get called when any options change, so it it virtually useless as of 3.3.2.

There is a slight chance this isn't a bug. If that's the case, let me know and I will make this a proposal instead

### Steps to reproduce

Import Plugins take a lot to set up, so I will describe the steps based on the minimal reproduction attached.

1. Open minimal reproduction
2. Double click the 'imported.custom' file and go to the import tab
3. Look in the output. You will see that the option visibilities were updated when you first clicked.
4. Change the dropdown value for "import_type" to "show"
5. Note that the visibilities are not updated.

You can trigger it to do the update by
1. Change import type
2. Click "Reimport"
3. Re-click the "imported.custom" file in the "FileSystem" dock

### Minimal reproduction project

[godot_bug_EditorImportPlugin_option_visibility.zip](https://github.com/godotengine/godot/files/6660250/godot_bug_EditorImportPlugin_option_visibility.zip)
Repository: flutter
Issue: The first long click with the S Pen crashes the app
Labels: e: device-specific,platform-android,engine,P2,c: fatal crash,team-android,triaged-android

I did a longpress test with a stylus pen of Samsung Galaxy Tab A with S Pen (SM-P200)
The first long click with the stylus will generate anr.

**Steps to Reproduce**
1. launch the app
2.  first long click with the stylus

**app code**
```
import 'package:flutter/material.dart';

void main() {
  runApp(new MaterialApp(
    home: new MyApp(),
  ));
}

class MyApp extends StatefulWidget {
  @override
  _State createState() => new _State();
}

class _State extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: AppBar(
        title: Text('long press test'),
      ),
      body: Center(
        child: ElevatedButton(
          child: Text('long press test'),
          onLongPress: (){
            print("long pressed");
          },
          onPressed: () {
            print("pressed");
          },
        )
      ),
    );
  }
}
```

**log**
```console
D/InputManager( 6522): setPointerIconType iconId = 20001, callingPid = 6522
I/flutter ( 6522): long pressed
I/utter_longclic( 6522): Thread[4,tid=6535,WaitingInMainSignalCatcherLoop,Thread*=0x79d300c400,peer=0x140802d0,"Signal Catcher"]: reacting to signal 3
I/utter_longclic( 6522): 
I/utter_longclic( 6522): Wrote stack traces to tombstoned
D/ViewRootImpl( 6522): updatePointerIcon pointerType = 20001, calling pid = 6522
D/InputManager( 6522): setPointerIconType iconId = 20001, callingPid = 6522
D/ViewRootImpl( 6522): updatePointerIcon pointerType = 20001, calling pid = 6522
D/InputManager( 6522): setPointerIconType iconId = 20001, callingPid = 6522
D/ViewRootImpl@aba22dd[MainActivity]( 6522): MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager( 6522): prepareNavigationBarInfo() DecorView@b974da1[MainActivity]
D/InputMethodManager( 6522): getNavigationBarColor() -855310
Lost connection to device.
```

**device**
OS version: Android 10
Devices:  Samsung Galaxy Tab A with S Pen (SM-P200)


**flutter doctor**
```
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19041.1052], locale ko-KR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.3)
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Community Edition (version 2021.1)
[√] VS Code (version 1.49.0)
[√] VS Code, 64-bit edition (version 1.37.1)
[√] Connected device (4 available)

• No issues found!
```
Repository: flutter
Issue: [flutter_driver]: Proposal to add properties To left of, To right of
Labels: c: new feature,framework,t: flutter driver,c: proposal,P3,team-framework,triaged-framework

Is there any way to we can adding this features:- 

- To left of
- To right of
- Above
- Below

Then it will be very helpful to the QA- Automation guys !!
Repository: pytorch
Issue: [Bug] numpy is no longer a required dependency
Labels: high priority,triaged,module: numpy

## 🐛 Bug

https://github.com/pytorch/pytorch/releases/tag/v1.9.0
**binary release: numpy is no longer a required dependency**

```
conda create -n torch19 python=3.9
conda activate torch19
conda install pytorch -c pytorch
```

```
Python 3.9.5 (default, May 18 2021, 14:42:02) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
C:\Anaconda3\envs\torch19\lib\site-packages\torch\package\_mock_zipreader.py:17: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at  ..\torch\csrc\utils\tensor_numpy.cpp:67.)
  _dtype_to_storage = {data_type(0).dtype: data_type for data_type in _storages}
```

cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @anjali411 @mruberry @rgommers @heitorschueroff @malfet
Repository: ant-design
Issue: List of select options with virtual=false is shaking while scrolling on mobile
Labels: Inactive

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[https://codepen.io/dsolovieva/pen/jOBXwpX](https://codepen.io/dsolovieva/pen/jOBXwpX)

### Steps to reproduce
1. Open link on mobile browser (Chrome, Safari)
2. Focus input
3. Scroll options list to the bottom and back to the top



### What is expected?
List is scrolled smoothly and stop at the end of scrolling without shaking

### What is actually happening?
List is shaking at the bottom and top of the container

| Environment | Info |
|---|---|
| antd | 4.16.3 |
| React | 16.13.1 |
| System | iOS 14.6 |
| Browser | Chrome 91.0.4472.80 |

---
Screencast with the reproduction:
https://drive.google.com/file/d/1xmuos6C6P9xx1BF1q8xWlpY-pr2V4h94/view?usp=sharing


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: caffe_translator.py Unable to convert Power Layer
Labels: caffe2

While converting my caffe model to caffe2 model I get the below error. 

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\Lib\site-packages\caffe2\python\caffe_translator.py", line 212, in TranslateLayer
    caffe_ops, params = cls.registry_[layer.type](
KeyError: 'Power'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\Lib\site-packages\caffe2\python\caffe_translator.py", line 921, in <module>
    input_dims=args.input_dims
  File "C:\ProgramData\Anaconda3\Lib\site-packages\caffe2\python\caffe_translator.py", line 284, in TranslateModel
    return TranslatorRegistry.TranslateModel(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\Lib\site-packages\caffe2\python\caffe_translator.py", line 273, in TranslateModel
    net_params=net_params, input_dims=input_dims)
  File "C:\ProgramData\Anaconda3\Lib\site-packages\caffe2\python\caffe_translator.py", line 216, in TranslateLayer
    str(layer))
KeyError: 'No translator registered for layer:


Looks like there is no support for Power layer. 

Are there any possible ways of adding this support?
Repository: create-react-app
Issue: Support esbuild using esbuild-loader
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

Slow build times

### Describe the solution you'd like

Use esbuild-loader

### Describe alternatives you've considered

https://github.com/pradel/create-react-app-esbuild
Better to have built-in support for esbuild


### Additional context

Currently app start time and building times are so slow in CRA

See :

- https://github.com/facebook/create-react-app/issues/10721#issuecomment-809345085
- Related issue : https://github.com/facebook/create-react-app/issues/10721
Repository: pytorch
Issue: torch.package: TypeError: 'NoneType' object is not iterable
Labels: oncall: package/deploy,imported

## 🐛 Bug

<!-- A clear and concise description of what the bug is. -->

## To Reproduce

This happens with `pytorch_lightning.loggers.base.DummyExperiment` which can be found at: 
https://github.com/PyTorchLightning/pytorch-lightning/blob/9097347ea8e354c5bed1aec186be305c1216bc81/pytorch_lightning/loggers/base.py#L429

```
Traceback (most recent call last):
  File "tabular_classification.py", line 49, in <module>
    model.to_package('tabular_package.zip', verbose=True)
  File "/Users/thomas/Documents/GitHub/lightning-flash/flash/core/model.py", line 652, in to_package
    exporter.save_pickle('models', 'model.pkl', self)
  File "/Users/thomas/Documents/GitHub/lightning-flash/.venv/lib/python3.7/site-packages/torch/package/package_exporter.py", line 497, in save_pickle
    pickler.dump(obj)
  File "/Users/thomas/Documents/GitHub/lightning-flash/.venv/lib/python3.7/site-packages/torch/package/package_exporter.py", line 737, in _persistent_id
    if self.serialized_reduces.get(id(obj)) is None:
TypeError: 'NoneType' object is not iterable
```


Steps to reproduce the behavior:

1.
1.
1.

<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->

## Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## Environment

Please copy and paste the output from our
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

You can get the script and run it with:
```
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```

 - PyTorch Version (e.g., 1.0):
 - OS (e.g., Linux):
 - How you installed PyTorch (`conda`, `pip`, source):
 - Build command you used (if compiling from source):
 - Python version:
 - CUDA/cuDNN version:
 - GPU models and configuration:
 - Any other relevant information:

## Additional context

<!-- Add any other context about the problem here. -->


cc @gmagogsfm
Repository: go
Issue: testing: sub fuzz targets
Labels: NeedsDecision,FeatureRequest,fuzz

It would be nice to be able to define sub fuzz targets like subtests and sub-benchmarks. Example:

```go
for _, fc := range Cases {
    f.Run(fc.Name, func(f *testing.F) {
        f.Add(...)
        f.Fuzz(func(t *testing.T, data []byte) {
            t.Parallel()
            fz := fuzz.NewFromGoFuzz(data).Funcs(exfuzz.FuzzFuncs()...).Funcs(vanguardfz.FuzzFuncs()...)

            *r := fc.r
            fz.Fuzz(&r)

            u := fc.Permissions
            res, det, err := assert[tc.Method].Eval(map[string]interface{}{
                "r": r,
                "u": u,
            })
            // Assertions
        })
    })
}
```

This would be very much useful to fuzz functions with generic but defined data structures.
Repository: rust
Issue: Empty Implementors section in doc
Labels: T-rustdoc,C-bug,A-rustdoc-ui

On https://doc.rust-lang.org/nightly/std/marker/trait.Sized.html#implementors the Implementors section is empty. I believe it should be omitted entirely, however above on that doc page it says "All type parameters have an implicit bound of `Sized`." so maybe it should say "All types implement this trait unless specified otherwise using `?Sized`." under that section? But that would kind of repeat the same information that we've already been given so maybe it's better to just omit it altogether.

See also: this issue's [Zulip topic](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/Empty.20implementors.20section).

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"Stupremee"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: ant-design
Issue: Various more intricate controls have serious accessibility issues
Labels: help wanted,Inactive,⌨️ Accessibility

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[https://ant.design/components/tree/](https://ant.design/components/tree/)

### Steps to reproduce
This is just one of many broken components, but it's a very representative one.
Try using the keyboard to navigate the treeview on this page, with a screenreader loaded. Notice how the screenreader does not announce anything whatsoever.

### What is expected?
The screenreader should be aware of where the user is in the treeview, if the current node is collapsed or expanded. The treeview should be using the correct ARIA markup to make this possible.

### What is actually happening?
Nothing whatsoever. None of the elements within the tree have a proper role, this is extremely non-standard HTML and breaks every WCAG audit in the book. Any interface that uses these components will get disabled people fired because of how bad this currently is. 


| Environment | Info |
|---|---|
| antd | 4.16.3 |
| React | latest |
| System | windows 10 build 2004 |
| Browser | Chrome Canary, Firefox , it really doesn't matterhttps://ant.design/components/tree/ |

---
The main issue here is that divs were augmented with JavaScript to emulate a treeview rather than actually using a treeview. There's plenty of examples that do this better, e.g.:
https://www.npmjs.com/package/react-accessible-treeview
https://morioh.com/p/98b506190f6d (first example)

Please do better. People who want to do better accessibility-wise and want to rely on your UI library are getting hit by this, and as a result, so are their users.


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: Handle running on behalf of another user
Labels: Area-Runner,Priority-1

### Provide a description of the new feature / enhancement

We don't handle behaviour very well when a user is logged in to a user account and runs PowerToys on behalf of an admin account. For example:
- Bug report tool will create the report on the admin's desktop
- All modules log to the admins' AppData folder(as they run under an admin account) and PowerLauncher.exe logs to the user's appdata folder(as it runs under a user account)
Repository: rust
Issue: run non-const Display/Debug impls for const panic message
Labels: A-diagnostics,T-compiler,A-const-eval

Given that the CTFE core engine already supports the entire display machinery (demonstrated by the fact that it works in Miri), we might ~~alternatively~~ poke a small hole into the const checks that allows executing formatting machinery from `panic_fmt` only -- something like "miri unleashed", but more targeted.

_Originally posted by @RalfJung in https://github.com/rust-lang/rust/issues/78356#issuecomment-862283228_

Basically the same rationale as allowing -> _ return types in the parser, to get a better error later. In this case, when you use panic!() in CTFE, you are going to fail the build *anyway*, so we can just as well run something that may fail to get evaluated because it does something horribly unconst.

The only problem is that then const fn can execute non-const code at runtime during the panic machinery and before actually panicking, which may not be desirable.
Repository: pytorch
Issue: `memory_format` flag for `tensor.new_empty()`. 
Labels: triaged,enhancement,module: memory format

## 🚀 Feature
Add keyword argument `memory_format` to `tensor.new_empty()`.

## Motivation

Since both `torch.empty()` and `tensor.empty_like()` supports specifying `memory_format`,
it seems making sense to add the flag to `tensor.new_empty()` as well.


cc @VitalyFedyunin @jamesr66a @ppwwyyxx
Repository: pytorch
Issue: Tutorials that require `pip install` not loading correctly in Colab
Labels: module: docs,triaged

## 📚 Documentation

For the Tutorials that require `pip install` or `conda install` or any steps to be executed on base machine, they are not rendering correctly when opened in Google Colab. Something is getting removed in the sphinx conversion. Problem seen for these tutorials: 

https://pytorch.org/tutorials/recipes/recipes/loading_data_recipe.html
https://pytorch.org/tutorials/intermediate/tensorboard_profiler_tutorial.html#sphx-glr-intermediate-tensorboard-profiler-tutorial-py

The setuo commands like  `pip install torchaudio` need to be replaced with `!pip install torchaudio` with an exclamation mark at the start

cc @brianjo @mruberry