sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: google_maps_flutter InfoWindow snippet of Marker
Labels: p: maps,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill our the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case
`InfoWindow` element inside the Marker of GoogleMaps plugin (google_maps_flutter) should allow user to style the text. Currently it only accepts STRING. I have a requirement where I need to display text which looks like a hyperlink e.g. blue underlined text. Irrespective of my needs, it would the plugin more versatile to accept Text() element instead of just String. In our case we need to provide an option to the user to chose "Direction" from the link which should take them to the next page where they can provide "To\From" location and hit the "Direction" button to get a direction from point A to B
<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal
the "title" and "snippet" elements inside the InfoWindow element of the Marker should be Text() or even better if it's a Widget instead of plain string. This will allow users to either have an image or Text. Ideally would like an option for a hyperlink.
<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching images showing what you are imagining.

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
#google_maps_flutter #Marker #InfoWindow
Repository: pytorch
Issue: Missing header files for prebuilt libtorch
Labels: caffe2

## 🐛 Bug

Caffe headers are missing in both the latest stable release and nightly
https://download.pytorch.org/libtorch/cu100/libtorch-shared-with-deps-latest.zip
https://download.pytorch.org/libtorch/nightly/cu100/libtorch-shared-with-deps-latest.zip

## To Reproduce

Steps to reproduce the behavior:

Go into `/libtorch/include/caffe2/utils/`, open `math.h`

It is including non-existent headers like 

```
#include "caffe2/utils/math/broadcast.h"
#include "caffe2/utils/math/elementwise.h"
#include "caffe2/utils/math/reduce.h"
#include "caffe2/utils/math/transpose.h"
#include "caffe2/utils/math/utils.h"
```
which causes my legacy caffe2 code to fail to compile

## Expected behavior

Please include the proper header files in the zip, my code was working with an old caffe2 build.

## Environment
 - PyTorch Version (e.g., 1.0): 1.1 and latest
 - OS (e.g., Linux): Linux
 - How you installed PyTorch (`conda`, `pip`, source): by downloading pre-built binaries
 - Build command you used (if compiling from source): not applicable
 - Python version: 3.6
 - CUDA/cuDNN version: 10
 - GPU models and configuration: Titan X
Repository: TypeScript
Issue: Empty function suggestion returned in completionInfo result
Labels: Bug

<!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.6.0-dev.20190613

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
- completionInfo
- suggestion
- completions

**Code**
For the TS:

```ts
function() |
```

Place cursor at the `|` and trigger suggestions

**Bug:**
The `completionInfo` request returns a completion item with an empty name:

```
  {
            "name": "",
            "kind": "function",
            "kindModifiers": "",
            "sortText": "0"
        },
```



**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
Repository: go
Issue: x/playground: if Imports is checked, run 'go mod tidy' when the Format button is pressed
Labels: help wanted,NeedsInvestigation,FeatureRequest,modules

