sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: TextSpans within Text widgets render badly in debug output
Labels: framework,a: typography,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-framework,triaged-framework

The textSpan is displayed as a property within a tree style that displays all properties as a single line. Given the parent tree structure, the property needs to render as a single line instead of using the multi-line style. There is some functionality to force styles on a property based on the parent's style but it isn't triggering for this case.
Full log.
http://ix.io/1U1J
Problem case:
```
I/flutter (29873):                                                                             │                                  └Text(null,
I/flutter (29873):                                                                             │                                   │╞═╦══ textSpan ═══
I/flutter (29873):                                                                             │                                   │  ║ TextSpan:
I/flutter (29873):                                                                             │                                   │  ║   ""
I/flutter (29873):                                                                             │                                   │, inherit: true, family: IBMPlexMono, dependencies: [MediaQuery, DefaultTextStyle])
I/flutter (29873):                                                                             │                                   └RichText(softWrap: wrapping at box width, maxLines: unlimited, text: "", dependencies: [_LocalizationsScope-[GlobalKey#de547], Directionality], renderObject: RenderParagraph#48cf1 relayoutBoundary=up6)
```
Repository: flutter
Issue: Selection of any justified-text is inaccurate in non-latin languages
Labels: a: text input,framework,f: material design,a: internationalization,a: typography,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework

I hope I can clarify this issue because it is a little weird. It took me a while to figure out when exactly does it occur.

Here is a very primitive application:

```dart
// main.dart
import 'package:flutter/material.dart';
void main() => runApp(MaterialApp(
  home: Scaffold(
    appBar: AppBar(),
    body: Padding(
      padding: const EdgeInsets.all(18.0),
      child: TextField(
        textAlign: TextAlign.justify,
        maxLines: null,
      ),
    ),
  ),
));
```

Now, type any latin charachter text. Try to select any single or multiple words, you will find that the selection blue highlight matches accurately the boundaries of the word(s). See this screen shot:

