sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Get the URL of the first 3 Creative Commons, age-appropriate videos that show up for a specific search term in YouTube without downloading them?
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
- [ ] 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.
-->

How can I get the URL of the first 3 Creative Commons, age-appropriate videos that show up for a specific search term in YouTube without downloading them?

Thank You.
Repository: ant-design
Issue: Select: when `labelInValue` and `optionLabelProp="children"` are used together, the label in value is children rathen than label.
Labels: Inactive

- [ ] 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
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-forked-f555x?file=/index.js)

### Steps to reproduce
just open the link and select.

### What is expected?
The label in value is really label rather than children  when  i specifies the label of option. Or maybe, `optionLabelProp` is not just what the documentation says, please update the document.

### What is actually happening?
The label in value is the children in fact.And the label is ignored.

| Environment | Info |
|---|---|
| antd | 4.9.2 |
| React | 17.0.1 |
| System | mac 10.15.5 |
| Browser |  87.0.4280.88 |

---
When i set `optionLabelProp="label"`, the label in value is the real label. However, I want the children render as content of select.


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: transformers
Issue: 🌟 CTRLsum
Labels: New model

# 🌟 New model addition

## Model description

>Current summarization systems yield generic summaries that are disconnected from users’ preferences and expectations. To address this limitation, we present **CTRLsum**, a novel framework for controllable summarization.
> 
> Our approach enables users to control multiple aspects of generated summaries by interacting with the summarization system through textual input in the form of a set of keywords or descriptive prompts.
Using a single unified model, CTRLsum is able to achieve a broad scope of summary manipulation at inference time without requiring additional human annotations or pre-defining a set of control aspects during training.
We quantitatively demonstrate the effectiveness of our approach on three domains of summarization datasets and five control aspects:
> 1) entity-centric
> 2) length-controllable summarization
> 3) contribution summarization on scientific papers
> 4) invention purpose summarization on patent filings
> 5) question-guided summarization on news articles in a reading comprehension setting
> 
> Moreover, when used in a standard, uncontrolled summarization setting, CTRLsum achieves state-of-the-art results on the CNN/DailyMail dataset.

## Open source status

* [x] the model implementation is available: https://github.com/salesforce/ctrl-sum
* [x] the model weights are available: _Download link available in the README of the repo_
* [x] who are the authors: @jxhe @muggin
Repository: storybook
Issue: Controls and Docs not working when used 'export default...'
Labels: bug,typescript,block: argstable

**Describe the bug**
Controls and Docs not working when used 'export default...'
**Code snippets**
1. Component (export default ButtonNamed)，Controls and Docs not working
```javascript
 import React from 'react';
import './button.css';

interface ButtonNamedProps {
  /**
   * Is this the principal call to action on the page?
   */
  primary?: boolean;
  /**
   * What background color to use
   */
  backgroundColor?: string;
  /**
   * How large should the button be?
   */
  size?: 'small' | 'medium' | 'large';
  /**
   * Button contents
   */
  label: string;
  /**
   * Optional click handler
   */
  onClick?: () => void;
}

/**
 * Primary UI component for user interaction
 */
const ButtonNamed: React.FC<ButtonNamedProps> = ({
  primary = false,
  size = 'medium',
  backgroundColor,
  label,
  ...props
}) => {
  const mode = primary
    ? 'storybook-button--primary'
    : 'storybook-button--secondary';
  return (
    <button
      type="button"
      className={['storybook-button', `storybook-button--${size}`, mode].join(
        ' '
      )}
      style={{ backgroundColor }}
      {...props}
    >
      {label}
    </button>
  );
};
export default ButtonNamed

```
2. Component (export const ButtonNamed)，no problem！
```javascript
 import React from 'react';
import './button.css';

interface ButtonNamedProps {
  /**
   * Is this the principal call to action on the page?
   */
  primary?: boolean;
  /**
   * What background color to use
   */
  backgroundColor?: string;
  /**
   * How large should the button be?
   */
  size?: 'small' | 'medium' | 'large';
  /**
   * Button contents
   */
  label: string;
  /**
   * Optional click handler
   */
  onClick?: () => void;
}

/**
 * Primary UI component for user interaction
 */
export const ButtonNamed: React.FC<ButtonNamedProps> = ({
  primary = false,
  size = 'medium',
  backgroundColor,
  label,
  ...props
}) => {
  const mode = primary
    ? 'storybook-button--primary'
    : 'storybook-button--secondary';
  return (
    <button
      type="button"
      className={['storybook-button', `storybook-button--${size}`, mode].join(
        ' '
      )}
      style={{ backgroundColor }}
      {...props}
    >
      {label}
    </button>
  );
};
```
Repository: pytorch
Issue: Add List Type Data through add_hparam method in torch.utils.tensorboard.SummaryWriter
Labels: feature,triaged

## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
Commanly, I use `SummaryWriter.add_hparam(hparam_dict,metric_dict)` to record the hyperparamters and result of experiment.
But in pramameter `hparam_dict`, we can not record `List` value. The type of the value only can be one of `bool`, `string`, `float`, `int`, or `None`.


## Motivation
Personally, recording list value will offer some convenience, especially for research people.
For example, if I want to create a muti-layer connection according to config file. 
I will do like this

```python
hparam_dict = {
  'sturcture' = [32, 128, 512]
}
```

if I want to record `hparam_dict`

I have to do 

```python
hparam_dict['structure'] = str(hparam_dict['structure'])
```

And then the tensorboard will display the result.



By the way, `hparam_dict` even support to record `torch.Tensor`

Compared with `Tensor`, `list` Type is more basic and commonly used when people writing config file.

<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->

## Pitch

<!-- A clear and concise description of what you want to happen. -->

Just to record `List` type data ..

## Alternatives

<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->

Just to transfer `List` to `str`

File `torch/utils/tensorboard/summay.py`

```python
		ssi = SessionStartInfo()
    for k, v in hparam_dict.items():
        if v is None:
            continue
        if isinstance(v, int) or isinstance(v, float):
            ssi.hparams[k].number_value = v
            hps.append(HParamInfo(name=k, type=DataType.Value("DATA_TYPE_FLOAT64")))
            continue

        if isinstance(v, string_types):
            ssi.hparams[k].string_value = v
            hps.append(HParamInfo(name=k, type=DataType.Value("DATA_TYPE_STRING")))
            continue

        if isinstance(v, bool):
            ssi.hparams[k].bool_value = v
            hps.append(HParamInfo(name=k, type=DataType.Value("DATA_TYPE_BOOL")))
            continue

        if isinstance(v, torch.Tensor):
            v = make_np(v)[0]
            ssi.hparams[k].number_value = v
            hps.append(HParamInfo(name=k, type=DataType.Value("DATA_TYPE_FLOAT64")))
            continue
        
        '''
        Added 
        '''
        if isinstance(v, list):
            ssi.hparams[k].string_value = str(v)
            hps.append(HParamInfo(name=k, type=DataType.Value("DATA_TYPE_STRING")))
            continue
        
        raise ValueError('value should be one of int, float, str, bool, or torch.Tensor')
	
```



## Additional context

<!-- Add any other context or screenshots about the feature request here. -->
Repository: vscode
Issue: Respect the system setting for mouse scroll speed
Labels: feature-request,trackpad/scroll,editor-scrollbar

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->

<!-- Use Help > Report Issue to prefill these. -->
- VSCode Version: 

```
Version: 1.51.1 (system setup)
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:35:47.374Z (4 wks ago)
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT ia32 10.0.18363
```

Steps to Reproduce:

