sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Dropbox - More metadata
Labels: request

<!--

######################################################################
  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.
- Search the bugtracker for similar site feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [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

<!--
Provide an explanation of your site feature request in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

When a JSON is posted to https://www.dropbox.com/2/files/get_upload_info , it outputs a small JSON with the creator and upload date, although this does not seem like much,  it would make people who organize items based on date or creator sort their items, like me.



```Post content
{
  "file_path_or_id": "id:aUkHvlaG5osAAAAAAAAGwQ",
  "url": "https://www.dropbox.com/s/2eajtndrmldxyt6/NT85.avi?dl=0"
}
```
```Response content 
{
  "uploaded": "2020-01-02T05:55:17Z",
  "display_name": "Hitevision Tech Asia Pacific Co., Ltd 42761375"
}
```
Repository: youtube-dl
Issue: [GoogleDrive] Support audio files
Labels: request

<!--

######################################################################
  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.
- Search the bugtracker for similar site feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [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

<!--
Provide an explanation of your site feature request in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->
https://drive.google.com/file/d/0BykECOXFOHS9TWIxN3dqWnllZVE/view?usp=drivesdk&resourcekey=0-eBST0Juec1HJOFz2VhkuNg
https://drive.google.com/file/d/1M6s5r8nfmAFpR19XqPXp5eIWaBjUk3rK1/view?usp=drivesdk
https://drive.google.com/file/d/1TJlxla4cNxKseUTZ7OKKJmE4ct2dxQSY/view?usp=drivesdk
https://drive.google.com/file/d/13NqzkwLnEuluwPwoPVb7YzD4QIanpoFl/view?usp=drivesdk
https://drive.google.com/file/d/1KQdA2H9yRseTiMRI8kdDsVUlfUh4nudx/view?usp=drivesdk
https://drive.google.com/file/d/0BxOh5UkYXJw0NzZKSG9FU0NNTVU/view?usp=drivesdk&resourcekey=0-h60ZSnqQMjUF6HeBVnwSUA
https://drive.google.com/file/d/1TJlxla4cNxKseUTZ7OKKJmE4ct2dxQSY/view?usp=drivesdk

The Google Drive extractor only supports video, not audio files, please add support for them.
Repository: neovim
Issue: vim.fs.find(_, {path="doesnt_exist"}) should maybe return {} instead of raising exception
Labels: enhancement,lua

### Feature already in Vim?

no

### Feature description

The new `vim.fs.find` is neat overall so thanks for adding that. I was trying to use it to launch some LSP servers depending if the root directory had `somepath/somefile` and `find("somefile", { path = "somepath" }` worked great in the happy case where that eventually existed.

However I just ran into a situation where the `somepath` directory is never there, and it raises an unhelpful exception, which was a bit hard to figure out that the real reason was of the directory not existing 

```
nix run github:neovim/neovim\?dir=contrib -- -u NONE --headless \
-c 'lua =vim.fs.find("afile", { path="dir_exists_not"})' -c 'q!'

Error detected while processing command line:
E5108: Error executing lua ...eovim-unwrapped-master/share/nvim/runtime/lua/vim/fs.lua:181: bad argument #1 to '(for generator)' (uv_req expected, got nil)
stack traceback:
	[C]: in function '(for generator)'
	...eovim-unwrapped-master/share/nvim/runtime/lua/vim/fs.lua:181: in function 'find'
	[string ":lua"]:1: in main chunk⏎
```

I think in this situation, find should return `{}` the same as if the file didn't exist. Does that make sense?
Repository: flutter
Issue: Failed to run 'flutter build apk --' but successful to run 'flutter build apk --debug'
Labels: c: crash,platform-android,tool,a: build,P2,team-android,triaged-android

Guys,

I updated my flutter, I was running version 3.0.0 to Flutter 3.3.8

Now I can't compile the android version, the IOS/web/windows version works

I've tried everything I found here
Attached is flutter doctor -v and flutter build apk --release -v

I'll list the things I've tried:
[flutter build apk --release -v.txt](https://github.com/flutter/flutter/files/10016258/flutter.build.apk.--release.-v.txt)
[flutter doctor -v.txt](https://github.com/flutter/flutter/files/10016259/flutter.doctor.-v.txt)

1)-
delete pubspeck.lock
run flutter clean
run flutter pub get


two)-
flutter channel stable
flutter upgrade --force

3)-
run flutter clean
flutter pub cache repair

4)-
flutter clean
flutter pub get
flutter build appbundle --release --no-tree-shake-icons

