sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: AnimationTree seek nodes don't reset after preview in editor
Labels: bug,topic:editor,topic:animation

**Godot version:**
3.2.1.stable.official

**OS/device including version:**
Ubuntu 18.04

**Issue description:**
When adding a seek node to an AnimationNodeBlend in an AnimationTree, the value of the position parameter resets to `-1` after the initial seek (as it is supposed to), but when previewing this in the editor by toggling the `Active` property of the AnimationTree, the value does not reset; meaning any seek values that were setup need to be reconfigured every time the animation is previewed in the editor.

**Steps to reproduce:**
- Add an AnimationTree
- Set the tree root to be an AnimationNodeBlend
- Add an Animation node linked to a Seek node and set the position parameter to a positive value (e.g. 0.5)
- Enable the Active property of the AnimationTree to start a preview of the animation in the editor
- Disable the Active property of the AnimationTree to stop the preview

After doing this, the seek parameter in the editor will remain at `-1` as per the screenshot below (meaning you would need to make note of the value of all seek nodes before previewing so they can be reconfigured):

![image](https://user-images.githubusercontent.com/49003204/85229620-b17d9680-b3e2-11ea-8541-a1bb5fdd1f68.png)
Repository: excalidraw
Issue: Collaborator state changes do not always cause re-render
Labels: bug,collaboration

Collaborator state changes do not always cause a re-render when it should. An example of this is when a collaborator joins, the original user wont see their avatar until they do an action themselves like clicking the canvas (causing a re-render).

Haven't investigated too much but this is probably due to the state using an ES6 Map, which is mutating. A possible solution might be to update this to a standard hash object and update the state in an immutable fashion.
Repository: go
Issue: cmd/go: get incorrectly rejects go-import/go-source meta tags with unquoted name attr
Labels: NeedsFix

<!--
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.4 linux/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
GOARCH="amd64"
GOBIN="/home/user/bin"
GOCACHE="/home/user/.cache/go-build"
GOENV="/home/user/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/user"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/user/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/user/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build389226641=/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.
-->

This issue affecting us has been fixed via a workaround, so I can't post a working reproducer, but the previously it could have been replicated by doing the following.

`GOPROXY=direct go get gonum.org/v1/gonum`


### What did you expect to see?

Downloading the module.


### What did you see instead?

```
$ GOPROXY=direct go get gonum.org/v1/gonum
go get gonum.org/v1/gonum: unrecognized import path "gonum.org/v1/gonum": reading https://gonum.org/v1/gonum?go-get=1: 404 Not Found
```

### Additional information

This was brought to [golang-nuts](https://groups.google.com/d/msg/golang-nuts/1kewLH-Vack/dDyuAW5_BwAJ) and [Gophers' slack](https://gophers.slack.com/archives/C029RQSEE/p1592699134083700) where the issue was suggested to be that the the name attribute of the meta tag was unquoted. Ensuring that the attribute remains quoted did resolve [the superficial issue](https://github.com/gonum/website/issues/9), however on [raising this with the author of the minifier that removes the quotes](https://github.com/tdewolff/minify/issues/309) (a dependency of hugo), the quotes are apparently not required. This is confirmed by checking the following html [here](https://validator.w3.org/nu/#textarea) (note that go-import is not quoted).

```
<!doctype html><html lang=en-us>
<head>
<meta name=go-import content="domain.tld git https://github.com/domain/pkg">
<title>Title</title>
</head>
```

Also ref gohugoio/hugo#7415
Repository: vscode
Issue: View undo/redo history visually or an indicator or a counter
Labels: feature-request,undo-redo

Dear VSCode,

Thank you very much for this project.

Although, the feature we might need is the Undo/Redo `history` like in the VS2019 or Photoshop, for example:

| Visual Studio 2019 | Photoshop |
|:-:|---|
| ![image](https://i.imgur.com/NOyJ37s.png)| ![](https://i.imgur.com/LMUv2pn.png) |

or at least colored/highlighted `buttons`(without any history list) or `counters` (these numbers below show the number of `Undo`ings the coder did (or number of `Redo` available to restore)):

![](https://i.imgur.com/IxhaFfi.png)

or an `indicator` if any **Redo** is available.

The reason of this request is that without it the VSCode forces you to recheck if any edits have undone after returning to the project by clicking `Ctrl+Shift+Z`/`Ctrl+Y` and `Ctrl+Z` repeatedly etc. to **ensure** and not lose the undo/redo history by an accident.

In short, the there are 3 ways to implement.
```
1. The Undo/Redo history window(like on 1 picture above)
2. A global or per file Redo available counter(like on 2 picture above)
3. A global or per file Redo indication (Redo exists or not)
```
Just, imagine a situation:
```
You are coding a big code.
1. Ctrl+Z in one file so to view some code you rewrote.
2. Open/View different file.
3. Forget that you Undo first one
4. Return to first one
5. Write 1 char or reformat/beatify it accidentally
6. The whole Redo history of first file is **GONE** ... oops (what if full block of such or even more?!)
```
So, this request might eliminate this problem.

It might be already nearly implemented:
The `Undo/Redo` might already is stored in some `object map` or such, so just iterate through and do stuff. I.e. show the map in list or length of each `map` per file.

Interesting [link](http://www.dr-qubit.org/undo-tree.html) which shows how might Emacs have such "feature".

Best regards
Repository: vscode
Issue: Git - git sync issue on an empty repo
Labels: bug,help wanted,git

- VSCode Version: 1.46.1
- OS Version: macOS 10.15.5

Steps to Reproduce:

```sh
# create empty repo test1
git clone https://.../test1.git test1_01
git clone https://.../test1.git test1_02
cd test1_01
code ./
# add 1.txt -> commit -> sync
cd ../test1_02
code ./
# click sync: I expect changes will be synced
```
Repository: excalidraw
Issue: Export PDF
Labels: enhancement,pdf

### Feature:

At the moment, when we export something, it's usually in the form of an image or an SVG. What I'm proposing is an extra option of exporting it to PDF. 

### Suggestion:

The transformation from SVG to PDF isn't that complicated, this feature shouldn't cause too much overhead to implement if you just transform the SVG into PDF format.
Repository: flutter
Issue: [macos] Transparent FlutterViewController
Labels: c: new feature,engine,platform-mac,customer: crowd,a: desktop,P3,team-macos,triaged-macos

I am trying to make a transparent app in macOS but the Flutter view has a black background I can't remove.

I set the window and the view within the view controller to have a red background but it still shows black

```swift
class MainFlutterWindow: NSWindow {
    
  override func awakeFromNib() {
    let flutterViewController = FlutterViewController.init()

    flutterViewController.view.layer?.backgroundColor =  CGColor(red: 1, green: 0, blue: 0, alpha: 1.0);
    self.backgroundColor = .red;
    let windowFrame = self.frame
    self.contentViewController = flutterViewController
    self.setFrame(windowFrame, display: true)
    
    super.awakeFromNib()
  }
}

```

Probably because FlutterView is set to be Opaque  here [FlutterView.mm#L47](https://github.com/flutter/engine/blob/c3e9c14586566ae1afc28c560176e74f0af65c29/shell/platform/darwin/macos/framework/Source/FlutterView.mm#L47)
Repository: ant-design
Issue: Select menu should overlap trigger as little as possible
Labels: Inactive,improvement

## Reproduce

Reproduce: https://codesandbox.io/s/wizardly-dawn-5fukg?file=/index.js or https://codesandbox.io/s/delicate-shape-e35hq?file=/index.js

<img width="645" alt="image" src="https://user-images.githubusercontent.com/507615/85273690-7fd30100-b4b0-11ea-9318-88fb1343db94.png">

<img width="662" alt="image" src="https://user-images.githubusercontent.com/507615/85273698-83ff1e80-b4b0-11ea-9ef0-8cc836f2fc82.png">

<img width="649" alt="image" src="https://user-images.githubusercontent.com/507615/85274864-1ce26980-b4b2-11ea-922d-3886a7ae98b8.png">

<img width="412" alt="image" src="https://user-images.githubusercontent.com/507615/85274761-f7556000-b4b1-11ea-9d51-eda1398b4765.png">


The dropdown menu will overlap select trigger, **user cannot input any text now**.

## Solution

1. When **there is space** for dorpdown menu in popup container, show dropdown menu just below(or upon) the select trigger.

   <img width="658" alt="image" src="https://user-images.githubusercontent.com/507615/85274159-29b28d80-b4b1-11ea-83a0-eae56a991f3b.png">

   <img width="657" alt="image" src="https://user-images.githubusercontent.com/507615/85274827-0fc57a80-b4b2-11ea-9983-7b0616282fe1.png">

2. When **there isn't space** for dorpdown menu in popup container, reduce dropdown menu `max-height`.

   <img width="262" alt="image" src="https://user-images.githubusercontent.com/507615/85274488-9af24080-b4b1-11ea-8d57-0e8764d4e041.png">

   <img width="285" alt="image" src="https://user-images.githubusercontent.com/507615/85274413-7b5b1800-b4b1-11ea-8c4b-3faad0b4e031.png">

3. Also we should provide `autoAdjustOverflow: boolean` to Select, allow to turn off auto adjust feature.

   Like Tooltip's `autoAdjustOverflow`: https://github.com/ant-design/ant-design/pull/6661


## Related issues:

- #12402: [select with search enabled] select dropdown menu is misplaced and will overlap the input component
- #12070: Provide prop `autoAdjustOverflow` to turn off automatic adjust popup placement when popup is off screen
Repository: flutter
Issue: Too many different d: unknown option: -target error when anaconda is also installed
Labels: c: crash,platform-ios,tool,P3,team-ios,triaged-ios

Hi,
    I am trying to build my ios for submission but suprisingly when I build from xcode and run on my phone or emulator no error. Then I go to visual code terminal and run this command flutter build ios --release --no-codesign 
I get few different error example some times is this 

```
Xcode's output:
↳
    ld: unknown option: -target
    location_permissions-coaigneefjjdkbaiiroewrsqusfe
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.5.99. (in target 'OneSignal' from project 'Pods')
```
Then I run flutter clean then again I run build command I get this error 

```
Xcode's output:
↳
    ld: unknown option: -target
    Pods-OneSignalNotificationServiceExtension-coaigneefjjdkbaiiroewrsqusfe
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.5.99. (in target 'OneSignal' from project 'Pods')

```

So how to resolve this issue of this ios build
Repository: pytorch
Issue: [discussion] Expressing tensor dimension semantics / constraints through typing / constraints blocks. Constraints block could be scripted/traced and help for tracing/script execution and codegen
Labels: module: internals,feature,triaged

Editor's note: See https://github.com/pytorch/pytorch/issues/26889 for direct type system approaches. This issue is to discuss use of `assert` to direct type refinement, either in mypy, or also in TorchScript.

----

It could be nice to be able to type arguments e.g. as `torch.Tensor['BCHW']` or `torch.Tensor['*C']` or `torch.LongTensor['?2']` even for user code self-documentation purposes (e.g. like one can specify dimension semantics when exporting to ONNX).

Typing information may come in different forms: maybe even some generic API for expressing frequent constraints such as "two tensors should have same first dimensions", "these two tensors should have exactly same shapes" or "these two two tensors should have broadcastable shapes".

I understand that expressing these different constraints may be a difficult task, but maybe this was already tackled somehow in functional programming community (parametrized types) and ["design by contract"](https://en.wikipedia.org/wiki/Design_by_contract) paradigm (e.g. Code Contracts integrated in C# language). Maybe some reduced / concise way that is already useful can be found

**UPD**: It would also be nice to trace/script these constraints and use them for codegen and execution to eliminate unneccessary checks and select better kernels. "expressing shaping information a bit similar to #40373. E.g. allowing tracing some constraints like assert size(X, 1) == size(Y, 2) and size(X, 2) == 64 and ndim(Z) == 3 etc and then using them for compilation/optimization (in my example in #40373 I annotate tensors with strings like BTC and BC and then check that similarly named dimensions of different tensors agree)"

cc @ezyang @bhosmer @smessmer @ljk53
Repository: terminal
Issue: ITerm2-like terminal autocomplete
Labels: Issue-Feature,Area-TerminalControl,Area-Extensibility,Product-Terminal

# Description of the new feature/enhancement

Provide autocomplete by the terminal (not the shell) based on previous output (comparable to the iTerm2 'Autocomplete' feature described [here](https://www.iterm2.com/features.html#autocomplete)).

![inShell](https://user-images.githubusercontent.com/934246/85293467-a89dcb00-b49d-11ea-923f-fbc80b9461ae.png)

This feature does not require any knowledge about the current command but works just by inspecting the existing output as shown by the terminal. It uses the word currently being typed (based on the output and the cursor position) to provide autocompletion proposals. Therefore, it is independent of the shell and works also for other console applications that allow input, e.g., editors.

![inNano](https://user-images.githubusercontent.com/934246/85293548-ce2ad480-b49d-11ea-9597-602144e17e4f.png)


A request for this feature has been mentioned [here]( https://github.com/microsoft/terminal/issues/3121#issuecomment-581756164) but I don't think it has been recognised as a different feature from the issue it was mentioned in.

# Proposed technical implementation details

A possible approach could be based on a set of characters that separate words. First, identify the currently typed word by going backward from the cursor to the first non-word character. Second, perform a backwards search for words with the same prefix (and stop after a certain number of proposals or amount of text searched to ensure quick and helpful feedback). 

Note that in the iTerm2 implementation 'word' encompasses a whole path, i.e., both `/` and `\` are treated as a word character, which I found very helpful.

[edited to highlight treatment of paths]
Repository: go
Issue: go/ast: unexpected associations for comments in empty function/loop bodies
Labels: NeedsInvestigation

Comments that are placed inside empty function or loop bodies are associated with statements after the body, hence statements outside of the scope the comments are in. I would expect them to be associated with the function or loop declaration. This snipped demonstrates the issue:

	package main

	func main() {
	}

	func foo() {
		// inside empty function, associated with function bar below
	}

	func bar() {
		i := 1
		for i < 2 {
			// inside empty for, associated with if i == 3
		}
		// after empty for loop, this, however, is associated with for loop above

		if i == 3 {
			// inside empty if, associated with i = 4
		}
		i = 4
	}

And here you can find code to reproduce the issue: https://play.golang.org/p/m4j-OTbdi-L

As @griesemer mentioned in #20744, the comment association heuristic is not straight forward to implement. Thus, I am wondering whether the above shown associations are intentional or whether this is a bug. Thanks for the clarification!

<pre>
$ go version
go version go1.14.2 darwin/amd64
</pre>

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/.../Library/Caches/go-build"
GOENV="/Users/.../Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/.../go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/.../go.mod"
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/yb/hqncynqs0b5_3hyxcjpdsyr00000gr/T/go-build447564702=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>
Repository: flutter
Issue: create a json metadata file with the available options to `flutter create`
Labels: tool,P3,team-tool,triaged-tool

There is a discussion about refactoring the `flutter create` command to use sub-commands (`flutter create plugin`, `flutter create app`, ...) instead of options (`flutter create --template plugin`, `flutter create --template app`, ...). If we do something like this, the IDEs will need to be updated to know about the new invocation style. We have an opportunity to improve the general integration of IDEs with `flutter create` here.

For the new `flutter create` command:
- IDEs will need to know the min SDK version that supports the refactored command
- and will need to update the various wizard pages for the new commands and options; that info if currently hard-coded in the UIs

I'd like to move off of a hard-coded solution. We can't currently query `flutter create` for the options as the initial run of the flutter tool could be very long - on the order of minutes. That wouldn't work for a project wizard style UI. Instead, we could do something like have the available flutter create options encoded in a json file in the Flutter SDK. That file could be validated on every commit, so you know it wouldn't get out of date with the create options. The workflow could then be:

- user installs the flutter plugin (in IntelliJ or VS Code)
- they select 'create new project'
- we show a page, where the user can optionally install the flutter sdk
- that gets provisioned to disk
- we query the metadata json file in the sdk to see what the options to `flutter create` are
- we display additional wizard pages, based on the types of projects available 
- after the user selection, we then call `flutter create foo_bar`; that may cause additional parts of the flutter sdk to be downloaded (but these slow parts can happen in a progress dialog or similar)

cc @jonahwilliams @stevemessick @DanTup @cyanglaz
Repository: ant-design
Issue: Setting header impossible for the expandIcon-s column
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?
* [x]  I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
![Edit on CodeSandbox](https://camo.githubusercontent.com/416c7a7433e9d81b4e430b561d92f22ac4f15988/68747470733a2f2f636f646573616e64626f782e696f2f7374617469632f696d672f706c61792d636f646573616e64626f782e737667)
(https://codesandbox.io/s/l2rdq)

### Steps to reproduce
open link above (or see on the official documentation [https://ant.design/components/table/#components-table-demo-expand] ). And note that first special "[ ] column" hasn't any header.

### What is expected?
When designing an "AntD Table expandable" following API on [https://ant.design/components/table/#components-table-demo-expand]
i get a PLUS [ ] icon-button drawn beside the row i want to expand the details for (following the API props like expandable={{expandedRowRender: .... }}
The icon-buttons are put in an autonomous column: i would like customize the column with an explicative ad-hoc Header!

### What is actually happening?
AntD doesn't provide APIs for customizing the column with an explicative ad-hoc Header (like EXPAND FOR DETAILS)

A terrible (and graphic) solution could be seen with a Header DETAILS on
https://codesandbox.io/s/sleepy-hermann-up8qf?file=/index.css:0-83
with an ad-hoc CSS, lacking of elegance and scalability and dangerously connected to the current inner architecture...but you can see the graphic result and test better solutions thanks to CodeSandBox.




Environment	Info
antd	4.3.4
React	16.13.1a 
System	windows 10
Browser	chrome 83



### What does the proposed API look like?
AntD doesn't provide APIs for customizing the column with an explicative ad-hoc Header (like EXPAND FOR DETAILS)

Similarly to 
expandIcon	Customize row expand Icon. Ref example	Function(props):ReactNode	-
and coherent to naming like expandIconColumnIndex, **I would propose**

    expandIconColumnHeader	Customize expand Icons column header.	Function(props):ReactNode

See also https://codesandbox.io/s/sleepy-hermann-up8qf?file=/index.css:0-83


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->