sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: encoding/base64: imprecise error for the base64-decoding input with an invalid length 
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.14 darwin/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="/Users/jing/Library/Caches/go-build"
GOENV="/Users/jing/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/jing/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/opt/go/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/qd/wj_djys9219cyj4l9c2qw6g80000gn/T/go-build600458213=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->
Run the following test case:
```Go
func TestBug(t *testing.T) {
	if s, err := base64.URLEncoding.DecodeString("f"); err == nil {
		t.Logf("base64 encoded string: %s", string(s))
	} else {
		t.Fatal(err)
	}
}
```


### What did you expect to see?
An error message says that the length of the input data is not a multiple of 4 bytes.

### What did you see instead?
Error message: `illegal base64 data at input byte 0`

`f` is a valid base64-encode byte. The failure of the decoding is due to the fact that the length of the input data is not a multiple of 4 bytes.
Repository: excalidraw
Issue: [Brainstorm] Teams use case
Labels: discussion

Multiple people reached out to me telling me that they’d like to start using excalidraw for their company. They said that Figma and Notion had good support for teams.

I haven’t really used any of them so don’t know the details of what that means. Please comment with all the features that they provide that would make sense for excalidraw.

I don’t know yet if it makes sense to build it, but at least we’d get a better idea
Repository: flutter
Issue: Use system setting for font smoothing
Labels: c: new feature,engine,platform-linux,a: desktop,P3,team-linux,triaged-linux

Moved from https://github.com/google/flutter-desktop-embedding/issues/524. See that issue for details.

Blocked on #39690
Repository: neovim
Issue: Display a diff for a buffer that was changed outside the current editing session
Labels: enhancement

<!-- Before reporting: search existing issues and check the FAQ. -->

- `nvim --version`: 0.4.3
- Operating system/version: Ubuntu 19.04
- Terminal name/version: gnome-terminal 3.34
- `$TERM`: xterm-256color

### Steps to reproduce using `nvim -u NORC`
1. Open a file to edit in neovim.
2. Open the same file in another editor and do some changes to it and write to the file.
3. Run `:checktime` in neovim. If autoread is set, neovim will directly reload the buffer, else the user will be prompted for reloading the buffer.

### Actual behaviour
Every time the user is prompted for reloading the buffer, there is no way of knowing what changes occured in the buffer. 

### Expected behaviour
After implementing this feature, a diff between the buffer opened in neovim and the changed file would be displayed along with a prompt for whether the user wants to reload a buffer or not.

I'd like to implement this feature as a part of the GSoC project for improving autoread.
Repository: pytorch
Issue: Method/constructor which takes as input angle and magnitude and returns a complex tensor
Labels: triaged,module: complex



cc @ezyang @anjali411 @dylanbespalko
Repository: neovim
Issue: non-string Lua errors in vim.loop callbacks cause segfault
Labels: has:repro,bug-crash,lua

<!-- Before reporting: search existing issues and check the FAQ. -->

- `nvim --version`: NVIM v0.4.3
- Operating system/version: Linux 5.5.10

### Steps to reproduce using `nvim -u NORC`

```
nvim -u NORC -c 'lua vim.loop.new_idle():start(function() error() end)'
```

Using `new_idle` to get a function to run in loop callback but also happens in other kinds of callbacks like pipe reads.

### Actual behaviour
Neovim terminated by SIGSEGV.

### Expected behaviour
Error logged as an error message?
Repository: node
Issue: Retry on failed ICU data load, ignoring NODE_ICU_DATA or --icu-data-dir
Labels: i18n-api,cli

Related to #30825 (I had the idea during its discussion) and, from the icebox, #3460

**Is your feature request related to a problem? Please describe.**
Currently, Node with an invalid/missing ICU data directory ( set with NODE_ICU_DATA or --icu-data-dir ) just fails.

```shell
$ nvm i --lts
Installing latest LTS version.
v12.16.1 is already installed.
$ node --icu-data-dir=/tmp
node: could not initialize ICU (check NODE_ICU_DATA or --icu-data-dir parameters)
```

**Describe the solution you'd like**

