sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: proposal: crypto/x509: make CertPool.contains public
Labels: Proposal,Proposal-Crypto

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.13.7 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes. The `x509.CertPool` related source code in `release-branch.go1.14` does not appear to have changed, and is not public.

### 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=""
GOENV=""
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/opt/pkg/go113"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/pkg/go113/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/zz/l8crt7256_vfh01b32jqp7yc0000gn/T/go-build669682046=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?
Searched the go source code for alternative paths to `CertPool.contains()`. I have not found an alternative yet.

### What did you expect to see?
A public equivalent to `CertPool.contains()`, or another code path that accesses the method by taking a `CertPool` as input (e.g.,`x509.IsCertIn(*Certificate, *CertPool) bool`).

### What did you see instead?
There does not appear to be any public code to determine if a `CertPool` contains a given certificate.

### Notes
I would like to make `x509.CertPool.contains()` public. Before submitting any changes, I figured I would ask :) I do not see any (obvious) reasons why it would be kept private in the source code, or in `git blame`.

Thank you for reading.
- Stephen
Repository: terminal
Issue: Cannot scroll buffer in Terminal with inbox telnet client
Labels: Help Wanted,Product-Conpty,Area-Output,Issue-Bug,Priority-2

Hi, I love the new Windows Terminal. I've manage to add my routers and switches to it but the only issue I have is that I can't scroll. Once I log into my switch using ssh, I can't seem to scroll up to see what's above. Kindly let me know how I can activate scrolling. 
PS. scrolling works for regular CMD or PowerShell.
Repository: opencv
Issue: Please document custom neural net layers creation in python
Labels: category: documentation,category: dnn,Hackathon

Good day!

