id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
361,300,225
go
proposal: reflect/v2: remove Value.Bytes
**Background** As noted in https://github.com/golang/go/issues/24746#issuecomment-383720056, `(reflect.Value).Bytes` is the only `reflect.Value` methods that return mutable values without enforcing `CanSet` or `CanInterface`. That makes dangerous mutations through `[]byte` (and slices of defined types with `byte`...
v2,Proposal
low
Critical
361,314,446
flutter
Flutter's AppLifecycleState does not match Android/iOS's Activity/UIViewController lifecycle states
Internal: b/146299589 Hi, We want to get notified when UIViewController/Activity's lifecycle method invoked, such as `viewWillAppear`, `viewDidAppear` in iOS, or `onPause()`, `onResume()` in Android, so that we are able to add some features there. For example, we have to record user track data at flutter side just a...
c: new feature,platform-android,platform-ios,framework,engine,customer: alibaba,customer: money (g3),P3,team-engine,triaged-engine
low
Major
361,322,325
go
x/mobile: minimal support of obj C generics
Please answer these questions before submitting your issue. Thanks! ### What version of Go are you using (`go version`)? go version go1.9.2 darwin/amd64 ### Does this issue reproduce with the latest release? yes ### What operating system and processor architecture are you using (`go env`)? GOARCH="amd64" ...
mobile
low
Critical
361,336,351
opencv
Redesign of the ElemType register for OpenCV v4
The current magic register is designed as: ``` FEDCBA987654321 --------------- ddd depth nnnnnnnnn channels - 1 r reserved (unset) c continuous flag s submatrix flag ``` However, it is slightly space inefficient, so allow me to redesign it as: ...
category: core,RFC
low
Critical
361,363,161
go
runtime: mark assist blocks GC microbenchmark for 7ms
Please answer these questions before submitting your issue. Thanks! ### What version of Go are you using (`go version`)? 1.11 ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? OSX (also observed on Linux), both AMD64. ...
Performance,GarbageCollector,NeedsInvestigation,compiler/runtime
medium
Major
361,401,006
go
encoding/json: incorrect usage of sync.Pool
ERROR: type should be string, got "https://golang.org/cl/84897 introduces a denial-of-service attack on `json.Marshal` via a live-lock situation with `sync.Pool`.\r\n\r\nConsider [this snippet](https://play.golang.org/p/htet7ILi9oJ):\r\n```go\r\ntype CustomMarshaler int\r\n\r\nfunc (c CustomMarshaler) MarshalJSON() ([]byte, error) {\r\n\ttime.Sleep(500 * time.Millisecond) // simulate processing time\r\n\tb := make([]byte, int(c))\r\n\tb[0] = '\"'\r\n\tfor i := 1; i < len(b)-1; i++ {\r\n\t\tb[i] = 'a'\r\n\t}\r\n\tb[len(b)-1] = '\"'\r\n\treturn b, nil\r\n}\r\n\r\nfunc main() {\r\n\tprocessRequest := func(size int) {\r\n\t\tjson.Marshal(CustomMarshaler(size))\r\n\t\ttime.Sleep(1 * time.Millisecond) // simulate idle time\r\n\t}\r\n\r\n\t// Simulate a steady stream of infrequent large requests.\r\n\tgo func() {\r\n\t\tfor {\r\n\t\t\tprocessRequest(1 << 28) // 256MiB\r\n\t\t}\r\n\t}()\r\n\r\n\t// Simulate a storm of small requests.\r\n\tfor i := 0; i < 1000; i++ {\r\n\t\tgo func() {\r\n\t\t\tfor {\r\n\t\t\t\tprocessRequest(1 << 10) // 1KiB\r\n\t\t\t}\r\n\t\t}()\r\n\t}\r\n\r\n\t// Continually run a GC and track the allocated bytes.\r\n\tvar stats runtime.MemStats\r\n\tfor i := 0; ; i++ {\r\n\t\truntime.ReadMemStats(&stats)\r\n\t\tfmt.Printf(\"Cycle %d: %dB\\n\", i, stats.Alloc)\r\n\t\ttime.Sleep(time.Second)\r\n\t\truntime.GC()\r\n\t}\r\n}\r\n```\r\n\r\nThis is a variation of https://github.com/golang/go/issues/23199#issuecomment-353193866 of a situation suggested by @bcmills.\r\n\r\nEssentially, we have a 1-to-1000 ratio of a routines that either use 1KiB or 256MiB, respectively. The occasional insertion of a 256MiB buffer into the `sync.Pool` gets continually held by the 1KiB routines. On my machine, after 300 GC cycles, the above program occupies 6GiB of my heap, when I expect it to be 256MiB in the worst-case.\r\n\r\n\\cc @jnjackins @bradfitz "
Performance,NeedsFix
medium
Critical
361,408,698
flutter
Text selection vertical extent should be defined per line (not per glyph)
As [reported by @_mono on Twitter]( https://twitter.com/_mono/status/1023733699614060545), the Flutter text selection highlight rect should be computed at the line level as opposed to per glyph. To see this effect, paste the sequence `( ´・‿・`)` into a Flutter text field and select it. Example images below: Flutte...
a: text input,framework,engine,a: fidelity,a: quality,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-engine,triaged-engine
low
Major
361,413,793
react
How to prevent ReactDOM.render errors from bubbling when otherwise explicitly handled
**Do you want to request a *feature* or report a *bug*?** This is a bug. Ordinarily, this would probably be considered a feature request. However, the stated purpose of the feature referenced below is being violated in certain environments. **What is the current behavior?** React 16+ surfaces an uncaught erro...
Type: Discussion
low
Critical
361,418,864
kubernetes
Setup call to volume plugins should include user and plugin provided mount options
When we create bind mounts in `Setup` function - we should also include user provided mount options coming from PV or StorageClass. This will ensure that bind and remount operations have access to full mount options rather than a partial list. related to https://github.com/kubernetes/kubernetes/pull/68626#discus...
sig/storage,lifecycle/frozen
low
Major
361,424,313
go
x/tools/cmd/present: add support for sub bullets
Please answer these questions before submitting your issue. Thanks! ### What version of Go are you using (`go version`)? go version go1.11 linux/amd64 ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? GOARCH="amd64" GOB...
NeedsDecision,FeatureRequest,Tools
low
Critical
361,431,757
TypeScript
Renaming a module with a default export should rename default imports which match the filename
## Search Terms rename default import ## Suggestion I noticed that recently it became possible to auto-import default exports of modules: ```ts // foo.ts export default 42; ``` ```ts // bar.ts const x = 3 + foo // ^ control-space here will offer to `import foo from './foo'` ``` ...
Suggestion,Awaiting More Feedback
low
Major
361,457,960
rust
Same trait in dyn / impl trait should give a warning
Having the same trait specified multiple time in the list of traits a function returns, does not give a warning: ```Rust fn example() -> impl Copy + Copy + Copy { } fn main() { } ``` It should perhaps give a warning like: ``` warning: found multiple identical traits: `fn example() -> impl Copy + Copy...
A-lints,T-lang,C-bug
low
Minor
361,467,725
rust
return impl Trait should only permit unique lifetimes
Providing more than 1 exactly the same lifetime to a return impl Trait, does not give a warning, nor does it give a compiler error: ```Rust fn example() -> impl Send + 'static + 'static { } fn main() { example(); } ``` The box version does error: ```Rust fn dyn_example() -> Box<dyn Send + 'static + '...
C-enhancement,A-lints,A-diagnostics,T-lang,T-compiler
low
Critical
361,548,155
pytorch
[Caffe2/Bug] Cannot enable MKL-DNN
## Solution A solution is found for the problem, but maybe a bug in Caffe2 MKL-DNN can be enabled by first compiling the PyTorch. Then turn on MKL by ```bash diff --git a/CMakeLists.txt b/CMakeLists.txt index 827121b1f..235d00bd6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,6 +111,7 @@ option(USE_...
caffe2
low
Critical
361,558,550
kubernetes
Support an image pull credential flow built on bound service account tokens
ImagePullSecret is a mechanism to provide kubelet with credentials to pull images for pods running as a specific service account. This provides segmentation of image access between tenants of a cluster. Now that Kubernetes has a more featureful service acccount token issuer, we can leverage bound service account tokens...
priority/backlog,sig/node,kind/feature,sig/auth,lifecycle/frozen
low
Major
361,581,032
rust
Rust compiler not inferring the correct trait implementation
(I've raised a question on [SO](https://stackoverflow.com/q/52153792/5099839), and the general answer is that it is due to a bug in rustc that should be reported here, so here I am :) I'm not sure about the report format you expect, so sorry if the following does not match) I'm trying to implement a reader which cou...
A-trait-system,T-compiler,A-inference,C-bug
low
Critical
361,633,229
pytorch
error: ‘array_size’ is not a class template
Pytorch: git of September 19, 2018 Eigen: eigen-eigen-b3f3d4950030 ``` In file included from /usr/local/include/unsupported/Eigen/CXX11/Tensor:104:0, from ....../pytorch/caffe2/operators/conv_op_eigen.cc:10: /usr/local/include/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h:220:10: erro...
module: build,module: cpp,triaged
low
Critical
361,671,248
go
go2draft-error-handling-overview: Double io.Closer calls
The examples in https://go.googlesource.com/proposal/+/master/design/go2draft-error-handling-overview.md arrange for w.Close() to be called more than once. https://golang.org/pkg/io/#Closer says _The behavior of Close after the first call is undefined. Specific implementations may document their own behavior_. The ...
NeedsInvestigation
low
Critical
361,671,420
TypeScript
Visual Studio Code intellisense on React component using typescript with union types
<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **3.0.3** also checked on 3.1.0-dev.20180919 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> typescript visual studio code union types intellisense **Code** ```...
Bug
low
Critical
361,674,272
rust
Check if we can get away with making `fn()` conflict with `&T`
There's the idea that the `fn(...) -> R` types should be unsized types (like `extern type`) and function pointers should be proper pointers (e.g. `&'a fn()`). On its face this appears backwards incompatible in ways editions can't paper over, e.g. if we desugar `fn()` to `&'static fn()` in 2015 these two impls would sud...
T-lang
low
Minor
361,699,595
rust
Confusing `multiple matching crates` error caused by 2018 edition
I tried to `use rand` when I hadn't added it to `Cargo.toml`. ``` error[E0464]: multiple matching crates for `rand` --> src\worker_utils\polling_worker_pool.rs:7:5 | 7 | use rand::{self, Rng}; | ^^^^ | = note: candidates: crate `rand`: \\?\C:\Users\diggs\.rustup\toolchains\nightly-x86_...
C-enhancement,A-diagnostics,T-compiler
low
Critical
361,725,527
pytorch
[Caffe2 installation problem]
I am trying to install Caffe2 on my Ubuntu PC but I keep getting error messages that I don't understand anything from. I have installed CUDA 8.0 and cuDNN 7.0 when I run `nvcc --version` I get ``` nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Tue_Jan_10_13:22:03_CST_201...
caffe2
low
Critical
361,767,739
go
runtime/race: race detector misses race condition in case of fmt.Println
### What version of Go are you using (`go version`)? `go version go1.11 linux/amd64` ### Does this issue reproduce with the latest release? `yes` ### What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOBIN="" GOCACHE="/home/dd/.cache/go-build" GOEXE="" GOFLAGS="...
RaceDetector,compiler/runtime
medium
Critical
361,789,457
rust
Optimize copies of large enums
For types like `SmallVec<[T; 1000]>`, or in general an enum where the variants have a huge difference in size, we should probably try to optimize the copies better. Basically, for enums with some large-enough difference between variant sizes, we should use a branch when codegenning copies/moves. I'm not sure how ...
I-slow,C-enhancement,A-codegen,T-compiler,A-mir-opt,C-optimization
low
Major
361,844,140
rust
Proc macros: ability to refer to a specific crate/symbol (something similar to `$crate`)
### The problem In macros-by-example we have `$crate` to refer to the crate the macro is defined in. This is very useful as the library author doesn't have to assume anything about how that crate is used in the user's crate (in particular, the user can rename the crate without breaking the world). In the new proc...
A-resolve,A-macros,T-lang,C-feature-request,A-proc-macros
medium
Critical
361,855,111
pytorch
[Caffe2] Errors occured when running Cpp Predictor
Hello, I am writing a predictor written in cpp so I can use it to predict the output class using the mnist data set. I managed to make it work completely in python but my goal is to use the trained net from python to predict in cpp. However, I am encountering some errors when I run the predictor: ``` carlos@carlos...
caffe2
low
Critical
361,865,372
pytorch
[caffe2] Unaligned AVX instruction operands in LayerNorm implementation in OSS build
On my open source build the following program hits a segmentation fault: ``` from caffe2.python import core, workspace test_net = core.Net("layer_norm_test") test_net.LayerNorm(["input"], ["output", "mean", "stddev"], epsilon=1e-5) import numpy as np workspace.FeedBlob('input', np.random.rand(20, 5, 10, 10)...
caffe2
low
Critical
361,876,351
go
cmd/go: describe stuck ops when terminated by signal
### What version of Go are you using (`go version`)? go version go1.11 darwin/amd64 ### Does this issue reproduce with the latest release? Yes. ### What operating system and processor architecture are you using (`go env`)? GOARCH="amd64" GOCACHE="/Users/ccahoon/Library/Caches/go-build" GOHOSTARCH="amd6...
NeedsFix,modules
low
Major
361,921,960
rust
`#[thread_local] static mut` is allowed to have `'static` lifetime
Spinning off from https://github.com/rust-lang/rust/issues/51269: The MIR borrow checker (i.e., NLL) [permits `#[thread_local] static mut` to have `'static` lifetime](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=e4b4f7af67c16546ec3d82acce90d624). This is probably a bug. It arises because ...
P-medium,T-compiler,A-NLL,NLL-sound,requires-nightly,F-thread_local
medium
Critical
361,925,620
vscode
Relative problem paths don't take `cwd` into account
From https://github.com/Microsoft/vscode-cpptools/issues/2518 by @galgalesh -------------------------------------------------------- **Type: LanguageService** <!----- Input information below -----> <!-- **Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree...
feature-request,tasks
low
Critical
361,939,224
vscode
moving TypeScript files in explorer fails to update/prompt imports when containing folder is moved
<!-- Please search existing issues to avoid creating duplicates. --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ --> <!-- Use Help > Report Issue to prefill these. --> - VSCode Version: 1.27.2 - OS Version: Win ...
bug,help wanted,typescript
medium
Critical
361,941,778
scrcpy
Mouse capture for shooting games
I love this app. Its very simple. But my question is, why i cant use mouse with shooting games like on pc when moving around ...all i see is pointer? Can i suggest that you guys add like when i press ctr+p it will show mouse and other way around ? :) Thanks!
feature request,input events,mouse capture
low
Major
361,943,638
create-react-app
Error overlay watching mode doesn't work anymore
The build is complaining about `process` not being defined.
tag: internal,issue: needs investigation
low
Critical
361,985,811
go
syscall/js: Make syscall/js optional when compiling wasm?
At present, when we compile to wasm `syscall/js` is automatically included. This forces the runtime to either be a browser (eg Firefox, Chrome, etc), or at least pretend to be one. That's kind of non-optimal, as some of the wasm execution environments presently being developed aren't targeted at browser environme...
NeedsDecision,FeatureRequest,arch-wasm
high
Critical
362,009,098
neovim
CursorLine priority issues when 'linking to Normal'
- nvim 0.3.1 - all terminals and operating systems. Since I upgraded to Neovim 0.3.1 I notice NERDTree cursorline looks broken with my preferred Vim theme of [moonfly](https://github.com/bluz71/vim-moonfly-colors). Some Googling indicates others have the same experience as noted in [this Reddit thread](https://w...
compatibility,ui,display,highlight
medium
Critical
362,035,988
pytorch
[caffe2] Bug for softmaxwithloss operator
I found that the ignore label does not work for the operator: softmaxwithloss in [https://github.com/pytorch/pytorch/blob/master/caffe2/operators/softmax_with_loss_op.cc](url), which means that line 151 #define DONT_CARE (-1) does not make sense On the other hand, the operator: spatialsoftmaxwithloss in [https://git...
caffe2
low
Critical
362,111,452
flutter
Need to animate the old page during transition
Currently, the transition (PageRoute) is an overlay, only provide a child widget which is the new page. It should be involved with the old page. If I want to fade out or do other animations to the old page, I cannot do it with the current method. For my project, each page has an overlay which is semi-transparent. ...
c: new feature,framework,a: animation,f: routes,P2,team-framework,triaged-framework
low
Major
362,112,811
go
cmd/compile/internal/gc: generalize self-assignment handling in escape analysis
Right now, there are at least 2 quite adhoc patterns that are recognized by escape analysis as safe. It skips detailed analysis when it sees self-assignment statement that does not introduce new pointers that need tracking. Initially, only some simple self-slicing assignments like this were handled: ```go x.bu...
Performance,NeedsInvestigation
low
Critical
362,114,153
godot
OBJ with many meshes is imported as one large mesh
**Godot version:** 3.0.6 **OS/device including version:** Windows 10 **Issue description:** I have added an OBJ file to my project and it is imported. The problem is that my OBJ contains many mesh parts but everything is mashed together to one mesh instead separated into several individual meshes. I can import...
enhancement,topic:core
low
Major
362,115,308
electron
add upstream doc links to default window
when we run `electron` a default window opens that has chromium and nodejs versions at the top. would be really helpful if these would be links to the upstream docs, just like the links at the bottom. old nodejs docs can be found here https://nodejs.org/docs/ but not sure where to find chromium html, css and javascr...
enhancement :sparkles:,documentation :notebook:,beginner friendly
medium
Major
362,131,704
opencv
opencv.pc file does not include static dependencies
It looks like cmake does not populate the `@OPENCV_PC_LIBS_PRIVATE@` field in [opencv.pc](https://github.com/opencv/opencv/blob/master/cmake/templates/opencv-XXX.pc.in), at least on MacOS. I am using the [homebrew](https://github.com/Homebrew/homebrew-core/blob/master/Formula/opencv.rb) build of opencv. The `opencv.pc`...
priority: low,category: build/install
low
Minor
362,149,955
rust
`impl Trait` should be able to capture long-lived associated types even if the trait contains a lifetime
Basically, this should compile: ```rust trait Trait<'foo> { type Assoc: 'static; } fn test<'foo, T: Trait<'foo>>(x: T::Assoc) -> impl FnOnce() { move || { let _x = x; } } ``` Thanks to @eddyb I can work around this, writing ```rust trait Trait<'foo> { type Assoc: 'static; } fn test<'foo, A: 'static, T...
A-lifetimes,T-compiler,A-impl-trait,C-bug,T-types
low
Major
362,165,628
angular
The "value" property on radio buttons with FormControl doesn't get updated
<!-- PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION. ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. --> ## I'm submitting a... <!-- Check one of the following options with "x" --> <pre><code> [ ] Regression (a behavior that used to work and stopp...
freq1: low,area: forms,P3,bug
low
Critical
362,195,586
TypeScript
Use React TSX tags without having to write "import React from 'react'"
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please read the FAQ first, especially the "Common Feature Requests" section. --> ## Suggestion I have to write `import React from 'react'` every time I use TSX s...
Suggestion,Awaiting More Feedback
low
Critical
362,204,433
create-react-app
Prevent shell output deletion when launching
It's quite silly, but I'd just like to propose that the start script doesn't erase the previous shell output by default. This can be bit annoying if you ever forget to run in a separate shell, use a screen/script command etc. I looked for a possible setup in the docs but didn't find any. Maybe I'm missing something tho...
issue: proposal
low
Minor
362,207,990
bitcoin
Callback/notification documentation and cleanup
I believe many aspects of how callbacks or notifications work are not well-documented, particularly the user-facing behaviors (like the various `-*notify` behaviors, zmq interface, and synchronization guarantees between the wallet/mempool/validation). Along with a lack of documentation, I believe there's likely a lack...
Docs
low
Minor
362,239,983
pytorch
caffe2 argmax and argmin documentation incorrect for output type
## Issue description It looks like the documentation for the output types for the caffe2 argmax and argmin operators are incorrect. The documentation says that they should be floats: https://github.com/pytorch/pytorch/blob/8f4601fbac5565218212908fe9be57abcbf14145/caffe2/operators/arg_ops.cc#L163 But it lo...
caffe2
low
Minor
362,296,330
go
cmd/compile: detect and apply more CMOV optimizations
### What version of Go are you using (`go version`)? go version go1.11 linux/amd64 ### Does this issue reproduce with the latest release? Yes. And checked with master as of (go version devel +7f3de1f275 Thu Sep 20 14:44:04 2018 +0530 linux/amd64) ### What operating system and processor architecture are you usin...
Performance,NeedsInvestigation,compiler/runtime
low
Critical
362,341,609
TypeScript
No suggestions for extended classes.
_From @zavr-1 on September 20, 2018 6:10_ Issue Type: <b>Bug</b> There are no suggestions of the `super` class's methods. VS Code version: Code - Insiders 1.28.0-insider (cd9d71a31f731baf17330a84448c3efdeabc873f, 2018-09-17T05:12:08.581Z) OS version: Darwin x64 15.6.0 <details> <summary>System Info</summary...
Bug,Domain: Completion Lists,Domain: JavaScript
low
Critical
362,346,953
realworld
Functionality Testing
It seems that some of the apps aren't actually functioning properly. The only one I've had complete success with is the Keechma app so far: ## Quick summary of non-functional features Framework | Routing | Tagging | Article | Profile | Other --- | --- | --- ...
v2
medium
Critical
362,354,481
rust
rustdoc: doc comments on `use` and `extern crate` statements run doctests
The following two files fail `cargo test --doc`: ```rust /// ``` /// panic!("oh no"); /// ``` use std::fs::File; ``` ```rust /// ``` /// panic!("oh no"); /// ``` extern crate asdf; ``` ...despite neither of these code blocks actually getting displayed in docs. Until we decide to display any docs writ...
T-rustdoc,C-bug,A-doctests
low
Minor
362,386,278
TypeScript
Mix on inline/external defined properties corrupt javascript intellisense
_From @mobisga on September 20, 2018 10:4_ Issue Type: <b>Bug</b> Defining a variable: var test = { prop1: '' }; test.prop2 = ''; intellisense does NOT recognize prop2 as a property belonging to test Whereas defining: var test = { }; test.prop2 = ''; intellisense does recognize prop2 as a property belonging...
Bug,Domain: JavaScript
low
Critical
362,390,951
flutter
Support creation of an engine AAR instead of a JAR for Android.
Support creation of an AAR instead of a JAR for Android. Android uses XML resources as a canonical element of everyday development. It is possible to reference FlutterFragment and FlutterView from XML, but the Flutter embedding currently has no capability to expose XML attributes to customize those elements. For...
platform-android,engine,e: embedder,a: existing-apps,P2,team-android,triaged-android
low
Major
362,425,846
go
doc/articles/wiki: "Writing Web Applications" example writes the reponse header twice
### What version of Go are you using (`go version`)? go1.11 ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? <details><br> ``` GOARCH="amd64" GOBIN="/home/jabenze/go/bin" GOCACHE="/home/jabenze/.cache/go-build" ...
Documentation,NeedsFix
low
Critical
362,518,743
rust
Testing `Sync` diverges on recursive type
Typechecking the following program diverges: ```rust #![feature(never_type)] struct Foo<'a, T: 'a> { ph: std::marker::PhantomData<T>, foo: &'a Foo<'a, (T, T)>, } fn wub(f: Foo<!>) { sync(f) } fn sync<T: Sync>(x: T) {} fn main() {} ``` Cc @eddyb @nikomatsakis
A-type-system,T-compiler,T-types
low
Minor
362,528,603
go
path/filepath: Clean doesn't remove trailing backslash from Windows volume name
### What version of Go are you using (`go version`)? go 1.10.3 windows/amd64 ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? Windows 7, Core I7, x64 ### What did you do? > filepath.Clean(\`\\\\somepath\dir\\`) ### ...
OS-Windows,NeedsInvestigation
low
Major
362,555,988
vue
Different functional componens has the same key
### Version 2.5.17 ### Reproduction link [https://github.com/vedmaque/vue-functional-bug](https://github.com/vedmaque/vue-functional-bug) ### Steps to reproduce 1) create `Component1` ``` <template functional> <div class="a"> <div class="b">first (template)</div> <div class="b">component...
has workaround
low
Critical
362,556,513
godot
[Bullet] Kinematicbody snap drags objects down even without any velocity
Godot version 534b7ef Kinematicbody snap drags objects down even without any velocity. **This is 3D, it is just sideview to better illustrate what is happening.** ![snap_drag](https://user-images.githubusercontent.com/40793342/45876405-433a1900-bda3-11e8-92a7-119e0840f08f.gif) This is the full code in kinem...
bug,topic:physics
medium
Major
362,565,463
rust
Should `partial_cmp` on `Range` implement interval order?
Hi, Whilst implementing a data structure, I've noticed a quirk (or bug) in the `Range` implementation. It appears that we can query the partial ordering relation between two ranges using `partial_cmp`. For example: ``` assert_eq!((0..5).partial_cmp(10..20), Some(Ordering::Less)); ...
C-enhancement,T-libs-api,A-docs
low
Critical
362,608,011
TypeScript
replace implicit 'any' with 'unknown'
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please read the FAQ first, especially the "Common Feature Requests" section. --> ## Search Terms noImplicitAny, strict, any, unknown <!-- List of keywords you s...
Suggestion,Awaiting More Feedback,Add a Flag
medium
Critical
362,639,360
TypeScript
recursive return type for deterministic generators
## Suggestion If a generator neither yields inside a loop nor defers to another generator, it's considered deterministic. For any given number of `next` calls, the compiler could theoretically reduce the generator to the exact type of its next yield. Of course, because generators are mutable, this isn't true. But wh...
Suggestion,Awaiting More Feedback
low
Minor
362,640,799
rust
Vtables not position independent for target thumbv7em-none-eabi
# Summary I'm having trouble using dynamic dispatch for trait objects on a cortex-m4. The setup is rather complicated as relocated binaries only make sense for binaries which will actually be relocated. In this case I try to run a tock app created with libtock-rs. The vtables in the binary get relocated, however ...
A-linkage,A-LLVM,O-Arm,T-compiler,C-feature-request
low
Major
362,674,885
pytorch
torch.bmm doesn't support CUDA uint8 (byte) tensor
Hi, It seem that byte type are not supported for the bmm operator on GPU. The function batch_mm in file pytorch/torch/jit/batchop.py use it. Applying the attached patch seem to solve the problem on GPU. [patch_batchop.txt](https://github.com/pytorch/pytorch/files/2406035/patch_batchop.txt) Have a nice day. ...
todo,module: bootcamp,module: cuda,triaged,enhancement,module: linear algebra
low
Major
362,677,531
go
runtime,cmd/compile: string concatenation specializations for performance
[CL123256](https://go-review.googlesource.com/c/go/+/123256) started a discussion on which strings concatenation specialization we should choose (if any). String concatenation can be made faster if we specialize concatenation with escaping result and len(args)<=5 (N) arguments. Escaping result means that we can avoi...
Performance,NeedsInvestigation,compiler/runtime
low
Major
362,678,162
pytorch
[feature request] Kumaraswamy distribution
## Issue description There is currently no `Kumaraswamy` distribution in `torch.distributions`. It would be nice to have! It is already available in Tensorflow Probability. I'm happy to contribute it. cc @vincentqb @fritzo @neerajprad @alicanb @vishwakftw
module: distributions,feature,triaged
low
Minor
362,718,987
TypeScript
Object spread drops index signature
<!-- 🚨 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 b...
Suggestion,In Discussion
medium
Critical
362,750,343
go
proposal: spec: reduce unspecified behaviors of expression evaluation orders in assignment statements
_(As [this proposal](https://github.com/golang/go/issues/27098) is rejected, I change it as a Go 2 proposal instead.)_ One feature of Go is multi-value assignments support. However, currently, the rules of the expression orders in one multi-value assignment are very not specified, which causes many ambiguities in pr...
LanguageChange,Proposal,LanguageChangeReview
medium
Critical
362,777,215
flutter
Option to mimic cmd+k event in IOS to open/hide virtual keyboard
Hello, I have a physical keyboard attached to my ios device, by default the virtual keyboard is hidden. This can be brought back by pressing cmd+k keys in the physical keyboard. Is there a way to programmatically trigger this key events so that we can bring the virtual keyboard by pressing a RaisedButton widget? ...
a: text input,c: new feature,platform-ios,framework,engine,P2,team-ios,triaged-ios
low
Minor
362,777,417
bitcoin
Unbounded growth of scheduler queue
In `validation.cpp`, both `ConnectTip` and `DisconnectTip` invoke a `GetMainSignals()...` callback, which schedules a future event though the CScheduler interface. These functions are called in 3 places: - `ActivateBestChainTipStep` - `InvalidateBlock` - `RewindBlockIndex` The first of these 3 prevents the sch...
Brainstorming,Resource usage
medium
Critical
362,781,447
pytorch
dtype mismatch error messages can be misleading
Example: ``` In [2]: import torch ...: import torch.nn as nn ...: ...: mat1 = torch.randn(3, 3, dtype=torch.double) ...: mat2 = torch.randn(3, 3, dtype=torch.float) ...: torch.mm(mat1, mat2) ...: --------------------------------------------------------------------------- RuntimeError ...
todo,module: error checking,module: molly-guard,triaged
low
Critical
362,795,325
rust
FFI mechanism to declare a symbol for an array
If I have a C declaration ```c char *symbol = "hello world"; ``` I can declare that symbol in Rust as ```rust extern "C" { pub static symbol: *c_char; } ``` But if I have a C declaration ```c char symbol[] = "hello world"; ``` I can't directly declare that in Rust in an immediately usable way. In ...
A-FFI,T-compiler,C-feature-request,A-array
low
Major
362,802,928
rust
Expand macros inside inline asm clobbers.
https://play.rust-lang.org/?gist=a0de4df14ed21add77a2f74d5665a31c&version=nightly&mode=debug&edition=2015 It'd be nice if rust allowed expanding macros inside the inline asm input/output/clobbers.
A-inline-assembly,A-macros,T-compiler,C-bug,requires-nightly
low
Critical
362,805,214
kubernetes
Support Windows Certificate Store for kubectl client certs
**Is this a BUG REPORT or FEATURE REQUEST?**: /kind feature (I checked and don't think this support already exists, but perhaps I just missed it somewhere.) **Anything else we need to know?**: .kube/config has client-certificate-data and client-key-data on windows. Windows natively puts certificates in a certif...
kind/feature,sig/windows,lifecycle/frozen
low
Critical
362,811,515
TypeScript
findAllReferences broken when immediately looping over array literal of object literals
**TypeScript Version:** 3.1.0-dev.20180921 **Code** ```ts for (const { a } of [{ a: 0 }, { a: 1 }]) { a; } ``` **Expected behavior:** All 4 `a` are references of each other. **Actual behavior:** The `a` in `{ a: 1 }` is not counted as a reference of the others.
Bug
low
Critical
362,829,384
pytorch
Jit cannot trace autograd for certain operator
## Issue description `torch.jit.trace` can not trace `torch.autograd.grad` for some cetrain operator(SliceBackward) same issue which submit to discuss.pytorch.org: [https://discuss.pytorch.org/t/jit-cannot-trace-autograd-for-certain-operator](url) ## Code example code: ```python import torch def test(f...
oncall: jit
low
Critical
362,845,419
rust
Add `String::from_with_capacity(value, capacity)`
In some situations it would be useful to create a string from a &str with a bigger capacity if it is know that the string is extended later on. ````rust fn main() { let mut s = String::from("Hello world"); println!("len: {}, cap: {}", s.len(), s.capacity()); s.push_str("add more characters"); s....
T-libs-api,C-feature-request,A-str
low
Minor
362,857,947
rust
Consider replacing RawVec<T> with Box<[MaybeUninit<T>]>.
After #53508 lands, we could look into this. It might provide a bit more type-safety, although it could be worse to not have the capacity as a separate field. ~~One thing to note is that setting the "length" component of a reference/pointer to `[MaybeUninit<T>]` is "less unsafe" than doing so for for `[T]`, but it's...
A-collections,T-libs
medium
Major
362,859,149
pytorch
Specify out= argument to convolution
Hi, i want to use the functions in torch._C._thcunn. Is there any docs for that? what’s the meaning of the parameters? i find the C code for CudaSpatialFullDilatedConvolution_updateGradInput ``` void THNN_(SpatialFullDilatedConvolution_updateOutput)( THCState *state, THCTensor *input, ...
module: convolution,triaged,enhancement
low
Major
362,860,014
rust
Unused import warning fires incorrectly for imports used and shadowed by decl_macro's.
I wanted to demonstrate name resolution detecting maro expansion shadowing ```rust #![feature(decl_macro)] mod foo { pub macro import_bar($name:ident) { use bar::time_travel as $name; } } mod bar { pub macro time_travel($name:ident) { // The uncommented version never errors. ...
A-lints,T-compiler,C-bug,F-decl_macro,L-unused_imports
low
Critical
362,862,209
flutter
TextEditingController doesn't keep selection on text changes
**Steps to reproduce:** - Create TextField with "start value" text with `final tf = TextField(controller: TextEditingController(text: 'start value'));`. - Tap to a middle of the textfield to set the cursor to the middle of the text (like "start| value"). - Programmatically update text in the textfield with `tf.con...
a: text input,framework,a: fidelity,has reproducible steps,P3,team-framework,triaged-framework,found in release: 3.13,found in release: 3.17
low
Major
362,868,082
scrcpy
Not an issue but an improved version for raspberry pi
I am interested in using OpenMax library to hardware decode on pi zero: I have modified decoder.c code to decode stream from socket with broadcom ilclient but I am not an expert c/c++ coder so I need help to review the code. I attach the modified cose here, you can simply put a switch at compile time to compile one of...
raspberry pi
medium
Major
362,868,197
pytorch
[caffe2] Documentation of Optimizers (Python API)
I have been searching for a while and I have not found any documentation regarding the optimizers such as adam, sgd, rms_prop and adagrad. It would be very nice to have some documentation like the one for pytorch https://pytorch.org/docs/stable/optim.html
caffe2
low
Minor
362,869,227
rust
Failure to parse `{2} + {2}`
These examples should compile according to the rust reference: ```rust fn compiles() -> i32 { ({2}) + ({2}) } fn fails() -> i32 { {2} + {2} } fn compiles2() -> i32 { 2 + {2} } fn fails2() -> i32 { {2} + 2 } ``` ([Playground](https://play.rust-lang.org/?gist=36a06367e5e9b2eded3b7...
A-grammar,A-parser,T-lang,C-discussion
low
Critical
362,876,063
TypeScript
`export default interface` in augmentation shadows original default export
<!-- 🚨 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 b...
Bug
low
Critical
362,876,336
pytorch
[Caffe2] Attempting to install Caffe2 in Google Colab
## Issue description Hello, I'm trying to install Caffe2 in Google Colab so I can work with Detectron. I've tried installing from Source however it takes too long (more than 2 hours) so it is impractical for Colab. Thus, I'm forced to install from binaries using Anaconda. I install anaconda without much issues. ...
caffe2
low
Critical
362,880,373
pytorch
[Enhancement] Increase user-friendliness of dataset.random_split
## Issue description Currently, when using the [random_split function](https://github.com/pytorch/pytorch/blob/master/torch/utils/data/dataset.py) the parameters that need to be given are: - dataset - list that contains the lengths of splits to be produced This means a user has to calculate these upfront and a...
triaged,enhancement,module: data
low
Major
362,885,075
pytorch
[feature request] Publish wheels with debug symbols
It would be great if wheels of pytorch with debug symbols were published (or at least made available via https://ci.pytorch.org), so that users can investigate native crashes without going through the whole (error prone) process of building pytorch themselves. For reference, I asked [the question on the forums first...
module: binaries,triaged
medium
Critical
362,899,465
flutter
Tracing macros from FML and Fuchsia trace/event.h collide.
Their APIs do not match exactly either which makes constructing the same tricky. FML should just have its own tracing variants with the FML_ prefix.
engine,platform-fuchsia,P2,team-engine,triaged-engine
low
Minor
362,904,351
rust
try_replace, try_swap in RefCell (code included)
Every method has a non-panicking variant except for `replace` and `swap`. It would be fairly simple to add them, leveraging the `try_borrow_mut` method; here's the code: ```rust /// An error returned by [`RefCell::try_replace`](struct.RefCell.html#method.try_replace). pub struct ReplaceError { _private: () } /// An er...
T-libs-api,C-feature-request
low
Critical
362,925,563
go
spec: clarify order in which operands of multi-value assignments are evaluated
(This issue is separated from https://github.com/golang/go/issues/27804 after I realized it is not a proposal but just a doc improvement. There are no language changes in the improvement.) Currently, for assignments in Go, Go specification specifies > The assignment proceeds in two phases. First, the operands of ...
Documentation,NeedsInvestigation
low
Major
362,935,018
rust
Arrays not coercing a mutable reference in the first position
Given i, j and k of type &mut isize, then `&mut [i,j,k]` moves i, but not j or k. I discovered this when calling `vec![i,j,k]`. Similar issues: Arise from `let r = &mut 0; [&mut 0, r]; *r += 1;` works, but `let r = &mut 0; [r, &mut 0]; *r += 1;` complains about use of moved value `*r`. See an example full program...
T-compiler,C-bug,A-coercions,A-array
low
Critical
362,935,797
javascript-algorithms
Italian Language
Can I help you with the Italian translation? You did a great job!
enhancement
medium
Minor
362,951,837
pytorch
Test the Caffe2 Installation with GPU erro
Hi,everyone,when I test the Caffe2 Installation with GPU with this command: python caffe2/python/operator_test/activation_ops_test.py It shows : /usr/local/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py:75: HypothesisDeprecationWarning: The min_satisfying_examples setting has been deprecated and...
caffe2
low
Minor
362,952,034
flutter
iPhone X nav drawer safety issue
[This app](https://gist.github.com/jonahgreenthal/fe304c7d72e387345623f361d106c6d6) does not properly handle the iPhone X safe area: ![screen shot 2018-09-23 at 10 28 22 am](https://user-images.githubusercontent.com/737172/45929782-fe85bd80-bf1b-11e8-9d07-957a3d3e2209.png) The gray background behind the logo should e...
e: device-specific,platform-ios,framework,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-ios,triaged-ios
low
Major
362,966,933
vue
On SSR, do not escape RAW nodes
### What problem does this feature solve? When rendering a script tag on server the content is escaped, breaking the js code. ```html <script> var x = "y"; </script> ``` is rendered as ```html <script> var x = &quot;y&quot;; </script> ``` ### What does the proposed API look like? A solution...
improvement
low
Major
362,974,347
rust
Confusing error message with reference to boxed trait object
```rust fn main() { let _: Box<dyn '_ + Fn()> = Box::new(|| {}); let _: &'_ Box<dyn '_ + Fn()> = &Box::new(|| {}); //~ ERROR } ``` [Results in](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=de814d02496552c5d35241a9f39c5faa): ``` error[E0308]: mismatched types --> src/main.rs...
C-enhancement,A-diagnostics,T-compiler,A-coercions,D-confusing,A-trait-objects
low
Critical
362,983,637
flutter
Testing localized widgets can fail when assets are too big due to race condition
Fix: https://github.com/flutter/flutter/issues/22193#issuecomment-1046333568 --- I've found a [LINK](https://stackoverflow.com/questions/52463714/how-to-test-localized-widgets-in-flutter?answertab=oldest#tab-top) with exact same question but didn't help. Could you write some examples of testing localized widge...
a: tests,c: crash,framework,f: material design,a: internationalization,d: api docs,has reproducible steps,P3,found in release: 3.3,workaround available,found in release: 3.7,team-design,triaged-design
high
Critical
362,989,786
vue
Using multiple selects with v-model and bound and unbound values causes value overriding
### Version 2.5.17 ### Reproduction link [https://jsfiddle.net/du578xc0/32/](https://jsfiddle.net/du578xc0/32/) ### Steps to reproduce change first select to "Some", then change newly displayed select. You will see that val2 is being set to the bound vals from the val1 select instead of it's own values...
bug,has workaround
medium
Critical
363,001,560
rust
Expand examples on str functions
Functions like contains, starts_with, ends_with, match_indices, etc could use more examples, for example `foo.contains('\n')` (check if a string contains newlines). find, split, matches, trim_matches, etc all have them.
C-enhancement,P-medium,T-libs-api,A-docs
medium
Major
363,028,436
TypeScript
Allow specifying regex for module alias paths
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please read the FAQ first, especially the "Common Feature Requests" section. --> ## Search Terms <!-- List of keywords you searched for before creating this issu...
Suggestion,Awaiting More Feedback
low
Critical