sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: We need a way to be able to dump the semantics tree (debugDumpSemanticsTree) in release mode.
Labels: customer: fuchsia,engine,P3,team-engine,triaged-engine

https://b.corp.google.com/issues/158690361
Repository: pytorch
Issue: Simplify layers of optionals in `VaryingShape` and `Stride`
Labels: oncall: jit,triaged,jit-backlog

Simplify layers of optionals in `VaryingShape` and `Stride`

cc @suo
Repository: flutter
Issue: SafeArea.maintainBottomViewPadding should be true by default
Labels: c: new feature,framework,c: API break,a: quality,c: proposal,a: layout,P3,team-framework,triaged-framework

Found while investigating https://github.com/flutter/flutter/issues/58942

When `Scaffold.resizeToAvoidBottomInsets: false`, the layout will shift when the keyboard opens if there is a `SafeArea` in the `Scaffold`'s body.

This is because  in scaffold.dart:

https://github.com/flutter/flutter/blob/e13b44d9782acd54e74d3891d7888cdccff236c7/packages/flutter/lib/src/material/scaffold.dart#L2494

```dart
    final EdgeInsets minInsets = mediaQuery.padding.copyWith(
      bottom: _resizeToAvoidBottomInset ? mediaQuery.viewInsets.bottom : 0.0,
    );
```

You can see in the gif below that the white safe space under the keyboard goes away when it opens.

