sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: coding standards issue, _Upper should be banned
Labels: Product-Conhost,Help Wanted,Issue-Bug,Area-Build,Product-Terminal

the language standard reserves _Upper and __doubleUnderscore symbols for itself. windows coding standards recognize this as well, all _ prefixes on methods and other things with an upper case second letter should be renamed.
Repository: terminal
Issue: Moving the cursor on the screen breaks 2-cell characters
Labels: Product-Conhost,Area-Rendering,Issue-Bug,Priority-2

The lower left area of the window from the lower left of the cursor, the two-cell character is broken.
It is difficult to establish this condition in the console window. As an example, upload Vim's free cursor mode ":set virtualedit=all".

![capt](https://user-images.githubusercontent.com/44701315/57586783-d47a1d80-7535-11e9-8388-591976a10639.gif)
Repository: PowerToys
Issue: Default Printer Changer from Tray
Labels: Idea-New PowerToy

Some years ago (over 17) I wrote  a utility that allowed you to quickly change the default printer from the system tray.  It was written in the time of the original power tools and was standard Win32 API.  The code is at https://github.com/timlegge/printers if you or anyone else is interested in it.  

Always found it to be a useful utility.

TIm
Repository: react-native
Issue: Building OSS-compatible React Native "Plugins" for Native Libraries
Labels: Help Wanted :octocat:,Type: Discussion

We need help building a generic implementation for native "plugins" as described here: https://github.com/react-native-community/discussions-and-proposals/issues/125

Let's start with iOS for now.
Repository: pytorch
Issue: Class based Sampler for Class Incremental/Continual Learning research
Labels: feature,module: dataloader,triaged

## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
A class based dataset sampler for class incremental and continual learning research.

## 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 -->
For research in class incremental learning domain, we need datasets to be split up on the basis of classes so that after training on one subset of classes, others can be introduced and the model can be made to generalize on that too in an architectural fashion or using generalization techniques like Elastic Weight Consolidation. Pytorch is strong enough with dynamic graphs but currently it lacks a sampler which can return examples from specific classes.

## Pitch

<!-- A clear and concise description of what you want to happen. -->
I would like to add a sampler similar to others but which takes in the class labels as argument and returns examples from those classes. A random flag can be added to the arguments to randomize the order of samples in the subset. The implementation would be similar to that of SubsetRandomSampler in torch.utils.data but instead of indices, it would take in the class labels as argument.

## Alternatives

<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
Please feel free to suggest any alternative implementations. :)
Repository: go
Issue: net: clarify UDPConn Read behaviour documentation
Labels: Documentation,help wanted,NeedsFix

The documentation for `UPDConn.Read` says that "Read implements the Conn Read method." However, UDP is not stream and `Conn` is described as "a generic stream-oriented network connection".

It would be nice to be able to know what the characteristics of `Read` are with respect to packets — whether `Read` only reads a packet at a time or not — without having to read the source.

See https://groups.google.com/forum/#!topic/golang-nuts/f_s3fGRgAF8
Repository: node
Issue: build,cares,openssl,zlib: limit symbol exports
Labels: build,openssl

Refs: #4932 #6274

On Windows, Node exports a curated list of symbols from its dependencies that don't use dllimport/dllexport (c-ares, openssl, zlib)

On Unices, Node indiscriminately re-exports everything thanks to `-Wl,--whole-archive`.

There's a comment about it in node.gyp:
```python
# TODO(bnoordhuis) Make all platforms export the same list of symbols.
# Teach mkssldef.py to generate linker maps that UNIX linkers understand.
```
It would be good to implement that. It should help trim down the binary size.
Repository: vue-element-admin
Issue: 为什么登录的时候还自动在headers里面添加Authorization参数？
Labels: need repro :mag_right:

## Bug report（问题描述）
在使用/login登录请求的时候，为什么Request Headers 中会自动添加Authorization参数?
#### Steps to reproduce（问题复现步骤）
1.启动项目，登录调试发现headers中出现权限校验参数Authorization

#### Screenshot or Gif（截图或动态图）
Repository: PowerToys
Issue: Marking and unlocking locked files from context menu
Labels: Idea-New PowerToy,Status-In progress

