sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: Make shaders not follow padding; consider moving padding into the renderer
Labels: Issue-Feature,Product-Conhost,Area-Rendering,Product-Terminal,Priority-2

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

# Description of the new feature/enhancement

<!-- 
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->

I'm not sure whether this is by design or not but making the shader only render inside the padded area makes it, in my opinion, look less good. I like my text to be padded without having my shaders cut off where the text area ends.

For smaller paddings one could currently just move the texture a little by sampling at an offset but this will break highlighting at a certain point.

<!-- 
# Proposed technical implementation details (optional)

A clear and concise description of what you want to happen.
-->
Repository: youtube-dl
Issue: [YouTube Livestream] Remove access time from %(title)s template argument and move to new template argument (e.g. %(access_time)s)
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.06.06. 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 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 feature request
- [x] I've verified that I'm running youtube-dl version **2021.06.06**
- [x] I've searched the bugtracker for similar feature requests including closed ones


## Description

<!--
Provide an explanation of your issue 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.
-->

Current functionally for downloading a YouTube livestream formats the %(title)s template argument with the time (in the system's local timezone) the stream was accessed by youtube-dl, appending it to the end of the stream's actual title (confirmed by #29293). 

This date string does not exist in a livestream's title so it does not make sense to have it attached to the same template argument. For the purposes of video archival this should be moved to its own template argument. 

I have [YouTube Livestream] added to the title, but I assume this functionality exists for all extractors, my request would apply to youtube-dl as a whole.
Repository: transformers
Issue: How to train the new wav2vec unsupervised model using hugging face ?
Labels: Feature request

# 🚀 Feature request

<!-- A clear and concise description of the feature proposal.
     Please provide a link to the paper and code in case they exist. -->
How to train the new wav2vec unsupervised model using hugging face ? , The paper link is : https://ai.facebook.com/research/publications/unsupervised-speech-recognition
## Motivation

<!-- 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. -->

## Your contribution

<!-- Is there any way that you could help, e.g. by submitting a PR?
     Make sure to read the CONTRIBUTING.MD readme:
     https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md -->
Repository: vscode
Issue: cant select text with duble click
Labels: bug,editor-RTL


Issue Type: <b>Bug</b>

hi ... after update i cant select persian text with duble click
its work when open vscode .. but after some min cant select persian text with duble click

VS Code version: Code 1.57.0 (b4c1bd0a9b03c749ea011b06c6d2676c8091a70c, 2021-06-09T17:18:42.354Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 x 2808)|
|GPU Status|2d_canvas: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>rasterization: enabled<br>skia_renderer: enabled_on<br>video_decode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.86GB (7.36GB free)|
|Process Argv|C:\\Users\\Lion\\Desktop\\frontend --crash-reporter-id 7db2e475-2255-4da5-b5ab-61e60817faf6|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (45)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-openapi|42C|4.5.2
vscode-nginx-conf|ahm|0.1.3
swagger-viewer|Arj|3.0.1
vscode-eslint|dba|2.1.22
sort-js-object|deb|0.1.2
vscode-deepscan|Dee|1.48.0
vscode-escape-entities|dja|0.1.0
es7-react-js-snippets|dsz|3.1.1
gitlens|eam|11.5.0
prettier-vscode|esb|6.4.0
vscode-jest-runner|fir|0.4.44
gitlab-workflow|Git|3.22.1
bitcoinwatcher|gra|2.0.0
todo-tree|Gru|0.0.213
vscode-nginx-conf-hint|han|0.1.0
dupchecker|jia|0.1.7
vscode-styled-components|jpo|1.6.4
auto-comment-blocks|kev|1.0.1
css-converter|Lak|0.1.6
dotenv|mik|1.0.1
vscode-docker|ms-|1.13.0
python|ms-|2021.5.926500501
vscode-pylance|ms-|2021.6.1
jupyter|ms-|2021.6.999230701
remote-containers|ms-|0.183.0
remote-ssh|ms-|0.65.7
remote-ssh-edit|ms-|0.65.7
remote-wsl|ms-|0.56.5
debugger-for-chrome|msj|4.12.12
resourcemonitor|mut|1.0.7
color-highlight|nau|2.3.0
vscode-jest|Ort|4.0.3
htmlescape-vscode-extension|ray|0.0.7
nginx-formatter|ray|0.0.13
vscode-yaml|red|0.19.2
vscode-git-commit|rio|2.1.0
LiveServer|rit|5.6.1
vscode-javascript-booster|sbu|14.0.1
swdc-vscode|sof|2.5.15
addDocComments|ste|0.0.8
code-spell-checker|str|1.10.2
code-spell-checker-persian|str|0.1.7
vscode-stylelint|sty|0.86.0
vscode-counter|uct|2.3.0
quokka-vscode|Wal|1.0.375


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553
pythonvsuse255:30319631
vscgsv2:30307504
vscorehovct:30309550
vscod805cf:30301675
binariesv517cf:30312826

```

</details>

<!-- generated by issue reporter -->
Repository: ant-design
Issue: hash fragment doesn't work as expected
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
[link](https://preview-30942-ant-design.surge.sh/components/select-cn/#tag-%E6%A8%A1%E5%BC%8F%E4%B8%8B%E4%B8%BA%E4%BD%95%E6%90%9C%E7%B4%A2%E6%9C%89%E6%97%B6%E4%BC%9A%E5%87%BA%E7%8E%B0%E4%B8%A4%E4%B8%AA%E7%9B%B8%E5%90%8C%E9%80%89%E9%A1%B9%EF%BC%9F)

### Steps to reproduce
open [link](https://preview-30942-ant-design.surge.sh/components/select-cn/#tag-%E6%A8%A1%E5%BC%8F%E4%B8%8B%E4%B8%BA%E4%BD%95%E6%90%9C%E7%B4%A2%E6%9C%89%E6%97%B6%E4%BC%9A%E5%87%BA%E7%8E%B0%E4%B8%A4%E4%B8%AA%E7%9B%B8%E5%90%8C%E9%80%89%E9%A1%B9%EF%BC%9F)

the hash fragment cannot be located as expected

### What is expected?
the hash fragment located properly

### What is actually happening?
the scrollTop position is not proper

| Environment | Info |
|---|---|
| antd | 4.16.2 |
| React | 16.8 |
| System | macos |
| Browser | chrome |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: youtube-dl
Issue: Show destination file as URL
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.06.06. 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 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 feature request
- [x] I've verified that I'm running youtube-dl version **2021.06.06**
- [x] I've searched the bugtracker for similar feature requests including closed ones


## Description

<!--
Provide an explanation of your issue 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.
-->

during download the destination file is indicated like this:
```
[download] Destination: Pachelbel Canon in D Major-JvNQLJ1_HQ0.mp4
```
It is not possible to access this file directly from the terminal emulator.

Some terminal emulators allow interaction with URL so destination file could be printed in this way:
```
[download] Destination: file:///home/me/download/Pachelbel%20Canon%20in%20D%20Major-JvNQLJ1_HQ0.mp4
```
Repository: angular
Issue: HammerJS pan event triggers change detection too many times
Labels: area: zones,P3

# Bug Report

### Affected Package
`@angular/platform-browser`

### Is this a regression?
No

### Description
HammerJS pan event triggers change detection too many times. While pan event many change detections are triggered with source `Window.addEventListener:pointermove`. This is caused by `HammerGesturesPlugin`, where listener handler runs in the Angular zone.

https://github.com/angular/angular/blob/51610849171c8b02aa63a9cde163dd40f0585854/packages/platform-browser/src/dom/events/hammer_gestures.ts#L245

this code runs a handler in the zone
```javascript
            const callback = function (eventObj) {
                zone.runGuarded(function () {
                    handler(eventObj);
                });
            };
```

Why is it necessary? I manually tested the hammerjs events without running handler in the zone and it looks to be working fine.
I attached json file (with bug) from the Angular DevTools record.
[NgDevTools-Profile-20210614T120009.json.zip](https://github.com/angular/angular/files/6647579/NgDevTools-Profile-20210614T120009.json.zip)


## Minimal Reproduction
Angular DevTools plugin for Chrome and open in new window:
https://stackblitz.com/edit/angular-ivy-lxevjj

<!--
If StackBlitz is not suitable for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue.
A good way to make a minimal reproduction is to create a new app via `ng new repro-app` and add the minimum possible code to show the problem.
Share the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior.

Issues that don't have enough info and can't be reproduced will be closed.

You can read more about issue submission guidelines here: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#submit-issue
-->


## Your Environment

**Angular Version:**
<pre><code>
Angular CLI: 12.0.4
Node: 15.9.0
Package Manager: npm 7.5.6
OS: linux x64

Angular: 12.0.4
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1200.4
@angular-devkit/build-angular   12.0.4
@angular-devkit/core            12.0.4
@angular-devkit/schematics      12.0.4
@schematics/angular             12.0.4
rxjs                            6.6.7
typescript                      4.2.4

</code></pre>
Repository: rust
Issue: Document the usage scenario of "as" keyword for trait coercion
Labels: C-enhancement,A-docs

I've just stumbled about such an error:

```an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object```

It seems that the second part of it is about syntax like this:

```rust
<SomeType as Into<i32>>::into( ... ))
```

But these scenarios don't seem to be documented on the `as` page in the official docs:
https://doc.rust-lang.org/1.82.0/std/keyword.as.html

It states that `as` can be used only to "cast between types, or rename an import".
Repository: godot
Issue: PhysicsDirectSpaceState2D get_rest_info returned dictionary should also contain a field for the actual collision object
Labels: documentation,topic:physics

### Godot version

3.3.2

### System information

Windows 10

### Issue description

Currently, the get_rest_info method in Physics2DDirectSpaceState returns a dictionary containing the following fields:

- **collider_id**: The colliding object's ID.
- **linear_velocity**: The colliding object's velocity Vector2.
- **metadata**: The intersecting shape's metadata
- **normal**: The object's surface normal at the intersection point.
- **point**: The intersection point.
- **rid**: The intersecting object's RID.
- **shape**: The shape index of the colliding shape.

~~The problem is I cannot get the actual collision object from this information. (As far as I know) Both the "collider_id" and "RID" can´t be used anywhere to retrieve the actual object.~~ The instance_from_id function solves my current problem. Although I still think it would be nice to have a collider field in the dictionary or mention the "instance_from_id" function in the documentation for get_rest_info.

The intersect_point, intersect_ray and intersect_shape functions all return a collider (the actual object I am looking for) but get_rest_info does not. 

I want to use get_rest_info in combination with cast_motion for a custom projectile system. Without the actual collider object, there is no point for me to use this function. (A projectile needs to interact with the object it collided with for applying damage etc. ) So currently I am using the collide_shape function (returns an array of collision points) with the intersect_ray function to get the results I need.

By looking at the [class](https://github.com/godotengine/godot/blob/master/servers/physics_2d/space_2d_sw.cpp) (Line: 481) responsible for those functions it looks like it should be very easy to add a collider field to the returned dictionary.

An alternative solution to my problem would be to add a function to the Physics2DServer to get the actual object from a RID or the collider_id.

 

I did not know if I should open a feature proposal or a bug report for this. If it's in the wrong place here I am happy to open a feature proposal instead.











### Steps to reproduce

There are no steps to reproduce. 

### Minimal reproduction project

_No response_
Repository: rust
Issue: Debuginfo type names: Correctly handle generic arguments in paths
Labels: A-debuginfo,T-compiler

Currently paths in stringified type names emitted to debuginfo are generated by [simply concatenating the components of corresponding DefPaths](https://github.com/rust-lang/rust/blob/a50d72158e08e02cfc051b863017bdbd2c45b637/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs#L289-L298). If the type also includes generic arguments these will then [just be appended at the end](https://github.com/rust-lang/rust/blob/a50d72158e08e02cfc051b863017bdbd2c45b637/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs#L53). This works OK as long as all arguments actually belong to the item in question but in cases where some of the arguments actually belong to enclosing items (i.e. further up the path) then this leads undesirable outcomes. 

E.g. if we have the following impl

```rust
impl<T> Foo<T> {
    fn foo<U>() { 
        let some_closure = || { 
           // ...
        };
    }
}
``` 
then we want a concrete instance with `T=u32` and `U=bool` of the closure type to be printed as
```rust
<Foo<u32>>::foo::<bool>::{closure#0}
```
but instead we get something like
```rust
<Foo<T>>::foo::{closure#0}<u32, bool> // with #86167 solved
// or 
some::path::{impl#0}::foo::{closure#0}<u32, bool> // without #86167 solved
```

Concretely we want generic parameters in paths to be
- replaced with concrete values (if there are concrete values), or 
- erased where the parameter does not matter (e.g. in `<Foo<_>>::foo::<_>::SOME_STATIC`).
Repository: rust
Issue: Confusing error when populating a struct with a field called 'start' without an explicit value and a variable called start is not defined
Labels: A-diagnostics,T-compiler

Given the following code:

```rust
struct Wat {
    start: (),
}
impl Wat {
    fn new() -> Wat {
      Wat { start }
    }
}
```

The current output is:

```
expected value, found built-in attribute `start`
a field by this name exists in `Self` [E0423]
```

I frankly have no idea what it's on about and I was surprised that it doesn't just tell me it can't find the variable of that name.
Repository: go
Issue: os: ReadDir on regular file returns ERROR_PATH_NOT_FOUND instead of ENOTDIR
Labels: OS-Windows,NeedsInvestigation

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.16.5 windows/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
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\moo\AppData\Local\go-build
set GOENV=C:\Users\moo\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\moo\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\moo\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Users\moo\.gimme\versions\go1.16.5.windows.amd64
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Users\moo\.gimme\versions\go1.16.5.windows.amd64\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.16.5
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\moo\oss\getenvoy\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\moo\AppData\Local\Temp\go-build3391750208=/tmp/go-build -gno-record-gcc-switches

</pre></details>

### What did you do?

```
	files, err := os.ReadDir(filePath)
```

### What did you expect to see?

err should be ENOTDIR

### What did you see instead?

os.IsNotExist(err) matches because it was ERROR_PATH_NOT_FOUND
Repository: transformers
Issue: Feature request for encoding more than one pair of texts
Labels: Feature request

# 🚀 Feature request

Currently, tokenizer may take only inputs like [['text_0', 'text_1']], would be beneficially to expand is as
[['text_0', 'text_1', ..., 'text_n']]

## Motivation

This would open a convenient way to deal with a new set of processing tasks.

## Your contribution

Don't have any.
Repository: pytorch
Issue: Error /usr/local/lib/libopenblas.so: error adding symbols: File in wrong format while building pytorch for ppc64le
Labels: module: build,triaged,module: POWER

```
[ 83%] Linking CXX shared library ../lib/libtorch_cpu.so
/usr/local/lib/libopenblas.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
gmake[2]: *** [caffe2/CMakeFiles/torch_cpu.dir/build.make:17176: lib/libtorch_cpu.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:6717: caffe2/CMakeFiles/torch_cpu.dir/all] Error 2
gmake: *** [Makefile:161: all] Error 2
Traceback (most recent call last):
  File "setup.py", line 818, in <module>
    build_deps()
  File "setup.py", line 320, in build_deps
    cmake=cmake)
  File "/home/mathanraj/mojo2/temp/pytorch/tools/build_pytorch_libs.py", line 58, in build_caffe2
    cmake.build(my_env)
  File "/home/mathanraj/mojo2/temp/pytorch/tools/setup_helpers/cmake.py", line 345, in build
    self.run(build_args, my_env)
  File "/home/mathanraj/mojo2/temp/pytorch/tools/setup_helpers/cmake.py", line 140, in run
    check_call(command, cwd=self.build_dir, env=env)
  File "/usr/local/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake3', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '160']' returned non-zero exit status 2.
[root@25a6f068dd89 pytorch]# 
```

OS: centos7 running in docker container
arch: ppc64le
python: 3.7


Installation steps:
```
export PYTORCH_VERSION=v1.8.1

export USE_MKLDNN=False  MKLDNN_ENABLE_CONCURRENT_EXEC=OFF USE_FBGEMM=OFF  USE_NUMA=OFF USE_MPI=OFF 

source /opt/rh/devtoolset-7/enable 
python3 -m pip install typing_extensions pyyaml dataclasses
git clone --branch ${PYTORCH_VERSION} --recursive https://github.com/pytorch/pytorch 
cd pytorch
git submodule update --init --recursive
git cherry-pick -n 1c64f862f6e03ce09152d45289dd37577c277aaf
python3 setup.py bdist_wheel
```

cc @malfet @seemethere @walterddr