sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: encoding/xml: memoize names during decode
Labels: Performance,NeedsInvestigation

Counterpart of #32779 for `encoding/xml`, but tracking it as a performance improvement instead of a proposal.

When an xml is decoded, many of the same element and attribute names appear over and over in the XML and get copied and reconstructed in the result over and over as well. This was previously partially discussed in [#21823](https://github.com/golang/go/issues/21823#issuecomment-376000825), where @nussjustin and @a-h proposed some good initial implementation:
```go
// Get name: /first(first|second)*/
// Do not set d.err if the name is missing (unless unexpected EOF is received):
// let the caller provide better context.
func (d *Decoder) name() (s string, ok bool) {
	d.buf.Reset()
	if !d.readName() {
		return "", false
	}

	// Now we check the characters.
	b := d.buf.Bytes()
        if s, ok = d.names[string(b)]; ok {
		return s, ok
	}
	if !isName(b) {
		d.err = d.syntaxError("invalid XML name: " + string(b))
		return "", false
	}
        s = string(b)
        d.names[s] = s
	return s, true
}
```
Repository: go
Issue: runtime: timeout in TestCgoCCodeSIGPROF and TestCgoExecSignalMask on linux-ppc64le-buildlet
Labels: Builders,NeedsInvestigation,arch-ppc64x,compiler/runtime

[2020-04-09T01:16:43-376472d/linux-ppc64le-buildlet](https://build.golang.org/log/9a3e965f29fdf5f0cb91232628959d4edc68574c)

CC @laboger @ceseo for `linux-ppc64le`, @aclements @ianlancetaylor for `runtime_test.TestCgo*`, @andybons for possible builder slowness
Repository: excalidraw
Issue: Enhance arbitrary shapes with background
Labels: enhancement

The new feature to fill arbitrary shapes with a background as discussed in #1262 and implemented by #1315 is amazing. That being said it would be even more useful to me if it flexibility was added.

While I can draw something like this: (a showcased in the tweet)
![Star1](https://user-images.githubusercontent.com/10243309/78911841-2d746d80-7a87-11ea-9361-9428ddcc9de1.png)

It is impossible for me to draw a real star which I would expect to look like this:
![Star2](https://user-images.githubusercontent.com/10243309/78911919-48df7880-7a87-11ea-8399-7595a69c8213.png)

This would require hiding parts of the line inside of the shape and filling the full area. I actually needed this when trying to draw a heart. All shapes that have an inward crinkle ar otherwise impossible to fill as the lines always curve.

You thus have to cross into your shape to achieve the shape you are aiming for.
![Heart](https://user-images.githubusercontent.com/10243309/78912741-40d40880-7a88-11ea-9ae9-8c263311aca4.png)
Repository: PowerToys
Issue: KBM Editor migrate to XAML / rejuv from code behind UX
Labels: Help Wanted,Product-Keyboard Shortcut Manager,Area-Quality,Area-User Interface,Cost-Large,UI refresh

# Summary of the enhancement

<!-- 
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->
Keyboard Manager's UI is currently completely implemented in the code behind without using any XAML files. This should be migrated to XAML for WinUI 3.
Repository: flutter
Issue: Allow specifying the target platform for flutter run on Android
Labels: c: new feature,tool,P3,team-tool,triaged-tool

This would allow an application to be installed and run as a 32bit arm even if the phone hardware supports 64bit. This can be important for app size, or if the app depends on other native libraries that are only distributed as 32bit.


An example PR that started this work is: https://github.com/flutter/flutter/pull/51631
Repository: godot
Issue: Scrolling in RichTextLabel ignores visible_characters property (fixed in `master`)
Labels: bug,topic:gui

**Godot version:**
3.2.1.stable.official

**OS/device including version:**
Linux

**Issue description:**
If text does not fit in height and `visible_characters` is used (for the typewriter effect), then the text is not displayed as expected.

1. `scroll_active == true and scroll_following == false`:
   There is an opportunity to scroll through unnecessary empty space.

2. `scroll_active == false and scroll_following == true`:
   First you see empty space, then (when visible_characters is incremented by a script) you see the end of the phrase.

Proposed solution: `RichTextLabel` should only consider visible lines when scrolling.

**Steps to reproduce:**
![1](https://user-images.githubusercontent.com/47700418/78921285-5b64ac80-7a9d-11ea-9155-c12532abbfeb.gif)

**Minimal reproduction project:**
[rtl_scroll_bug.zip](https://github.com/godotengine/godot/files/4457595/rtl_scroll_bug.zip)
Repository: terminal
Issue: closeTab should present a confirmation dialog
Labels: Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task,In-PR

# Description of the new feature/enhancement
`closeTab` should present a confirmation dialog if multiple panes are open. This would prevent users from accidentally closing all panes in a tab by accident.
Repository: three.js
Issue: OutlineEffect lines not meeting at corner
Labels: Needs Investigation,Post-processing

##### Description of the problem

I've been working to implement an OutlineEffect for a Collada file and have been having problems with the lines not meeting at the corners. I modified the Toon example that you created with cubes instead of spheres and am having the same problem so it doesn't seem to be my implementation: [https://jsfiddle.net/4170Lv2z/1/](https://jsfiddle.net/4170Lv2z/1/)

And here's a screenshot of my model: 
<img width="939" alt="Screen Shot 2020-04-09 at 3 25 51 PM" src="https://user-images.githubusercontent.com/17128916/78932967-75d75f80-7a76-11ea-98eb-ea90dc80b8b7.png">

Is there a quick fix for this?

##### Three.js version

- [ ] Dev
- [x] r115
- [ ] ...

##### Browser

- [x] All of them
- [ ] Chrome
- [ ] Firefox
- [ ] Internet Explorer

##### OS

- [x] All of them
- [ ] Windows
- [ ] macOS
- [ ] Linux
- [ ] Android
- [ ] iOS

##### Hardware Requirements (graphics card, VR Device, ...)
Repository: godot
Issue: The FileSystem dock highlights the main scene, but doesn't update if the main scene changes
Labels: enhancement,topic:editor

Godot 3.2.1

Following this QA post: 
I just realized the FileSystem dock highlights the main scene with a blue color (by default). However, it doesn't update when I change that scene.
Forcing a rebuild of the tree (by changing its layout or restarting the editor) makes it update.

![image](https://user-images.githubusercontent.com/1311555/78937687-d3849f80-7aa8-11ea-9cf9-7d2cc5d1bfcb.png)

On a side note, I'm wondering what benefit there is to do something like that. It seems quite peculiar, and not immediately obvious.
Repository: flutter
Issue: [gen_l10n] Support deferred loading of localizations in non-Flutter web platforms
Labels: c: new feature,framework,a: internationalization,a: size,c: proposal,perf: app size,P3,team-framework,triaged-framework

With https://github.com/flutter/flutter/pull/53824, Flutter web now supports deferred loading of localization files, allowing for lazy loading of localization files as they are needed rather than loading them all on start up. This is generally useful for applications with support for many locales, since we may not want to download or load all localization files until they are needed.

We should look into seeing if some similar optimizations can be done for non-web platforms.
Repository: flutter
Issue: Expose Android setSystemGestureExclusionRects and getSystemGestureExclusionRects
Labels: c: new feature,platform-android,framework,f: gestures,c: proposal,P3,team-android,triaged-android

We should expose the [setSystemGestureExclusionRects](https://developer.android.com/reference/android/view/View#setSystemGestureExclusionRects(java.util.List%3Candroid.graphics.Rect%3E)) and [getSystemGestureExclusionRects](https://developer.android.com/reference/android/view/View#getSystemGestureExclusionRects()) Android APIs, which were introduced with Android 10 and its full gesture navigation functionality.
Repository: TypeScript
Issue: Include documentation from a variable's type when you hover the variable
Labels: Suggestion,Awaiting More Feedback

Issue Type: <b>Feature request</b>

I had hoped to see the description for the type when hovering over the value via intellisense, etc.

When I hover over `context.slot` I can see "The slot the disk is in." yet when I try hovering over `const slot` I see just the type. Is there anything to enable this? Even setting `slot` to `Slot` manually it still only shows the type.

```ts
 /** The slot the disk is in. */
type Slot = string;

interface Context {
    /** The slot the disk is in. */
    slot?: Slot
}

const func = (context: Context): Context => {
    const x = context.slot;
    const slot: Slot = context.slot;

    return {
        slot: x || slot
    };
};

func({
    slot: '1'
}).slot;
```

VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:34:57.037Z)
OS version: Darwin x64 19.2.0

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz (4 x 2400)|
|GPU Status|2d_canvas: unavailable_software<br>flash_3d: disabled_software<br>flash_stage3d: disabled_software<br>flash_stage3d_baseline: disabled_software<br>gpu_compositing: disabled_software<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>oop_rasterization: disabled_off<br>protected_video_decode: disabled_off<br>rasterization: disabled_software<br>skia_renderer: disabled_off_ok<br>video_decode: disabled_software<br>viz_display_compositor: enabled_on<br>viz_hit_test_surface_layer: disabled_off_ok<br>webgl: unavailable_software<br>webgl2: unavailable_software|
|Load (avg)|1, 1, 2|
|Memory (System)|8.00GB (0.79GB free)|
|Process Argv|.|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (27)</summary>

Extension|Author (truncated)|Version
---|---|---
go-outliner|766|0.1.20
npm-intellisense|chr|1.3.0
path-intellisense|chr|1.4.2
jsrefactor|cms|2.20.5
vue-peek|dar|1.0.2
vscode-eslint|dba|2.1.2
EditorConfig|Edi|0.14.5
vscode-npm-script|eg2|0.3.11
flow-for-vscode|flo|1.5.0
todo-tree|Gru|0.0.171
docthis|joe|0.7.1
vscode-home-assistant|kee|1.6.1
dotenv|mik|1.0.1
vscode-docker|ms-|1.0.0
csharp|ms-|1.21.16
atom-keybindings|ms-|3.0.6
cpptools|ms-|0.27.0
Go|ms-|0.13.1
vscode-typescript-next|ms-|3.9.20200408
go-doc|msy|0.1.1
hide-gitignored|npx|1.1.0
vetur|oct|0.24.0
vscode-graphql|Pri|0.2.14
json-template|sto|0.3.1
vscode-icons|vsc|10.0.0
vscode-wakatime|Wak|4.0.0
vscode-go-autotest|win|1.6.0

(2 theme extensions excluded)

</details>
<!-- generated by issue reporter -->
Repository: TypeScript
Issue: Find all references on overridden subclass method includes references to the parent class
Labels: Suggestion,Awaiting More Feedback,Domain: Symbol Navigation

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
https://github.com/microsoft/vscode/issues/93654

**TypeScript Version:**  3.9.0-dev.20200409


<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
- Find all references
- inheritance

**Code**
For the TS
```ts
class Foo {
  bar() { }
}

class SubFoo extends Foo {
  bar() { }
}

new SubFoo().bar();
```

1. Run `find all references` on `bar` in `class SubFoo`

**Expected behavior:**
A reference to `new SubFoo().bar();` is returned

**Actual behavior:**
Two references are returned, including one to the parent class's `bar`
Repository: go
Issue: cmd/go: make package lookups in vendor directories case-insensitive on case-sensitive filesystems
Labels: help wanted,Vendoring,NeedsInvestigation,FeatureRequest

### What version of Go are you using (`go version`)?
<pre>
$ go version
1.13.7
</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/username/Library/Caches/go-build"
GOENV="/Users/username/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/username/Documents/src/go"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13.7/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.7/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
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/77/06148cr15lvb1jbd9slc58v80000gq/T/go-build264165664=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?
`go mod vendor`
### What happened?
When vendoring on MacOS, files are written with case sensitivity to a case insensitive filesystem. This can cause two issues, but is only present for vendoring, not the module cache, since modules use `!` prefixes to make the module cache case insensitive.
#### Collision
Because import paths are case sensitive, in the event that two packages share case insensitive , but not case sensitive, prefixes collision can occur. This is infrequent due to `alllowercaseoneword` package name conventions, and github username and repo name fields being case insensitive (but with case metadata), however the it is a bug and I can provide code samples to produce compilation failures.
#### Portability
This issue was discovered when sharing the vendor directory between systems that have different case sensitivity (MacOS to Linux) and does not require package collision to reproduce.

Given two modules share a case insensitive prefix, say `github.com/Golang/exp` and `github.com/golang/tools`. On MacOS, they will both be written to `github.com/[Gg]olang` and the first writer will pick the case. Builds work fine because both `github.com/Golang` and `github.com/golang` exist, but when you mount the `vendor` directory in a docker container `github.com/Golang` stops existing. This also happens for other data sharing mechasisms between filesystems like `cp`, `tar`, `git`, etc.
Repository: PowerToys
Issue: [Run] To decide and remove the hardcoded pattern and maxCount values
Labels: Product-PowerToys Run,Area-Quality

https://github.com/microsoft/Launcher/blob/ca916deda91181ce335374b21e7f195e77861e59/src/modules/launcher/Plugins/Wox.Plugin.Indexer/SearchHelper/WindowsSearchAPI.cs#L91

Right now we have hardcoded values for the parameter and the maxSearchResults.
* To decide how we want to support regex based search and allow that pattern to be passed.
* To decide on the maximum number of results that we want to populate.
Repository: PowerToys
Issue: [Run] Implement Logical search in Windows Indexer Plugin similar to Everything
Labels: Idea-Enhancement,Product-PowerToys Run

# Summary of the new feature/enhancement
Everything has some special operators which allow users to query, such as -

Operator | Operation
-- | --
space | AND
\| | OR
! | NOT
< > | Grouping
" " | Search for an exact phrase



<!-- 
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->

# Proposed technical implementation details (optional)

To modify the DB search query that we are creating by adding these features to help in searching for a query.

<!-- 
A clear and concise description of what you want to happen.
-->
Repository: go
Issue: x/playground: send SIGQUIT on timeout to provide useful context
Labels: NeedsDecision

The playground could kill processes in a way that provided the user helpful context instead of `Process.Kill()`.

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.14 linux/amd64 (playground)
</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

</pre></details>

### What did you do?

```
package main

func main() {
	for {
	}
}
```



### What did you expect to see?

```
timeout running program
SIGQUIT: quit
PC=0x458050 m=0 sigcode=0

goroutine 1 [running]:
main.main()
	/tmp/sandbox300849141/prog.go:4 fp=0xc000034788 sp=0xc000034780 pc=0x458050
runtime.main()
	/usr/local/go-faketime/src/runtime/proc.go:203 +0x20e fp=0xc0000347e0 sp=0xc000034788 pc=0x42bf4e
runtime.goexit()
	/usr/local/go-faketime/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0000347e8 sp=0xc0000347e0 pc=0x453831

rax    0x458050
rbx    0x0
rcx    0x4d0000
rdx    0x47a788
rdi    0xc000060010
rsi    0x0
rbp    0xc0000347d0
rsp    0xc000034780
r8     0x0
r9     0x1
r10    0xc000060000
r11    0x1
r12    0x0
r13    0x40
r14    0x483ecc
r15    0x0
rip    0x458050
rflags 0x246
cs     0x33
fs     0x0
gs     0x0

Program exited: status 2.
```

### What did you see instead?

```timeout running program```

/cc @bcmills @cagedmantis @dmitshur
Repository: deno
Issue: Proposal: file system map
Labels: cli,suggestion

## Motivation

When develop CLI app with multiple input and output files, I often find myself writing these file names twice in the command line, for example:

```sh
deno run \
--allow-read=input1.txt,input2.txt \
--allow-write=output1.txt,output2.txt \
my-cli-app \
--input1=input1.txt --input2=input2.txt \
--output1=output1.txt --output2=output2.txt
```

## Proposal

Inspired by `--mapdir` in wasmtime and wasmer, and `--mount` in Docker, I suggest we introduce a `--map-fs`, `--map-fs-read`, and `--map-fs-write` flag. The above code snippet can now be rewritten as:

```sh
# my-cli-app will only ever read from /input1 and /input2 and write to /output1 and /output2
# regardless of flags.
# It is user's responsibility to map /input1, /input2, /output1, and /output2 to desired location

deno run \
--map-fs-read=/input1::input1.txt --map-fs-read=/input2::input2.txt \
--map-fs-write=/output1::output1.txt --map-fs-write=/output2::output2.txt \
my-cli-app
```

### Restrictions

* Mount points must not collide with or include module paths.
* Guess mount points (/input1, /input2, /output1, and /output2) must always be absolute.
Repository: ant-design
Issue: Responsive Sider should have an option to collapse / expand on mobile devices without squashing the main content
Labels: 💡 Feature Request,Inactive

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### What problem does this feature solve?
Currently when using Responsive Sider on a smaller screen, when the sider appears it would have to squash the main content (and all contents within it). It is not a big problem on bigger mobile devices like an iPad but on cellphones it creats chaos and unnecessary performance expense.

I propose a property called "expandBehavior" which let the user to choose when the sider appears should it be "over the top" of the main content, or "At the side" of the main content.

### What does the proposed API look like?
```
<Sider width={300} breakpoint="lg" collapsedWidth="0" expandBehaviour="overTheTop">
    {children}
</Sider>
```
The above setting should allow the Sider to be `on top of the main content` with absolute positioning, 100% height of the screen and a dark overlay to cover the content when Sider appears.
```
<Sider width={300} breakpoint="lg" collapsedWidth="0" expandBehaviour="sideBySide">
    {children}
</Sider>
```
The above setting should allow the Sider to be `at the side of the content`. This is the current behaviour.


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: cmd/go: unclear error when SumDB tree note is corrupted
Labels: NeedsInvestigation,modules

<!--
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.2 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=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Nicolas\AppData\Local\go-build
set GOENV=C:\Users\Nicolas\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS= -mod=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\Mis Documentos\Programacion\Go
set GOPRIVATE=
set GOPROXY=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=NUL
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\Nicolas\AppData\Local\Temp\go-build045229398=/tmp/go-build -gno-record-gcc-switches

</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.
-->
I'm trying to use go mod tidy command. Since my computer turned off because of a blackout it never worked again


### What did you expect to see?

Succesful go.mod file

### What did you see instead?

For every project and import I'm seeing this error:

```
github.com/sirupsen/logrus: github.com/sirupsen/logrus@v1.5.0: verifying module: github.com/sirupsen/logrus@v1.5.0: initializing sumdb.Client: reading tree note: malformed note
note:
```

```
 github.com/dgrijalva/jwt-go: github.com/dgrijalva/jwt-go@v1.0.2: verifying module: github.com/dgrijalva/jwt-go@v1.0.2: initializing sumdb.Client: reading tree note: malformed note
note:
```

I know I just copied 2 libraries, but It's happening with every one