5)
delete folder %USERPROFILE%\.gradle
run flutter clean
flutter pub cache repair

please if anyone can help me
I don't know what to do anymore
Repository: rust
Issue: Misleading comments over methods on `TyCtxtEnsure` in `rustc_middle::mir::interpret::queries`
Labels: A-docs,C-bug,A-contributor-roadblock,A-query-system

> These comments (also the one below) are wrong now -- they talk about the return value of a function that doesn't return anything! I have no idea what is going on here so if someone could make a PR to update the comments, that would be much appreciated. :)


_Originally posted by @_RalfJung in https://github.com/rust-lang/rust/pull/98238#discussion_r1020754957_
Repository: flutter
Issue: Flashing text selection handle in the magnifier on Android
Labels: a: text input,platform-android,framework,engine,a: fidelity,has reproducible steps,P2,found in release: 3.6,team-android,triaged-android

It's possible to see the text selection handle flashing in and out of the "loupe" magnifying glass on Android.  On native Android, the text selection handle is never visible in the loupe.

### Steps to reproduce

  1. Run an app with a TextField, such as the one given below, on an Android device.  Your version of Flutter must include the "loupe" feature, which is on beta and master but not stable as of this writing.
  2. Select some text.
  3. Start a drag gesture on one of the selection handles so that the loupe appears.
  4. Drag slightly up and down, but not enough to change lines.

Expected: The selection handle remains invisible in the loupe.
Actual: The selection handle flashes in and out of visibility rapidly in the loupe.

<details>

<summary>Code</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  final TextEditingController controller = TextEditingController(
    text: 'asdf asfd asdf asdf asdf asdf\nasdf asdf asdf\nasdf asdf asdf sadf asdfasdfasdf asdf asdf asdfasdfa\nafds asdf asdf asdfasdf\nasdf sadff asdfasdf as df asdf asdf',
  );

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            TextField(
              minLines: 4,
              maxLines: 4,
              controller: controller,
            ),
          ],
        ),
      ),
    );
  }
}
```

</details>

https://user-images.githubusercontent.com/389558/202047477-69739101-3524-4662-b6e7-7031ce5991d0.mp4
Repository: pytorch
Issue: Bad string in GLSL shader
Labels: triaged,module: vulkan,topic: build

### 🐛 Describe the bug

Hi,

I'm trying to compile the Vulkan inference backend using the instructions here: https://pytorch.org/tutorials/prototype/vulkan_workflow.html. I've checked out tag `v.1.13.0`, and I'm on Ubuntu 20.04.

I ran
```
USE_VULKAN=1 USE_VULKAN_SHADERC_RUNTIME=1 USE_VULKAN_WRAPPER=0 python setup.py install
```

The build stops on:
```
/home/user/pytorch/build/vulkan/ATen/native/vulkan/glsl.cpp:1166:1: error: unable to find string literal operator ‘operator""fully’ with ‘const char [1326]’, ‘long unsigned int’ arguments
 1166 | "  // and compute partial sums of texels that are "fully filled"\n"
```

This problem seems to originate on this [line](https://github.com/pytorch/pytorch/blob/60ffeb986648420810098cba6ac0ad1cee06bd95/aten/src/ATen/native/vulkan/glsl/layernorm.glsl#L38), with the quotes that aren't escaped when the shaders are gathered into `glsl.cpp`. `layernorm.glsl` is unchanged in master so this should still apply (unless the tool that puts `glsl.cpp` together corrects it).

### Versions

Results of collect env
```
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.16.3
Libc version: glibc-2.31