[CL 177421](https://golang.org/cl/177421) added formatting for `go.mod` files in the Playground.

However, that isn't really enough to result in a reproducible build: as noted in https://github.com/golang/go/issues/31944#issuecomment-501527897, unresolved dependencies are re-resolved whenever the cache is invalidated, which is difficult to predict.

One simple fix to add stability would be to have the existing `Imports` checkbox trigger a `go mod tidy` after running `goimports`. That would make the versions in use much clearer in the code and more stable over time, without the need for humans to manually resolve and copy over their `go.mod` files.

CC @dmitshur @ysmolsky
Repository: flutter
Issue: Change Column & Row widgets to align specific children with CrossAxisAlignment/MainAxisAlignment
Labels: c: new feature,framework,c: API break,P3,team-framework,triaged-framework

## Use case

Generally, I find myself using Column and Row a lot, and jumping through a lot of hoops that don't really help the cohesion of my app (hard coding padding that could break with different screen sizes) to align Widgets within Column/Row's children parameter differently than is specified in crossAxisAlignment/mainAxisAlignment.

## Proposal

In short I'd like to change Column/Row to specify MainAxisAlignment/CrossAxisAlignment for individual children, rather than every single child. (While keeping the option to align every single child the same).

I'm not sure what the best way of going about this would be. Ideas are welcome.
Repository: flutter
Issue: [google_maps_flutter] animateCamera doesn't work correctly inside onMapCreated on iOS
Labels: platform-ios,p: maps,package,has reproducible steps,P2,found in release: 1.22,found in release: 2.0,found in release: 2.2,team-ios,triaged-ios

The animateCamera doesn't work on iOS simulator at first but it works if we trigger something like rotating or pinch zoom etc on simulator. the moveCamera function works correctly.
Repository: flutter
Issue: There does not appear to be a way to use an IDE to run an Android app that includes Flutter and uses a local engine.
Labels: c: new feature,team,platform-android,tool,P3,team-android,triaged-android

There does not appear to be a way to use an IDE to run an Android app that includes Flutter and uses a local engine.
Repository: rust
Issue: `use Trait::{};` acts as `use Trait;`
Labels: A-resolve,P-medium,T-compiler,regression-from-stable-to-stable,C-bug

```rust
mod m {
    pub trait Tr {
        fn method(&self) {}
    }
    
    impl<T> Tr for T {}
}

use m::Tr::{};

fn main() {
    // Expected behavior: error, `Tr` is not in scope.
    // Actual behavior: not an error.
    0u8.method();
}
```

The regression was introduced in https://github.com/rust-lang/rust/commit/c57f0a7201860eb87ad8df1f3e63ea1ed03dcb40 (Rust 1.31).
Repository: pytorch
Issue: typo and missing return statements
Labels: module: build,triaged,module: third_party

## 🐛 Bug

1. On the current master (556af7c19), building causes a lot of unnecessary spam from `ThrowInTheTowelIfGradientIsCalled` and `GradientNotImplementedYet`.
2. A lambda in the ideep third party module is missing a trailing `;`. This appears to be corrected in the upstream version of ideep.
3. A return statement is missing in `Eigen/src/Core/arch/GPU/PacketMathHalf.h` in the eigen third party module.

The attached patches clean these up.

[pytorch_main.txt](https://github.com/pytorch/pytorch/files/3290023/pytorch_main.txt)
[pytorch_third_party_eigen.txt](https://github.com/pytorch/pytorch/files/3290024/pytorch_third_party_eigen.txt)
[pytorch_third_party_ideep.txt](https://github.com/pytorch/pytorch/files/3290025/pytorch_third_party_ideep.txt)

Notes: Building from source on Debian (mostly unstable, some experimental) with a fresh clone; building directly in `pytorch/build` with `ccmake ..` (to specify CUDA_HOST_COMPILER and some other variables) and `make -j8` prior to installing with `python3 setup.py install`.
Repository: godot
Issue: [Mono] Signals do not work with params keyword
Labels: enhancement,topic:dotnet

**Godot version:**
3.1.1


**OS/device including version:**
Windows 10


**Issue description:**
Signals do not work with params keyword


**Steps to reproduce:**
```
this.Connect("text_changed", this, "Log");
...
public void Log(params string[] value) { }
```
`Log()` is called with an empty array (default when no parameters are added)

**Minimal reproduction project:**
[Signal.zip](https://github.com/godotengine/godot/files/3292765/Signal.zip)
Repository: vue-element-admin
Issue: 控制台一直报错
Labels: need repro :mag_right:


## Bug report（问题描述）

点击左侧sidebar空白地方的时候会报错

#### Steps to reproduce（问题复现步骤）
进入系统首页 点击sidebar不是菜单的地方，会报错


#### Screenshot or Gif（截图或动态图）
![image](https://user-images.githubusercontent.com/15700134/59504035-88bfe880-8ed4-11e9-96c8-1cc3548d743e.png)




#### Other relevant information（格外信息）
- Your OS: mac
- Node.js version:
- vue-element-admin version:4.2.1
Repository: go
Issue: os: don't waste extra threads for opening files
Labels: NeedsInvestigation

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.12.6 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
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/aklimov/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/aklimov/Git/golang"
GOPROXY=""
GORACE=""
GOROOT="/Users/aklimov/Git/brew/Cellar/go/1.12.6/libexec"
GOTMPDIR=""
GOTOOLDIR="/Users/aklimov/Git/brew/Cellar/go/1.12.6/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/3h/0nn80rp973b08bd0r56g5pd80000gn/T/go-build873614728=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

1. I've built the program shown below,
2. ran `mkfifo pipe` and
3. ran `GOMAXPROCS=1 lldb theprogramshownbelow`.

```go
package main

import (
	"fmt"
	"os"
	"runtime"
	"time"
)

func main() {
	for i := runtime.NumCPU() * 2; i > 0; i-- {
		go openPipe()
	}

	for {
		time.Sleep(time.Second)
	}
}

func openPipe() {
	p, errOpen := os.Open("./pipe")
	fmt.Printf("os.Open(\"./pipe\"): %#v\n", errOpen)
	p.Close()

	for {
		time.Sleep(time.Second)
	}
}
```

### What did you expect to see?

Not much more threads than one.

### What did you see instead?

11 threads including a lot of hanging in the `open(2)` syscall.
Repository: kubernetes
Issue: Add serialization fixtures for kube-aggregator (APIService type)
Labels: priority/important-soon,sig/api-machinery,kind/feature,lifecycle/frozen

Follow up from #78309

Add compatibility testing for the kube-aggregator API (APIService type)

Some special-case fuzzing will be required for the rawextension fields

/sig api-machinery
/priority important-soon
/assign
Repository: kubernetes
Issue: Add serialization fixtures for meta APIs (PartialObjectMetadata, Table types)
Labels: priority/important-soon,sig/api-machinery,kind/feature,lifecycle/frozen

Follow up from #78309

Add compatibility testing for the meta APIs (PartialObjectMetadata, Table types)

Some special-case fuzzing will be required for the rawextension fields

/sig api-machinery
/priority important-soon
/assign
Repository: pytorch
Issue: Use of word "elements" in `torch.utils.data` samplers
Labels: module: docs,triaged

## 📚 Documentation

In `torch.utils.data` Samplers' [documentation](https://pytorch.org/docs/stable/data.html) I find the use of word "element" confusing.
For example, the description of `torch.utils.data.SequentialSampler` says:
> Samples elements sequentially, always in the same order.

`torch.utils.data.SequentialSampler` doesn't return elements of an object, but indices of those elements. This also applies to other samplers and is not clear from documentation.

The unfortunate example of `torch.utils.data.BatchSampler` only magnifies this confusion.
`list(BatchSampler(SequentialSampler(range(10)), batch_size=3, drop_last=False))`
`[[0, 1, 2], [3, 4, 5], [6, 7, 8], [9]]`
`list(BatchSampler(SequentialSampler(range(10)), batch_size=3, drop_last=True))`
`[[0, 1, 2], [3, 4, 5], [6, 7, 8]]`
Repository: pytorch
Issue: cumsum cuda numerical instability
Labels: module: numerical-stability,module: cuda,triaged

## 🐛 Bug

Calling cumsum on a CUDA vector of nonnegative values can result in a vector with local maxima.

For CPU vectors, cumsum works as expected.

## To Reproduce

The example vector I found has 500 elements, so pastebin:
https://pastebin.com/4npHpd95

## Expected behavior

Calling cumsum on a vector of nonnegative values should result in a vector of ascending values.

## Environment

 - PyTorch Version (e.g., 1.0): 1.1
 - OS (e.g., Linux): Ubuntu 16.04
 - How you installed PyTorch (`conda`, `pip`, source): pip3
 - Python version: 3.5.2
 - CUDA/cuDNN version: 9.0.176/7501
 - GPU models and configuration: 2 x GTX 1080 Ti
Repository: rust
Issue: rustc fails when including some C++ libs because of wasm32 linker fatal warnings
Labels: A-linkage,A-LLVM,T-compiler,O-wasm,C-bug

rustc is now passing the argument `--fatal-warnings` to lld on wasm32 (wasm-ld). This appears to have been added in https://github.com/rust-lang/rust/pull/54258

While I agree with the sentiment in the comment "Rust code should never have warnings, and warnings are often indicative of bugs, let's prevent them", unfortunately the same cannot apparently be said of C++ code. 

I am currently getting bitten by "harmless" warnings due to a bug in LLVM: https://bugs.llvm.org/show_bug.cgi?id=40412

Unfortunately, because rustc is passing `--fatal-warnings` to wasm-ld, these warnings are not harmless to me but rather prevent me from linking the C++ library into my rust project. 

I looked for an override such as `--no-fatal-warnings` but there does not appear to be one. Could we perhaps add an option to rustc such that the `--fatal-warnings` option can be suppressed (maybe via RUSTFLAGS) in cases where for whatever reason we run into otherwise harmless LLVM warnings?
Repository: rust
Issue: Recycle storage after move
Labels: I-slow,C-enhancement,T-lang,T-compiler,I-heavy,C-optimization

We should experiment with "re-allocating" storage for a local after it's moved from if it gets re-initialized. This would enable more optimizations, but could have some potential fallout.

EDIT: See [this comment](https://github.com/rust-lang/rust/issues/61849#issuecomment-507897665) for further explanation of what kinds of optimizations this would enable.

Quoth @RalfJung, from https://github.com/rust-lang/rust/issues/59123#issuecomment-501990026:

> Currently, the following (entirely safe) code will definitely return `true`:
> 
> ```rust
> let mut x = String::new();
> let addr_x = &x as *const _ as usize;
> drop(x);
> // later
> x = String::new();
> let addr_x2 = &x as *const _ as usize;
> return addr_x == addr_x2;
> ```
> 
> If we want to do optimizations like yours here (and I am totally sympathetic to that), we have to explain in the "Rust Abstract Machine" (and in Miri) why this program might return `false`. And the answer cannot be "there is UB", because this is safe code.
> 
> This is a topic that @nikomatsakis, @eddyb and me have touched on several times already, without ever hashing out a full plan. But in the current state of affairs, the only mechanism we have to "defeat" pointer equality tests like the above is to make sure that this is not the same allocation any more.
> 
> So, one thing we might do is to do `StorageDead(x); StorageLive(x);` immediately after every move. This "re-allocates" `x` and thus definitely kills any existing pointers and also "defeats" pointer comparisons. The immediate `StorageLive` is to keep the liveness state in sync in both branches of a conditional (which might or might not be relevant -- unfortunately LLVM's semantics for these intrinsics is less than clear). I guess the `StorageLive` could be moved down in cases where there is no merging control flow, which should give you your optimization in many cases.

It is possible to do a subset of the optimization discussed in #59123 without this, but this would help cover more cases, in this optimization and others.

cc @cramertj @eddyb @nikomatsakis @RalfJung
Repository: go
Issue: cmd/go: 'go mod edit' can add requirements that it can't remove
Labels: NeedsFix,modules

`go mod edit -require` can be used to add versions that don't match the major version of the corresponding module.

Unfortunately, the major-version validation happens early during parsing, so `go mod edit -droprequire` cannot subsequently drop those requirements.

```
example.com$ gotip mod init example.com
go: creating new go.mod: module example.com

example.com$ gotip version
go version devel +9838f4df Fri Jun 14 18:41:07 2019 +0000 linux/amd64

example.com$ gotip mod edit -require golang.org/x/text@v2.0.0

example.com$ gotip mod edit -droprequire golang.org/x/text
go: errors parsing go.mod:
/tmp/tmp.5UPKq2KvZc/example.com/go.mod:5: invalid module: golang.org/x/text should be v0 or v1, not v2 (v2.0.0)

example.com$ cat go.mod
module example.com

go 1.13

require golang.org/x/text v2.0.0

example.com$
```

CC @jayconrod 

See also #30513, #26454.
Repository: flutter
Issue: Explore sharing the same plugin instance between FlutterEngines
Labels: c: new feature,engine,dependency: dart,a: existing-apps,c: proposal,P3,a: plugins,team-engine,triaged-engine

Somewhat related to #33288. I think @dnfield talked about possible ways of having all 'UI' isolate instances also share the same plugin isolate so they can share the same instance.
Repository: flutter
Issue: in_app_purchase example update
Labels: d: examples,p: in_app_purchase,package,team-ecosystem,P2,triaged-ecosystem

Example app needs to... 
1. Show how to implement required app store restore button and apply result.
2. How to parse validation data to check if subscription is still valid in dart.

These two things are all that is preventing me from submitting my flutter app to the apple store.  Tough to get the mindset when information in the read me and the example app seem to disagree on variables and some read me items aren't part of the example.  I've done storekit in ios successfully using SwiftyStorekit when I was IOS only, but this example and read me have left me more confused then when I started.
Repository: deno
Issue: console.log not show private members of javascript
Labels: cli,suggestion


test.ts
```typescript

class Foo
{
	private foo= 8;
}

console.log( new Foo, );

// expect:   Foo { foo: 8 }
// actually: Foo { foo: 8 }
```

test.js
```javascript

class Foo
{
	#foo= 8;
}

console.log( new Foo, );

// expect:   Foo { #foo: 8 }
// actually: Foo {}
```
Repository: pytorch
Issue: C++ ABI - Coupling different libraries issue
Labels: module: build,triaged

## ❓ Questions and Help

Hello,

I am trying to couple PyTorch and OpenFOAM, an opensource CFD code. I am using C++ api of pytorch.

When I try to compile two libraries together, I have to set abi flag (-D_GLIBCXX_USE_CXX11_ABI). If I set it to 1, I have the following compilation error.

 undefined reference to `c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'

I cannot set it to 0 (zero) either, as I cannot compile OpenFOAM libraries with that flag. 

Could you please tell me a way by which I can compile the code with both the flags (1 and 0)?
Repository: TypeScript
Issue: PropertyDecorator factory with generic type is not so intelligent
Labels: Needs Investigation

<!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:**  3.5.1

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**

**Code**

```ts
export const Reactive = <T, K extends keyof T>(
  setter?: (this: T, value?: T[K]) => boolean | void,
) => (target: T, propertyKey: K) => {
  // do something
};

class Test {
  @Reactive(function(name) {
    // error
  })
  name: string
}
```

**Expected behavior:**
Automatically detect `this` should be type of `Test`, and `name` should be type of `string`

**Actual behavior:**
Argument of type '"name"' is not assignable to parameter of type 'never'.

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
[Playground Link](https://www.typescriptlang.org/play/index.html#src=export%20const%20Reactive%20%3D%20%3CT%2C%20K%20extends%20keyof%20T%3E(%0D%0A%20%20setter%3F%3A%20(this%3A%20T%2C%20value%3F%3A%20T%5BK%5D)%20%3D%3E%20boolean%20%7C%20void%2C%0D%0A)%20%3D%3E%20(target%3A%20T%2C%20propertyKey%3A%20K)%20%3D%3E%20%7B%0D%0A%20%20%2F%2F%20do%20something%0D%0A%7D%3B%0D%0A%0D%0A%0D%0Aclass%20Test%20%7B%0D%0A%20%20%40Reactive(function%20(name)%20%7B%0D%0A%20%20%20%20console.log(this%2C%20name)%0D%0A%20%20%7D)%0D%0A%20%20name%3A%20string%3B%0D%0A%7D%0D%0A)

**Related Issues:** <!-- Did you find other bugs that looked similar? -->