Sometimes executable file is locked due to security reasons. In first try of run this executable nothing happens. It may be confusing. Maybe little mark like this on an executable icon will help to avoid it?
![image](https://user-images.githubusercontent.com/24389824/57615243-87b93580-757b-11e9-8ed2-9e699db13af7.png)

User also needs to go to file properties and check Unblock to make it run:
![image](https://user-images.githubusercontent.com/24389824/57614760-483e1980-757a-11e9-85d9-3743c367eda8.png)

**Unblock** option under right-click context menu may save the day.
Repository: PowerToys
Issue: To be able to attach two or more windows showing side by side for easier Alt-Tab Switching
Labels: Idea-Enhancement,Product-Window Manager

Hi,
1) So today i was having two windows side by side (vscode and outlook) . Then when i tried to switch to chrome with alt tab . After i was finished with chrome i pressed alt tab was hoping that the split view i created (vscode & outlook) should come back with 1 click of alt tab but i had to find both of the apps with alt tab to bring them back into the required position. If we could somehow attach or pin the two apps together with a shortcut that would be great.This could be extended to four side by side attached windows or custom positioned windows to be attached together for alt-tab.
This can also happen in another way where an extra key with alt tab can smartly detect all the windows placed on screen and can be locked for easier alt+tab+(an appropriate key) switching

2) And also while typing the above i had another idea for having alt-tab having two different modes. Where a user can add in a personalized alt-tab section all the  applications the person frequently switches . And the user can switch between these modes with a keyboard shortcut.

So what this will do is person can switch to non frequent mode when the user wants to with a keyboard shortcut . and switch to frequent application mode the user wants to so that the user doesnt have to keep searching for the frequently needed apps because some non frequent apps came in front of the alt tab switcher.
And both the non frequent and frequent modes can be seen on the alt tab overlay easily.

Dont know if the 2) one would be possible with power toys but please implement the first one.

Thanks
PS: Dont know if all the above  is currently possible.
Repository: go
Issue: cmd/compile: use slicebytetostringtmp in concatenation
Labels: Performance,NeedsFix,compiler/runtime

$ go version
go version devel +2e4edf4697 Sun May 12 07:14:09 2019 +0000 linux/amd64

Test:
```go
package main

var data = []byte("data")
var str = "str"

func main() {
	if (string(data) + str)[1] == 'a' {
		println('a')
	}
}
```

This currently uses runtime.slicebytetostring followed by runtime.concatstring2. I think this could use runtime.slicebytetostringtmp for slice->string conversion.
This is extracted from a real program where the slice is large, but we need to append a small string to it. Avoiding the second alloc/copy would be useful.
Repository: pytorch
Issue: pos_weight argument in torch.nn.BCELoss
Labels: module: nn,triaged,enhancement

## 🚀 Feature requested
I'd like to have a `pos_weight` arguments in `torch.nn.BCELoss`

## Motivation
to have consistency with `torch.nn.BCEWithLogitsLoss` and to be able to address a multi-label task with a strong class imbalance



<!-- 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 -->
Repository: rust
Issue: Tracking issue for stabilizing `Error::type_id`
Labels: T-libs-api,B-unstable,C-tracking-issue,A-error-handling,Libs-Tracked,PG-error-handling

## Updated Issue

