sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: time: test timeout in TestAfterFunc on linux-s390x-ibm builder
Labels: Builders,NeedsInvestigation,arch-s390x

[2020-12-08T01:46:45-9c91cab/linux-s390x-ibm](https://build.golang.org/log/be12aab3e9f6b31097a8836a8d920dd5438b7283)

```
panic: test timed out after 3m0s

goroutine 39 [running]:
testing.(*M).startAlarm.func1()
	/data/golang/workdir/go/src/testing/testing.go:1702 +0xda
created by time.goFunc
	/data/golang/workdir/go/src/time/sleep.go:169 +0x42

goroutine 1 [chan receive]:
testing.(*T).Run(0xc000082300, 0x1ed080, 0xd, 0x264e18, 0x1000000000f426a)
	/data/golang/workdir/go/src/testing/testing.go:1241 +0x2b6
testing.runTests.func1(0xc000001200)
	/data/golang/workdir/go/src/testing/testing.go:1513 +0x7e
testing.tRunner(0xc000001200, 0xc000051dd0)
	/data/golang/workdir/go/src/testing/testing.go:1195 +0xd8
testing.runTests(0xc00000c510, 0x392a20, 0x6d, 0x6d, 0xbfebd562060a492f, 0x29e8e0786a, 0x396180, 0x28dbd6)
	/data/golang/workdir/go/src/testing/testing.go:1511 +0x2e6
testing.(*M).Run(0xc000140000, 0x0)
	/data/golang/workdir/go/src/testing/testing.go:1419 +0x1d8
main.main()
	_testmain.go:373 +0x142

goroutine 30 [chan receive]:
testing.(*T).Parallel(0xc000149980)
	/data/golang/workdir/go/src/testing/testing.go:1061 +0x104
time_test.TestParseYday(0xc000149980)
	/data/golang/workdir/go/src/time/format_test.go:762 +0x30
testing.tRunner(0xc000149980, 0x2650b8)
	/data/golang/workdir/go/src/testing/testing.go:1195 +0xd8
created by testing.(*T).Run
	/data/golang/workdir/go/src/testing/testing.go:1240 +0x296

goroutine 49 [chan receive]:
time_test.TestAfterFunc(0xc000082300)
	/data/golang/workdir/go/src/time/sleep_test.go:62 +0x108
testing.tRunner(0xc000082300, 0x264e18)
	/data/golang/workdir/go/src/testing/testing.go:1195 +0xd8
created by testing.(*T).Run
	/data/golang/workdir/go/src/testing/testing.go:1240 +0x296
FAIL	time	180.003s
```

This is the only one of these failures I've seen, so I'm not sure whether it's just a slow builder (CC @ruixin-bao @rajaskakodkar), another runtime timer bug (CC @prattmic @ianlancetaylor), or perhaps some other recently-added slow test pushing the running time over the limit.
Repository: go
Issue: net: TestDialerDualStackFDLeak failures on BSD builders
Labels: OS-Dragonfly,OS-NetBSD,NeedsInvestigation

[2020-06-24T16:12:25-320e4ad/dragonfly-amd64-5_8](https://build.golang.org/log/06647e92e9c2f02aa6eea41a370f73821b56d1a8)
[2019-10-21T23:36:02-a59808e/netbsd-arm-bsiegert](https://build.golang.org/log/31404a3b300b2c8478081555f3c9a53641b158bb)

```
--- FAIL: TestDialerDualStackFDLeak (0.30s)
    dial_test.go:132: got 1; want 0
FAIL
FAIL	net	25.996s
```

Not exactly a [useful test failure](http://golang.org/wiki/CodeReviewComments#useful-test-failures), but maybe it's enough of a lead for someone to work with.

CC @bradfitz @ianlancetaylor
Repository: PowerToys
Issue: [PowerRename] variable pattern notation for parent folder
Labels: Idea-Enhancement,Product-PowerRename

## 📝 Description

Similar to [File Creation Date Replace Notation](https://learn.microsoft.com/en-us/windows/powertoys/powerrename#replace-using-file-creation-date-and-time), have a variable pattern notation `$PF` (Parent Folder) which can be used in the `Replace with:` field to add the parent folder name to the output renamed files.

### Example 

Current directory
```
└─ 0
   └─ file1.png
└─ 1
   └─ file1.png
└─ 2
   └─ file1.png
   └─ file2.png
```
Perform a regex search like : `(.*).png`, which captures the filename into variable `$1`

Replace with: `$PF_$1.png`

Expected output:
```
└─ 0
   └─ 0_file1.png
└─ 1
   └─ 1_file1.png
└─ 2
   └─ 2_file1.png
   └─ 2_file2.png
```

---

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Repository: go
Issue: x/tools/gopls: add go-to-examples and go-to-tests action
Labels: help wanted,FeatureRequest,gopls,Tools

### What did you do?

Tried to find examples/tests for the identifier under my cursor.

### What did you expect to see?

Some type of `GoExamples` or `GoTests` command to navigate to relevant example/tests.

### What did you see instead?

For examples, I had to open the http://pkg.go.dev and for tests I need to manually search for them.
Repository: pytorch
Issue: Automatically rerun tests with CUDA_LAUNCH_BLOCKING=1 when they fail with CUDA errors in CI
Labels: module: cuda,module: tests,triaged

CUDA errors are delayed and may occur several calls after the real error site. This can make it difficult to debug in CI if you can't reproduce locally. One way to make debugging easier for people is to (1) make sure we synchronize at the end of each test and (2) rerun the failing test with CUDA_LAUNCH_BLOCKING=1 so that you can find out exactly which CUDA call caused the assert error.

cc @ngimel @mruberry @VitalyFedyunin @walterddr
Repository: PowerToys
Issue: Relocation of Notification Toasts on UltraWide Monitors (via FancyZones or othewise)
Labels: Idea-New PowerToy

Hello all,

I've recently started using a 38" ultrawide monitor (3820x1600 resolution), and am using FancyZones to divide into 2 or more splits. This makes working on an ultrawide really productive. 

However one issue there's seemingly no good workaround for is relocating notification toasts. They will only show up in the bottom right of your primary monitor (I've read possibly upper right with some registry hacks, which I'd like to avoid). Depending on your configuration or number of screens, the bottom right may be easily out of eyesight, meaning you miss your notifications. This is suboptimal as so many applications nowadays use the windows Notifications framework for displaying updates to users (Teams notifications, Outlook pop-ups, etc).

It would be really useful to allow for a relocation of the notification toasts into a FanzyZones split. Or  if FancyZones isn't the right home/solution for this, having a PowerToy that allows for more customization in the location / placement of notifications would be supremely helpful.
Repository: vscode
Issue: Downloading files and folders should preserve executable bit
Labels: feature-request,file-explorer,file-io

**Describe the bug**
When you download a file from a remote (e.g. Codespaces), attributes such as the executable bit are removed. This is a (somewhat minor) annoyance when you are downloading files such as compiled binaries.

**To Reproduce**
Steps to reproduce the behavior with Codespaces:
1. Within a codespace, create a file that has the executable bit set (e.g. `touch foo && chmod +x foo`). 
2. CMD+Click on the file and download it to your laptop
3. The file will not have the executable bit locally so you need to run `chmod +x foo` again

**Expected behavior**
The executable bit should be preserved when downloading files.

https://github.com/microsoft/vssaas-planning/issues/1639
Repository: opencv
Issue: Java: incorrect handling of enums with default values
Labels: bug,category: build/install,category: java bindings

PR: https://github.com/opencv/opencv_contrib/pull/2774

```
	    CV_WRAP static Ptr<BEBLID> create(float scale_factor,
                                      BEBLID::BeblidSize n_bits = BEBLID::SIZE_512_BITS);
```

Compilation error:

```
In file included from /build/precommit-contrib_linux64/build/modules/java_bindings_generator/gen/cpp/opencv_jni.hpp:18:0,
                 from /build/precommit-contrib_linux64/opencv/modules/java/generator/src/cpp/opencv_java.cpp:8:
/build/precommit-contrib_linux64/build/modules/java_bindings_generator/gen/cpp/xfeatures2d.inl.hpp: In function 'jlong Java_org_opencv_xfeatures2d_BEBLID_create_12(JNIEnv*, jclass)':
/build/precommit-contrib_linux64/build/modules/java_bindings_generator/gen/cpp/xfeatures2d.inl.hpp:623:63: error: no matching function for call to 'cv::xfeatures2d::BEBLID::create()'
         Ptr_BEBLID _retval_ = cv::xfeatures2d::BEBLID::create();
                                                               ^
In file included from /build/precommit-contrib_linux64/build/modules/java_bindings_generator/gen/cpp/xfeatures2d.inl.hpp:12:0,
                 from /build/precommit-contrib_linux64/build/modules/java_bindings_generator/gen/cpp/opencv_jni.hpp:18,
                 from /build/precommit-contrib_linux64/opencv/modules/java/generator/src/cpp/opencv_java.cpp:8:
/build/precommit-contrib_linux64/opencv_contrib/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp:224:32: note: candidate: static cv::Ptr<cv::xfeatures2d::BEBLID> cv::xfeatures2d::BEBLID::create(float, cv::xfeatures2d::BEBLID::BeblidSize)
     CV_WRAP static Ptr<BEBLID> create(float scale_factor,
                                ^
/build/precommit-contrib_linux64/opencv_contrib/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp:224:32: note:   candidate expects 2 arguments, 0 provided
```
Repository: excalidraw
Issue: Changing the sloppines of straight arrows/lines changing their width. It shouldn't
Labels: bug

![Kapture 2020-12-08 at 21 24 37](https://user-images.githubusercontent.com/125676/101531432-f2bb3000-399b-11eb-8f5b-aff425ec3f06.gif)

Not sure if other shapes are affected by it.
Repository: vscode
Issue: Add exists() function to FileSystemProvider
Labels: feature-request,api,file-io

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
When trying to write a file to a file system, it's often helpful to warn the user when that file already exists (and then prompt to overwrite, skip, or cancel the operation).  The `FileSystemProvider` interface has a `stat()` method that can be used for that purpose, but it throws when the file does not exist. However, asking for information about a file that doesn't exist is not really an exceptional case, and trapping an exception trying to determine what it represents--that is, the lack of the file or some other error--is less than ideal.  The `stat()` method could just return `undefined` when the file does not exist but, that would be a breaking change.

Instead, I propose adding a `exists(): Thenable<boolean>` function to `FileSystemProvider` that returns a simple yes/no.  (If yes, and more details were required, the extension could then call `stat()`.)
Repository: pytorch
Issue: Make the  forward function of a nn.Module and/or a certain function to work with only float32 when used with autocast
Labels: module: nn,triaged,module: amp (automated mixed precision)

Hi,
I'm working on a complex extension of PyTorch using the new complex tensors.
https://github.com/soumickmj/pytorch-complex
Now there are certain functions I want to be in a certain list (or do it using decorators) to make sure they are called only with float32.
Like, https://pytorch.org/docs/stable/amp.html#ops-that-can-autocast-to-float32
Also, would like to make some function refrain from going into autocast (if possible).

For example, the AdaptiveCmodReLU module inside https://github.com/soumickmj/pytorch-complex/blob/main/torchcomplex/nn/modules/activation.py
and/or its corresponding function cmodrelu inside https://github.com/soumickmj/pytorch-complex/blob/main/torchcomplex/nn/functional.py 
I want this operations to be performed only in FP32.
Otherwise, I'm getting the following error: RuntimeError: "abs_cuda" not implemented for 'ComplexHalf'
I don't want this function to be using ComplexHalf.

Can anyone please help me with this?
Thanks.

cc @mcarilli @albanD @mruberry
Repository: excalidraw
Issue: The text elements seems to have a background color set, but they shouldn't
Labels: bug

When selecting multiple elements with the same color the background shows correctly the same color.. but when the group contains a text it doesn't show the color, which means that they have different background color. We should ignore that for text elements (and possibly for arrows, because with the lines if they are connected we have background)


![Kapture 2020-12-08 at 22 58 15](https://user-images.githubusercontent.com/125676/101540658-fe612380-39a8-11eb-95e3-fae487c39e6f.gif)
Repository: go
Issue: net/http: Request with canceled context produces undefined behaviour
Labels: NeedsInvestigation

**What version of Go are you using (go version)?**
```
go version go1.15.5 darwin/amd64
OS: macOS Catalina 10.15.7
```

**Does this issue reproduce with the latest release?**
Yes. Just do any request on canceled context.

**What did you do?**

Hi there. I got undefined behaviour of stdlib http client. The library (stripe-go) uses stdlib and relies on cancelation of request by context.Context.
For some local tests I cancel passed Context manually (no timeout) calling cancel() method and then call Stripe library. I was surprised to get result together:
1) Stripe got an request and perform action
2) I got an error and will retry (thanks for idempotency key that will not cause double charging of customer)

Problem code here in function named `roundTrip`: https://github.com/golang/go/blob/212d385a2f723a8dd5e7d2e83efb478ddd139349/src/net/http/h2_bundle.go#L7535

Select statement don't guarantee of execution order. So with manually canceled context before request **I got**:
1) first write body here (**request sent**): https://github.com/golang/go/blob/212d385a2f723a8dd5e7d2e83efb478ddd139349/src/net/http/h2_bundle.go#L7700
2) next execution code here that returns `cs.getStartedWrite() == true` and **error** `(context canceled)`
https://github.com/golang/go/blob/212d385a2f723a8dd5e7d2e83efb478ddd139349/src/net/http/h2_bundle.go#L7677

Could you implement some `cs.completelyWritten()` check and don't return error in case of body completed written? Or maybe reset Context and don't process `ctx.Done` for case if it happen in last nanosecond or even with already written as in my case. Or maybe even check ```ctx.Err()``` before request just for test cases here: https://github.com/golang/go/blob/212d385a2f723a8dd5e7d2e83efb478ddd139349/src/net/http/h2_bundle.go#L7638
 
My point is - don't return error for allow to do fewer count of retries. Unfortunately stripe-go used a retry for request with canceled so chance to send request was multiplied by retry count. It was fixed in recent: https://github.com/stripe/stripe-go/issues/1184
And yes I understand about sent request is not guarantee and we can get error while reading response. But stdlib should give guarantee with predefined environment I think.
And one question more: is it documented behaviour? I will mail Stripe with this issue link . Maybe that's better to check `ctx.Err()` on their side before sending request with already canceled context.


**What did you expect to see?**
Sent request or error. No both together.

**What did you see instead?**
Server receive and process request && I got an error `(context canceled)` from library (not by reading response)
I need in one more retry and should implement Idempotency key
Repository: node
Issue: [FR] Provide a Conan recipe
Labels: c++

I would like to be able to easily embed nodejs in my C++ application using the C++ Embedder API.  This integration would be much easier if I could add nodejs dependencies via Conan package manager.

It appears that there may have been some form of nodejs Conan recipe but it it quite a bit out of date.

The Plan-B alternative would be to create my own Conan recipe but this is not something that I am equipped to share such that it would be of use on other platforms, versions, etc.
Repository: godot
Issue: Modifying a resource whose file is read-only keeps modification until editor is restarted
Labels: bug,topic:editor

**Godot version:**
3.2.1 stable

**OS/device including version:**
Windows 10 x64

**Issue description:**
To reword the title, if a resource is modified and saved while its file is read-only, the editor does fail and report the problem, but the resource keeps its modified value, even if it is cleared and reloaded from, uh, "disk". Godot doesn't revert the resource's cached version, maybe?

Note: I found out about this before I found out about Local to scene, which seems to do what I need.

**Steps to reproduce:**
- Take a node with an exported resource field, say, a curve, saved to file.
- Set the curve's file to read-only.
- Modify the curve.
- Save it. Behold the error message. Groovy.
- If the resource was shared in other fields, it will have the modified value.
- Clear the curve from original field.
- Load the curve from file.
- Observe how it kept its modified shape.

Bonus points:
- Restart the editor.
- Check the curve field or load the latter anywhere. It's back to its old self.

**Minimal reproduction project:**
Will provide if deemed necessary.
Repository: terminal
Issue: initialRows/initialColumns still doesn't work quite right
Labels: Help Wanted,Issue-Bug,Area-UserInterface,Product-Terminal,Priority-2

By default WT starts with `"initialRows": 30', and this is true when there is not the tab row. After opening the first tab, tha tab row shows up and WT really displays 28 rows (it conserves the window height). 

Is there an option to conserve the `initiaRows', 30, for example? (the window height should increase a bit).
Repository: youtube-dl
Issue: Batch download screen output
Labels: request



## Checklist


- [X] I'm reporting a feature request
- [X] I've verified that I'm running youtube-dl version **2020.12.09**
- [X] I've searched the bugtracker for similar feature requests including closed ones


## Description


I like the batch download function iterating through text files which contain URLs to download. Just the screen output generated is difficult to read. As an improvement, two things in mind: Add an option to activate spacing lines being inserted after every downloaded file (and perhaps another option to define a character or an array of characters to insert instead of empty lines). Add an option to enable colors, like succesfull downloaded URLs add a notice in green, warnings in yellow, failures in red.
Repository: PowerToys
Issue: [Color Picker] Option to close popup when clicking outside it
Labels: Idea-Enhancement,Product-Color Picker

## 📝 Option to make clicking outside of the color picker popup close it

The color picker is nice, and being able to select between multiple formats is good, too. But closing the popup whenever I pick a color gets annoying quickly. Being able to close the color picker popup when you click outside the box would be a nice QOL feature to have.

---

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Repository: godot
Issue: Spatial visibility has no effect on Node2D children
Labels: discussion,topic:core

**Godot version:**
3.2.1 stable

**OS/device including version:**
Windows 10 x64


**Issue description:**
Node2D child under a Spatial. Hide Spatial parent, Node2D stays visible. Waste your time debugging the wrong object.


**Steps to reproduce:**
- Node2D child under a Spatial.
- Hide Spatial parent, Node2D stays visible.
- Waste your time debugging the wrong object.


**Minimal reproduction project:**
Available upon request.
Repository: transformers
Issue: Marge - Pre-training via Paraphrasing
Labels: New model

# 🌟 New model addition

## Model description
Repository: kubernetes
Issue: ServicePort -> DNS SRV does not allow services with same name but different protocol
Labels: kind/bug,sig/network

**What happened**:

Creating a service with two ports that have the same name, but different protocol, fails:
```
$ cat service-test.yaml 
apiVersion: v1
kind: Service
metadata:
  name: service-test
  labels:
    app: service-test
spec:
  selector:
    app: service-test
  clusterIP: None
  ports:
  - name: ldap
    protocol: TCP
    port: 389
  - name: kerberos
    protocol: TCP
    port: 88
  - name: kerberos
    protocol: UDP
    port: 88

$ oc replace -f service-test.yaml 
The Service "service-test" is invalid:
spec.ports[2].name: Duplicate value: "kerberos"
```

This is an important use case for some applications, and the limitation is surprising.  More information in my blog post: https://frasertweedale.github.io/blog-redhat/posts/2020-12-08-k8s-srv-limitation.html#kubernetes-srv-limitation 

**What you expected to happen**:

Such Service objects should be accepted, and should result in the creation of the corresponding DNS SRV records that have the same service name, but different protocol ID, e.g., from the object above:

```
_ldap._tcp.<service>.<ns>.svc.<zone>.     ...
_kerberos._tcp.<service>.<ns>.svc.<zone>. ...
_kerberos._udp.<service>.<ns>.svc.<zone>. ...
```

**How to reproduce it (as minimally and precisely as possible)**:f

As shown above.

**Anything else we need to know?**:

I'm happy to file a KEP if it is deemed necessary.  However, all that is required *conceptually* is to relax the uniqueness check to the name/protocol pairs instead of service name only.  I hope it could be addressed without adding new fields, i.e. aligning the ServicePort semantics with the established semantics of SRV records.

**Environment**:
- Kubernetes version (use `kubectl version`):
```
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2+ad738ba", GitCommit:"ad738ba548b6d6b5cd2e83351951ccd7019afa4c", GitTreeState:"clean", BuildDate:"2020-11-25T00:18:44Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
```

- Cloud provider or hardware configuration:

- OS (e.g: `cat /etc/os-release`):

```
sh-4.4# cat /etc/os-release
NAME="Red Hat Enterprise Linux CoreOS"
VERSION="47.83.202011252347-0"
VERSION_ID="4.7"
OPENSHIFT_VERSION="4.7"
RHEL_VERSION="8.3"
PRETTY_NAME="Red Hat Enterprise Linux CoreOS 47.83.202011252347-0 (Ootpa)"
ID="rhcos"
ID_LIKE="rhel fedora"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::coreos"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="OpenShift Container Platform"
REDHAT_BUGZILLA_PRODUCT_VERSION="4.7"
REDHAT_SUPPORT_PRODUCT="OpenShift Container Platform"
REDHAT_SUPPORT_PRODUCT_VERSION="4.7"
OSTREE_VERSION='47.83.202011252347-0'
```

- Kernel (e.g. `uname -a`):

- Install tools:

- Network plugin and version (if this is a network-related bug):

- Others:
Repository: transformers
Issue: AlbertTokenizer handles special tokens incorrectly
Labels: Good Second Issue

If I download the pretrained vocab `https://huggingface.co/albert-base-v1/resolve/main/spiece.model` to the local file system and use the following snippet, the tokenizer does not handle the special tokens properly:
```
tokenizer = AlbertTokenizer('spiece.model')
tokenizer.tokenize('[CLS] Hello World ! [SEP]')
['▁[', 'cl', 's', ']', '▁hello', '▁world', '▁', '!', '▁[', 's', 'ep', ']']
```
If I use `from_pretrained` to load the vocab, it works well:
```
tokenizer = AlbertTokenizer.from_pretrained('albert-base-v1')
tokenizer.tokenize('[CLS] Hello World ! [SEP]')
['[CLS]', '▁hello', '▁world', '▁', '!', '[SEP]']
```
Repository: flutter
Issue: Detect hidden-camera
Labels: c: new feature,e: device-specific,platform-android,framework,engine,a: layout,P3,team-android,triaged-android

I'm not sure that it's a question, feature request or bug report!

I am using `SafeArea` in flutter, But in galaxy-s10-plus my view is under camera, Both `MediaQuery.of(context).viewInsets` and `MediaQuery.of(context).padding` are zero

How can I detect camera padding in flutter?

![image](https://user-images.githubusercontent.com/19644997/101591180-28463480-3a01-11eb-95d2-560735b920ee.png)