Python version: 3.8.10 (default, Jun 22 2022, 20:18:18)  [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.29
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A

Versions of relevant libraries:
[pip3] numpy==1.23.4
[conda] Could not collect
```
Repository: godot
Issue: [3.x] Editor says variable isn't declared in current scope but is able to use it at runtime.
Labels: bug,topic:gdscript,needs testing

### Godot version

3.5.1

### System information

Ubuntu; but it should not matter.

### Issue description

I have a custom class with a variable `var a = 0` an extending class has:
```
extends Other

func _ready():
   print(a)
```

This will show an error in the editor but run perfectly as expected.

### Steps to reproduce

Run the code below. Function/Variable/Class names should not matter as long as their the same between classes.

### Minimal reproduction project

```
class_name ClassA

var test = 0
```

```
extends ClassA

func _ready():
   print(test)
```

Outputs 0 as expected but also throws an error in the editor but not at runtime.
Repository: stable-diffusion-webui
Issue: [Feature Request]: Script callback for generated images
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 ?

The callback would send an array of all the generated images (even if there only is one).


### Proposed workflow

Used with `script_callbacks.images_generated(images_generated)` or something similar.
For example:
```Python
def images_generated(images):
    if shared.opts.webhook_share_all:
        for image in images:
            requests.post(shared.opts.webhook_share_url, json=generate_image_embed(image))
```

### Additional information

_No response_
Repository: rust
Issue: overly restrictive closure borrow-checking
Labels: A-borrow-checker,A-NLL,C-bug,NLL-complete,T-types

Both of these test cases should pass borrowck: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=50a263a9626cb0b08f5cee334df8a852
```rust
mod case1 {
    struct MyTy<'x, 'a, 'b>(std::cell::Cell<(&'x &'a u8, &'x &'b u8)>);
    fn wf<T>(_: T) {}
    fn test<'a, 'b>() {
        |_: &'a u8, x: MyTy<'_, 'a, 'b>| wf(x); // FAIL!
        |x: MyTy<'_, 'a, 'b>, _: &'a u8| wf(x); // PASS!!!
    }
}

mod case2 {
    struct MyTy<'a, 'b, 'x>(std::cell::Cell<(&'a &'x u8, &'b &'x u8)>);
    fn wf<T>(_: T) {}
    fn test<'a, 'b>() {
        |x: MyTy<'a, 'b, '_>| wf(x); // FAIL!
    }
}
```

They both fail because of the unnecessarily restrictive algorithm in [try_propagate_universal_region_error](https://github.com/rust-lang/rust/blob/79146baa9c7e00b716cc41f8660a56cd2acdf8bd/compiler/rustc_borrowck/src/region_infer/mod.rs#L1629):

- `case1` fails because `'_` has multiple "non-local **upper** bounds" `['a, 'b]` and we do propagate the error to **both** of them while choosing a single one would be sufficient.
- `case2` fails because `'_` has multiple "non-local **lower** bounds" `['a, 'b]` and the call to [non_lcal_lower_bound](https://github.com/rust-lang/rust/blob/79146baa9c7e00b716cc41f8660a56cd2acdf8bd/compiler/rustc_borrowck/src/region_infer/mod.rs#L1639) simply returns `None` in this case!
- The different behavior in `case1` when swapping arguments is due to the shortcut in https://github.com/rust-lang/rust/blob/79146baa9c7e00b716cc41f8660a56cd2acdf8bd/compiler/rustc_borrowck/src/region_infer/mod.rs#L1560 which is sensitive to region numbering, but I think that's irrelevant here.


@rustbot label C-bug T-types A-NLL NLL-complete A-borrow-checker
@rustbot claim

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: pytorch
Issue: Implement generic batch normalization layer.
Labels: oncall: distributed,feature,module: nn,triaged,needs research

### 🚀 The feature, motivation and pitch

Currently, the SyncBatchNorm module in PyTorch only has a `convert_sync_batchnorm` method to convert other Batch Normalization layers to SyncBatchNorm. However, it does not implement any method to revert the layers to their original classes.

However, implementing this would require either saving the original class type inside the SyncBatchNorm or implementing 1d, 2d, and 3d implementations of SyncBatchNorm. It would be preferable to implement instead a generic BatchNorm layer that can handle arbitrary dimensions.

Therefore, I would like to propose a generic `BatchNorm` layer that can handle arbitrary dimensions and can convert any related BatchNorm layer to itself, similar to `convert_sync_batchnorm`. This would allow removing the SyncBatchNorm layer for non-distributed inference and can convert any previous models to the new BatchNorm layer. Since the current functional `batch_norm` function is dimension neutral, the implementation will not be complicated.

### Alternatives

Possibly save the original dimensions in the SyncBatchNorm layer. However, this would not work if the original model is unknown.

### Additional context

SyncBatchNorm causes issues on single-process CPU inference and is challenging to convert to ONNX, etc. Having a generic BatchNorm would be the minimally invasive approach. Other issues have also proposed this solution before.

Also, I am willing to contribute.

https://github.com/pytorch/pytorch/issues/41081
https://github.com/pytorch/pytorch/issues/82464

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @albanD @mruberry @jbschlosser @walterddr @kshitij12345 @saketh-are
Repository: rust
Issue: closures accept ill-formed inputs
Labels: A-borrow-checker,A-NLL,C-bug,NLL-sound,T-types

Both of these closures should fail borrowck: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=e9855ecda2f9427454cebce7738e598d
```rust
struct MyTy<T: Trait>(T);
trait Trait {}
impl Trait for &'static str {}
fn wf<T>(_: T) {}

fn test() {
    let _: for<'x> fn(MyTy<&'x str>) = |_| {}; // PASS!
    
    // but it should fail for the same reason this fails:
    let _: for<'x> fn(MyTy<&'x str>) = |x| wf(x); // FAIL
}
```

I think we should simply do WF-checking of closure input/output types in the closure environment, but doing so would cause accidental breakages due to #104477. So #104477 should be resolved first.

@rustbot label A-NLL NLL-sound C-bug T-types A-borrow-checker
Repository: godot
Issue: Godot 4 Upgrade Tool ignores multi-line statements with backslashes when upgrading scripts.
Labels: bug,topic:editor

### Godot version

v4.0.beta4.official [e6751549c]

### System information

Windows Server 2022

### Issue description

When Godot 3 projects are upgraded to Godot 4, some operations are applied to the current line without checking back to see if the current expression is a part of a larger statement. This means that this
![image](https://user-images.githubusercontent.com/83036002/202079479-71afbc32-78f5-48c2-8eb3-39018e13f8ee.png)
becomes this
![image](https://user-images.githubusercontent.com/83036002/202079152-51cdbf3c-2088-40af-b67e-f3eae25392c2.png)
The `super` call is invalid here, as the original code was using the builder pattern to chain calls together.

### Steps to reproduce

Open the reproduction project in Godot 4.
Click "Convert Full Project"
Open in Godot 4

Lines 11 and 12 will start with the word `super`

### Minimal reproduction project

[Newline_Bug.zip](https://github.com/godotengine/godot/files/10018233/Newline_Bug.zip)
Repository: godot
Issue: Update IPHONEOS_DEPLOYMENT_TARGET from 10.0 to 11.0 in 3.5.1 and greater
Labels: discussion,platform:ios,topic:export

### Godot version

3.5.1

### System information

n/a

### Issue description

The generated iOS project build files sets IPHONEOS_DEPLOYMENT_TARGET as 10.0, which is invalid in the latest versions of Xcode. Recommend 11.0 is set as default.

### Steps to reproduce

  Export any hello world project to iOS

### Minimal reproduction project

Export any hello world project to iOS
Repository: ant-design
Issue: Split out the context for ConfigProvider as a package for supporting dynamic-import via esmodule server
Labels: Inactive

### What problem does this feature solve?

For the bundle-less case, we will use `import('https://some.cnd.com/antd/es/${componentName}')` to import the needed components. 
But many dependencies loaded via the network will slow down the page speed (waterfall).
Such as load a button component must run the flow to download dependencies:
`button.js -> button-group.js -> LoadingIcon.js -> etc...` and another outside-of-the-button package dependencies

To prevent the above problem, we bundle each component package, see like: `import('https://some.cnd.com/antd/es/${componentName}?bundle')`
And the download will be reduced to `button.bundle.js` and another outside-of-the-button package dependencies

When needs to config some global settings using the `ConfigProvider`, the context will be bundled into the `config-provider.bundle.js` file, so the button component will not import the same context file with the config-provider.

### What does the proposed API look like?

The feature hasn't changed API, But needs to modify the packages structure:
**Origin structure:**
```shell
- | components
------ | config-provider
-------------- | context.ts
-------------- | index.ts
```

**New structure:**
```shell
- | components
------ | config-provider
-------------- | index.ts 
------ | context
-------------- | index.ts 
```

**And the bundled es module will see like:**

```shell
- | es
------ | config-provider
-------------- | index.js 
------ | context
-------------- | index.js 
```

And the browser will download the same `context/inde.bundle.js` file to share the React's context to solve the problem. 

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: excalidraw
Issue: Do not bind to container when using text tool
Labels: discussion,Text containers


<img width="969" alt="Screenshot 2022-11-16 at 2 39 37 PM" src="https://user-images.githubusercontent.com/11256141/202137869-17be559e-94cb-4e2d-b8e1-98d9013d64f7.png">

Don't bind to the container when using the text tool as no container is selected so it could be ambiguous which container is selected especially when containers intersect as mentioned in https://github.com/excalidraw/excalidraw/issues/5860

Checked a few other tools like Miro, whimsical, and Eraser work in a similar way.

Hence to keep it simple I think we should not bind to the container when using the text tool as the intention is to add a separate text element and not to bind (since the container isn't selected).
Repository: flutter
Issue: Flutter run way slower than XCode build
Labels: tool,t: xcode,a: build,has reproducible steps,P3,found in release: 3.3,found in release: 3.6,team-tool,triaged-tool

When building my project, calling `flutter run` successively (without any changes in code) takes about 67s (on average). In XCode it takes 15s.
After making a minor change in a single line of code, `flutter run` takes 70s, while XCode takes 17s to build and run.

It seems as if it builds everything (or most) from scratch, instead of incrementally compiling.
Repository: transformers
Issue: Running the run_mlm_flax on TPU v4 pods
Labels: WIP

### System Info

transformers 4.24.0

### Who can help?

@patil-suraj 

I am having problems scaling the run_mlm_flax scripts so that they run on TPU VM v4 Pods (ie the v4-16, v4-32 etc). When running "out of the box", the performance is exactly the same as when running on a v4-8. To me this indicates that I am feeding a lot of empty data. The max `per_device_train_batch_size` for 512 sequences in RoBERTa is 62 in both cases, but since the output is identical, it is obviously not scaling.

From trying to understand the code, it seems to be logical to multiply the batch size here with the `jax.process_count()` ([src example](https://huggingface.co/pere/roberta-base-exp-32B/blob/main/run_mlm_flax_stream.py#L452)). However, this does not seem to be the way to approach it.

Any ideas about how to approach this? Is the script tested on v4s?



### Information

- [ ] The official example scripts
- [ ] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

See explanation above.

### Expected behavior

Expect the batch size to scale automatically.