![ezgif com-video-to-gif](https://user-images.githubusercontent.com/16964204/84322084-3f2acd80-ab29-11ea-9b9f-90563e104dc4.gif)

### Reproduction
```dart
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        resizeToAvoidBottomInset: false,
        appBar: AppBar(title: Text('Demo')),
        body: SafeArea(
          child: 
          Container(
            color: Colors.yellow,
            child: Center(child: TextField())
          ),
        ),
        floatingActionButton: RaisedButton(
          onPressed: () {},
          child: Text('Button'),
        ),
      ),
    );
  }
}
```

### flutter doctor

```
[✓] Flutter (Channel master, 1.19.0-6.0.pre.51, on Mac OS X 10.15.4 19E287, locale en-US)
    • Flutter version 1.19.0-6.0.pre.51 at /Users/katelovett/github/flutter
    • Framework revision 75fd73d818 (56 minutes ago), 2020-06-10 13:49:35 -0700
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/katelovett/Library/Android/sdk
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C505
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 36.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • A8FFA716-A67B-4468-B92B-F2B61F2306A0 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

```
Repository: go
Issue: cmd/compile: Allocations leak into outer scope
Labels: NeedsInvestigation,compiler/runtime


### What version of Go are you using (`go version`)?

<pre>
go version go1.14.4 linux/amd64

</pre>

### Does this issue reproduce with the latest release?
I believe I'm on the latest release


### 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="/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/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build872077689=/tmp/go-build -gno-record-gcc-switches"

</pre></details>

### What did you do?

I hit a strange issue while doing some benchmarking in [go-ethereum](https://github.com/ethereum/go-ethereum/pull/21207) . It turned out that the allocations for a particular operation went through the roof, for no good reason as far as I could tell. 

I narrowed down the problem as best I could. this [gist](https://gist.github.com/holiman/c556dabf3029924a454757c138841b3f) contains a tiny VM + benchmarking code which shows two cases: one where allocations are made for a branch that is never taken, and another where the unused branch is commented out, and allocations are "sane". 

It's quite a difference:
```
BenchmarkAllocs/bad-6         	     100	  10296649 ns/op	 6400030 B/op	  200000 allocs/op
BenchmarkAllocs/good-6        	   34618	     29632 ns/op	       0 B/op	       0 allocs/op
```

### What did you expect to see?

That allocations inside a scope which was never entered are not made.

### What did you see instead?

That allocations seems to be done outside the scope, directly after the entry into the method.
Repository: pytorch
Issue: I would like to install pytorch-nightly from requirements.txt
Labels: triaged,has workaround

## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->

## Motivation

I would like to be able to install pytorch-nightly from a requirements.txt file too.

I have tried a requirements.txt as follows:
```
--find-links https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
torch
torchvision
```
However, it installs pytorch release and not nightly. So you need to use the command, loosing the advantage this library in the same file as the rest!
Repository: pytorch
Issue: Torch Distributed Asynch docs with invalid ENV args
Labels: needs reproduction,module: docs,triaged,module: rpc

## 📚 Documentation

I am following the following documentation;

https://pytorch.org/docs/master/rpc.html#torch.distributed.rpc.rpc_async

When I use the given export commands, the program breaks showing that 

For Address ENV

```bash
raise _env_error("MASTER_ADDR")
ValueError: Error initializing torch.distributed using env:// rendezvous: environment variable MASTER_ADDR expected, but not set
```

For PORT ENV
```bash
 raise _env_error("MASTER_PORT")
ValueError: Error initializing torch.distributed using env:// rendezvous: environment variable MASTER_PORT expected, but not set
```

Modified as follows, fixes the error. 

```bash
export MASTER_ADDR=localhost
export MASTER_PORT=5678
```

I tested this with the following way

```bash
python3 -m venv ENV
source activate ENV/bin/activate
pip3 install torch
```

Script `test_torch_dist.py'

```python
import sys
import torch
import torch.distributed.rpc as rpc


def p1():
    print(
        "Worker 1"
    )
    rpc.init_rpc("worker0", rank=0, world_size=2)
    fut1 = rpc.rpc_async("worker1", torch.add, args=(torch.ones(2), 3))
    fut2 = rpc.rpc_async("worker1", min, args=(1, 2))
    result = fut1.wait() + fut2.wait()
    print(result)
    rpc.shutdown()

def p2():
    print(
        "Worker 2"
    )
    rpc.init_rpc("worker1", rank=1, world_size=2)
    rpc.shutdown()


args = sys.argv

print("Args {}".format(int(args[1])))

if int(args[1]) == 1:
    p1()

if int(args[1]) == 2:
    p2()

```

Terminal 1:

```bash
python3 test_torch_dist.py 1
```

Terminal 2:

```bash
python3 test_torch_dist.py 2
```

Machine configs: 
```bash
lsb_release -a

Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal
```



cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @jlin27 @jjlilley
Repository: pytorch
Issue: Feedback to split certain doc pages into sub-topics
Labels: module: docs,triaged

## Background
This post is to gather feedback on the proposal to split up larger doc pages (e.g. torch.html) into subpages to reduce load time and help with content searchability. This is done by adding a summary table in the main page that links to subpages for each function/class.

More details can be found in this PR: https://github.com/pytorch/pytorch/issues/38010

*Known Issue:* New format generates new urls which would break existing documentation links. *Proposed Fixes:*
https://github.com/pytorch/pytorch/pull/39086
https://github.com/pytorch/pytorch/pull/39032

## Feedback Instructions
1. Review the current view for torch compared to the newly proposed view: 
* Current: https://pytorch.org/docs/stable/torch.html
* Proposed New: https://5591729-65600975-gh.circle-artifacts.com/0/docs/torch.html

2. Leave a comment highlighting:
* Pros
* Cons
* Which option do you prefer and why? 

cc @jlin27
Repository: flutter
Issue: Remove make-host-app-editable command
Labels: tool,a: existing-apps,P3,team-tool,triaged-tool

Deprecated with https://github.com/flutter/flutter/issues/54408.  Remove the command completely at some point (+1 stable after the deprecation lands?).
Repository: go
Issue: cmd/go: go build ./... may or may not write executable to disk depending how many packages the import path pattern matches
Labels: NeedsInvestigation,GoCommand

<!--
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.3 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

Issue is reproduced with the latest release.

### What operating system and processor architecture are you using (`go env`)?

OS: macOS Catalina (10.15.5)

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/cest-la-vie/Library/Caches/go-build"
GOENV="/Users/cest-la-vie/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/cest-la-vie/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.14.3/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/cest-la-vie/fsociety/dev/go/go-build-issue/L1/M0/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/qc/_15tg89d2xg2blsddq6f9zkc0000gn/T/go-build913708293=/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.
-->

I am trying to build a go module using `go build ./...` in the same directory as `go.mod`. It works fine when there's only a single go package (main) and file. But adding another package and file, referencing those functions in main, and executing the aforementioned command does not generate the executable.

I have a very basic go project that reproduces this issue (includes instructions): https://github.com/xyzst/go-build-bug

### What did you expect to see?

An executable should be generated in the same directory as `go.mod`

### What did you see instead?

The binary is not generated and I am not able to locate it anywhere.

There are workarounds available:

- `go install ./...` still works as intended and the binary is found in the expected location at `$GOPATH/bin`
- `go build ./path/to/go/file/with/mainpkg.go` will generate the binary as expected
Repository: godot
Issue: Deleting a Node modifies it saved animation file without intention
Labels: bug,topic:editor

**Godot version:**
3.2.2-beta 4

**OS/device including version:**
Windows 8.1

**Issue description:**
In `AnimationPlayer`, if you create an animation using some node, but then you delete that node, the saved animation will be modified even if you have not saved it again.

Even if the corresponding node has been deleted, the modification of the animation file related to it is not expected. Also because sometimes I create the animation in order to only use it with the inherited scenes, adding this node later.

**Steps to reproduce:**
Create an animation using the positions of a Sprite node or any other node, **save the animation in some folder**, then delete the Sprite node, save the scene. Then **open the .tres file of this animation, it has been modified without you deliberately save it again**.


**Minimal reproduction project:**

[AnimationSaveBug.zip](https://github.com/godotengine/godot/files/4762028/AnimationSaveBug.zip)
Repository: go
Issue: proposal: testing: Add LogWriter() method to testing.T for usage with log.Logger
Labels: Proposal

## Problem

Presently there is no quick way to direct output from a `log.Logger` into a `testing.T`. In my experience, this is an annoying aspect of using `log.Logger` as all my logs become useless in parallel tests as they are not associated with their test. I suspect this is a frustration shared by numerous other projects that use both `log` and `testing`.

Your only option is to write a `io.Writer` wrapping `testing.T` yourself. See https://godoc.org/code.soquee.net/testlog for example

## Proposal

I think we should make this easier as it is a common use case.

See https://github.com/golang/go/issues/22513 for some previous discussion on a similar proposal. That proposal was rejected as the proposed API would make `testing` depended on `log`.

My proposal is that we add a `func (t *testing.T) LogWriter() io.Writer` method to `testing.T` that returns an `io.Writer` where each `Write()` is a `t.Log()` call with the byte slice converted to a string.

Following the closure of the previous proposal, @SamWhited suggested to make `testing.T` an `io.Writer` but I think this could be confusing as it's not clear what a `Write()` on `testing.T` directly would do. Whereas having an explicit `LogWriter` method ensures that the code is clear about what's going on.

## Line Numbers

One issue with my proposal and redirecting `log.Logger` to `testing.T` in general is that you get incorrect line numbers as there are no `t.Helper()` calls inside the `log` package. Every log indicates that it was logged from inside the log package. I'm not sure what we should do about this if we don't want `log` to depend on `testing`. I think it'd be worth the dependency for correct line numbers. Or perhaps we could hard code `testing` to ignore any lines within the `log` package.
Repository: flutter
Issue: Show error if engine not running
Labels: engine,platform-linux,a: desktop,a: error message,P3,team-linux,triaged-linux

If Flutter fails to run, the Linux shell shows an EGL buffer with random contents. It should show an error screen instead.
Repository: TypeScript
Issue: Compile time exponentially longer as more exclamation marks are added to a negation in a template placeholder expression
Labels: Bug

**TypeScript Version:**  3.9.5

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** exponential, exclamation, negation

**Code**

```ts
let a = `${!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!true}`
```

**Expected behavior:**

The compile time does not exponentially increase as more exclamation marks are added.

**Actual behavior:**

The compile time increases exponentially with more exclamation marks.

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->

https://www.typescriptlang.org/play/#code/DYUwLgBAhhC8EAMAkBvAhBzXs7QMymAGcQBfBAbgFgAoQkAJzAAooBKamoA

It will always say that the code ran immediately, but after changing the code, the result will be incorrect for some time. In addition, you will notice as you add more exclamation marks that it takes a long time for whatever you write on the left side to appear on the right.

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
Repository: godot
Issue: LineEdit fontsize change doesn't update text position
Labels: bug,topic:gui

Searched the issues, didn't find a duplicate.

**Godot version: 3.2.1**

**OS/device including version:** Arch Linux

**Issue description:**
When decreasing (or increasing) the font-size of a LineEdit's font, the font shrinks as expected. But the shrinking happens always towards the left edge without respecting the horizontal alignment
![s](https://user-images.githubusercontent.com/6108978/84360570-95038200-abca-11ea-8c79-63774768c7b1.png)


**Steps to reproduce:**
Download the minimal reproduction project and click the "shrink" and "grow" buttons. 

As workaround you can click on the "connect changed" button which will run following lines:
```gdscript
var font = $LineEdit.get_font("font")
font.connect("changed", $LineEdit, "set_secret_character", [$LineEdit.secret_character])
font.connect("changed", $LineEdit2, "set_secret_character", [$LineEdit2.secret_character])
font.connect("changed", $LineEdit3, "set_secret_character", [$LineEdit3.secret_character])
```
After that, changing the font size preserves correct alignment.
**Minimal reproduction project:**
[lineedit_font_size_change.zip](https://github.com/godotengine/godot/files/4763405/lineedit_font_size_change.zip)
Repository: go
Issue: runtime: fixup darwin/arm64 framepointer assembly
Labels: NeedsFix,arch-arm64,compiler/runtime

Quoting @cherrymui from [CL 220588](https://golang.org/cl/220588):

> 
> For example, in runtime/sys_darwin_arm64.s, function open_trampoline, the frame pointer is not saved. One possibility is to change the frame size (the $0 on the TEXT line) to 16, so the assembler will automatically allocate a frame and save the frame pointer, and remove the SUB and ADD to RSP. Do the same to other functions as well.
> 
> Another example is runtime/preempt_arm64.s, currently the frame pointer is only saved #ifdef GOOS_linux. We may want to do this for #ifdef GOOS_darwin as well.
Repository: nvm
Issue: provide alias command for "nvm install node --reinstall-packages-from=node" 
Labels: feature requests

Please provide an alias for this, I only recently learned about the command and search for an easy upgrade function for a while.

Or, if not, why it maybe is a bad idea, that I dont already know about maybe.
Repository: pytorch
Issue: Shared file-system initialization in pytorch distributed is slow 
Labels: module: performance,oncall: distributed,triaged

Hi, 
it's seems that there is a minor performance issue when initialized pytorch distribution with shared file(https://pytorch.org/docs/stable/distributed.html#shared-file-system-initialization).

i have a simple code look like:

```
dist.init_process_group(backend=backend, timeout=timeout, rank=rank,
                                              init_method=init_method,
                                              world_size=self._world_size)
```

all the parameters can be seen from log:
```
rank(0) 2020-06-11 11:28:51,014 - INFO - distribution_manager_pytorch:28 - __init__ - In create process id=[8799] 
rank(0) 2020-06-11 11:28:51,016 - INFO - distribution_manager_pytorch:74 - init - Init by SHARED_FILE pytorch distributed backend=gloo timeout=0:02:00 rank=0 world_size=4 is_exists_shared_file=False Dist Shared File_Path=file:///mnt/trainings-data/liron/shared_file 
rank(1) 2020-06-11 11:28:51,027 - INFO - distribution_manager_pytorch:28 - __init__ - In create process id=[8807] 
rank(1) 2020-06-11 11:28:51,028 - INFO - distribution_manager_pytorch:74 - init - Init by SHARED_FILE pytorch distributed backend=gloo timeout=0:02:00 rank=1 world_size=4 is_exists_shared_file=False Dist Shared File_Path=file:///mnt/trainings-data/liron/shared_file 
rank(2) 2020-06-11 11:28:51,032 - INFO - distribution_manager_pytorch:28 - __init__ - In create process id=[8819] 
rank(2) 2020-06-11 11:28:51,032 - INFO - distribution_manager_pytorch:74 - init - Init by SHARED_FILE pytorch distributed backend=gloo timeout=0:02:00 rank=2 world_size=4 is_exists_shared_file=False Dist Shared File_Path=file:///mnt/trainings-data/liron/shared_file 
rank(3) 2020-06-11 11:28:51,040 - INFO - distribution_manager_pytorch:28 - __init__ - In create process id=[8832] 
rank(3) 2020-06-11 11:28:51,040 - INFO - distribution_manager_pytorch:74 - init - Init by SHARED_FILE pytorch distributed backend=gloo timeout=0:02:00 rank=3 world_size=4 is_exists_shared_file=False Dist Shared File_Path=file:///mnt/trainings-data/liron/shared_file

rank(0) 2020-06-11 11:30:55,373 - INFO - distribution_manager_pytorch:82 - init - AFTER INIT going to delete shared_file 
rank(1) 2020-06-11 11:30:55,384 - INFO - distribution_manager_pytorch:82 - init - AFTER INIT going to delete shared_file 
rank(2) 2020-06-11 11:30:55,384 - INFO - distribution_manager_pytorch:82 - init - AFTER INIT going to delete shared_file 
rank(3) 2020-06-11 11:30:55,387 - INFO - distribution_manager_pytorch:82 - init - AFTER INIT going to delete shared_file 

```

it's always take 2 min, i will check if it's related to the gloo timeout that is also 2 minutes.

i am running on single GCP compute engine  with EFS attached 

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @VitalyFedyunin @ngimel
Repository: godot
Issue: Automatic warning insertion ignores line continuation.
Labels: bug,topic:gdscript,topic:editor

<!-- Please search existing issues for potential duplicates before filing yours:	
https://github.com/godotengine/godot/issues?q=is%3Aissue	
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
Godot_v3.2.1-stable_win64, Godot_v3.2.2-beta4_win64

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Windows 7 x64 SP1

**Issue description:**
<!-- What happened, and what was expected. -->
Happened:
```
	var \
# warning-ignore:unused_variable
		a
```
Expected:
```
# warning-ignore:unused_variable
	var \
		a
```

**Steps to reproduce:**
Run the minimal project and use automatic warning insertion option.

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
```
func f():
	var \
		a
```
Repository: pytorch
Issue: Parallelize arguments serde for RPC with TorchScript functions. 
Labels: module: performance,oncall: jit,triaged,module: rpc

This issue is motivated by discussion here: https://discuss.pytorch.org/t/sending-a-bulk-data-by-rpc/84938

In that use case, the application needs to use RPC to send bulk data across many processes. The serde can become the bottleneck. Even if we use `TorchScript` functions, RPC serde still holds `GIL` when calling `createStackForSchema`.  I wonder if we can reduce the scope of code that holds GIL to allow some parallelism there?

cc @suo @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @xush6528 @jjlilley @osalpekar @VitalyFedyunin @ngimel