Please document argumens and return values for Python API for cv::dnn::Layer::getMemoryShapes (https://docs.opencv.org/master/d3/d6c/classcv_1_1dnn_1_1Layer.html#a3405ff43150088f3cc1d54f7e9b3ec29) and other involved methods.

I found an example of creating a custom layer in a Python in a tutorial (https://docs.opencv.org/master/dc/db1/tutorial_dnn_custom_layers.html), but there is no detailed information on input and output arguments of Python methods:
getMemoryShapes
forward

I am loading different TensorFlow frozen models to run them in speedy and mature opencv and sometimes it is needed to implement custom layers in python (as layers ane new and not implemented by opencv). API documentation on python methods for implementing custom dnn layers will help. Thank you!
Repository: terminal
Issue: Dev enhancement: Add IntelliCode Github Action
Labels: Issue-Feature,Help Wanted,Area-Build,Product-Meta

At MS Build, we discovered a new IntelliCode Github Action has been created. It only requires 2 lines in yaml to enable. Please get this set up to make contributing even easier using Visual Studio! (VS Code is also planned to be supported later).
Repository: neovim
Issue: Set match priority lower than highlight
Labels: enhancement

<!-- Before reporting: search existing issues and check the FAQ. -->

- `nvim --version`: v0.4.3
- `vim -u DEFAULTS` (version: ) behaves differently? No
- Operating system/version: NixOS 20.03
- Terminal name/version: Alacritty 0.5.0-dev
- `$TERM`: alacritty

### Steps to reproduce using `nvim -u NORC`

```
nvim -u NORC
:hi OverLength ctermbg=gray
:call matchadd('OverLength', '\%>80v.\+', -101)
:set spell
```

### Actual behaviour
Misspelled text in part of line longer than 80 characters is highlighted gray and indistinguishable from other text.

### Expected behaviour
Misspelled text in part of line longer than 80 characters is highlighted as a misspelled.

While a fix for this particular situation would be nice, in general, it should be possible to set any match priority lower than standard theme highlight priority. The (probably) easiest solution would be to give standard theme `hi` a priority value. Any `match` lower than that priority is overriden.
Repository: PowerToys
Issue: [KBM] Remap Key to Mouse Click
Labels: Idea-Enhancement,Product-Keyboard Shortcut Manager

Be nice if keyboard keys could be re-assigned to mouse keys.  E.g. I like to use F1 to send a mouse left mouse click.
Repository: react
Issue: Bug: React throws warning on browser default function
Labels: Component: DOM,Type: Discussion

I'm receiving the following "Warning"
```
Warning: Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.
    in option (created by styled.option)
    in styled.option (created by Menu)
    in select (created by styled.select)
    in styled.select (created by Menu)
    in div (created by styled.div)
    in styled.div (created by Menu)
````

React version:

## Steps To Reproduce

1. create a select with options
```
return (<select>
  <option>a</option>
  <option selected>b</option>
</select>);
```
as usecase: the selected property is defined outside the state of the select component, it is set by navigating the site. As of now it is only a warning, so it works if I use this, but the customer whom I build the application, has strict standards, so as for this warning, it kills the audit of the  application, even we stated that it is a React specific warning, not a standard, caused by some coding error.
2. see the warnning whowing up *RED* in your browser that a simple already built-in function of all browser if overriden and damned eternally.

Code does not have any outside dependencies.

## The current behavior

It throws the warning in development.

## The expected behavior

It is a standard behavior of all modern browsers, that you can tell the select dropdown or multiselect, that it has one ora other selected by code even from context.

This should not be a warning, as it is a w3c standard feature of the select dropdown. Please remove warnings and what-so-ever that you are forcing developers to do, to avoid using w3c standards.
Repository: flutter
Issue: [desktop] Add support for mouse-position independent dragging
Labels: c: new feature,framework,c: proposal,a: desktop,a: mouse,P3,team-framework,triaged-framework

![ezgif-3-1575b9e297e1](https://user-images.githubusercontent.com/24444584/82496231-b3ef8680-9aec-11ea-89f2-aa27b5b7e5dd.gif)

The gif shows a knob that, while being adjusted with a click and drag gesture, doesn't change the position of the mouse. 

Such a feature is not only useful for games, but also for many UI applications such as sliders, infinite canvases, advanced text editor scrolling.

I don't see a way how this could be implemented right now without custom platform-dependent code.
Repository: PowerToys
Issue: [Run] Tab completion akin to omnibox search
Labels: Idea-Enhancement,Product-PowerToys Run

Type keyword + tab = search completion in desired resource 

If you use a chromium based browser then the omnibox is pretty cool. You assign a keyword to a search phrase, when you type the keyword + tab = search is completed in the search engine/application. 

Example, type ebay+search term=result (handed off to default browser) 

![image](https://user-images.githubusercontent.com/2486266/82499295-5ad22380-9ae9-11ea-92d4-af8e66f9980f.png)
![image](https://user-images.githubusercontent.com/2486266/82499765-2c087d00-9aea-11ea-8626-7d867f8f7a4d.png)
Repository: flutter
Issue: InteractiveViewer should support rotation
Labels: framework,c: proposal,P3,team-framework,triaged-framework

I wrote InteractiveViewer in https://github.com/flutter/flutter/pull/56409 to support rotation, but I removed the feature to speed up development.  I plan to revisit it and finish the rotation feature.  The part that still needs work is how it interacts with boundaryMargin, and there is a TODO in the code explaining more and referencing this issue.
Repository: flutter
Issue: Restructure Windows client wrapper creation error flow
Labels: engine,platform-windows,a: desktop,P2,c: tech-debt,team-windows,triaged-windows

Currently the engine is started in a window constructor, which means it doesn't return any status. Under the current wrapper+template, if starting the engine fails it will crash (trying to access into `view()`, which will be null).

We need a graceful way to handle errors, probably by pulling that step out of the constructor.
Repository: PowerToys
Issue: Settings sync
Labels: Idea-Enhancement,Product-Settings

Ability to sync all settings to your MS account to enable similar experiences across multiple devices

**crutkas:**
closely related to [Backup and Restore PT Settings (import/export) #586](https://github.com/microsoft/PowerToys/issues/586)
Repository: PowerToys
Issue: [Feature Request] Long Screenshot Option
Labels: Idea-New PowerToy

Many Browsers including Firefox and Several Mobile devices support Long Screenshot option wherein you can take a screenshot of a page that is scrollable. Windows Snip and Sketch is a great Screenshot tool with several useful features but it lacks this very useful feature. It will be quite a handy feature to have and will boost productivity when trying to share images of scrollable parts of an application thus saving one from copying from a document/webpage/app etc. Also, it would be great to have this work throughout Windows

Here's an example from Firefox:
![UniConverter_20200521061849](https://user-images.githubusercontent.com/42642682/82511517-2ed79200-9b2b-11ea-9ad9-a4c06ac950e1.gif)

U guys can draw inspiration from this software called [PicPick](https://picpick.app/en/)
Repository: godot
Issue: [Bullet] PhysicsServer.intersect_shape doesn't work with shapes that aren't centered
Labels: bug,confirmed,topic:physics

**Godot version:**
3.2.2 mono beta 2

**OS/device including version:**
MXLinux 19 64 bits

**Issue description:**
Intersect shape doesn't seem to handle shapes that aren't centered correctly, maybe I'm doing something wrong

**Steps to reproduce:**
Use intersect shape with a shape from a collision shape node that's not at the origin of its parent and pass the global transform of the shape node to the PhysicsShapeQueryParameters object.

**Minimal reproduction project:**
[3DPhysicsTest.zip](https://github.com/godotengine/godot/files/4660186/3DPhysicsTest.zip)
Repository: godot
Issue: [Bullet] Bullet physics breaks determinism when iterations_per_second is changed
Labels: bug,topic:physics

**Godot version:**
3.2.2 beta 2

**OS/device including version:**
MXLinux 64 bits

**Issue description:**
I was making a 3D puzzle game where I had a slider to change how fast the simulation runs, the game was just using areas and discarding delta so iterations_per_second could be used to adjust the speed of the game, but this made the game simulate differently at different speeds. Changing the physics engine to Godot Physics seems to have fixed this for me.

**Steps to reproduce:**
Sorry can't really specify what was going on, but I think the areas weren't working consistently at different iterations per second.
Repository: bitcoin
Issue: Address cluster information on coin control window
Labels: Feature,Wallet

I found it is very difficult to maintain privacy on my transactions because it is difficult to keep the address separated. I'm trying to prevent my addresses to cluster together, based on the following definition:

> Usually an adversary will try to link together multiple addresses which they believe belong to the same wallet. Such address collections are called "clusters", "closures" or "wallet clusters", and the activity of creating them is called "wallet clustering". ([source](https://en.bitcoin.it/wiki/Privacy#Blockchain_attacks_on_privacy))

While the coin control feature helps with that, it does not show all the transaction tree, listing just the coin sources.

I would like the coin control window display all the clustered addresses belonging to any given tree so I can chose better which coins to use.

### An example tree ###

Given the following transaction tree (where up-case letters are owned addresses)

```
a -> B
  -> C -> e
     |--> D
```

There are two UTXOs that can be spend: `B` and `D`, both are change addresses, within the coin-control I can see that the coins were received from `a`, but there is no mention of `e`, and that could be actually quite important, if for example `e` does know my name. That would allow for example, prioritizing those UTXO to send more money to `e`.

Could it be possible to add that information in the tree?
Repository: deno
Issue: Codesign Deno binaries on Windows 
Labels: build,windows

I received an alert from the Avast antivirus during the upgrade of deno (from version 1.0.0 to version 1.0.1).
I ran the command 'deno upgrade' from the PowerShell terminal on  Windows 10 SO.

The alert says that the deno.exe was infected with IDP.HELU.PSD11

![image](https://user-images.githubusercontent.com/26843533/82517183-f87e2080-9af2-11ea-8e31-38bde09235ef.png)
Repository: go
Issue: proposal: cmd/go: `go get` automatically add `replace` in go.mod
Labels: Proposal,GoCommand,modules

# Scenario

`B` repo fork from the `A` repo and `B` repo add some codes that `A` repo doesn't have.

Try to import `B` in `C` with go mod.

```bash
go get B
```

Go will compliant and refuse to import `B`.

```
module declares its path as: A
        but was required as: B
```

-----

Because of `B` fork from `A`, it is no way to rename all the import paths which relevant to `A` since it will break the dependency.

And those users of `B` are painful to import `B` to their project, since `go get` refuse to import `B`, and they have to modify the `go.mod` by themselves.

For example:

```bash
go mod edit -replace A@latest=B@latest
```

It's like `B` is a second-class citizen.

# Proposal

I propose that `go get` can handle this scenario by add `replace` in `go.mod` and not refuse to import such repo.

Or maybe we can add a new flag `go get -r` to declare that the user wants to add a replacement explicitly.

Also, currently, `go get -u` refuse to upgrade `B` repo even we already add `replace` in `go.mod`. Therefore I think `go get -u` should respect this if this proposal passed.
Repository: pytorch
Issue: Weight decay in AdamW
Labels: module: optimizer,triaged

## 🐛 Bug

As the original paper(https://arxiv.org/pdf/1711.05101.pdf, green boxes) shows 

<img width="604" alt="Screen Shot 2020-05-21 at 12 40 39 PM" src="https://user-images.githubusercontent.com/8815362/82520936-49782e00-9b60-11ea-869e-1d9e06bbea26.png">

the formula of applying weight decay to Adam should be 
`\theta_t = (1 - \lambda) * \theta_{t - 1}` or
`\theta_t = (1 - {schedule multiplier} * \lambda) * \theta_{t - 1}`.

But, AdamW implementation in master branch (https://github.com/pytorch/pytorch/blob/master/torch/optim/adamw.py#L73) applies weight decay with learning rate.

`\theta_t = (1 - \lambda * {learning rate}) * \theta_{t - 1}`

## Expected behavior

I think this line(https://github.com/pytorch/pytorch/blob/a8d8fc553229731c2ca491fefe18ff977c7e8af0/torch/optim/adamw.py#L73) should be `p.mul_(1 - group['weight_decay'])`.


cc @vincentqb
Repository: PowerToys
Issue: [KBM] Remapped key remains actively when changing to Japanese IME
Labels: Help Wanted,Product-Keyboard Shortcut Manager,Priority-1

<!--
**Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**.
Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue.
-->

# Environment

```
Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: v0.18.0
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager
```

# Steps to reproduce

<!-- A description of how to trigger this bug. -->
1. In Keyboard Manager, map <kbd>Caps Lock</kbd> key to <kbd>Ctrl (Left)</kbd> key
2. Changing keyboard IME from English (US) to Japanese
3. Enter some Japanese characters
4. Copy some text by using <kbd>Caps Lock + C</kbd> key
5. Press whatever keys, the <kbd>Caps Lock</kbd> key is remained actively
6. Need to go back to English IME and press <kbd>Caps Lock</kbd> key again to release

# Expected behavior

<!-- A description of what you're expecting, possibly containing screenshots or reference material. -->
Remapped key does not remains actively. Pressing some keys like <kbd>s</kbd>  will input `s` character.

# Actual behavior

<!-- What's actually happening? -->
<kbd>Caps Lock</kbd> key remains actively. Pressing <kbd>s</kbd> will show Save Dialog

# Screenshots

<!-- If applicable, add screenshots to help explain your problem. -->
No need to attach screenshots
Repository: create-react-app
Issue: please alert users on symlink to external src folders
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

I had a bunch of my-apps and tried to create a symlink to an external common components folder.

project->sharedcomponents
project->my-app1->src->components (symlink to upper sharedcomponents)
project->my-app2->src->components (symlink to upper sharedcomponents)

```npm start``` error text sent me to a rat hole based on [classProperty](https://stackoverflow.com/questions/52237855/support-for-the-experimental-syntax-classproperties-isnt-currently-enabled/61927054#61927054) not enabled 

### Describe the solution you'd like

maybe detecting symlinks and ending with an ERROR message with a clear text/reason why symlink to external folder won't be processed. 

### Describe alternatives you've considered

bit.dev seems overengineering for this, I'd love to "mount" an external folder in src somehow and without a complex apparatus of new repos / new published components etc. Another alternative would be just allow symlinks and process them seamlessly.  

### Additional context
Repository: go
Issue: cmd/pprof: use netrc for user/password authentication
Labels: NeedsInvestigation,FeatureRequest,compiler/runtime

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.14.2 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/prashant/Library/Caches/go-build"
GOENV="/Users/prashant/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/prashant/gocode"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.14.2_1/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14.2_1/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/db/_9qlqsfd5zbckpmfx7jbkpr80000gn/T/go-build663148624=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

Use `go tool pprof` to fetch a profile from an internal site that is protected behind auth. Authentication information is written to `~/.netrc` and `curl -n <url>` works fine. Since Go supports netrc for getting modules, it would be great if pprof could similarly support netrc files.

### What did you expect to see?
go tool pprof to use authentication information from `~/.netrc`.


### What did you see instead?
401, as the user/information is not used.
Repository: PowerToys
Issue: [Image Resizer] Add NoCrop
Labels: Idea-Enhancement,Product-Image Resizer

# Summary of the new feature/enhancement

Currently the only options when trying to resize an image for a different aspect ratio are fit, fill and stretch. Fit is the only option that preserves the aspect ratio. When I choose fit, it does not render the picture to the exact dimensions and only reduces the image until both height and width just fit inside the specified dimensions (i.e no bars are added on sides to make the dimension correct). An use case scenario would when an user is trying to export a screenshot for posting on Instagram stories, where the pictures need to be in 16:9 (portrait) ratio. 

# Proposed technical implementation details (optional)

When resizing an image for a different aspect ratio while 'fit' is selected, ask whether a canvas (bars) is required. The larger The background colour of the bars could also be changed, optionally.

So if I have an image that's 1080x720 and I want to upload it to IG stories, I can choose image resizer -> (fit, 720x1080, uncheck ignore the orientation of pictures) -> The choose use fill canvas and choose the background color -> Resize
Repository: PowerToys
Issue: [Run] Support commands and parameters / arguments
Labels: Issue-Bug,Product-PowerToys Run,Run-Plugin

# Summary of the new feature/enhancement
Support running commands, utilities with parameters.
<!-- 

-->
The older run box supports commands and parameters to be used in cases like this:

- cmd /k [your command here]
- ssh username@server.local
- runas.exe .......
- wt (Launch Windows Terminal)
- ping [server_address_here]

and more!

Could you please allow commands to be used with their optional parameters? Like the old run box did ?


![PowerToys Run with parameters](https://user-images.githubusercontent.com/22074851/82533654-04460300-9b44-11ea-85e2-72e006128a8e.jpg)
Repository: PowerToys
Issue: [FZ Editor] Undo / Redo keybinding
Labels: Idea-Enhancement,FancyZones-Editor,Product-FancyZones

# Summary of the new feature/enhancement

I would like to undo (ctrl-z) and redo (ctrl-y) on Fancy Zones Editor.

# Proposed technical implementation details

Here's sample (not tested) C# class for handling ctrl-z/y.

```csharp
class ChangeHistory<T> {
  private int _currentIndex = -1;
  private List<T> _history = new List<T>();

  public int CurrentIndex => _currentIndex;
  public T CurrentState => _currentIndex >= 0 ? _history[_currentIndex] : default;

  // Save state
  public void Push(T state) {
    if (_currentIndex < _history.Count - 1) {
      _history.RemoveRange(_currentIndex + 1, _history.Count - _currentIndex - 1);
    }
    _history.Add(state);
  }

  // Ctrl - Z
  public void Pop() {
    if (_currentIndex > 0) _currentIndex--;
  }

  // Ctrl - Y
  public void Next() {
    if (_currentIndex < _history.Count - 1) _currentIndex++;
  }
}
```