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
580,658,406
neovim
blend shows emojis behind window or popup
- `nvim --version`: ``` NVIM v0.5.0-416-g2b00d1d09 Build type: Release LuaJIT 2.1.0-beta3 Compilation: /Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/Users/travis/build/neovim/bot-ci/build/neovim/build/config -I/Users/travis/build/neovim/bot-ci/build/neovim/src -I/Users/travis/build/neovim/bot-ci/build/neovim/.deps/usr/include -I/usr/include -I/usr/local/opt/gettext/include -I/Users/travis/build/neovim/bot-ci/build/neovim/build/src/nvim/auto -I/Users/travis/build/neovim/bot-ci/build/neovim/build/include Compilado por [email protected] Features: +acl +iconv +tui See ":help feature-compile" arquivo vimrc de sistema: "$VIM/sysinit.vim" padrão para $VIM: "/share/nvim" Run :checkhealth for more info ``` - `vim -u DEFAULTS` (version: ) behaves differently? No - Operating system/version: Mac OS X - Terminal name/version: iTerm 3.3.9 - `$TERM`: `xterm-256color` ### Steps to reproduce using `nvim -u NORC` - Enable transparency: ``` set pumblend=9 set winblend=9 ``` - Open any buffer with emoji text - Use autocomplete or any other window/popup with transparency. ### Actual behaviour Actually the emojis are showed as if it belonged to the window/popup with transparency: ![image](https://user-images.githubusercontent.com/430272/76631707-ded3c200-6520-11ea-88c2-43f279008aba.png) ### Expected behaviour For a better user experience would be nice if the char is a emoji it to be hided in the blended window/popup. Something like: ![image](https://user-images.githubusercontent.com/430272/76632644-476f6e80-6522-11ea-8435-8f318c804dfb.png)
enhancement,display,unicode 💩
low
Critical
580,757,905
TypeScript
Type inference regression (regression)
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 --> <!-- Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the CONTRIBUTING guidelines: https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ --> <!-- If you have a QUESTION: THIS IS NOT A FORUM FOR QUESTIONS. Ask questions at http://stackoverflow.com/questions/tagged/typescript or https://gitter.im/Microsoft/TypeScript --> <!-- If you have a SUGGESTION: Most suggestion reports are duplicates, please search extra hard before logging a new suggestion. See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md --> <!-- If you have a BUG: 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.0.0-dev.20200312 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** **Code** ```ts export interface Supervisor<N extends string, P = undefined, R = P, S = undefined> { constructor: typeof Supervisor; } export abstract class Supervisor<N extends string, P = undefined, R = P, S = undefined> { constructor() { if (this.constructor === Supervisor) this.id; } public id = 0; public abstract call(name: N | ('' extends N ? undefined | ((names: Iterable<N>) => Iterable<N>) : never), param: P, timeout?: number): Promise<R>; } ``` **Expected behavior:** pass **Actual behavior:** Property 'id' does not exist on type 'never'.(2339) **Playground Link:** http://www.typescriptlang.org/play/index.html?ts=3.9.0-dev.20200312&ssl=1&ssc=1&pln=10&pc=2#code/KYDwDg9gTgLgBASwHY2FAZgQwMbDgZQFcw0A3BAZ2gB4A5OUVJAEwrgpimQHMAaOAApwAvHEItg6ZMGb8ASiMH98i8c0nTmAPjgBvAFBw42CEg5RC2GNABccGAE8SEdAWJlK0ANz6AvvtBIWDhMACNzHHhsABtMCjYiEihyKig6BhAmVnZOHn4hUTUNJBl5RQFlVQkpEu09Q2NTc0trKAAKAEp6oyMEVzaYAAtKADoTM04W6BFhUUSPVK6h0YRmHyN-IzBCUOiEbERmRQAGdbht3f2Q8M5I40xo6LakTABbYDt6AB84NoByP4ZLJsegAfjE1U0cB+bWeb2AFDsAElUFAwtFgHQtF1hDoUWh0ZjaNi4HYSqQ0B1+GBMGjXnYKvYEO8IIQYKCyYRXqFKQyoBBXpRMXItD5fEA **Related Issues:**
Bug
low
Critical
580,770,200
godot
Tree not processing if the the tab is not active in WASM
**Godot version:** 3.2.1 **OS/device including version:** Firefox 73 **Issue description:** When running a project in the browser, the tree pauses if you leave the tab. Timers are paused and no functions are fired. This is particularly an issue in online turn games when someone leaves the tab to check another website while waiting for their turn.
discussion,platform:web,topic:porting,confirmed,documentation
medium
Major
580,771,059
go
x/text/cmd/gotext: generate for one GOOS/GOARCH from a different GOOS/GOARCH
I maintain a Go program for Windows that uses CGo, but I mostly develop from Linux. I use gotext, which means a file has in it: `//go:generate go run golang.org/x/text/cmd/gotext -srclang=en update -out=zgotext.go -lang=en,fr,ja,sl` The problem is that in order for gotext to look at the right source files, GOOS=windows and CGO_ENABLED=1 must be set. However, that causes go run to generate executables for Windows, not my Linux host system. I've tried variations of `-tags=windows` without GOOS being set, but that doesn't work either. Any advice? cc @rozmansi @mpvl @bcmills
NeedsInvestigation
low
Major
580,793,618
pytorch
CPU softmax performance poor when dim is not the last dimension
``` import torch import torch.nn.functional as F import time x = torch.rand(1, 3072, 1024) NITER = 100 s = time.time() for _ in range(NITER): out = F.softmax(x, dim=1) e = time.time() time_per_iter = (e - s) / NITER print('time per iter (ms)', time_per_iter / 1000) print('GB/s', (x.numel() * x.element_size() + out.numel() * out.element_size()) / time_per_iter / 1e9) ``` Gives result ``` $ OMP_NUM_THREADS=1 perf record $(which python) softmax_bench.py time per iter (ms) 0.00013983171939849855 GB/s 0.17997221308765673 ``` which is way below peak machine bandwidth. On machine https://gist.github.com/jamesr66a/f05b2cfd879e205032d4ab7637290d40 Snooping around in perf shows we're spending the most time in scalar transcendental operations: ![image](https://user-images.githubusercontent.com/4685384/76652383-bac5b000-6523-11ea-94e5-fe4af1ce7650.png) Conceivably this is an "outer reduction" for the purpose of summing up the exp()'ed values. We could do a vectorized reduction keeping those values in vector registers and then apply them elementwise to each slice of the tensor cc @ezyang @VitalyFedyunin @ngimel
module: performance,module: cpu,triaged
low
Major
580,914,687
deno
chmod doesn't work on Windows
In Node, the following is observed on Windows: ```typescript const fs = require('fs'); fs.chmodSync('test_file.txt', 0o000); //makes the file read-only fs.chmodSync('test_file.txt', 0o777); //makes the file writable ``` However, in Deno (v0.36.0) no file mode I tested changed the read-only attribute in any way (including the above two file modes). From the [Node docs](https://nodejs.org/api/fs.html#fs_fs_chmod_path_mode_callback): > on Windows only the write permission can be changed, and the distinction among the permissions of group, owner or others is not implemented. Windows is not mentioned in the [Deno docs](https://deno.land/typedoc/index.html#chmod). It would be good if Deno could manipulate the read-only attribute of Windows files and specifically call out Windows quirks in the documentation for chmod.
feat,windows,public API
low
Major
580,969,275
pytorch
General Purpose Faulty RPC Agent
## 🚀 Feature #33636 will introduce failure injection for PyTorch Distributed tests using `FaultyProcessGroupAgent`, a child class of `ProcessGroupAgent` whose methods can be overriden with faulty implementations. As @pritamdamania87 suggested, we should make this framework more general-purpose, and make `FaultyProcessGroupAgent` a child of `RpcAgent`. This will allow us to do failure injection for all backends including Thrift and Tensorpipes going forward, as opposed to just PGA. cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @jjlilley
oncall: distributed,triaged,better-engineering,module: rpc
low
Critical
581,010,830
rust
fn item can't coerce to trait object when a trait bound has a lifetime parameter
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> ```rust trait Trait<'a> {} impl<'a, T> Trait<'a> for T {} fn func<'a, T: Trait<'a>>(x: &'a str) {} const CONST: &dyn for<'a> Fn(&'a str) = &func::<i32>; ``` fails to typecheck with the errors: ``` error[E0631]: type mismatch in function arguments --> src/lib.rs:5:41 | 4 | fn func<'a, T: Trait<'a>>(x: &'a str) {} | ------------------------------------- found signature of `fn(&str) -> _` 5 | const CONST: &dyn for<'a> Fn(&'a str) = &func::<i32>; | ^^^^^^^^^^^^ expected signature of `for<'a> fn(&'a str) -> _` | = note: required for the cast to the object type `dyn for<'a> std::ops::Fn(&'a str)` error[E0271]: type mismatch resolving `for<'a> <fn(&str) {func::<'_, i32>} as std::ops::FnOnce<(&'a str,)>>::Output == ()` --> src/lib.rs:5:41 | 5 | const CONST: &dyn for<'a> Fn(&'a str) = &func::<i32>; | ^^^^^^^^^^^^ expected bound lifetime parameter 'a, found concrete lifetime | = note: required for the cast to the object type `dyn for<'a> std::ops::Fn(&'a str)` ``` If `Trait` does not have a lifetime parameter, or if `func::<i32>` is replaced with `|x| func::<i32>(x)`, the example compiles successfully. ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.42.0 (b8cedc004 2020-03-09) binary: rustc commit-hash: b8cedc00407a4c56a3bda1ed605c6fc166655447 commit-date: 2020-03-09 host: x86_64-unknown-linux-gnu release: 1.42.0 LLVM version: 9.0 ```
A-lifetimes,T-lang,T-compiler,C-bug,A-coercions
low
Critical
581,030,163
pytorch
incomplete implementation doubt
I created a incomplete implementation of stand alone self attention, I have certain doubts regarding it, should I create a pull request with [WIP], to iterate and figure out solutions to mistakes in my implementation. cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
module: nn,triaged
low
Major
581,077,700
scrcpy
CODM Controls
Hi. I have now been able to get SCRCPY up and running between PC / Samsung phone. I can see my mouse and control the phone. But how do I now setup the controls to allow me to use the keyboard and mouse for CODM in place of my phone? Thanks
input events,mouse capture
low
Minor
581,162,623
TypeScript
Function implementation that returns literal types is not assignable to widened overload
<!-- 🚨 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 the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** 3.8.3 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** overload widen literal **Code** ```ts function foo(x: string): string; function foo(x: number): number; function foo(x: string | number) { if (typeof x === 'string') return 'foo'; return 23; } ``` **Expected behavior:** Implementation satisfies overloads. **Actual behavior:** The first overload throws an error that it doesn't match the implementation. Doesn't matter which overload comes first. [**Playground Link**](https://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=7&pc=2#code/GYVwdgxgLglg9mABMOcAUAPAXIgzlAJxjAHMBKHfI0gbgChRJYFlVMcwQBbAIwFMCFRJ14D6DcNHhIU6bHkLESiAD7Du-QYgDedRPsQxgiNFACeABz5xjGRAF5HiAORUlzsogJ8oIAkmdZZ3oDLx8-JAAmAGZ6AF8gA) If I widen the literals in the implementation by casting them then everything [works fine](https://www.typescriptlang.org/play/#code/GYVwdgxgLglg9mABMOcAUAPAXIgzlAJxjAHMBKHfI0gbgChRJYFlVMcwQBbAIwFMCFRJ14D6DcNHhIU6bHkLESiAD7Du-QYgDedRPsQxgiNFACeABz5xjGRAF5HiAORUlzsogJ8oIAkmdZZ0QAQ1wFahJ6Ay8fPyQAJgBmUPCRTXoAXyA). **Related Issues:** https://github.com/microsoft/TypeScript/issues/37393
Bug
low
Critical
581,184,107
go
os/exec: status of FDs >= len(cmd.ExtraFiles)+3 is undocumented
#### What version of Go are you using (`go version`)? go version go1.14 linux/amd64 #### What operating system and processor architecture are you using (`go env`)? GOARCH="amd64" GOOS="linux" #### What did you do? Invocation: `$ parent-cmd 0<a 1>b 2>c 3>d 4>e 5>f` ```go cmd := exec.Command("child-cmd") cmd.ExtraFiles = []*os.File{os.Stderr} cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Start() // in child-cmd: 0=a 1=b 2=c 3=c 4=e 5=closed! ``` #### What did you expect to see? File descriptors 4 and 5 (>= len(cmd.ExtraFiles)+3) to be either both inherited or none, and the behavior to be documented. #### What did you see instead? File descriptor 4 is inherited, but 5 is not. The doc doesn't say anything about FDs >= len(cmd.ExtraFiles)+3 in the child process.
Documentation,help wanted,NeedsFix
low
Major
581,189,975
godot
Nested dublicated Viewport+ViewportContainer blocking GUI
**Godot version:** 3.2.1 **OS/device including version:** Fedora 30 **CPU:** Intel Core i5-8250U (x86_64) **GPU:** Integrated/Intel UHD Graphics 620 **Issue description:** Nested dublicated Viewport+ViewportContainer blocks gui so it's not possible to interact with GUI **Steps to reproduce:** 1) Create ViewportContainer 2) Add Viewport to ViewportContainer 3) Dublicate ViewportContainer 4) Make copy's parent first ViewportContainer Buttons are no longer interactive **Minimal reproduction project:** https://drive.google.com/file/d/1eUnMuIArpYI7S9L3uLCs8jpHIrb8j2nL/view?usp=sharing
bug,topic:gui
low
Minor
581,209,203
flutter
TextField: Keyboard not showing on `autofocus: true` after app is paused then resumed in Android
<!-- 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 --> ## Steps to Reproduce <!-- You must include full steps to reproduce so that we can reproduce the problem. --> 1. Create a `TextField` with `autofocus: true` 2. Run application. The input should be focused and keyboard is showing. 3. Put the application on background, then open it again to send it to foreground. **Expected results:** <!-- what did you want to see? --> TextField should be focused and the keyboard should be opened. **Actual results:** <!-- what did you see? --> TextField is showing but the keyboard is not opened.
a: text input,platform-android,framework,f: material design,has reproducible steps,P2,found in release: 3.0,found in release: 3.1,team-text-input,triaged-text-input
low
Critical
581,231,929
TypeScript
Show return type, when hovering `return` statement
## Search Terms return type, completion <!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily --> ## Suggestion As of now, if I hover the `return` statement in a function, I don't get any autocompletion. However, this would be a great opportunity to show the return type of the statement that is being returned. <img width="490" alt="Screen Shot 2020-03-14 at 9 29 19 AM" src="https://user-images.githubusercontent.com/1094804/76684000-5879b780-65d6-11ea-8370-cdb9e590adce.png"> <!-- A summary of what you'd like to see added or changed --> ## Use Cases <!-- What do you want to use this for? What shortcomings exist with current approaches? --> ## Examples <!-- Show how this would be used and what the behavior would be --> ## Checklist My suggestion meets these guidelines: * [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code * [x] This wouldn't change the runtime behavior of existing JavaScript code * [x] This could be implemented without emitting different JS based on the types of the expressions * [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) * [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Suggestion,Awaiting More Feedback
low
Minor
581,239,558
pytorch
Add ability to return a copy to Module's state_dict member function.
## 🚀 Feature <!-- A clear and concise description of the feature proposal --> Add the ability for the `Module`'s `state_dict` member function to optionally provide detached copies of the module's internal state. Probably controlled with a keyword argument `copy=False`. ## 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 --> When optimizing the loss for a neural network I'm working on the optimizer seems to have a tendency to overshoot or not finish converging in my iteration limit. My simple solution is to use whichever iteration has the lowest loss, but I have to keep track of that myself. I thought I could copy the state of my model using the `state_dict` function, but I've discovered that this doesn't actually copy the state, just gives me references to it. So the state keeps getting updated. I can use the `dumps` and `loads` functions from Python's `pickle` library to get around this problem, but that seems sub-optimal. ## Pitch <!-- A clear and concise description of what you want to happen. --> ## 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. -->
module: nn,triaged,enhancement
low
Minor
581,262,293
rust
Move lexer punctuation confusables list to `unicode-security` crate and sync it with newest Unicode version.
Now that Unicode 13 is released, maybe we should bump the unicode version.
C-enhancement,A-Unicode,T-compiler
low
Major
581,274,405
scrcpy
Is there a way to simulate swipe gesture?
Scrcpy is an amazing tool! It has been extremely helpful for me. I'm trying to figure out if there is a way to simulate swipe gestures. For example, when I use ctrl+n to see notifications, the only way I can dismiss a notification is to use the left mouse button to click on the notification and then swipe my mouse. This works most of the time, but sometimes it's difficult to click and swipe with the mouse in just the right way. I'm wondering if there is a way (e.g. a key combination or a combination of holding a key while clicking with the mouse, etc.) that would send the swipe gesture to the phone. Similarly, is there a way to simulate a two-finger swipe (up or down)? Thanks, again, for creating this amazing tool and helping with these questions.
input events
low
Major
581,330,599
TypeScript
Unrecognised JSDoc Namepath
<!-- 🚨 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. --> **TypeScript Version:** 3.9.0-dev.20200313 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** JSDoc namepath. **Expected behavior:** JSDoc [namepath](https://jsdoc.app/about-namepaths.html) to be recognised and used. **Actual behavior:** `error TS1005: '}' expected.` <!-- Did you find other bugs that looked similar? --> **Related Issues:** None. **Code** ```ts /** * @typedef {number} testFnA.arg */ /** * @param {testFnA.arg} arg */ function testFnA(arg) { // CORRECT TYPE 'number' return arg * arg; } /** * @typedef {number} testFnB~arg */ /** * @param {testFnB~arg} arg */ function testFnB(arg) { // INCORRECT TYPE 'any' return arg * arg; } ``` <details><summary><b>Compiler Options</b></summary> ```json { "compilerOptions": { "noImplicitAny": true, "strictFunctionTypes": true, "strictPropertyInitialization": true, "strictBindCallApply": true, "noImplicitThis": true, "noImplicitReturns": true, "alwaysStrict": true, "esModuleInterop": true, "checkJs": true, "allowJs": true, "declaration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "moduleResolution": 2, "target": "ES2017", "jsx": "React", "module": "ESNext" } } ``` </details> **Playground Link:** [Provided](https://www.typescriptlang.org/play?ts=next&useJavaScript=true#code/PQKhCgAIUgBAXAngBwKYBNUDNIG8B2ArgLYBGqATgL6TyoDO8AYvgIIB0AhhQOZQjBw4UBGhxk3TsTx1GLDtx41F-QVkL4AxvACWAe3y0GzNgApFASjyRgwSAGEA8gCVnAUXsAVSJ4CaABTdIAHIiMkpgqEhoilR4QgpDRTFFAG5wKiERfjgkNEwcAhJyaiM5fAAhAD8VaEFhMBzYCQopGWMWasVlXlVwdS1dAzKTCvNeK1wbOwBJADknVw9vP0CQznxESOiYuISk3hTedKogA)
Bug,Domain: JSDoc
low
Critical
581,344,382
godot
Light2D on isometric TileMap issue without Ysort (or Quadrant set to 1)
**Godot version:** 3.2.1 **OS/device including version:** Windows 10 **Issue description:** Light2D produce weird behavior on isometric tilemap without Ysorting or with a Quadrant higher than 1. It's a bit problematic because on my test adding Ysort make me go from 500fps to 50fps and with a batch quadrant to 1 down to 150fps. **Steps to reproduce:** Make an isometric Tilemap, add light2D, dont add Ysorting and don't make quadrant equal 1 **Minimal reproduction project:** [TilesetLightBug.zip](https://github.com/godotengine/godot/files/4333267/TilesetLightBug.zip) No Y sorting, Quadrant 16 (the result varry with the quad size with visible "border") ![image](https://user-images.githubusercontent.com/471393/76689215-e8018380-6633-11ea-8d38-5ba1e8f5ce0b.png) Y sorting or Quadrant 1 ![image](https://user-images.githubusercontent.com/471393/76689221-f64f9f80-6633-11ea-93d3-1ba1cc2c46bd.png)
bug,topic:rendering,confirmed
low
Critical
581,408,948
terminal
Swap panes
Right now, after splitting my screen onto two panes, I cannot find a way to swap the panes between each other. In tmux it's possible to move/swap opened panes in different ways. Moving panes around in tmux: ``` C-a { move the current pane to the previous position C-a } move the current pane to the next position C-a C-o rotate window ‘up’ (i.e. move all panes) C-a M-o rotate window ‘down’ C-a ! move the current pane into a new separate window (‘break pane’) C-a :move-pane -t :3.2 split window 3's pane 2 and move the current pane there ``` Related tmux commands: * `swap-pane` e.g. `:swap-pane -s (first pane index) -t (second pane index)` * `move-pane`
Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task
low
Major
581,421,086
opencv
22 modules (main and contrib) depend on opencv_flann module (cv::flann::Index instead of cv::DescriptorMatcher)
##### System information (version) <!-- Example - OpenCV => 4.2 - Operating System / Platform => Windows 64 Bit - Compiler => Visual Studio 2017 --> - OpenCV => master (2a52e44bc605bf73502dee0e0e3954bcda19a246) - Operating System / Platform => Kubuntu 19.10 - Compiler => GCC g++ 9 ##### Detailed description The calib3d module makes use and obviously depends on the flann module. Another 21 modules depend on calib3d. This is a problem because disabling flann, which is a 3rd party (and a bit outdated) module/library disables half of the entire opencv library. The flann dependency can be relieved as flann itself doesn't do anything the opencv "native" BruteForceMatcher can't do, ofc with an increased processing cost. Ideally, calib3d (and any other directly depending on flann) should use the DescriptorMatcher interface and whatever implementation is available with conditional compilation or dependency injection (if u happen to use that approach somewhere else in the library). > Module opencv_calib3d disabled because opencv_flann dependency can't be resolved! > Module opencv_objdetect disabled because opencv_calib3d dependency can't be resolved! > Module opencv_stitching disabled because opencv_calib3d dependency can't be resolved! > Module opencv_aruco disabled because opencv_calib3d dependency can't be resolved! > Module opencv_bgsegm disabled because opencv_calib3d dependency can't be resolved! > Module opencv_ccalib disabled because opencv_calib3d dependency can't be resolved! > Module opencv_datasets disabled because opencv_flann dependency can't be resolved! > Module opencv_dpm disabled because opencv_objdetect dependency can't be resolved! > Module opencv_face disabled because opencv_objdetect dependency can't be resolved! > Module opencv_optflow disabled because opencv_calib3d dependency can't be resolved! > Module opencv_rapid disabled because opencv_calib3d dependency can't be resolved! > Module opencv_rgbd disabled because opencv_calib3d dependency can't be resolved! > Module opencv_sfm disabled because opencv_calib3d dependency can't be resolved! > Module opencv_shape disabled because opencv_calib3d dependency can't be resolved! > Module opencv_stereo disabled because opencv_calib3d dependency can't be resolved! > Module opencv_structured_light disabled because opencv_calib3d dependency can't be resolved! > Module opencv_superres disabled because opencv_optflow dependency can't be resolved! > Module opencv_surface_matching disabled because opencv_flann dependency can't be resolved! > Module opencv_videostab disabled because opencv_calib3d dependency can't be resolved! > Module opencv_xfeatures2d disabled because opencv_calib3d dependency can't be resolved! > Module opencv_ximgproc disabled because opencv_calib3d dependency can't be resolved! > Module opencv_xobjdetect disabled because opencv_objdetect dependency can't be resolved! As to why someone would want to disable the flann module, well could be multiple reasons, mine is I want to use the slightly updated and fully functional (opencv version won't work on multiple cores and some index types can't be used with binary features) official flann code but having both generates a lot of compilation and linking problems that can't be trivially solved with namespace prefixing. ##### Steps to reproduce Download opencv and contrib repos Configure cmake disabling the flann module with the "BUILD_opencv_flann" and confirm 21 modules get disabled by unmet dependency on calib3d (or something else that in turn depends on calib3d).
feature,priority: low,category: build/install
low
Minor
581,427,398
godot
Slider not able to slide on Touchscreen Devices
**Godot version:** 3.1.2 stable official **OS/device including version:** Mac which I am coding on 10.14.6 **Issue description:** Hslider not sliding on touchscreen devices. **Device Information:** iphone 6, software version 12.4.5 **Steps to reproduce:** (Run this project on an iPhone or similar touchscreen device) [GodotTester.zip](https://github.com/godotengine/godot/files/4333539/GodotTester.zip) **The video showing that it doesn't work:** [video.zip](https://github.com/godotengine/godot/files/4333556/video.zip) **Minimal reproduction project:** [GodotTester.zip](https://github.com/godotengine/godot/files/4333539/GodotTester.zip)
bug,platform:ios
low
Minor
581,440,412
create-react-app
Support pnpm/don't default to yarn lock
There are various places that treat `npm`/`yarn` as a binary choice. [`pnpm`](https://pnpm.js.org/) also exists and is pretty mature (and there may be others). https://github.com/facebook/create-react-app/blob/fa85f030de6843667202f912de841c276275df00/packages/create-react-app/createReactApp.js#L249 At the least it would be nice if CRA didn't create a yarn lockfile if it wasn't really sure it was executing with `yarn`.
issue: proposal,needs triage
low
Minor
581,443,983
pytorch
Unsupported ONNX op (Upsample 3D, bicubic) contrary to documentation
## 🐛 Bug NotImplementedError for nn.Upsample ONNX conversion when documented argument specs are met (3D input, bicubic interpolation) ## To Reproduce Steps to reproduce the behavior: 1. Create a module with `nn.Upsample(scale_factor=(4, 4), mode='bicubic')` 2. Provide a 3D example input when running `torch.onnx.export` on the module Observed output: ``` NotImplementedError: Input Error: Only 3D, 4D and 5D input Tensors supported (got 3D) for the modes: nearest | linear | bilinear | bicubic | trilinear (got bicubic) ``` ## Expected behavior Successful export ## Environment ``` Collecting environment information... PyTorch version: 1.5.0.dev20200313+cu100 Is debug build: No CUDA used to build PyTorch: 10.0 OS: Ubuntu 18.04.3 LTS GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 CMake version: version 3.13.2 Python version: 3.7 Is CUDA available: Yes CUDA runtime version: 10.0.326 GPU models and configuration: GPU 0: TITAN RTX GPU 1: TITAN RTX GPU 2: Quadro RTX 4000 Nvidia driver version: 440.44 cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.0 Versions of relevant libraries: [pip3] numpy==1.17.4 [pip3] torch==1.5.0.dev20200313+cu100 [pip3] torchfile==0.1.0 [pip3] torchvision==0.6.0.dev20200314+cu100 [conda] Could not collect ``` cc @fmassa
module: nn,triaged,module: vision
low
Critical
581,518,319
godot
[3.x] Autocomplete fails when typing the key before the value in a dictionary
**Godot version:** Godot 3.2.stable.official **OS/device including version:** Windows 10 home **Issue description:** When adding a key to the dictionary, the autocomplete does not work until I enter the value. The workaround is to start by entering `:any_value` then moving the cursor back and entering the key for the autocomplete to work. **Steps to reproduce:** Create the following script and try to add a key value pair to `data`, the enum does not autocomplete until a value is added : ``` extends Reference var data = {InnerClass.INNER_ENUM_VALUE_1:1} class InnerClass: enum {INNER_ENUM_VALUE_1} ``` **Minimal reproduction project:** Don't need a project, just the above script.
bug,topic:gdscript,topic:editor
low
Minor
581,541,809
go
x/pkgsite: consider reducing footer size
A spiritual cousin to #37110 perhaps ### What is the URL of the page with the issue? https://pkg.go.dev/github.com/CloudyKit/jet?tab=doc ### What is your user agent? Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36 ### Screenshot ![footer](https://user-images.githubusercontent.com/4984708/76696372-f22d7d00-6647-11ea-9c04-79ecd38d279a.png) ### What did you do? Visit the page. ### What did you expect to see? A footer like this: ![godoc-footer](https://user-images.githubusercontent.com/4984708/76696395-420c4400-6648-11ea-937e-29919d68bdd3.png) Or like this: ![golang-footer](https://user-images.githubusercontent.com/4984708/76696391-29039300-6648-11ea-8e97-66ee729ad503.png) Or this: ![github-footer](https://user-images.githubusercontent.com/4984708/76696406-5fd9a900-6648-11ea-9b03-b397eeca2aa3.png) Or this: ![swiftdoc-footer](https://user-images.githubusercontent.com/4984708/76696417-9fa09080-6648-11ea-9fec-cfa66f83c06e.png) Etc. ### What did you see instead? The footer in use takes up a lot of screen real estate! When you're scrolling fast through the docs, you hit bottom and then between the footer and the sticky header, you get this little visor with which to see actual documentation. You then have to scroll back up a little bit to be seeing the actual bottom "page" of the docs. In terms of the value of the content, you probably could check the stats on it, but I'm willing to bet most visitors to those pages would almost never click those links. Suggestion would be to have a short footer, like the current godoc. Or maybe just take the bottom section of the current footer: ![gopkg-suggest](https://user-images.githubusercontent.com/4984708/76696549-05d9e300-664a-11ea-8856-16cf886afcc9.png)
NeedsInvestigation,pkgsite,UX,pkgsite/frontend
low
Minor
581,601,104
node
perf_hooks/trace_events - nested measurements don't work as expected
<!-- Thank you for reporting an issue. This issue tracker is for bugs and issues found within Node.js core. If you require more general support please file an issue on our help repo. https://github.com/nodejs/help Please fill in as much of the template below as you're able. Version: output of `node -v` Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows) Subsystem: if known, please specify affected core module name --> * **v12.16.1**: * **Linux uxpanapa 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux**: * **Chrome Version 80.0.3987.132 (Official Build) (64-bit)**: ``` 'use strict'; const trace_events = require('trace_events'); const {performance: perf} = require('perf_hooks'); const fs = require('fs'); const tracing = trace_events.createTracing({ categories: ['node.perf.usertiming'], }); tracing.enable(); fs.readdirSync('.'); perf.mark('A'); fs.readdirSync('.'); perf.mark('B'); fs.readdirSync('.'); perf.mark('C'); perf.measure('B => C', 'B', 'C'); fs.readdirSync('.'); perf.mark('D'); perf.measure('A => D', 'A', 'D'); fs.readdirSync('.'); tracing.disable(); ``` ### How often does it reproduce? Is there a required condition? It reproduces every time. ### What is the expected behavior? i expect that `A => D` be shorter than `JavaScriptMainThread` and that `A => D` would be selectable in chrome://tracing. It's possible that it's just an omission from the documentation or that I missed a note that measurements cannot be nested. <!-- If possible please provide textual output instead of screenshots. --> ### What do you see instead? ![image](https://user-images.githubusercontent.com/4171707/76698827-7ee63400-6664-11ea-8f58-51a0ca82961f.png) node_trace.1.log: ``` {"traceEvents":[{"pid":29578,"tid":29578,"ts":1819702786241,"tts":22090,"ph":"M","cat":"__metadata","name":"process_name","dur":0,"tdur":0,"args":{"name":"node"}},{"pid":29578,"tid":29578,"ts":1819702786243,"tts":22092,"ph":"M","cat":"__metadata","name":"version","dur":0,"tdur":0,"args":{"node":"12.16.1"}},{"pid":29578,"tid":29578,"ts":1819702786245,"tts":22094,"ph":"M","cat":"__metadata","name":"thread_name","dur":0,"tdur":0,"args":{"name":"JavaScriptMainThread"}},{"pid":29578,"tid":29578,"ts":1819702786252,"tts":22101,"ph":"M","cat":"__metadata","name":"node","dur":0,"tdur":0,"args":{"process":{"versions":{"node":"12.16.1","v8":"7.8.279.23-node.31","uv":"1.34.0","zlib":"1.2.11","brotli":"1.0.7","ares":"1.15.0","modules":"72","nghttp2":"1.40.0","napi":"5","llhttp":"2.0.4","http_parser":"2.9.3","openssl":"1.1.1d","cldr":"35.1","icu":"64.2","tz":"2019c","unicode":"12.1"},"arch":"x64","platform":"linux","release":{"name":"node","lts":"Erbium"}}}},{"pid":29578,"tid":29578,"ts":1819702786241,"tts":22090,"ph":"M","cat":"__metadata","name":"process_name","dur":0,"tdur":0,"args":{"name":"node"}},{"pid":29578,"tid":29578,"ts":1819702786243,"tts":22092,"ph":"M","cat":"__metadata","name":"version","dur":0,"tdur":0,"args":{"node":"12.16.1"}},{"pid":29578,"tid":29578,"ts":1819702786245,"tts":22094,"ph":"M","cat":"__metadata","name":"thread_name","dur":0,"tdur":0,"args":{"name":"JavaScriptMainThread"}},{"pid":29578,"tid":29578,"ts":1819702786252,"tts":22101,"ph":"M","cat":"__metadata","name":"node","dur":0,"tdur":0,"args":{"process":{"versions":{"node":"12.16.1","v8":"7.8.279.23-node.31","uv":"1.34.0","zlib":"1.2.11","brotli":"1.0.7","ares":"1.15.0","modules":"72","nghttp2":"1.40.0","napi":"5","llhttp":"2.0.4","http_parser":"2.9.3","openssl":"1.1.1d","cldr":"35.1","icu":"64.2","tz":"2019c","unicode":"12.1"},"arch":"x64","platform":"linux","release":{"name":"node","lts":"Erbium"}}}},{"pid":29578,"tid":29578,"ts":1819702786664,"tts":22261,"ph":"R","cat":"node,node.perf,node.perf.usertiming","name":"A","dur":0,"tdur":0,"args":{}},{"pid":29578,"tid":29578,"ts":1819702786702,"tts":22295,"ph":"R","cat":"node,node.perf,node.perf.usertiming","name":"B","dur":0,"tdur":0,"args":{}},{"pid":29578,"tid":29578,"ts":1819702786720,"tts":22313,"ph":"R","cat":"node,node.perf,node.perf.usertiming","name":"C","dur":0,"tdur":0,"args":{}},{"pid":29578,"tid":29578,"ts":1819702786702,"tts":22350,"ph":"b","cat":"node,node.perf,node.perf.usertiming","name":"B => C","dur":0,"tdur":0,"id":"0x7ffd671fc568","args":{}},{"pid":29578,"tid":29578,"ts":1819702786720,"tts":22352,"ph":"e","cat":"node,node.perf,node.perf.usertiming","name":"B => C","dur":0,"tdur":0,"id":"0x7ffd671fc568","args":{}},{"pid":29578,"tid":29578,"ts":1819702786782,"tts":22375,"ph":"R","cat":"node,node.perf,node.perf.usertiming","name":"D","dur":0,"tdur":0,"args":{}},{"pid":29578,"tid":29578,"ts":1819702786664,"tts":22379,"ph":"b","cat":"node,node.perf,node.perf.usertiming","name":"A => D","dur":0,"tdur":0,"id":"0x7ffd671fc568","args":{}},{"pid":29578,"tid":29578,"ts":1819702786782,"tts":22381,"ph":"e","cat":"node,node.perf,node.perf.usertiming","name":"A => D","dur":0,"tdur":0,"id":"0x7ffd671fc568","args":{}},{"pid":29578,"tid":29578,"ts":1819702786241,"tts":22090,"ph":"M","cat":"__metadata","name":"process_name","dur":0,"tdur":0,"args":{"name":"node"}},{"pid":29578,"tid":29578,"ts":1819702786243,"tts":22092,"ph":"M","cat":"__metadata","name":"version","dur":0,"tdur":0,"args":{"node":"12.16.1"}},{"pid":29578,"tid":29578,"ts":1819702786245,"tts":22094,"ph":"M","cat":"__metadata","name":"thread_name","dur":0,"tdur":0,"args":{"name":"JavaScriptMainThread"}},{"pid":29578,"tid":29578,"ts":1819702786252,"tts":22101,"ph":"M","cat":"__metadata","name":"node","dur":0,"tdur":0,"args":{"process":{"versions":{"node":"12.16.1","v8":"7.8.279.23-node.31","uv":"1.34.0","zlib":"1.2.11","brotli":"1.0.7","ares":"1.15.0","modules":"72","nghttp2":"1.40.0","napi":"5","llhttp":"2.0.4","http_parser":"2.9.3","openssl":"1.1.1d","cldr":"35.1","icu":"64.2","tz":"2019c","unicode":"12.1"},"arch":"x64","platform":"linux","release":{"name":"node","lts":"Erbium"}}}},{"pid":29578,"tid":29578,"ts":1819702786241,"tts":22090,"ph":"M","cat":"__metadata","name":"process_name","dur":0,"tdur":0,"args":{"name":"node"}},{"pid":29578,"tid":29578,"ts":1819702786243,"tts":22092,"ph":"M","cat":"__metadata","name":"version","dur":0,"tdur":0,"args":{"node":"12.16.1"}},{"pid":29578,"tid":29578,"ts":1819702786245,"tts":22094,"ph":"M","cat":"__metadata","name":"thread_name","dur":0,"tdur":0,"args":{"name":"JavaScriptMainThread"}},{"pid":29578,"tid":29578,"ts":1819702786252,"tts":22101,"ph":"M","cat":"__metadata","name":"node","dur":0,"tdur":0,"args":{"process":{"versions":{"node":"12.16.1","v8":"7.8.279.23-node.31","uv":"1.34.0","zlib":"1.2.11","brotli":"1.0.7","ares":"1.15.0","modules":"72","nghttp2":"1.40.0","napi":"5","llhttp":"2.0.4","http_parser":"2.9.3","openssl":"1.1.1d","cldr":"35.1","icu":"64.2","tz":"2019c","unicode":"12.1"},"arch":"x64","platform":"linux","release":{"name":"node","lts":"Erbium"}}}},{"pid":29578,"tid":29578,"ts":1819702786241,"tts":22090,"ph":"M","cat":"__metadata","name":"process_name","dur":0,"tdur":0,"args":{"name":"node"}},{"pid":29578,"tid":29578,"ts":1819702786243,"tts":22092,"ph":"M","cat":"__metadata","name":"version","dur":0,"tdur":0,"args":{"node":"12.16.1"}},{"pid":29578,"tid":29578,"ts":1819702786245,"tts":22094,"ph":"M","cat":"__metadata","name":"thread_name","dur":0,"tdur":0,"args":{"name":"JavaScriptMainThread"}},{"pid":29578,"tid":29578,"ts":1819702786252,"tts":22101,"ph":"M","cat":"__metadata","name":"node","dur":0,"tdur":0,"args":{"process":{"versions":{"node":"12.16.1","v8":"7.8.279.23-node.31","uv":"1.34.0","zlib":"1.2.11","brotli":"1.0.7","ares":"1.15.0","modules":"72","nghttp2":"1.40.0","napi":"5","llhttp":"2.0.4","http_parser":"2.9.3","openssl":"1.1.1d","cldr":"35.1","icu":"64.2","tz":"2019c","unicode":"12.1"},"arch":"x64","platform":"linux","release":{"name":"node","lts":"Erbium"}}}},{"pid":29578,"tid":29578,"ts":1819702786241,"tts":22090,"ph":"M","cat":"__metadata","name":"process_name","dur":0,"tdur":0,"args":{"name":"node"}},{"pid":29578,"tid":29578,"ts":1819702786243,"tts":22092,"ph":"M","cat":"__metadata","name":"version","dur":0,"tdur":0,"args":{"node":"12.16.1"}},{"pid":29578,"tid":29578,"ts":1819702786245,"tts":22094,"ph":"M","cat":"__metadata","name":"thread_name","dur":0,"tdur":0,"args":{"name":"JavaScriptMainThread"}},{"pid":29578,"tid":29578,"ts":1819702786252,"tts":22101,"ph":"M","cat":"__metadata","name":"node","dur":0,"tdur":0,"args":{"process":{"versions":{"node":"12.16.1","v8":"7.8.279.23-node.31","uv":"1.34.0","zlib":"1.2.11","brotli":"1.0.7","ares":"1.15.0","modules":"72","nghttp2":"1.40.0","napi":"5","llhttp":"2.0.4","http_parser":"2.9.3","openssl":"1.1.1d","cldr":"35.1","icu":"64.2","tz":"2019c","unicode":"12.1"},"arch":"x64","platform":"linux","release":{"name":"node","lts":"Erbium"}}}}]} ``` ### Additional information <!-- Tell us anything else you think we should know. -->
trace_events
low
Critical
581,612,194
youtube-dl
IMVBox
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.08. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2020.03.08** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that none of provided URLs violate any copyrights - [x] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs <!-- Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours. --> - Single video: https://www.imvbox.com/watch-persian-movie-iranian-movies/two-woman-do-zan/play-film ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> Many of the films and TV shows on IMVBox are available for free, and don't require any credentials. Subtitles require credentials. Memberships are of three tiers: [free, monthly, and yearly](https://www.imvbox.com/members/membership).
site-support-request
low
Critical
581,655,922
PowerToys
[PowerRename] Insert String in Position x
Would be nice to have a option to insert a string on Position x from start / end because at the moment its imposible? to make a prefix / suffix on all files of a directory? there is a other request to have variables to be set / used for renaming - maybe this could be used to insert a string on a free position too. For example: Search-Field: {Var1}{OriginalFilename} Replace: {Var1}="xxxx" Or Search-Field: {OriginalFilename|-5}{Var1}{DateTime} And have a nice "Tagging-List like" GUI with default Variables like Filename, FileCreationDate, FileChangeDate, Exif... etc.
Issue-Docs,Product-PowerRename
medium
Major
581,681,028
rust
Compiler error wrongly suggests to borrow
We noticed that if a `HashMap<&str, T>` is instanced and a get is performed using `String` as a key, the rust compiler suggests to use a reference `&String` instead, but that solution won't compile. For example, given this code ```rust use std::collections::HashMap; fn main() { let mut m: HashMap<&str, u32> = HashMap::new(); let s: String = "hello".to_owned(); m.get(s); } ``` The compiler will print this error ``` 6 | m.get(s); | ^ | | | expected reference, found struct `std::string::String` | help: consider borrowing here: `&s` | ``` and if that change is applied the error becomes ``` | 6 | m.get(&s); | ^^^ the trait `std::borrow::Borrow<std::string::String>` is not implemented for `&str` ``` This is happening with rustc 1.42.0 on the playground. Edit: sorry I submitted the issue by mistake while incomplete :P
A-diagnostics,T-compiler,C-bug
low
Critical
581,682,673
rust
Statics don't support alignments larger than the page size
Example code: ```rust #[repr(align(0x100000))] struct Aligned(u8); static X: Aligned = Aligned(0); fn main() { let x = Aligned(0); println!("{:#x}", &x as *const _ as usize); println!("{:#x}", &X as *const _ as usize); println!("{:#x}", Box::into_raw(Box::new(Aligned(0))) as usize); } ``` Output: ``` 0x7ffec8000000 0x55c9b2596000 0x7f2879f00000 ``` I am not sure about other platforms, but in the case of Linux this happens because the [ELF loader](https://github.com/torvalds/linux/blob/master/fs/binfmt_elf.c) in the kernel ignores the `p_align` field of the ELF program headers and assumes page-alignment instead.
O-linux,P-high,T-compiler,O-windows-gnu,O-windows-msvc,I-unsound,A-target-specs,C-bug,E-needs-investigation,A-align
medium
Major
581,736,669
tensorflow
TF saved model Assertion Error ( Called a function referencing variables which have been deleted )
I am facing an issue . When returning a ```tf.saved_model.load``` object inside a function and then try to use it, it is not working. I am having a file ```sample.py``` ``` #### sample.py import tensorflow as tf def load_model(model_dir): # Load Model loaded = tf.saved_model.load(model_dir) model = loaded.signatures['serving_default'] print("Model Loaded") return model ``` When I am executing ```main.py``` ``` from sample import load_model model_dir = 'som_path of a saved model' model1 = load_model(model_dir) ``` If I print model.variables I am getting following error ``` AssertionError: Called a function referencing variables which have been deleted. This likely means that function-local variables were created and not referenced elsewhere in the program. This is generally a mistake; consider storing variables in an object attribute on first call. ``` But. If load the model with same code inside the function, but not using the function it works fine ``` #### main.py loaded = tf.saved_model.load(model_dir) model = loaded.signatures['serving_default'] ``` If I print model.variables, its working as expected.
type:bug,comp:apis,TF 2.11
medium
Critical
581,744,299
excalidraw
Compress before sending over network
Because we are encrypting all the data, we can’t use the browser provided compression to reduce the size of the payloads. Here are some findings from a quick survey: Chrome starts to ship gzip compression in 80. https://twitter.com/addyosmani/status/1228989899686260736?s=21 This is great because a lot of our traffic comes from 80. Unfortunately not sure how other browsers are going to decompress if they don’t support it... We can encode the data in a canvas and use save / load from png to read it. https://t.co/luzCR4g29H?amp=1 This is a good hack, I wonder how performance is. We can use a Rust-compiled version of various encoding/decoding libraries to wasm. Apparently the speed is great but the current wasm build is 150kb with 3 compressions techniques. We should just pick one to hopefully reduce the build size. https://github.com/drbh/wasm-flate Not sure which one we should go to but at least we have options
enhancement,collaboration
low
Major
581,787,847
rust
Failure to unify concrete type with associated type
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> I tried [this code](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=d2e06fa09bf3b1123cc6e62e1a31c595): ```rust trait Refable<'a> { type Ref; } impl<'a, R: 'a> Refable<'a> for R { type Ref = &'a R; } trait GetRef<F> { fn get_ref<'a>(&'a self) -> <F as Refable<'a>>::Ref where F: 'a + Refable<'a>; } struct Foo; struct Bar { foo: Foo, } impl<R: GetRef<Bar>> GetRef<Foo> for R { fn get_ref<'a>(&'a self) -> <Foo as Refable<'a>>::Ref where Foo: 'a + Refable<'a>, { // Doesn't compile &self.get_ref().foo // Compiles // fn get<'a>(r: <Bar as Refable<'a>>::Ref) -> <Foo as Refable<'a>>::Ref { // &r.foo // } // get(self.get_ref()) } } ``` I expected to see this happen: It compiles properly Instead, this happened: It fails with the following error: ```text error[E0308]: mismatched types --> src/lib.rs:27:9 | 22 | fn get_ref<'a>(&'a self) -> <Foo as Refable<'a>>::Ref | ------------------------- expected `<Foo as Refable<'a>>::Ref` because of return type ... 27 | &self.get_ref().foo | ^^^^^^^^^^^^^^^^^^^ expected associated type, found `&Foo` | = note: expected associated type `<Foo as Refable<'a>>::Ref` found reference `&Foo` = note: consider constraining the associated type `<Foo as Refable<'a>>::Ref` to `&Foo` or calling a method that returns `<Foo as Refable<'a>>::Ref` = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html ``` However, if I un-comment the code labeled "Compiles" above, which simply wraps the same expression in a bare function, it compiles successfully. ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> Version: 1.42.0 Stable (Playground)
A-associated-items,T-compiler,C-bug,A-coercions
low
Critical
581,791,689
excalidraw
Better touch handling
- [ ] abort first touch if a second `pointerdown` (i.e. for pan/zoom) occurs before the first pointer moves too far - fixes issues with selection, pan/zooming while making lines - [ ] tests! - [ ] maybe: support releasing one finger from a two-finger gesture to switch back to select/edit mode (the reverse currently works) - [ ] Select on `pointerup` for `touch` events https://github.com/excalidraw/excalidraw/issues/4017
mobile
low
Minor
581,802,187
terminal
Question: TCSAFLUSH equivalent for Windows console host?
Hello, On Unix systems, when setting up a terminal for 'raw' processing, you have the option of passing `TCSAFLUSH` to `tcsetattr()`. The description of it is as follows: > the change occurs after all output written to the object referred by fd has been transmitted, and all input that has been received but not read will be discarded before the change is made. This is quite convenient for certain types of applications since it means you won't get unexpected data back from reading `stdin` after you've made changes to terminal settings. I'm wondering if there is an equivalent to this for the Windows console host when using `SetConsoleMode()`?
Issue-Feature,Product-Conhost,Area-Server
low
Minor
581,805,434
flutter
[Desktop] Switch to app when using select widget mode
We have this functionality when using simulators and emulators, but not with desktop. After clicking select widget mode, the IDE is still focused.
framework,f: inspector,a: desktop,P3,team-framework,triaged-framework
low
Major
581,807,003
pytorch
keepdim for Tensor.select?
## 🚀 Feature I noticed quite some Tensor functions had a `keepdim` boolean param, tho not [`Tensor.select`](https://pytorch.org/docs/stable/tensors.html#torch.Tensor.select), where behavior is now what one would expect for `keepdim=False`. Would it maybe be an idea to add this parameter there as well?
triaged,function request,module: viewing and reshaping
low
Minor
581,807,409
create-react-app
Remove "[HMR] Waiting for update signal from WDS..." log
### Is your proposal related to a problem? I like my logs when things are working well. Right now for all my create-react-apps, I have this annoying "[HMR] Waiting for update signal from WDS..." log that pollutes my console. ![image](https://user-images.githubusercontent.com/197597/76709682-e7adca80-66bd-11ea-8c29-da0966f62796.png) ### Describe the solution you'd like I can see two options for solving this: - Either drop that log altogether. - Or only logs this after a delay if haven't been able to connect to the websocket server.
issue: proposal,needs triage
low
Major
581,808,106
vscode
[themes] Allow gradients along with colors
Please support CSS gradients where backgrounds and borders are theme-able. The latest version of VS Code you've confirmed to not have this feature is: 1.43.0
feature-request,themes
medium
Major
581,809,869
excalidraw
Add debugging tools/hooks
During my development, I regularly need to debug by having access to `elements` and `appState` from console. I do this by having a stash with `window` global props. Problem is I need to stash it after each PR is done, and apply the stash for new PRs (and reconcile with latest changes). It'd be great if we kept it permanently in the codebase (under `process.env.NODE_ENV === "development"`). - [x] `elements` - [x] `appState` - [x] `history` - [ ] draw [hitbox areas](https://github.com/excalidraw/excalidraw/issues/706#issuecomment-599257694) (would have to be explicitly enabled so as not to be distracting when not needed). - [ ] display element's `x`/`y`/`x2`/`y2`/`width`/`height` and be able to set them manually - [ ] display current `x`/`y` of cursor location (maybe show a label next to cursor)
discussion
low
Critical
581,812,073
node
Piping `process.stdin` to `child.stdin` leaves behind an open handle
* **Version**: `13.11.0` (tried on `8.3.0` too, same result) * **Platform**: Linux * **Subsystem**: Ubuntu `19.10` ### What steps will reproduce the bug? `foo.c` ```c #include <stdio.h> int main() { char str[100]; gets(str); puts(str); return 0; } ``` Compile it: ```bash $ gcc -o foo foo.c ``` `index.js`: ```js const { spawn } = require('child_process') const child = spawn('./foo') process.stdin.pipe(child.stdin) child.on('exit', () => { console.log('done') process.stdin.unpipe(child.stdin) }) ``` Launch `index.js`: ```shell $ node index.js input done ``` After entering some `input`, the child process exits and `done` is printed. However the main process does not exit (although it should). It looks like `process.stdin` has a left handle. After entering newline again on `stdin`, the process now exits. ### How often does it reproduce? Always ### What is the expected behavior? See above. ### What do you see instead? See above.
stream
medium
Critical
581,933,134
go
cmd/go: redact passwords in urls in "go bug"
When a user submits an issue, we also need the user to file the output of `go env`(many users don't use go bug command), so we should replace any non-empty password in GOPROXY environment by default. The string form replaces password in the original URL with "[redacted]". Like `go get -x`: ``` MBA:/tmp$ go get -x -v golang.org/x/tools # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/@v/list # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/tools/@v/list # get https://oiooj:%5Bredacted%[email protected]/golang.org/@v/list # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/tools/@v/list: 200 OK (0.649s) # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/tools/@latest # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/@v/list: 404 Not Found (0.649s) # get https://oiooj:%5Bredacted%[email protected]/golang.org/@v/list: 404 Not Found (0.649s) # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/tools/@latest: 200 OK (0.006s) go: downloading golang.org/x/tools v0.0.0-20200313205530-4303120df7d8 # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/tools/@v/v0.0.0-20200313205530-4303120df7d8.zip # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/tools/@v/v0.0.0-20200313205530-4303120df7d8.zip: 200 OK (0.196s) go: golang.org/x/tools upgrade => v0.0.0-20200313205530-4303120df7d8 # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/tools/@v/v0.0.0-20200313205530-4303120df7d8.mod # get https://oiooj:%5Bredacted%[email protected]/golang.org/x/tools/@v/v0.0.0-20200313205530-4303120df7d8.mod: 200 OK (0.032s) # get https://oiooj:%5Bredacted%[email protected]/github.com/yuin/goldmark/@v/v1.1.25.mod # get https://oiooj:%5Bredacted%[email protected]/github.com/yuin/goldmark/@v/v1.1.25.mod: 200 OK (0.028s) ``` ``` MBA:/tmp$ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/Users/test/Library/Caches/go-build" GOENV="/Users/test/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GONOPROXY="*.test.com" GONOSUMDB="*.test.com" GOOS="darwin" GOPATH="/Users/test/golang" GOPRIVATE="*.test.com" GOPROXY="https://username:%5Bredacted%[email protected],direct" GOROOT="/usr/local/go" GOSUMDB="off" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/dev/null" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/hg/ss37ccnn4_1fhhg_tdrzhggh0000gn/T/go-build962445838=/tmp/go-build -gno-record-gcc-switches -fno-common" ``` We should only change the `go env` and `go bug` command, we can get the original config from `go env GOPROXY` and `go env -json` at this time, since some tools today expect to parse `go env GOPROXY` and use `-json` option.
NeedsDecision,GoCommand
low
Critical
581,959,572
rust
OOM (huge memory usage) during release compilation with include_str of 100MB
When compiling a project of mine, my PC with 32GB of RAM went OOM. I reduced the problem to the following code: ```rust use std::collections::HashMap; static TESTDATA: &str = include_str!("../testdata"); fn parse_testdata() -> HashMap<(), ()> { let mut map = HashMap::new(); for line in TESTDATA.lines() { } map } pub fn do_stuff() { let (tx, _) = std::sync::mpsc::channel(); let testdata = parse_testdata(); tx.send(vec![0]).unwrap(); } fn main() { do_stuff(); } ``` Compiling this code with `/usr/bin/time -v cargo build --release` shows a maximum resident RAM usage of 16GB if testdata is generated with `python -c "print('foo bar baz qux 1337 42\n' * 4_500_000)" > testdata` (103MB). In debug mode, only 1.3GB RAM are used. It doesn't matter if edition is 2018 or not. Here are some different testdata sizes with their compilation memory usage: python generation | size | RAM | comment --- | --- | --- | --- `'foo bar baz qux 1337 42\n' * 4_500_000` | 103MB | 16GB | file structure similar to my real-world use-case `'foo bar baz qux 1337 42 ' * 4_500_000` | 103MB | 16GB | newlines don't matter `'a' * 100*1024*1024` | 100MB | 15.7GB | we can reduce this to simple file size `'a' * 80*1024*1024` | 80MB | 14GB `'a' * 50*1024*1024` | 50MB | 8GB `'a' * 25*1024*1024` | 25MB | 3.9GB `'a' * 10*1024*1024` | 10MB | 1.9GB `'a' * 1*1024*1024` | 1MB | 256MB If anything in the code is changed, the problem gets slightly better. Here is the RAM usage after some small changes for 100MB (for comparison, `include_str` just with a hello-world requires 670MB): * use a `Vec` instead of the `HashMap`: 2.5GB * create the HashMap at the end of of the `parse_testdata` function: 6GB * inline the `parse_testdata` function manually: 6GB * make `parse_testdata` not return anything and remove the HashMap from the function: 2.5GB * send `()` instead of `vec![0]`: 6GB * remove the channel creation and sending into it: 4.4GB * don't call `do_stuff`: 672MB ### Meta `uname -a`: `Linux 5.5.4-arch1-1-vfio #1 SMP PREEMPT Wed, 19 Feb 2020 15:49:02 +0000 x86_64 GNU/Linux` (Archlinux) Tested on (always testing with 100MB): * current stable: `rustc 1.42.0 (b8cedc004 2020-03-09)`: 16GB * current nightly: `rustc 1.43.0-nightly (45ebd5808 2020-03-15)`: 16GB * `rustc 1.41.1 (f3e1a954d 2020-02-24)`: 16GB * `rustc 1.41.0 (5e1a79984 2020-01-27)`: 16GB * `rustc 1.40.0 (73528e339 2019-12-16)`: 2.5GB * `rustc 1.39.0 (4560ea788 2019-11-04)`: 2.5GB * `rustc 1.38.0 (625451e37 2019-09-23)`: 6GB * `rustc 1.35.0 (3c235d560 2019-05-20)`: 6GB * `rustc 1.34.0 (91856ed52 2019-04-10)`: 6GB * `rustc 1.32.0 (9fda7c223 2019-01-16)`: 8GB * `rustc 1.30.0 (da5f414c2 2018-10-24)`: 5GB
P-medium,T-compiler,regression-from-stable-to-stable,I-compilemem,C-bug,ICEBreaker-Cleanup-Crew
low
Critical
582,060,382
ant-design
增加表格筛选父级字段高亮
- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate. ### What problem does this feature solve? 增加筛选父级字段高亮 ![QQ浏览器截图20200316151319](https://user-images.githubusercontent.com/3166799/76731803-34b29f00-6799-11ea-876a-6d5c299c75e9.png) <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
help wanted,Inactive,improvement
low
Major
582,075,037
godot
GIProbe only works on its siblings and parent nodes, or docs didn't mention about it
**Godot version:** 3.2, 3.2.1 **OS/device including version:** Windows 10, GTX 1050Ti **Issue description:** ![GIProbeIsFamilyGuy](https://user-images.githubusercontent.com/4294611/76733686-a80dde00-67a4-11ea-8eff-cb18d72d426e.png) GIProbe's extents covers both objects. As you can see it works properly only on LeftBox, which it is a child of. But it's not like RightBox is totally ignored by GIProbe. Below is when you hide GIProbe. Comparing to the above image, you can see RightBox was actually affected by it but not in a proper way. ![GIProbeIsGone png](https://user-images.githubusercontent.com/4294611/76733701-ad6b2880-67a4-11ea-95a8-d3af4ffd70b5.png) I'm not sure this is intended behavior or not. If it is, I guess this is documentation issue as this "quirk"(?) is not mentioned there. ([tutorial](https://docs.godotengine.org/en/latest/tutorials/3d/gi_probes.html), [API page](https://docs.godotengine.org/en/latest/classes/class_giprobe.html)) **Steps to reproduce:** **Minimal reproduction project:** Above project: [GIProbeIsFamilyGuy.zip](https://github.com/godotengine/godot/files/4336806/GIProbeIsFamilyGuy.zip)
topic:rendering,documentation
low
Minor
582,082,418
pytorch
Is it possible to run an object detection android app by using Pytorch Mobile?
Hi, I want to use Pytorch Mobile if it is possible to run the trained mobilenet-ssd model with my dataset on Android. So I just want to know whether it is possible or not. Does it depend on app development because Pytorch mobile can support the model perfectly?
triaged,module: android
low
Minor
582,232,686
godot
Opening a file with write flag and calling get_as_text() just blocks the game
**Godot version:** 3.2 **OS/device including version:** Windows 10 **Issue description:** The following minimal program blocks the game instead of throwing an error like would be expected: ``` func _ready(): var file := File.new() file.open("test.txt", File.WRITE) var test = file.get_as_text() print(test) file.close() ``` with test.txt being the following text file: ``` banana pear ``` Running this program just puts the program in an eternal loop... instead of crashing or at least throwing an error.
bug,topic:core,confirmed
low
Critical
582,259,041
youtube-dl
Support Vue Mastery
## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.08. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2020.03.08** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that none of provided URLs violate any copyrights - [x] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs - Single video: https://www.vuemastery.com/courses/intro-to-vue-js/vue-instance - Single video: https://www.vuemastery.com/courses/advanced-components/the-introduction - Single video: https://www.vuemastery.com/courses/advanced-components/evan-you-on-mounting-process ## Description - They're using Vimeo as their video provider - https://www.vuemastery.com/courses/intro-to-vue-js/vue-instance => https://player.vimeo.com/video/258707456 - https://www.vuemastery.com/courses/advanced-components/the-introduction => https://player.vimeo.com/video/263589430 - https://www.vuemastery.com/courses/advanced-components/evan-you-on-mounting-process => https://player.vimeo.com/video/263589430 - You can see the whole playlist next to each video, but there's no page with only a listing of all course videos
site-support-request
low
Critical
582,302,566
opencv
unstable frame count
Hi, I am getting different frame count for the same video on different machines. **Code used to find frame count:** ``` import cv2 cap= cv2.VideoCapture("2653582916.mp4") i=0 while(cap.isOpened()): ret, frame = cap.read() if ret == False: break i+=1 print(i) ``` **Output on machine 1** 72 **Output on machine 2** 80 **System Information** **Machine 1** OpenCV = 4.1.1.26 OS = Ubuntu 18.04.4 LTS 16 Core / 32GB RAM **Machine 2** OpenCV = 4.1.1.26 OS = Ubuntu 18.04.3 LTS 8 Core /16GB RAM frame count will vary depends on machines? please help me out.
bug,category: videoio
medium
Major
582,372,238
angular
Service Worker "Quota exceeded" can break all JS (ERR_FAILED)
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅 Oh hi there! 😄 To expedite issue processing please search open and closed issues before submitting a new one. Existing issues often contain information about workarounds, resolution, or progress updates. 🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅--> # 🐞 bug report ### Affected Package <!-- Can you pin-point one or more @angular/* packages as the source of the bug? --> <!-- ✍️edit: --> The issue is caused by package @angular/service-worker ### Is this a regression? <!-- Did this behavior use to work in the previous version? --> <!-- ✍️--> Not sure ### Description The service worker fails to load core JS files with `DOMException: Quota exceeded.` This results in just a white page being shown, with a broken app. Angular 9.0.4 Chromium 80 ![image](https://user-images.githubusercontent.com/697707/76769191-ca076080-67a4-11ea-8690-93f4030e0a5b.png) ![image](https://user-images.githubusercontent.com/697707/76769205-cf64ab00-67a4-11ea-8f2a-ccaaa3a407e2.png) I've migrated from a custom workbox based serviceworker to the angular native service worker and now running into this. Force reloading (`ctrl+f5`) makes everything load, but the error returns on the next normal load. After using DevTools to debug it, I found that the error is `DOMException: Quota exceeded.` and occurs in this block: ![image](https://user-images.githubusercontent.com/697707/76770457-acd39180-67a6-11ea-8f76-3c1cf34f2c14.png) ## 🔬 Minimal Reproduction Hard to reproduce unfortunately, needs low disk space or a big app being cached. ## 🔥 Exception or Error <pre><code> The FetchEvent for ".../runtime-es2015.91c3f469886b8efa1fca.js" resulted in a network error response: the promise was rejected. Promise.then (async) onFetch @ ngsw-worker.js:1993 (anonymous) @ ngsw-worker.js:1928 </code></pre> ## 🌍 Your Environment **Angular Version:** <pre><code>9.0.4</code></pre> **Anything else relevant?** <!-- ✍️Is this a browser specific issue? If so, please specify the browser and version. --> <!-- ✍️Do any of these matter: operating system, IDE, package manager, HTTP server, ...? If so, please mention it below. --> Might be related to #21412 and #33793 which both appear fixed. I'm not sure what the right fix here would be, I think fallback to network might be appropriate rather than completely failing the request.
type: bug/fix,effort2: days,help wanted,freq1: low,area: service-worker,state: confirmed,P3
low
Critical
582,404,927
go
cmd/go: document/clarify how `go env` infers `CC` and `CXX` when not set.
<!-- 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 linux/amd64 </pre> ### Does this issue reproduce with the latest release? I don't know ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env fred@fred-linux:~/src/server/build$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/fred/.cache/go-build" GOENV="/home/fred/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/fred/go:/home/fred/src/server/Gofred/" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/linuxbrew/.linuxbrew/Cellar/go/1.14/libexec" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/linuxbrew/.linuxbrew/Cellar/go/1.14/libexec/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc-5" CXX="g++-5" 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-build142698688=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? I probably had `gcc-5` as the default compiler on my ubuntu system. Then I did change the default compiler (with `update-alternative`) so that `gcc` now invokes `gcc-8` (same for g++). I have some c++ code I try to bridge with cgo that relies on c++ 17. I try to build it this way go build -x -o /home/fred/src/server/build/libcppgow.so -buildmode=c-shared main.go The output shows me it is using `g++-5` (and the build fails, of course). `go env` also shows: CC="gcc-5" CXX="g++-5" Somehow, `go` does not want to use the default compiler. He might have cache somewhere the default compiler from an earlier invocation. Or it might use the compiler at the time I installed `go` (using `brew`). <!-- If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on play.golang.org is best. --> ### What did you expect to see? I expect the `CC/CXX` are inferred to be the default compiler of the platform. If I'm wrong, then you should clearly document how `CC/CXX` are inferred.
Documentation,NeedsFix
low
Critical
582,433,756
rust
found a bug in the borrow checker
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> I tried this code: ```rust fn main() { let mut zero = &mut 0; let mut one = 1; { let mut _r = &mut zero; let mut y = &mut one; _r = &mut y; } println!("{}", one); // compiler complains that there's a mutable reference. println!("{}", zero); } ``` I expected to see this happen: print 1 then 0. Instead, this happened: compile error ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.42.0 (b8cedc004 2020-03-09) binary: rustc commit-hash: b8cedc00407a4c56a3bda1ed605c6fc166655447 commit-date: 2020-03-09 host: x86_64-pc-windows-msvc release: 1.42.0 LLVM version: 9.0 ``` <!-- Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your environment. E.g. `RUST_BACKTRACE=1 cargo build`. --> <details><summary>Backtrace</summary> <p> ``` error[E0502]: cannot borrow `one` as immutable because it is also borrowed as mutable --> src\main.rs:11:20 | 7 | let mut y = &mut one; | -------- mutable borrow occurs here ... 11 | println!("{}", one); | ^^^ immutable borrow occurs here 12 | println!("{}", zero); | ---- mutable borrow later used here ``` </p> </details> EDIT: Here's a concise version of the original snippet which produces the same error: ``` fn main() { let mut v1 = &mut 0; let mut v2 = 1; { let mut x = &mut &mut v2; x = &mut v1; } println!("{}", v2); // compiler would complain there's a mutable reference. println!("{}", v1); } ``` it is weird since the buggy behavior depends on the access order between the variables v1 and v2, if change the order or access only one of the two variables, the compiler error disappears
A-borrow-checker,T-compiler,C-bug,fixed-by-polonius
low
Critical
582,437,283
rust
Type Parameter Name becomes “_” in Part of Error Message
```rust fn main() { let x1 = [Ok(1), Ok(0)]; } ``` ([Playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=bc4501ab19de8c78f0c5326351412108)) Errors: ``` Compiling playground v0.0.1 (/playground) error[E0282]: type annotations needed for `[std::result::Result<i32, _>; 2]` --> src/main.rs:4:15 | 4 | let x1 = [Ok(1), Ok(0)]; | -- ^^ cannot infer type for type parameter `E` declared on the enum `Result` | | | consider giving `x1` the explicit type `[std::result::Result<i32, _>; 2]`, where the type parameter `E` is specified error: aborting due to previous error For more information about this error, try `rustc --explain E0282`. error: could not compile `playground`. To learn more, run the command again with --verbose. ``` Above, note the “consider giving `x1` the explicit type…” part of the error message, where it mentions `E`, but in the type we only have a `_`. In a more straightforward case (without the array) the error message is ``` | 4 | let x0 = Ok(1); | -- ^^ cannot infer type for type parameter `E` declared on the enum `Result` | | | consider giving `x0` the explicit type `std::result::Result<i32, E>`, where the type parameter `E` is specified ``` which makes a lot more sense, since the `E` actually appears in the type.
C-enhancement,A-diagnostics,T-compiler,D-papercut
low
Critical
582,451,922
pytorch
Semantic differences between forward and backward of upsampling2d/3d in channels last (NHWC, NDHWC) format.
## 🚀 Feature Preserving memory input memory format in upsampling nearest model op. Forward and backward. ## Motivation At the moment, upsample nearest kernels, forward and backward, return output in the contiguous format, ignoring the input memory format. For example, if the input was channel last the output will still be in contiguous, channels first, format. This PR introduces https://github.com/pytorch/pytorch/pull/34597/, introduces upsample nearest in channel last format (for 2d/3d variants), but only does so for forward calls. The backward of the ops are still in the contiguous memory format. Thus it introduces a discrepancy where the forward pass preserves the input memory format during upsample nearest 2d/3d but backward pass of the same op does not. ## Pitch Ideally each op returns the tensor in not `.contiguous()` format but in `.contiguous(input.suggest_memory_format())` thus preserving the input format. cc @VitalyFedyunin @jamesr66a
triaged,module: memory format
low
Minor
582,460,106
pytorch
[JIT] Tensor.add_ incorrect schema matching on overloads
# Reproduce ``` #!/usr/bin/env python3 import torch from torch import Tensor from torch.testing import FileCheck from torch.testing._internal.common_utils import TestCase class JitAtenOp(TestCase): def test_use_in_place_add(self): """ For native::add_(..), JIT chose the wrong overload once, put this test case to avoid this from hapenning again. """ def use_in_place_add(param: Tensor, grad: Tensor, clr: float) -> Tensor: # pyre-ignore [16]: `Tensor` has no attribute `add_`. return param.add_(clr, grad) initial_param = torch.ones(2, 5) grad = torch.randn(2, 5) clr: float = -1e-2 # Scenario 1, function is NOT scripted py_param = initial_param.clone() py_result = use_in_place_add(py_param, grad, clr) self.assertNotEqual(initial_param, py_param) # Scenario 2, function is scripted # Overload has problem, expect error at this step. use_in_place_add_ts = torch.jit.script(use_in_place_add) print(use_in_place_add_ts.graph) FileCheck().check("aten::add_").run(str(use_in_place_add_ts.graph)) ts_param = initial_param.clone() ts_result = use_in_place_add_ts(ts_param, grad, clr) ``` PythonArgParser gives warning and use the correct overload, ``` caffe2/torch/csrc/utils/python_arg_parser.cpp:739: UserWarning: This overload of add_ is deprecated: add_(Number alpha, Tensor other) Consider using one of the following signatures instead: add_(Tensor other, Number alpha) TORCH_WARN_ONCE(msg); ``` JIT use the wrong overload and insert a `aten::SclarImplicit`, because it by default allows conversion. https://github.com/pytorch/pytorch/blob/c235be42ddecc3c4e1cdf192ca2764455082c1c6/torch/csrc/jit/frontend/schema_matching.cpp#L102 cc @suo
oncall: jit,triaged
low
Critical
582,463,081
rust
Bad diagnostic for match ergonomics
This is a reopening of https://github.com/rust-lang/rust/issues/51743 to not lose track of the diagnostic issue which still remains to this day. Match ergonomics can create quite confusing errors. For instance: ```rust fn main() { let option = MyOption::MySome(String::new()); option.take(); } enum MyOption<T> { MyNone, MySome(T), } impl<T> MyOption<T> { fn take(&mut self) -> Option<T> { match self { MyOption::MySome(value) => { *self = MyOption::MyNone; Some(value) }, MyOption::MyNone => None, } } } ``` ([playground](http://play.rust-lang.org/?gist=60bcff8572f84305326419697eb11df6&version=stable&mode=debug)) gives the following error message: ``` error[E0308]: mismatched types --> src/main.rs:16:22 | 16 | Some(value) | ^^^^^ expected type parameter, found &mut T | = note: expected type `T` found type `&mut T` ``` This error message is not even helping the user to figure out what the problem is. Here, it's like if value was of type `&mut T` instead of `T`.
E-hard,C-enhancement,A-diagnostics,P-low,T-compiler,E-medium
low
Critical
582,466,414
TypeScript
TypeScript import suggestion not showing symlinked modules
*TS Template added by @mjbvz* **TypeScript Version**: 3.8.3 **Search Terms** - yarn yarn2 --- [ts-yarnv2-symlink.zip](https://github.com/microsoft/vscode/files/4334696/ts-yarnv2-symlink.zip) Issue Type: <b>Bug</b> Open the included project and run `yarn` at root to initialize everything. This is a `yarn` V2 workspace project with `node_modules` linker, allowing a monorepo to gather its sub-packages to the top level `node_modules` to reference together. You can see here that `node_modules` has `ws1` and `ws2` of the inner packages. <img width="1284" alt="Screenshot 2020-03-16 00 39 04" src="https://user-images.githubusercontent.com/5653276/76707222-f62cce00-671f-11ea-825a-3ed130bae2d1.png"> Go to file `p1.ts` that attempts to use `p2Function` from an another package. I have put the dependency in `package.json` as well. Try to call the import suggestion and it is not aware of possible choice. <img width="1002" alt="Screenshot 2020-03-16 00 39 13" src="https://user-images.githubusercontent.com/5653276/76707234-00e76300-6720-11ea-959b-99ef8b5629c4.png"> Uncomment the first line and see that the line works, and go to definition works. Therefore, the suggestion has a bug that can't take symlinked packages in account. Moving the `p2.ts` file into `p2/index.ts` didn't enable the suggestion either. <img width="1046" alt="Screenshot 2020-03-16 00 39 18" src="https://user-images.githubusercontent.com/5653276/76707235-03e25380-6720-11ea-91e0-ce92eb01a480.png"> VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:34:44.548Z) OS version: Darwin x64 19.3.0 <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz (4 x 2900)| |GPU Status|2d_canvas: enabled<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>oop_rasterization: disabled_off<br>protected_video_decode: unavailable_off<br>rasterization: enabled<br>skia_renderer: disabled_off_ok<br>video_decode: enabled<br>viz_display_compositor: enabled_on<br>viz_hit_test_surface_layer: disabled_off_ok<br>webgl: enabled<br>webgl2: enabled| |Load (avg)|11, 18, 17| |Memory (System)|8.00GB (0.08GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| </details><details><summary>Extensions (38)</summary> Extension|Author (truncated)|Version ---|---|--- svelte-intellisense|ard|0.7.1 npm-intellisense|chr|1.3.0 mustache|daw|1.1.1 dotnet-test-explorer|for|0.7.1 svelte-vscode|Jam|0.9.3 vscode-edit-csv|jan|0.2.6 vscode-peacock|joh|3.6.0 docomment|k--|0.1.8 graphql-for-vscode|kum|1.15.3 Kotlin|mat|1.7.1 vscode-clang|mit|0.2.3 HTMLHint|mka|0.6.0 lc3-assembly|mke|0.1.5 csharp|ms-|1.21.14 cpptools|ms-|0.26.3 Go|ms-|0.13.1 color-highlight|nau|2.3.0 language-liquid|nei|0.1.1 much-assembly-required-language-support|PJB|0.1.5 java|red|0.58.0 postcss|ric|2.0.0 text-marker|ryu|1.11.0 vscode-bolt-language|smk|0.0.4 ayu|tea|0.18.0 vsfire|tob|1.4.1 ink|tom|0.1.0 sort-lines|Tyr|1.9.0 unity-debug|Uni|2.7.3 vscodeintellicode|Vis|1.2.6 vscode-java-debug|vsc|0.25.1 vscode-java-dependency|vsc|0.9.0 vscode-java-pack|vsc|0.8.1 vscode-java-test|vsc|0.22.2 vscode-maven|vsc|0.21.1 vim|vsc|1.13.0 better-align|wwm|1.1.6 vscode-surround|yat|1.0.2 vscode-proto3|zxh|0.4.2 (34 theme extensions excluded) </details> <!-- generated by issue reporter -->
Needs Investigation
low
Critical
582,508,899
go
x/crypto/acme: better document Register behavior when account already exists
Currently when `Client.Register` is called and an account already exists the behavior diverges based on the server implementation. If the server is pre-8555 it just returns the account object and no error, if it is 8555 compliant it returns no account object and a `ErrAccountAlreadyExists` error. In the latter case it will also store the account KID internally, allowing for follow-up requests (although this is not documented). Ideally for 8555 servers `Client.Register` should return the account object when it already exists (perhaps in conjunction with the `ErrAccountAlreadyExists` error) so that the user doesn't have to do two requests to actually get the object (`Client.Regiser` and `Client.GetReg`), but at the least the documentation should be improved to actually say what happens in this circumstance.
Documentation,NeedsInvestigation
low
Critical
582,513,268
node
RFC: update Pull Requests with summary of CI failures
`ncu-ci` is quite useful to get summary of failures in our CI, but it still requires us to use an external program to fetch the information from Jenkins. We could use our `github-bot` to post the information generated by `ncu-ci` back to the PR, either as a new comment or by editing the bot's comment on that PR. This would also allow us to keep a history of CI failures (since our Jenkins jobs are not persistent). Is that something other collaborators want as well? I'm looking for feedback before implementing it. If folks want example of what this would look like, I've updated all CI runs with their respective summaries in https://github.com/nodejs/node/pull/32116. It would look like this: ![img-2020-03-16-112234](https://user-images.githubusercontent.com/4048656/76788625-7ed75880-6778-11ea-8b4b-b278c06a05c7.png) ![img-2020-03-16-112246](https://user-images.githubusercontent.com/4048656/76788623-7e3ec200-6778-11ea-9e14-f564d82b81b3.png) Or, as a standalone comment: ![img-2020-03-16-112340](https://user-images.githubusercontent.com/4048656/76788709-afb78d80-6778-11ea-9599-eff5072e508c.png)
meta
low
Critical
582,520,490
flutter
viewport.dart: Failed assertion: 'correctedOffset.isFinite': is not true.`
## Steps to Reproduce 1. Run `flutter create bug`. 2. Replace main.dart with [this one](https://gist.github.com/afitz0/dd59f55b85e28900727b145d23de526a). 3. Run app, click FAB. **Expected results:** List scrolls to the bottom. **Actual results:** `'package:flutter/src/rendering/viewport.dart': Failed assertion: line 1328 pos 12: 'correctedOffset.isFinite': is not true.` (see logs below). The intent behind this project is to have a variable-length list that scrolls to the bottom on user action. In this case, I have it just a flat list in a State, but the same effect happens if it's in a Provider or backed by some thing else. In this case, the fix is simple: I just forgot to add `itemCount` to the ListView.builder (and then not return nulls in `itemBuilder`). But the assertion message told me to come here if the message didn't give me enough information. It didn't, and so I'm here. :) <details> <summary>Logs</summary> <!-- Relevant logs: --> ``` [ ] flutter: The following assertion was thrown during performLayout(): [ ] flutter: 'package:flutter/src/rendering/viewport.dart': Failed assertion: line 1328 pos 12: [ ] flutter: 'correctedOffset.isFinite': is not true. [ ] flutter: [ ] flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially [ ] flutter: more information in this error message to help you determine and fix the underlying cause. [ ] flutter: In either case, please report this assertion by filing a bug on GitHub: [ ] flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md [ ] flutter: [ ] flutter: The relevant error-causing widget was: [ ] flutter: ListView file:///Users/afitzgibbon/src/listview_assert_message/lib/main.dart:38:25 [ ] flutter: [ ] flutter: When the exception was thrown, this was the stack: [ ] flutter: #2 RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1328:12) [ ] flutter: #3 RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1285:20) [ ] flutter: #4 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1584:7) [ ] flutter: #5 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:844:18) [ ] flutter: #6 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:344:19) [ ] flutter: #7 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:774:13) [ ] flutter: #8 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:283:5) [ ] flutter: #9 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1102:15) [ ] flutter: #10 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1041:9) [ ] flutter: #11 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:957:5) [ ] flutter: #15 _invoke (dart:ui/hooks.dart:259:10) [ ] flutter: #16 _drawFrame (dart:ui/hooks.dart:217:3) [ ] flutter: (elided 5 frames from class _AssertionError and package dart:async) [ ] flutter: [ ] flutter: The following RenderObject was being processed when the exception was fired: RenderViewport#c3726 NEEDS-LAYOUT: [ ] flutter: needs compositing [ ] flutter: creator: Viewport ← IgnorePointer-[GlobalKey#b068f] ← Semantics ← _PointerListener ← Listener ← [ ] flutter: _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#7cb99] ← [ ] flutter: _PointerListener ← Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#5e317] ← Scrollable ← [ ] flutter: ⋯ [ ] flutter: parentData: <none> (can use size) [ ] flutter: constraints: BoxConstraints(0.0<=w<=414.0, h=190.0) [ ] flutter: layer: OffsetLayer#575ad [ ] flutter: size: Size(414.0, 190.0) [ ] flutter: axisDirection: down [ ] flutter: crossAxisDirection: right [ ] flutter: offset: ScrollPositionWithSingleContext#4b46e(offset: Infinity, range: 0.0..Infinity, viewport: [ ] flutter: 190.0, ScrollableState, BouncingScrollPhysics, [ ] flutter: DrivenScrollActivity#b1d19(AnimationController#79221(▶ Infinity; for DrivenScrollActivity)), [ ] flutter: ScrollDirection.idle) [ ] flutter: anchor: 0.0 [ ] flutter: This RenderObject had the following descendants (showing up to depth 5): [ ] flutter: center child: RenderSliverPadding#08004 relayoutBoundary=up1 [ ] flutter: child: RenderSliverList#4c280 relayoutBoundary=up2 [ ] flutter: child with index 0: RenderIndexedSemantics#695a2 relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#4d078 relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#3674b relayoutBoundary=up5 [ ] flutter: child with index 1: RenderIndexedSemantics#ae028 relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#62ee4 relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#b8b29 relayoutBoundary=up5 [ ] flutter: child with index 2: RenderIndexedSemantics#f17c3 relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#1d082 relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#1da1a relayoutBoundary=up5 [ ] flutter: child with index 3: RenderIndexedSemantics#9ffce relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#43fca relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#d5625 relayoutBoundary=up5 [ ] flutter: child with index 4: RenderIndexedSemantics#832de relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#68af9 relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#0d604 relayoutBoundary=up5 [ ] flutter: child with index 5: RenderIndexedSemantics#32ee6 relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#5e153 relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#29a3a relayoutBoundary=up5 [ ] flutter: child with index 6: RenderIndexedSemantics#200b1 relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#24b27 relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#90878 relayoutBoundary=up5 [ ] flutter: child with index 7: RenderIndexedSemantics#ba6f1 relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#f7f23 relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#e16e6 relayoutBoundary=up5 [ ] flutter: child with index 8: RenderIndexedSemantics#d6b62 relayoutBoundary=up3 [ ] flutter: child: RenderRepaintBoundary#396d0 relayoutBoundary=up4 [ ] flutter: child: RenderParagraph#15710 relayoutBoundary=up5 [ ] flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ [+14714 ms] Application finished. ``` <!-- `flutter analyze` --> ``` Analyzing listview_assert_message... No issues found! (ran in 1.9s) ``` <!-- `flutter doctor -v` --> ``` [✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en-US) • Flutter version 1.12.13+hotfix.8 at /Users/afitzgibbon/src/flutter • Framework revision 0b8abb4724 (5 weeks ago), 2020-02-11 11:44:36 -0800 • Engine revision e1e6ced81d • Dart version 2.7.0 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0-rc2) • Android SDK at /Users/afitzgibbon/Library/Android/sdk/ • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.0-rc2 • ANDROID_HOME = /Users/afitzgibbon/Library/Android/sdk/ • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • 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 11C504 • CocoaPods version 1.7.3 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 44.0.2 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [!] IntelliJ IDEA Community Edition (version 2019.3.3) • IntelliJ at /Applications/IntelliJ IDEA CE.app ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • For information about installing plugins, see https://flutter.dev/intellij-setup/#installing-the-plugins [✓] VS Code (version 1.43.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.8.1 [✓] Connected device (1 available) • iPhone 11 Pro Max • 23878026-01DB-4EC7-A906-4034C3995D3E • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) ! Doctor found issues in 1 category. ``` </details>
c: crash,framework,f: scrolling,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework
low
Critical
582,529,304
thefuck
Feature request - "fuck" for "fuck" that's misspelled
If I say fruck or fuk, I want to say "fuck" and it should give me the corrent version of the first fuck.
wontfix
medium
Critical
582,546,242
electron
Better support for --js-flags and other CLI arguments in a packaged app
### Preflight Checklist * [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project. * [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to. * [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success. ### Problem Description Packaged apps need a lower-touch method of leveraging `--js-flags` and other electron CLI options that can only be passed in as arguments currently. **Specific use case** `--max-old-space-size` to increase V8 heap size of the **main process in production**. **Additional Context** Our company builds a photo processing application that moves as much analysis out of the renderer process as possible (IPC to main process for all non-renderer work and heavy utilization of node child processes). We can avoid OOMs in the renderer with `app.commandLine.appendSwitch('js-flags', '--max-old-space-size=XXXX');` but that does us no good for the main process that's already running. This creates a perverse incentive to disable sandboxing and force more logic into the renderer process. Similarly `v8.setFlagsFromString` (and the electron [built-in `v8Flags` package.json property](https://github.com/electron/electron/blob/5e7c59469156ba68f2e161a81dda372c5d5ec429/lib/browser/init.ts#L148)) does no good because the isolate has already been created and `--max-old-space-size` is a noop once the isolate has already been created. ### Importance This is a [very](https://github.com/electron-userland/electron-builder/issues/3550) [common](https://github.com/electron-userland/electron-builder/issues/3781) [userland](https://github.com/electron-userland/electron-builder/issues/1541) [request](https://stackoverflow.com/questions/45288492/how-to-pass-an-argument-to-electron-when-using-electron-builder) that is frequently misunderstood and [dismissed by userland maintainers as technically infeasible](https://github.com/electron-userland/electron-builder/issues/2562#issuecomment-405187285). Furthermore, all of the common requests for how to increase memory limit in electron core [respond with "use --js-flags"](https://github.com/electron/electron/issues/2056) but no mention of how to make this actually work in production. Additionally, lowering the barrier to experimenting with new flags in packaged apps could reduce the burden of transitioning features [like sandbox](https://github.com/electron/electron/issues/15760). ### Proposed Solution Electron reads additional flags from a known filename pattern (`electron.opts` perhaps? naming very much open to suggestion) on startup that can be processed before the v8 isolate is created/other initialization occurs that render setting flags from within the main process "too little too late". While on first blush this seemed potentially insecure to me, if the user can already pass these exact flags to the application, a malicious user with filesystem access could already modify the shortcut/plist to the same effect. ### Relevant Change Locations Not entirely sure, maybe here? https://github.com/electron/electron/blob/19314d3cafc5ec1c4b1f1316b3f5d9744f8e9604/shell/browser/javascript_environment.cc#L48-L54 or here? https://github.com/electron/electron/blob/19314d3cafc5ec1c4b1f1316b3f5d9744f8e9604/shell/app/node_main.cc#L102-L141 ### Alternatives Considered - Custom compilations of electron with the flags hardcoded (large amount of work and maintenance, only accessible to a small subset of electron population from what I've seen so far) - Wrapper around the executable to force the use of particular arguments (difficult cross-platform, undocumented behavior on certain platforms, buggy on macOS) These are the only two current solutions I'm aware of. If there's a way to achieve what I'm looking for that I missed, I'd love to be wrong here :) ### Resourcing I'm willing to work on this if there's consensus on a solution and someone willing to point me in the right direction. I used to work on Chromium and am familiar enough with the electron architecture to get this far. ### Related Issues - https://github.com/electron/electron/issues/2056 (confusion around --max-old-space-size and where to pass it) - https://github.com/electron/electron/issues/15748 (more asking how to pass flags in) - https://github.com/electron-userland/electron-builder/issues/2562#issuecomment-405187285 (userland says not technically possible) - https://github.com/electron-userland/electron-builder/issues/3550 (no answers) - https://github.com/electron-userland/electron-builder/issues/3103 (misunderstood electron architecture) - https://github.com/electron-userland/electron-builder/issues/3781 (old space related) - https://github.com/electron-userland/electron-builder/issues/1541 (misunderstood electron architecture and --max-old-space-size) - https://stackoverflow.com/questions/45288492/how-to-pass-an-argument-to-electron-when-using-electron-builder (author has same question but no answer)
enhancement :sparkles:
medium
Critical
582,570,463
pytorch
NO_CUDA and NO_DISTRIBUTED referenced in docs
## 📚 Documentation The old build variables NO_CUDA and NO_DISTRIBUTED are referenced in CONTRIBUTING.md
module: docs,triaged
low
Minor
582,576,170
TypeScript
Structural Comparison of Circular Tuples
**TypeScript Version:** 3.8.2 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** structure, resolve, compare, equality, type, mismatch, circular, tuple, cycle, recursive **Code** I'm trying to represent some type information for runtime use. I define the following enum: ```ts enum Type { Int = "Int", List = "List", } ``` And I define a `Codec` type: a tuple, within which the first element is the given `Type` enum value, and the second element––which is optional––is another `Codec`: ```ts type Codec< T extends Type, C extends Codec<Type> | undefined = undefined > = C extends undefined ? [T] : [T, C]; ``` I'm able to assign `Codec`s as expected: ```ts const c1: Codec<Type.Int> = [Type.Int]; const c2: Codec<Type.List, Codec<Type.Int>> = [Type.List, [Type.Int]]; ``` And I'm able to create helpers for the `Type.Int` `Codec`: ```ts type IntCodec = Codec<Type.Int>; const createIntCodec = (): IntCodec => [Type.Int]; const intCodec = createIntCodec(); // signature is `[Type.Int]` ``` However, I'm unable to create helpers for `Codec`s which nest other `Codec`s: ```ts type ListCodec<C extends Codec<Type>> = Codec<Type.List, C>; const createListCodec = <C extends Codec<Type>>(of: C): ListCodec<C> => [Type.List, of]; // error ``` This results in an error: `Type '[Type.List, C]' is not assignable to type 'Codec<Type.List, C>'. ts(2322)`. [Playground Link](http://www.typescriptlang.org/play?#code/KYOwrgtgBAKgngB2FA3gKClAkiALlAXigCIddiAaDKAGQEsBnfI4+pytAXzTV0WQDCAewAmwAMYAeajCjAAHrlAiGsflUwC5i5auFip8JAD4oAHyhgQYgGZ0QwEYUvXgdhyLSmiWhUuuqVrb2jlAA-FAA2jAAulAAXFEwFFACMQDcPOJCIExQ4gCMifoSkkbAAHRk3kn8VXgZaNm5+OIATMWipeUVbLgpJYZ11TXRdX0pY0j1uDGNvPzYeIPOg2XDeMaZzXniAE7AAIZKZCtEABQAlImnXeKEplOVZI07+Pa4Z-kHx8C3BldMgskLRGJ87pJfDoAqkIeVjDU1j0Jqktk0crsfko+l9Idp-CpYQZ1iZjOchDZitdQUw1gJvI9kWCUhTGkA) Any thoughts would be greatly appreciated! Thank you!
Bug,Domain: Conditional Types,Rescheduled
low
Critical
582,607,721
pytorch
[torch.jit.script] Support tensor indexing after an Ellipsis
## 🚀 Feature Support Tensor indexing after an ellipsis: right now the following code: ```python @torch.jit.script def zero_diag(inputs: torch.Tensor) -> torch.Tensor: dim = inputs.shape[-1] inputs[..., torch.range(0, dim), torch.range(0, dim)] = 0 ``` fails with: ``` Ellipses followed by tensor indexing is currently not supported: File "<ipython-input-105-deac139d15e2>", line 4 def zero_diag(inputs: torch.Tensor) -> torch.Tensor: dim = inputs.shape[-1] inputs[..., torch.range(0, dim), torch.range(0, dim)] = 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE ``` ## Motivation For our application, we would like to manipulate the diagonal of a batch of matrices, which is most easily expressed by manipulating `inputs[..., range(N), range(N)]`. Unfortunately, Torch does not currently support this when using `torch.jit.script`. Another use-case is to vectorize a batch of symmetric matrices: ideally, we could do something like: ``` ind = torch.triu_indices(N, N) vectors = matrices[..., ind[0], ind[1]] ``` cc @suo
oncall: jit,triaged,enhancement
low
Minor
582,612,265
pytorch
[torch.jit.script] Allow `range` to index into Tensor
## 🚀 Feature Support using `range` objects as indexes into a Tensor. Right now, code like: ``` @torch.jit.script def f(inputs): inputs[range(5), range(5)] ``` will fail with ``` RuntimeError: range cannot be used as a value: File "<ipython-input-120-c84b77ea824c>", line 3 @torch.jit.script def f(inputs): inputs[range(5), range(5)] ~~~~~~~ <--- HERE ``` ## Motivation Using `range` makes it easier to express certain diagonal manipulations of matrices (e.g. for Toeplitz matrices). This isn't a huge deal, because `torch.range` exists, but it is a small papercut. cc @suo
oncall: jit,triaged,enhancement
low
Critical
582,618,860
terminal
Strange behavior with ENABLE_VIRTUAL_TERMINAL_INPUT | ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT
# Environment ```none Windows build number: Microsoft Windows [Version 10.0.19041.153] PowerShell Core 7.0.0 .NET Core 3.1.200 ``` # Steps to reproduce C# program: ```csharp using System; using System.Diagnostics; using System.Text; using static Vanara.PInvoke.Kernel32; namespace Test { static class Program { static void Main() { var stdin = GetStdHandle(StdHandleType.STD_INPUT_HANDLE); Debug.Assert(GetConsoleMode(stdin, out CONSOLE_INPUT_MODE inMode)); inMode |= CONSOLE_INPUT_MODE.ENABLE_VIRTUAL_TERMINAL_INPUT; Debug.Assert(SetConsoleMode(stdin, inMode)); Console.WriteLine(Console.ReadLine()); } } } ``` (Uses the `Vanara.PInvoke.Kernel32` NuGet package for convenience.) You will need to test this program in both CMD and PowerShell Core. Try doing these: 1. Type `aaa bbb ccc` and press backspace a couple times. 2. Type `aaa bbb ccc` and press control + backspace several times. Also, try using special keys (such as arrow keys) after the program closes. # Actual behavior For the first part: 1. Words are deleted with each backspace press. 2. Characters are deleted with each control + backspace press. This behavior happens in both CMD and PowerShell Core. For the second part: After closing the program, you'll notice that e.g. using the arrow keys echoes VT sequences (such as `^[[D^[[A^[[C` for left, up, right) rather than doing what they're supposed to. This behavior persists even if the `ReadLine` + `WriteLine` is removed from the program. This behavior only happens in CMD. PowerShell Core seems fine. # Expected behavior I have no idea to what extent, if any, this behavior is actually buggy/unintended. But here is what I would expect as a user: * Backspace and control + backspace behavior should not be swapped like this. This seems very strange and unlike other terminals. * Console modes set from within a program should not persist after that program exits. PowerShell Core appears to get this right, while CMD does not, for whatever reason. Perhaps worth noting that running CMD and PowerShell Core under Windows Terminal has no impact on the behavior seen here. Also, I wasn't sure whether to file this as two separate issues. I can do that if necessary.
Product-Conhost,Help Wanted,Area-Input,Issue-Bug,Priority-2,Area-CookedRead
medium
Critical
582,661,302
flutter
“Lost connection to device.” Frequently occurs in Desktop Embedding
<!-- 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 --> ## Steps to Reproduce <!-- You must include full steps to reproduce so that we can reproduce the problem. --> 1. Start flutter with the `flutter run` command. 2. Modify the source and reload many times with the r key. 3. "Lost connection to device." Occurs after about 3 minutes. **Expected results:** <!-- what did you want to see? --> Stay connected to the app. **Actual results:** <!-- what did you see? --> Terminal is disconnected from the app. The app remains running. <details> <summary>Logs</summary> <!-- Run your application with `flutter run --verbose` and attach all the log output below between the lines with the backticks. If there is an exception, please see if the error message includes enough information to explain how to solve the issue. --> ``` D:\flutter-desktop-embedding\example>flutter run --verbose [ +13 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +51 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] f3b426a5fc099c705263182bfdc951e3eae89c04 [ ] executing: [D:\flutter/] git describe --match v*.*.* --first-parent --long --tags [ +47 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v1.15.21-31-gf3b426a5f [ +5 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +33 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] executing: [D:\flutter/] git ls-remote --get-url origin [ +29 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +58 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD [ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ +34 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +17 ms] executing: C:\Users\t_okamoto\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [ +32 ms] Exit code 0 from: C:\Users\t_okamoto\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [ ] List of devices attached [ +7 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +3 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +196 ms] Launching lib\main.dart on Windows in debug mode... [ +7 ms] D:\flutter\bin\cache\dart-sdk\bin\dart.exe D:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root D:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill C:\Users\T_OKAM~1\AppData\Local\Temp\flutter_tool.70b2ce57-67df-11ea-ae30-d0c0bf8e0a6f\app.dill --packages D:\flutter-desktop-embedding\example\.packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root [ +36 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -utf8 -latest -version 16 -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.Windows10SDK.17763 [ +26 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -utf8 -latest -version 16 -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.Windows10SDK.17763 [ +1 ms] [ { "instanceId": "ab83d72e", "installDate": "2020-03-02T23:56:53Z", "installationName": "VisualStudio/16.4.5+29806.167", "installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community", "installationVersion": "16.4.29806.167", "productId": "Microsoft.VisualStudio.Product.Community", "productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe", "state": 4294967295, "isComplete": true, "isLaunchable": true, "isPrerelease": false, "isRebootRequired": false, "displayName": "Visual Studio Community 2019", "description": "蟄ヲ逕溘√が繝シ繝励Φ繧ス繝シ繧ケ縺ョ蜈ア蜷御ス懈・閠・∝倶ココ逕ィ縺ョ辟。譁吶〒蠑キ蜉帙↑ IDE", "channelId": "VisualStudio.16.Release", "channelUri": "https://aka.ms/vs/16/release/channel", "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service", "releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660893#16.4.5", "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909", "updateDate": "2020-03-02T23:56:53.1296462Z", "catalog": { "buildBranch": "d16.4", "buildVersion": "16.4.29806.167", "id": "VisualStudio/16.4.5+29806.167", "localBuild": "build-lab", "manifestName": "VisualStudio", "manifestType": "installer", "productDisplayVersion": "16.4.5", "productLine": "Dev16", "productLineVersion": "2019", "productMilestone": "RTW", "productMilestoneIsPreRelease": "False", "productName": "Visual Studio", "productPatchVersion": "5", "productPreReleaseMilestoneSuffix": "1.0", "productSemanticVersion": "16.4.5+29806.167", "requiredEngineVersion": "2.4.1111.43337" }, "properties": { "campaignId": "2111577170.1582588530", "canceled": "0", "channelManifestId": "VisualStudio.16.Release/16.4.5+29806.167", "nickname": "2", "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe" } } ] [ +80 ms] Building Windows application... [ +1 ms] executing: [D:\flutter-desktop-embedding\example\windows/] D:\flutter\packages\flutter_tools\bin\vs_build.bat C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat Runner.sln Debug [ +12 ms] <- compile package:example_flutter/main.dart [ +217 ms] ********************************************************************** [ ] ** Visual Studio 2019 Developer Command Prompt v16.4.5 [ ] ** Copyright (c) 2019 Microsoft Corporation [ ] ********************************************************************** [+1077 ms] [vcvarsall.bat] Environment initialized for: 'x64' [ +71 ms] .NET Framework 向け Microsoft (R) Build Engine バージョン 16.4.0+e901037fe [ ] Copyright (C) Microsoft Corporation.All rights reserved. [ ] このソリューション内のプロジェクトを一度に 1 つずつビルドします。並行ビルドを有効にするには、"-m" スイッチを追加してくだ さい。 [ +43 ms] 2020/03/17 8:39:58 にビルドを開始しました。 [ +131 ms] ノード 1 上のプロジェクト "D:\flutter-desktop-embedding\example\windows\Runner.sln" (既定のターゲット)。 [ +1 ms] ValidateSolutionConfiguration: [ ] ソリューション構成 "Debug|x64" をビルドしています。 [ +201 ms] プロジェクト "D:\flutter-desktop-embedding\example\windows\Runner.sln" (1) は、ノード 1 上に "D:\flutter-desktop-embedding\example\windows\Runner.vcxproj.metaproj" (2) をビルドしています (既定のターゲット)。 [ +2 ms] プロジェクト "D:\flutter-desktop-embedding\example\windows\Runner.vcxproj.metaproj" (2) は、ノード 1 上に "D:\flutter-desktop-embedding\example\windows\FlutterBuild.vcxproj" (3) をビルドしています (既定のターゲット)。 [ +14 ms] InitializeBuildStatus: [ +1 ms] "AlwaysCreate" が指定されたため "x64\Debug\Flutter Build.tlog\unsuccessfulbuild" を作成しています。 [ +3 ms] CustomBuildStep: [ ] Running Flutter backend build [ +6 ms] "D:\flutter-desktop-embedding\example\windows\scripts\prepare_dependencies" Debug [ +9 ms] :VCEnd [+3715 ms] FinalizeBuildStatus: [ ] ファイル "x64\Debug\Flutter Build.tlog\unsuccessfulbuild" を削除しています。 [ ] "x64\Debug\Flutter Build.tlog\Flutter Build.lastbuildstate" のタッチ タスクを実行しています。 [ ] プロジェクト "D:\flutter-desktop-embedding\example\windows\FlutterBuild.vcxproj" (既定のターゲット) のビルドが完了しまし た。 [ +44 ms] プロジェクト "D:\flutter-desktop-embedding\example\windows\Runner.vcxproj.metaproj" (2) は、ノード 1 上に "D:\flutter-desktop-embedding\example\windows\Runner.vcxproj" (4) をビルドしています (既定のターゲット)。 [ +1 ms] InitializeBuildStatus: [ ] "AlwaysCreate" が指定されたため "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\Runner.tlog\unsuccessfulbuild" を作成しています。 [ +54 ms] ClCompile: [ ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\CL.exe /c /I"D:\flutter-desktop-embedding\example\windows\\" /I"D:\flutter-desktop-embedding\example\windows\flutter\ephemeral" /I"D:\flutter-desktop-embedding\example\windows\flutter\ephemeral\cpp_client_wrapper\include" /ZI /JMC /nologo /W4 /WX /diagnostics:column /sdl /Od /D _MBCS /D _HAS_EXCEPTIONS=0 /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /permissive-/Zc:wchar_t /Zc:forScope /Zc:inline /Fo"D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\\" /Fd"D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\vc142.pdb" /Gd /TP /wd4100 /FC /errorReport:queue flutter\generated_plugin_registrant.cc [ +56 ms] generated_plugin_registrant.cc [ +352 ms] ResourceCompile: [ ] すべての出力が最新のものです。 [ +3 ms] ManifestResourceCompile: [ +5 ms] すべての出力が最新のものです。 [ +17 ms] Link: [ +7 ms] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\flutter-desktop-embedding\example\windows\..\build\windows\x64\Debug\Runner\Flutter Desktop Example.exe"/INCREMENTAL /NOLOGO /LIBPATH:"D:\flutter-desktop-embedding\example\windows\flutter\ephemeral" /LIBPATH:"D:\flutter-desktop-embedding\example\windows\..\build\windows\x64\Debug\Runner\..\Plugins" flutter_windows.dll.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /manifestinput:runner.exe.manifest /DEBUG:FASTLINK /PDB:"D:\flutter-desktop-embedding\example\windows\..\build\windows\x64\Debug\Runner\Flutter Desktop Example.pdb" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\flutter-desktop-embedding\example\windows\..\build\windows\x64\Debug\Runner\Flutter Desktop Example.lib" /MACHINE:X64 "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\Runner.res" [ +3 ms] "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\main.obj" [ ] "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\generated_plugin_registrant.obj" [ ] "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\window_configuration.obj"[ ] "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\win32_window.obj" [ ] "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\engine_method_result.obj"[ ] "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\flutter_view_controller.obj" [ ] "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\plugin_registrar.obj" [ +254 ms] Runner.vcxproj -> D:\flutter-desktop-embedding\example\windows\..\build\windows\x64\Debug\Runner\Flutter Desktop Example.exe [ +2 ms] CustomBuildStep: [ +8 ms] Bundling dependencies [ +1 ms] "D:\flutter-desktop-embedding\example\windows\scripts\bundle_assets_and_deps" "D:\flutter-desktop-embedding\example\windows\flutter\ephemeral\" "D:\flutter-desktop-embedding\example\windows\..\build\windows\x64\Debug\Runner\" "D:\flutter-desktop-embedding\example\windows\..\build\windows\x64\Debug\Runner\..\Plugins\" "Flutter Desktop Example.exe" [ +8 ms] :VCEnd [ +77 ms] 14 個のファイルをコピーしました [ +14 ms] 0 個のファイルをコピーしました [ +15 ms] 0 個のファイルをコピーしました [ +7 ms] FinalizeBuildStatus: [ +3 ms] ファイル "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\Runner.tlog\unsuccessfulbuild" を削除しています。 [ +1 ms] "D:\flutter-desktop-embedding\example\windows\..\build\windows\intermediates\x64\Debug\Runner\Runner.tlog\Runner.lastbuildstate" のタッチ タスクを実行しています。 [ +1 ms] プロジェクト "D:\flutter-desktop-embedding\example\windows\Runner.vcxproj" (既定のターゲット) のビルドが完了しました。 [ ] プロジェクト "D:\flutter-desktop-embedding\example\windows\Runner.vcxproj.metaproj" (既定のターゲット) のビルドが完了しま した。 [ ] プロジェクト "D:\flutter-desktop-embedding\example\windows\Runner.sln" (既定のターゲット) のビルドが完了しました。 [ ] ビルドに成功しました。 [ ] 0 個の警告 [ ] 0 エラー [ ] 経過時間 00:00:05.03 [ +12 ms] Building Windows application... (completed in 6.5s) [ +445 ms] Observatory URL on device: http://127.0.0.1:6387/cCp6eHM2hPU=/ [ +6 ms] Connecting to service protocol: http://127.0.0.1:6387/cCp6eHM2hPU=/ [ +80 ms] Successfully connected to service protocol: http://127.0.0.1:6387/cCp6eHM2hPU=/ [ +2 ms] Sending to VM service: getVM({}) [ +2 ms] Result: {type: VM, name: vm, architectureBits: 64, hostCPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz, operatingSystem: windows, targetCPU: x64, version: 2.8.0-dev.14.0.flutter-eff5548a68 (Sun Mar 15 04:33:56 2020 +0000) on "windows_x64", _profilerMode: Dar... [ +4 ms] Sending to VM service: getIsolate({isolateId: isolates/2936779566527571}) [ +6 ms] Sending to VM service: _flutter.listViews({}) [ +2 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ +4 ms] DevFS: Creating new filesystem on the device (null) [ +1 ms] Sending to VM service: _createDevFS({fsName: example}) [ +11 ms] Result: {type: Isolate, id: isolates/2936779566527571, name: main, number: 2936779566527571, _originNumber: 2936779566527571, startTime: 1584402003796, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 1, avgCollectionPeriodMillis... [ +9 ms] Result: {type: FileSystem, name: example, uri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/} [ +3 ms] DevFS: Created new filesystem on the device (file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/) [ +2 ms] Updating assets [ +67 ms] Syncing files to device Windows... [ +1 ms] Scanning asset files [ +3 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ +10 ms] <- recompile package:example_flutter/main.dart 65b90c01-c7e1-4c75-bd3e-62893e925e06 [ ] <- 65b90c01-c7e1-4c75-bd3e-62893e925e06 [ +64 ms] Updating files [ +93 ms] DevFS: Sync finished [ +1 ms] Syncing files to device Windows... (completed in 174ms) [ ] Synced 1.9MB. [ +6 ms] Sending to VM service: _flutter.listViews({}) [ +1 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ ] <- accept [ ] Connected to _flutterView/0x2036c6686c0. [ +1 ms] Flutter run key commands. [ +1 ms] r Hot reload. [ +6 ms] R Hot restart. [ ] h Repeat this help message. [ ] d Detach (terminate "flutter run" but leave application running). [ ] c Clear the screen [ ] q Quit (terminate the application on the device). [ ] An Observatory debugger and profiler on Windows is available at: http://127.0.0.1:6387/cCp6eHM2hPU=/ [+195279 ms] Performing hot reload... [ +2 ms] Refreshing active FlutterViews before reloading. [ +4 ms] Sending to VM service: _flutter.listViews({}) [ +1 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ +45 ms] Scanned through 462 files in 44ms [ ] Syncing files to device Windows... [ ] Scanning asset files [ +1 ms] Compiling dart to kernel with 1 updated files [ +1 ms] <- recompile package:example_flutter/main.dart 2af5ad80-e4f2-4a51-9c55-88614536b729 [ ] package:example_flutter/PageMain.dart [ ] <- 2af5ad80-e4f2-4a51-9c55-88614536b729 [ +17 ms] Updating files [ +5 ms] DevFS: Sync finished [ ] Syncing files to device Windows... (completed in 27ms) [ ] Synced 0.0MB. [ +1 ms] Sending to VM service: _flutter.setAssetBundlePath({isolateId: isolates/2936779566527571, viewId: _flutterView/0x2036c6686c0, assetDirectory: /C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/build/flutter_assets}) [ +2 ms] Result: {type: Success, view: {type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}} [ +7 ms] Sending to VM service: _reloadSources({pause: false, rootLibUri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/lib/main.dart.incremental.dill, packagesUri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/.packages, isolateId: isolates/2936779566527571}) [ +42 ms] Result: {type: ReloadReport, success: true, details: {finalLibraryCount: 487, receivedLibraryCount: 2, receivedLibrariesBytes: 6216, receivedClassesCount: 6, receivedProceduresCount: 2, savedLibraryCount: 485, loadedLibraryCount: 2, shapeChangeMappings: []}} [ +2 ms] <- accept [ ] reloaded 2 of 487 libraries [ ] Sending reload events to Windows [ ] Sending reload event to "main.dart$main-2936779566527571" [ ] Sending to VM service: getIsolate({isolateId: isolates/2936779566527571}) [ +7 ms] Result: {type: Isolate, id: isolates/2936779566527571, name: main, number: 2936779566527571, _originNumber: 2936779566527571, startTime: 1584402003796, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 7, avgCollectionPeriodMillis... [ +6 ms] Sending to VM service: _flutter.listViews({}) [ +7 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ +1 ms] Evicting dirty assets [ ] Reassembling application [ +1 ms] Sending to VM service: ext.flutter.reassemble({isolateId: isolates/2936779566527571}) [ +39 ms] Result: {type: _extensionType, method: ext.flutter.reassemble} [ +2 ms] Hot reload performed in 204ms. [ ] Performing hot reload... (completed in 208ms) [ ] Reloaded 2 of 487 libraries in 210ms. [+4907 ms] Performing hot reload... [ +1 ms] Refreshing active FlutterViews before reloading. [ ] Sending to VM service: _flutter.listViews({}) [ +1 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ +38 ms] Scanned through 462 files in 32ms [ +1 ms] Syncing files to device Windows... [ ] Scanning asset files [ +1 ms] Compiling dart to kernel with 1 updated files [ ] <- recompile package:example_flutter/main.dart 1f8c73d7-0248-423c-9f86-d9535b6572a5 [ ] package:example_flutter/PageMain.dart [ ] <- 1f8c73d7-0248-423c-9f86-d9535b6572a5 [ +10 ms] Updating files [ +5 ms] DevFS: Sync finished [ ] Syncing files to device Windows... (completed in 20ms) [ ] Synced 0.0MB. [ ] Sending to VM service: _reloadSources({pause: false, rootLibUri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/lib/main.dart.incremental.dill, packagesUri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/.packages, isolateId: isolates/2936779566527571}) [ +36 ms] Result: {type: ReloadReport, success: true, details: {finalLibraryCount: 487, receivedLibraryCount: 2, receivedLibrariesBytes: 6200, receivedClassesCount: 6, receivedProceduresCount: 2, savedLibraryCount: 485, loadedLibraryCount: 2, shapeChangeMappings: []}} [ +1 ms] <- accept [ ] reloaded 2 of 487 libraries [ ] Sending reload events to Windows [ ] Sending reload event to "main.dart$main-2936779566527571" [ ] Sending to VM service: getIsolate({isolateId: isolates/2936779566527571}) [ +5 ms] Result: {type: Isolate, id: isolates/2936779566527571, name: main, number: 2936779566527571, _originNumber: 2936779566527571, startTime: 1584402003796, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 8, avgCollectionPeriodMillis... [ +5 ms] Sending to VM service: _flutter.listViews({}) [ +1 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ +5 ms] Evicting dirty assets [ ] Reassembling application [ ] Sending to VM service: ext.flutter.reassemble({isolateId: isolates/2936779566527571}) [ +24 ms] Result: {type: _extensionType, method: ext.flutter.reassemble} [ +6 ms] Hot reload performed in 156ms. [ ] Performing hot reload... (completed in 157ms) [ ] Reloaded 2 of 487 libraries in 159ms. [+2901 ms] Performing hot reload... [ ] Refreshing active FlutterViews before reloading. [ ] Sending to VM service: _flutter.listViews({}) [ +1 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ +34 ms] Scanned through 462 files in 33ms [ +1 ms] Syncing files to device Windows... [ ] Scanning asset files [ +1 ms] Compiling dart to kernel with 1 updated files [ +1 ms] <- recompile package:example_flutter/main.dart 19dc3788-eae6-4a67-bd0c-5e273af53f9c [ ] package:example_flutter/PageMain.dart [ +7 ms] <- 19dc3788-eae6-4a67-bd0c-5e273af53f9c [ +11 ms] Updating files [ +7 ms] DevFS: Sync finished [ ] Syncing files to device Windows... (completed in 31ms) [ ] Synced 0.0MB. [ ] Sending to VM service: _reloadSources({pause: false, rootLibUri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/lib/main.dart.incremental.dill, packagesUri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/.packages, isolateId: isolates/2936779566527571}) [ +42 ms] Result: {type: ReloadReport, success: true, details: {finalLibraryCount: 487, receivedLibraryCount: 2, receivedLibrariesBytes: 6216, receivedClassesCount: 6, receivedProceduresCount: 2, savedLibraryCount: 485, loadedLibraryCount: 2, shapeChangeMappings: []}} [ +1 ms] <- accept [ ] reloaded 2 of 487 libraries [ ] Sending reload events to Windows [ ] Sending reload event to "main.dart$main-2936779566527571" [ ] Sending to VM service: getIsolate({isolateId: isolates/2936779566527571}) [ +4 ms] Result: {type: Isolate, id: isolates/2936779566527571, name: main, number: 2936779566527571, _originNumber: 2936779566527571, startTime: 1584402003797, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 8, avgCollectionPeriodMillis... [ +5 ms] Sending to VM service: _flutter.listViews({}) [ +5 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ ] Evicting dirty assets [ ] Reassembling application [ ] Sending to VM service: ext.flutter.reassemble({isolateId: isolates/2936779566527571}) [ +27 ms] Result: {type: _extensionType, method: ext.flutter.reassemble} [ +3 ms] Hot reload performed in 164ms. [ ] Performing hot reload... (completed in 165ms) [ ] Reloaded 2 of 487 libraries in 166ms. [+2979 ms] Performing hot reload... [ ] Refreshing active FlutterViews before reloading. [ ] Sending to VM service: _flutter.listViews({}) [ +1 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ +33 ms] Scanned through 462 files in 32ms [ ] Syncing files to device Windows... [ ] Scanning asset files [ +1 ms] Compiling dart to kernel with 1 updated files [ +1 ms] <- recompile package:example_flutter/main.dart c5640134-66d6-4baf-b05a-ad9b87554a95 [ ] package:example_flutter/PageMain.dart [ ] <- c5640134-66d6-4baf-b05a-ad9b87554a95 [ +9 ms] Updating files [ +6 ms] DevFS: Sync finished [ ] Syncing files to device Windows... (completed in 20ms) [ ] Synced 0.0MB. [ ] Sending to VM service: _reloadSources({pause: false, rootLibUri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/lib/main.dart.incremental.dill, packagesUri: file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/.packages, isolateId: isolates/2936779566527571}) [ +43 ms] Result: {type: ReloadReport, success: true, details: {finalLibraryCount: 487, receivedLibraryCount: 2, receivedLibrariesBytes: 6216, receivedClassesCount: 6, receivedProceduresCount: 2, savedLibraryCount: 485, loadedLibraryCount: 2, shapeChangeMappings: []}} [ +1 ms] <- accept [ ] reloaded 2 of 487 libraries [ ] Sending reload events to Windows [ ] Sending reload event to "main.dart$main-2936779566527571" [ ] Sending to VM service: getIsolate({isolateId: isolates/2936779566527571}) [ +4 ms] Result: {type: Isolate, id: isolates/2936779566527571, name: main, number: 2936779566527571, _originNumber: 2936779566527571, startTime: 1584402003797, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 8, avgCollectionPeriodMillis... [ +5 ms] Sending to VM service: _flutter.listViews({}) [ +5 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x2036c6686c0, isolate: {type: @Isolate, fixedId: true, id: isolates/2936779566527571, name: main.dart$main-2936779566527571, number: 2936779566527571}}]} [ ] Evicting dirty assets [ ] Reassembling application [ ] Sending to VM service: ext.flutter.reassemble({isolateId: isolates/2936779566527571}) [ +30 ms] Result: {type: _extensionType, method: ext.flutter.reassemble} [ +1 ms] Hot reload performed in 152ms. [ ] Performing hot reload... (completed in 153ms) [ ] Reloaded 2 of 487 libraries in 154ms. [+6005 ms] Service protocol connection closed. [ +1 ms] Lost connection to device. [ +2 ms] DevFS: Deleting filesystem on the device (file:///C:/Users/T_OKAM~1/AppData/Local/Temp/example754f53f9-67df-11ea-ae30-d0c0bf8e0a6f/example/) [ +4 ms] Sending to VM service: _deleteDevFS({fsName: example}) [ +16 ms] Performing hot reload... [ ] Refreshing active FlutterViews before reloading. [ ] Sending to VM service: _flutter.listViews({}) [ +236 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed [ +3 ms] "flutter run" took 220,854ms. ``` <!-- Run `flutter analyze` and attach any output of that command below. If there are any analysis errors, try resolving them before filing this issue. --> ``` D:\flutter-desktop-embedding\example>flutter analyze Analyzing example... info - Prefer declaring const constructors on `@immutable` classes - bug\lib\main.dart:31:3 - prefer_const_constructors_in_immutables info - Avoid annotating types for function expression parameters - bug\test\widget_test.dart:14:49 - avoid_types_on_closure_parameters info - The value of the field '_counter' isn't used - lib\PageMain.dart:27:7 - unused_field info - The declaration '_incrementCounter' isn't referenced - lib\PageMain.dart:29:8 - unused_element 4 issues found. (ran in 2.3s; 8 public members lack documentation) ``` <!-- Finally, paste the output of running `flutter doctor -v` here. --> ``` D:\flutter-desktop-embedding\example>flutter doctor -v [√] Flutter (Channel master, v1.15.22-pre.31, on Microsoft Windows [Version 10.0.18362.720], locale ja-JP) • Flutter version 1.15.22-pre.31 at D:\flutter • Framework revision f3b426a5fc (24 hours ago), 2020-03-15 19:16:01 -0400 • Engine revision b23138c359 • Dart version 2.8.0 (build 2.8.0-dev.14.0 eff5548a68) [√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at C:\Users\t_okamoto\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • Java binary at: D:\software\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) • All Android licenses accepted. [√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.4.5) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community • Visual Studio Community 2019 version 16.4.29806.167 [√] Android Studio (version 3.6) • Android Studio at D:\software\Android\Android Studio • Flutter plugin version 43.0.2 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) [√] Connected device (1 available) • Windows • Windows • windows-x64 • Microsoft Windows [Version 10.0.18362.720] • No issues found! ``` </details>
tool,platform-windows,a: desktop,P2,team-windows,triaged-windows
low
Critical
582,675,372
rust
Pattern matching on constant in nested macro invocation
I am not sure if this is bug or known issue, but I came across strange behavior when trying to match constant expression in macro: ```rust macro_rules! format_index { (0) => ("_0"); } pub fn main() { println!("{}",format_index!(0)); // This line compiles } ``` This code works just fine, as expected - it matches constant 0 and prints "_0" However, if the same thing invoked through nested invocation, it does not longer work: ```rust macro_rules! format_index { (0) => ("_0"); } macro_rules! x { ($arg:expr) => (format_index!($arg)); } pub fn main() { // println!("{}",format_index!(0)); // This line compiles println!("{}",x!(0)); // This line does not compile ( } ``` Error I get is this: ``` error: no rules expected the token `0` --> src/main.rs:6:35 | 1 | macro_rules! format_index { | ------------------------- when calling this macro ... 6 | ($arg:expr) => (format_index!($arg)); | ^^^^ no rules expected this token in macro call ... 11 | println!("{}",x!(0)); // This line does not compile ( | ----- in this macro invocation error: aborting due to previous error ``` Is this a known behavior? Is there way to pattern match `0` when invoked from `x`? [Playground link](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=bee2d9d24b765f77e4949a359f28b8e7) This reproduces on both stable and nightly.
A-macros
low
Critical
582,678,462
pytorch
[jit] `__hash__` magic method is missing
```python class X(object): def __init__(self): pass def __hash__(self): return 2 @torch.jit.script def fn(): x = X() return hash(x) print(fn()) ``` should work but errors out cc @suo
oncall: jit,low priority
low
Critical
582,700,170
godot
GPU Driver crash on GLES 3 on Geforce 210
>What hardware I have? Geforce 210 >What's my issue? Windows and Windows manager crash if you switch to the GLES 3 mode or create a GLES 3 project. >What version It keeps happening since 3.2
bug,topic:rendering,confirmed,crash
low
Critical
582,715,174
TypeScript
Destructured tuple elements are no longer literals
<!-- 🚨 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. --> **TypeScript Version:** 3.9.0-dev.20200315 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** - tuple - destructuring - literal types - literals - inline - indexed access **Expected behavior:** When destructuring a tuple of array literals, destructured elements should preserve literal values. **Actual behavior:** Destructured elements are not literals. <!-- Did you find other bugs that looked similar? --> **Related Issues:** - #32003 - #31613 **Code** If I create a tuple of literals: ```ts declare function enumerate<T>(): <U extends T[]>(...elements: U) => U; type Color = 'black' | 'white'; // $ExpectType ["black", "white"] ✅ const colors = enumerate<Color>()('black', 'white'); ``` the accessed elements are also literals; regardless of whether I destructure them inline or read them in separate lines. That's good. ```ts // $ExpectType ["black", "white"] ✅ const [primo, secundo] = colors; // $ExpectType "black" ✅ const first = colors[0]; // $ExpectType "white" ✅ const second = colors[1]; ``` However, when I do the same with a tuple returned by a function, their “literalness” is preserved only when the values are read using the square bracket notation: ```ts // $ExpectType "black" ✅ const erste = enumerate<Color>()('black', 'white')[0]; // $ExpectType "white" ✅ const zweite = enumerate<Color>()('black', 'white')[1]; ``` but not when the assignment happens via destructuring: ```ts // $ExpectType ["black", "white"], received [Color, Color] ⛔️ const [one, two] = enumerate<Color>()('black', 'white'); ``` <details><summary><b>Output</b></summary> ```ts "use strict"; // $ExpectType ["black", "white"] ✅ const colors = enumerate()('black', 'white'); // $ExpectType ["black", "white"] ✅ const [primo, secundo] = colors; // $ExpectType "black" ✅ const first = colors[0]; // $ExpectType "white" ✅ const second = colors[1]; // $ExpectType "black" ✅ const erste = enumerate()('black', 'white')[0]; // $ExpectType "white" ✅ const zweite = enumerate()('black', 'white')[1]; // $ExpectType ["black", "white"], received [Color, Color] ⛔️ const [one, two] = enumerate()('black', 'white'); ``` </details> <details><summary><b>Compiler Options</b></summary> ```json { "compilerOptions": { "noImplicitAny": true, "strictNullChecks": true, "strictFunctionTypes": true, "strictPropertyInitialization": true, "strictBindCallApply": true, "noImplicitThis": true, "noImplicitReturns": true, "alwaysStrict": true, "esModuleInterop": true, "declaration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "moduleResolution": 2, "target": "ES2017", "jsx": "React", "module": "ESNext" } } ``` </details> **Playground Link:** [Provided](https://www.typescriptlang.org/play?ts=next#code/CYUwxgNghgTiAEAzArgOzAFwJYHtXxFWQFsQYoMQAeAFQD4AKASgC54qBVAgD0tWADO8GgG0AuowB00kBBClUGAWw5N4AXjrwOAbgCwAKEMYAngAcEAYRwQcMDfADkAI2hgA1o-gAfJwHcACyxKR30jAwB6CPgAEgBRbgtMGnMEEQAiVygPdIAaeHTA4JB0sXhAUHJDMDwBDHhq2xghdQIiUnJKKmtGxiYGFzdPfMcikKYwwyjYhKSMFIt4DKyc-MKgylKKqpq6kTMYLGIcfIFwNGAcMpaGuwEJyOj4xPA51ILl93Stg2rUWqQsE06tcbLcRAAGMT3KZPWbzBBrYpfSo-HbwU6-YAOG5NEQARihhkmjxmL3h70GyO2fzqZFqCBahBIZAo1G6dl6-Q+jmGoxAjiYEMJ4RhpOSb0RG2+v3+AC8-CBig4me1WV1QTBOQNskN-Ot+YKCdCSc9xQslpTVnzSvk4GBFQA3EBYkTsmD5N1lQArZIB4P+p-xEeBA+QwfkuyraLM6bq13N5+oF9yAA)
Bug,Help Wanted
low
Critical
582,750,380
rust
Confusing error message with `str::parse`
The following code: ```rust fn bar() -> Result<(), std::num::ParseIntError> { let a = "Hello".parse()?; Ok(()) } fn main() {} ``` gives the following error message: ``` error[E0277]: the trait bound `(): std::str::FromStr` is not satisfied --> src/main.rs:2:21 | 2 | let a = "Hello".parse()?; | ^^^^^ the trait `std::str::FromStr` is not implemented for `()` error: aborting due to previous error ``` The bound `(): std::str::FromStr` appears seemingly out of thin air. We should explain where the type `()` and trait `std::str::FromStr` come from. The `()` appears to be produced by never-type fallback, which was quite surprising to me.
C-enhancement,A-diagnostics,T-compiler
low
Critical
582,761,177
terminal
Epic: Make input and output mode process state instead of global state
Notes: > The input and output modes are global state, and while we're thinking about what it would take to change that we're definitely concerned about backwards compatibility. > When an application exits and leaves the console in a state different from the one it has when it launched (which can happen for a number of reasons: it wasn't authored correctly, it crashes, it returns control of the console so the shell before it's ready (#4921)), we have little choice but to get into a weird state. > You see this with most terminals on the market, unfortunately. If vim is running in mouse mode, and is abruptly terminated, suddenly moving your mouse over your terminal generates an absolute heap of garbage input. It's impossible to solve in that case, but given that we own the console subsystem in its entirety we can put together a better story. We should investigate our options here: can we make the input or output mode process state? If we make the input mode process-local, we need to move to an input model that miniksa and I have discussed: input records are translated (mouse -> vt, input -> vt, clipboard -> key, or clipboard -> vt) for the reader instead of upon insertion into the queue. That's a huge chunk of work. Making the output mode process-local may have many fewer caveats. We already have some process-local output state like UTF-8 partials. This'll solve the overarching issue in #4921 and #4949.
Product-Conhost,Area-Server,Issue-Scenario
low
Critical
582,787,298
rust
Possibly improve the `err.stash(...)`ing API's macro friendliness
E.g. consider implementing https://github.com/rust-lang/rust/pull/69537#issuecomment-593082200 at some point. Right now, we will allow overwriting a stashed diagnostic, so when combined with macros, the diagnostics after the first one will be of worse quality.
C-enhancement,A-diagnostics,P-low,A-macros,T-compiler
low
Minor
582,836,393
pytorch
Flaky test test_ctc_loss_cuda on Windows
## 🐛 Bug <!-- A clear and concise description of what the bug is. --> ``` ====================================================================== ERROR: test_ctc_loss_cuda (__main__.TestAutogradDeviceTypeCUDA) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\circleci\project\build\win_tmp\build\torch\testing\_internal\common_device_type.py", line 207, in instantiated_test return test(self, device_arg) File "C:\Users\circleci\project\build\win_tmp\build\torch\testing\_internal\common_device_type.py", line 365, in dep_fn return fn(slf, device, *args, **kwargs) File "test_autograd.py", line 4511, in test_ctc_loss gradcheck(ctc_after_softmax, [x]) File "C:\Users\circleci\project\build\win_tmp\build\torch\autograd\gradcheck.py", line 297, in gradcheck 'The tolerance for nondeterminism was {}.'.format(nondet_tol)) File "C:\Users\circleci\project\build\win_tmp\build\torch\autograd\gradcheck.py", line 229, in fail_test raise RuntimeError(msg) RuntimeError: Backward is not reentrant, i.e., running backward with same input and grad_output multiple times gives different values, although analytical gradient matches numerical gradient. The tolerance for nondeterminism was 0.0. ``` Example CI runs: 1. https://circleci.com/gh/pytorch/pytorch/4836419?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link 2. https://circleci.com/gh/pytorch/pytorch/4824934?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link ## To Reproduce Steps to reproduce the behavior: 1. python run_test.py -i autograd <!-- If you have a code sample, error messages, stack traces, please provide it here as well --> ## Expected behavior <!-- A clear and concise description of what you expected to happen. --> Test passes. ## Environment Please copy and paste the output from our [environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py) (or fill out the checklist below manually). You can get the script and run it with: ``` wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py # For security purposes, please check the contents of collect_env.py before running it. python collect_env.py ``` - PyTorch Version (e.g., 1.0): master - OS (e.g., Linux): Windows - How you installed PyTorch (`conda`, `pip`, source): source - Build command you used (if compiling from source): `python setup.py build` - Python version: 3.6 - CUDA/cuDNN version: 10.1 - GPU models and configuration: Tesla P4 - Any other relevant information: ## Additional context <!-- Add any other context about the problem here. --> cc @ezyang @gchanan @zou3519 @SsnL @albanD @gqchen @ngimel
high priority,module: autograd,module: cuda,triaged,module: flaky-tests
low
Critical
582,858,945
pytorch
Extend nn.functional.softmax for arbitrary dimensions
## 🚀 Feature <!-- A clear and concise description of the feature proposal --> Allow dim in softmax to be: dim (python:int or tuple of python:ints). ## 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 --> This would allow calculation of softmax over arbitrary dimensions, which is useful in some contexts. Example of what I'm currently doing in a project(not numerically stable): ```python def softmax(x,dim): exp_x = torch.exp(x) return exp_x/torch.sum(exp_x,dim=dim,keepdim=True) ``` Many pytorch functions already allow a Union of int and tuples for dimensions. Extending this to softmax would be in line with other functions (e.g. torch.sum etc), so I think there is no ambiguity with allowing arbitrary dimensions for normalisation. ## Alternatives None that I have found <!-- A clear and concise description of any alternative solutions or features you've considered, if any. --> cc @albanD @mruberry
module: nn,triaged,function request
low
Major
582,897,181
pytorch
Set the number of CUDAStream
## 🚀 Feature Allow setting the number of `CUDAStream` in the stream pools ## Motivation When running multiple inferences using different streams from different threads, the current concurrency limit is 32 (as stated in https://github.com/pytorch/pytorch/blob/master/c10/cuda/CUDAStream.h). We're using T4 which allow Concurrent Kernel Execution of 128. and would like to use more than 32 logical streams. ## Pitch Add an API to override the `kStreamsPerPool` to allow more than 32 streams ## Additional context https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#features-and-technical-specifications__technical-specifications-per-compute-capability cc @ngimel
feature,module: cuda,triaged
low
Minor
582,912,585
svelte
Conditional bind:this (allow undefined and conditional targets)
**Is your feature request related to a problem? Please describe.** It has a lot of possible applications. Here's the latest problem I faced today. I have a big paginated list, that has page buttons in the bottom of the list, and I want to scroll the list to the first item whenever I change the page. I want to use `scrollIntoView` method, so I need a ref to the first item of the list. **Describe the solution you'd like** It seems to be quite safe to allow `undefined` as a possible value for ref — it would just mean to not bind this element/component to any variable. ```html {#each arr as item, index} <p bind:this={index === 0 ? ref : undefined}>{item}</p> {/each} ``` It also seems legit from developer point of view to allow dynamic ref target with code like this: ```html {#each arr as item, index} <p bind:this={cond(item) ? ref : ref2}>{item}</p> {/each} ``` **Describe alternatives you've considered** Right now I do this in multiple ways. *Array of refs*. [REPL](https://svelte.dev/repl/fb849bd4c802457fa3fca9baf33e55c9?version=3.20.1). In two words: ```html <script> let refs = []; </script> {#each arr as item, index} <p bind:this={refs[index]}>{item}</p> {/each} ``` and then use `refs[0]` or `refs[refs.length - 1]` to get certain elements. I think: 1. it is confusing 2. it might have performance implications with huge lists 3. it can even break business logic, because if your array gets smaller over time you'll end up with a bunch of null values in it. [REPL](https://svelte.dev/repl/3bb0b73b23704864a1317139a1fda366?version=3) *Custom class name*. Assign a conditional class via `class:custom-name={index === 0}`, and then use `document.querySelector` to get the element with this class. It is bad because of two reasons: class name clashes (need to come up with unique name) and class name duplication (one in `<script>` and one in layout). **How important is this feature to you?** Not that much, it just seems like a good feature to have. I'm not aware of the internals of Svelte, but I assume adding any kind of dynamic code in element binding would be a lot of pain, because it most probably happens during compile time and not in the runtime. **Additional context** Same ideas were mentioned in [this comment](https://github.com/sveltejs/svelte/issues/2422#issuecomment-549101659).
feature request,awaiting submitter,temp-stale
low
Major
582,915,050
terminal
ReadFile: Ctrl+Z sends EOF even if console is in 'raw' mode
# Environment ```none Windows build number: Microsoft Windows [Version 10.0.19041.153] .NET Core 3.1.200 ``` # Steps to reproduce C# program: ```csharp using System; using System.Diagnostics; using System.Text; using static Vanara.PInvoke.Kernel32; namespace Test { static class Program { unsafe static void Main() { var stdin = GetStdHandle(StdHandleType.STD_INPUT_HANDLE); var stdout = GetStdHandle(StdHandleType.STD_OUTPUT_HANDLE); Debug.Assert(GetConsoleMode(stdin, out CONSOLE_INPUT_MODE inMode)); inMode |= CONSOLE_INPUT_MODE.ENABLE_VIRTUAL_TERMINAL_INPUT; inMode &= ~(CONSOLE_INPUT_MODE.ENABLE_PROCESSED_INPUT | CONSOLE_INPUT_MODE.ENABLE_LINE_INPUT | CONSOLE_INPUT_MODE.ENABLE_ECHO_INPUT); Debug.Assert(SetConsoleMode(stdin, inMode)); Debug.Assert(GetConsoleMode(stdout, out CONSOLE_OUTPUT_MODE outMode)); outMode |= CONSOLE_OUTPUT_MODE.ENABLE_VIRTUAL_TERMINAL_PROCESSING | CONSOLE_OUTPUT_MODE.DISABLE_NEWLINE_AUTO_RETURN; outMode &= ~(CONSOLE_OUTPUT_MODE.ENABLE_PROCESSED_OUTPUT | CONSOLE_OUTPUT_MODE.ENABLE_WRAP_AT_EOL_OUTPUT); Debug.Assert(SetConsoleMode(stdout, outMode)); byte b = 0; Debug.Assert(ReadFile(stdin, (IntPtr)(&b), 1, out var r, IntPtr.Zero)); Console.Write("Read {0} bytes; value = 0x{1:x2}", r, b); } } } ``` (Uses the Vanara.PInvoke.Kernel32 NuGet package for convenience.) Run the program in any console host / shell (CMD, PowerShell, Windows Terminal, etc). # Expected behavior Output: `Read 1 bytes; value = 0x1a` (behavior on Linux) # Actual behavior Output: `Read 0 bytes; value = 0x00` --- I understand that Ctrl+Z is (roughly) Windows's equivalent to Ctrl+D to send EOF. However, I would expect it not to send EOF when the console has been put in 'raw' mode as described [here](https://docs.microsoft.com/en-us/windows/console/high-level-console-modes). This is the behavior on Unix systems for Ctrl+D when you unset `ICANON` (see [this](https://linux.die.net/man/3/tcsetattr) manual page). Perhaps there's an additional step that I'm missing?
Product-Conhost,Help Wanted,Area-Server,Issue-Bug,Priority-2,Impact-Compatibility
low
Critical
582,923,889
pytorch
Addition of Siamese loss or contrastive loss function
## 🚀 Feature I would like to contribute to the pytorch (in python and c++) by adding the [ contrastive loss/siamese_margin_loss](http://yann.lecun.com/exdb/publis/pdf/hadsell-chopra-lecun-06.pdf) function which is usually implemented for siamese networks ## Motivation I have been working on siamese networks and have implemented constrastive loss/siamese_margin_loss to measure similarity between bottleneck embeddings of the autoencoder. ## Pitch The output of the loss function is similar to that of [TripletMarginLoss](https://github.com/pytorch/pytorch/blob/d9b97a4ffd3d65eeaccb5f8729926976fa868981/torch/nn/functional.py#L3544) but for siamese network instead of triplet network. It returns a float value signifying the distance between the bottleneck embedding. <!-- A clear and concise description of what you want to happen. --> ## Additional context This loss implemented for all siamese network implementations (such as facial similarity, Omniglot examples) <!-- Add any other context or screenshots about the feature request here. -->
feature,module: loss,triaged
low
Major
582,943,539
ant-design
labelInValue property does not work on antd <Select>
- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate. ### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-2etxo) ### Steps to reproduce Select the select control, there should be 1 item in it with the text "Whatever". There is not. ### What is expected? As per the docs "whether to embed label in value, turn the format of value from string to {key: string, label: ReactNode}" ### What is actually happening? reactnode labels are not being rendered. | Environment | Info | |---|---| | antd | 3.26.13 | | React | 16.13 | | System | Windows 10 | | Browser | Chrome / all | <!-- generated by ant-design-issue-helper. DO NOT REMOVE --> Testing in **version 4** produces "Objects are not valid as a React child". So i think version 4 ignores the labelInValue property and trys to render the value prop verbatim. It either needs support or removing from the documentation.
Inactive
low
Minor
582,982,209
pytorch
Expanded tensors don't work as registered buffers
## 🐛 Bug Consider the following code ([gist](https://gist.github.com/heiner/4e8b34c3edd66a04b11e8a3798e14656)): ```python import torch from torch import nn class Module(nn.Module): def __init__(self): super(Module, self).__init__() self.register_buffer("mybuf", torch.arange(12).view(1, 12).expand(2, -1)) if __name__ == "__main__": m1 = Module() m2 = Module() try: m2.load_state_dict(m1.state_dict()) except RuntimeError as e: # PyTorch error not very expressive (fixed in https://github.com/pytorch/pytorch/commit/c7bf4d22fe7f0de239feeb084682827c3b9a759f). print(e) # Underlying error: m2.mybuf.copy_(m1.mybuf) print(m2.mybuf) ``` The error underlying error is: ``` RuntimeError: unsupported operation: more than one element of the written-to tensor refers to a single memory location. Please clone() the tensor before performing the operation. ``` ## To Reproduce Run code above. ## Expected behavior I can see why writing to a tensor with a non-standard stride like the one returned by `expand` is tricky. Still, there are use cases for copying the weights (and buffers) of one module into another one, and this breaks that. The specific situation in which we are looking to have an expanded tensor as a registered buffer is when doing a batched crop centered around input-dependent positions by using `F.grid_sample`, analogous to what @soumith suggested in [this thread](https://discuss.pytorch.org/t/cropping-a-minibatch-of-images-each-image-a-bit-differently/12247). ## Environment ``` Collecting environment information... PyTorch version: 1.4.0 Is debug build: No CUDA used to build PyTorch: None OS: Mac OSX 10.14.6 GCC version: Could not collect CMake version: version 3.12.2 Python version: 3.7 Is CUDA available: No CUDA runtime version: No CUDA GPU models and configuration: No CUDA Nvidia driver version: No CUDA cuDNN version: No CUDA Versions of relevant libraries: [pip3] numpy==1.16.2 [conda] Could not collect ```
module: nn,module: error checking,triaged,module: partial aliasing
low
Critical
583,018,269
flutter
Multicast_MDNS not working on iOS
## MDNS don't work in iOS Hello, I'm using the MDNS function, it works well on Android but not on iOS : ``` Future<void> _incrementCounter() async{ print('Start function'); const String name = '_chromecast._tcp.local'; final MDnsClient client = MDnsClient(); await client.start(); print('Await Client'); await for (PtrResourceRecord ptr in client .lookup<PtrResourceRecord>(ResourceRecordQuery.serverPointer(name))) { await for (SrvResourceRecord srv in client.lookup<SrvResourceRecord>( ResourceRecordQuery.service(ptr.domainName))) { final String bundleId = ptr.domainName; print('Dart observatory instance found at ' '${srv.target}:${srv.port} for "$bundleId".'); } } client.stop(); print('Done.'); } ``` **Expected results:** Detect chrome cast on this function **Actual results:** There is no output. I just know that the the function blocks at "await client.start()" <details> <summary>Logs</summary> No output debug from flutter run --verbose `Flutter analyze : ` ``` No issues found! (ran in 2.9s) ``` `flutter doctor -v` ``` [✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale fr-FR) • Flutter version 1.12.13+hotfix.8 at /Users/davidminard/Documents/flutter • Framework revision 0b8abb4724 (5 weeks ago), 2020-02-11 11:44:36 -0800 • Engine revision e1e6ced81d • Dart version 2.7.0 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/davidminard/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • 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 11C504 • CocoaPods version 1.8.4 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 44.0.2 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] Connected device (1 available) • iPhone • 4efb8cc723c9901960727055771f2c2fd0102f0b • ios • iOS 13.3.1 • No issues found! ``` </details>
platform-ios,package,p: multicast_dns,P2,team-ios,triaged-ios
low
Critical
583,019,832
pytorch
libtorch memory leak
## 🐛 Bug result in memory leak when use libtorch. but i think that it is very strange. because i only define `torch::DeiviceType` , then got **bug1** ### bug1 ``` still reachable: 884,654 bytes in 13,927 blocks of which reachable via heuristic: stdstring :436062 bytes in 5832 blocks ``` ### bug2 ``` possibly lost: 3104 bytes in 22 blocks still reachable: 1231592 bytes in 14005 blocks of which reachable via heuristic: stdstring :436062 bytes in 5832 blocks ``` ## To Reproduce ### bug1 ```c++ int main() { torch::DeviceType device_type; } ``` ### bug2 ```c++ int main() { torch::DeviceType device_type; if(torch::cuda::is_available()) { device_type = torch::kCUDA; } else { device_type = torch::kCPU; } torch::Device device(device_type) } ``` ## Environment - PyTorch Version : 1.4 - libtorch Version: 1.4 - OS (e.g., Linux): Ubuntu 16.04 - How you installed PyTorch (`conda`, `pip`, source): pip - Python version: 3.5 - CUDA/cuDNN version: 10 ## update - the memory leak caused by the `valgrind` tool, not bug for libtorch. - `cuda-memcheck` is need for detect memory leak instead of `valgrind` But `cuda-memcheck` report this error below: ```shell Program hit cudaErrorCudartUnloading (error 4) due to "driver shutting down" on CUDA API call to cudaEventDestroy. ========= Saved host backtrace up to driver entry point at error ========= Host Frame:/usr/local/nvidia/lib64/libcuda.so.1 [0x377f93] ========= Host Frame:/xxx/xxx/software/libtorch/lib/libcudart-1b201d85.so.10.1 (cudaEventDestroy + 0x18e) [0x49c8e] ========= Host Frame:/xxx/xxx/software/libtorch/lib/libtorch.so (_ZN19cublasFixedSizePool8tearDownEv + 0xe4) [0x10a4ac34] ========= Host Frame:/xxx/xxx/software/libtorch/lib/libtorch.so (_ZN36cublasFixedSizePoolWithGraphSuppport8tearDownEv + 0x16) [0x1083f666] ========= Host Frame:/xxx/xxx/software/libtorch/lib/libtorch.so (cublasDestroy_v2 + 0xd0) [0xebccfd0] ========= Host Frame:/xxx/xxx/software/libtorch/lib/libtorch.so (cudnnDestroy + 0x219) [0xf473e99] ========= Host Frame:/xxx/xxx/software/libtorch/lib/libtorch.so [0x46cc655] ========= Host Frame:/lib/x86_64-linux-gnu/libc.so.6 (__cxa_finalize + 0x9a) [0x3a36a] ========= Host Frame:/xxx/xxx/software/libtorch/lib/libtorch.so [0x18ab893] ``` cc @yf225
module: cpp,module: memory usage,triaged
low
Critical
583,078,249
vscode
Variable substitution with environment - allow for fallback to default
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> When doing variable substitution with environment (at debugging launch, but could be useful for tasks too - `${env:Name}`), I would like to provide a fallback (default) when the environment variable is not set. As an example, see the variable substitution scheme for Docker Compose: https://docs.docker.com/compose/compose-file/#variable-substitution > - `${VARIABLE:-default}` evaluates to default if `VARIABLE` is unset or empty in the environment. > - `${VARIABLE-default}` evaluates to default only if `VARIABLE` is unset in the environment. The syntax for VS Code could be `${env:Name:-default}` and `${env:Name-default}` with the same logic. <!-- Please include the latest version of VS Code you've confirmed to not have this feature --> VS Code version 1.42.1
feature-request,variable-resolving
medium
Critical
583,082,178
node
HTTP2 does not support system Host
set a "domain ip" mapping in system host file, it does not work when use http2.connect('https://domain'). The error shows: `events.js:174 throw er; // Unhandled 'error' event ^ Error [ERR_HTTP2_ERROR]: Protocol error at Http2Session.onSessionInternalError [as error] (internal/http2/core.js:637:26) Emitted 'error' event at: at emitClose (internal/http2/core.js:878:10) at process._tickCallback (internal/process/next_tick.js:63:19) ` while it works perfect in https.get(https://domain), and no certificate problem.
http2
low
Critical
583,084,643
vscode
Git - Version control does not honor "remote.origin.push" git config.
- VSCode Version: 1.41.1 - OS Version: Cent OS 7 Steps to Reproduce: 1. Set the push to git config ```git config --global remote.origin.push refs/heads/master:refs/for/master``` 2. Use the push context menu on version control tab. git config is not considered. git output shows the following command used to push the code. ```git push origin master:master``` Expected behavior: It should use the following command. git push origin refs/heads/master:refs/for/master Does this issue occur when all extensions are disabled?: Yes
help wanted,feature-request,git
low
Minor
583,084,712
youtube-dl
Support Laracasts
## Checklist - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2020.03.08** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that none of provided URLs violate any copyrights - [x] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs - Single video: https://laracasts.com/series/laravel-6-from-scratch/episodes/1 - Single video: https://laracasts.com/series/laravel-6-from-scratch/episodes/2 - Playlist: https://laracasts.com/series/laravel-6-from-scratch
site-support-request
low
Critical
583,090,939
rust
`unused_parens` is not emitted for exprs used in macro.
```rust fn main() { let x = vec![((8))]; println!("Hello, world!, {:?}",x); } ``` and ```rust fn main() { println!("Hello, world!, {:?}", ((8))); } ``` do not have any warnings while ```rust fn main() { let x = ((8)); println!("Hello, world!, {:?}",x); } ``` emits `unused_parens`. I expect the first two snippets to also cause this warning. ---- note: is there a way to add labels to an issue without being a member?
A-lints,A-macros,T-compiler,C-bug,L-unused_parens
low
Minor
583,139,306
vscode
Terminal doesn't flush all line data before firing onExit
- VSCode Version: 1.43.0 - OS Version: Windows 10 version 1809 - Does this issue occur on the latest insiders build?: Yes - Does this issue occur when all extensions are disabled?: Yes Steps to Reproduce: 1. Create a `Task` which uses `CustomExecution` to output to a `PseudoTerminal` and specify one or more `ProblemMatcher`s which are relevant to the `Task`'s output. 2. Run the `Task`. Its output seemingly will not be processed by the specified `ProblemMatcher`s. At least, the effects are not applied - I cannot CTRL+click on file names, problems are not reported in the "Problems" tab, etc. Sample code: ```ts import * as vscode from "vscode"; import { exec } from "child_process"; // Simply run tsc and output the results to the terminal class MyBuildTaskTerminal implements vscode.Pseudoterminal { private writeEmitter = new vscode.EventEmitter<string>(); onDidWrite: vscode.Event<string> = this.writeEmitter.event; private closeEmitter = new vscode.EventEmitter<void>(); onDidClose?: vscode.Event<void> = this.closeEmitter.event; open(_initialDimensions: vscode.TerminalDimensions | undefined): void { this.doBuild(); } close(): void { } private async doBuild(): Promise<void> { this.writeEmitter.fire("Starting build...\r\n"); // non-existent.ts doesn't exist and will output an error, but there will // be no corresponding entry in the "Problems" tab. // // Similarly, if the file did exist but contained errors (and I prefixed the // command with "cd /path/to/workspace/dir && "), I wouldn't be able // to CTRL+click the file's path to go to the location of the problem exec("tsc non-existent.ts", (_error, stdout, stderr) => { this.writeEmitter.fire(stdout); this.writeEmitter.fire(stderr); this.closeEmitter.fire(); }); } } const myTask = new vscode.Task( { type: "myType" }, vscode.TaskScope.Workspace, "myTask", "mySource", new vscode.CustomExecution(async () => { // Pseudo-terminal implementing some task which fires onDidWrite()'s emitter // to output text. For this example, it runs tsc and outputs any compile errors return new MyBuildTaskTerminal(); }), "$tsc" // TypeScript errors should be picked up ); vscode.tasks.executeTask(myTask); ``` VSCode behaves as expected if I change the line ```ts new vscode.CustomExecution(...) ``` to ```ts new vscode.ShellExecution("tsc non-existent.ts") ``` In my actual project, the `Task`'s logic is more complex and I can't simply use `ShellExecution`.
bug,tasks,terminal-process
low
Critical
583,161,582
electron
Treat DevTools windows as regular windows
### Preflight Checklist <!-- Please ensure you've completed the following steps by replacing [ ] with [x]--> * [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project. * [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to. * [x] I have searched the issue tracker for an issue that matches the one I want to file, without success. ### Issue Details * **Electron Version:** * 7.1.10 * **Operating System:** * macOS 10.14<!-- (Platform and Version) e.g. macOS 10.13.6 / Windows 10 (1803) / Ubuntu 18.04 x64 --> * **Last Known Working Electron version:** * N/A<!-- (if applicable) e.g. 3.1.0 --> ### Issue The following line of code works in a way that doesn't make sense to me: ```js !!BrowserWindow.getFocusedWindow ()?.isFocused (); // => true or false ``` When calling `BrowserWindow.getFocusedWindow` the main window of my app is returned, even if actually the devtools window is focused. Then, calling `BrowserWindow#isFocused` on the retuned window will return `true`, if in fact my app's main window was focused, but `false` if in reality the devtools window was focused. Basically it's like windows are kind of focused and not focused at the same time according to what these APIs tell me. I see two issues here: - Devtools windows are not treated as regular windows, even though they are from the user perspective. - As I've reimplemented the app menu I need to manually trigger actions like copy or paste inside the devtools myself, and in order to do that I needed to detect if the devtools window is actually focused and I didn't find any standalone API for detecting that, other than the aforementioned quirky line of code, there should probably be one. - It seems that I could have used `Menu.sendActionToFirstResponder` to implement this too, but it's not clear from the documentation how that actually works and what actions are supported, it should probably be documented better. And that's a macOS-only API anyway.
enhancement :sparkles:
low
Minor
583,164,348
svelte
animate:flip glitches when each block is updated during animation
When a list iterated in a keyed `each` block is updated while some of its elements are being animated with the `animate:flip` directive, all the current animations glitch. https://svelte.dev/repl/7197a0f2d51d47f8b9b2d6e7aa5d401c?version=3.20.1
temp-stale
low
Major
583,180,736
flutter
LocalizationsDelegate should use the supportedLocales listed in MaterialApp
## Use case When creating a class that extends `LocalizationsDelegate`, it is required to `@override isSupported` returning a bool if the locale is supported. That's a bit redundant given that the MaterialApp's localizationsDelegate and supportedLocales property already required listing of the supported locales. ```dart MaterialApp( title: 'LocalizedApp', localizationsDelegates: [ const LocalizedAppLocalizationsDelegate(), GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, ], supportedLocales: [ const Locale.fromSubtags(languageCode: 'en'), const Locale.fromSubtags(languageCode: 'es'), ], home: const StartupPage(), ); **const List<String> supportedLanguages = ['en', 'es'];** class LocalizedAppLocalizationsDelegate extends LocalizationsDelegate<LocalizedAppLocalizations> { const LocalizedAppLocalizationsDelegate(); @override bool isSupported(Locale locale) => supportedLanguages.contains(locale.languageCode); @override Future<LocalizedAppLocalizations> load(Locale locale) async { return SynchronousFuture<LocalizedAppLocalizations>( await LocalizedAppLocalizations.instance(locale)); } @override bool shouldReload(LocalizationsDelegate<LocalizedAppLocalizations> old) => false; } ``` ## Proposal MaterialApp should "pass-in" the supportedLocales to `LocalizedAppLocalizationsDelegate`
framework,f: material design,a: internationalization,c: proposal,team-design,triaged-design
low
Minor
583,185,891
flutter
prefixIconError or a boolean in the InputDecoration props ?
<!-- 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 <!-- 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? --> I use an InputDecoration to display some icon at the left of my input using the prefixIcon props. In case of error, I can style the text, the border, but I cannot touch the prefix I've added a bool hasError when I call my InputDecoration from the field, but I need to know if the field is in "error" and it is very difficult... and almost invisible. I need to map fields of the form and get there status. ``` bool isFieldInError(String key) { try { final field = (formKey != null ? formKey?.currentState?.fields[key] : null); return field?.currentState != null && field.currentState.hasError; } catch (e) { return false; } } ``` And my InputDecoration is ``` InputDecoration formFieldDecoration( {BuildContext context, String hintText, IconData icon, bool hasError = false}) => InputDecoration( hintText: hintText, hintStyle: TextStyle(color: WMColors.greyDimmed, fontSize: WMTypos.sizeDefault), hintMaxLines: 1, errorStyle: TextStyle(fontSize: WMTypos.sizeSmall, color: WMColors.danger), errorMaxLines: 2, hasFloatingPlaceholder: false, isDense: true, contentPadding: EdgeInsets.all(0), prefixIcon: Container( width: 45, height: 45, padding: const EdgeInsets.all(0), margin: const EdgeInsets.only(right: WMDimensions.space2x), decoration: BoxDecoration( borderRadius: BorderRadius.circular(3), color: hasError ? WMColors.danger : WMColors.grey, ), child: Icon( icon, color: WMColors.white, size: 14, ), ), ); ``` ![flutter-form-builder](https://user-images.githubusercontent.com/7458151/76883802-fbebf600-687c-11ea-8fdf-fe2c4586ac84.gif) ## Proposal <!-- 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. --> 1. Having some kind of prefixIconError ``` InputDecoration( ... prefixIcon: Container( decoration: BoxDecoration( borderRadius: BorderRadius.circular(3), color: WMColors.grey, ), child: Icon( icon, color: WMColors.white, size: 14, ), ), prefixIconError: Container( decoration: BoxDecoration( borderRadius: BorderRadius.circular(3), color: WMColors.danger, ), child: Icon( icon, color: WMColors.white, size: 14, ), ), ); ``` 2. Having the information that the field is in error and having this passed in the InputDecoration props 3. Having an event for the form onError with a map of fields in error as props... ``` class Form extends StatefulWidget { /// Creates a container for form fields. /// /// The [child] argument must not be null. const Form({ Key key, @required this.child, this.autovalidate = false, this.onWillPop, this.onChanged, **this.onError,** }) : assert(child != null), super(key: key); ``` Thank you !
a: text input,framework,f: material design,c: proposal,team-design,triaged-design
low
Critical
583,216,162
godot
Jitter in projects
**Godot version:** 3.11 & 3.2.1 **OS/device including version:** Windows 10 **Issue description:** I have jitter every ~2 seconds in my Godot projects. Did some test and reduced it to the basics. I included a simple sample project with a moving kinematicbody2D that moves with: move_and_collide(Vector2(120,0) * delta) in _physics_process(delta) What i see is 3 intervals where the sprite jitters, near frame 71, 188 and 304 (and continueing onward). The profiler says the frame time, mainly idle time, is 0.073s on those frame numbers. Which is 4 frames at 60fps. ![profiler](https://user-images.githubusercontent.com/62304683/76888691-a87da600-6884-11ea-8f28-9e742a624c92.png) I have tried to bypass this with running fullscreen, exporting without debug, putting the move_and_collide in _process instead. It stays very visible. **Minimal reproduction project:** [jitter_project.zip](https://github.com/godotengine/godot/files/4345077/jitter_project.zip)
bug,topic:rendering,topic:physics
low
Critical
583,226,214
PowerToys
Add taskbar separators
# Summary of the new feature/enhancement I have my apps grouped in the taskbar by function (e.g. all my text/code editors are next to each other, all my email/chat apps are next to each other, all my browsers, office apps, games, etc.) Having some sort of space or vertical bar between the groups would improve the legibility of these groups, making it immediately obvious where each group begins/ends. I do this on macOS and it's **super** helpful. It looks like this <img width="1588" alt="Screen Shot 2020-03-17 at 11 48 25 AM" src="https://user-images.githubusercontent.com/8008261/76890929-6bde8a00-6845-11ea-83f3-d4738b98bcaf.png">
Idea-New PowerToy,Product-Tweak UI Design
medium
Major
583,232,577
rust
`unused_parens` never checks expressions behind references
```rust fn main() { let _ = &(5); // This does not warn } ``` [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4f7d927326c626229ddbc94b96fc2e71) @rustbot modify labels: +T-compiler
A-lints,T-compiler,C-bug,L-unused_parens
low
Critical