sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: auto roll all engine `DEPS`
Labels: team,engine,P3,team-engine,triaged-engine

We should automate rolling all of our engine dependencies - a few of these already are (Fuchsia SDK, Clang toolchain), but most are not.

One challenge is dealing with rolls breaking due to changes needed in build files.

Another challenge is making sure we're taking in good reasonably-stable versions of libraries. We could probably piggy back off of whatever Chromium consumes in most cases.

@godofredoc @zanderso @Chinmaygarde
Repository: youtube-dl
Issue: Utreon
Labels: site-support-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.06.06. 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])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.06.06**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

- Single video: https://utreon.com/v/r22Ft5yjTUg
No playlist support

## Description

from https://utreon.com/why-utreon/
`Utreon is the first credible challenge to the status-quo with a focus on innovative features, community engagement, reasonable policies, and privacy.`
Repository: storybook
Issue: addon-backgrounds: global context not initially updated with color
Labels: bug,good first issue,help wanted,addon: backgrounds

**Describe the bug**
When using [`@storybook/addons-backgrounds`](https://storybook.js.org/docs/react/essentials/backgrounds) in a react project with a custom `Decorator`, the initial/default background value is not passed to the `context.globals`.

I have a project performing text contrast logic where I need the initial value to pass to javascript.

**To Reproduce**


1. Pull down and run this repro [here](https://github.com/nickofthyme/repro-sb-15632).
1. Go to the primary button story.
1. Notice the `console.log` of the `context.globals` shows and empty object.
1. Click on a different background color, notice the `context.globals` now includes the selected value.

![image](https://user-images.githubusercontent.com/19007109/126252816-094c937f-72fe-4bb5-8528-aaf8c4c52510.png)

**System**

```
Environment Info:

  System:
    OS: macOS 11.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  Binaries:
    Node: 14.17.3 - ~/.nvm/versions/node/v14.17.3/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.3/bin/npm
  Browsers:
    Chrome: 91.0.4472.114
    Firefox: 90.0.1
    Safari: 14.1.1
  npmPackages:
    @storybook/addon-backgrounds: ^6.3.4 => 6.3.4
    @storybook/react: ^6.3.4 => 6.3.4
```

**Additional context**
Could be related to #14846
Repository: kubernetes
Issue: APF: Consider adding a limit on work in a queue
Labels: sig/api-machinery,lifecycle/frozen,triage/accepted

In the API Priority and Fairness type PriorityLevelConfiguration, when queuing applies, there is a limit on the number of requests in the queue.  Now that we are generalizing for non-unit request width (seats), perhaps there should also be a limit on the work (sum of `duration*width`) in the queue.
Repository: vscode
Issue: Unable to discover field trial experiments ongoing
Labels: feature-request

The VS Code product organization is running field trial experiments in the background - I am fine with that, as it helps to improve the product.

Alas, there appears to be no good way to discover whether _my instance_ of VS Code is currently part of a field trial experiment, and _which_ trial is being _run_.

This lack of transparency wastes developer time - people (me) wonder why the "world behaviour" suddenly  has changed.

In my specific case, it seems as if some GPU rendering field test was running (at that time!). This caused 4% CPU load as seen in the VS Code process explorer, but 50% as seen in htop - and my laptop fans were spinning all the way up, because all of this is running inside VMware Workstation...

Perhaps something in Help -> About, saying "field trials enabled: yes/no; field trials currently active: <...>, <...>"

VS Code version: Code 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:30:16.440Z)
OS version: Linux x64 5.12.15-300.fc34.x86_64
Restricted Mode: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2904)|
|GPU Status|2d_canvas: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: disabled_off<br>opengl: enabled_on<br>rasterization: disabled_software<br>skia_renderer: enabled_on<br>video_decode: disabled_software<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|1, 1, 1|
|Memory (System)|31.32GB (25.05GB free)|
|Process Argv|--unity-launch --crash-reporter-id 80e0ae97-0bc4-4a76-8337-f435f2ec1554|
|Screen Reader|no|
|VM|100%|
|DESKTOP_SESSION|/usr/share/xsessions/plasmax11|
|XDG_CURRENT_DESKTOP|KDE|
|XDG_SESSION_DESKTOP|KDE|
|XDG_SESSION_TYPE|x11|
</details><details><summary>Extensions (19)</summary>

Extension|Author (truncated)|Version
---|---|---
xml|Dot|2.5.1
gitlens|eam|11.6.0
rust-analyzer|mat|0.2.678
vscode-apache|mrm|1.2.0
vscode-docker|ms-|1.15.0
python|ms-|2021.6.944021595
vscode-pylance|ms-|2021.7.4
jupyter|ms-|2021.8.1046824664
remote-containers|ms-|0.187.0
remote-ssh|ms-|0.65.7
remote-ssh-edit|ms-|0.65.7
remote-wsl|ms-|0.58.2
vscode-remote-extensionpack|ms-|0.21.0
powershell|ms-|2021.6.2
fabric8-analytics|red|0.3.3
vscode-commons|red|0.0.6
vscode-xml|red|0.17.0
vscode-yaml|red|0.21.1
vscode-lldb|vad|1.6.5


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt700cf:30270857
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200cf:30331938
vscextlang:30333561
binariesv615:30325510
bridge0708:30335490

```

</details>

<!-- generated by issue reporter -->
Repository: godot
Issue: Godot returns `**ERROR**: AudioOutputUnitStart failed, code: -50 on iOS` when silent mode is enabled on the iOS device
Labels: bug,platform:ios,topic:porting,confirmed,topic:audio

### Godot version

3.3.2 stable

### System information

MacOS Big Sur 11.4, iOS 12.5.4, iPhone 6

### Issue description

Hello,

Made my first attempt to export to iOS. I attempted with the Audio Generator Demo from the Asset Library which I did successfully.

After that all my attempts to export even a simple app with one sprite with an AudtioStreamPlayer node running an OGG file will return the error ```**ERROR**: AudioOutputUnitStart failed, code: -50```, which is 

```Mac OS error -50 (paramErr): error in user parameter list```

My guess it is that something went missing from a plist file, but had I to know Godot internals to check how Godot is initialising the AudioOutput to dig deeper (i'm a competent scripter but not a developer).

Phone sound is ok with other apps, btw. 

### Steps to reproduce

New Project (GLES3)
Add any sprite (just to show something)
Add a AudioStreamPlayer, add an OGG audio file, on Loop and Autoplay.
Save Default Bus Layout.
Confirm that in Project Settings->Audio Driver is set to Core Audio
Export to iOS template - arm7, arm64
Open xcodeproject in XCode
Accept changes on Build Settings and translation to English.
Build successfully, runs on device but no sound; 
Logs say

```**ERROR**: AudioOutputUnitStart failed, code: -50
2021-07-20 00:33:20.440427+0100 Ios[429:26956]    At: drivers/coreaudio/audio_driver_coreaudio.cpp:254:start() - AudioOutputUnitStart failed, code: -50```
Repository: transformers
Issue: Model Request: Blenderbot 2.0
Labels: New model

# 🌟 New model addition

## Model description

Facebook released Blenderbot 2.0, a chatbot that builds on RAG and Blenderbot 1.0. It can save interactions for later reference and use web search to find information on the web.

https://parl.ai/projects/blenderbot2/

## Open source status

* [x] the model implementation is available: in Parl.ai
* [x] the model weights are available: https://parl.ai/docs/zoo.html#wizard-of-internet-models
* [ ] who are the authors: (mention them, if possible by @gh-username)
Repository: pytorch
Issue: Reducing over empty dimensions for reductions without identity
Labels: triaged,module: numpy,needs design,module: reductions

This issue is for discussing what should be the result fo reducing nothing. Ideally, this behavior should be consistent across our reduction operators, however, this is what the current reductions return.

```
* max, min → always raise an error. NumPy always errors
* sum → always return 0 (identity value)
* prod → always return 1 (identity value)
* amax, amin → garbage value for dim=None, otherwise error. NumPy always errors
* mean → returns nan. NumPy raises warning and returns nan
* median → without dim returns nan for floating point inputs and garbage for integral, with dim errors. NumPy raises a warning and returns nan, however NumPy also promotes to floating point which we should not do. So we should error for integral input at least.
* mode → raises an error
* std(_mean), var(_mean) → always returns nan. NumPy raises warning and returns nan.
* logsumexp → returns -inf
* quantile → raises an error, nanquantile where all inputs are nan returns nan, this should be consistent with quantile over empty dimension. NumPy raises an IndexError for quantile but returns nan for nanquantile.
* kthvalue → raises an error
* topk → only allowed for k=0 in which case an empty tensor is returned
* argmax, argmin → always raise an error
* all → always returns True (identity)
* any → always returns False (identity)
* count_nonzero → always returns 0 (identity)
* linalg.vector_norm → if selected ord has identity, returns it otherwise raises error
```

Some options for making this consistent are:

* If the operator has an identity (e.g. identity of sum is 0) then the identity should be returned
* if the operator does not have an identity, it could (from least to most permissive)
  * always raise an error
  * return nan only for reductions that promote integers to float (mean, std, var, std_mean, var_mean, logsumexp) and raise error for all others, even if the input has floating point type.*
  * return nan if result type is floating point, otherwise raise an error
  * always return nan, performing type promotion to float if needed
  * just be a no-op?

cc @mruberry @rgommers @heitorschueroff
Repository: node
Issue: UDP/dgram performs unnecessary DNS lookups
Labels: dgram,dns

### Version

14.x

### Platform

All

### Subsystem

dgram

### What steps will reproduce the bug?

It appears that UDP/dgram connections perform unnecessary DNS lookups when an IP address is provided as the address to connect to.

The issue is easily demonstrated via this snippet:
```js
const dns = require("dns");

const _lookup = dns.lookup;
dns.lookup = function (...args) {
  console.log("Called lookup", args);
  return _lookup(...arguments);
};

const dgram = require("dgram");

const socket = dgram.createSocket({ type: "udp4" });
console.log("Socket created");

socket.connect(1234, "192.168.1.1", (err) => {
  console.log("Socket connected", { err });
});
```

Output:
```
$ node index.js

Socket created
Called lookup [ '0.0.0.0', 4, [Function (anonymous)] ]
Called lookup [ '192.168.1.1', 4, [Function: afterDns] ]
Socket connected { err: undefined }
```

### How often does it reproduce? Is there a required condition?

These lookups appear to happen 100% of the time a UDP socket connects to an address that is a raw IP address.

### What is the expected behavior?

DNS lookups only occur when the address is a hostname.

### What do you see instead?

_No response_

### Additional information

Note that the `net` module [contains code that bypasses `dns.lookup()`](https://github.com/nodejs/node/blob/master/lib/net.js#L1002-L1003) when the target address is a valid IP address.  It seems like we could improve efficiency by adding a similar check to `dgram` without breaking compatibility.
Repository: flutter
Issue: [camera] FlashMode.ALWAYS sometimes not working when taking pictures on Moto devices
Labels: e: device-specific,platform-android,p: camera,package,has reproducible steps,P2,found in release: 2.2,found in release: 2.4,team-android,triaged-android

The problem is occurring in camera: **^0.8.1+4** using the example showed in pub.dev in flutter camera page.

**Tested devices:**
- Moto Edge | Android 11
- Moto G5S Plus | Android 8.1

**Steps to reproduce:**
- Select back camera
- Give the permissions
- Select flash to always
- Take some picture

**Expected behavior:** The app successfully captures the image and **ALWAYS** trigger the flashlight.
 
**Current behavior:** The app successfully captures the image but **SOMETIMES** does not trigger the flashlight.

<details> 
<summary>flutter doctor -v</summary> 
	
```console
[✓] Flutter (Channel stable, 2.2.2, on macOS 11.4 20F71 darwin-arm, locale en-BR)
    • Flutter version 2.2.2 at /Users/levialbuquerque/FlutterDev/flutter
    • Framework revision d79295af24 (6 weeks ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/levialbuquerque/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.24.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.164

• No issues found!
```

</details>
Repository: flutter
Issue: Flutter dispatches events multiple times in the same Vsync cycle
Labels: engine,c: proposal,P2,team-engine,triaged-engine

In Android, when an input event causes the UI to be updated, the ViewRootImpl consumes input events in batches, and he adds input and traversal callbacks to Choreographer. When Vsync arrives, Choreographer will ensure that the input callback is executed first, and then the traversal callback is executed.  In other words, the dispatch of input events is aligned with Vsync.
The following is the trace of the android native UI:
![C7A4211A-59B2-43F2-977D-9E06A6A87270](https://user-images.githubusercontent.com/297265/126332642-26bde181-f904-4b81-a33b-d12f0112efe2.png)

However, in flutter, android ViewRootImpl cannot perceive the invalidate of FlutterView (SurfaceView), so the mechanism of batch consumption of input events does not work.  Therefore, at any time, as long as there is an input event, it will be dispatched from the platform thread to the UI thread.  In this way, flutter dispatches events multiple times in the same Vsync，the efficiency of dispatching events is relatively low, and threads will switch frequently.

The following is the trace of the flutter UI:
![flutter_trace](https://user-images.githubusercontent.com/297265/126335982-ba2058e8-a96e-40cc-87a7-af4c16b3364e.png)

Proposal:
Flutter supports batch consumption of input events, and event dispatch is aligned with Vsync.


The following is the trace files：
[trace_files.zip](https://github.com/flutter/flutter/files/6848863/trace_files.zip)
Repository: storybook
Issue: sb init and start-storybook fail to parse tsconfig path in freshly generated Angular 12 library
Labels: bug,cli,angular,needs triage

**Describe the bug**
I have a freshly generated angular library (no application). Running `npx sb@next init` and `start-storybook` gets me an error message:

```
ERR! => Could not get angular cli webpack config
ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
```

**System**
windows 10
node v14.16.1
@storybook/angular v6.4.0-alpha.18

**Possible reasons**
Looks like `sb init` and `start-storybook` fail to parse correct path to tsconfig. In fact, after `sb init` file `.storybook/tsconfig.json` contains code

```
"extends": "../false",
```
Which does not look like a correct path.
I suppose the reason is generated angular.json structure, it doesnt have `tsConfig` under `architect.build.options`, only at `architect.build.configurations.production`.
Adding the line pointed with green arrow fixes the issue:
![scr](https://user-images.githubusercontent.com/1588159/126337370-3f04b636-60e5-4482-a852-79eecd79b993.png)
Repository: terminal
Issue: D&D on the '+' button: Dragging text to the button should work like dragging a directory, IF the text is a path
Labels: Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task,Priority-3

Follow up to #10160.
Repository: terminal
Issue: [Megathread] Drag & drop on the '+' button
Labels: Help Wanted,Area-UserInterface,Product-Terminal,Issue-Scenario

###### [original issue: #10073] [original pr: #10160]

```[tasklist]
### Tasks
* [x] #10721
* [x] #10722
* [x] #10723
* [ ] #10724
```
Repository: go
Issue: cmd/go: 'go get all' no longer works when a deleted transitive dependency is no longer needed after upgrading
Labels: NeedsInvestigation,GoCommand,modules

`go get -d all` used to work in some situations in which it no longer does.

It appears that as of Go 1.16, it first resolves `all` to a package pattern, then attempts to install the latest version of each such package. If some of those packages have been deleted, it fails.

In Go 1.15 and earlier, it did something closer to what `go get -u -t ./...` does today: it upgraded (some subset of) direct imports and then upgraded transitive dependencies from there.

As a workaround, `go get -d -u -t ./...` achieves essentially the same set of upgrades, but `go get -d all` ought to be a reasonable alternative.

```
$ go1.17rc1 get -d all
go get all: module google.golang.org/protobuf@upgrade found (v1.27.1), but does not contain package google.golang.org/protobuf/internal/fieldsort
go get all: module google.golang.org/protobuf@upgrade found (v1.27.1), but does not contain package google.golang.org/protobuf/internal/mapsort

$ go1.16.6 get -d all
go get all: module google.golang.org/protobuf@upgrade found (v1.27.1), but does not contain package google.golang.org/protobuf/internal/fieldsort
go get all: module google.golang.org/protobuf@upgrade found (v1.27.1), but does not contain package google.golang.org/protobuf/internal/mapsort

$ go1.15.14 get -d all
go: github.com/google/go-cmp upgrade => v0.5.6
go: google.golang.org/protobuf upgrade => v1.27.1
go: golang.org/x/xerrors upgrade => v0.0.0-20200804184101-5ec99f83aff1

$ go1.17rc1 get -d -u -t ./...
go get: upgraded google.golang.org/protobuf v1.25.0 => v1.27.1

-- go.mod --
module example.com/m

go 1.16

require google.golang.org/protobuf v1.25.0
-- main.go --
package main

import _ "google.golang.org/protobuf/proto"
```
Repository: opencv
Issue: Cholesky Decomposition
Labels: bug,category: core,affected: 3.4

I am having trouble understanding the results of the Cholesky decomposition as currently implemented and was hoping someone could help me understand what is happening and ask if there are any plans to expose a more direct method for calling this that is able to just take in a Mat instead of passing in sizes of rows in bytes and the other parameters. 

1) **Code that is not behaving as expected**
I need to be able to get the Cholesky decomposition of a matrix and set up a small test script to compare to Matlab results. 

```
#include <iostream>
#include "opencv2/core/core.hpp"
#include "opencv2/core/operations.hpp"

int main()
{
    int rows = 2;
    float data[4] = {9, 2, 2, 8};
    cv::Mat mat = cv::Mat(rows, rows, CV_32F, data);
    std::size_t bytes_per_row = sizeof(float)*rows;
    std::cout << "Before 1\n" << mat << std::endl;
    bool result = cv::Cholesky(mat.ptr<float>(), bytes_per_row, rows, nullptr, bytes_per_row, rows);
    std::cout << "Did we succeed?\n" << result << std::endl;
    std::cout << "After 1\n" << mat << std::endl;
    std::cout << "Does it match?\n" << mat*mat.t() << std::endl;
}
```

However the result of running this is 

```
Before 1
[9, 2;
  2, 8]
Did we succeed?
1
After 1
[0.33333334, 2;
  0.66666669, 0.36380345]
Does it match?
[4.1111112, 0.9498291;
  0.9498291, 0.57679743]
```

The source matrix passed in is modified however the result is neither lower triangular nor does it meet the requirement of it times it's transpose equaling the original matrix. What am I doing wrong here? 

2) **New Method Request**
Since this and LU decompositions are relatively common it might be nice to have a method that returns the decomposition and just takes in a Mat directly. Something that could be called like 

```cv::Cholesky(src, dest);```

where ```src``` is the original matrix and ```dest``` is filled with the decomposition. Apologies if this is already possible but I could not find it.