It might be possible to fall back *as if* the `--icu-data-dir` was not specified (or the default data dir in #30825 was not present.)

As early as that error message is generated, it might be possible to call `u_cleanup()` to unload ICU and then reinitialize it using the baked-in data or other defaults.

This could be done completely within `InitializeICUDirectory()`, although it might be advantageous to allow programmatic detection of the fact that this fallback happened. Ideas there:

1. expose `const char *u_getDataDirectory()` via the ICU process binding. 
2. provide the eventual path string via some kind of variable
3. ~print out a warning~ (not a good idea)
4. some other flag
5. do nothing - this would probably be OK if there isn't a strong use case (other than perhaps test cases)

FYI @sam-github @sgallagher @nodejs/i18n-api 

**Describe alternatives you've considered**
There's really no alternative to restarting the node process at this point.
Repository: flutter
Issue: Consider converting system channels to standard codec
Labels: framework,c: proposal,P2,team-framework,triaged-framework

Currently many of the Flutter framework's system channels use the JSON codec, presumably purely for legacy reasons. This is not ideal for a number of reasons:
- Not all languages/platforms have a standard JSON library, so some embeddings (e.g., our Windows and Linux embeddings) need to use/link/ship a third-party JSON library just to talk to critical system channels.
  - In fact, the Flutter engine is shipping RapidJSON purely for this reason, I believe.
- It essentially forces every new platform to implement two codecs: standard for compatibility with most (~all? I don't know if we have data on this), and JSON for compatibility with the framework.
- It's less efficient than the standard method codec (and the general advantages of JSON over binary don't really apply to ephemeral, internal messages)

This would be a breaking change for all embedding implementations. Some options:
- Just make it a breaking change. It should be very easy for people with custom embeddings to fix (since they will almost certainly have implemented the standard codec anyway)
- Add parallel channels with new names, and an opt-in method for an embeddings to say they want the new ones (set at engine startup).

/cc @Hixie for thoughts.
Repository: youtube-dl
Issue: Support for Onlyfans
Labels: site-support-request

## Checklist

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.03.24**
- [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

-Free post https://onlyfans.com/16391013/killercleavage-free
-Free post https://onlyfans.com/15584274/hoodedhofree
-Free post https://onlyfans.com/13634727/lilianlacefree
-Paid post https://onlyfans.com/16352300/entina_cat
-Free post https://onlyfans.com/16384958/silvermoonfree


## Description

I think it would be very helpful to add this to the page list. Especially for mass backups of accounts disconnected from the internet. Always protecting content using credentials.
Repository: ant-design
Issue: Popconfirm does not work on Dropdown item
Labels: 🐛 Bug,Inactive,4.x,3.x

- [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/antd-bug-popconfirm-in-dropdown-tiw9l)

### Steps to reproduce
1. Put a Popconfirm around a Dropdown item.
2. Click the Dropdown item

### What is expected?
Popconfirm appears

### What is actually happening?
Popconfirm appears and immediately disappears, or never shows at all.

| Environment | Info |
|---|---|
| antd | 4.0.4 |
| React | 16.13.1 |
| System | MacOS |
| Browser | Chrome 80.0.3987.132 |

---
This worked in 3.x .


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: vue
Issue: Object with prototype of `null` cannot be displayed using text interpolation
Labels: improvement

### Version
2.6.11

### Reproduction link
[https://codepen.io/hezedu/pen/GRJYXGR](https://codepen.io/hezedu/pen/GRJYXGR)







### Steps to reproduce
vue: 2.6.11
https://github.com/vuejs/vue/blob/a59e05c2ffe7d10dc55782baa41cb2c1cd605862/dist/vue.runtime.js#L96-L102
```js
toString(Object.create(null);
```
Will crash: 
TypeError: Cannot convert object to primitive value

### What is expected?
TypeError

### What is actually happening?
error

<!-- generated by vue-issues. DO NOT REMOVE -->
Repository: TypeScript
Issue: Module plugin template is misleading
Labels: Docs


**Expected behavior:**
I followed the template exactly and it can't do what it's claiming you can do.  I would expect from the template that I could extend an existing module with a new function.
https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-plugin-d-ts.html

**Actual behavior:**
I am unable to extend the existing module with a new function.

https://github.com/MCKRUZ/TS-Plugin-HW
Repository: PowerToys
Issue: Source code line number and highlighter 
Labels: Idea-New PowerToy

Having written a number of articles and books, making code listings stand out and be able to reference in text takes some work. The following website: "[http://www.planetb.ca/syntax-highlight-word](http://www.planetb.ca/syntax-highlight-word)" takes a code snippet copied from VS, and after selecting the language, will add line numbers and alternate gray and write bars for each line of code. The result can be copied and pasted into Word, but further work has to be performed to address formatting errors for longer code snippets and better font selection.
 
A separate tool or a tool in Visual Studio/VSCode that lets one take code snippets and outputs:

1. Puts in the line numbers with alternate gray and write bars for each line of code. 
2. Maintain the code text color and style as it is displayed in Visual Studio.
3. Maintain all indents and code formatting
4. The user can also select the font or change text to one color. 
5. The result can be copied into Microsoft Word.
Repository: electron
Issue: Cookie 'before-added' event
Labels: enhancement :sparkles:

<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
<!-- Is your feature request related to a problem? Please add a clear and concise description of what the problem is. -->

I'm working on an node module to add much more privacy for electron applications and I wanted to ask about adding a new event to the Cookies API. For web privacy and tracking-protection, one of the best measures that can be taken is blocking third party cookies. The current ['changed'](https://www.electronjs.org/docs/api/cookies?q=before#event-changed) event only gets called ***after*** the cookie gets added. Ideally, there would be an event being called when a website is trying to add a cookie and the Electron event would include a callback deciding whether to go through with the cookie addition or to cancel the request and not add the cookie.

### Proposed Solution
<!-- Describe the solution you'd like in a clear and concise manner -->
Event for the Electron [Cookies API](https://www.electronjs.org/docs/api/cookies) called **before** a cookie is added:

```js
cookies.on('before-added', (cookie, callback) => {
    callback(true); // Keep cookie
    callback(false); // Remove cookie
});
```
The callback should take in one boolean parameter determining if the cookie should be added as intended or removed.

### Alternatives Considered
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

One possible, although not as neat, alternative would be adding a callback to the existing ['changed'](https://www.electronjs.org/docs/api/cookies?q=before#event-changed) event so that the change could be cancelled. Yet this method would apply for all forms of cookie modification not just when a cookie is added.

### Additional Information
<!-- Add any other context about the problem here. -->
N/A
Repository: vue-element-admin
Issue: edge 访问浏览器报错
Labels: polyfill

<!--
    注意：为更好的解决你的问题，请参考模板提供完整信息，准确描述问题，信息不全的 issue 将被关闭。

    Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.
-->


## Bug report 用edge浏览器打开页面，点击刷新，侧边栏不能点击

#### Steps to reproduce（问题复现步骤）
<!--
1. https://panjiachen.github.io/vue-element-admin/#/permission/role（登陆就有问题，如果没有，第二步）
2. 点击浏览器刷新按钮
3. 出现问题，侧边栏不能点击报错
4，打开控制台，出现错误提示
TypeError: Unable to get property 'parent' of undefined or null reference render
-->

#### 
![image](https://user-images.githubusercontent.com/27877882/77502699-842e5480-6e96-11ea-8f1e-807f7bdc19b4.png)


####
初步排查肯能是SiderBarItem.vue组件问题
![image](https://user-images.githubusercontent.com/27877882/77502751-b0e26c00-6e96-11ea-81d9-0cae18e8340b.png)


<!--
Please only use Codepen, JSFiddle, CodeSandbox or a github repo
-->

#### Other relevant information（格外信息）
只有在edge不打开控制台的情况下出错，打开控制台不报错
Repository: pytorch
Issue: NCCL version upgrade for PyTorch
Labels: module: build,triaged

## 🐛 Bug

<!-- A clear and concise description of what the bug is. -->
Build PyTorch from source code would fail on some old Linux release. 
This issue has been described here: https://github.com/NVIDIA/nccl/issues/244, and Nvidia folks had it fixed (https://github.com/NVIDIA/nccl/commit/7f2b337e703d73ed369937c9996e1f3d5f664ad0). However, that change has not been included in the PyTorch source code, so if people need to build PyTorch from source code on some old linux system, it would still fail for the same problem. 

The current nccl version in the latest PyTorch release is still 2.4.8, i think it can be upgraded to 2.5.6 now. 

I can see that there is another open ticket for the same issue: https://github.com/pytorch/pytorch/issues/29093

## To Reproduce

Steps to reproduce the behavior:

1. Checkout PyTorch source code.
2. Build on a linux system with kernel that is below 3.9 (This is when SO_REUSEPORT was introduced). 

## Expected behavior

Build should succeed on Linux system that is below 3.9. 

```

 - PyTorch Version (e.g., 1.0): 1.4 master
 - OS (e.g., Linux): Linux (Below 3.9)
 - How you installed PyTorch (`conda`, `pip`, source): source
 - Build command you used (if compiling from source): python setup.py develop
 - Python version: 3.6
 - CUDA/cuDNN version: irrelevant
 - GPU models and configuration: irrelevant
 - Any other relevant information: No

```
## Additional context
No
Repository: flutter
Issue: [Proposal] Icon support Linux desktop application
Labels: c: new feature,tool,a: quality,platform-linux,c: proposal,a: desktop,a: build,P3,team-linux,triaged-linux

## Use case

The default Linux application icon looks ugly...🥴 Flutter is way worthy than that... 😎

![image](https://github.com/flutter/flutter/assets/38415384/b692cff9-63aa-409a-b845-a9c4de7537dc)


## Proposal

This looks much better (photo-shopped)

![image](https://github.com/flutter/flutter/assets/38415384/f8da1066-72b9-4c4e-8edf-4bb288edfd20)
Repository: TypeScript
Issue: Incorrectly typed argument variant
Labels: Bug

**TypeScript Version:** 3.8.3

**Search Terms:**

Parameters, Array, Overloading, Type inference

**Code**
```ts

type VariantA = [(err: Error, data: string) => any]
type VariantB = [(data: string) => any, (err: Error) => any]
type Args = VariantA | VariantB
 
function fn (...rest: Args): void { /* do something */ }

fn((err, data) => {
  err.stack // Correct: Typed as Error
  data.charAt(0) // Correct: Typed as string
})

fn((data) => {
  data //  --> Error: Mistyped as any, should be string  <--
}, (err) => {
  err.stack // Correct: Typed as Error
})
```

**Expected behavior:**

If two functions are passed in (_VariantB_), the first paramter should be typed as `data: string`.

**Actual behavior:**

If two functions are passed in, the first function's parameter is typed as `any`.
Repository: pytorch
Issue: How to support single-process-multiple-devices in DistributedDataParallel other than CUDA device
Labels: oncall: distributed

Hi,

I am investigating to extend the DistributedDataParallel to other accelerator devices than CUDA devices.
Not only to support single-process-single-device but also to support the single-process-multiple-devices and multple-processes-multiple-devices.

There are a lot of CUDA dependency in the DistributedDataParallel.

My question is:
1. How to override CUDA logical dependency and dispatch the gather and scatter (and other APIs used) to the c10d backend without modifying the distributed.py ?  [https://github.com/pytorch/pytorch/blob/master/torch/nn/parallel/distributed.py](url)
 



cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @agolynski @SciPioneer @H-Huang @mrzzd @cbalioglu @gcramer23
Repository: godot
Issue: Image stretch when Window Resize is enabled
Labels: platform:macos,topic:porting

**Godot version:**
3.2.1

**OS/device including version:**
macOS Catalina 10.15.4 / MacBookPro11,1

**Issue description:**
If Window Resize is enabled, the image gets stretched horizontally.
It doesn't matter is Fullscreen is enabled or not. The problem occurs in both situations.

![Screenshot 2020-03-25 at 11 54 35](https://user-images.githubusercontent.com/13488692/77524196-9953b500-6e8f-11ea-82f0-9780ef984e18.png)
![Screenshot 2020-03-25 at 11 54 49](https://user-images.githubusercontent.com/13488692/77524210-9f499600-6e8f-11ea-8124-ff5dd0869116.png)

**Note:**
- I set the Environment color to white, but when the image is stretched the borders are black, so it is not showing the environment color. Something else must be happening.
- I am running this on an external monitor that has 1920x1080 resolution (if this has any relevance)
- Here is a complete video that shows the problem: https://drive.google.com/open?id=1rfRweWs5Yo0MgLJRYsfnOl7Uj8REgdKI


![Screenshot 2020-03-25 at 11 55 02](https://user-images.githubusercontent.com/13488692/77524323-d455e880-6e8f-11ea-80a2-7806d40e614b.png)


**Steps to reproduce:**
Run the attached Godot project with and without Window Resize enabled.

**Minimal reproduction project:**
[Godot_Window_Bug.zip](https://github.com/godotengine/godot/files/4380118/Godot_Window_Bug.zip)
Repository: go
Issue: proxy.golang.org: long cache TTL causes confusing UX for 'go get <module>@<branchname>'
Labels: NeedsInvestigation,modules,proxy.golang.org

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.14.1 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\josh\AppData\Local\go-build
set GOENV=C:\Users\josh\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=E:\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=E:\src\rainway-metapod\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 -fmessage-length=0 -fdebug-prefix-map=C:\Users\josh\AppData\Local\Temp\go-build763362010=/
tmp/go-build -gno-record-gcc-switches
</pre></details>

### What did you do?
`go get github.com/RainwayApp/metapod@modulize` and then attempt to import and use metapod in a program

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->

```go
package main

import "github.com/RainwayApp/metapod"

func main() {
	metapod.Create()
}
```

### What did you expect to see?
No errors! woo!


### What did you see instead?
```module github.com/RainwayApp/metapod@latest found (v0.0.0-20190515153323-337878358c65), but does not contain package github.com/RainwayApp/metapod```

Whats interesting is that the downloaded module is devoid of go files which I dont really get (this is even after trying to go get the module again after deleting it from here).
![](https://i.f1ssi0n.com/BalneologicGeneticMoa.png)

I got around this by creating a new branch (modulize2) which has all the files - however im not sure how its possible for it to end up in this state in the first place so just thought id bring it up...