![image](https://user-images.githubusercontent.com/3346502/64191394-5a3e2200-ceb3-11e9-82a9-6f48d6333256.png)

_____________________

Then, put some Korean text. You will find that some words are poorly highlighted:

![image](https://user-images.githubusercontent.com/3346502/64191512-9bcecd00-ceb3-11e9-85ea-4002d85f54da.png)

> 한국어(韓國語)는 대한민국과 조선민주주의인민공화국의 공용어로, 대한민국에서는 한국어 또는 한국말이라고 부르고, 조선민주주의인민공화국에서는 조선말이라고 부른다.

_____________________

Also in Arabic texts (it does not matter here that the `textDirection` is not RTL. Both RTL and LTR have the same issue):

![image](https://user-images.githubusercontent.com/3346502/64191648-e18b9580-ceb3-11e9-8e5c-6fe5a3bb1dba.png)

> العربية لغة رسمية في كل دول الوطن العربي إضافة إلى كونها لغة رسمية في تشاد وإريتريا وإسرائيل. وهي إحدى اللغات الرسمية الست في منظمة الأمم المتحدة، ويُحتفل باليوم العالمي للغة العربية في 18 ديسمبر كذكرى اعتماد العربية بين لغات العمل في الأمم المتحدة.

_____________________

Same in Hebrew:

![image](https://user-images.githubusercontent.com/3346502/64191829-5068ee80-ceb4-11e9-84f2-780841b134b3.png)

> עִבְרִית היא שפה שמית, ממשפחת השפות האפרו-אסיאתיות, הידועה כשפתם של היהודים ושל השומרונים, אשר ניב מודרני שלה (עברית ישראלית) הוא שפתה הרשמית של מדינת ישראל, מעמד שעוגן בשנת 2018 בחוק יסוד: ישראל – מדינת הלאום של העם היהודי.

_____________________

Just copy these texts and paste them in the input field, then try to select one word. In all cases above I just long tapped on one word and the highlight missed the word boundry as shown.

It does have to be a text field or input though. Any justified selectable text would reproduce the same behavior. I tried in both stable and master channels.

Here is my `flutter doctor` output:

```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.9.8-pre.54, on Linux, locale en_US.UTF-8)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.37.1)
[✓] Connected device (1 available)

• No issues found!
```
Repository: flutter
Issue: doctor -v should display the previous version after a flutter upgrade
Labels: c: new feature,team,tool,t: flutter doctor,P3,team-tool,triaged-tool

This will help bisect issues reported with `flutter doctor -v` output.
Repository: kubernetes
Issue: Large CRDs go over size limits (e.g. those with embedded podspecs)
Labels: sig/api-machinery,kind/feature,priority/important-longterm,area/custom-resources,lifecycle/frozen

Over in KubeBuilder land, we've started to see issues around very large validation blocks going over size limits.  Thus far, it's mainly just been the client-size-apply-induced annotation limit, but I worry that when we start getting multiple versions we might go over the 1M limit.  For instance, see https://github.com/kubernetes-sigs/kubebuilder/issues/962, which has  single-version 700k CRD, due to the large validation schema.

So far, we've mostly been able to solve the issues by partially or fully truncating the field descriptions, but this seems suboptimal, since you're basically saying "you don't get API docs now".

From what I've seen so far, the issues are usually hit with things like PodSpec (e.g. we hit the client-side-apply annotation limit with our conversion of CronJob in our tutorial when we introduced a new version).

Worst comes to worst, we can add more pruning in controller-tools/kubebuilder, but I was wondering if some folks had better ideas or more discussion upstream.

Refs (https://github.com/kubernetes/kubernetes/issues/62872) could help alleviate this a bit in the case of multiple podspecs, but don't solve the problem entirely (unless we get cross-object refs, which have previously been rejected).

Increasing the object size avoids the issue we *haven't* hit yet, but won't solve the client-side-apply annotation limit issue.  Practically even though SSA will get here eventually, folks are going to be using pre-SSA kubectls for a while, I expect.

**TL;DR:** Pod spec validation makes CRDs large, any suggestions?

/sig api-machinery
Repository: flutter
Issue: flutter/packages should enforce an expected clang-format version
Labels: team,p: tooling,package,team-ecosystem,P3,triaged-ecosystem

Right now our formatting tools use whatever version of `clang-format` is in the user's path, but CI always uses `clang-format-7`. Apparently this has also changed over time, since looking at the related issue #12864 there's some mention of CI using `clang-format-5`. Formatting differences from `clang-format` version mismatches are hard to diagnose and can even be introduced just from running the formatting tool without any arguments. Ideally `pub global run flutter_plugin_tools format` should know what `clang-format` version CI is expecting and either download it itself (ideal) or throw if it can't find it.
Repository: kubernetes
Issue: Authentication audit logging - denote the authentication mechanism used.
Labels: kind/feature,sig/auth,help wanted,priority/important-longterm,area/audit,lifecycle/frozen

**What would you like to be added**:

Logging for the authentication mechanism used by a user for requests to the API server.

**Why is this needed**:

At the moment Kubernetes does not put the mechanism used to authenticate a user into it's audit logs.  As Kubernetes supports multiple authentication mechanisms, this could lead to a circumstance where an identical username is defined under different authentication schemes and it would be impossible to identify which had been used for a given request.

This is particularly serious in the case of client certificate authentication. As all that is required for the creation of client certificate credentials is access to the `ca.key` file for the cluster and credentials can be created using `openssl` commands, there may be no audit trail of users created with this mechanism.  

An attacker who gained read-only access to that file would be able to create new credentials with the same usernames as users authenticated via other mechanisms, removing the ability of cluster operators to accurately audit user actions.
Repository: three.js
Issue: Scene: background, fog and shadow.
Labels: Design

This cycle I was hoping to do some API design clean up in the `Scene` object.

This is the current thinking:

### Background 

Taking #16900 and #17199 into account...

```js
scene.background = new THREE.ColorBackground( color );
scene.background = new THREE.TextureBackground( texture, { fit: 'contain' } );
scene.background = new THREE.CubeTextureBackground( texture, { blurriness: 0.5, rotation: 90 * THREE.Math.DEG2RAD } );
```

Note: When using `THREE.CubeTextureBackground`, all meshes in the scene will use it as `material.envMap` by default so it'll be easier for users to get good looking results.

### Fog

Taking #17355 into account...

```js
scene.fog = new THREE.RangeFog( color, near, far );
scene.fog = new THREE.ExponentialFog( color, density );
scene.fog = new THREE.ExponentialSquaredFog( color, density );
```

### Shadow

I thought that we could also move `WebGLRenderer.shadowMap` to `Scene` as `Scene.shadow` so it can be serialised (and will allow us to do some API redesign too).

```js
scene.shadow = new THREE.PCFShadow();
scene.shadow = new THREE.VSMShadow();
scene.shadow = new THREE.PCSSShadow();
```

Suggestions? Improvements?

/cc @WestLangley @Mugen87 @bhouston @sunag @DanielSturk @supereggbert @EliasHasle
Repository: pytorch
Issue: Avoid non-POD data in thread_local
Labels: module: performance,triaged,module: multithreading,better-engineering

I have heard that @jamesr66a ran benchmarks indicating that thread local access in PyTorch was quite slow. While most of the overhead is probably coming from the mandatory use of `_tls_getaddr()` which happens when you compile with `-fPIC`, a little bit of overhead is probably also coming from the extra wrapper code that has to be inserted if you put a non-POD data type in `thread_local`: https://godbolt.org/z/gm_tjb

Many of our classes are non-POD for not very good reasons (e.g., most wrappers on integer representations are non-POD, simply due to the fact that they define some constructors). When these classes are put in `thread_local`, you get the bad wrapper code, even if the zero-initialized POD representation would have been good enough. So, instead of:

```
thread_local TensorTypeSet x;
TensorTypeSet tls_get_x() {
  return x;
}
```

write instead:

```
static thread_local uint64_t x;
TensorTypeSet tls_get_x() {
  return TensorTypeSet(x);
}
```

and you will get marginally better code in this case (it's also better to make sure the variable is static or in an anonymous namespace). Probably doesn't matter for most TLS variables, but we have a few which are very heavily trafficked...
Repository: TypeScript
Issue: Add ElementInternals, attachInternals from HTML standard
Labels: Bug,Domain: lib.d.ts

**TypeScript Version:**  3.5.2

**Search Terms:** ElementInternals, attachInternals

**Code**

```ts
let internals: ElementInternals;
```

**Expected behavior:**
No errors. The [`ElementInternals`](https://html.spec.whatwg.org/multipage/custom-elements.html#the-elementinternals-interface) interface and the related `attachInternals` method on `HTMLElement` are recent additions to the DOM spec. They are supported in Chrome 78 (scheduled for public release at the end of October 2019) and Edge canary builds.

**Actual behavior:**
Error `Cannot find name 'ElementInternals'.`

**Playground Link:** https://www.typescriptlang.org/play/#code/DYUwLgBAlgdmICcYENgGcBcECioC2IcAknIiugNwBQQA
Repository: go
Issue: cmd/go: allow serving module under the subdirectory of git repository
Labels: Proposal,Proposal-Accepted,FeatureRequest,GoCommand,modules,FixPending

**NOTE**: The accepted proposal is https://github.com/golang/go/issues/34055#issuecomment-785279844.

-  - -
If you head to [https://github.com/nhooyr/websocket](https://github.com/nhooyr/websocket/tree/93d751f3b3fdfa806f4ae3f49fa1bf4e31cee04c) presently, you'll get blasted with a massive root directory listing, mostly due to all the Go files. It's obnoxious.

Compare that to https://github.com/nhooyr/websocket/tree/067b40e227d0d6af9e399c1efe0dd80efae1b79f where the Go module has been moved to the subdirectory `./mod` inside the repository.
See https://github.com/nhooyr/websocket/pull/136

So I want to move the Go module to the subdirectory `./mod` inside the repository and serve that subdirectory for the `nhooyr.io/websocket` import path but it doesn't look like there is an easy way to do that.

The go-import meta tag only allows me to specify the import path of the repository, which in this case would make it `nhooyr.io/websocket/mod` which is nasty. I want to serve the subdirectory directly under `nhooyr.io/websocket`. Looks like I can do this with the new mod vcs to the go-import tag but then I have to run my own module server which I want to ideally avoid.

Is this something that would be considered or is already possible?
Repository: pytorch
Issue: [C++] Support negative index in `torch::TensorAccessor::size()`
Labels: module: cpp,triaged

## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->

Add support for negative indices in `torch::TensorAccessorBase::size()` and `torch::PackedTensorAccessorBase::size()`

## Motivation

<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->

Negative indices are widely used in LibTorch. For example, `torch::Tensor::size()` has proper support for index like `-1`. It would be great if `torch::TensorAccessor::size()` and `torch::PackedTensorAccessor::size()` could have such supports as well.

## Pitch

<!-- A clear and concise description of what you want to happen. -->

Add support for negative indices in `torch::TensorAccessor::size()` and `torch::PackedTensorAccessor::size()`

## Alternatives

<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->

## Additional context

<!-- Add any other context or screenshots about the feature request here. -->


cc @yf225
Repository: fastapi
Issue: document response in depends
Labels: feature,confirmed,reviewed

**Is your feature request related to a problem? Please describe.**
No not related to a problem.

I'm using ` fastapi.security.api_key.APIKeyCookie` as a depends and it may raise `HTTPException(403, detail="Not authenticated")` for any router it is used. So i have to document a 403 responses in all related router.


**Describe the solution you'd like**

Could there by a way when I'm using a class as Depends, document responses once as a class member or some thing else instead of document it many times in routers as fastAPI could find all depends of a router.
Repository: pytorch
Issue: [distributed] all_gather on a List of Tensors directly
Labels: oncall: distributed,module: bootcamp,triaged,enhancement

## 🚀 Feature
Now, latest pytorch version only gather or reduce the single tensor from different nodes a time. So we need use a loop to aggregate all tensors of the model on different nodes. if my understanding is not wrong, it needs much communication time and is very time-consuming, so I want to know whether there are ways to gather the tensor list (or gather all the tensors of a model) a time, not gather a tensor a time. 

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528
Repository: go
Issue: net/http: error message in case of bad certificate leaks implementation details in Go 1.13
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.13 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/cuonglm/Library/Caches/go-build"
GOENV="/Users/cuonglm/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/cuonglm/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/cuonglm/sdk/go1.13"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/cuonglm/sdk/go1.13/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/y4/hs76ltbn7sb66lw_6934kq4m0000gn/T/go-build839999394=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

```
$ export GO111MODULE=off
$ go1.13 get -d github.com/loadimpact/k6
$ cd $GOPATH/src/github.com/loadimpact/k6/js
$ go1.13 test -count=1 -race -run=TestVUIntegrationClientCerts/Unauthenticated
--- FAIL: TestVUIntegrationClientCerts (5.16s)
    --- FAIL: TestVUIntegrationClientCerts/Unauthenticated (0.56s)
        --- FAIL: TestVUIntegrationClientCerts/Unauthenticated/Source (0.11s)
        Error Trace:    runner_test.go:1168
        Error:      	Error message not equal:
                    	expected: "GoError: Get https://127.0.0.1:51407: remote error: tls: bad certificate"
                    	actual  : "GoError: Get https://127.0.0.1:51407: readLoopPeekFailLocked: remote error: tls: bad certificate"
        Test:       	TestVUIntegrationClientCerts/Unauthenticated/Source
        --- FAIL: TestVUIntegrationClientCerts/Unauthenticated/Archive (0.11s)
        Error Trace:    runner_test.go:1168
        Error:      	Error message not equal:
                    	expected: "GoError: Get https://127.0.0.1:51407: remote error: tls: bad certificate"
                    	actual  : "GoError: Get https://127.0.0.1:51407: readLoopPeekFailLocked: remote error: tls: bad certificate"
        Test:       	TestVUIntegrationClientCerts/Unauthenticated/Archive
FAIL
exit status 1
FAIL	github.com/loadimpact/k6/js	5.344s
```


### What did you expect to see?

Test passed.

### What did you see instead?

Test failed.

**Note**

- The test will pass with go1.11 to go1.12.9 or go1.13 without `-race`.
- The problem also occurs in `linux/amd64`.
Repository: go
Issue: cmd/go: emit an explicit error when packages in GOPATH/src/vendor overlap with GOROOT/src/vendor
Labels: NeedsFix,modules

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.13 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?
only in go1.13 happened, back to go1.12.9 can fix this

### 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"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH=""
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=""
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/b1/bhf9j3q96m75223l3hh41ccw0000gn/T/go-build173249759=/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.
-->
go install -v ./...


### What did you expect to see?

no errrors

### What did you see instead?

src/vendor/golang.org/x/net/http2/frame.go:17:2: use of vendored package not allowed
src/vendor/google.golang.org/grpc/internal/transport/controlbuf.go:28:2: use of vendored package not allowed
src/vendor/golang.org/x/net/http2/transport.go:35:2: use of vendored package not allowed
Repository: flutter
Issue: [google_maps_flutter] Change camera animation speed (and curve?)
Labels: c: new feature,customer: crowd,p: maps,package,team-ecosystem,P3,triaged-ecosystem

Hey there,

Awesome work on the plugin, loving it! I was wondering if there is currently a way to change the animation speed of the `.animateCamera` method and if not, is it planned for a future release?

Cheers
Repository: godot
Issue: Children of ARVRCamera aren't at the expected position
Labels: documentation,topic:xr

<!-- 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 non-official. -->
3.1.1


**OS/device including version:**
<!-- Specify GPU model and drivers if graphics-related. -->
Windows 10, Oculus Rift (with OpenVR plugin)


**Issue description:**
<!-- What happened, and what was expected. -->
I'd like to have a mesh which is always directly in front of the ARVRCamera. However, when moving the VR headset, this does not work as expected: The mesh is not in front of the camera, but at or close to the coordinate origin. Rotation does seem to be applied to the mesh in some way.

Trying the same with a normal Camera or an uninitialized ARVRCamera (no VR headset) yields the expected results (the mesh stays in the same position relative to the camera).


I wasn't sure whether to open this issue here or at https://github.com/GodotVR/godot_openvr. If this is the wrong place, please let me know and I'll open it there.
Repository: neovim
Issue: "nvim -u NONE --headless" does not log "Nvim exit" on SIGINT
Labels: bug,system,logging

Running `nvim -u NONE --headless` and using `Ctrl-C` there then only logs:

```
INFO  2019-09-04T12:20:56.499 7898  main:564: starting main loop
```

It could handle SIGINT in this case (no UI attached), and call `ex_cquit` then maybe?
OTOH it might be feasible to explicitly not call the normal exit routines (possibly involving autocommands) - but logging this somehow should still be done.