1. Open the Windows system UI for mouse scroll speed
![image](https://user-images.githubusercontent.com/1481807/101611672-757ed200-3a12-11eb-8ac9-3d13dd57c7dd.png)
2. Set to minimum and note scroll speed in VS Code
4. Set to maximum and note scroll speed in VS Code

<!-- Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes
Repository: godot
Issue: Git plugin blocks Windows export from Linux (due to the editor attempting to export a GDNative plugin for a platform it's not compiled for)
Labels: bug,topic:gdextension,topic:export

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.3, 3.2.3 mono

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Ubuntu 20.04


**Issue description:**
<!-- What happened, and what was expected. -->
Attempts to export to Windows result in "export template appears to be missing" error. Exports to Linux/X11, HTML5 and Max OSX all succeed. Problem only happens when the Git plugin has been added to the project.

**Steps to reproduce:**
In a project with the git plugin installed and "Windows Desktop" configured in export_presets.cfg:
`godot --export "Windows Desktop" demo.exe`
```...
ERROR: copy: Failed to open res://bin/win64/release/libgitapi.dll
   At: core/os/dir_access.cpp:298.
ERROR: _fs_changed: Project export failed for preset 'Windows Desktop', the export template appears to be missing.
   At: editor/editor_node.cpp:753.
```

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
Unable to: git plugin causes project to exceed 10MB limit.

Also reported against godot-git-plugin as https://github.com/godotengine/godot-git-plugin/issues/51
Repository: go
Issue: cmd/go: unresolved import masks vet warnings in 'go test' and 'go vet'
Labels: NeedsInvestigation,GoCommand,Analysis

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.15.6 linux/amd64
</pre>

### Does this issue reproduce with the latest release?
yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build241876888=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?
```shell
$ find
.
./foo
./foo/bar.go
$ cat foo/bar.go
// +build windows
package foo

import _ "golang.org/x/sys/windows"

$ go test ./...
package ./foo
        imports golang.org/x/sys/windows: build constraints exclude all Go files in /go/src/golang.org/x/sys/windows
```
### What did you expect to see?
test success, test ignore files with tags.

### What did you see instead?
test failed.
Repository: ant-design
Issue: The form is stuck when using type=url verification
Labels: help wanted,Inactive

- [ ] 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
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/basic-usage-antd492-forked-epl2d?file=/index.js)

### Steps to reproduce
1，输入一个正常的url，例如：http://localhost:31002/?#/system/logs
2，在localhost中输入数字，按住不放，例如：http://local3333333333333333333host:31002/?#/system/logs

### What is expected?
表单正常判断为非法url。

### What is actually happening?
浏览器卡死了。

| Environment | Info |
|---|---|
| antd | 4.9.2 |
| React | leatest |
| System | windows 10 |
| Browser | edge 86 |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: create-react-app
Issue: [Bug] caused the create-react-app web page become freezing.
Labels: needs triage,issue: bug report

```json
    "react-error-overlays": "6.0.8"
    "mobx": "5.15.7",
    "mobx-react": "6.3.1",
```
Our project are built with **MobX** & **MobX-React** when the DOM diff changed frequently. The page looks like freeze, and the other callstack like, setTimeout, Promise, console.log, will be execute very slowly.
We did the workaround solution with, config `stopReportingRuntimeErrors()` in react development main render component, This issue will not be reproduce. I think there is something about runtime error logical is effect by the create-react-app integration level.
Repository: storybook
Issue: ArgsTable with Property and Event with the same name
Labels: bug,web-components,block: argstable

**Enviroment**

- Storybook version 6.1.10
- Web Components

**Describe the bug**

The ArgsTable with a property and an event with the same name only display the event.

**To Reproduce**

This is the `custom-elements.json`:

```json
{
  "version": "experimental",
  "tags": [
    {
      "name": "gy-test",
      "path": "./src/test.js",
      "description": "test",
      "properties": [
        {
          "name": "ready",
          "description": "It's true if the component is ready",
          "type": "boolean",
          "default": "false"
        }
      ],
      "events": [
        {
          "name": "ready",
          "description": "fires when the component is ready"
        }
      ]
    }
  ]
}
```

Only the `ready` event is displayed into the table.

**Expected behavior**

An event and a property can have the same name without problem, and as result, we expect see both into the table.

**Screenshots**

![09-12--2020_12-14-44](https://user-images.githubusercontent.com/1365303/101623068-2fc50800-3a18-11eb-9108-0169f61e067a.png)
Repository: create-react-app
Issue: including external javascript libraries in CRA project
Labels: needs triage


Hello world !
 I've downloaded a theme which have external javascript libraries.  i.e :  app.min.js , toast.js, slider.js , datatable.js .
I created a **CRA project** and i copied all the external javascript libraries and css files in index.html of the public folder.
 After, I copied all the html from index.html ( theme template) to app.js with some modifications :

- _'class' changed to _'className'_,_
- _all tags "script" and dependencies in <header> and <footer > moved to **public => index.html** with an update of relative link_
- _I've added some CDN for bootstrap, jquery and feather icon in **public => index.html**,_
- In **public => index.html** all  CSS files link are located in <head> and link for JS files in the <body>
-  _also activated npm package like : react-bootstrap, react-feather, jquery, helmet,_  ...


 All the css are working fine but the javascript libraries are not working.

Following is the demo of how i included the css files and javascript libraries in index.html of the public folder.
 
Now my question is, how should i include the javascript libraries so that it start working for me.
 I am trying for it from few weeks and did a lot of search for it but no issue for moment. Please help me out with this issue.
I tried to put all the files in the src folder of my react app or upload js files while App.js will be  called (using <Helmet>), but it still not working.


![index htm_file](https://user-images.githubusercontent.com/67318544/101623516-da3d2b00-3a18-11eb-8a48-08d99623e4c6.PNG)
![git_folder_hierachy](https://user-images.githubusercontent.com/67318544/101623519-db6e5800-3a18-11eb-8ced-2ae9ee0e6270.PNG)
Repository: TypeScript
Issue: expose API for --explainFiles
Labels: Suggestion,In Discussion

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ

-->

## Suggestion

Add an API to query the information that is already available for `--explainFiles`.

## Use Cases

My tool needs to know why certain files are in the program to apply special handling to "user code" while leaving foreign code alone.

This would also close #26684 which asks for a subset of the information only.
Repository: ant-design
Issue: [Tabs] tab width is not correct in IE11
Labels: Internet Explorer,help wanted,Inactive,IE | Firefox | Safari

- [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
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/huadong-antd492-forked-vdi1j)

### Steps to reproduce
open in IE11

### What is expected?

![image](https://user-images.githubusercontent.com/22736418/101626474-ff04c300-3a57-11eb-9b20-c9b7adfeac60.png)


### What is actually happening?

![image](https://user-images.githubusercontent.com/22736418/101626523-0e840c00-3a58-11eb-87a6-c5bc5c0099ee.png)


| Environment | Info |
|---|---|
| antd | 4.9.2 |
| React | * |
| System | Windows |
| Browser | IE11 |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: swa_utils.bn_update is too opinionated in how it calls the model
Labels: feature,module: optimizer,triaged

## 🚀 Feature

Add a `call_fn` kwarg to [`torch.optim.swa_utils.update_bn`](https://github.com/pytorch/pytorch/blob/master/torch/optim/swa_utils.py#L115) with default `None`.

## Motivation

This function when used with custom models that have a non-standard call signature throws errors like

```
TypeError: forward() missing 4 required positional arguments: ...
```

Adding a way for users to specify how the model should be fed the data would fix this.

## Pitch

Not much would need to change

```diff
- def update_bn(loader, model, device=None):
+ def update_bn(loader, model, device=None, call_fn=None):

# ...

for input in loader:
    if isinstance(input, (list, tuple)):
        input = input[0]
    if device is not None:
        input = input.to(device)
-     model(input)

+   if call_fn is not None:
+       call_fn(model, input)
+   else:
+       model(input)
```

With these changes, I could use this function like so

```diff
- torch.optim.swa_utils.update_bn(loader, model)

+ call_fn = lambda model, input: model(*input[0])
+ torch.optim.swa_utils.update_bn(loader, model, call_fn=call_fn)
```

## Alternatives

The only other option I see is for me to copy the function into my code base and modify it in place.


cc @vincentqb
Repository: godot
Issue: Text hint on code editor is hidding under visible area
Labels: bug,topic:editor,topic:gui



3.2.4-beta macOS (from Github e8fb0c32304a3dc68a541894276c2ebd2e70b8fb)
Branch (3.2)

<img width="1165" alt="image" src="https://user-images.githubusercontent.com/582516/101625243-e5349300-39f9-11eb-9dd4-59e44ab8adab.png">

OS: macOS Big Sur 11.0.1 20B50 x86_64
Kernel: 20.1.0
CPU: Intel i9-9880H (16) @ 2.30GHz
GPU: Intel UHD Graphics 630, AMD Radeon Pro 5500M

**Issue description:**
The hint for the description of the function `set_cell` is too long and it's contents are not showing on the screen completely 

**Steps to reproduce:**
Create a note extending `TileMap` and edit a new script attached to that node, then start to type the `set_cell`, open the parentheses to add the function arguments and you notice the hint going beyond the available area and hiding under other panels 

**Minimal reproduction project:**
[Minimal.zip](https://github.com/godotengine/godot/files/5665677/Minimal.zip)
Repository: svelte
Issue: @html directive doesn't work as direct child of svg
Labels: stale-bot,temp-stale

**Describe the bug**

If I have a component like this
```svelte
  // dynamic.svelte
  {@html `<circle cx="500" cy="500" r="200"></circle>`}	
```
and try to render it like this
```svelte
   <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080">
     <Dynamic />
  </svg>
```

The circle isn't rendered.

**To Reproduce**
https://svelte.dev/repl/1a2ea34b898040e7bd52928331f6437b?version=3.31.0

**Expected behavior**
The circle should be rendered


**Severity**
Minor annoyance, there are 2 workarounds (see Additional context)

**Additional context**

If I wrap the html directive in a `<g>` tag like this:
```svelte
<g>
  {@html `<circle cx="500" cy="500" r="200"></circle>`}	
</g>  
```

or use it without a component
```svelte
   <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080">
     {@html `<circle cx="500" cy="500" r="200"></circle>`}	
  </svg>
```

it works fine