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 |
---|---|---|---|---|---|---|
645,845,268 |
vscode
|
Allow us to change the font type and size of find-replace widget
|
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- 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. -->
Hi, and please! It's unreadable for my limited eyes:

I know we are now able to resize the widget horizontally (like pointed out at issues #2657, #20447 and #2220), but that doesn't change the legibility of the inserted characters.
Look how easier it is on Sublime Text to read:

There should be a pair of settings like `"editor.FindReplaceWidgetFontFace": "Consolas",` and `"editor.FindReplaceWidgetFontSize": "16",` (the names are just examples).
|
feature-request,editor-find
|
high
|
Critical
|
645,867,788 |
rust
|
Typecheck error in body of async fn reported at point-of-use
|
<!--
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
use std::marker::PhantomData;
use std::io;
use tokio; // 0.2.21
use tokio_util; // 0.3.1
use tokio::io::{AsyncRead, AsyncWrite};
use tokio::net::TcpStream;
use tokio_util::codec::{Encoder, Decoder};
use futures::stream::StreamExt;
use bytes::{BytesMut, Bytes};
struct Codec;
struct Message<'a> { _p: PhantomData<&'a u8> }
impl Encoder<Message<'static>> for Codec {
type Error = io::Error;
fn encode(&mut self, item: Message<'static>, dst: &mut BytesMut) -> Result<(), Self::Error> {
todo!()
}
}
impl Decoder for Codec {
type Item = Message<'static>;
type Error = io::Error;
fn decode(&mut self, src: &mut BytesMut) -> Result<Option<Self::Item>, Self::Error> {
todo!()
}
}
async fn forwarder(sock: impl AsyncRead + AsyncWrite + Send + 'static) {
let sock = Codec.framed(sock);
let (sink, stream) = sock.split();
stream.map(|msg| msg).forward(sink).await;
}
pub fn assert_send() {
let s : TcpStream = todo!();
let _b : Box<dyn Send> = Box::new(forwarder(s));
}
```
I expected to see this happen: A diagnostic would be issued at the line with the .forward call (or not at all).
Instead, this happened:
```
error[E0308]: mismatched types
--> src/lib.rs:44:30
|
44 | let _b : Box<dyn Send> = Box::new(forwarder(s));
| ^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other
|
= note: expected type `std::ops::FnOnce<(std::result::Result<Message<'static>, std::io::Error>,)>`
found type `std::ops::FnOnce<(std::result::Result<Message<'_>, std::io::Error>,)>`
```
As you can see, this is reporting a typecheck error occurring in the implementation of forwarder, at the point of use of the async fn (where its implementation should be opaque).
### Meta
Tested on the playground with both stable and nightly.
|
T-compiler,C-bug,A-async-await,AsyncAwait-Triaged
|
low
|
Critical
|
645,869,229 |
pytorch
|
Inconsistent behavior between numpy.exp and torch.exp on CPU for complex numbers
|
## 🐛 Bug
numpy.exp and torch.exp on CPU behave inconsistently for complex numbers in some cases.
## To Reproduce
Steps to reproduce the behavior:
```
In [2]: torch.exp(torch.tensor(complex(float('inf'), float('nan'))))
Out[2]: tensor((nan+nanj))
In [5]: np.exp(complex(float('inf'), float('nan')))
Out[5]: (inf+nanj)
In [6]: torch.exp(torch.tensor(complex(float('inf'), float('inf'))))
Out[6]: tensor((nan+nanj))
In [7]: np.exp(complex(float('inf'), float('inf')))
Out[7]: (inf+nanj)
In [4]: torch.exp(torch.tensor(complex(float('inf'), 0)))
Out[4]: tensor((inf+nanj))
In [3]: np.exp(complex(float('inf'), 0))
Out[3]: (inf+0j)
```
## Expected behavior
They should behave consistently.
## Environment
PyTorch version: 1.6.0.dev20200625+cu101
Is debug build: No
CUDA used to build PyTorch: 10.1
OS: Debian GNU/Linux 10 (buster)
GCC version: (Debian 8.3.0-6) 8.3.0
CMake version: version 3.16.3
Python version: 3.7
Is CUDA available: No
CUDA runtime version: 10.1.243
GPU models and configuration: GPU 0: Quadro P400
Nvidia driver version: 440.82
cuDNN version: Could not collect
Versions of relevant libraries:
[pip3] numpy==1.17.2
[pip3] torch==1.6.0.dev20200625+cu101
[conda] Could not collect
cc @ezyang @anjali411 @dylanbespalko @mruberry
|
triaged,module: complex,module: numpy
|
low
|
Critical
|
645,875,445 |
TypeScript
|
Inconsistent type hover information
|
<!-- 🚨 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.2, Nightly
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** inconsistent type hover
**Expected behavior:** When the variable `x` is of type `T`, the type shown in the hover information is the same for both.
**Actual behavior:** The variable `x` is of type `T`, but the type shown for `x` is different than the type shown for `T`.
<!-- Did you find other bugs that looked similar? -->
**Related Issues:** N/A
**Code**
```ts
// Hover `T` shows { a: 5 }
type T = Pick<{ a: 5, b: "string" }, "a">
// Hover `T` shows { a: 5 }
// Hover `x` shows Pick<{ a: 5, b: "string" }, "a">
declare const x: T;
```
<details><summary><b>Output</b></summary>
```ts
"use strict";
```
</details>
<details><summary><b>Compiler Options</b></summary>
```json
{
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"strictBindCallApply": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"useDefineForClassFields": false,
"alwaysStrict": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"downlevelIteration": false,
"noEmitHelpers": false,
"noLib": false,
"noStrictGenericChecks": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"esModuleInterop": true,
"preserveConstEnums": false,
"removeComments": false,
"skipLibCheck": false,
"checkJs": false,
"allowJs": false,
"declaration": true,
"experimentalDecorators": false,
"emitDecoratorMetadata": false,
"target": "ES2017",
"module": "ESNext"
}
}
```
</details>
**Playground Link:** [Provided](https://www.typescriptlang.org/play/index.html?ts=4.0.0-dev.20200624#code/LAKA9GAEASD2BuBTATpABgFTZAzgC1gHcdIBvSAQwC5IBWSAX1ABcBPAB0Ug0gF5IACgEsAxgGsAPOWp0ANJABGNAEQ5myIQDsA5ssbzlFZQD5QoCDAQp0WXAWJlKNek3BQ4SVGgAe2fERJhcSknOUUVNQ0dPQYDI1MQABNEEQAbCmQuEVhNNUhvGgwAblAgA)
|
Bug,Domain: Quick Info
|
low
|
Critical
|
645,879,224 |
vscode
|
Crash on startup with remote X server
|
Just downloaded the latest version of VScode (https://az764295.vo.msecnd.net/insider/9b620b291e120caab8292cab38cad10c2b22dffe/code-insider-1593112949.tar.gz") and found it still shows a blank window after launch.

|
bug,freeze-slow-crash-leak,linux,gpu,upstream-issue-linked,chromium,mitigated
|
medium
|
Critical
|
645,902,731 |
godot
|
Slow editor startup with large number of opened scripts in the script editor
|
**Godot version:**
3.2.2.stable, 4.0-dev
**OS/device including version:**
Windows 10
**Issue description:**
Starting a project with over 100 scripts opened in the script editor negatively affects the startup times.

On a project with 500 small scripts opened in the script editor, it takes around 15-20 seconds before the editor becomes responsive. If you close all scripts with `File` → `Close All` and restart Godot, it takes around 3-6 seconds, as usual.
**Steps to reproduce:**
1. Open any project with over 100 scripts.
2. Open each individual script so that it becomes listed in the script editor.
3. Restart Godot.
It's quite time consuming to do this manually, so proceed to the minimal project instructions.
**Minimal reproduction project:**
[script-editor-slow-startup.zip](https://github.com/godotengine/godot/files/4834155/script-editor-slow-startup.zip) (includes 500 scripts)
1. Unpack minimal project.
2. Run the project.
3. Close the project.
4. Copy and replace the included `editor_layout.cfg` file to the path where project-specific editor settings and cache are stored (on Windows the path may be similar to `C:\Users\Profile\AppData\Roaming\Godot\projects\script-editor-slow-startup-%MD5%`). That way when you open Godot, all the project scripts will be opened in the script editor. You can also navigate this via menu:

5. Run the project and notice slow startup.
**Notes:**
1. `MessageQueue` size is increased to allow loading over 500 scripts in the minimal project (#35653).
2. Panel dragging (split container) becomes very laggy. The window layout info is constantly written to `editor_layout.cfg` while doing so, and it seems like it does this for each and every script as well.
3. `Close All` produces similar editor hang as the editor startup.
**Workaround:**
~~There's currently no editor option to disable this feature. Make sure to close old opened scripts regularly.~~ Actually there is: https://github.com/godotengine/godot/issues/39841#issuecomment-654811843.
I've [created a plugin](https://github.com/Xrayez/godot-editor-plugin-tools/blob/master/addons/script_editor/script_editor_plugin.gd?rgh-link-date=2020-06-26T22%3A10%3A25Z) which does that automatically, bypassing this issue currently in 3.2: https://github.com/godotengine/godot/issues/39841#issuecomment-650425744.
**Related issues**
Marginally related to #9815.
|
bug,topic:editor,performance
|
low
|
Major
|
645,910,872 |
youtube-dl
|
How can I download paid content from Vlive + (Plus)?
|
<!--
Please i need a code to download videos from Vlive+ Thank you.
-->
|
request
|
low
|
Minor
|
645,915,820 |
PowerToys
|
Implement popular 7+ Taskbar Tweaker features
|
Implement some popular features of [7+ Taskbar Tweaker (7tt)](https://rammichael.com/7-taskbar-tweaker), like:
* don't group pinned items (in taskbar)
* associate an action to middle-clic on an item (close, etc.)
* change action when hovering an item (show thumbnail, do nothing...)
etc.
7tt needs work every-time Windows gains a major update (like 1909 or 2004, or some big patches). I think Microsoft could integrate popular 7tt features into PowerToys and maintain them.
To be honest, these features should be integrated into Windows :-D
|
Idea-New PowerToy
|
low
|
Major
|
645,944,199 |
terminal
|
Scenario: "toolbar" (the space next to the tab bar) customization/bindings
|
There are a couple feature requests that came in that suggest that we need to be able to customize what shows up to the right of the tab strip.
* [ ] #445
- More discussion in #11337
* [ ] #6608 "I'd like to remove the <kbd>+</kbd>"
- note: this is: I want to get rid of the <kbd>+</kbd>, but NOT the <kbd>v</kbd>
* [ ] #6607 "The down arrow should display a list of open tabs, not new profiles"
* [ ] Icon buttons to start relevant shell types #2934 (a toolbar?)
This is tangentially related to menu customization.
|
Area-UserInterface,Area-Settings,Product-Terminal,Issue-Scenario
|
low
|
Minor
|
645,951,807 |
node
|
Benchmark CI run error: benchmark/_test-double-benchmarker
|
<!--
Thank you for reporting a flaky test.
Flaky tests are tests that fail occasionally in the Node.js CI, but not
consistently enough to block PRs from landing, or that are failing in CI jobs or
test modes that are not run for every PR.
Please fill in as much of the template below as you're able.
Test: The test that is flaky - e.g. `test-fs-stat-bigint`
Platform: The platform the test is flaky on - e.g. `macos` or `linux`
Console Output: A pasted console output from a failed CI job showing the whole
failure of the test
Build Links: Links to builds affected by the flaky test
If any investigation has been done, please include any information found, such
as how consistently the test fails, whether the failure could be reproduced
locally, when the test started failing, or anything else you think is relevant.
-->
Run command:
```shell
./node-master benchmark/compare.js --old ./node-master --new ./node-master -- http2
```
Refs: https://github.com/nodejs/node/pull/33928#issuecomment-647372277
* **Test**: http2
* **Platform**: macOS,Linux
* **Console Output:**
```
/Users/ricky/projj/github.com/rickyes/node/benchmark/_test-double-benchmarker.js:40
client.on('error', (e) => { throw e; });
^
Error: connect EADDRNOTAVAIL 127.0.0.1:12346 - Local (0.0.0.0:0)
at internalConnect (net.js:905:16)
at defaultTriggerAsyncIdScope (internal/async_hooks.js:416:12)
at net.js:997:9
at processTicksAndRejections (internal/process/task_queues.js:75:11) {
errno: -49,
code: 'EADDRNOTAVAIL',
syscall: 'connect',
address: '127.0.0.1',
port: 12346
}
Error: test-double-http2 failed with 1.
at ChildProcess.<anonymous> (/Users/ricky/projj/github.com/rickyes/node/benchmark/_http-benchmarkers.js:238:16)
at Object.onceWrapper (events.js:421:26)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1051:16)
at Socket.<anonymous> (internal/child_process.js:442:11)
at Socket.emit (events.js:314:20)
at Pipe.<anonymous> (net.js:656:12)
```
* **Build Links**: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/627/console
|
flaky-test
|
low
|
Critical
|
645,953,752 |
godot
|
Can't run EditorScript when external text editor is enabled
|
<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->
**Godot version:**
3.2 branch commit 5079bea66073e369f687a668fe4582da9a55c2cb
**OS/device including version:**
Arch Linux
**Issue description:**
Attempted to run an `EditoScript` script, but wasn't allowed because an external text editor was enabled.
Perhaps it might be a good idea to be able to run EditorScript through the Scene menu on the top menu bar, or through the Filesystem tab by right clicking and then just hitting `Run`. If the script can't be executed, then a popup would let the user know about it.
As a workaround, I'll stick to closing and reopening scenes with a `tool` attached when it makes sense to do so.
**Steps to reproduce:**
1. Specify an external editor under Editor Settings and set it to On. Attempting to open a script should now show the external editor.
2. Under the script tab, if the `EditorScript` is not available on the Script tab, then it's impossible to run it unless the user disables the external editor temporarily to run the script.
**Minimal reproduction project:**
```gdscript
tool
extends EditorScript
func _run():
var label : Label = Label.new()
get_scene().add_child(label)
label.set_owner(get_scene())
```
|
bug,topic:editor,confirmed
|
low
|
Major
|
645,989,552 |
flutter
|
iOS Context Menus incorrectly moves to the center between screens
|
The current context menu will always move to the center between the screens, so it is difficult to use it in lists or other places.
like: 
|
c: new feature,framework,f: cupertino,P2,team-design,triaged-design
|
low
|
Major
|
646,003,784 |
scrcpy
|
do i need a dedicated GPU to run scrcpy??
|
hi,
i'm buying a new laptop and scrcpy MUST be my TOP priority because i'm severely disabled and scrcpy is my only way to access my phone.
i believe [am i wrong?] scrcpy is using OpenGL and hardware acceleration when i open it on my mackbook because it won't allow me to switch to my low power integrated graphics.
is this normal?
if i purchase something like [an LG gram with no GPU](https://www.lg.com/us/laptops/lg-17z90n-r.aas9u1-ultra-slim-laptop) will i be able to get scrcpy working?
any and all insight is greatly appreciated
thank you in advance for your time.
|
question
|
low
|
Major
|
646,063,298 |
terminal
|
Command line argument to start up using a specified configuration file
|
<!--
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.
All good? Then proceed!
-->
# Description of the new feature/enhancement
It would be nice to have a command line argument to start up Windows Terminal using a specified configuration file; for example:
`wt -c D:\MyStuff\WindowsTerminal\SomeAwesomeConfigFile.json`
This would be useful in at least a couple of ways:
(1) You could easily use different config files for different purposes; for example you could easily have a taskbar icon to start up a window that you normally use for local command line stuff, and a different one to start up a different window that you normally use for ssh into some other box, and those two windows may be very different than each other.
I know that you can do something like this by having different profiles within the single config file and then having your taskbar icons set up with stuff like `wt new-tab -p Local ; split-pane -p Local` in one and `wt new-tab -p Server ; split-pane -H -p Server` in another, but that can get really out of hand really quick as you want the windows to have more and more complex default startup behavior. Seems like it would be much simpler and cleaner (for this sort of purpose) to maintain just by having two different config files.
(2) I want to keep my configuration in source control. Obviously I *can* do that now, but it seems like a total pain - every time I edit the file, in order to submit it to source control, I have to ``cd`` to some wacky AppData directory that I probably won't remember and that may not even be the same on different machines. Seems like it would be much, much easier and nicer to just use config files in some location that I decide upon, based upon how I actually use my computer.
If there is already a way to do this, then first of all, I apologize; I couldn't find anything like it in the docs, on the web, or via "wt -h". And second of all... how, please? Thanks.
<!--
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->
# Proposed technical implementation details (optional)
<!--
A clear and concise description of what you want to happen.
-->
|
Issue-Feature,Area-Settings,Product-Terminal,Area-Commandline
|
medium
|
Critical
|
646,071,870 |
flutter
|
[web] Dart DevTools for Flutter web
|
The Flutter DevTools _still_ seem to be entirely unsupported for Flutter web.
## Use case
Performance debugging and more and fairly important components of the development workflow. However on Flutter web, we can still not use any of the DevTools.

More unsupported features: [1](https://i.imgur.com/nbFCVGr.png), [2](https://i.imgur.com/CxhKnx5.png), [3](https://i.imgur.com/JxVDuID.png), [4](https://i.imgur.com/KSc1l5x.png)
## Proposal
Make DevTools available for Flutter web / when are DevTools going to be enabled for Flutter web?
---
I found #41428, however, _debugging_ seems to be supported (now) → this is a different issue 🙃
|
c: new feature,tool,platform-web,c: proposal,d: devtools,P3,team-web,triaged-web
|
low
|
Critical
|
646,093,519 |
pytorch
|
Suppress scientific notation in libtorch
|
## 🚀 Feature
The ability to turn off scientific notation (standard form) using the C++ API.
## Motivation
It would be useful to turn off the scientific notation used to display tensors. Sometimes I will often get numbers like: 9.9999e-01 which - in the common tongue - is more frequently known as 0.9999 or 1.0. This notation can be really helpful for very small numbers close to zero but in certain situations it is just confusing.
## Pitch
It would be nice to have an option when creating tensors to turn off scientific notation.
cc @yf225 @glaringlee
|
module: cpp,feature,triaged
|
low
|
Minor
|
646,123,511 |
PowerToys
|
[FancyZones] Snap all open Windows to zones
|
# Summary of the new feature/enhancement
I would like a shortcut to snap all open windows on a monitor to fancy zones. This could be either to the last known zone for that application, or the closest zone to the window.
I often have too many windows open that aren't assigned to their correct zone, and want an easy way to move them all back.
There is a similar suggestions around managing multiple windows at once; https://github.com/microsoft/PowerToys/issues/4033 but this is not quite the same.
# Proposed technical implementation details (optional)
A keyboard or mouse shortcut that snaps all open windows on a monitor to the last known or closest fancy zone for that monitor.
|
Idea-Enhancement,Product-FancyZones
|
low
|
Major
|
646,127,042 |
opencv
|
Passing cv2.dnn.net object to another module causes forward propagation to crash.
|
##### System information (version)
- OpenCV => 4.2.0
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2019
- Runtime Environment: Anaconda Python 3.7
I initialized a dnn net object in my main module and then passed it into a submodule. When I run the program, the program crashes at the net.forward() line.
```
cv2.error: OpenCV(4.2.0) C:\Ocv_Bri_Build\opencv-4.2.0\modules\dnn\src\cuda4dnn\csl\cudnn/transform.hpp:116: error: (-217:Gpu API call) CUDNN_STATUS_EXECUTION_FAILED in function 'cv::dnn::cuda4dnn::csl::cudnn::transform'
```
However, when I initialize the dnn net object inside the submodule, the program does not produce this error. What is the reason behind such an erratic behavior?
|
category: gpu/cuda (contrib),category: dnn
|
low
|
Critical
|
646,127,063 |
material-ui
|
[Modal] Marking large trees as aria-hidden causes slowdown in Chrome on Android
|
- [x] The issue is present in the latest release.
- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.
## Current Behavior 😯
Currently when opening a Select (or any other Dialog/Modal) aria-hidden=true is added to all sibling elements in the DOM. One of those sibling is obviously the render-target for React, which renders a sizable (but definitely not huge) DOM tree (containing at least a list of 250 elements) in our application.
Setting aria-hidden=true removes the element and its descendants from the accesibility tree, which apparently can be quite expensive on a large-ish DOM on slower devices.
In Chrome on Android on a slower device this causes the entire application to freeze for +/- 5 seconds, whereas this does not seem to occur on Firefox. We have seen a similar problem when hiding the list with display: none (removing it from the DOM and the accessibility tree), which was fixed by using z-index instead of display (this makes sure the elements aren't removed from the tree, but simply not visible).
The problem also occurs when adding aria-hidden=true to the render-target without opening a Select, so this could also be considered as a bug in Chrome (especially since the problem appears to be significantly less (< 1 second) in Firefox on the same device), but I'm reporting it here since maybe there is a better way of hiding (not removing) elements from the accessibility tree?
## Expected Behavior 🤔
The application should remain responsive while all siblings of the Dialog/Modal are hidden/removed from the accessibility tree.
## Steps to Reproduce 🕹
The application is covered under an NDA, but this should be relatively easy to reproduce on any large-ish DOM on a slower device (or a throttled inspector).
Steps:
1. Create a large-ish DOM containing a Select;
2. View it on a slow/throttled device;
3. Open a select;
4. Application unresponsive for several seconds.
## Context 🔦
I'm hoping we can either find another way to achieve hiding of elements from the accessibility tree, rather than removing them (which would be a better solution for all Material-UI users aside from any browser-specific bugs which may be underlying here) and/or kick this up to Chrome to allow them to improve their underlying code (as Firefox seems less affected).
## Your Environment 🌎
| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.10.2 |
| React | v16.13.1 |
| Browser | Chrome on Android, v83.0.4103.106 |
ps the issue has existed for at least 3 months now, spanning several major versions on Chrome.
|
performance,accessibility,component: modal
|
low
|
Critical
|
646,127,489 |
angular
|
Class requires Angular annotation even when abstract.
|
Angular 10.0.0 build yields
> NG2007: Class is using Angular features but is not decorated
while class is marked as abstract.
```
export abstract class B {}
@Injectable({...})
export class A extends B {}
```
CLI should be able to compile, as did earlier versions.
|
area: compiler,type: confusing,P4
|
high
|
Critical
|
646,136,942 |
go
|
regexp: fast path for prefix/suffix literals matching on anchored regexps
|
To my understanding, currently there's no fast path for anchored regular expressions starting/ending with a literal, like `^something.*$` or `^.*something$`. I'm wondering if you have considered adding a specific optimisation for this use case.
## Use case
I'm raising this issue, because in Prometheus we do a large use of anchored regexps (for labels matching) and having prefix/suffix literals in the regex looks to be quite a common use case.
In past few days I've worked on a small optimization in Prometheus ([PR](https://github.com/prometheus/prometheus/pull/7453)) to detect safe cases when we can circuit break the regex matching with a `strings.HasPrefix()` and `strings.HasSuffix()`, and it showed to bring significant benefits for our specific use case.
|
Performance,NeedsInvestigation
|
low
|
Minor
|
646,140,418 |
godot
|
Properties duplicated in Remote SceneTree inspector
|
**Godot version:**
3.2.2.rc4.mono.official
**Issue description:**
In playmode the Scenetree displays properties of nodes twice in different subsections:

**Steps to reproduce:**
Attach a script (c# in this case) with exported properties to an object, start play, switch to remote Scenetree, select object with script, find properties under 'Members' and also duplicated under 'Script Variables' (with default values).
|
bug,topic:editor,topic:dotnet
|
low
|
Major
|
646,170,985 |
create-react-app
|
Yarn 2 "portal:" local components import compilation failure because of ModuleScopePlugin
|
### Describe the bug
Description here: https://stackoverflow.com/questions/61530712/module-not-found-error-using-yarn-2-to-link-react-components
TLDR:
When adding ```"MyExternalComponent": "portal:../MyExternalComponent"``` dependencies to package.json, and importing the component with ```import Mycomponent from MyExternalComponent```, the build fails because of the ModuleScopePlugin restriction "You attempted to import components which falls outside of the project src/ directory"
### Which terms did you search for in User Guide?
<!--
There are a few common documented problems, such as watcher not detecting changes, or build failing.
They are described in the Troubleshooting section of the User Guide:
https://facebook.github.io/create-react-app/docs/troubleshooting
Please scan these few sections for common problems.
Additionally, you can search the User Guide itself for something you're having issues with:
https://facebook.github.io/create-react-app/
If you didn't find the solution, please share which words you searched for.
This helps us improve documentation for future readers who might encounter the same problem.
-->
"yarn 2 ModuleScopePlugin"
"portal: ModuleScopePlugin"
### Environment
<!--
To help identify if a problem is specific to a platform, browser, or module version, information about your environment is required.
This enables the maintainers quickly reproduce the issue and give feedback.
Run the following command in your React app's folder in terminal.
Note: The result is copied to your clipboard directly.
`npx create-react-app --info`
Paste the output of the command in the section below.
-->
yarn2
(paste the output of the command here.)
### Steps to reproduce
<!--
How would you describe your issue to someone who doesn’t know you or your project?
Try to write a sequence of steps that anybody can repeat to see the issue.
-->
(Write your steps here:)
1. create a package in folder Foo
2. yarn dlx create-react-app Bar
3. add "Foo": "portal:../Foo" to Bar's package.json
4 build Bar
### Expected behavior
Should work
### Actual behavior
compilation error: "You attempted to import components which falls outside of the project src/ directory"
### Reproducible demo
https://bitbucket.org/cjmyles/yarn2-link/commits/e02b93771dfded0215bdba456d31aea011367807
|
issue: needs investigation,issue: bug report
|
low
|
Critical
|
646,216,709 |
youtube-dl
|
need help about Gaia
|
<!--
######################################################################
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:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->
- [x] I'm asking a question
- [x] I've looked through the README and FAQ for similar questions
- [x] I've searched the bugtracker for similar questions including closed ones
## Question
<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->
WRITE QUESTION HERE
i was able to use gaia.com for downloading videos and it was working fine 3 days before but now its not working on my side i dont know i am doing mistake in command or site have problem
but same command i always use and it worked fine here is issue please help me to solve it
==================

PS C:\Users\HDNLSR174> youtube-dl --verbose -o 'P:\contents\New folder/%(playlist)s/%(chapter_number)s - %(chapter)s/%(t
itle)s.%(ext)s' --ignore-errors -u *******.com -p ** https://www.gaia.com/video/flow-rejuvenation?fullplayer=f
eature
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-o', 'P:\\contents\\New folder/%(playlist)s/%(chapter_number)s - %(chapter)s/%
(title)s.%(ext)s', '--ignore-errors', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.gaia.com/video/flow-rejuvenation?fu
llplayer=feature']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.6.0 (CPython) - Windows-2012ServerR2-6.3.9600-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[Gaia] Downloading JSON metadata
[Gaia] flow-rejuvenation: Downloading JSON metadata
[Gaia] 200811: Downloading JSON metadata
[Gaia] 200693: Downloading JSON metadata
[Gaia] 200693: Downloading m3u8 information
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://hls.gaia.com/hls/200693/5/rendition.m3u8?provider=bc-ak&expiration=1593259200&to
ken=a9129c9fa9267bcb50c2299e187e0b7692d1d8c43972c2c962efc74af9dd47aa'
[download] Destination: P:\contents\New folder\NA\NA - NA\Flow for Rejuvenation.mp4
ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.
File "c:\program files\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\program files\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files\Python36\Scripts\youtube-dl.exe\__main__.py", line 7, in <module>
sys.exit(main())
File "c:\program files\python36\lib\site-packages\youtube_dl\__init__.py", line 474, in main
_real_main(argv)
File "c:\program files\python36\lib\site-packages\youtube_dl\__init__.py", line 464, in _real_main
retcode = ydl.download(all_urls)
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 2019, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 808, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 863, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 1644, in process_video_result
self.process_info(new_info)
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 1926, in process_info
success = dl(filename, info_dict)
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 1865, in dl
return fd.download(name, info)
File "c:\program files\python36\lib\site-packages\youtube_dl\downloader\common.py", line 366, in download
return self.real_download(filename, info_dict)
File "c:\program files\python36\lib\site-packages\youtube_dl\downloader\external.py", line 35, in real_download
retval = self._call_downloader(tmpfilename, info_dict)
File "c:\program files\python36\lib\site-packages\youtube_dl\downloader\external.py", line 227, in _call_downloader
self.report_error('m3u8 download detected but ffmpeg or avconv could not be found. Please install one.')
File "c:\program files\python36\lib\site-packages\youtube_dl\downloader\common.py", line 165, in report_error
self.ydl.report_error(*args, **kargs)
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 625, in report_error
self.trouble(error_message, tb)
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 587, in trouble
tb_data = traceback.format_list(traceback.extract_stack())
ERROR: unable to download video data: [WinError 2] The system cannot find the file specified: 'P:\\contents\\New folder\
\NA\\NA - NA\\Flow for Rejuvenation.mp4.part'
Traceback (most recent call last):
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 1926, in process_info
success = dl(filename, info_dict)
File "c:\program files\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 1865, in dl
return fd.download(name, info)
File "c:\program files\python36\lib\site-packages\youtube_dl\downloader\common.py", line 366, in download
return self.real_download(filename, info_dict)
File "c:\program files\python36\lib\site-packages\youtube_dl\downloader\external.py", line 52, in real_download
fsize = os.path.getsize(encodeFilename(tmpfilename))
File "c:\program files\python36\lib\genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'P:\\contents\\New folder\\NA\\NA - NA\\Flow
for Rejuvenation.mp4.part'
PS C:\Users\HDNLSR174>
|
question
|
low
|
Critical
|
646,228,092 |
youtube-dl
|
Site support request for noodlemagazine.com
|
<!--
######################################################################
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.06.16.1. 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.06.16.1**
- [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://noodlemagazine.com/watch/281711238_456240128
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Greatings!
Add this site support, please.
|
site-support-request
|
low
|
Critical
|
646,230,903 |
neovim
|
Lua: store metatables on vim.b/vim.w/vim.t/vim.v scopes
|
### Actual behaviour
```vim
let g:var = {}
lua vim.g.x = 1
echo g:var
" Result: {}
```
### Expected behaviour
```vim
let g:var = {}
lua vim.g.x = 1
echo g:var
" Result: {'x': 1}
```
It's confusing that it doesn't do this currently I think for people. Either we should do it automatically or find some way to make it "easy" to happen without completely setting/resetting the dict every time.
|
enhancement,performance,vimscript,lua,has:plan
|
medium
|
Critical
|
646,283,020 |
vscode
|
Support FilesDirectories for file systems
|
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- 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. -->
Applications like [Notion](https://notion.so) support "files as directories" - this is to say, you can create a file that has content but also has children. I'm currently working on an extension for VSCode with "files as directories" functionality but I'm not able to integrate this natively with the `FileSystemProvider` because `Directory` and `File` are distinct and non-overlapping types. This means that neither the `file explorer` or the `breadcrumb` are able to support my usecase.
A possible implementation:
- introduce a new `FileType`: `FileDirectory`
- support a new method `FileSystemProvider.readFileDirectory`
- when navigating via file explorer, default is to expand `FileDirectory` as `Directory` with right click option to open contents
- similar behavior for breadcrumb
|
feature-request,file-io
|
medium
|
Major
|
646,290,179 |
flutter
|
New flutter plugin won't compile
|
I'm trying to get a flutter plugin project to compile.
Having tried a number of things with no success I decided to create a new project using the following steps:
```
flutter create --template=plugin -a java -i objc here
All done!
[✓] Flutter: is fully installed. (Channel stable, v1.17.4, on Linux, locale en_AU.UTF-8)
[✓] Android toolchain - develop for Android devices: is fully installed. (Android SDK version 30.0.0)
[✓] Android Studio: is fully installed. (version 4.0)
[!] Connected device: is not available.
```
```
cd here
flutter build aar
Running Gradle task 'assembleAarDebug'...
Running Gradle task 'assembleAarDebug'... Done 1.2s
> Task :assembleAarDebug UP-TO-DATE
> Task :preBuild UP-TO-DATE
> Task :preDebugBuild UP-TO-DATE
> Task :compileDebugAidl NO-SOURCE
> Task :compileDebugRenderscript NO-SOURCE
> Task :checkDebugManifest
> Task :generateDebugBuildConfig
> Task :generateDebugResValues
> Task :generateDebugResources
> Task :packageDebugResources
> Task :mergeDebugShaders
> Task :compileDebugShaders
> Task :generateDebugAssets
> Task :packageDebugAssets
> Task :packageDebugRenderscript NO-SOURCE
> Task :processDebugJavaRes NO-SOURCE
> Task :mergeDebugJniLibFolders
> Task :prepareLintJarForPublish
> Task :parseDebugLibraryResources
> Task :processDebugManifest
> Task :mergeDebugNativeLibs
> Task :stripDebugDebugSymbols
> Task :transformNativeLibsWithSyncJniLibsForDebug
> Task :javaPreCompileDebug
> Task :generateDebugRFile
> Task :compileDebugJavaWithJavac FAILED
17 actionable tasks: 17 executed
/home/bsutton/git/test/here/android/src/main/java/com/example/here/HerePlugin.java:3: error: cannot find symbol
import androidx.annotation.NonNull;
^
symbol: class NonNull
location: package androidx.annotation
/home/bsutton/git/test/here/android/src/main/java/com/example/here/HerePlugin.java:21: error: cannot find symbol
public void onAttachedToEngine(@NonNull FlutterPluginBinding flutterPluginBinding) {
^
symbol: class NonNull
location: class HerePlugin
/home/bsutton/git/test/here/android/src/main/java/com/example/here/HerePlugin.java:41: error: cannot find symbol
public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
^
symbol: class NonNull
location: class HerePlugin
/home/bsutton/git/test/here/android/src/main/java/com/example/here/HerePlugin.java:41: error: cannot find symbol
public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
^
symbol: class NonNull
location: class HerePlugin
/home/bsutton/git/test/here/android/src/main/java/com/example/here/HerePlugin.java:50: error: cannot find symbol
public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) {
^
symbol: class NonNull
location: class HerePlugin
Note: /home/bsutton/git/test/here/android/src/main/java/com/example/here/HerePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Gradle task assembleAarDebug failed with exit code 0.
```
```
flutter doctor -v
[✓] Flutter (Channel stable, v1.17.4, on Linux, locale en_AU.UTF-8)
• Flutter version 1.17.4 at /home/bsutton/apps/flutter
• Framework revision 1ad9baa8b9 (9 days ago), 2020-06-17 14:41:16 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
• Android SDK at /home/bsutton/Android/Sdk
• Platform android-30, build-tools 30.0.0
• Java binary at: /home/bsutton/apps/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Android Studio (version 4.0)
• Android Studio at /home/bsutton/apps/android-studio
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
```
```
java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
```
|
platform-android,tool,t: gradle,a: build,P2,a: plugins,team-android,triaged-android
|
low
|
Critical
|
646,299,973 |
neovim
|
Delete a Terminal Buffer where the process has exited, nomodified and bufhidden=wipe
|
- `nvim --version`:
NVIM v0.4.3
Build type: RelWithDebInfo
LuaJIT 2.0.5
- Operating system/version:
windows 10
- Terminal name/version:
cmd.exe
### Steps to reproduce using `nvim -u NORC`
```
nvim -u NORC
:terminal ls
:setlocal bufhidden=wipe
:setlocal nomodified
:e some-file
:ls
:bwipe 1
```
### Actual behaviour
Terminal Buffer shows up in `:ls` and a warning comes for `:bwipe 1`
### Expected behaviour
The terminal buffer is removed on `:e`
I would have expected terminal buffers where the process is done and `TermClose` has triggered to be easier to remove.
From reading `:help terminal-emulator` I also would have expected `nomodifed` to solve this whether the process is running or not.
> 'modified' is the default. You can set 'nomodified' to avoid a warning when
> closing the terminal buffer.
Is this an Error in the help file or did I understand it incorrectly?
|
enhancement,terminal
|
low
|
Critical
|
646,341,359 |
godot
|
TileMap NormalMap behaves incorrectly for transposed tiles
|
**Godot version:**
v3.2.2.stable.official
**OS/device including version:**
Ubuntu 18.04.4.LTS
**Issue description:**
When using a TileMap with a normal map and a Light2D, transposed cells do not take the light correctly.
Using the following cell texture, normal map, and Light2D:



The following behaviour is observed:

**Steps to reproduce:**
- Create a TileSet with a normal map
- Draw transposed cells in a TileMap (e.g. rotate 90 degrees, in either direction, with or without a single flip)
- Add a Light2D
- Enable the Light2D, place near the tiles, adjust height and energy until effects are seen.
**Minimal reproduction project:**
[Bug demo.zip](https://github.com/godotengine/godot/files/4837786/Bug.demo.zip)
|
bug,topic:core,topic:rendering
|
low
|
Critical
|
646,394,080 |
terminal
|
Redrawing / flickering issues while using Magnifier
|
<!--
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.
All good? Then proceed!
-->
<!--
This bug tracker is monitored by Windows Terminal development team and other technical folks.
**Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**.
Instead, send dumps/traces to [email protected], referencing this GitHub issue.
If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link.
Please use this form and describe your issue, concisely but precisely, with as much detail as possible.
-->
# Environment
```none
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Microsoft Windows [Version 10.0.18363.900]
Windows Terminal version (if applicable):
1.0.1401.0
Any other software?
zsh 5.7.1 (x86_64-debian-linux-gnu)
Running on WSL1
```
# Steps to reproduce
<!-- A description of how to trigger this bug. -->
Open Magnifer on Windows, and use Ctrl+Alt+Scroll Wheel shortcut to zoom in and out
Either just use ZSH, or open any terminal application (in this case htop, nano, vim and micro)
# Expected behavior
<!-- A description of what you're expecting, possibly containing screenshots or reference material. -->
None of the contents of the terminal should change.
# Actual behavior
<!-- What's actually happening? -->
Everything displayed within Terminal is redrawn, which makes it virtually unusable for me.
Additionally, this seems to force ZSH to re-run, but this does not happen in bash.
Lastly, the OS-selector / app info dropdown enlarges as you zoom in.
Here's a video showcasing the issues with ZSH/htop/vim/micro: https://youtu.be/qUZRsuhJV5M
And here's a video showing how bash is not affected, and the resizing dropdown menu: https://youtu.be/MRsJl6bgIVQ
I really love Windows Terminal, so I really hope you can get this fixed, as it would make a huge difference to me.
For reference, I am registered blind, so rely completely on Magnifier for my work.
|
Help Wanted,Issue-Bug,Area-Accessibility,Product-Terminal,Priority-1
|
low
|
Critical
|
646,403,520 |
terminal
|
Command Palette search algorithm needs to prioritize "longest substring" match, may need multiple passes
|
I have two commands:
1. Split Pane, split: horizontal
2. Split Pane, split: horizontal, profile: SSH: Antares
If I search for `sp anta`, I expect 2 to weight higher than 1. I'm getting the opposite, though:

We only run one pass over each command for the whole search term; `[SP]lit p[AN]e, spli[T]: horizont[A]l` is a complete match; since it's a subset of the Antares version, we never get to the more specific `... profile: SSH:...` part.
|
Issue-Bug,Area-UserInterface,Product-Terminal,Priority-2,Area-CmdPal
|
low
|
Major
|
646,434,269 |
pytorch
|
RuntimeError: broken pipe from NCCL
|
## 🐛 Bug
<!-- A clear and concise description of what the bug is. -->
## To Reproduce
Steps to reproduce the behavior:
1. Run this script:
```
import os
import torch
world_size = 2
def _do_useless_allreduce(group):
# doing this seems to avoid "RuntimeError: Broken pipe" when using a group with a set
# of ranks that does not include rank 0
x = torch.ones((1,), dtype=torch.float32, device="cuda")
torch.distributed.all_reduce(x, group=group)
def run(gpu):
os.environ['MASTER_ADDR'] = '127.0.0.1'
os.environ['MASTER_PORT'] = '29500'
torch.cuda.set_device(gpu)
print(f"rank = {gpu}")
torch.distributed.init_process_group(
backend='nccl',
init_method='env://',
world_size=world_size,
rank=gpu)
# works
# group = torch.distributed.new_group(ranks=(0,))
# print(f"BARRIER UP -> GPU:{gpu}")
# torch.distributed.barrier(group=group)
# print(f"BARRIER DOWN -> GPU:{gpu}")
# fails with RuntimeError: broken pipe
group = torch.distributed.new_group(ranks=(1,))
print(f"BARRIER UP -> GPU:{gpu}")
torch.distributed.barrier(group=group)
print(f"BARRIER DOWN -> GPU:{gpu}")
# works
# _do_useless_allreduce(torch.distributed.group.WORLD)
# group = torch.distributed.new_group(ranks=(1,))
# _do_useless_allreduce(group)
# print(f"BARRIER UP -> GPU:{gpu}")
# torch.distributed.barrier(group=group)
# print(f"BARRIER DOWN -> GPU:{gpu}")
def main():
torch.multiprocessing.spawn(run, nprocs=world_size, join=True)
if __name__ == '__main__':
main()
```
This crashes:
```
File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap
fn(i, *args)
File "/root/test.py", line 34, in run
torch.distributed.barrier(group=group)
File "/opt/conda/lib/python3.7/site-packages/torch/distributed/distributed_c10d.py", line 1487, in barrier
work = group.barrier()
RuntimeError: Broken pipe
```
## Expected behavior
No error.
## 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: 1.5.1+cu101
Is debug build: No
CUDA used to build PyTorch: 10.1
OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: version 3.11.1
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 10.1.243
GPU models and configuration:
GPU 0: Tesla V100-SXM2-32GB
GPU 1: Tesla V100-SXM2-32GB
GPU 2: Tesla V100-SXM2-32GB
GPU 3: Tesla V100-SXM2-32GB
GPU 4: Tesla V100-SXM2-32GB
GPU 5: Tesla V100-SXM2-32GB
GPU 6: Tesla V100-SXM2-32GB
GPU 7: Tesla V100-SXM2-32GB
Nvidia driver version: 418.87.01
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5
Versions of relevant libraries:
[pip] numpy==1.18.5
[pip] torch==1.5.1+cu101
[pip] torchvision==0.6.1+cu101
[conda] numpy 1.16.3 pypi_0 pypi
[conda] torch 1.5.1+cu101 pypi_0 pypi
[conda] torchvision 0.6.1+cu101 pypi_0 pypi
## Additional context
This looks to be the same issue but was closed: https://github.com/pytorch/pytorch/issues/39722
cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @jiayisuse
|
oncall: distributed,triaged,module: nccl
|
low
|
Critical
|
646,454,179 |
pytorch
|
[JIT] Recursive compilation doesn't apply for types used in type expressions but not value expressions
|
See description in PR here: https://github.com/pytorch/pytorch/pull/40598
The solution in that PR breaks other stuff, so we need someone to look into how to systematically fix this
cc @suo @gmagogsfm
|
oncall: jit,triaged
|
low
|
Minor
|
646,509,120 |
TypeScript
|
Make executeCommandLine a public compiler API
|
<!-- 🚨 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 FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ
-->
## Search Terms
executeCommandLine, callback, tsc
## Suggestion
Make the executeCommandLine function and corresponding interfaces part of the public APIs provided by typescript.d.ts.
## Use Cases
We are currently building a customized TypeScript compiler that performs additional security checks to proactively prevent XSS vulnerabilities. We would like the customized compiler to mimic the behavior of tsc as much as possible, but it seems not reasonable to duplicate the code in [src/executeCommandLine/executeCommandLine.ts](https://github.com/microsoft/TypeScript/blob/master/src/executeCommandLine/executeCommandLine.ts). Making `executeCommandLine` a public API solves our problem.
We have considered implementing the checks as ESLint passes. But it is not practical for some of our users to deploy ESLint in a short term.
## 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,In Discussion
|
low
|
Critical
|
646,528,256 |
go
|
cmd/go: several commands require the build cache but don't use it
|
Steps to repro:
```
docker run -i golang:1.15beta1 <<-SCRIPT
set -ex
go version
go env
mkdir /tmp/foo
cd /tmp/foo
go mod init test
go mod edit -go=1.13
HOME= GOCACHE= go mod edit -go=1.14
SCRIPT
```
I think this should succeed. `go mod edit -go=X` only has to modify a line in `go.mod`, it shouldn't require the build cache to exist or be writeable. However, that last command fails:
```
+ go mod edit -go=1.14
build cache is required, but could not be located: GOCACHE is not defined and neither $XDG_CACHE_HOME nor $HOME are defined
```
I encountered this while writing some tests, which are run in a temporary directory with a near-empty environment (partly to not pollute the user's $HOME and such).
|
help wanted,NeedsFix,GoCommand
|
low
|
Major
|
646,539,459 |
go
|
x/pkgsite/internal/fetch/dochtml: complete iteration and development, ensure the API can be used effectively in other contexts, then move the package out of "internal"
|
This is a high level tracking issue for the task of completing the documentation rendering API and being able to move that package out from an "internal" package.
The package started out as an internal copy of [CL 72890](golang.org/cl/72890), and it was iterated on and developed as part of pkgsite. Being an internal package (currently, under `golang.org/x/pkgsite/internal`) made development and testing easier, but it means the package cannot be used directly elsewhere yet. A goal is to eventually be able to replace the need for the original documentation renderer which is currently less featureful but available via the high-level `golang.org/x/tools/godoc` package.
/cc @julieqiu @jba @shaqque @hyangah @stamblerre @dsnet @griesemer
|
NeedsInvestigation,pkgsite,pkgsite/dochtml
|
low
|
Minor
|
646,558,128 |
go
|
fmt: Shouldn't %q (and %s) treat nil as a valid value?
|
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.14.4 linux/amd64
</pre>
### Does this issue reproduce with the latest release?
Yes
### What operating system and processor architecture are you using (`go env`)?
<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="$HOME/.cache/go-build"
GOENV="$HOME/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="$HOME/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/google-golang"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/google-golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build196177420=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
https://play.golang.org/p/YVE8n6N0xUT
````go
func printError(err error) {
fmt.Printf("%v, %s, %q\n", err, err, err)
}
func main() {
printError(nil)
printError(io.EOF)
}
````
### What did you expect to see?
````
<nil>, <nil>, <nil>
EOF, EOF, "EOF"
````
### What did you see instead?
````
<nil>, %!s(<nil>), %!q(<nil>)
EOF, EOF, "EOF"
````
### What's the rationale?
It's often useful to print `error` values enclosed with quotes in test failures:
````go
if (err != nil) != tc.wantErr {
t.Fatalf("Foo(...) returned %q, wantErr: %t", err, tc.wantErr) // problematic when err == nil
}
````
but `%q` (as well as `%s`) [treats a `nil` value as a format error](https://golang.org/src/fmt/print.go?s=10070:10088#L356) and prints `%!q(<nil>)` instead of plain `<nil>`.
Writing `\"%v\"` instead of `%q` avoids the ugly error output, but it doesn't handle escaping well, and it's not desirable to have even `"<nil>"` enclosed with quotes.
This leaves the plain `%v` as the only easy option (unless you are willing to have another `if`).
Wouldn't it be nice to have `%q` (and `%s` by extension) print just `<nil>`, as with `%v`, if the argument is `nil`?
`%q` and `%s` already handle an `error` argument as a string (through the `Error` method) if the argument is not `nil`, but having an error output for a `nil` argument limits its usefulness.
|
NeedsInvestigation
|
low
|
Critical
|
646,568,139 |
vscode
|
Add several basic predefined variables for use in launch.json - e.g. ${uid}, ${gid}, ${user}, ${home}
|
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
Please expose several basic predefined variables for use in `launch.json` like `${uid}`, `${gid}`, `${user}`, `${home}` (and potentially in `settings.json` too, as per https://github.com/microsoft/vscode/issues/2809).
Example use cases:
1. Extremely useful for multi-user environments to avoid port or path conflicts. (See YAML below)
2. Generally similar use cases to https://github.com/microsoft/vscode/issues/2809 where one needs to specify paths to SDKs, GOPATHs and alike.
```json-with-comments
{
"version": "0.2.0",
"configurations": [
{
"type": "perl",
"request": "launch",
"name": "Perl-Debug",
"console": "remote",
"port": "${uid}", // <---- HERE!
"root": "${workspaceFolder}/.vscode/root",
"program": "${workspaceFolder}/${relativeFile}",
"stopOnEntry": false,
"reloadModules": false,
"sessions": "watch",
}
]
}
```
|
feature-request
|
low
|
Critical
|
646,573,176 |
TypeScript
|
Inline tsdoc comment support
|
<!-- 🚨 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 FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ
-->
## Search Terms
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->
tsdoc, comments, IDE, line sorting
## Suggestion
<!-- Describe the feature you'd like. -->
When writing a type, sometimes you want to add more information to a field that will be surfaced in IDE autocomplete. Currently you must define them like this:
```ts
export type BoxSizeDefinition = {
/** this is null for non-custom box sizes */
itemCount: number | null
size: BoxSize
/** A description for the range of pounds included in box. */
poundage: string
/** price in cents of the box size */
price: number
}
```
Note that the comment is _above_ the field. This is problematic because auto-sorting linters and such will mangle the comments.
I propose also supporting _inline_ tsdoc comments:
```ts
export type BoxSizeDefinition = {
itemCount: number | null /** this is null for non-custom box sizes */
size: BoxSize
poundage: string /** A description for the range of pounds included in box. */
price: number /** price in cents of the box size */
}
```
This effectively fixes the sorting problem.
## Use Cases
<!--
What do you want to use this for?
What shortcomings exist with current approaches?
-->
Adding descriptive text to be shown via IDE autocomplete for fields (currently supported, but not in a sorting & codeaction-friendly way.)
## Examples
See above
## 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
|
Critical
|
646,609,681 |
pytorch
|
[typing] overly restrictive List[int]
|
In many type annotations we have `List[int]` yet in real code users often use just `Sequence[int]` like tuples, `torch.Size`, etc.
just to name a few,
https://github.com/pytorch/pytorch/blob/0309f6a4bb2b739adcec6bc36eb151d7ddb27e14/torch/nn/functional.pyi.in#L196
https://github.com/pytorch/pytorch/blob/0309f6a4bb2b739adcec6bc36eb151d7ddb27e14/torch/nn/functional.pyi.in#L300-L303
cc @ezyang @malfet @rgommers
|
module: typing,triaged
|
low
|
Major
|
646,611,975 |
rust
|
HashSet and BTreeSet difference() method argument lifetime overconstrained
|
Consider this code.
```rust
use std::collections::HashSet as Set;
use std::ops::Deref;
fn exclude_set<'a>(given: &Set<&'a str>, to_exclude: &Set<&str>) -> Set<&'a str> {
given.difference(to_exclude).cloned().collect()
}
fn main() {
let given: Set<&str> = vec!["a", "b", "c"].into_iter().collect();
let b = "b".to_string();
let to_exclude: Set<&str> = vec![b.deref()].into_iter().collect();
let excluded = exclude_set(&given, &to_exclude);
drop(b);
println!("{:?}", excluded);
}
```
This fails to compile.
```text
error[E0621]: explicit lifetime required in the type of `to_exclude`
--> src/main.rs:5:5
|
4 | fn exclude_set<'a>(given: &Set<&'a str>, to_exclude: &Set<&str>) -> Set<&'a str> {
| ---------- help: add explicit lifetime `'a` to the type of `to_exclude`: `&std::collections::HashSet<&'a str>`
5 | given.difference(to_exclude).cloned().collect()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required
```
Now change `exclude_set()` so that `to_exclude` takes `&Set<&'a str>>`. Again, this will fail to compile.
```text
error[E0505]: cannot move out of `b` because it is borrowed
--> src/main.rs:13:10
|
11 | let to_exclude: Set<&str> = vec![b.deref()].into_iter().collect();
| - borrow of `b` occurs here
12 | let excluded = exclude_set(&given, &to_exclude);
13 | drop(b);
| ^ move out of `b` occurs here
14 | println!("{:?}", excluded);
| -------- borrow later used here
```
Commenting out the `drop()` will result in successful compile and execute.
No value from `to_exclude` should appear in the result of `exclude_set()`: set difference can only remove elements, not insert them. Thus, the drop should be harmless.
Some bodging around with code inspired by the implementation of `std::collections::hash_set::Difference` gets this, which compiles and executes.
```rust
use std::collections::HashSet as Set;
use std::ops::Deref;
fn exclude_set<'a>(
given: &Set<&'a str>,
to_exclude: &Set<&str>,
) -> Set<&'a str> {
set_difference(given, to_exclude).collect()
}
fn main() {
let given: Set<&str> = vec!["a", "b", "c"].into_iter().collect();
let b = "b".to_string();
let to_exclude: Set<&str> = vec![b.deref()].into_iter().collect();
let excluded = exclude_set(&given, &to_exclude);
drop(b);
println!("{:?}", excluded);
}
struct SetDifference<'a, 'b, T: ?Sized> {
iter: Vec<&'a T>,
other: &'b Set<&'b T>,
}
impl<'a, 'b, T> Iterator for SetDifference<'a, 'b, T>
where
T: std::hash::Hash + Eq + ?Sized,
{
type Item = &'a T;
fn next(&mut self) -> Option<Self::Item> {
loop {
let elt: &'a T = self.iter.pop()?;
if !self.other.contains(elt) {
return Some(elt);
}
}
}
}
fn set_difference<'a, 'b, T: ?Sized>(
source: &Set<&'a T>,
other: &'b Set<&T>,
) -> SetDifference<'a, 'b, T> {
SetDifference {
iter: source.iter().cloned().collect(),
other,
}
}
```
Sadly, I haven't figured out how to generalize the types and lifetimes for the new implementation in a way that the typechecker/borrowchecker is happy with.
The same issue exists for `BTreeSet`.
|
A-collections,T-libs-api,C-bug
|
low
|
Critical
|
646,630,218 |
react-native
|
LineHeight is working weird on specific fonts (Android Only)
|
Please provide all the information requested. Issues that do not follow this format are likely to stall.
## Description
Multiline texts don't have same line height on specific fonts. ([NotoSansCJK](https://www.google.com/get/noto/help/cjk/)= Source Hans Sans, [NotoSerifCJK](https://www.google.com/get/noto/help/cjk/)=Source Hans Serif)
It happens on first line.



## React Native version:
```
info Fetching system and libraries information...
System:
OS: macOS 10.15.5
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 7.08 GB / 32.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.4.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 27, 28, 29
Build Tools: 28.0.3, 29.0.2, 29.0.3
System Images: android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6514223
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_252 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
*react-native*: Not Found
```
## Steps To Reproduce
1. Set lineHeight properly. (not too small, large)
2. and set fontFamily to custom font which has problem. (NotoSansCJK, NotoSerifCJK)
## Expected Results
Every lines have same line height.
like this:


## Snack, code example, screenshot, or link to a repository:
Android Native(*No React Native*) is fine. This font is NotoSansKR-Regular :

iOS is fine:

Text Style:
```
{
padding: 10,
fontSize: 12,
lineHeight: 28,
}
```
|
Platform: Android
|
high
|
Critical
|
646,663,178 |
TypeScript
|
Deprecated should support contextual type with signature resolution
|
<!-- 🚨 STOP 🚨 STOP 🚨 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.7.x-dev.201xxxxx
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
**Code**
```ts
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
declare function h(v: (a: string) => void)
declare function vv (): void
/** @deprecated */
declare function vv (v: string): void
declare function vv (v?: string): void
h([|vv|])
```
**Expected behavior:**
vvs is deprecated.
**Actual behavior:**
nothing.
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
|
Help Wanted,Effort: Moderate,Experience Enhancement
|
low
|
Critical
|
646,663,533 |
godot
|
Vulkan: SSAO debug draw mode freezes after disabling SSAO
|
**Godot version:** Git 175d43738ac58afcf2d0531177eefeb260c4f296
**OS/device including version:** Fedora 31, GeForce GTX 1080 (NVIDIA 440.82)
**Issue description:**
After enabling SSAO and switching to the SSAO debug draw mode in the 3D viewport, disabling SSAO in WorldEnvironment will cause the viewport to freeze until the user switches back to another draw mode.
The draw mode should be automatically changed to "Draw Normal" once SSAO is disabled.
Also, when SSAO is disabled, it shouldn't be possible to switch to it in the first place. It should be grayed out with a tooltip instead. Right now, it just displays the normal scene when switching to the SSAO mode while SSAO is disabled.
**Steps to reproduce:**
- Add a WorldEnvironment node and create a new Environment.
- Enable **Ssao** in the Environment (already done in the MRP below).
- Click the **Perspective** button in the top-left corner and change the draw mode to **Display Advanced... > SSAO**.
- *Note:* On Linux, use arrow keys to access the second dropdown so it doesn't close when your mouse hovers it.
- Disable **Ssao** in the Environment. Try to move the camera, see that nothing changes.
**Minimal reproduction project:** [test_ssao_draw_mode_bug.zip](https://github.com/godotengine/godot/files/4840367/test_ssao_draw_mode_bug.zip)
|
bug,topic:rendering,topic:editor,topic:3d
|
low
|
Critical
|
646,667,447 |
godot
|
[TRACKER] Ray casting related issues
|
**Godot version:**
3.2, 4.0+
**Issue description:**
I've been seeing various raycast issues popping up here recently, some of them share a lot of similarities so it's worth to track and potentially discuss those issues in a holistic way, and perhaps pin-point some duplicates.
```[tasklist]
- [x] #39859
- [x] #38873
- [x] #38343
- [x] #37985
- [x] #37736
- [x] #36259
- [x] #35845
- [ ] #35344
- [x] #31637
- [ ] #28032
- [x] #27282
- [x] #19793
- [x] #41031
- [ ] #41155
- [x] #44003
- [x] #49778
- [x] #49735
```
## Connections
#37736, #38343, #38873, #39859: all report inconsistent collision results. #38343 provides a table of various entering/exiting/internal conditions for different shapes.
|
bug,tracker,topic:physics
|
low
|
Minor
|
646,668,791 |
terminal
|
[Scenario] Progress Bar Follow-ups
|
##### [Original issue: #3004] [Initial PR: #8055] [Display the progress in the tab: #8133]
This is a list of tasks, bugs, etc, related to the "taskbar progress indicator", as first implemented in #8055. While not all of them are immediately relevant for the _taskbar_ indicator, they're all related to the showing of progress state in the Terminal.
<table>
<thead>
<td>
Sequence
</td>
<td>
Description
</td>
</thead>
<tr>
<td>
`ESC ] 9 ; 4 ; st ; pr ST`
</td>
<td>
Set progress state on Windows taskbar and tab. When `st` is:
* `0`: remove progress.
* `1`: set progress value to `pr` (number, 0-100).
* `2`: set the taskbar to the "Error" state
* `3`: set the taskbar to the "Indeterminate" state
* `4`: set the taskbar to the "Warning" state
</td>
</tr>
</table>

```[tasklist]
### Follow-up work
- [ ] #7955
- [ ] #1620
- [ ] #8449
- [ ] #9481
- [x] #8910
- [x] #10090
- [x] #9743
- [ ] #3991
```
"Auto-detect output, display in tab/taskbar" (#7955) and #1620 are very closely related
### Bell notifications
These cover some of the same areas of the above, so I'm including them because I feel they deserve a mention here:
* [x] Make terminal beeps highlight Windows Terminal in the taskbar, to get user attention when backgrounded #1608 -> added in #8215
* [x] show an indicator if there's a bell in the tab #8106 -> added in [#8637](https://github.com/microsoft/terminal/pull/8637)
* [ ] The bell should "fade out", like it does for browsers
* [x] More elaborate visual belling -> added in #9270
- `bellStyle: flash` -> flash the window. (maybe `visual`)
- `bellStyle: taskbar` -> flash the taskbar (maybe `taskbar`)
- `bellStyle: visual` -> both? (maybe `visual|taskbar`)
### Related?
* #14909
|
Area-VT,Area-UserInterface,Product-Terminal,Issue-Scenario
|
medium
|
Critical
|
646,671,788 |
youtube-dl
|
Site Support Request viddsee
|
<!--
######################################################################
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.06.16.1. 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.06.16.1**
- [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.viddsee.com/video/constants/b7vxe
- Playlist: https://www.viddsee.com/u/viddsee/playlists/1kammv87czdkxuk9
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Site: viddsee.com
This site just using m3u8 or basic mp4 for streaming.
Please add this site. Thanks. :)
|
site-support-request
|
low
|
Critical
|
646,677,144 |
godot
|
Godot can't use Mono DLL file
|
<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->
**Godot version:**
3.2.2
<!-- Specify commit hash if using non-official build. -->
**OS/device including version:**
Windows 10
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
**Issue description:**
When import Mysql.Data downloaded from nuget and add it to project Godot doesn't load it.
<!-- What happened, and what was expected. -->
**Steps to reproduce:**
Open Nuget packet from Visual Studio
Search for Mysql.Data
Install it into project.
**Minimal reproduction project:**
[load_dll_error.zip](https://github.com/godotengine/godot/files/4840864/load_dll_error.zip)
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
|
topic:dotnet
|
low
|
Critical
|
646,683,924 |
godot
|
get_path() for ImageTexture return null
|
<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->.get_path() for ImageTexture return ""
**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.2
**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Windows 8 GLES2
**Issue description:**
<!-- What happened, and what was expected. -->
Expected path to image texture
**Steps to reproduce:**
var mat_texture = ImageTexture.new()
mat_texture.load('res://Characters/Textures/TEXT_Face.png')
print(mat_texture)
print(mat_texture.get_path())
print(mat_texture.get_name())
print("end")
Outputs:
[ImageTexture:2613]
end
|
bug,topic:core,confirmed
|
medium
|
Major
|
646,688,686 |
vscode
|
app.clearRecentDocuments does not clear files from the recent entries list
|
Issue Type: <b>Bug</b>
Even if I clear recently opened files they still show up in the (live) Tile in the Windows Start menu. I don't want them to show up, especially because this is a very long list. It takes 3/4 of the screen.
Steps to reproduce:
1. open some files in different locations
2. clear opened recently
3. close vscode
4. right vscode click tile in the start menu
5. there's still a list (it will be there even after restarting PC).
VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
OS version: Windows_NT x64 10.0.19041
<!-- generated by issue reporter -->
|
bug,upstream,windows,electron,confirmed
|
low
|
Critical
|
646,691,943 |
opencv
|
conflict on mac
|
##### System information (version)
<!-- Example
- OpenCV => 4.3
- Operating System / Platform => mac os x
homebrew version
-->
```
In file included from /usr/local/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/local/include/opencv4/opencv2/core.hpp:60:
/usr/local/include/opencv4/opencv2/core/persistence.hpp:491:9: error: expected identifier
EMPTY = 16, //!< empty structure (sequence or mapping)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/utmpx.h:84:16: note: expanded from macro 'EMPTY'
#define EMPTY 0
```
|
category: build/install,platform: ios/osx,future,category: 3rdparty
|
low
|
Critical
|
646,705,958 |
flutter
|
customColorSet (Map<String, Color>) inside ColorScheme as 14.th property
|
## Use case
When we change the theme dynamically, we need a customColorSet (Map<String, Color>) inside ColorScheme as 14.th property, so that we can utilize the custom color set that ColorScheme doesn't cover throughout the app.
Sometimes, we need a specific color that the ColorScheme doesn't cover and is wanted to be in ColorScheme for each theme.
## Proposal
A customColorSet (Map<String, Color>) can be placed inside ColorScheme as 14.th property.
|
waiting for customer response,framework,f: material design,c: proposal,P3,team-design,triaged-design,f: theming
|
low
|
Major
|
646,707,900 |
godot
|
Simple GLES3 project can't run on android.
|
**Godot version:**
Godot 3.2.2 stable mono
**OS/device including version:**
Android 6 arm64, Mali 450
Android 9 armv7 PowerVR GE8320
**Issue description:**
On one device the MRP freezes and on the other one it freezes some times and some times the screen flashes and the app closes.
When the material on the mesh was simpler it worked on one device and on the other the game it still froze.
I've also seen graphical glitches in 2D in another project.
I can't see any output with logcat.
**Steps to reproduce:**
Run GLES3 project on android.
**Minimal reproduction project:**
[Gles3AndroidTest.zip](https://github.com/godotengine/godot/files/4840865/Gles3AndroidTest.zip)
|
bug,platform:android,topic:rendering,confirmed,documentation
|
low
|
Minor
|
646,711,307 |
youtube-dl
|
Add support: SBTV.com (local news livestreams)
|
<!--
######################################################################
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.06.16.1. 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.06.16.1**
- [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.sbtv.com/live/11937/wfmz
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Please consider adding support for SBTV.com, which hosts many free live streams for American local news affiliates. No credentials are needed.
youtube-dl --verbose 'https://www.sbtv.com/live/11937/wfmz'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.sbtv.com/live/11937/wfmz']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 2.7.16 (CPython) - Darwin-19.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3, ffprobe 4.3, rtmpdump 2.4
[debug] Proxy map: {}
[generic] wfmz: Requesting header
WARNING: Falling back on generic information extractor.
[generic] wfmz: Downloading webpage
[generic] wfmz: Extracting information
ERROR: Unsupported URL: https://www.sbtv.com/live/11937/wfmz
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2387, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2562, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2551, in _XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 6, column 30
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3382, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.sbtv.com/live/11937/wfmz
|
site-support-request
|
low
|
Critical
|
646,712,669 |
go
|
x/net/icmp: bind fails SOCK_DGRAM IPPROTO_ICMP
|
<!--
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.2 linux/amd64
</pre>
### Does this issue reproduce with the latest release?
Yes (tested against go1.14.4)
### What operating system and processor architecture are you using (`go env`)?
<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
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-build062765693=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->
The following simple test program fails with "bind: permission denied" on Linux 5.0.16-100.fc28.x86_64.
```
package main
import (
"fmt"
"os"
"time"
"github.com/sparrc/go-ping"
)
func main() {
pinger, err := ping.NewPinger("www.google.com")
if err != nil {
fmt.Println(err.Error())
os.Exit(1)
}
pinger.Count = 5
pinger.Timeout = 1500 * time.Millisecond
pinger.Interval = 200 * time.Millisecond
pinger.Source = "192.168.0.36"
pinger.SetPrivileged(false)
pinger.Run()
s := pinger.Statistics()
fmt.Printf("Packets send : %d\n", s.PacketsSent)
fmt.Printf("Packets received: %d\n", s.PacketsRecv)
fmt.Printf("Min roundtrip : %.2fms\n", float64(s.MinRtt.Microseconds())/1000.0)
fmt.Printf("Max roundtrip : %.2fms\n", float64(s.MaxRtt.Microseconds())/1000.0)
}
```
The ping library used above depends on golang.org/x/net/icmp.
Not sure if this is relevant or not, but the system where the above was tested uses a bridge interface with an IP address configured and the physical network interface is attached to the bridge:
```
2: enp32s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master phy0 state UP group default qlen 1000
link/ether 00:26:b9:a3:5a:b9 brd ff:ff:ff:ff:ff:ff
3: phy0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:26:b9:a3:5a:b9 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.36/24 brd 192.168.0.255 scope global dynamic noprefixroute phy0
valid_lft 77073sec preferred_lft 77073sec
```
### What did you expect to see?
```
$ go build .
$ ./ping
Packets send : 5
Packets received: 5
Min roundtrip : 9.89ms
Max roundtrip : 10.72ms
```
### What did you see instead?
```
$ go build .
$ ./ping
Error listening for ICMP packets: bind: permission denied
Packets send : 0
Packets received: 0
Min roundtrip : 0.00ms
Max roundtrip : 0.00ms
```
Making the following change to x/net/icmp/listen_posix.go results in expected behaviour:
```
--- listen_posix.go.orig 2020-06-27 17:27:59.013649798 +0100
+++ listen_posix.go 2020-06-27 17:28:38.219901503 +0100
@@ -74,15 +74,17 @@
return nil, os.NewSyscallError("setsockopt", err)
}
}
- sa, err := sockaddr(family, address)
- if err != nil {
- syscall.Close(s)
- return nil, err
- }
- if err := syscall.Bind(s, sa); err != nil {
- syscall.Close(s)
- return nil, os.NewSyscallError("bind", err)
- }
+ /*
+ sa, err := sockaddr(family, address)
+ if err != nil {
+ syscall.Close(s)
+ return nil, err
+ }
+ if err := syscall.Bind(s, sa); err != nil {
+ syscall.Close(s)
+ return nil, os.NewSyscallError("bind", err)
+ }
+ */
f := os.NewFile(uintptr(s), "datagram-oriented icmp")
c, cerr = net.FilePacketConn(f)
f.Close()
```
Using "0.0.0.0" or "" as source address makes no difference.
|
NeedsInvestigation
|
low
|
Critical
|
646,718,493 |
godot
|
Scene doesn't update sub-scene position
|
**Godot version:**
3.2.2-stable
**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Linux Manjaro 20.0.3
```
System: Host: luc-xps139300 Kernel: 5.6.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5
Distro: Manjaro Linux
Machine: Type: Laptop System: Dell product: XPS 13 9300 v: N/A serial: <root required>
Mobo: Dell model: 077Y9N v: A00 serial: <root required> UEFI: Dell v: 1.0.10 date: 05/04/2020
Battery: ID-1: BAT0 charge: 51.0 Wh condition: 51.0/51.0 Wh (100%) model: SMP DELL WN0N001 status: Full
CPU: Topology: Quad Core model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake rev: 5 L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23968
Speed: 1300 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 1300 2: 1264 3: 1300 4: 1300 5: 1158 6: 1043 7: 1234
8: 1301
Graphics: Device-1: Intel Iris Plus Graphics G7 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.20.8 driver: intel unloaded: modesetting resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2) v: 4.6 Mesa 20.0.7 direct render: Yes
Audio: Device-1: Intel Smart Sound Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.6.16-1-MANJARO
Network: Device-1: Intel Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter vendor: Bigfoot Networks driver: iwlwifi
v: kernel port: 4000 bus ID: 00:14.3
IF: wlp0s20f3 state: up mac: 98:af:65:ca:57:65
IF-ID-1: br-4e08c797eb97 state: up speed: 10000 Mbps duplex: unknown mac: 02:42:23:2b:5a:22
IF-ID-2: docker0 state: down mac: 02:42:f3:b9:f9:88
IF-ID-3: veth58741f6 state: up speed: 10000 Mbps duplex: full mac: 02:c5:14:61:c6:b5
IF-ID-4: vethfe584cf state: up speed: 10000 Mbps duplex: full mac: 56:36:ce:fe:b3:ed
Drives: Local Storage: total: 953.87 GiB used: 187.16 GiB (19.6%)
ID-1: /dev/nvme0n1 model: SSDPEMKF010T8 NVMe INTEL 1024GB size: 953.87 GiB
Partition: ID-1: / size: 921.36 GiB used: 187.09 GiB (20.3%) fs: ext4 dev: /dev/dm-0
Sensors: System Temperatures: cpu: 47.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 357 Uptime: 19h 58m Memory: 15.23 GiB used: 7.59 GiB (49.8%) Init: systemd Compilers: gcc: 10.1.0
Shell: zsh v: 5.8 inxi: 3.0.37
```
**Issue description:**
Hi,
In the following screenshot, you can see a Godot logo. Like many of us, I use it to create some prototype scene. It be use inside a `Skin.tscn` and add as a child of `DummyEnemy.tscn`. `DummyEnemy.tscn` is added into the level. It appear as expected in the editor preview.


I set the `Skin.tscn` position at 0,-32
But on runtime, the `Skin.tscn` is placed at (0,0)

**Steps to reproduce:**
I can't hardly know how to, since I use the same method for my `Player.tscn` and the problem didn't occur. Both use a an inherited custom scene that inherit from my main Skin.tscn.
**Minimal reproduction project:**
I try to create an unique project but the issue didn't occur. Here the current project with the problem. You just need to open TestRoom2.tscn.
[godot-2D-platformer-template.zip](https://github.com/godotengine/godot/files/4840956/godot-2D-platformer-template.zip)
Thanks!
|
topic:core
|
low
|
Minor
|
646,725,242 |
PowerToys
|
[Run] Allow for indexing of network drives
|
# Summary of the new feature/enhancement
I store most of my media files on my SMB-attached server, it would be nice if I could search for those files via PowerToys Run. Somewhat related to #3976.
|
Idea-Enhancement,Product-PowerToys Run
|
low
|
Major
|
646,725,472 |
deno
|
Support opening raw file descriptors
|
The ability to read and write to file descriptors other than stdin, stdout and stderr. See the example of nodejs below to get a better idea.
Node.js example:
```js
const file = fs.createWriteStream(null, { fd: 3, encoding: "utf8" })
```
|
cli,suggestion
|
medium
|
Critical
|
646,729,003 |
rust
|
Contrived type-outlives code does not compile
|
The following code (based on https://github.com/rust-lang/rust/pull/67911#issuecomment-576029184):
```rust
fn g<'a, T: 'a>(t: &T) -> &'a i32 {
&0
}
fn f<'a, 'b, T: 'a + 'b>(x: T) -> (&'a i32, &'b i32) { // compare with returning (&'a i32, &'a i32)
let y = g(&x);
(y, y)
}
```
produces the following error message as of `rustc 1.46.0-nightly (ff5b446d2 2020-06-23)`:
```
error[E0310]: the parameter type `T` may not live long enough
--> src/lib.rs:6:13
|
5 | fn f<'a, 'b, T: 'a + 'b>(x: T) -> (&'a i32, &'b i32) { // compare with returning (&'a i32, &'a i32)
| -- help: consider adding an explicit lifetime bound...: `T: 'static +`
6 | let y = g(&x);
| ^
|
note: ...so that the type `T` will meet its required lifetime bounds
--> src/lib.rs:6:13
|
6 | let y = g(&x);
| ^
```
with `-Z borrowck=mir`:
```
error[E0309]: the parameter type `T` may not live long enough
--> contrived.rs:6:13
|
6 | let y = g(&x);
| ^^^^^
|
= help: consider adding an explicit lifetime bound `T: 'a`...
```
However, this should actually be able to compile. If we infer `y` to the equivalent of `&('a + 'b) i32`, then
`(&('a + 'b) i32, &('a + 'b) i32) <: (&'a i32, &'b i32)`
We have that `T: 'a` and `T: 'b` from the generic parameter `T: 'a + 'b`, so we should be able to determine that `T` lives long enough.
However, the current `TypeTest` code (if I understand it correctly) attempts to prove that a type lives long enough by applying each of the lifetime bounds individually (e.g. splitting `T: 'a + 'b` into `T: 'a` and `T: 'b`). However, neither `T: 'a` nor `T: 'a` alone is sufficient to prove that `T: 'a + 'b`, so this check fails.
I suspect that this will never actually matter in practice, so the additional complexity needed to make this code compile might not be worth it. However, I didn't see an open issue for this, so I opened this issue for future reference.
|
A-lifetimes,T-compiler,C-bug
|
low
|
Critical
|
646,744,908 |
PowerToys
|
xrandr for Windows
|
xrandr is a command line tool to manage your monitors (which is present in Ubuntu). The usual thing I do with xrandr is to shrink my entire screen to create more desktop space.
I have already read why it is impossible to implement this on Windows. Shrinking the monitor will cause pixels not to render properly, by saying that, this feature request will be substantially closed.
I'm looking at the brighter side. Who knows, maybe at a certain degree of scaling, ClearType, anti-aliasing or other tweaks may fix those issues. (I have done this with Ubuntu, and my screen configuration is still manageable).
|
Idea-New PowerToy
|
low
|
Major
|
646,756,697 |
rust
|
Inefficient code generated for state machine
|
<!--
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.
-->
While trying to implement a parser using a state machine, I found that it isn't optimised very well. I've made a comparison on godbolt: https://godbolt.org/z/NJ9HM5
I'd expect the `match` statement to be replaced with jumps since the state should be statically known at the end of each branch
(Side note: I'd hope that the `Normal` loop got auto-vectorized in the `fast` version since it's performing the same check over and over)
|
I-slow,C-enhancement,A-codegen,T-compiler
|
low
|
Critical
|
646,757,399 |
electron
|
Support notification buttons on Linux through libnotify
|
<!-- As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->
### 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 a feature request that matches the one I want to file, without success.
### Problem Description
The current [Notifications](https://www.electronjs.org/docs/api/notification#new-notificationoptions-experimental) API only supports [NotificationAction](https://www.electronjs.org/docs/api/structures/notification-action) objects on macOS.
https://github.com/electron/electron/pull/11647 seems to be the MR which implemented that functionality for macOS only.
### Proposed Solution
<!-- Describe the solution you'd like in a clear and concise manner -->
Linux systems running with `libnotify` also support adding buttons to notifications.
[Example user API with Python's notify2](https://notify2.readthedocs.io/en/latest/#notify2.Notification.add_action)
[Source code: Loop listening on DBus for user interaction with the buttons](https://bitbucket.org/takluyver/pynotify2/src/3ddc2d22632a35bd4c12ebb5684539ce02fecd6c/notify2.py#lines-109)
Linux support could make use of the same, already established **NotificationAction** API as macOS, with only the implementation under the hood being different.
### Alternatives Considered
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
None
### Additional Information
- https://github.com/electron/electron/issues/1399 is currently closed and doesn't address Linux support directly, so that's why I've decide to create a new issue
|
enhancement :sparkles:
|
low
|
Major
|
646,764,254 |
deno
|
Allow wildcards in --allow-net allow lists.
|
It will be good to allow wildcards in the `--allow-net` allow lists.
For example, this code throws errors:
```deno
//Import the server module
await fetch('https://facebook.com')
```
`deno run --allow-net=facebook.com server.js`
Because **https://facebook.com** redirects to **https://www.facebook.com**
This should be possible to run it;
`deno run --allow-net=*.facebook.com server.js`
Port based wildcards might also be good. For example
**https only**
`deno run --allow-net=https://* server.js`
or
`deno run --allow-net=*/**:443 server.js`
|
cli,suggestion
|
medium
|
Critical
|
646,766,234 |
rust
|
xabort incorrect argument
|
### I tried this code:
[godbolt link](https://rust.godbolt.org/z/BS2vYu), you need to pass platform features.
```rust
#![no_std]
#![feature(stdsimd)]
use core::arch::x86_64::{_xabort, _xtest};
pub fn abort(x: i8) {
unsafe {
if _xtest() {
_xabort(x);
}
}
}
```
### I expected to see this happen:
Either a clean compile, or a type error that `u8` was expected instead of `i8`.
### Instead, this happened:
The current code states that `_xabort` takes a `u32` as an argument. This appears to be incorrect.
As the [`xabort`](https://www.felixcloutier.com/x86/xabort) instruction can only encode an 8bit argument.
The `xbegin` instruction will only encode the abort flag within bits `24:31` of `eax`. Meaning that you can't recieve an error code larger than 8bits.
### Meta
`rustc --version --verbose`:
```
rustc 1.46.0-nightly (7750c3d46 2020-06-26)
binary: rustc
commit-hash: 7750c3d46bc19784adb1ee6e37a5ec7e4cd7e772
commit-date: 2020-06-26
host: x86_64-unknown-linux-gnu
release: 1.46.0nightly
LLVM version: 10.0
```
|
O-x86_64,T-libs-api,C-bug
|
low
|
Critical
|
646,776,310 |
godot
|
GDScript: nearest_po2 has wonky behaviour for non-positive inputs
|
**Godot version:**
ff0583770a8152cd63265e26e2529a170c179f68
**OS/device including version:**
Linux
**Issue description:**
The builtin function `nearest_po2` returns `0` rather than `1` for inputs less than 1
see also #39898 which clarifies this behaviour
it seems to be implemented here and used in a lot of places so maybe it would need some sort of wrapper-function if the behaviour of the GDScript one was to be changed?
https://github.com/godotengine/godot/blob/master/core/typedefs.h#L123-L137
|
discussion,topic:core
|
low
|
Minor
|
646,777,848 |
pytorch
|
Segmentation fault in forward pass using DataParallel and multiple GPUs
|
## 🐛 Bug
When I want to use DataParallel to run my model on multiple GPUs I encounter a segmentation fault. A small snippet reproducing the error is below. Running the model on only 1 GPU works.
## To Reproduce
The following fails for me:
```
# SegmentationFault.py
import torch
import torch.nn as nn
import faulthandler
faulthandler.enable()
device = "cuda:0"
class Model(nn.Module):
def __init__(self):
super(Model, self).__init__()
self.lr = nn.Linear(10,1)
def forward(self, x):
print(x.shape)
return self.lr(x)
inp = torch.randn(100,10).to(device)
model = Model().to(device)
model = nn.DataParallel(model)
out = model(inp)
print(out.shape)
(out.sum()-5).backward()
```
Output:
```
Fatal Python error: Segmentation fault
Current thread 0x00007f7a19414740 (most recent call first):
File "/home/x/anaconda3/envs/GPU-Test/lib/python3.8/site-packages/torch/cuda/comm.py", line 39 in broadcast_coalesced
File "/home/x/anaconda3/envs/GPU-Test/lib/python3.8/site-packages/torch/nn/parallel/_functions.py", line 21 in forward
File "/home/x/anaconda3/envs/GPU-Test/lib/python3.8/site-packages/torch/nn/parallel/replicate.py", line 72 in _broadcast_coalesced_reshape
File "/home/x/anaconda3/envs/GPU-Test/lib/python3.8/site-packages/torch/nn/parallel/replicate.py", line 89 in replicate
File "/home/x/anaconda3/envs/GPU-Test/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 159 in replicate
File "/home/x/anaconda3/envs/GPU-Test/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 154 in forward
File "/home/x/anaconda3/envs/GPU-Test/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550 in __call__
File "SegmentationFault.py", line 29 in <module>
Segmentation fault
```
<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->
## Expected behavior
Should run without segmentation fault.
## Environment
```
PyTorch version: 1.5.1
Is debug build: No
CUDA used to build PyTorch: 10.1
OS: Debian GNU/Linux 10 (buster)
GCC version: (Debian 8.3.0-6) 8.3.0
CMake version: version 3.13.4
Python version: 3.8
Is CUDA available: Yes
CUDA runtime version: 9.2.148
GPU models and configuration:
GPU 0: Quadro RTX 8000
GPU 1: Quadro RTX 8000
Nvidia driver version: 440.82
cuDNN version: Could not collect
Versions of relevant libraries:
[pip3] numpy==1.18.5
[pip3] torch==1.5.1
[pip3] torchvision==0.6.0a0+35d732a
[conda] blas 1.0 mkl
[conda] mkl 2020.1 217
[conda] mkl-service 2.3.0 py38he904b0f_0
[conda] mkl_fft 1.1.0 py38h23d657b_0
[conda] mkl_random 1.1.1 py38h0573a6f_0
[conda] pytorch 1.5.1 py3.8_cuda10.1.243_cudnn7.6.3_0 pytorch
[conda] torchvision 0.6.1 py38_cu101 pytorch
```
## Additional context
nvidia-smi
```
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro RTX 8000 On | 00000000:87:00.0 Off | Off |
| 33% 20C P8 4W / 260W | 0MiB / 48601MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 Quadro RTX 8000 On | 00000000:C4:00.0 Off | Off |
| 33% 24C P8 9W / 260W | 0MiB / 48601MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
```
cc @ngimel
|
module: cuda,triaged,module: data parallel
|
low
|
Critical
|
646,804,337 |
rust
|
Errors from trait incompatability for cfg(test) vs. non-cfg(test) very confusing
|
If there's a set of interconnected crates, it can be useful to have a crate take a `[dev-dependency]` on something that depends on the crate.
Well, it seems useful. But it's very easy to get into a situation where you're using versions of structs or traits compiled with the "regular" crate and are trying to use them in the "tested" crate.
Here's an example:
Run
```
cargo new cratea
cargo new crateb
```
Then edit:
`cratea/Cargo.toml`:
```toml
[package]
name = "cratea"
version = "0.1.0"
authors = ["David Ross <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dev-dependencies.crateb]
path = "../crateb"
```
`crateb/Cargo.toml`:
```toml
[package]
name = "crateb"
version = "0.1.0"
authors = ["David Ross <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies.cratea]
path = "../cratea"
```
`cratea/src/lib.rs`:
```rust
pub struct Foo;
pub trait Bar {}
pub fn takes_foo(v: Foo) {}
pub fn takes_bar(v: impl Bar) {}
#[cfg(test)]
mod test {
use super::*;
#[test]
fn foo_works() {
takes_foo(crateb::gives_foo());
}
#[test]
fn bar_works() {
takes_bar(crateb::gives_bar());
}
}
```
`crateb/lib.rs`:
```rust
use cratea::{Foo, Bar};
pub struct BarImpl;
impl Bar for BarImpl {}
pub fn gives_foo() -> Foo {
Foo
}
pub fn gives_bar() -> BarImpl {
BarImpl
}
```
Finally, run `cargo test` in `cratea`. It gives the wonderfully confusing error mesage:
```rust
error[E0308]: mismatched types
--> src/lib.rs:12:19
|
12 | takes_foo(crateb::gives_foo());
| ^^^^^^^^^^^^^^^^^^^ expected struct `Foo`, found struct `cratea::Foo`
error[E0277]: the trait bound `crateb::BarImpl: Bar` is not satisfied
--> src/lib.rs:16:19
|
4 | pub fn takes_bar(v: impl Bar) {}
| --- required by this bound in `takes_bar`
...
16 | takes_bar(crateb::gives_bar());
| ^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `crateb::BarImpl`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `cratea`.
To learn more, run the command again with --verbose.
```
<p><details>
<summary>`rustc --version --verbose`</summary>
```
rustc 1.46.0-nightly (7750c3d46 2020-06-26)
binary: rustc
commit-hash: 7750c3d46bc19784adb1ee6e37a5ec7e4cd7e772
commit-date: 2020-06-26
host: x86_64-unknown-linux-gnu
release: 1.46.0-nightly
LLVM version: 10.0
```
</details></p>
I ran into the trait case, which I think is arguably more confusing, as it doesn't immediately suggest that there are duplicate things involved (it's just missing an impl!).
If I recall correctly, there are already some custom error messages for a similar situation where you're using a struct from two different versions of the same crate. It'd be super helpful if the same or a similar better error was adapted to apply to this situation as well.
|
C-enhancement,A-diagnostics,A-trait-system,T-compiler
|
low
|
Critical
|
646,841,331 |
TypeScript
|
wrong comment in emit js
|
<!-- 🚨 STOP 🚨 STOP 🚨 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.7.x-dev.201xxxxx
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
**Code**
https://github.com/bluelovers/ws-regexp/blob/master/packages/regexp-support/index.ts
```ts
/**
* all flag support without name and pattern test
*/
flagsAll: testFlagsAll(RegExp, true),
/**
* pattern support
*/
pattern: Object.keys(PatternSupport).reduce(function (a, key)
{
a[key] = testPattern(key);
return a;
}, {} as typeof PatternSupport),
```
**Expected behavior:**
**Actual behavior:**

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
|
Needs Investigation
|
low
|
Critical
|
646,862,851 |
flutter
|
Setting CupertinoDatePicker minuteInterval: throws an exception. Flutter
|
I'm having trouble setting `CupertinoDatePicker`'s `minuteInterval:` property to 30.
It should be an integer factor of 60, so 30 should be fine. But I'm only able to set it to 1 or 2, any other value throws this exception:
```
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building BlocBuilder<BookingBloc, BookingState>(dirty, state: _BlocBuilderBaseState<BookingBloc, BookingState>#c437f):
initial minute is not divisible by minute interval
'package:flutter/src/cupertino/date_picker.dart':
Failed assertion: line 269 pos 7: 'this.initialDateTime.minute % minuteInterval == 0'
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
The relevant error-causing widget was:
BlocBuilder<BookingBloc, BookingState> file:///Volumes/archivi%20recuperati/Flutter%20apps%20/fixit_cloud_biking/lib/Screens/select_shop_booking_screen.dart:67:14
When the exception was thrown, this was the stack:
#2 new CupertinoDatePicker (package:flutter/src/cupertino/date_picker.dart:269:7)
#3 _SelectShopBookingScreenState.build.<anonymous closure> (package:fixit_cloud_biking/Screens/select_shop_booking_screen.dart:132:36)
#4 BlocBuilder.build (package:flutter_bloc/src/bloc_builder.dart:90:50)
#5 _BlocBuilderBaseState.build (package:flutter_bloc/src/bloc_builder.dart:162:48)
#6 StatefulElement.build (package:flutter/src/widgets/framework.dart:4334:27)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
```
Is there something else to be set to set it right?
This is how I set it up.
Many thanks in advance.
```
Expanded(
flex: 2,
child: Container(
padding: EdgeInsets.all(20),
color: Colors.transparent,
child: CupertinoDatePicker(
backgroundColor: Colors.transparent,
use24hFormat: true,
mode: CupertinoDatePickerMode.dateAndTime,
minuteInterval: 30,
onDateTimeChanged: (DateTime selected) {
print('selected is $selected');
}),
),
),
```
|
framework,f: date/time picker,f: cupertino,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,workaround available,team-design,triaged-design
|
low
|
Critical
|
646,877,759 |
flutter
|
Image does not fully cover card
|
In the following example the red card background can be seen:
<img width="800" alt="Screenshot 2020-06-28 at 11 03 30" src="https://user-images.githubusercontent.com/814785/85943294-7245cd00-b92f-11ea-8585-1a78f978fa24.png">
```dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: ImageGrid(),
);
}
}
class ImageGrid extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GridView.builder(
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: (MediaQuery.of(context).size.width / 180).floor(),
childAspectRatio: 2.4,
),
itemCount: 1000,
itemBuilder: (BuildContext context, int index) {
return ImageCard('https://picsum.photos/seed/$index/300/200');
},
);
}
}
class ImageCard extends StatelessWidget {
const ImageCard(this.url);
final String url;
@override
Widget build(BuildContext context) {
return Card(
color: Colors.red,
child: Image.network(url, fit: BoxFit.cover),
);
}
}
```
```
[✓] Flutter (Channel master, 1.20.0-3.0.pre.78, on Mac OS X 10.15.5 19F101, locale en-CH)
• Flutter version 1.20.0-3.0.pre.78 at /Users/ben/flutter
• Framework revision 2962912d68 (25 hours ago), 2020-06-27 00:59:50 -0700
• Engine revision fc0e27210c
• Dart version 2.9.0 (build 2.9.0-19.0.dev 63cf56d925)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/ben/Library/Android/sdk
• Platform android-29, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.8.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 47.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.41.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.7.1
[✓] Connected device (3 available)
• macOS desktop • macos • darwin-x64 • Mac OS X 10.15.5 19F101
• Web Server • web-server • web-javascript • Flutter Tools
• Chrome • chrome • web-javascript • Google Chrome 83.0.4103.116
• No issues found!
```
|
framework,engine,a: images,c: rendering,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-engine,triaged-engine
|
low
|
Major
|
646,879,238 |
rust
|
MIR sanity check improvements
|
This issue collect various proposals for improvements to the MIR sanity check so that they do not get lost:
* Function calls and `DropAndReplace` could test that given and expected type match (https://github.com/rust-lang/rust/pull/72796#discussion_r446527001)
* `SetDiscriminant` could have some invariants checked (https://github.com/rust-lang/rust/pull/72796#discussion_r446624972)
|
T-compiler,A-MIR
|
low
|
Major
|
646,890,840 |
pytorch
|
[JIT] Tracing BCE loss throws error when using weight
|
## 🐛 Bug
When tracing BCELoss with the optional weight parameter (see https://pytorch.org/docs/master/generated/torch.nn.BCELoss.html) it throws:
```Traceback (most recent call last):
File "repro.py", line 13, in <module>
c = torch.jit.trace(model, [input, target])
File "/usr/local/lib/python3.7/site-packages/torch/jit/__init__.py", line 875, in trace
check_tolerance, _force_outplace, _module_class)
File "/usr/local/lib/python3.7/site-packages/torch/jit/__init__.py", line 1027, in trace_module
module._c._create_method_from_trace(method_name, func, example_inputs, var_lookup_fn, _force_outplace)
File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 548, in __call__
result = self._slow_forward(*input, **kwargs)
File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 534, in _slow_forward
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/loss.py", line 517, in forward
return F.binary_cross_entropy(input, target, weight=self.weight, reduction=self.reduction)
File "/usr/local/lib/python3.7/site-packages/torch/nn/functional.py", line 2375, in binary_cross_entropy
new_size = _infer_size(target.size(), weight.size())
RuntimeError: expected int at position 0, but got: Tensor
```
## To Reproduce
```
import torch
weight = torch.randn(3)
model = torch.nn.BCELoss(weight=weight)
input = torch.empty(3).uniform_()
target = torch.empty(3).random_(2)
# Fine.
normal = model(input, target)
print(normal)
# Errors.
c = torch.jit.trace(model, [input, target])
c(input, target)
```
## Expected behavior
A weight parameter on the class should just work. If there is some reason it isn't supported a clearer error message should be thrown.
## Environment
```
PyTorch version: 1.5.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.16.3
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] efficientnet-pytorch==0.6.3
[pip3] numpy==1.18.1
[pip3] torch==1.5.0
[pip3] torchtext==0.6.0
[pip3] torchvision==0.6.0
[conda] Could not collect
```
cc @suo @gmagogsfm
|
oncall: jit,triaged
|
low
|
Critical
|
646,892,617 |
flutter
|
Exception: Gradle task assembleDebug failed with exit code -1
|
whenever I try to run my flutter project they show,
Exception: Gradle task assembleDebug failed with exit code -1
I have tried all possible ways to solve this error.I have solved all issues related to issues..but still I can not overcome from this error.
I have even reinstalled my androidstudio and flutter..
Please help me to solve this exception urgently..
Thankyou

|
c: crash,platform-android,tool,t: gradle,P2,team-android,triaged-android
|
low
|
Critical
|
646,940,054 |
TypeScript
|
Make tsc --init generate default target to ES6 or higher
|
<!-- 🚨 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 FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ
-->
## Search Terms
tsc --init default target ES5 ES6
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->
## Suggestion
When running `tsc --init`, let the tsconfig has `es6` or higher target.
<!-- A summary of what you'd like to see added or changed -->
## Use Cases
It's not common to _have_ to use es5 nowadays
<!--
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,In Discussion
|
low
|
Critical
|
646,949,399 |
neovim
|
Displaying colored escape characters in command mode
|
## Displaying colored escape characters in command mode
The terminals have been supporting colored characters for some time now and are used by many programs, but vi, vim and neovim do not print these characters correctly in their command mode.
Example : `:!echo -e " \033[0;31m RED"`.
output is: `^[[0;31m RED`.
Example in terminal: `echo -e " \033[0;31m RED`.
output is: `RED` in red color.
it would be amazing if the neovim supports colorful characters like most terminal emulators,I myself thought about making this modification but I don't have the knowledge to do it.
|
enhancement
|
low
|
Minor
|
646,970,371 |
youtube-dl
|
sexlikereal.com site support
|
## Checklist
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.06.16.1**
- [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.sexlikereal.com/scenes/wet-college-student-7208
## Description
Currently defaults to the generic downloader where a very low res trailer is downloaded.
Account need for full vids, but trailers are open to all.
|
site-support-request,nsfw
|
low
|
Critical
|
646,972,397 |
go
|
x/image/tiff: Missing raw stream read/write
|
If I understand well the TIFF library only offers encode/decode but not raw read/write methods.
As TIFF is an image container that can support multiple encodings, IMO, it could be very useful to have direct read/write access to the encoded data stream. In this way for example a jpeg encoded image can be encapsulated in a TIFF container without decoding/encoding. The same is valid for CCITT or JBIG2 encodings.
This can also be very useful to extract images from PDF file and save them to TIFF without encoding/decoding. Or to make the inverse : import TIFF images to PDF files.
|
NeedsInvestigation,FeatureRequest
|
low
|
Minor
|
646,974,071 |
godot
|
Unable to load C# add-on script (even if newly created)
|
<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->
**Godot version:**
3.2.2.stable.mono.official
**OS/device including version:**
Windows 7 service pack 1
**Issue description:**
The engine is unable to read plugins/addons properly, at first I thought it was because I moved the plugin from a project to another, unaware of some kind of dependency in the code, but then I tried to create a new one from scratch and Godot showed me the message "Unable to load addon script from path: '(path of the addon)' There seems to be an error in the code, please check the syntax."
**Steps to reproduce:**
Project->Project Settings, select "Plugins" tab and click "Create"
fill the required fields in the form and choose C# as language
leave "Activate now?" on and click "Create"
|
topic:editor,confirmed,topic:plugin,topic:dotnet
|
medium
|
Critical
|
646,980,992 |
node
|
Socket setTimeout behavior not working as expected for HTTP requests the timeout is being set but an SSE connection is still closing
|
<!--
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
-->
node 12. lts
express 4+
Linux
Ubuntu
When I am running a route that is set to a Sever Sent Event connection. The timeout and idletimeout is set to the higher time i.e. 4 minutes or 240000 milliseconds but the time is not achieved. The same 2 minutes or 120 milliseconds is closing the connection. One of the issues is that I am attempting this on the route itself by doing req.setTimeout and req.socket.setTimeout but perhaps it shouldn't be set there an as middle-ware itself? I have tried that too to no availe in the main.js server.
### How often does it reproduce? Is there a required condition?
Always
### What is the expected behavior?
To set an increased or decreased server timeout for a Server Sent Event connection
<!--
If possible please provide textual output instead of screenshots.
-->
### What do you see instead?
<!--
If possible please provide textual output instead of screenshots.
-->
### Additional information
<!--
Tell us anything else you think we should know.
-->
|
http
|
low
|
Critical
|
646,999,978 |
rust
|
Rust does not optimize register save/restore for early exit (slower than nim)
|
<!--
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.
-->
Note: This is a synthetic benchmark, however I believe it has the potential to improve runtime performance across the board for function calls because the push/pop register optimization in case of "early exit" seems like a low-hanging fruit. See assembly analysis below.
I used the following code
**Rust 1.44.1:**
compiler options: -C opt-level=3 -C lto=fat
```rust
pub fn fib(n: u64) -> u64 {
if n <= 1 { return 1 }
fib(n - 1) + fib(n - 2)
}
fn main() {
println!("{}", fib(48));
}
```
TotalSeconds : 12.3482073
TotalMilliseconds : 12348.2073 **5% slower**
**Nim 1.2.0:**
compiler options: cpp -d:release --passC:-fno-inline-small-functions
```nim
proc fib(n: uint64): uint64 =
if n <= 1: return 1
return fib(n - 1) + fib(n - 2)
echo fib(48)
```
TotalSeconds : 11.7725467
TotalMilliseconds : 11772.5467
**I expected to see this happen:** Rust-generated assembly (see below) to only save and restore register if needed
Instead, this happened: Rust-generated assembly saves registers even in the "early exit" case, when `n <= 1`. Compared to nim's assembly, we see that the registers are not saved/restored for the early exit case.
Note: Given with the exponential count of the "early exit" case, this makes the benchmark perform significantly slower. However, I suspect even in real life we will benefit from having an early exit optimization.
### 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.44.1 (c7087fe00 2020-06-17)
binary: rustc
commit-hash: c7087fe00d2ba919df1d813c040a5d47e43b0fe7
commit-date: 2020-06-17
host: x86_64-pc-windows-msvc
release: 1.44.1
LLVM version: 9.0
```
### Analysis: generated assembly and likely reason for slowdown
For the assembly analysis I use https://rust.godbolt.org/ with the above sample code and options.
Here's the relevant assembly and source:
**Rust:**

```asm
example::fib:
push r15
push r14
push rbx
mov r14d, 1 # function init
cmp rdi, 2 # if n <= 1
jb .LBB0_3 # return 1
mov rbx, rdi
mov r14d, 1
mov r15, qword ptr [rip + example::fib@GOTPCREL]
.LBB0_2:
lea rdi, [rbx - 1]
call r15
add rbx, -2
add r14, rax
cmp rbx, 1
ja .LBB0_2
.LBB0_3:
mov rax, r14
pop rbx
pop r14
pop r15
ret
```
**Nim:**

```nim
proc fib(n: uint64): uint64 =
if n <= 1: return 1
return fib(n - 1) + fib(n - 2)
echo fib(48)
```
```asm
fib__Q9chlIZts06QqO9cyt9cUDmlg(unsigned long):
cmp rdi,0x1
ja 20 <fib__Q9chlIZts06QqO9cyt9cUDmlg(unsigned long)+0x10>
mov eax,0x1
ret
nop DWORD PTR [rax+0x0]
push r12
lea r12,[rdi-0x3]
push rbp
lea rbp,[rdi-0x1]
sub rdi,0x2
push rbx
and rdi,0xfffffffffffffffe
xor ebx,ebx
sub r12,rdi
mov rdi,rbp
sub rbp,0x2
call 45 <fib__Q9chlIZts06QqO9cyt9cUDmlg(unsigned long)+0x35>
add rbx,rax
cmp rbp,r12
jne 39 <fib__Q9chlIZts06QqO9cyt9cUDmlg(unsigned long)+0x29>
lea rax,[rbx+0x1]
pop rbx
pop rbp
pop r12
ret
nop WORD PTR cs:[rax+rax*1+0x0]
```
### Analysis:
1. Rust will always save registers (push on function entry, pop on exit) even for cases that doesn't need it. In contrast, nim's generated code will not.
2. This may or may not end up being beneficial in real-life scenarios, I suspect the optimization may be important.
|
A-LLVM,I-slow,C-enhancement,T-compiler,C-optimization
|
low
|
Critical
|
647,002,682 |
node
|
Stream Issues
|
This is a meta issue of somewhat complex issues to look into:
- [ ] `writable.end(chunk, callback)` does not properly propagate `write(chunk, callback)` errors. https://github.com/nodejs/node/issues/33684
- [ ] `writable.end(chunk)` API is ambiguous in relation to optional parameters (i.e. chunk).
- [x] docs say `writable.end(chunk, callback)` register error handler, but will still result in unhandled exception (https://github.com/nodejs/node/pull/34101)
- [ ] `setEncoding` should apply transform when reading from `Readable` not when pushing into it. https://github.com/nodejs/node/issues/6038
- [ ] `Readable` confusion/inconsistency between mutating `flowing` and using `pause`/`resume`, e.g. `pipe` uses `pause` but `pipeOnDrain` uses `flowing=true`.
- [ ] `Readable` `maybeReadMore` does not take explicit pausing into consideration and can read data despite being paused, e.g. if `pause()` is called before `_construct(callback)` has completed, it will start reading despite being paused. https://github.com/nodejs/node/pull/34106
- [ ] `Readable.wrap` is not streams compliant. (https://github.com/nodejs/node/pull/34204)
- [x] `Readable.wrap` does not auto destroy wrapped stream.
- [ ] What to do if user manually emits falsy error on stream, e.g. `emit('error', undefined)`?
- [ ] What if `finished(stream)` is called on an errored stream?
- [ ] What if `pipeline(stream)` is called on an errored stream?
- [ ] `finished` registers excessive amount of listeners.
- [ ] Should pipeline explicitly use `'data'`, `'drain'`, `pause()`, `resume()` API in order to avoid possible complexity/bugs from `pipe`?
- [ ] Is `DuplexSocket` needed? Is it broken?
- [ ] `js_socket_stream` is not streams compliant.
- [ ] emits `'error'` instead of using `destroy(err)`
- [ ] depends on flowing after pause (without resume) (http2 test fail)
- [x] GC issues? https://github.com/nodejs/node/pull/34103#issuecomment-650792070
- [ ] https://github.com/nodejs/node/issues/27258
- [ ] other...
- [ ] `TLSSocket` is not streams compliant.
- [ ] emits `'error'` instead of using `destroy(err)`
- [ ] other...
- [ ] pipeline + generator issues. https://github.com/nodejs/node/issues/33792. https://github.com/nodejs/node/pull/34035
- [ ] unclear `'end'` semantics for `net.Socket`. Probably also related to `js_socket_stream`. https://github.com/nodejs/node/issues/10871
|
stream,meta
|
low
|
Critical
|
647,011,918 |
pytorch
|
libtorch: macros in logging_is_not_google_glog.h have very common names like CHECK or LOG
|
## Feature
Rename macros in `logging_is_not_google_glog.h`, since names like `CHECK` or `LOG` are very common, which can lead to conflicts with other libraries that may also define such macros with the same name.
## Pitch
Rename macros to include a prefix in order to prevent conflicts
## Alternatives
```
#include <torch/script.h>
#undef LOG
#undef CHECK
```
works somehow, but is not really convenient.
|
module: logging,triaged,better-engineering
|
low
|
Major
|
647,022,869 |
rust
|
Towards faster symbol lookup via DT_GNU_HASH
|
As explains this blog, https://flapenguin.me/elf-dt-gnu-hash ELF has an alternative hashmap for symbol lookup that is up to 50% faster!
Therefore, rustc should pass to the linker the following argument: --hash-style SHT_GNU_HASH
Also: *This saves a few hundreds bytes to a few kilobytes for typical executables. (DT_HASH is usually larger than DT_GNU_HASH because it does not skip undefined dynsym entries)*
|
A-linkage,T-compiler,C-feature-request
|
medium
|
Major
|
647,072,172 |
go
|
x/pkgsite/internal/fetch/dochtml/internal/render: leave a sample of values when trimming large string literals and composite literals
|
In godoc.org: https://godoc.org/github.com/rocketlaunchr/google-search (for example),
If you have a map package-level variable with many many predefined values, it doesn't display any of them:
```
var GoogleDomains = map[string]string{ /* 198 elements not displayed */
}
```
It would be more useful if displayed some values to give an idea of the kind of values stored:
```go
var GoogleDomains = map[string]string{
"us": "https://www.google.com/search?q=",
"ac": "https://www.google.ac/search?q=",
"ad": "https://www.google.ad/search?q=",
... /* 195 elements not displayed */
```
|
help wanted,NeedsInvestigation,FeatureRequest,pkgsite,pkgsite/dochtml
|
low
|
Minor
|
647,128,430 |
node
|
Building for Android target not working
|
I'm not sure how to start, the last couple days I've been trying to build node.js as an Android target, but I've gotten not very far with it.
I was first trying out the `android-configure` script in this repository which seems heavily outdated, as compiling node `--without-snapshot` isn't possible since a while now.
Afterwards I was trying to figure out how [Termux](https://github.com/termux/termux-packages/tree/master/packages/nodejs) does it, while trying to build node as static as possible, because their packaging system uses all of the libraries in a shared manner.
Side note: The [nodejs-mobile](https://github.com/janeasystems/nodejs-mobile) hardfork is totally outdated and uses the abandoned chakra fork, so I guess that cannot be relied on anyhow. Tried that out, nothing works, segfault pretty much everywhere. Still they had the same build issues, and their reasons for the hardfork with all kinds of weird gyp file and `#ifdef` replacements in the codebase, though it's impossible to say whether these patches still are necessary for upstream node or not.
--------
Currently, I've gotten this far, but I still get a segfault on every Android API level. I've got no clue what the issue is (hence the reason for this Bug Report). I cannot build a working node binary and/or libnode.so for Android that works correctly without a segfault.
The current build script looks like this (based on the `android-configure` script, but modified a bit to be failsafe, because some stuff was missing)... currently I am building for AOSP / OmniROM and Android API Level 28 (aka Android 9.0+).
```bash
#!/bin/bash
# XXX: API Levels
# Android 10 -> 29
# Android 9 -> 28
# Android 8.1 -> 27
# Android 8.0 -> 26
export ANDROID_HOME="/opt/android-sdk";
export ANDROID_SDK_VERSION="28";
export ANDROID_NDK="/opt/android-ndk";
export ANDROID_NDK_HOME="/opt/android-ndk";
HOST_OS="linux";
HOST_ARCH="x86_64";
HOST_ROOT="$PWD";
build_node() {
arch="$1";
if [[ "$arch" == "armeabi-v7a" ]]; then
DEST_CPU="arm";
TOOLCHAIN_NAME="armv7a-linux-androideabi";
PLATFORM_NAME="arm-linux-androideabi";
ARCH="arm";
# TODO: Verify that ARCH is arm for v8
elif [[ "$arch" == "arm64-v8a" ]]; then
DEST_CPU="arm64";
TOOLCHAIN_NAME="aarch64-linux-android";
PLATFORM_NAME="aarch64-linux-androideabi";
ARCH="arm64";
elif [[ "$arch" == "x86" ]]; then
DEST_CPU="ia32";
TOOLCHAIN_NAME="i686-linux-android";
PLATFORM_NAME="i686-linux-android";
ARCH="ia32";
elif [[ "$arch" == "x86_64" ]]; then
DEST_CPU="x64";
TOOLCHAIN_NAME="x86_64-linux-android";
PLATFORM_NAME="x86_64-linux-android";
ARCH="x64";
fi;
if [[ "$DEST_CPU" != "" ]]; then
export GYP_DEFINES="target_arch=$ARCH v8_target_arch=$ARCH android_target_arch=$ARCH host_os=$HOST_OS OS=android";
export CC_host="$(which clang)";
export CXX_host="$(which clang++)";
export AR_host="$(which ar)";
export AS_host="$(which as)";
export LD_host="$(which ld)";
export NM_host="$(which nm)";
export RANLIB_host="$(which ranlib)";
export STRIP_host="$(which strip)";
TOOLCHAIN_PATH="$ANDROID_NDK/toolchains/llvm/prebuilt/$HOST_OS-$HOST_ARCH";
export PATH="$TOOLCHAIN_PATH/bin:$PATH";
export CC_target="$TOOLCHAIN_PATH/bin/$TOOLCHAIN_NAME$ANDROID_SDK_VERSION-clang";
export CXX_target="$TOOLCHAIN_PATH/bin/$TOOLCHAIN_NAME$ANDROID_SDK_VERSION-clang++";
export AR_target="$TOOLCHAIN_PATH/bin/$PLATFORM_NAME-ar";
export AS_target="$TOOLCHAIN_PATH/bin/$PLATFORM_NAME-as";
export LD_target="$TOOLCHAIN_PATH/bin/$PLATFORM_NAME-ld";
export NM_target="$TOOLCHAIN_PATH/bin/$PLATFORM_NAME-nm";
export RANLIB_target="$TOOLCHAIN_PATH/bin/$PLATFORM_NAME-ranlib";
export STRIP_target="$TOOLCHAIN_PATH/bin/$PLATFORM_NAME-strip";
cd "$HOST_ROOT/node";
chmod +x ./configure;
./configure \
--dest-cpu="$DEST_CPU"\
--dest-os="android" \
--without-intl \
--without-inspector \
--without-node-snapshot \
--without-node-code-cache \
--without-npm \
--without-snapshot \
--openssl-no-asm \
--cross-compiling;
if [[ "$?" == "0" ]]; then
cd "$HOST_ROOT/node";
export LDFLAGS=-shared;
make;
if [[ -f "$HOST_ROOT/node/out/Release/lib.target/libnode.so" ]]; then
mkdir -p "$HOST_ROOT/libnode/$arch";
cp "$HOST_ROOT/node/out/Release/lib.target/libnode.so" "$HOST_ROOT/libnode/$arch/libnode.so";
fi;
fi;
if [[ "$?" == "0" ]]; then
cd "$HOST_ROOT/node";
export LDFLAGS=-shared;
make;
if [[ -f "$HOST_ROOT/node/out/Release/node" ]]; then
mkdir -p "$HOST_ROOT/libnode/$arch";
cp "$HOST_ROOT/node/out/Release/node" "$HOST_ROOT/libnode/$arch/node";
fi;
fi;
fi;
}
# build_node "armeabi-v7a";
build_node "arm64-v8a";
# build_node "x86";
# build_node "x86_64";
```
My questions are now as following:
- How to correctly build node.js using the correct Android SDK API Level and Android NDK r21?
- How to correctly build node.js for Android as a `libnode.so` so that it can be used inside Android Apps, too (using the Android NDK)?
- Am I still assuming correctly that `libicu` problems arise and therefore `Intl` support has to be disabled? If not, how to fix all the build errors?
- I added all flags during try/error of the compilation process manually, each time I got further in the compilation process another error happened down the line, then I removed that feature accordingly. Meanwhile I probably compiled node's codebase for at least 30 times (since Saturday non-paused) without any working result.
- I've also seen that `--parallel` is disabled, so basically everything is compiled with `-j 1` - why is that?
Thanks in advice.
|
build,android
|
low
|
Critical
|
647,148,287 |
opencv
|
Intel z8350 cpu not to support opencl fp8 & fp16?
|
##### System information (version)
<!-- Example
- OpenCV => 4.3
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2017
-->
Intel z8350、n3150... these cpu not to support dnn opencl fp8 & fp16?
it is very important in project, please to support dnn opencl fp8, thanks!
|
feature,priority: low,category: ocl,category: dnn,effort: ∞
|
low
|
Major
|
647,178,400 |
godot
|
Normals appear inverted on materials with cull mode set to Disabled [macOS, Intel driver bug, GLES3]
|
___
***Bugsquad note:** This issue has been confirmed several times already. No need to confirm it further.*
___
**Godot version:**
3.2.2 (was also present in 3.1 if I recall correctly)
**OS/device including version:**
macOS 10.14.6 Mojave
2017 MacBook Pro 13", 2.3Ghz Core i5
Intel Iris Plus 640
GLES3 Project
**Issue description:**
On import normals appear inverted (see direction of light in screenshot)

Second scene showing imported SketchFab model next to CSGBox

**Steps to reproduce:**
Create model in Blender (or download model from SketchFab)
Export as .gLTF or .fbx
Import into Godot
Normals are inverted
**Minimal reproduction project:**
[Normals Bug.zip](https://github.com/godotengine/godot/files/4844317/Normals.Bug.zip)
UPDATE:
Issue only present in GLES3 mode and on certain Intel integrated chips
|
bug,platform:macos,topic:rendering,confirmed,topic:3d
|
medium
|
Critical
|
647,184,383 |
go
|
x/crypto/ssh/test: TestRunCommandStdinError go test fails
|
### What version of Go are you using (`go version`)?
<pre>
1.14
</pre>
### Does this issue reproduce with the latest release?
Not sure
### What operating system and processor architecture are you using (`go env`)?
<details><summary><code>go env</code> Output</summary><br><pre>
debian unstable or testing
amd64 or i386 or arm64
</pre></details>
### What did you do?
golang-go.crypto test fails on reproducible builds
log:
```
=== RUN TestRunCommandStdinError
TestRunCommandStdinError: session_test.go:105: expected closing write end of pipe, found <nil>
TestRunCommandStdinError: test_unix_test.go:253: sshd: /tmp/sshtest903165496/sshd_config line 10: Deprecated option KeyRegenerationInterval
/tmp/sshtest903165496/sshd_config line 11: Deprecated option ServerKeyBits
/tmp/sshtest903165496/sshd_config line 17: Deprecated option RSAAuthentication
/tmp/sshtest903165496/sshd_config line 22: Deprecated option RhostsRSAAuthentication
debug1: inetd sockets after dupping: 3, 4
Connection from UNKNOWN port 65535 on /tmp/unixConnection928318519/ssh port 65535
debug1: Local version string SSH-2.0-OpenSSH_8.3p1 Debian-1
debug1: Remote protocol version 2.0, remote software version Go
debug1: no match: Go
debug2: fd 3 setting O_NONBLOCK
debug2: Network child is on pid 55877
debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ssh-rsa,[email protected],[email protected],[email protected],ecdsa-sha2-nistp256 [preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
debug2: local server KEXINIT proposal [preauth]
debug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 [preauth]
debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,[email protected],[email protected],[email protected],ecdsa-sha2-nistp256 [preauth]
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected] [preauth]
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected] [preauth]
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1 [preauth]
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1 [preauth]
debug2: compression ctos: none,[email protected] [preauth]
debug2: compression stoc: none,[email protected] [preauth]
debug2: languages ctos: [preauth]
debug2: languages stoc: [preauth]
debug2: first_kex_follows 0 [preauth]
debug2: reserved 0 [preauth]
debug2: peer client KEXINIT proposal [preauth]
debug2: KEX algorithms: [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1 [preauth]
debug2: host key algorithms: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss,ssh-ed25519 [preauth]
debug2: ciphers ctos: [email protected],[email protected],aes128-ctr,aes192-ctr,aes256-ctr [preauth]
debug2: ciphers stoc: [email protected],[email protected],aes128-ctr,aes192-ctr,aes256-ctr [preauth]
debug2: MACs ctos: [email protected],hmac-sha2-256,hmac-sha1,hmac-sha1-96 [preauth]
debug2: MACs stoc: [email protected],hmac-sha2-256,hmac-sha1,hmac-sha1-96 [preauth]
debug2: compression ctos: none [preauth]
debug2: compression stoc: none [preauth]
debug2: languages ctos: [preauth]
debug2: languages stoc: [preauth]
debug2: first_kex_follows 0 [preauth]
debug2: reserved 0 [preauth]
debug1: kex: algorithm: [email protected] [preauth]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256 [preauth]
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none [preauth]
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none [preauth]
debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
debug2: monitor_read: 6 used once, disabling now
debug2: set_newkeys: mode 1 [preauth]
debug1: rekey out after 4294967296 blocks [preauth]
debug1: SSH2_MSG_NEWKEYS sent [preauth]
debug1: expecting SSH2_MSG_NEWKEYS [preauth]
debug1: SSH2_MSG_NEWKEYS received [preauth]
debug2: set_newkeys: mode 0 [preauth]
debug1: rekey in after 4294967296 blocks [preauth]
debug1: KEX done [preauth]
debug1: userauth-request for user pbuilder1 service ssh-connection method none [preauth]
debug1: attempt 0 failures 0 [preauth]
debug2: parse_server_config_depth: config reprocess config len 645
reprocess config line 17: Deprecated option RSAAuthentication
reprocess config line 22: Deprecated option RhostsRSAAuthentication
debug2: monitor_read: 8 used once, disabling now
debug2: input_userauth_request: setting up authctxt for pbuilder1 [preauth]
debug2: monitor_read: 4 used once, disabling now
debug2: monitor_read: 10 used once, disabling now
debug1: userauth_send_banner: sent [preauth]
debug2: input_userauth_request: try method none [preauth]
debug1: userauth-request for user pbuilder1 service ssh-connection method publickey [preauth]
debug1: attempt 1 failures 0 [preauth]
debug2: input_userauth_request: try method publickey [preauth]
debug2: userauth_pubkey: valid user pbuilder1 querying public key ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGHDtsTSokVGDixBzO1WAKeexzcimznWLRw/N2eIczT1QuLTOZnRgzyy/CBML2LtsKvpaV3xkJzTG82H/YLKRtM= [preauth]
debug1: userauth_pubkey: test pkalg ecdsa-sha2-nistp256 pkblob ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo [preauth]
debug1: temporarily_use_uid: 1111/1111 (e=1111/1111)
debug1: trying public key file /tmp/sshtest903165496/authorized_keys
debug1: fd 5 clearing O_NONBLOCK
debug2: /tmp/sshtest903165496/authorized_keys:1: check options: 'ssh-dss AAAAB3NzaC1kc3MAAACBAPo8NITJeIj2N82z3ta4zjoxIMJiU6pbDzRqM3XoCiG0GdyzVgGUeT/91A68Jg6xhoT6A2LHaO2hGPBeEOxzbn8ipBtTVqFvuYHz+uxogtEYhsDlYfcSAW0mZcWi8PPeJ/oXpPO+EWkeAlGYthVHxyqx7MveERk6++zaIfsyiuTHAAAAFQCRw5w/NvpcYdn2+DzLCIml7nQLAQAAAIBBF/tD+Jo9Gfjdmq5SF3pbC+KupSP62Qi7p5XadlZiZcuWoVAoTLhN6OXtaTLOvY5Ji9tcvOjtM3EsqhaivqKmzSmFg88zJeV3XiuO6FPbgKuE7O4syEN24wOLTfbAMhkbhj4rsSVTw65+fxKPlaB7yvoA2aZWCYV/KesWF1gKeAAAAIEA3ucGJ93/Mx4q4eKRDxcWD3QzWyqpbRVRRV1Vmih9Ha/qC994nJFzDQIdjxDIT2Rk2AGzMqFEB68Zc3O+Wcsmz5eWWzEwFxaTwOGWTyDqsDRLm3fD+QYjnOwuxb0Kce+gWI8voWcqC9cyRm09jGzu2Ab3Bhtpg8JJ8L7gS3MRZK4=
'
debug2: /tmp/sshtest903165496/authorized_keys:1: advance: 'AAAAB3NzaC1kc3MAAACBAPo8NITJeIj2N82z3ta4zjoxIMJiU6pbDzRqM3XoCiG0GdyzVgGUeT/91A68Jg6xhoT6A2LHaO2hGPBeEOxzbn8ipBtTVqFvuYHz+uxogtEYhsDlYfcSAW0mZcWi8PPeJ/oXpPO+EWkeAlGYthVHxyqx7MveERk6++zaIfsyiuTHAAAAFQCRw5w/NvpcYdn2+DzLCIml7nQLAQAAAIBBF/tD+Jo9Gfjdmq5SF3pbC+KupSP62Qi7p5XadlZiZcuWoVAoTLhN6OXtaTLOvY5Ji9tcvOjtM3EsqhaivqKmzSmFg88zJeV3XiuO6FPbgKuE7O4syEN24wOLTfbAMhkbhj4rsSVTw65+fxKPlaB7yvoA2aZWCYV/KesWF1gKeAAAAIEA3ucGJ93/Mx4q4eKRDxcWD3QzWyqpbRVRRV1Vmih9Ha/qC994nJFzDQIdjxDIT2Rk2AGzMqFEB68Zc3O+Wcsmz5eWWzEwFxaTwOGWTyDqsDRLm3fD+QYjnOwuxb0Kce+gWI8voWcqC9cyRm09jGzu2Ab3Bhtpg8JJ8L7gS3MRZK4=
'
debug2: /tmp/sshtest903165496/authorized_keys:4: check options: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCitzS2KiRQTccfVApb0mbPpo1lt29JjeLBYAehXHWfQ+w8sXpd8e04n/020spx1R94yg+v0NjXyh2RNFXNBYdhNei33VJxUeKNlExaecvW2yxfuZqka+ZxT1aI8zrAsjh3Rwc6wayAJS4RwZuzlDv4jZitWqwD+mb/22Zwq/WSs4YX5dUHDklfdWSVnoBfue8K/00n8f5yMTdJvFF0qAJwf9spPEHla0lYcozJk64CO5lRkqfLor4UnsXXOiA7aRIoaUSKa+rlhiqt1EMGYiBjblPt4SwMelGGU2UfywPb4d85gpQ/s8SBARbpPxNVs2IbHDMwj70P3uZc74M3c4VJ
'
debug2: /tmp/sshtest903165496/authorized_keys:4: advance: 'AAAAB3NzaC1yc2EAAAADAQABAAABAQCitzS2KiRQTccfVApb0mbPpo1lt29JjeLBYAehXHWfQ+w8sXpd8e04n/020spx1R94yg+v0NjXyh2RNFXNBYdhNei33VJxUeKNlExaecvW2yxfuZqka+ZxT1aI8zrAsjh3Rwc6wayAJS4RwZuzlDv4jZitWqwD+mb/22Zwq/WSs4YX5dUHDklfdWSVnoBfue8K/00n8f5yMTdJvFF0qAJwf9spPEHla0lYcozJk64CO5lRkqfLor4UnsXXOiA7aRIoaUSKa+rlhiqt1EMGYiBjblPt4SwMelGGU2UfywPb4d85gpQ/s8SBARbpPxNVs2IbHDMwj70P3uZc74M3c4VJ
'
debug2: /tmp/sshtest903165496/authorized_keys:6: check options: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+D11D0hEbn2Vglv4YRJ8pZNyHjIGmvth3DWOQrq++2vH2MujmGQDxfr4SVE9GpMBlKU3lwGbpgIBxAg6yZcNSfo6PWVU9ACg6NMFO+yMzc2MaG+/naQdNjSewywF5j2rkNO2XOaViRVSrZroe2B/aY2LTV0jDl8nu5NOjwRs1/s7SLe5z1rw/X0dpmXk0qJY3gQhmR8HZZ1dhEkJUGwaBCPd0T8asSYf1Ag2rUD4aQ28r3q69mbwfWOOa6rMemVZruUV5dzHwVNVNtVv+ImtnYtz8m8g+K0plaGptHn3KsaOnASkh3tujhaE7kvc4HR9Igli9+76jhZie3h/dTN5z
'
debug2: /tmp/sshtest903165496/authorized_keys:6: advance: 'AAAAB3NzaC1yc2EAAAADAQABAAABAQC+D11D0hEbn2Vglv4YRJ8pZNyHjIGmvth3DWOQrq++2vH2MujmGQDxfr4SVE9GpMBlKU3lwGbpgIBxAg6yZcNSfo6PWVU9ACg6NMFO+yMzc2MaG+/naQdNjSewywF5j2rkNO2XOaViRVSrZroe2B/aY2LTV0jDl8nu5NOjwRs1/s7SLe5z1rw/X0dpmXk0qJY3gQhmR8HZZ1dhEkJUGwaBCPd0T8asSYf1Ag2rUD4aQ28r3q69mbwfWOOa6rMemVZruUV5dzHwVNVNtVv+ImtnYtz8m8g+K0plaGptHn3KsaOnASkh3tujhaE7kvc4HR9Igli9+76jhZie3h/dTN5z
'
debug2: /tmp/sshtest903165496/authorized_keys:9: check options: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDBrjzJ9YWLe4h2rO5/1fsLZnF95r8hprDTMjAe52kXxT3ZZUiILmWgS5bX45pWLdRZ8gSNYxXW0cbKysc7C3BzfgE8ImomSdRA78q0NMFMng+vKHDVtY8L330vNr7KsJN01BgHOhE5coTFmA8WH2lMyLnCqkcO45DapkUgQjeVPQ==
'
debug2: /tmp/sshtest903165496/authorized_keys:9: advance: 'AAAAB3NzaC1yc2EAAAADAQABAAAAgQDBrjzJ9YWLe4h2rO5/1fsLZnF95r8hprDTMjAe52kXxT3ZZUiILmWgS5bX45pWLdRZ8gSNYxXW0cbKysc7C3BzfgE8ImomSdRA78q0NMFMng+vKHDVtY8L330vNr7KsJN01BgHOhE5coTFmA8WH2lMyLnCqkcO45DapkUgQjeVPQ==
'
debug2: /tmp/sshtest903165496/authorized_keys:11: check options: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC8A6FGHDiWCSREAXCq6yBfNVr0xCVG2CzvktFNRpue+RXrGs/2a6ySEJQb3IYquw7HlJgu6fg3WIWhOmHCjfpG0PrL4CRwbqQ2LaPPXhJErWYejcD8Di00cF3677+G10KMZk9RXbmHtuBFZT98wxg8j+ZsBMqGM1+7yrWUvynswQ==
'
debug2: /tmp/sshtest903165496/authorized_keys:11: advance: 'AAAAB3NzaC1yc2EAAAADAQABAAAAgQC8A6FGHDiWCSREAXCq6yBfNVr0xCVG2CzvktFNRpue+RXrGs/2a6ySEJQb3IYquw7HlJgu6fg3WIWhOmHCjfpG0PrL4CRwbqQ2LaPPXhJErWYejcD8Di00cF3677+G10KMZk9RXbmHtuBFZT98wxg8j+ZsBMqGM1+7yrWUvynswQ==
'
debug2: /tmp/sshtest903165496/authorized_keys:12: check options: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID7d/uFLuDlRbBc4ZVOsx+GbHKuOrPtLHFvHsjWPwO+/
'
debug2: /tmp/sshtest903165496/authorized_keys:12: advance: 'AAAAC3NzaC1lZDI1NTE5AAAAID7d/uFLuDlRbBc4ZVOsx+GbHKuOrPtLHFvHsjWPwO+/
'
debug1: /tmp/sshtest903165496/authorized_keys:14: matching key found: ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo
debug1: /tmp/sshtest903165496/authorized_keys:14: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
Accepted key ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo found at /tmp/sshtest903165496/authorized_keys:14
debug1: restore_uid: (unprivileged)
debug2: userauth_pubkey: authenticated 0 pkalg ecdsa-sha2-nistp256 [preauth]
Postponed publickey for pbuilder1 from UNKNOWN port 65535 ssh2 [preauth]
debug1: userauth-request for user pbuilder1 service ssh-connection method publickey [preauth]
debug1: attempt 2 failures 0 [preauth]
debug2: input_userauth_request: try method publickey [preauth]
debug2: userauth_pubkey: valid user pbuilder1 attempting public key ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGHDtsTSokVGDixBzO1WAKeexzcimznWLRw/N2eIczT1QuLTOZnRgzyy/CBML2LtsKvpaV3xkJzTG82H/YLKRtM= [preauth]
debug1: temporarily_use_uid: 1111/1111 (e=1111/1111)
debug1: trying public key file /tmp/sshtest903165496/authorized_keys
debug1: fd 5 clearing O_NONBLOCK
debug2: /tmp/sshtest903165496/authorized_keys:1: check options: 'ssh-dss AAAAB3NzaC1kc3MAAACBAPo8NITJeIj2N82z3ta4zjoxIMJiU6pbDzRqM3XoCiG0GdyzVgGUeT/91A68Jg6xhoT6A2LHaO2hGPBeEOxzbn8ipBtTVqFvuYHz+uxogtEYhsDlYfcSAW0mZcWi8PPeJ/oXpPO+EWkeAlGYthVHxyqx7MveERk6++zaIfsyiuTHAAAAFQCRw5w/NvpcYdn2+DzLCIml7nQLAQAAAIBBF/tD+Jo9Gfjdmq5SF3pbC+KupSP62Qi7p5XadlZiZcuWoVAoTLhN6OXtaTLOvY5Ji9tcvOjtM3EsqhaivqKmzSmFg88zJeV3XiuO6FPbgKuE7O4syEN24wOLTfbAMhkbhj4rsSVTw65+fxKPlaB7yvoA2aZWCYV/KesWF1gKeAAAAIEA3ucGJ93/Mx4q4eKRDxcWD3QzWyqpbRVRRV1Vmih9Ha/qC994nJFzDQIdjxDIT2Rk2AGzMqFEB68Zc3O+Wcsmz5eWWzEwFxaTwOGWTyDqsDRLm3fD+QYjnOwuxb0Kce+gWI8voWcqC9cyRm09jGzu2Ab3Bhtpg8JJ8L7gS3MRZK4=
'
debug2: /tmp/sshtest903165496/authorized_keys:1: advance: 'AAAAB3NzaC1kc3MAAACBAPo8NITJeIj2N82z3ta4zjoxIMJiU6pbDzRqM3XoCiG0GdyzVgGUeT/91A68Jg6xhoT6A2LHaO2hGPBeEOxzbn8ipBtTVqFvuYHz+uxogtEYhsDlYfcSAW0mZcWi8PPeJ/oXpPO+EWkeAlGYthVHxyqx7MveERk6++zaIfsyiuTHAAAAFQCRw5w/NvpcYdn2+DzLCIml7nQLAQAAAIBBF/tD+Jo9Gfjdmq5SF3pbC+KupSP62Qi7p5XadlZiZcuWoVAoTLhN6OXtaTLOvY5Ji9tcvOjtM3EsqhaivqKmzSmFg88zJeV3XiuO6FPbgKuE7O4syEN24wOLTfbAMhkbhj4rsSVTw65+fxKPlaB7yvoA2aZWCYV/KesWF1gKeAAAAIEA3ucGJ93/Mx4q4eKRDxcWD3QzWyqpbRVRRV1Vmih9Ha/qC994nJFzDQIdjxDIT2Rk2AGzMqFEB68Zc3O+Wcsmz5eWWzEwFxaTwOGWTyDqsDRLm3fD+QYjnOwuxb0Kce+gWI8voWcqC9cyRm09jGzu2Ab3Bhtpg8JJ8L7gS3MRZK4=
'
debug2: /tmp/sshtest903165496/authorized_keys:4: check options: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCitzS2KiRQTccfVApb0mbPpo1lt29JjeLBYAehXHWfQ+w8sXpd8e04n/020spx1R94yg+v0NjXyh2RNFXNBYdhNei33VJxUeKNlExaecvW2yxfuZqka+ZxT1aI8zrAsjh3Rwc6wayAJS4RwZuzlDv4jZitWqwD+mb/22Zwq/WSs4YX5dUHDklfdWSVnoBfue8K/00n8f5yMTdJvFF0qAJwf9spPEHla0lYcozJk64CO5lRkqfLor4UnsXXOiA7aRIoaUSKa+rlhiqt1EMGYiBjblPt4SwMelGGU2UfywPb4d85gpQ/s8SBARbpPxNVs2IbHDMwj70P3uZc74M3c4VJ
'
debug2: /tmp/sshtest903165496/authorized_keys:4: advance: 'AAAAB3NzaC1yc2EAAAADAQABAAABAQCitzS2KiRQTccfVApb0mbPpo1lt29JjeLBYAehXHWfQ+w8sXpd8e04n/020spx1R94yg+v0NjXyh2RNFXNBYdhNei33VJxUeKNlExaecvW2yxfuZqka+ZxT1aI8zrAsjh3Rwc6wayAJS4RwZuzlDv4jZitWqwD+mb/22Zwq/WSs4YX5dUHDklfdWSVnoBfue8K/00n8f5yMTdJvFF0qAJwf9spPEHla0lYcozJk64CO5lRkqfLor4UnsXXOiA7aRIoaUSKa+rlhiqt1EMGYiBjblPt4SwMelGGU2UfywPb4d85gpQ/s8SBARbpPxNVs2IbHDMwj70P3uZc74M3c4VJ
'
debug2: /tmp/sshtest903165496/authorized_keys:6: check options: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+D11D0hEbn2Vglv4YRJ8pZNyHjIGmvth3DWOQrq++2vH2MujmGQDxfr4SVE9GpMBlKU3lwGbpgIBxAg6yZcNSfo6PWVU9ACg6NMFO+yMzc2MaG+/naQdNjSewywF5j2rkNO2XOaViRVSrZroe2B/aY2LTV0jDl8nu5NOjwRs1/s7SLe5z1rw/X0dpmXk0qJY3gQhmR8HZZ1dhEkJUGwaBCPd0T8asSYf1Ag2rUD4aQ28r3q69mbwfWOOa6rMemVZruUV5dzHwVNVNtVv+ImtnYtz8m8g+K0plaGptHn3KsaOnASkh3tujhaE7kvc4HR9Igli9+76jhZie3h/dTN5z
'
debug2: /tmp/sshtest903165496/authorized_keys:6: advance: 'AAAAB3NzaC1yc2EAAAADAQABAAABAQC+D11D0hEbn2Vglv4YRJ8pZNyHjIGmvth3DWOQrq++2vH2MujmGQDxfr4SVE9GpMBlKU3lwGbpgIBxAg6yZcNSfo6PWVU9ACg6NMFO+yMzc2MaG+/naQdNjSewywF5j2rkNO2XOaViRVSrZroe2B/aY2LTV0jDl8nu5NOjwRs1/s7SLe5z1rw/X0dpmXk0qJY3gQhmR8HZZ1dhEkJUGwaBCPd0T8asSYf1Ag2rUD4aQ28r3q69mbwfWOOa6rMemVZruUV5dzHwVNVNtVv+ImtnYtz8m8g+K0plaGptHn3KsaOnASkh3tujhaE7kvc4HR9Igli9+76jhZie3h/dTN5z
'
debug2: /tmp/sshtest903165496/authorized_keys:9: check options: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDBrjzJ9YWLe4h2rO5/1fsLZnF95r8hprDTMjAe52kXxT3ZZUiILmWgS5bX45pWLdRZ8gSNYxXW0cbKysc7C3BzfgE8ImomSdRA78q0NMFMng+vKHDVtY8L330vNr7KsJN01BgHOhE5coTFmA8WH2lMyLnCqkcO45DapkUgQjeVPQ==
'
debug2: /tmp/sshtest903165496/authorized_keys:9: advance: 'AAAAB3NzaC1yc2EAAAADAQABAAAAgQDBrjzJ9YWLe4h2rO5/1fsLZnF95r8hprDTMjAe52kXxT3ZZUiILmWgS5bX45pWLdRZ8gSNYxXW0cbKysc7C3BzfgE8ImomSdRA78q0NMFMng+vKHDVtY8L330vNr7KsJN01BgHOhE5coTFmA8WH2lMyLnCqkcO45DapkUgQjeVPQ==
'
debug2: /tmp/sshtest903165496/authorized_keys:11: check options: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC8A6FGHDiWCSREAXCq6yBfNVr0xCVG2CzvktFNRpue+RXrGs/2a6ySEJQb3IYquw7HlJgu6fg3WIWhOmHCjfpG0PrL4CRwbqQ2LaPPXhJErWYejcD8Di00cF3677+G10KMZk9RXbmHtuBFZT98wxg8j+ZsBMqGM1+7yrWUvynswQ==
'
debug2: /tmp/sshtest903165496/authorized_keys:11: advance: 'AAAAB3NzaC1yc2EAAAADAQABAAAAgQC8A6FGHDiWCSREAXCq6yBfNVr0xCVG2CzvktFNRpue+RXrGs/2a6ySEJQb3IYquw7HlJgu6fg3WIWhOmHCjfpG0PrL4CRwbqQ2LaPPXhJErWYejcD8Di00cF3677+G10KMZk9RXbmHtuBFZT98wxg8j+ZsBMqGM1+7yrWUvynswQ==
'
debug2: /tmp/sshtest903165496/authorized_keys:12: check options: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID7d/uFLuDlRbBc4ZVOsx+GbHKuOrPtLHFvHsjWPwO+/
'
debug2: /tmp/sshtest903165496/authorized_keys:12: advance: 'AAAAC3NzaC1lZDI1NTE5AAAAID7d/uFLuDlRbBc4ZVOsx+GbHKuOrPtLHFvHsjWPwO+/
'
debug1: /tmp/sshtest903165496/authorized_keys:14: matching key found: ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo
debug1: /tmp/sshtest903165496/authorized_keys:14: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
Accepted key ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo found at /tmp/sshtest903165496/authorized_keys:14
debug1: restore_uid: (unprivileged)
debug1: auth_activate_options: setting new authentication options
Accepted publickey for pbuilder1 from UNKNOWN port 65535 ssh2: ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo
debug1: monitor_child_preauth: pbuilder1 has been authenticated by privileged process
debug1: auth_activate_options: setting new authentication options [preauth]
debug2: userauth_pubkey: authenticated 1 pkalg ecdsa-sha2-nistp256 [preauth]
debug1: monitor_read_log: child log fd closed
User child is on pid 55878
debug1: SELinux support disabled
debug2: set_newkeys: mode 0
debug1: rekey in after 4294967296 blocks
debug2: set_newkeys: mode 1
debug1: rekey out after 4294967296 blocks
debug1: ssh_packet_set_postauth: called
debug1: active: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Entering interactive session for SSH2.
debug2: fd 7 setting O_NONBLOCK
debug2: fd 8 setting O_NONBLOCK
debug1: server_init_dispatch
debug1: server_input_channel_open: ctype session rchan 0 win 2097152 max 32768
debug1: input_session_request
debug1: channel 0: new [server-session]
debug2: session_new: allocate (allocated 0 max 10)
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
debug1: server_input_channel_req: channel 0 request exec reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req exec
Starting session: command for pbuilder1 from UNKNOWN port 65535 id 0
debug2: fd 11 setting O_NONBLOCK
debug2: fd 10 setting O_NONBLOCK
debug2: fd 13 setting O_NONBLOCK
debug2: channel 0: read 86 from efd 13
debug2: channel 0: rwin 2097152 elen 86 euse 1
debug2: channel 0: sent ext data 86
debug1: Received SIGCHLD.
debug1: session_by_pid: pid 55879
debug1: session_exit_message: session 0 channel 0 pid 55879
debug2: channel 0: request exit-status confirm 0
debug1: session_exit_message: release channel 0
debug2: channel 0: write failed
debug2: channel 0: chan_shutdown_write (i0 o0 sock -1 wfd 10 efd 13 [read])
debug2: channel 0: send eow
debug2: channel 0: output open -> closed
debug2: channel 0: read<=0 rfd 11 len 0
debug2: channel 0: read failed
debug2: channel 0: chan_shutdown_read (i0 o3 sock -1 wfd 11 efd 13 [read])
debug2: channel 0: input open -> drain
debug2: channel 0: read 0 from efd 13
debug2: channel 0: closing read-efd 13
debug2: channel 0: ibuf empty
debug2: channel 0: send eof
debug2: channel 0: input drain -> closed
debug2: channel 0: send close
debug2: notify_done: reading
debug2: channel 0: rcvd close
debug2: channel 0: is dead
debug2: channel 0: gc: notify user
debug1: session_by_channel: session 0 channel 0
debug1: session_close_by_channel: channel 0 child 0
Close session: user pbuilder1 from UNKNOWN port 65535 id 0
debug2: channel 0: gc: user detached
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: server-session, nchannels 1
debug1: do_cleanup
debug1: temporarily_use_uid: 1111/1111 (e=1111/1111)
debug1: restore_uid: (unprivileged)
debug1: audit_event: unhandled event 12
--- FAIL: TestRunCommandStdinError (0.09s)
```
Reference:
- https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/golang-go.crypto_0.0~git20200604.70a84ac-1.rbuild.log.gz
- https://tests.reproducible-builds.org/debian/rbuild/bullseye/i386/golang-go.crypto_0.0~git20200604.70a84ac-1.rbuild.log.gz
- https://tests.reproducible-builds.org/debian/logs/bullseye/arm64/golang-go.crypto_0.0~git20200604.70a84ac-1.build2.log.gz
|
NeedsInvestigation
|
low
|
Critical
|
647,206,759 |
opencv
|
recoverPose default arguments
|
##### System information (version)
- OpenCV => 4.1.2
- Operating System / Platform => Ubuntu 18.04
- Python interpretor (3.6.9)
##### Detailed description
I am trying to perform ego-motion estimation. Once I have obtained my correspondence points, I use ```cv2.findEssentialMat``` followed by ```cv2.recoverPose```.
It is the arguments of ```cv2.recoverPose``` that I have a doubt it. When I just give ```cv2.recoverPose(E, kp1, kp2)```, without specifying the camera intrinsics, the code does not give any error, and runs.
However, looking at the function declaration of ```cv2.recoverPose```, it has the camera intrinsics as optional parameters. What is the use of this. In case I do not give camera intrinsics, what default values are chosen?
There were two things I noticed, upon running experiments with and without passing the cam intrinsics for ```cv2.recoverPose```.
Details of the setup of the experiment: A camera mounted on a car (similar to KITTI dataset, if you are familiar with it). A video sequence of 1000 frames are obtained, I obtain feature correspondences for the sequential images.
1. In the first case (no camera intrinsics passed), quite a lot of translation signs were reversed. Since my camera is mounted on a vehicle and there is always forward motion, I simply multiplied my translation by ```-1``` in case the forward motion is negative. While this is not a good way, for a start, it works.
2. The second bizarre thing that I noticed was that, when I passed my camera intrinsics, a lot less translation values were negative, so this must be a good thing, however, the trajectory is fairly incorrect, meaning it performs poorly compared to not passing the camera intrinsics values. Upon further inspection, I notice that the number of points that pass the cheirality check is zero or nearly zero, I wonder why that is happening. (In the first case where I did not pass the camera intrinsics, the number of points returned are a lot, and comparable to the number of inliers found in the previous step of finding Essential matrix i.e. in the order of 100s)
Why is this happening? Any explanation would be appreciated. Should I pass the camera intrinsics to recover pose? In that case, why am I getting incorrect values?
##### Steps to reproduce
In the zip file, I've attached a minimal example, for 4 frames.
[opencv_issue.zip](https://github.com/opencv/opencv/files/4844499/opencv_issue.zip)
My camera intrinsics:
```
focal=349.9,
pp=(335.3375, 199.2915),
```
For each pair of frames, ```pos_a``` is the ```i_i+1_left.npy``` while ```pos_b``` is the ```i_i+1_right.npy``` where ```pos_a``` and ```pos_b``` are the correspondence points.
For the first case, I obtain the essential matrix using
` E, inliers = cv2.findEssentialMat( pos_b, pos_a, focal=349.9, pp=(335.3375, 199.2915), method=cv2.RANSAC,prob=0.99,threshold=0.5)`
followed by :
`points, R, t, _ = cv2.recoverPose(E, pos_b, pos_a,focal=349.9, pp=(335.3375, 199.2915), mask = inliers)`
The number of inliers after essential matrix, and no of points that pass cheirality check for each ```E``` are: (I have attached 3 sets of correspondences for 4 frames)
```
1994 38
2261 0
2010 46
```
In the second case, essential matrix formulation is the same:
` E, inliers = cv2.findEssentialMat( pos_b, pos_a, focal=349.9, pp=(335.3375, 199.2915), method=cv2.RANSAC,prob=0.99,threshold=0.5)`
but I do not pass any camera arguments arguments for recoverpose.
`points, R, t, _ = cv2.recoverPose(E, pos_b, pos_a, mask = inliers1)`
In this case, the number of inliers after essential matrix, and no of points that pass cheirality check for each ```E``` are:
```
1994 1992
2261 2178
2010 1495
```
As you can see, the number of points that pass the cheirality check is quite large. When testing it over 3000 frames, the overall trajectory of the second case is much more accurate compared to the first one (after correcting for reverse translation). In the second case, I understand why I would get negative translation since ```decomposeMat``` gives 4 outputs, one for +ve translation and one for -ve translation (apologies for the abuse of terminology, but in my case, this fits)
Quite simply, what is the issue?
##### Issue submission checklist
- [x] I report the issue, it's not a question
<!--
OpenCV team works with answers.opencv.org, Stack Overflow and other communities
to discuss problems. Tickets with question without real issue statement will be
closed.
-->
- [x] I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution
<!--
Places to check:
* OpenCV documentation: https://docs.opencv.org
* FAQ page: https://github.com/opencv/opencv/wiki/FAQ
* OpenCV forum: https://answers.opencv.org
* OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
* Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
-->
- [x] I updated to latest OpenCV version and the issue is still there
<!--
master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
OpenCV team supports only latest release for each branch.
The ticket is closed, if the problem is not reproduced with modern version.
-->
- [x] There is reproducer code and related data files: videos, images, onnx, etc
<!--
The best reproducer -- test case for OpenCV that we can add to the library.
Recommendations for media files and binary files:
* Try to reproduce the issue with images and videos in opencv_extra repository
to reduce attachment size
* Use PNG for images, if you report some CV related bug, but not image reader
issue
* Attach the image as archite to the ticket, if you report some reader issue.
Image hosting services compress images and it breaks the repro code.
* Provide ONNX file for some public model or ONNX file with with random weights,
if you report ONNX parsing or handling issue. Architecture details diagram
from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
-->
|
category: calib3d
|
low
|
Critical
|
647,222,469 |
flutter
|
[quick_actions] Support Bitmap icons
|
## Use case
I'm maintaining an app with bookmarks. The most used bookmarks are added as dynamic shortcuts (with quick actions plugin).
Each bookmark has a specific icon. I'm drawing them in the app with `CustomPainter` implementations.
Currently, I'm limited to Android / iOs ressources to set the icon of the shortcuts.
## Proposal
The quick_actions plugin should allow us to use bitmap as icons, not only raw ressources.
For Android, the ShortcutBuilder allows an icon build create with `Icon#createWithBitmap(Bitmap)` and `Icon#createWithAdaptiveBitmap(Bitmap)`.
https://developer.android.com/reference/android/content/pm/ShortcutInfo.Builder#setIcon(android.graphics.drawable.Icon)
I used to do that for pinned shortcut with the Android SDK, with a blob from a sqlite database :
```java
if (ShortcutManagerCompat.isRequestPinShortcutSupported(requireContext())) {
Intent shortcutIntent = new Intent(getActivity(), ShortcutActivity.class);
shortcutIntent.setAction(Intent.ACTION_DEFAULT);
shortcutIntent.putExtra(ShortcutActivity.EXTRA_BOOKMARK_IDENTIFIER, cursor.getString(cursor.getColumnIndex(TableBookmarks.IDENTIFIER)));
shortcutIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, cursor.getString(cursor.getColumnIndex(TableBookmarks.NAME)));
ShortcutInfoCompat.Builder pinShortcutInfoBuilder = new ShortcutInfoCompat.Builder(requireContext(), "shortcut-" + cursor.getInt(cursor.getColumnIndex(TableBookmarks.ID)))
.setShortLabel(cursor.getString(cursor.getColumnIndex(TableBookmarks.NAME)))
.setIntent(shortcutIntent);
byte[] drawableBlob = cursor.getBlob(cursor.getColumnIndex(TableBookmarks.ICON));
if(drawableBlob != null && drawableBlob.length > 0) {
pinShortcutInfoBuilder.setIcon(IconCompat.createWithBitmap(BitmapFactory.decodeByteArray(drawableBlob, 0, drawableBlob.length)));
} else {
pinShortcutInfoBuilder.setIcon(IconCompat.createWithResource(requireContext(), R.drawable.ic_star));
}
ShortcutManagerCompat.requestPinShortcut(requireContext(), pinShortcutInfoBuilder.build(), null);
Toast.makeText(getActivity(), R.string.shortcut_created, Toast.LENGTH_SHORT).show();
}
```
I didn't check for iOs.
|
c: new feature,customer: google,p: quick_actions,package,c: proposal,team-ecosystem,P3,triaged-ecosystem
|
low
|
Minor
|
647,231,869 |
PowerToys
|
EXIF / metadata data tool (single / batch)
|
By right clicking on an image, a new menu item 'EXIF Remover' would be useful.
This new feature would help to remove EXIF information such as GPS location etc.
Very useful paired with 'Image Resizer'!
Thanks!
|
Idea-New PowerToy
|
low
|
Major
|
647,248,912 |
TypeScript
|
Enable "useDefineForClassFields" in tsc --init
|
## Search Terms
useDefineForClassFields, tsc --init, tsconfig
## Suggestion
`tsc --init`'s generated `tsconfig.json` should include `"useDefineForClassFields": true`
## Use Cases
[All major web and non-web engines now ship Define-style semantics.](https://github.com/tc39/proposal-class-fields#implementations)
So the safest approach is to ensure new TypeScript projects use standard web-compatible behavior.
## Examples
It looks like we just need to add one line [here](https://github.com/microsoft/TypeScript/blob/master/src/compiler/commandLineParser.ts#L1119). I am happy to send a PR.
## 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,In Discussion
|
low
|
Minor
|
647,258,817 |
flutter
|
ReorderableListView filled with textfield and iconButton is unable to select item for rearranging
|
I wanted to create a reorderablelistview with textfields and a menu button (demo below).
However, I can't get the moving part to work. Using Textfields defaults to getting a popupmenu on longpress, similar with the button. Is there a way to circumvent that?
Steps to reproduce:
1. Demo:
```
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Welcome',
home: ReorderableListDemo(),
);
}
}
class ReorderableListDemo extends StatefulWidget {
@override
_ReorderableListDemo createState() => _ReorderableListDemo();
}
class _ReorderableListDemo extends State<ReorderableListDemo> {
List<String> tasks = [
'One',
'Tow',
'Or More',
];
ScrollController _scrollController;
@override
void initState() {
_scrollController = ScrollController();
super.initState();
}
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.fromLTRB(8, 60, 8, 0.0),
child: ReorderableListView(
scrollController: _scrollController,
onReorder: (oldIndex, newIndex) => {
setState(
() {
if (newIndex > oldIndex) {
newIndex -= 1;
}
final String item = tasks.removeAt(oldIndex);
tasks.insert(newIndex, item);
},
),
},
scrollDirection: Axis.vertical,
padding: const EdgeInsets.fromLTRB(8.0, 0, 0, 0),
children: List.generate(
tasks.length,
(index) {
return Card(
key: Key(tasks[index]),
child: Row(
children: [
Expanded(
flex: 15,
child: GestureDetector(
onDoubleTap: () {
// do something
},
child: TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: 'Enter a new task'),
style: TextStyle(
fontWeight: FontWeight.w900,
fontSize: 26,
fontFamily: 'DancingScript',
decorationThickness: 2,
),
),
),
),
Container(
width: 30,
child: Center(
child: GestureDetector(
onTapDown: (TapDownDetails details) {
_showPopupMenu(details.globalPosition);
},
child: IconButton(
icon: Icon(Icons.more_vert),
),
),
),
),
],
),
);
},
)),
);
}
_showPopupMenu(Offset position) async {
print(position.dx);
await showMenu(
context: context,
position: RelativeRect.fromLTRB(position.dx, position.dy, 100000, 0),
items: [
PopupMenuItem(child: Text('hallo')),
]);
}
}
```
2. Try moving an item.
|
framework,f: material design,a: quality,f: gestures,has reproducible steps,P2,found in release: 3.0,found in release: 3.1,team-design,triaged-design
|
low
|
Major
|
647,269,235 |
kubernetes
|
e2e conformance tests doesn`t cleanup psp and clusterRole 'e2e-test-privileged-psp'
|
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
If the matter is security related, please disclose it privately via https://kubernetes.io/security/
-->
**What happened**:
I executed all e2e tests named `[Conformance]`, they ran successfully. After the tests were ran, a psp `e2e-test-privileged-psp` and a clusterRole `e2e-test-privileged-psp` were left in the cluster.
**What you expected to happen**:
the conformance tests will clean up properly
**How to reproduce it (as minimally and precisely as possible)**:
run all tests named with `[Conformance]` and check the cluster afterwards with:
kubectl get psp e2e-test-privileged-psp
kubectl get clusterrole e2e-test-privileged-psp
**Anything else we need to know?**:
**Environment**:
- Kubernetes version (use `kubectl version`): v1.18.4
- Cloud provider or hardware configuration: VIO
- OS (e.g: `cat /etc/os-release`): Ubuntu 19.10
- Kernel (e.g. `uname -a`): 5.3.0-46-generic
- Install tools:
- Network plugin and version (if this is a network-related bug):
- Others:
[Conformance] matched 261 tests from the suite in my case:
`
[2020-06-29T09:54:33.882Z] Ran 261 of 4992 Specs in 792.462 seconds
`
`
[2020-06-29T09:54:33.882Z] SUCCESS! -- 261 Passed | 0 Failed | 0 Pending | 4731 Skipped
`
|
kind/bug,help wanted,sig/testing,area/conformance,lifecycle/frozen,needs-triage
|
medium
|
Critical
|
647,269,868 |
godot
|
Armature transforms break root motion
|
<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->
**Godot version:**
3.2.2
<!-- Specify commit hash if using non-official build. -->
**OS/device including version:**
Windows 10, GLES3
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
**Issue description:**
When exporting models from Blender that include root motion, often the root motion only works with specific export formats, presumably depending on the armature orientation. I have a model that only works with FBX export (but unfortunately has glitches when using FBX) and doesn't work with Collada or gltf, where as models from Mixamo work using Collada, but exhibit the same issue as my problem model when exported as FBX. The animations always display correctly, so I presume that the root motion calculations are missing a transform somewhere? I would expect root motion to always work if the visualisation of the bone displays correctly (which it does).
**Steps to reproduce:**
Export a model with an armature that has a root motion bone and animations that rely on it, using BetterCollada and Blender's native FBX export. Import in Godot and add an AnimationTree and RootMotionView with the correct parameters. Play an animation via the AnimationTree that relies on root motion and inspect the RootMotionView visualisation. With default settings, likelihood is that root motion will only work on one of these exports. FBX export gives you the option to change the primary and secondary bone axis, but no such option exists with BetterCollada or Blender's gltf export (which functionally acts the same as BetterCollada).
**Minimal reproduction project:**
This minimal reproduction project uses a model from Mixamo. In this situation, the model renders correctly in either format so there's an easy work-around, but in my actual situation, the model (which I can't distribute) exhibits artifacts when exported as FBX, but root motion only works with FBX.
[Root motion bug.zip](https://github.com/godotengine/godot/files/4844949/Root.motion.bug.zip)
|
bug,topic:animation,topic:3d
|
low
|
Critical
|
647,287,007 |
TypeScript
|
Cannot use Array.prototype.push.apply with NodeList, even though it works properly in all browsers.
|
**TypeScript Version:** 3.9.x-dev.20200627
**Search Terms:**
strictBindCallApply NodeList
**Code**
```ts
const bodyChildren = document.body.childNodes;
const arr: Node[] = [];
arr.push.apply(arr, bodyChildren);
```
**Expected behavior:**
Doesn't throw errors.
**Actual behavior:**
Throws errors on line 3: Argument of type 'NodeListOf<ChildNode>' is not assignable to parameter of type 'Node[]'.
Type 'NodeListOf<ChildNode>' is missing the following properties from type 'Node[]': pop, push, concat, join, and 19 more.
**Playground Link:**
[Playground Link](https://www.typescriptlang.org/play?ts=4.0.0-dev.20200627#code/MYewdgzgLgBARiAJgTwMIAsCWAbRAnAUzBgF4ZERgBXAWyKgDoEUHgtcA5JAiAbgFgAUKEiwAhnjwAuGF0QEA2gF1SMZQMES8DAA5UI6BmJ07syABRaANPCRp2+IgEpeQA)
**Related Issues:**
Couldn't find any.
|
Bug
|
low
|
Critical
|
647,309,204 |
pytorch
|
Trace model with floor, Inconsistent performance
|
## 🐛 Bug
Traced model perform Inconsistent when floor
## To Reproduce
Steps to reproduce the behavior:
1. I have a separate file, you can run it in torch env:
```
import os
import numpy as np
np.random.seed(0)
import torch
import torch.nn as nn
torch.manual_seed(100)
torch.backends.cudnn.benchmark = False
import time
class Network(nn.Module):
def __init__(self):
super(Network, self).__init__()
def cart2polar(self, input_xyz):
rho = torch.sqrt(input_xyz[:,0]**2 + input_xyz[:,1]**2)
phi = torch.atan2(input_xyz[:,1], input_xyz[:,0])
out = torch.cat((rho.reshape(-1,1) ,phi.reshape(-1,1), input_xyz[:,2:]), dim=1)
return out
def forward(self, data):
pc = data[0]
pc = cart2polar(pc)
idx = ((pc[:, 0] - 0) / (50 - 0) * (288+0.0))
idx_ = idx.floor()
print('idx', idx.tolist())
return idx_
if __name__ == "__main__":
model = Network()
model = model.cuda()
model.eval()
# get data
scan = torch.tensor([[[46.80095291137695, -16.5851993560791, 1.2298789024353027, 6.0],
[37.45176696777344, -41.502838134765625, -0.37045028805732727, 20.0]]]).cuda()
print('scan', scan.shape)
with torch.onnx.set_training(model, False):
traced_script_module = torch.jit.trace(model, example_inputs=(scan))
print("Tracing model && data done!")
test_times = 10
print('testing', test_times, 'times -------------------------')
with torch.no_grad():
for i in range(test_times):
print('test', i)
print('scan', scan.tolist())
score = model(scan)
traced_score = traced_script_module(scan)
out = torch.allclose(score, traced_score, rtol=1e-05, atol=1e-05, equal_nan=False)
print('is equal', out)
print("Test Trace Done!")
```
I remove the `floor` in the network and results become right.
It seems that the boundary value (20.9999999999999 as an example), will be 20 by floor but 21 in traced model.
## Expected behavior
The data should have the same results.
## Environment
```
PyTorch version: 1.2.0
Is debug build: No
CUDA used to build PyTorch: 10.0.130
OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: version 3.17.3
Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: 10.0.130
GPU models and configuration:
GPU 0: GeForce RTX 2080 Ti
GPU 1: GeForce RTX 2080 Ti
Nvidia driver version: 440.100
cuDNN version: Could not collect
Versions of relevant libraries:
[pip] numpy==1.18.1
[pip] torch==1.2.0
[pip] torch-scatter==1.3.1
[pip] torchvision==0.4.0a0+6b959ee
[conda] _pytorch_select 0.2 gpu_0 defaults
[conda] blas 1.0 mkl defaults
[conda] cudatoolkit 10.0.130 0 defaults
[conda] mkl 2020.1 217 defaults
[conda] mkl-service 2.3.0 py36he904b0f_0 defaults
[conda] mkl_fft 1.0.15 py36ha843d7b_0 defaults
[conda] mkl_random 1.1.0 py36hd6b4f25_0 defaults
[conda] numpy 1.18.1 py36h4f9e942_0 defaults
[conda] numpy-base 1.18.1 py36hde5b4d6_1 defaults
[conda] pytorch 1.2.0 py3.6_cuda10.0.130_cudnn7.6.2_0 pytorch
[conda] torch-scatter 1.3.1 <pip>
[conda] torchvision 0.4.0 py36_cu100 pytorch
```
cc @suo @gmagogsfm
|
oncall: jit,days
|
low
|
Critical
|
647,331,084 |
ant-design
|
back-top 支持 portals 功能(already submit pr)
|
- [ ] 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?
解决了 back-top 在 父组件中有 `transform` 不为 `none` 的情况下 `position: fixed;` 失效问题
例如 最外层 有 layout 过渡动画组件包裹的情况下会失效
当然也可以 在使用 back-top 的时候 使用 portals 插槽,最好支持 portals 比较优雅
### What does the proposed API look like?
增加 `portalsPath ` 参数
此功能 自带 pr ⬇️
<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
|
Inactive
|
low
|
Minor
|
647,338,851 |
flutter
|
Time picker UI can be unusable in split-screen mode
|
From downstream: https://github.com/jifalops/datetime_picker_formfield/issues/96

Will add `flutter doctor -v` when I have it.
|
platform-android,framework,f: material design,a: quality,has reproducible steps,P2,found in release: 2.10,found in release: 2.13,team-android,triaged-android
|
low
|
Major
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.