This is a tracking issue for stabilizing the functionality of `Error::type_id` somehow. The subject of a historical [security advisory](https://groups.google.com/forum/#!topic/rustlang-security-announcements/aZabeCMUv70) the API was [recently changed](https://github.com/rust-lang/rust/pull/60902) to prevent memory unsafety issues on all channels including nightly. The functionality, however, is still unstable, so we should stabilize it at some point!

## Original issue.

Reported by @seanmonstar to the security mailing list recently, it was discovered that the recent stabilization of `Error::type_id` in Rust 1.34.0 is actually not memory safe. Described in a [recent security announcement](https://groups.google.com/forum/#!topic/rustlang-security-announcements/aZabeCMUv70) the stabilization of `Error::type_id` has been reverted for [stable](https://github.com/rust-lang/rust/pull/60785), [beta](https://github.com/rust-lang/rust/pull/60786), and [master](https://github.com/rust-lang/rust/pull/60787).

This leaves us, however, with the question of what to do about this API? `Error::type_id` has been present since the inception of the `Error` trait, all the way back to 1.0.0. It's unstable, however, and is pretty rare as well to have a manual implementation of the `type_id` function. Despite this we would ideally still like a path to stability which includes safety at some point.

This tracking issue is intended to serve as a location to discuss this issue and determine the best way forward to fully removing `Error::type_id` (so even nightly users are not affected by this memory safety issue) and having a stable mechanism for the functionality.
Repository: PowerToys
Issue: PowerToy suggestion: Update Dependency Walker for Windows 7/10
Labels: Idea-New PowerToy

Microsoft's API-sets aren't supported by the last release version of Dependency Walker, so we get dozens of errors.

http://www.dependencywalker.com/
Repository: create-react-app
Issue: Feature: Add line/links to error messages
Labels: tag: enhancement

### Is this a bug report?

No

### How it is now

I have an error message like this:

```
Compiled with warnings.

./src/components/installation/Websocket.tsx
  Line 77:  Expected to return a value at the end of arrow function  array-callback-return

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
```

I can cmd+click on `./src/components/installation/Websocket.tsx` and it'll take me to the right file ⭐️ 

What would be nice is that in the case where there is *one* error per file, it could instead be `./src/components/installation/Websocket.tsx:77` and clicking on that in the terminal would take directly there. The `:77` could be colored using ANSI to be the background color, so it's not visible. 

Alternatively, and perhaps a nicer UI, is to use hyperlinks one the `Line 77` using something like [hyperlinker](https://www.npmjs.com/package/hyperlinker) which would have the href as `./src/components/installation/Websocket.tsx:77`. This works in quite a lot of terminals now.

<img width="905" alt="Screen Shot 2019-05-13 at 1 06 22 PM" src="https://user-images.githubusercontent.com/49038/57640254-f5fff700-757f-11e9-82a6-6c1b476e6e42.png">
Repository: flutter
Issue: Flutter changelog should list version initially published on, where possible
Labels: team,d: wiki,P2,team-release

Currently, [the Flutter changelog](https://github.com/flutter/flutter/wiki/Changelog) has several "Changes since v___" sections (including a long one for chagnes since 1.0). If a breaking change has been published on a version, it should be listed here with the exact version it was published on, so that developers upgrading from flutter version x -> version y can know exactly which breaking changes they will have to deal with.

![changelog](https://user-images.githubusercontent.com/7856010/57642246-ae6f7000-756b-11e9-898f-fc1c741623a6.png)
Repository: go
Issue: cmd/go: validate module proxy URLs received from go-get=1 queries
Labels: help wanted,NeedsFix,GoCommand,modules

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Go are you using (`go version`)?

Go tip at [CL 170879](https://golang.org/cl/170879) or later.

### Does this issue reproduce with the latest release?

no

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env

GOARCH="amd64"
GOBIN=""
GOCACHE=SHOWS_CORRECTLY
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH=SHOWS_CORRECTLY
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.2/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.2/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=SHOWS_CORRECTLY
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/j0/qxnj38ld075bj80p9hs2dqlw0000gn/T/go-build144819988=/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.
-->

on travis, when running tests against master, modules are unable to be downloaded. i am unsure if this is because of travis or if it can be replicated elsewhere

### What did you expect to see?

successful download of modules

### What did you see instead?

```

go: github.com/golang-migrate/migrate/v4@v4.3.0 requires
	github.com/fsouza/fake-gcs-server@v1.5.0 requires
	cloud.google.com/go@v0.36.0 requires
	golang.org/x/build@v0.0.0-20190111050920-041ab4dc3f9d requires
	dmitri.shuralyov.com/app/changes@v0.0.0-20180602232624-0a106ad413e3: Get https:///dmitri.shuralyov.com/app/changes/@v/v0.0.0-20180602232624-0a106ad413e3.info: http: no Host in request URL
The command "go mod download" failed and exited with 1 during .

```
specifically, the 3x slashes (/) in the url. removing the slash resolves correctly
Repository: node
Issue: Calling disconnect causes processes spawned by cluster module to exit too early
Labels: help wanted,cluster

<!--
Thank you for reporting a possible bug in Node.js.

Please fill in as much of the template below as you can.

Version: 
Platform: 

If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you can.
-->

* **Version**: 12.2.0 but could also reproduce on 10.15.3
* **Platform**: Darwin 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
* **Subsystem**:

<!-- Please provide more details below this comment. -->

Consider the following script:

```
const cluster = require('cluster');
const childProcess = require('child_process');

const useCluster = false;
const isMaster = useCluster ? cluster.isMaster : !process.argv.includes('worker');

if (isMaster) {
  if (useCluster) {
    cluster.fork(__filename);
  } else {
    childProcess.fork(__filename, ['worker']);
  }
} else {
  setTimeout(() => console.log('hi from worker'), 1000);
  process.disconnect();
}
```

When `useCluster` is `true` node exits immediately and nothing is printed to the console. When `useCluster` is `false` you see "hi from worker" logged after 1s and then node will exit which is the expected behavior. The documentation makes it sound like calling `process.disconnect` should only close the IPC channel between the master and worker process and should not cause either to exit early if there is still work to do.
Repository: go
Issue: x/website: unify playground.js location
Labels: Thinking,NeedsInvestigation

We currently have two copies of the playground's playground.js: one in x/tools (the original) and one in x/website (the new home, but currently unused?).

Unify.

/cc @ysmolsky @andybons @dmitshur @katiehockman @cnoellekb
Repository: godot
Issue: HBoxContainer/VBoxContainer don't have initial size, but will if it's moved
Labels: usability,documentation,topic:gui

**Godot version:**
3.1.1 (Mono)

**Issue description:**
When adding children to a HBoxContainer/VBoxContainer, the container itself does not immediately have a size. Calling `get_rect()` will return (0,0). However, if you move the container to a different position (e.g. by 1 pixel), then the size is calculated and subsequent `get_rect()` calls will have a value.

It is not clear to me the Control lifecycle, and when layout should have happened. Should we expect `get_rect()` to actually have a size immediately after adding children? When is layout triggered? Triggering it on a move seems like unintended behaviour in either case.

**Steps to reproduce:**

1. Create an HBoxContainer
2. Add a selection of children with sizes (I used ColorRect's with min sizes set).
3. Get the return value from `get_rect()`. It will be (0, 0, 0, 0).
4. Move the container to a new position, e.g. (1, 0). It must be a different position relative to it's current.
5. Call `get_rect()` again, and it will be populated with a value.

**Minimal reproduction project:**
[Testing-ControlSizes.zip](https://github.com/godotengine/godot/files/3174247/Testing-ControlSizes.zip)
Repository: vue
Issue: <keep-alive> within <transition-group> blocks leave transitions
Labels: improvement,transition

### Version
2.6.10

### Reproduction link
[https://codepen.io/sathomas/pen/Jqoyqo](https://codepen.io/sathomas/pen/Jqoyqo)







### Steps to reproduce
Component structure:

    <transition-group>
      <keep-alive>
        <component />
      </keep-alive>
    </transition-group>

Change dynamic component. Leave transition does not occur.

In repro example, click <kbd>Switch View</kbd>

- Note 1: In repro example if `<keep-alive>` is removed via checkbox, all transitions work as expected.
- Note 2: In repro example if `<transition-group>` is replaced with `<transition>`, all transitions work as expected.

### What is expected?
Initial component should transition out while new component transitions in.

### What is actually happening?
Initial component is removed immediately while new component transitions in.

---
In actual use case, `v-show` is not a good option as the dynamic components involved are quite complex (1000s of DOM elements) and leaving them in the actual DOM causes performance problems.

<!-- generated by vue-issues. DO NOT REMOVE -->
Repository: go
Issue: x/mobile: Exported structs not retaining field values in Swift
Labels: NeedsInvestigation,mobile

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Go are you using (`go version`)?

<pre>
$ go version go1.12.4 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

Haven't tested

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GOARCH="amd64"
GOBIN="/Users/tristian/go/bin"
GOCACHE="/Users/tristian/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/tristian/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.4/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.4/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
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/g1/v3hz1sm92nv7wbzpg3dx_h_h0000gp/T/go-build064001605=/tmp/go-build -gno-record-gcc-switches -fno-common"

</pre></details>

### What did you do?

I'm using the latest `gomobile`, installed from this commit: 

```
commit 32b2708ab17190067486adc3513cae8dc2a7e5a4 (HEAD -> master, origin/master, origin/HEAD)
Author: Mark Villacampa <m@markvillacampa.com>
Date:   Thu May 9 10:20:13 2019 +0000
```

In my go source, I added a struct type that is exposed as part of Gomobile:

```go
type Config struct {
  OSName string
  OSDevice string
}

// NewConfig()
func NewConfig() *Config { 
  return &Config{}
}
```

In the Swift code I use the following to create an instance and set some fields.

```swift
// "Mobile" is the prefix package name
// var config = MobileNewConfig() (tried this too)
let config = MobileNewConfig()

config?.osName = "some name"
config?.osDevice = "some string"
```

I build the framework like so:

```
GO111MODULE=off gomobile bind -a -v -target=ios/arm,ios/arm64,ios/amd64 example.com/mobile
```
<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->


### What did you expect to see?

I expected to see the `config` variable retain the assigned string values in the swift code.


### What did you see instead?

The `config` variable not retaining the swift values, for example take a look at this debugger capture:

![Debugging](https://i.imgur.com/Mk25ehh.png)
Repository: go
Issue: runtime: optionally (reliably) avoid netpoller 
Labels: NeedsInvestigation,compiler/runtime

The [gVisor project](https://github.com/google/gvisor) implements a user-space Kernel, and its implementation performance-sensitive, which forces a manual avoidance of the netpoller by avoiding certain APIs.

It would be nice to automate and enforce this avoidance, either by exposing some API that could be use to assert in a test that the netpoller has never been used, or by exposing a build tag that would guarantee that the netpoller is inactive. As of this writing it seems concretely that we want to avoid ever incrementing [netpollWaiters](https://github.com/golang/go/blob/8d212c3ac3bacdf8d135e94d1e0a0c3cfba6e13a/src/runtime/netpoll_stub.go#L9).

cc @iangudger @nlacasse @prattmic @amscanne