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 |
---|---|---|---|---|---|---|
584,904,620 |
node
|
Inspector pause at beginning of recently parsed function will crash
|
This is a bug upstream which started once we landed V8 8.1. Opening this issue to keep track of the upstream bug, so we remember to backport once it's fixed.
The bug is unlikely to affect users unless they are using the Inspector protocol to automatically pause a script. The bug happens when the inspector pauses right before a function parsed and compiled with CompileFuncionInContext (and potentially through other means) runs. We have two flaky tests because of this bug.
V8 minimal repro: https://chromium-review.googlesource.com/c/v8/v8/+/2080072
Upstream bug: https://bugs.chromium.org/p/v8/issues/detail?id=10287
First V8 commit with the issue (found with git bisect): https://chromium-review.googlesource.com/c/v8/v8/+/1903440
|
v8 engine,inspector
|
low
|
Critical
|
584,916,953 |
pytorch
|
tensorboard add_graph 's "operator_export_type"
|
## tensorboard add_graph 's "operator_export_type"
`torch.utils.tensorboard add_graph` have "operator_export_type"(kwargs) in torch 1.1
but now we can not use this kwargs in torch 1.2 and later? (or similar kwargs)
The remove is from https://github.com/pytorch/pytorch/pull/23000
With "operator_export_type", we can draw ellegant graph, and this is very helpful for model visualization.
@orionr Do you have plan to bring this kwarg back?
before (torch 1.1)

now (torch 1.4)

|
module: tensorboard,oncall: visualization
|
low
|
Minor
|
584,949,537 |
pytorch
|
undefined symbols when using libtorch and ITK
|
I build pytorch and libtorch from source(ubuntu18.04, anaconda, pytorch1.2.0, cuda9.2,ITK5.0,gcc7.5).
```
-- Caffe2: CUDA detected: 9.2
-- Caffe2: CUDA nvcc is: /usr/local/cuda-9.2/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda-9.2
-- Caffe2: Header version is: 9.2
-- Found cuDNN: v7.6.3 (include: /usr/local/cuda-9.2/include, library: /usr/local/cuda-9.2/lib64/libcudnn.so)
-- Autodetected CUDA architecture(s): 7.5 7.5
-- Added CUDA NVCC flags for: -gencode;arch=compute_75,code=sm_75
-- Configuring done
-- Generating done
-- Build files have been written to: /home/luqian/work/lib_test/model/bin
```
when using ITK and libtorch sperately, the cmake project can be great .But when linking libtorch and ITK together, I got lot of errors of "undefined symbols".
The ITK and Iibtorch are both installed from source.
```
[ 50%] Building CXX object CMakeFiles/ImageReadWrite.dir/predict.cpp.o
[100%] Linking CXX executable ImageReadWrite
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::MemoryAllocationError::MemoryAllocationError(std::string const&, unsigned int, std::string const&, std::string const&)’中:
predict.cpp:(.text._ZN3itk21MemoryAllocationErrorC2ERKSsjS2_S2_[_ZN3itk21MemoryAllocationErrorC5ERKSsjS2_S2_]+0x35):对‘itk::ExceptionObject::ExceptionObject(std::string const&, unsigned int, std::string const&, std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::ImageFileReader<itk::Image<float, 3u>, itk::DefaultConvertPixelTraits<float> >::SetFileName(std::string const&)’中:
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE11SetFileNameERKSs[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE11SetFileNameERKSs]+0x52):对‘itk::ProcessObject::GetInput(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::ImageFileReader<itk::Image<float, 3u>, itk::DefaultConvertPixelTraits<float> >::SetFileNameInput(itk::SimpleDataObjectDecorator<std::string> const*)’中:
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE16SetFileNameInputEPKNS_25SimpleDataObjectDecoratorISsEE[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE16SetFileNameInputEPKNS_25SimpleDataObjectDecoratorISsEE]+0x52):对‘itk::ProcessObject::GetInput(std::string const&)’未定义的引用
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE16SetFileNameInputEPKNS_25SimpleDataObjectDecoratorISsEE[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE16SetFileNameInputEPKNS_25SimpleDataObjectDecoratorISsEE]+0xbb):对‘itk::ProcessObject::SetInput(std::string const&, itk::DataObject*)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE[_ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE]+0x178):对‘itk::ProcessObject::SetInput(std::string const&, itk::DataObject*)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE[_ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE]+0x1b0):对‘itk::ProcessObject::RemoveInput(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE[_ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE]+0x1c0):对‘itk::ProcessObject::SetPrimaryInputName(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE[_ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE]+0x1e8):对‘itk::ProcessObject::SetPrimaryOutputName(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE[_ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE]+0x1f8):对‘itk::ProcessObject::SetOutput(std::string const&, itk::DataObject*)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE[_ZTVN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEEE]+0x200):对‘itk::ProcessObject::RemoveOutput(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE[_ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE]+0x178):对‘itk::ProcessObject::SetInput(std::string const&, itk::DataObject*)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE[_ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE]+0x1b0):对‘itk::ProcessObject::RemoveInput(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE[_ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE]+0x1c0):对‘itk::ProcessObject::SetPrimaryInputName(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE[_ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE]+0x1e8):对‘itk::ProcessObject::SetPrimaryOutputName(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE[_ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE]+0x1f8):对‘itk::ProcessObject::SetOutput(std::string const&, itk::DataObject*)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:(.data.rel.ro._ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE[_ZTVN3itk11ImageSourceINS_5ImageIfLj3EEEEE]+0x200):对‘itk::ProcessObject::RemoveOutput(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::ImageFileReader<itk::Image<float, 3u>, itk::DefaultConvertPixelTraits<float> >::GenerateOutputInformation()’中:
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE25GenerateOutputInformationEv[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE25GenerateOutputInformationEv]+0x251):对‘itk::ObjectFactoryBase::CreateAllInstance(char const*)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::ImageSource<itk::Image<float, 3u> >::GraftOutput(std::string const&, itk::DataObject*)’中:
predict.cpp:(.text._ZN3itk11ImageSourceINS_5ImageIfLj3EEEE11GraftOutputERKSsPNS_10DataObjectE[_ZN3itk11ImageSourceINS_5ImageIfLj3EEEE11GraftOutputERKSsPNS_10DataObjectE]+0x181):对‘itk::ProcessObject::GetOutput(std::string const&)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::ImageSource<itk::Image<float, 3u> >::GraftNthOutput(unsigned int, itk::DataObject*)’中:
predict.cpp:(.text._ZN3itk11ImageSourceINS_5ImageIfLj3EEEE14GraftNthOutputEjPNS_10DataObjectE[_ZN3itk11ImageSourceINS_5ImageIfLj3EEEE14GraftNthOutputEjPNS_10DataObjectE]+0x1fc):对‘itk::ProcessObject::MakeNameFromOutputIndex(unsigned long) const’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::ImageFileReader<itk::Image<float, 3u>, itk::DefaultConvertPixelTraits<float> >::GetFileNameInput() const’中:
predict.cpp:(.text._ZNK3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE16GetFileNameInputEv[_ZNK3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE16GetFileNameInputEv]+0x4e):对‘itk::ProcessObject::GetInput(std::string const&) const’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::ImageFileReader<itk::Image<float, 3u>, itk::DefaultConvertPixelTraits<float> >::GetFileName() const’中:
predict.cpp:(.text._ZNK3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE11GetFileNameEv[_ZNK3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE11GetFileNameEv]+0x63):对‘itk::ProcessObject::GetInput(std::string const&) const’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:在函数‘itk::ImageFileReader<itk::Image<float, 3u>, itk::DefaultConvertPixelTraits<float> >::DoConvertBuffer(void*, unsigned long)’中:
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm]+0xb73):对‘itk::ImageIOBase::GetComponentTypeAsString(itk::ImageIOBase::IOComponentType)’未定义的引用
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm]+0xbf9):对‘itk::ImageIOBase::GetComponentTypeAsString(itk::ImageIOBase::IOComponentType)’未定义的引用
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm]+0xc5b):对‘itk::ImageIOBase::GetComponentTypeAsString(itk::ImageIOBase::IOComponentType)’未定义的引用
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm]+0xcbd):对‘itk::ImageIOBase::GetComponentTypeAsString(itk::ImageIOBase::IOComponentType)’未定义的引用
predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm]+0xd1f):对‘itk::ImageIOBase::GetComponentTypeAsString(itk::ImageIOBase::IOComponentType)’未定义的引用
CMakeFiles/ImageReadWrite.dir/predict.cpp.o:predict.cpp:(.text._ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm[_ZN3itk15ImageFileReaderINS_5ImageIfLj3EEENS_25DefaultConvertPixelTraitsIfEEE15DoConvertBufferEPvm]+0xd81): 跟着更多未定义的参考到 itk::ImageIOBase::GetComponentTypeAsString(itk::ImageIOBase::IOComponentType)
collect2: error: ld returned 1 exit status
CMakeFiles/ImageReadWrite.dir/build.make:262: recipe for target 'ImageReadWrite' failed
make[2]: *** [ImageReadWrite] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/ImageReadWrite.dir/all' failed
make[1]: *** [CMakeFiles/ImageReadWrite.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
```
|
module: build,triaged
|
low
|
Critical
|
584,967,185 |
flutter
|
SizedBox height is ignored when child Image has BoxFit.fill In An AppBar
|
I have wrap image by sizedBox and set height = 1 , also set height of image but image still get max height of appbar
my code
```
AppBar(
title: Text('My Favourite'),
centerTitle: true,
actions: <Widget>[
Padding(
padding: const EdgeInsets.only(right: 8.0),
child: Image.asset(
'assets/images/home_black.png',
height: 25,
width: 25,
fit: BoxFit.fitWidth,
),
),
Padding(
padding: const EdgeInsets.only(right: 8.0),
child: Image.asset(
'assets/images/search_black.png',
height: 25,
width: 25,
fit: BoxFit.fitWidth,
),
),
SizedBox(
height: 1,
width: 25,
child: Image.asset(
'assets/images/user_black.png',
height: 1,
width: 25,
fit: BoxFit.fill,
),
),
],
)
```
<img width="285" alt="Screen Shot 2020-03-20 at 17 12 23" src="https://user-images.githubusercontent.com/52562340/77154345-14068400-6ace-11ea-96c8-7ee062ef45b6.png">
|
framework,f: material design,a: quality,a: images,has reproducible steps,found in release: 3.0,found in release: 3.1,team-design,triaged-design
|
low
|
Minor
|
585,118,643 |
rust
|
rustc --crate-type flag should display valid values
|
Hello,
When we provide wrong value for the `--emit` flag, we will get a list of valid values. This is not the case for `--crate-type` flag, which should also display valid values.
The `--emit` example:
```
$ cargo rustc -- --emit=asd
Compiling tokio v0.2.13 (/host/tokio/tokio)
error: unknown emission type: `asd` - expected one of: `llvm-bc`, `asm`, `llvm-ir`, `mir`, `obj`, `metadata`, `link`, `dep-info`
```
The `--crate-type` example:
```
$ cargo rustc -- --crate-type=dynlib
Compiling tokio v0.2.13 (/host/tokio/tokio)
error: unknown crate type: `dynlib`
error: could not compile `tokio`.
To learn more, run the command again with --verbose.
```
Versions:
```
$ cargo --version
cargo 1.41.0 (626f0f40e 2019-12-03)
r$ rustc --version
rustc 1.41.0 (5e1a79984 2020-01-27)
```
I have also tested this on rustc 1.42.0 and it is the same.
|
E-easy,A-diagnostics,T-compiler,D-papercut,A-CLI
|
low
|
Critical
|
585,137,173 |
rust
|
Consider adding #[must_use] to std::process::Child
|
I fixed a bug that was caused by not calling `.wait()` on a `std::process::Child`. See [the issue](https://github.com/denisidoro/navi/issues/267) for the details. I'm not exactly sure how the bug manifested itself, but I noticed that not waiting for the child process whose stdin or stdout is inherited from the parent process can lead to weird behavior.
That's why I suggest to add `#[must_use = "this Child may still be attached to its parent process's stdin/stdout and must be handled"]` to `std::process::Child`. Currently I can't think of a reason why someone would not use a `Child` and that's I think the compiler warnings on that will prevent more headaches than they will cause.
|
C-enhancement,T-libs-api,A-process
|
low
|
Critical
|
585,143,894 |
flutter
|
EditableText does not respect TextCapitalization when value is pasted from clipboard
|
<!-- Thank you for using Flutter!
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
* https://flutter.dev/
* https://api.flutter.dev/
* https://stackoverflow.com/questions/tagged/flutter?sort=frequent
If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->
## Steps to Reproduce
<!-- You must include full steps to reproduce so that we can reproduce the problem. -->
1. use EditableText with textCapitalization set to TextCapitalization.characters
2. copy lowercase text to the clipboard
3. paste into the text field
**Expected results:** <!-- what did you want to see? -->
uppercase text
**Actual results:** <!-- what did you see? -->
text is the same case as it was copied
<details>
<summary>Logs</summary>
<!--
Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.
-->
```
[+14638 ms] [DEVICE LOG] 2020-03-20 08:18:38.183064-0700 localhost Runner[68969]: (ManagedConfiguration) [com.apple.ManagedConfiguration:MC] Got system group container path from MCM for systemgroup.com.apple.configurationprofiles:
/Users/lanmonw/Library/Developer/CoreSimulator/Devices/F4578935-2A8B-4263-8D83-46891CD576E6/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
[ +27 ms] [DEVICE LOG] 2020-03-20 08:18:38.209139-0700 localhost Runner[68969]: (AggregateDictionary) AggregateDictionary is not supported on this platform
[ +51 ms] [DEVICE LOG] 2020-03-20 08:18:38.239617-0700 localhost Runner[68969]: (CoreFoundation) Created Activity ID: 0xbd6bb6, Description: Updating Key-Value Observers Of Preferences
[ ] [DEVICE LOG] 2020-03-20 08:18:38.242673-0700 localhost Runner[68969]: (UIKitCore) [com.apple.UIKit:FeedbackActivation] activate generator with style: TurnOn; activationCount: 0 -> 1; styleActivationCount: 0 -> 1;
<_UIKeyboardFeedbackGenerator: 0x600002931f40>
[ +1 ms] [DEVICE LOG] 2020-03-20 08:18:38.242838-0700 localhost Runner[68969]: (UIKitCore) [com.apple.UIKit:Feedback] activate engine <_UIFeedbackSystemSoundEngine: 0x60000331cee0>, clientCount: 0 -> 1
[ ] [DEVICE LOG] 2020-03-20 08:18:38.242897-0700 localhost Runner[68969]: (UIKitCore) [com.apple.UIKit:Feedback] activating engine <_UIFeedbackSystemSoundEngine: 0x60000331cee0>
[ ] [DEVICE LOG] 2020-03-20 08:18:38.243132-0700 localhost Runner[68969]: (UIKitCore) [com.apple.UIKit:Feedback] engine <_UIFeedbackSystemSoundEngine: 0x60000331cee0: state=3, numberOfClients=1, prewarmCount=0, _internal_isSuspended=0> state
changed: Inactive -> Activating
[ ] [DEVICE LOG] 2020-03-20 08:18:38.243234-0700 localhost Runner[68969]: (UIKitCore) [com.apple.UIKit:Feedback] engine <_UIFeedbackSystemSoundEngine: 0x60000331cee0: state=4, numberOfClients=1, prewarmCount=0, _internal_isSuspended=0> state
changed: Activating -> Running
[ +21 ms] [DEVICE LOG] 2020-03-20 08:18:38.276219-0700 localhost Runner[68969]: (CallKit) [com.apple.calls.callkit:Default] Call host has no calls
[+2199 ms] [DEVICE LOG] 2020-03-20 08:18:40.484509-0700 localhost Runner[68969]: (Foundation) [com.apple.foundation.filecoordination:claims] Read options: 8 -- URL:
file:///Users/lanmonw/Library/Developer/CoreSimulator/Devices/F4578935-2A8B-4263-8D83-46891CD576E6/data/Library/Caches/com.apple.Pasteboard/eb77e5f8f043896faf63b5041f0fbd121db984dd/b16b37243249f2b56ffd164e8365535cc9c15e3a -- purposeID:
A3939EB0-9D69-4B98-A07B-F01FAA5D1649 -- claimID: ED78E9E6-EE94-451B-8CAA-1142D84A0312
[ +10 ms] [DEVICE LOG] 2020-03-20 08:18:40.491606-0700 localhost Runner[68969]: (Foundation) [com.apple.foundation.filecoordination:claims] Claim ED78E9E6-EE94-451B-8CAA-1142D84A0312 granted in client
[ +6 ms] [DEVICE LOG] 2020-03-20 08:18:40.494049-0700 localhost Runner[68969]: (Foundation) [com.apple.foundation.filecoordination:claims] Claim ED78E9E6-EE94-451B-8CAA-1142D84A0312 invoked in client
```
<!--
Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.
-->
```
No issues found! (ran in 3.3s)
```
<!-- Finally, paste the output of running `flutter doctor -v` here. -->
```
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en)
• Flutter version 1.12.13+hotfix.8 at /Users/lanmonw/SDKs/flutter
• Framework revision 0b8abb4724 (5 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
• Android SDK at /Users/lanmonw/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.0
• ANDROID_HOME = /Users/lanmonw/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] IntelliJ IDEA Community Edition (version 2019.1.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
[✓] VS Code (version 1.43.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.8.1
[✓] Connected device (1 available)
• iPhone 11 • F4578935-2A8B-4263-8D83-46891CD576E6 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
• No issues found!
```
</details>
|
a: text input,framework,a: quality,has reproducible steps,P2,found in release: 3.7,found in release: 3.8,team-framework,triaged-framework
|
low
|
Critical
|
585,154,654 |
go
|
x/build/dashboard: atLeastGo1/atMostGo1 helpers handle non-release branches incorrectly
|
As a follow-up to #37953, we can improve the `atLeastGo1` and `atMostGo1` helpers so that they operate closer to what the name suggests, and report only whether the Go version meets a certain number. Right now they report suboptimal results on non-release branches in some situations.
For example, the `master` branch is currently where Go 1.15 is being developed, but `atLeastGo1(goBranch, 16)` reports true. It should be false.
Similarly, `atMostGo1(goBranch, 15)` makes an incorrect assumption that `master` is already greater than 1.15, and reports false. It should be true.
`cmd/coordinator` can look up precise Go release information (via `maintnerClient`), and use it to make a better decision. We'll need to modify the signature of `BuildsRepoPostSubmit` to pass more information to it.
/cc @toothrot @cagedmantis
|
Builders,NeedsInvestigation
|
low
|
Minor
|
585,190,576 |
terminal
|
Ctrl+C should not cancel ReadFile/ReadConsole when the signal is handled and the console is in VT input mode
|
Run this C program on Linux:
```c
#include <signal.h>
#include <unistd.h>
int main()
{
char buf[4096];
signal(SIGINT, SIG_IGN);
write(STDOUT_FILENO, "reading: ", 9);
ssize_t len = read(STDIN_FILENO, buf, sizeof(buf));
write(STDOUT_FILENO, buf, len);
return 0;
}
```
Since `SIGINT` is ignored, what will happen here is that `^C` will be shown in the output (but not passed through to the program since we're not in raw mode), all input on the current line prior to pressing Ctrl+C will be dropped when the current line is submitted (e.g. `aaa^Cbbb` will return `bbb`), and importantly, the `read` system call will not be interrupted.
This differs from the behavior on Windows (see https://github.com/microsoft/terminal/issues/334#issuecomment-601788840) where `ReadFile`/`ReadConsole` will be interrupted by a Ctrl+C even when a handler is set up.
So, I think there is a case to be made here that Ctrl+C on Windows should not interrupt `ReadFile`/`ReadConsole` at all **if** a handler (registered with `SetConsoleCtrlHandler`) has suppressed the signal **and** the input mode has `ENABLE_VIRTUAL_TERMINAL_INPUT` set.
|
Product-Conhost,Area-Server,Issue-Task
|
low
|
Minor
|
585,190,724 |
create-react-app
|
add hot reload modules for templates
|
for example
```js
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
const rootEl = document.getElementById('root')
ReactDOM.render(
<App />,
rootEl
)
if (module.hot) {
module.hot.accept('./App', () => {
const NextApp = require('./App').default
ReactDOM.render(
<NextApp />,
rootEl
)
})
}
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
|
issue: proposal,needs triage
|
low
|
Minor
|
585,205,745 |
godot
|
3d artifact is generated by ProceduralSky (blue circles at the top/bottom)
|
**Godot version:**
3.2.1
**OS/device including version:**
Win10/GTX1060
**Issue description:**
The spatial editor in editor and game modes contains a strange graphical artifact that could not be selected or removed.

**Steps to reproduce:**
Create a simple project - open 3D editor - at the green line you will see it

**Minimal reproduction project:**
[New Game Project.zip](https://github.com/godotengine/godot/files/4360893/New.Game.Project.zip)
|
bug,topic:rendering,confirmed,topic:3d
|
low
|
Major
|
585,230,965 |
three.js
|
Possible improvements to Cascaded Shadow Maps
|
I thought I'd post a couple improvements for CSM I was thinking about in case anyone is interested and wants to pick them up.
- Render all shadow cascades to a single shadow map target to save on shadow map branching and texture uniforms. Reference [here](http://the-witness.net/news/2010/03/graphics-tech-shadow-maps-part-1/) and [here](http://the-witness.net/news/2010/04/graphics-tech-shadow-maps-part-2-save-25-texture-memory-and-possibly-much-more/)
- Add option to provide a scene bounding box or bounding sphere to the CSM object so the shadow render bounds can always encapsulate the scene.
- Remove or rename the `Frustum` class in the `/csm` folder so it won't eventually conflict with `Frustum` in core.
|
Suggestion
|
low
|
Major
|
585,251,427 |
flutter
|
Smoke test new versions of the tool against projects generated by older versions
|
Create a library of default template projects for every release. Create integration tests to detect when tool changes would break on older projects to detect unintended breakages and regressions, to inform project migrations.
Example:
1. Check out 1.7.8+hotfix 4 (July 2019 stable)
2. `flutter create`
3. Check out master
4. `flutter run` against Android and iOS devices and simulators
|
team,tool,P3,team-tool,triaged-tool
|
low
|
Minor
|
585,256,421 |
pytorch
|
zip(list, tuple) throws an non-actionable error message
|
```python
@torch.jit.script
def test_iterable_tree():
t = Tuple[int] = (1)
l: List[int] = [2, 3]
zip(t, l)
```
Error message,
```
Can not iterate over a module list or tuple with a value that does not have a statically determinable length
```
Expected
```
type Tuple with static length and type List without static length can't be put together into zip(...).
```
Need to make error message thrown from `IterableTree::addChild` better, but notice `IterableTree` is used by both `prim::enumerate` and `prim::zip`.
@wanchaol
cc @suo @gmagogsfm
|
oncall: jit,triaged,days,TSRootCause:TypeChecking,TSUsability
|
low
|
Critical
|
585,276,713 |
kubernetes
|
Provide simulation endpoints for local persistent/ephemeral volumes
|
**What would you like to be added**:
The scheduler's [SharedLister](https://github.com/kubernetes/kubernetes/blob/master/pkg/scheduler/listers/listers.go#L49) interface defines APIs to retrieve listers for nodes and pods. The backing implementation used in the scheduler is based on the nodeinfo Snapshot. This scheduler.SharedLister interface is used by all plugins to retrieve and list nodes/pods, the rest of resources are accessed by the framework plugins through the general SharedInformerFactory (like NodeCSI, PVs and PVCs).
Cluster Autoscaler has logic that simulates the scheduling of pods, this logic instantiates a scheduler Framework. The Framework that CA instantiates is configured with a scheduler.SharedLister backed by CA's custom implementation that allows adding "fake" nodes to simulate possible upscale/downscale events. However, since PVs, PVCs and whatnot are listed from SharedInformerFactory, CA can't simulate those resources (e.g., simulate creating a node with local SSD etc.)
What we need is to make storage-related listers available through the scheduler framework's SharedLister interface, in the scheduler those listers will simply be backed by the SharedInformerLister, while CA can implement their own that injects fake resources.
**Why is this needed**:
To enable cluster autoscale to simulate storage-related resources.
/sig scheduling
/assign
|
sig/scheduling,sig/storage,kind/feature,lifecycle/frozen,needs-triage
|
medium
|
Critical
|
585,287,095 |
pytorch
|
JIT does not support class instance attribute type annotation
|
From PEP 526, https://www.python.org/dev/peps/pep-0526/#class-and-instance-variable-annotations.
These 2 use cases are supported in Python3.
```py
@torch.jit.script
class Test:
_ea_centers: List[int] # instance attribute type hint.
def __init__(self):
self.t = []
self.t.append(1)
```
```py
@torch.jit.script
class Test:
def __init__(self):
self.t: List[int] = []
self.t.append(1)
```
Now what is supported is
```py
@torch.jit.script
class Test:
def __init__(self):
self.t = torch.jit.annotate(List[int], [])
self.t.append(1)
```
cc @suo @gmagogsfm
|
oncall: jit,triaged,enhancement,days
|
low
|
Minor
|
585,306,066 |
terminal
|
Duplicating a tab/pane without a valid profile should still duplicate the settings from that tab
|
This is a follow-up from PR #4429, and bug #2455
> I actually don't hate the idea of just duplicating the settings for the existing control. In that scenario, we'd probably just ignore the settings for that profile in the actual file, and just use whatever settings the control currently has. This might require some plumbing, but it's doable.
> Okay this is harder, but maybe not impossible, but probably impossible in v1.
> The `Profile` knows how to build the connection settings, and the `ControlSettings`, etc. However, when the settings reloads like in this bug, we'll remove all the old profiles, and build a new list.
> If we wanted the case 1 behavior, we could wait until the `Profile` is a winrt object, then have each Pane hold a strong ref to the `Profile` that it's hosting. Then it would be trivial to be able to duplicate the settings from it. I believe that work is tracked in #3998.
As of #4429, we'll silently do nothing. We should instead get the `Profile` from the `Pane`/`Tab` that we're duplicating, and use that to build the settings instead.
-------------
note to self: this is the "duplicate the `NewTerminalArgs`, not just the Profile" thread
|
Area-UserInterface,Product-Terminal,Issue-Task,Priority-3
|
low
|
Critical
|
585,315,534 |
opencv
|
opencv 4.2.0 built with contrib 4.2.0
|
Compiling opencv 4.2.0 built with contrib 4.2.0 seems to be the toughest job in the world.
So, can you just share a release of opencv 4.2.0 with contrib 4.2.0? I will be grateful.
|
duplicate,wontfix,category: contrib,category: infrastructure
|
low
|
Minor
|
585,321,812 |
pytorch
|
Customize batch size based on gpu id
|
## 🚀 Feature
Right now after choosing the batch size we cannot choose how many batches each gpu should have...
## Motivation
This is not important when the memory of gpus are the same.
BUT if we have 3 gpus with different memory then it will be really helpful to have the power to choose how many batches to give to each gpu.
## Pitch
e.g. we have 3 GPUs: 1 is 24 GB, and 2 are 11GB. each of 11GB can have a batch of 1.
If we do a batch of 4 and choose GPU 0,1,2 it will show a cuda gpu memmory error because the model can not distribute them selectively. **BUT** if we can tell the model that GPU 0 contains 2 and gpu 1,2 contain 1 batch each the problem is solved.
## Alternatives
Right now we have to change the gather and scatter function manually but it is not easy.
This feature can be so helpful.
|
triaged,enhancement,module: data parallel
|
low
|
Critical
|
585,344,437 |
terminal
|
Device portal in Windows Terminal
|
<!--
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
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
- Windows 10 users currently have the ability to control a device in the **Device Portal** in the **GUI (Graphical User Interface) version**, but not in the **CUI (Character User Interface) / Terminal** version.
- Windows 10 users would be pleased if this feature were also available in the **CUI
(Character User Interface) / Terminal** version.
<!--
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-Extensibility,Product-Terminal
|
low
|
Critical
|
585,355,963 |
TypeScript
|
Iteration using for of does not recognize optional arrays in generic mapped types
|
**TypeScript Version:** 3.8.3
**Search Terms:**
mapped for of array optional undefined generic
**Code**
```ts
type OptionalArrays = {
a: Array<string>|undefined;
b: Array<number>|undefined;
}
function test1<K extends keyof OptionalArrays>(value: OptionalArrays[K]) {
for (const item of (value || [])) {
}
}
function test2(value: Array<string>|Array<number>|undefined) {
for (const item of (value || [])) {
}
}
```
**Expected behavior:**
Both `test1` and `test2` compile.
**Actual behavior:**
`test2` compiles, but `test1` reports `Type 'OptionalArrays[K]' must have a '[Symbol.iterator]()' method that returns an iterator.(2488)`.
**Playground Link:**
https://www.typescriptlang.org/play/#code/C4TwDgpgBA8mwEsD2A7AhgGwIICcdpAGcoBeKAbwFgAoKOqNALil3xAB5DgcEUBzAHwAfAK4oAJhABmvCOIDcNelABGzVgXYoRAWxUQcwsZJko5i6gF8aNKWIDGiVFGAQuARnYBpKBAAerhLEANYQIEhSsPDI6Nh4BIQCABQAbpgiEMxwTrEaRADaXgC6AJQUSvRSSDhQSfaoXFAIrjpQEbVpGBlQQkJQ+aVlVLT01lY21HYojjEubsAATKnpmSzxHFw8-MJ5Wrr6hqIS0rLiQxV0VTV1DcBNLW2Ry13Qvf2D5SN0Y5ZAA
|
Bug
|
low
|
Minor
|
585,358,848 |
pytorch
|
Autograd Engine leaks reentrant threadpool threads on deletion
|
This is not a huge problem in general but we should have a similar mechanism as we do for the device worker threads [here](https://github.com/pytorch/pytorch/blob/12f0052eee599ae85c78ccb22c17ae41cc221ff2/torch/csrc/autograd/engine.cpp#L233-L254) that tries it's best to clean things up when possible.
cc @ezyang @SsnL @albanD @zou3519 @gqchen
|
module: autograd,triaged,better-engineering
|
low
|
Minor
|
585,371,542 |
three.js
|
Layers: Feature request to not render children of non-matching object or mark an object as an endpoint for testing layers
|
## Description of the problem
If I have the following object hierarchy:
```
Scene (layer = default)
- Camera (layer = 0,1)
- Other camera (layer = default)
- Group (layer = default)
- Group (layer = default)
- Group (layer = 1) <-- this object doesn't match "Other camera"
- Object3D (layer = default) <-- but its children will still be rendered
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
...more objects...
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
(default layer, as defined by Three.js = 0)
```
I would expect "Other camera" to render any of the Object3Ds in the non-matching Group. However, unless I specifically set each of them to layer 1, they are still rendered. I would like to be able to mark the layer 1 Group to a endpoint in the layer calculation:
```
default = 0
Scene (layer = default)
- Camera (layer = 0,1)
- Other camera (layer = default)
- Group (layer = default)
- Group (layer = 1, layers.endpoint = true) <-- additional property of Layers called "endpoint"
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
...more objects...
- Object3D (layer = default)
- Object3D (layer = default)
- Object3D (layer = default)
```
As I understand it, this could be easily implemented in the recursive rendering function:
```
function renderObject(object, ..., ignoreLayers) {
if (!object.visible) return;
// Since ignoreLayers means that one of this object's parents
// was both shown and a layer endpoint, it is safe to assume
// this object should be shown too
if (ignoreLayers || object.layers.test(camera.layers)) {
...do the actual rendering...
for (const child of object.children) {
renderObject(child, ..., ignoreLayers || object.layers.endpoint)
}
}
}
```
This solution is very flexible. If the user doesn't set `Layers.endpoint`, child objects of a non-matching parent will still be rendered. However, this solution allows for layers to be managed at an arbitrarily high level. This is great for object oriented purposes, since before the change, the following hierarchy would be problematic
```javascript
// Tools.js
import Hammer from './Hammer.js';
import Shovel from './Shovel.js'
class Tools extends THREE.Group {
constructor() {
super();
this.layers.set(1);
// This would be rendered by a camera set to layer 0 only :(
this.hammer = new Hammer();
this.shovel = new Shovel();
}
}
// Hammer.js
class Hammer extends THREE.Mesh {
constructor() {
// Load complex GLTF model with many individual objects for each part and each material
super(geo, mat)
this.add(other part of mesh) // Each of these would have to have its layers set separately
this.add(other part of mesh)
this.add(other part of mesh)
}
}
// Shovel.js
class Shovel extends THREE.Mesh {
constructor() {
// Load complex GLTF model with many individual objects for each part and each material
super(geo, mat)
this.add(other part of mesh) // Each of these would have to have its layers set separately
this.add(other part of mesh)
this.add(other part of mesh)
}
}
```
It is not reasonable to expect the user to traverse through each child object of the Hammer, Shovel, and all other child classes, setting each `Layers` to a specific value when it could be done at a high level:
```javascript
// Tools.js
import Hammer from './Hammer.js';
import Shovel from './Shovel.js'
class Tools THREE.Group {
constructor() {
super();
this.layers.set(_LAYER);
this.layers.endpoint = true;
// This would **not** be rendered by a camera set to layer 0 only :)
this.hammer = new Hammer();
this.shovel = new Shovel();
}
static get layer() {
return _LAYER; // Cameras can use this.layer.enable(tools.layer) to show all tools
}
}
const _LAYER = 1;
// Hammer.js and Shovel.js don't need to know what layer was assigned in Tools.js. It would be hard for them to know even if they wanted to, because importing Tools.js would create a circular reference.
```
To explain for clarity, the `Renderer` would see the `endpoint` set to `true` and then use the `ToolBelt`'s layers object for all of its children
## Other solution
Make `Layers` behave like `object.visible` does. If a parent's layers don't match, don't render its children. This is simple but less flexible.
## Other other solution
`THREE.Object3D.layers` works differently than `THREE.Group.layers`. Children of a `THREE.Group` would not be rendered if the group's layer didn't match whereas children of a `THREE.Object3D` (or `THREE.Mesh`, etc.) would have their own layers tested.
## Note
I'm not 100% sure if the word `Layers.endpoint` is the best property name. Here are some other ideas:
- `Layers.isEndpoint` (Boolean)
- `Layers.final` (Boolean)
- `Layers.override` (Boolean)
- `Layers.mode` (Constant enum)
- `Layers.grouped` (Boolean)
- `Object3D.renderChildrenIfInvisible` (Boolean, default true)
##### Three.js version
- [ ] Dev
- [x] r114
- [ ] ...
All versions since `Layers` added, all browsers, all OSes.
|
Enhancement
|
low
|
Minor
|
585,427,787 |
create-react-app
|
Docs for how to use the dev proxying feature with the local network feature, if possible
|
### Is your proposal related to a problem?
For my web app I use `http-proxy-middleware` as mentioned in [the CRA docs](https://create-react-app.dev/docs/proxying-api-requests-in-development/) in a `setupProxy.js` file to proxy API requests to a locally running API server like so:
```js
app.use(proxy("/api", { target: "http://localhost:8000/" }));
```
However when running `create-react-app` it also offers that you can access your site on your local network via an IP address, for example to test the experience on a mobile device. This feature doesn't seem to be compatible with the proxying approach as I'm using above, which I think is because that `localhost` URL isn't being rewritten to the IP address either (and i'm not sure if a different port will be forwarded as well).
[Spectrum thread for my use case here](https://spectrum.chat/create-react-app/general/proxying-requests-to-api-over-local-network-on-dev~0d995776-e474-4d7a-a09a-9867c58f40b8).
### Describe the solution you'd like
If this is possible I would love for the proxying docs to explain how to make these two features work together in harmony.
### Describe alternatives you've considered
I tried messing around with settings passed to `http-proxy-middleware`, but I'm having trouble coming up with something that works.
### Additional context
Thanks for the great project and hope this helps in making it even greater!
|
issue: proposal,needs triage
|
low
|
Minor
|
585,432,722 |
pytorch
|
Segfault when using misaligned data pointer (from joblib)
|
## 🐛 Bug
<!-- A clear and concise description of what the bug is. -->
Segmentation fault on read-only numpy array.
Might be related to #33001.
## To Reproduce
Steps to reproduce the behavior:
```py
import torch
import numpy as np
def create_memmap_backed_data(data):
import os.path
import tempfile
import joblib
temp_folder = tempfile.mkdtemp(prefix='testing_')
filename = os.path.join(temp_folder, 'data.pkl')
joblib.dump(data, filename)
return joblib.load(filename, mmap_mode='r')
y = np.random.randn(20, 1)
y = create_memmap_backed_data(y)
y[:, [0]] # works
np.asarray(y)[:, [0]] # works
torch.as_tensor(y)[:, 0] # works
torch.as_tensor(y)[0, [0]] # works
torch.as_tensor(y)[[0], :] # works
torch.as_tensor(y)[:, [0]] # segmentation fault
```
## Expected behavior
<!-- A clear and concise description of what you expected to happen. -->
No segmentation fault
## Environment
```
PyTorch version: 1.2.0
Is debug build: No
CUDA used to build PyTorch: 10.0.130
OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.10.2
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: TITAN X (Pascal)
Nvidia driver version: 410.129
cuDNN version: /usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudnn.so.7
Versions of relevant libraries:
[pip3] numpy==1.16.4
[pip3] torch==1.2.0
[pip3] torchvision==0.3.0
[conda] _pytorch_select 0.2 gpu_0
[conda] blas 1.0 mkl
[conda] mkl 2019.4 243
[conda] mkl-regression 0.1 dev_0 <develop>
[conda] mkl-service 2.3.0 py37he904b0f_0
[conda] mkl_fft 1.0.12 py37ha843d7b_0
[conda] mkl_random 1.0.2 py37hd81dba3_0
[conda] pytorch 1.2.0 cuda100py37h938c94c_0
[conda] torchvision 0.3.0 py37_cu10.0.130_1 pytorch
```
## Additional context
|
module: crash,triaged,module: numpy
|
low
|
Critical
|
585,469,571 |
youtube-dl
|
site add request - nickelodeon.dk
|
## Checklist
- [ x] I'm reporting a new site support request
- [ x] I've verified that I'm running youtube-dl version **2020.03.08**
```
$ youtube-dl --version
2020.03.08
```
- [ x] I've checked that all provided URLs are alive and playable in a browser
- [ x] I've checked that none of provided URLs violate any copyrights
- [ x] I've searched the bugtracker for similar site support requests including closed ones
## Example URLs
https://www.nickelodeon.dk/episodes/pb4q9b/lego-r-city-adventures-buster-shirley-staedare-saeson-1
https://www.nickelodeon.dk/episodes/hsc2x0/lego-r-city-adventures-rovere-og-lover-billen-billy-saeson-1-af-1
https://www.nickelodeon.dk/episodes/08q2ru/lego-r-city-adventures-hele-byens-dormand-vilde-fendrich-saeson-1-af-4
https://www.nickelodeon.dk/episodes/mdpdb8/lego-r-city-adventures-poppy-starr-skumle-ting-saeson-1-af-3
https://www.nickelodeon.dk/episodes/o9zfoh/lego-r-city-adventures-actionjul-forbryderhuler-saeson-1
https://www.nickelodeon.dk/episodes/o27csi/lego-r-city-adventures-lille-carol-sidste-mand-i-lobet-saeson-1-af-1
## Description
I would like to request that www.nickelodeon.dk will be added to youtube-dl
|
site-support-request
|
low
|
Critical
|
585,485,433 |
flutter
|
CurvedGradient non-linear gradient colors
|
## Use case
I would like to render a non-linear gradient of colors in a rectangle.
## Proposal
Support a [Curves](https://api.flutter.dev/flutter/animation/Curves-class.html) parameter to a `CurvedGradient` class, similar to [LinearGradient](https://api.flutter.dev/flutter/painting/LinearGradient-class.html), which will interpolate a non-linear gradient of colors.
|
c: new feature,framework,P3,team-framework,triaged-framework
|
low
|
Major
|
585,501,572 |
flutter
|
Support for HLS on desktop browsers for video_player_web
|
## Use case
I have a HLS stream and I want to built an app which works on both mobile and web.
Currently there is no browser support for HLS on desktop browsers. (Except legacy Edge 🙈)
https://caniuse.com/#feat=http-live-streaming
## Proposal
Is there a possibility to include HLS support as part of the package?
In Javascript https://github.com/video-dev/hls.js/ is used a lot to add the compatibility.
|
c: new feature,platform-web,p: video_player,package,P3,team-web,triaged-web
|
medium
|
Critical
|
585,511,816 |
godot
|
Video doesnt play correctly after export to android
|
**Godot version: Godot 3.2.stable.official**
**OS/device including version: Linux mint export to android**
**Issue description: video player getting slower and slower after export to android**
**Steps to reproduce: create in videoplayer node and export it to android**
**Minimal reproduction project: the video can play correctly like when it play on godot engine simulator**
i cant upload file so i just drop link of my project here
https://drive.google.com/open?id=1MB-qNR-1sActOVr5SzNovXjES96HnQ-v
this is a simple project, it contains just video playing in scene and the button on the center of scene is for reload the current scene
the original Video by Sean JOHNSTON from Pexels
the link contain 2 zip file: project, and the apk.
im not sure what is the problem, i just trying export the video with some custom setting
|
platform:android,topic:core
|
low
|
Major
|
585,521,892 |
rust
|
Idea: guaranteed-zero padding for niches
|
As suggested [here](https://github.com/rust-lang/unsafe-code-guidelines/issues/174#issuecomment-599160855), one option to gain more layout optimizations would be (either for all `repr(Rust)` types or with per-type opt-in) to use a different kind of padding.
Right now, padding bytes may contain arbitrary data, and can be omitted when copying as they are "unstable" in a typed copy. Instead, we could also imagine a kind of padding ("zero-padding") that is *guaranteed to be zero*. This has the disadvantage that padding bytes need to be initialized on struct creation and copied when the struct is copied, but it has the advantage that padding bytes can become "niches" for layout optimizations.
LLVM's padding is of the "unstable" kind, but we could just add explicit fields ourselves (fields that are guaranteed to be zero) when translating zero-padded types to LLVM.
Cc @eddyb
|
C-enhancement,T-compiler,A-layout,C-optimization
|
medium
|
Critical
|
585,527,629 |
flutter
|
shlock .upgrade_lock fails on exFAT file system: shlock not supported
|
On the mac, this problem bothered me for a day, and finally I found that when my hard disk is formatted as exfat, the error occurs when I execute flutter, so I can only format the hard disk to other formats, and by the way Those who run into this issue need to be alert.
|
tool,platform-mac,d: api docs,a: error message,P3,team-tool,triaged-tool
|
low
|
Critical
|
585,529,171 |
flutter
|
[video_player] Allow creating a video player controller from bytes stream (e.g., Uint8List)
|
Can someone play videos from Memory : something Like : `VideoPlayerController.memory(Unit8List)`.
There are already the features `.file()` , `.asset()` , `.network()` . Maybe you can add the `.memory()` constructor .
|
c: new feature,p: video_player,package,c: proposal,team-ecosystem,P3,triaged-ecosystem
|
medium
|
Major
|
585,541,307 |
pytorch
|
Documentation doesn't cover MWE using launch.py script
|
## 📚 Documentation
Documentation related to `torch.nn.parallel.DistributedDataParallel()` don't include any examples of how to properly use it in combination with `launch.py`
The screenshot below from `launch.py` shows one can call their script e.g. `main.py` using `launch.py` but gives no proper example on how to set up `main.py` in order to work correctly with `launch.py`
In order not to repeat myself there's a longer discussion in the [forums](https://discuss.pytorch.org/t/distributed-parallel-one-machine-multi-gpu-multi-process/72177)
Also the claim that in general `torch.nn.parallel.DistributedDataParallel()` is faster than `torch.nn.parallel.DataParallel()`, is not completely true, at least not in my experiments on a single node multi-gpu (i.e. 2 gpus).
This needs verification.
If that's the case then docs should reflect that and state that `DistributedDataParallel` is faster only when you have n-nodes or n-gpus?

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar
|
todo,oncall: distributed,triaged
|
low
|
Minor
|
585,548,312 |
vscode
|
Make extension defined task types work in code-workspace files
|
- VSCode Version: 1.43.1
- OS Version: Windows 10
Steps to Reproduce:
1. Create new workspace
2. Add script in `scripts` of `package.json` as follow: `"buildfordebug": "tsc --project ./tsconfig.json --outDir ./out",`
3. Create default `tsconfig.json`
4. Setup `launch` in `workspace` with following configurations
```
"launch": {
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/index.ts",
"preLaunchTask": "buildfordebug",
"outFiles": ["${workspaceFolder}/out/**/*.js"]
}
]
}
```
5. Setup `tasks` in `workspace` with following configurations
```
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "buildfordebug",
"group": "build",
"type": "npm",
"script": "buildfordebug",
"presentation": {
"reveal": "silent",
"panel": "new"
},
"problemMatcher": ["$tsc"]
}
]
}
```
5. Launch debug by pressing F5
For easy demo, please clone it from [https://github.com/mannok/WorkspaceLaunchTaskDemo](https://github.com/mannok/WorkspaceLaunchTaskDemo)
p.s. 1. Clone it 2. `npm install` 3. Press F5
### **Error is then prompted as: Could not find the task 'buildfordebug'**
<!-- Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes
|
feature-request,tasks
|
low
|
Critical
|
585,553,195 |
flutter
|
After editing TextField, app auto focuses on back button; instead of next available a11y element on iOS
|
See internal b/151685565.
Steps to Reproduce:
- Construct a page with a TextField and a Button
```
const Text('Testing TextField A11y'),
TextField(controller: TextEditingController()),
FilledButton(onPressed: () { },child: const Text('button'),),
```
- Double-Tap TextField to edit it
- Then focus on done key on the keyboard, and double tap
The keyboard will dismiss, then it will focus on the back button by default, not the next button.
|
a: text input,platform-ios,framework,f: material design,a: accessibility,customer: money (g3),has reproducible steps,found in release: 3.7,team-design,triaged-design
|
low
|
Major
|
585,555,731 |
flutter
|
!_dirty exception in widgets/framework.dart
|
Internal bug: b/151816668
```
01-01 01:25:24.911 9424 9424 I launcher: flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
01-01 01:25:24.911 9424 9424 I launcher: flutter: The following assertion was thrown while rebuilding dirty elements:
01-01 01:25:24.911 9424 9424 I launcher: flutter: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 12: '!_dirty': is not
01-01 01:25:24.911 9424 9424 I launcher: flutter: true.
01-01 01:25:24.911 9424 9424 I launcher: flutter:
01-01 01:25:24.911 9424 9424 I launcher: flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
01-01 01:25:24.911 9424 9424 I launcher: flutter: more information in this error message to help you determine and fix the underlying cause.
01-01 01:25:24.911 9424 9424 I launcher: flutter: In either case, please report this assertion by filing a bug on GitHub:
01-01 01:25:24.911 9424 9424 I launcher: flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md
01-01 01:25:24.911 9424 9424 I launcher: flutter:
01-01 01:25:24.911 9424 9424 I launcher: flutter: The relevant error-causing widget was:
01-01 01:25:24.911 9424 9424 I launcher: flutter: AnimatedBuilder <redacted>:44:22
01-01 01:25:24.911 9424 9424 I launcher: flutter:
01-01 01:25:24.911 9424 9424 I launcher: flutter: When the exception was thrown, this was the stack:
01-01 01:25:24.911 9424 9424 I launcher: flutter: #2 Element.rebuild (package:flutter/src/widgets/framework.dart:4224:12)
01-01 01:25:24.911 9424 9424 I launcher: flutter: #3 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2627:33)
01-01 01:25:24.911 9424 9424 I launcher: flutter: #4 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:883:20)
01-01 01:25:24.911 9424 9424 I launcher: flutter: #5 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:283:5)
01-01 01:25:24.911 9424 9424 I launcher: flutter: #6 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1108:15)
01-01 01:25:24.911 9424 9424 I launcher: flutter: #7 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1047:9)
01-01 01:25:24.911 9424 9424 I launcher: flutter: #8 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:963:5)
01-01 01:25:24.911 9424 9424 I launcher: flutter: #12 _invoke (dart:ui/hooks.dart:261:10)
01-01 01:25:24.911 9424 9424 I launcher: flutter: #13 _drawFrame (dart:ui/hooks.dart:219:3)
01-01 01:25:24.911 9424 9424 I launcher: flutter: (elided 5 frames from class _AssertionError and dart:async)
01-01 01:25:24.911 9424 9424 I launcher: flutter:
01-01 01:25:24.911 9424 9424 I launcher: flutter: The element being rebuilt at the time was index 0 of 1:
01-01 01:25:24.911 9424 9424 I launcher: flutter: AnimatedBuilder
01-01 01:25:24.912 9424 9424 I launcher: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
```
|
framework,dependency: dart,customer: dream (g3),a: error message,P2,team-framework,triaged-framework
|
low
|
Critical
|
585,556,698 |
rust
|
Place &str in specific linker sections
|
In the usecase I am working on I want to store the string from `core::any::type_name` in a specific linker section to create an instrumentation tool for Embedded Rust micro controllers.
If the string is placed in `.rodata` it does not affect the tool, but when having only a few kB of memory storing these strings in the actual micro controller is a huge price to pay.
Rather only the generated ELF file, which the host can read, should have this info (i.e. in an `INFO` marked section).
As it is today one can place variables in specific sections as:
```rust
#[link_section = ".my_section"]
static S: u32 = 2;
```
However, this is not possible for `&str`, the following:
```rust
#[link_section = ".my_section"]
static S: &str = "test";
```
Will place the string itself in `.rodata`, while placing the pointer and length in the section `.my_section`.
The recommended solution is to place the string in an array using something similar to the following:
```rust
union Transmute<T: Copy, U: Copy> {
from: T,
to: U,
}
const TN: &'static str = "my string";
#[link_section = ".my_section"]
static S: [u8; TN.as_bytes().len()] = unsafe {
*Transmute::<*const [u8; TN.as_bytes().len()], &[u8; TN.as_bytes().len()]> {
from: TN.as_ptr() as *const [u8; TN.as_bytes().len()],
}
.to
};
```
However this does not work on strings given from (non-const-fn) functions such as `core::any::type_name`, and the function take no arguments so the string must be coming from a literal somewhere.
Is there a way to make the strings from `core::any::type_name` (or similar functions) be placed in a specific linker section?
As the string is being placed in `.rodata` something is controlling this placement, I simply wish to change this.
The method stated above works in nightly, as one can use the `#![feature(const_type_name)]` feature to get the string as a const-fn. However I am unable to reproduce this in any way using stable rust.
Example playground of the nightly version: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=d5f5c7fbe90194640bd1918cc068c2db
|
A-linkage,T-lang,C-feature-request
|
low
|
Critical
|
585,571,312 |
opencv
|
Need both Real & Imaginary values as pairs from getGaborKernel() function
|
##### System information (version)
- OpenCV => 4.2
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2019
##### Detailed description
I am trying to use the Gabor Filter on some images of paper fibres, and ultimately generate a 2 bit gray code, based on the coefficients of the complex number so resulted from the filter. However, the opencv implementation of the Gabor Kernel only returns the real part of the kernel. I know there is a way to get the imaginary part of the kernel by adjusting the value of phi / psi by Pi/2, but that gets rid of the sign of the imaginary values.
Is there any way for the function to return both real and imaginary parts of the kernel? i.e. a complex number for every pixel.
##### Issue submission checklist
- [x] I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution
|
feature,category: imgproc
|
low
|
Minor
|
585,583,655 |
go
|
cmd/go: go get makes too many requests to a Git repository via HTTP
|
<!-- Please answer these questions before submitting your issue. Thanks! -->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.14 linux/amd64
</pre>
### Does this issue reproduce with the latest release?
Not tested.
### What operating system and processor architecture are you using (`go env`)?
<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN="/home/manlio/.local/bin"
GOCACHE="/home/manlio/.cache/go-build"
GOENV="/home/manlio/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE="*.local"
GONOPROXY=""
GONOSUMDB="*.local"
GOOS="linux"
GOPATH="/home/manlio/.local/lib/go:/home/manlio/src/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build504598020=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version go1.14 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.14
uname -sr: Linux 5.5.9-arch1-2
/usr/lib/libc.so.6: GNU C Library (GNU libc) stable release version 2.31.
gdb --version: GNU gdb (GDB) 9.1
</pre></details>
### What did you do?
I have an HTTP server that implements both the *go-get* protocol and the *Git HTTP* protocol, and I noted that, when fetching from the `repo-root` reported after a `go-get=1` request, `go get` makes more than one request to the same endpoint.
Here is a trace from the program, for `go get test.local/simple`:
```
/simple/info/refs?service=git-upload-pack
map[Accept:[*/*] Accept-Encoding:[deflate, gzip] Cache-Control:[no-cache] Pragma:[no-cache] User-Agent:[git/2.25.2]]
/simple/info/refs?service=git-upload-pack
map[Accept:[*/*] Accept-Encoding:[deflate, gzip] Cache-Control:[no-cache] Pragma:[no-cache] User-Agent:[git/2.25.2]]
/simple/git-upload-pack
map[Accept:[application/x-git-upload-pack-result] Accept-Encoding:[deflate, gzip] Content-Length:[192] Content-Type:[application/x-git-upload-pack-request] User-Agent:[git/2.25.2]]
/usr/bin/git-upload-pack --strict --stateless-rpc /home/manlio/src/go/src/test.local/simple/.git: exit status 128: fatal: the remote end hung up unexpectedly
/simple/git-upload-pack
map[Accept:[application/x-git-upload-pack-result] Accept-Encoding:[deflate, gzip] Content-Length:[201] Content-Type:[application/x-git-upload-pack-request] User-Agent:[git/2.25.2]]
```
`GET http://test.local/simple` returns:
```
<html>
<head>
<meta name="go-import"
content="test.local/simple git http://test.local/:git/simple">
</meta>
</head>
</html>
```
`git clone http://test.local/:git/simple` only makes two requests.
It seems that `go get` makes an additional request, cancelling the previous one. Why?
The `simple` module only contains a ` go.mod` file and a `simple.go` source file.
Thanks
|
NeedsInvestigation,modules
|
low
|
Critical
|
585,609,531 |
rust
|
Weird error for mutable references in a loop
|
I tried this code:
```rust
fn noop(v: &mut i32) -> Option<&mut i32> {
Some(v)
}
pub fn f(v: &mut Vec<i32>) -> Option<&mut i32> {
for item in v {
if let Some(res) = noop(item) {
return Some(res);
}
let _ = &*item;
}
None
}
```
I expected to see this happen: code successfully compiles because mutable reference is used only temporarily in an `if` block.
Instead, this happened: Rust fails to compile with an error.
```
error[E0502]: cannot borrow `*item` as immutable because it is also borrowed as mutable
--> <source>:10:17
|
5 | pub fn f(v: &mut Vec<i32>) -> Option<&mut i32> {
| - let's call the lifetime of this reference `'1`
6 | for item in v {
7 | if let Some(res) = noop(item) {
| ---- mutable borrow occurs here
8 | return Some(res);
| --------- returning this value requires that `*item` is borrowed for `'1`
9 | }
10 | let _ = &*item;
| ^^^^^^ immutable borrow occurs here
```
Without `noop` it also fails, although with slightly different error:
```rust
pub fn f(v: &mut Vec<i32>) -> Option<&mut i32> {
for item in v {
if let Some(res) = Some(item) {
return Some(res);
}
let _ = &*item;
}
None
}
```
Error:
```
error[E0382]: borrow of moved value: `item`
--> <source>:6:17
|
2 | for item in v {
| ---- move occurs because `item` has type `&mut i32`, which does not implement the `Copy` trait
3 | if let Some(res) = Some(item) {
| ---- value moved here
...
6 | let _ = &*item;
| ^^^^^^ value borrowed here after move
```
### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->
`rustc --version --verbose`:
```
rustc 1.42.0 (b8cedc004 2020-03-09)
binary: rustc
commit-hash: b8cedc00407a4c56a3bda1ed605c6fc166655447
commit-date: 2020-03-09
host: x86_64-unknown-linux-gnu
release: 1.42.0
LLVM version: 9.0
Compiler returned: 0
```
(although reproduces in all Rust versions I could find)
|
C-enhancement,A-diagnostics,T-compiler,fixed-by-polonius
|
low
|
Critical
|
585,637,224 |
ant-design
|
slider 在ie11 下 iframe 包裹时按住鼠标拖动到iframe外放开鼠标,再移入时还是会触发拖动进度
|
- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.
### Reproduction link
[https://codepen.io/mraiguo/pen/xxGaEVy?editors=0010](https://codepen.io/mraiguo/pen/xxGaEVy?editors=0010)
### Steps to reproduce
1. 按住slider的点拖动
2. 不放开鼠标左键拖动到iframe外,然后放开左键
3. 鼠标移入iframe内刚刚拖动的slider上,发现进度跟着移动了,chrome无此现象
### What is expected?
与chrome表现一致
### What is actually happening?
鼠标在iframe外mouseup,不触发rc-slider内部的onend方法
| Environment | Info |
|---|---|
| antd | 4.0.3 |
| React | react16 |
| System | win10 |
| Browser | ie11 |
<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
|
Internet Explorer,Inactive
|
low
|
Minor
|
585,661,270 |
godot
|
Running the project on a dual monitors incorrectly displays project.
|
**Godot version:** v3.2.1.stable.official
**OS/device including version:** MacOS Catalina 10.15.3
**Issue description:**
The project is not displayed correctly in a multi-monitor setup where the Editor and Project start on different monitors.
I put the following as a debug statement in an element's `_draw` function:
```
print(OS.get_window_size())
```
The project starts on Monitor 1 and the output is:
```
(1600, 1200)
```
<img width="912" alt="Screen Shot 2020-03-22 at 3 15 54 AM" src="https://user-images.githubusercontent.com/171007/77244476-80c37080-6beb-11ea-8e39-5f4dc436d932.png">
Once I drag this window to Monitor 2 the following gets printed:
```
(800, 600)
```

Dragging this same window back to Monitor 1 prints the same as the first time `(1600, 1200)`, but now it displays the control:
<img width="912" alt="Screen Shot 2020-03-22 at 3 18 05 AM" src="https://user-images.githubusercontent.com/171007/77244507-ce3fdd80-6beb-11ea-8ae5-1dd2e6b27a24.png">
**Steps to reproduce:**
Hardware setup:
- Monitor 1: Macbook Pro.
- Monitor 2: External monitor.
1. Start Godot, put it on Monitor 2.
2. Editor -> Settings -> "Run" -> "Window Placement"; set "Screen" as "Monitor 1".
3. Play.
|
bug,platform:macos,topic:porting
|
low
|
Critical
|
585,661,273 |
flutter
|
Way to stop PageStorageKey being shared by nested scrollables
|
<!-- Thank you for using Flutter!
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
* https://flutter.dev/
* https://api.flutter.dev/
* https://stackoverflow.com/questions/tagged/flutter?sort=frequent
If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->
## Use case
### TL;DR
If we add PageStorageKey to a scrollable, say a ListView, in order to preserve its scroll offset, then any scrollable descendant of the ListView under default configuration will end up share the same PageStorageKey, leading to undesired & buggy behavior. We need an easy way to stop the sharing.
### Example use case
The example, which I think is fairly common, is:
1. A vertical ListView whose scroll offset we want to preserve, e.g., when it is under a TabBarView
2. Inside the vertical ListView we have some nested ListView that scroll horizontally, and there is no requirement to preserve their scroll offsets
The following code tries to do this by setting PageStorageKey with the vertical ListView, but has bugs.
```dart
import 'package:flutter/material.dart';
class DemoPage extends StatelessWidget {
final List<Tab> myTabs = <Tab>[
Tab(text: 'LEFT'),
Tab(text: 'RIGHT'),
];
final tabPages = [
ListView(
// Here we set PageStorageKey for the vertical ListView
key: PageStorageKey('left'),
children: List.generate(100, (index) => Column(
children: [
Text('Row $index'),
Container(
height: 100,
width: double.infinity,
child: ListView(
scrollDirection: Axis.horizontal,
children: List.generate(10, (index) =>
Container(
width: 100,
height: 100,
child: Center(child: Text('$index')),
)
),
)
)
]
)),
),
Text(
'This is the right tab',
style: const TextStyle(fontSize: 36),
),
];
@override
Widget build(BuildContext context) {
return DefaultTabController(
length: myTabs.length,
child: Scaffold(
appBar: AppBar(
bottom: TabBar(
tabs: myTabs,
),
),
body: TabBarView(
children: tabPages,
),
),
);
}
}
```
The bug is that every horizontal ListView will end up sharing the same PageStorageKey as the vertical ListView, and overwrite each other's scroll offset. To make it worse, if any scrollable's maximum offset is exceeded, the shared offset value will be adjusted and show up differently during the subsequent restoration.

Note that this is a bug at the application level, whereas at flutter level there is no bug since everything is working as designed. In particular, the documentation of PageStorageOffset says:
> PageStorage is used to save and restore values that can outlive the widget. The values are stored in a per-route Map whose keys are defined by the PageStorageKeys for the widget and its ancestors.
AFAIK the bug could be addressed in application code by:
1. Add correct PageStorageKeys to every horizontal ListView, or
2. Construct each horizontal ListView with a ScrollController that sets keepScrollOffset to false,
Though either solution would need to be applied recursively to ALL scrollable descendants.
Nonetheless, I think it is inconvenient and unintuitive that adding PageStorageKey to an outer-layer scrollable would lead to such "side effects" with default configuration, which requires non-trivial fixes.
<!--
Please tell us the problem you are running into that led to you wanting
a new feature.
Is your feature request related to a problem? Please give a clear and
concise description of what the problem is.
Describe alternative solutions you've considered. Is there a package
on pub.dev/flutter that already solves this?
-->
```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.6)
[!] IntelliJ IDEA Community Edition (version 2019.3)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.43.1)
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)
! Doctor found issues in 2 categories.
```
## Proposal
Make it easy to avoid the sharing behavior. (Sorry I do not have a concrete proposal)
<!--
Briefly but precisely describe what you would like Flutter to be able to do.
Consider attaching images showing what you are imagining.
Does this have to be provided by Flutter directly, or can it be provided
by a package on pub.dev/flutter? If so, maybe consider implementing and
publishing such a package rather than filing a bug.
-->
|
c: new feature,framework,f: scrolling,c: proposal,P3,team-framework,triaged-framework
|
medium
|
Critical
|
585,669,986 |
rust
|
HRTBs: "implementation is not general enough", but it is
|
[Playground link](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=dd8b42df59f46cea2ed646339ad1d024)
```rust
trait MyFn<'a> {}
impl<'a, F> MyFn<'a> for F where
F: FnOnce(&'a i32) -> &'a i32 {}
fn foo<F>(f: F) where F: for<'a> MyFn<'a> {}
// This works:
// fn foo<F>(f: F) where F: for<'a> FnOnce(&'a i32) -> &'a i32 {}
fn main() {
foo(|x: &i32| -> &i32 { x });
}
```
produces:
```
error: implementation of `MyFn` is not general enough
--> src/main.rs:10:5
|
1 | trait MyFn<'a> {}
| ----------------- trait `MyFn` defined here
...
10 | foo(|x: &i32| -> &i32 { x });
| ^^^ implementation of `MyFn` is not general enough
|
= note: `MyFn<'1>` would have to be implemented for the type `[closure@src/main.rs:10:9: 10:32]`, for any lifetime `'1`...
= note: ...but `MyFn<'_>` is actually implemented for the type `[closure@src/main.rs:10:9: 10:32]`, for some specific lifetime `'2`
```
But clearly it actually is implemented for any lifetime.
|
A-lifetimes,A-trait-system,A-closures,T-lang,T-compiler,C-bug,A-higher-ranked
|
high
|
Critical
|
585,673,764 |
pytorch
|
hasSpecialCase INTERNAL ASSERT FAILED: We don't have an op for aten::to but it isn't a special case.
|
## Stack trace
```
RuntimeError: hasSpecialCase INTERNAL ASSERT FAILED at /pytorch/torch/csrc/jit/passes/alias_analysis.cpp:300, please report a bug to PyTorch. We don't have an op for aten::to but it isn't a special case. (analyzeImpl at /pytorch/torch/csrc/jit/passes/alias_analysis.cpp:300)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x33 (0x7f672f887193 in /usr/local/lib/python3.6/dist-packages/torch/lib/libc10.so)
frame #1: <unknown function> + 0x410926b (0x7f6733feb26b in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch.so)
frame #2: <unknown function> + 0x410afc0 (0x7f6733fecfc0 in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch.so)
frame #3: torch::jit::AliasDb::AliasDb(std::shared_ptr<torch::jit::Graph>) + 0x215 (0x7f6733fed265 in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch.so)
frame #4: torch::jit::EliminateDeadCode(std::shared_ptr<torch::jit::Graph> const&, torch::jit::DCESideEffectPolicy) + 0x5e (0x7f673402532e in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch.so)
frame #5: <unknown function> + 0x4157a4b (0x7f6734039a4b in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch.so)
frame #6: torch::jit::FixupTraceScopeBlocks(std::shared_ptr<torch::jit::Graph>&, torch::jit::script::Module*) + 0x38b (0x7f673403ce3b in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch.so)
frame #7: torch::jit::tracer::trace(std::vector<c10::IValue, std::allocator<c10::IValue> >, std::function<std::vector<c10::IValue, std::allocator<c10::IValue> > (std::vector<c10::IValue, std::allocator<c10::IValue> >)> const&, std::function<std::string (at::Tensor const&)>, bool, torch::jit::script::Module*) + 0x5a6 (0x7f67341f9aa6 in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch.so)
frame #8: <unknown function> + 0x758231 (0x7f677b17c231 in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_python.so)
frame #9: <unknown function> + 0x771ab2 (0x7f677b195ab2 in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_python.so)
frame #10: <unknown function> + 0x2961c4 (0x7f677acba1c4 in /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_python.so)
frame #11: _PyCFunction_FastCallDict + 0x35c (0x5674fc in /usr/bin/python3)
frame #12: /usr/bin/python3() [0x50abb3]
frame #13: _PyEval_EvalFrameDefault + 0x449 (0x50c5b9 in /usr/bin/python3)
frame #14: /usr/bin/python3() [0x508245]
frame #15: /usr/bin/python3() [0x50a080]
frame #16: /usr/bin/python3() [0x50aa7d]
frame #17: _PyEval_EvalFrameDefault + 0x449 (0x50c5b9 in /usr/bin/python3)
frame #18: /usr/bin/python3() [0x508245]
frame #19: /usr/bin/python3() [0x50a080]
frame #20: /usr/bin/python3() [0x50aa7d]
frame #21: _PyEval_EvalFrameDefault + 0x449 (0x50c5b9 in /usr/bin/python3)
frame #22: /usr/bin/python3() [0x508245]
frame #23: /usr/bin/python3() [0x50a080]
frame #24: /usr/bin/python3() [0x50aa7d]
frame #25: _PyEval_EvalFrameDefault + 0x449 (0x50c5b9 in /usr/bin/python3)
frame #26: /usr/bin/python3() [0x508245]
frame #27: /usr/bin/python3() [0x50a080]
frame #28: /usr/bin/python3() [0x50aa7d]
frame #29: _PyEval_EvalFrameDefault + 0x449 (0x50c5b9 in /usr/bin/python3)
frame #30: /usr/bin/python3() [0x509d48]
frame #31: /usr/bin/python3() [0x50aa7d]
frame #32: _PyEval_EvalFrameDefault + 0x449 (0x50c5b9 in /usr/bin/python3)
frame #33: /usr/bin/python3() [0x508245]
frame #34: PyEval_EvalCode + 0x23 (0x50b403 in /usr/bin/python3)
frame #35: /usr/bin/python3() [0x635222]
frame #36: PyRun_FileExFlags + 0x97 (0x6352d7 in /usr/bin/python3)
frame #37: PyRun_SimpleFileExFlags + 0x17f (0x638a8f in /usr/bin/python3)
frame #38: Py_Main + 0x591 (0x639631 in /usr/bin/python3)
frame #39: main + 0xe0 (0x4b0f40 in /usr/bin/python3)
frame #40: __libc_start_main + 0xe7 (0x7f6783c12b97 in /lib/x86_64-linux-gnu/libc.so.6)
frame #41: _start + 0x2a (0x5b2fda in /usr/bin/python3)
```
## Expected behavior
<!-- A clear and concise description of what you expected to happen. -->
## Environment
PyTorch version: 1.4.0
Is debug build: No
CUDA used to build PyTorch: 10.1
OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: version 3.10.2
Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: 10.1.168
GPU models and configuration:
GPU 0: GeForce RTX 2080 Ti
GPU 1: GeForce RTX 2080 Ti
GPU 2: GeForce RTX 2080 Ti
GPU 3: GeForce RTX 2080 Ti
Nvidia driver version: 440.59
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.0
Versions of relevant libraries:
[pip3] numpy==1.18.2
[pip3] torch==1.4.0
[pip3] torchvision==0.5.0
[conda] Could not collect
## Additional context
<!-- Add any other context about the problem here. -->
cc @suo
|
oncall: jit,triaged
|
low
|
Critical
|
585,677,011 |
flutter
|
Enable "hot reload" (not just "hot restart") for Flutter Web
|
Latest update: https://github.com/flutter/flutter/issues/53041#issuecomment-1367615679
----
Hello!
Trying the web development currently in beta version. actually quite satisfied as the browser reloads very quick. Only annoying thing is that the hot restart doesn't work properly, imho.
Please check on this.
Best Regards,
Jakob
P.S.: Hope this is enough information - First time opening an issue here :)
# Steps to Reproduce
1. Setup flutter project for web development
2. Run `flutter run -d Chrome`
3. Navigate to a view != main view
4. hot restart (small 'r') without browser refresh (like it should do with capital 'R')
**Expected results:**
Browser should reload, but stay on the same view
**Actual results:**
Browser fully restarts the app --> Again at the main view
|
c: new feature,dependency: dart,t: hot reload,customer: crowd,a: debugging,platform-web,c: proposal,P2,c: parity,customer: chilli,team-web,triaged-web
|
low
|
Critical
|
585,691,615 |
neovim
|
Grid-based UI widgets
|
Per https://github.com/neovim/neovim/pull/11745, we have `nvim_buf_set_extmark` that anchors some decoration to a buffer position.
I propose we extend this functionality to allow interactive extmarks, i.e. UI widgets (or controls).
In order to support flexible UI elements, the following features should be provided:
- Decoupled rendering: the interactive extmark should be rendered by the UI, which could be something else than a few cells in the grid
- Geometry bounds: an UI element may span across multiple lines, but the principle is that it anchors to a rectangular region in a grid. neovim should also send move/resize events to the frontend so that the controls move/resize/clip in sync with buffer scrolling.
- In order to support rich front-end display, an interactive extmark can carry some metadata that acts as the data context of the front-end view.
- Lifetime management: each element should have a unique id (which is already the case for extmarks?), and neovim should notify the frontends when the controls scroll into/out of the view, so that non-displayed ones can be recycled.
- Widget event handling: frontend can send back messages about interaction events.
- View model logic: one can program in vimL or lua as a plugin, to model the behavior for a view model.
This can enhance NeoVim in a few interesting ways, for example, better debugging interface (https://github.com/neovim/neovim/issues/11732)
Also, to honor cursor-centric interaction paradigm, I also recommend having the data context mapped as a hidden buffer object, so that the vim motions done in the data context can be reflected on the view in the frontend. For example, if there's a two-column table:
```
+----------------+------------------+
| [Title 1] | [Input box] |
|----------------+------------------|
| [Title 2] | [||||||--------] |
|----------------+------------------|
| [Title 3] | +--------------+ |
| | | [x] Option 1 | |
| | | [ ] Option 2 | |
| | | [ ] Option 3 | |
| | | [ ] Option 4 | |
| | | [ ] Option 5 | |
| | +--------------+ |
|----------------+------------------|
| [Title 4] | [------|---] 60% |
| | +--------------+ |
| | | Confirm | |
| | +--------------+ |
+----------------+------------------+
```
The data context may be designed as a csv table to correspond to the view:
```csv
Title 1,Input box,
Title 2,30/100,
Title 3,x,Option 1
,,Option 2
,,Option 3
,,Option 4
,,Option 5
Title 4,60/100
,Confirm
```
Because there's one-to-one mapping between the two, the motions done in the data context can also be translated intuitively on where we want to go in the view.
For example:
- when the focus is on "Title 1", key in `2jw` to move focus to "[x] Option 1", and `^]` to activate the "select" event without even needing the frontend to send back a message.
- `/60<CR>10^a` raises the Title 4 slider to 70%
- `/confirm<CR>^]` finds the button and press it.
|
enhancement,ui-extensibility
|
low
|
Critical
|
585,706,642 |
flutter
|
App is crashing (sigterm) where are the logs?
|
I have a fairly mature project that has been running pretty well on flutter, however sometimes the app will just up and crash without error, no logs. Nothing. It just shuts down with the last two lines from the debug log
```
Lost connection to device.
Exited (sigterm)
```
Are there any tools or methods I could use to actually figure out what happened? I can't seem to find any documentation on this.
Also a few other things that tells me it's something to do with Flutter / Dart and not a platform / sdk issue:
* This is happening on Debug and Production (even through the play store or appstore)
* I have managed to cause this on a Samsung Tab A 8 inch, a Lenovo Tab 4 8, an IPod Touch, My own Pixel 3a, and a Nokia 6.1.
I have tried running Dev tools to watch memory usage, and logs from there, but still nothing. My only assumption was an out of memory error or something to do with high memory pressure, but unless the tools are not reporting the correct information, memory is not the problem either.
|
c: crash,platform-android,tool,P2,team-android,triaged-android
|
low
|
Critical
|
585,717,853 |
rust
|
Better diagnostics when calling "ouroboros method"
|
This code gives a somewhat hard to understand error message:
```rust
struct S<'a> {
p: &'a (),
unit: (),
}
impl<'a> S<'a> {
fn ouroboros_me(&'a mut self) {
self.p = &self.unit;
}
}
fn main() {
let unit = ();
let mut s = S { p: &unit, unit: () };
s.ouroboros_me();
s.ouroboros_me();
}
```
```
error[E0499]: cannot borrow `s` as mutable more than once at a time
--> src/main.rs:13:5
|
12 | s.ouroboros_me();
| - first mutable borrow occurs here
13 | s.ouroboros_me();
| ^
| |
| second mutable borrow occurs here
| first borrow later used here
```
The error is correct, as `ouroboros_me` stores a self-reference in `s`, but it also happens when not doing that purely due to the method signature. That's also correct, but users frequently write such a method accidentally and are then left to wonder why the variable stays borrowed for seemingly no reason.
It would be good to give a more targeted explanation as to why the borrow stays active for longer than expected.
|
C-enhancement,A-diagnostics,A-lifetimes,T-compiler,D-confusing
|
low
|
Critical
|
585,725,398 |
go
|
proposal: testing: calculate 'grain' in different way if specifying -benchtime=Nx
|
Benchmarks running with 'RunParallel' calculates the 'grain' value based on the previous iteration number and previous duration, while the value might be fuzzy if -benchtime=Nx is specified since the auto adjustment phase is skipped and the previous iteration number is always 1, resulting in a much smaller 'grain' (most of time it's 1) than normal flow.
```
example 1:
// normal flow
$ go test -run=none -bench=BenchmarkChanNonblocking -count=5 runtime
BenchmarkChanNonblocking-40 1000000000 0.570 ns/op
BenchmarkChanNonblocking-40 1000000000 0.386 ns/op
BenchmarkChanNonblocking-40 1000000000 0.396 ns/op
BenchmarkChanNonblocking-40 1000000000 0.374 ns/op
BenchmarkChanNonblocking-40 1000000000 0.383 ns/op
// running with -benchtime=1000000000x delivers
$ go test -run=none -bench=BenchmarkChanNonblocking -count=5 -benchtime=1000000000x runtime
BenchmarkChanNonblocking-40 1000000000 23.6 ns/op
BenchmarkChanNonblocking-40 1000000000 22.5 ns/op
BenchmarkChanNonblocking-40 1000000000 22.0 ns/op
BenchmarkChanNonblocking-40 1000000000 22.1 ns/op
BenchmarkChanNonblocking-40 1000000000 22.5 ns/op
```
```
example 2:
$ go test -run=none -bench=BenchmarkMatchParallelShared -count=5 regexp
BenchmarkMatchParallelShared-40 77046073 14.4 ns/op
....
$ go test -run=none -bench=BenchmarkMatchParallelShared -count=5 -benchtime=77046073x regexp
BenchmarkMatchParallelShared-40 77046073 75.9 ns/op
....
```
Propose to calculate 'grain' by "b.benchTime.n / numProcs" first if -benchtime=Nx is specified, then continue with the current rounding up.
```
diff --git a/src/testing/benchmark.go b/src/testing/benchmark.go
index 88ba0f0242..d35764b3b9 100644
--- a/src/testing/benchmark.go
+++ b/src/testing/benchmark.go
@@ -735,8 +735,11 @@ func (b *B) RunParallel(body func(*PB)) {
// Calculate grain size as number of iterations that take ~100<C2><B5>s.
// 100<C2><B5>s is enough to amortize the overhead and provide sufficient
// dynamic load balancing.
+ numProcs := b.parallelism * runtime.GOMAXPROCS(0)
grain := uint64(0)
- if b.previousN > 0 && b.previousDuration > 0 {
+ if b.benchTime.n > 0 {
+ grain = uint64(b.benchTime.n / numProcs)
+ } else if b.previousN > 0 && b.previousDuration > 0 {
grain = 1e5 * uint64(b.previousN) / uint64(b.previousDuration)
}
if grain < 1 {
@@ -749,7 +752,6 @@ func (b *B) RunParallel(body func(*PB)) {
}
n := uint64(0)
- numProcs := b.parallelism * runtime.GOMAXPROCS(0)
```
New output with the above change:
```
$ go test -run=none -bench=BenchmarkChanNonblocking -count=5 -benchtime=1000000000x runtime
BenchmarkChanNonblocking-40 1000000000 0.553 ns/op
BenchmarkChanNonblocking-40 1000000000 0.373 ns/op
BenchmarkChanNonblocking-40 1000000000 0.373 ns/op
BenchmarkChanNonblocking-40 1000000000 0.371 ns/op
BenchmarkChanNonblocking-40 1000000000 0.372 ns/op
$ go test -run=none -bench=BenchmarkMatchParallelShared -count=5 -benchtime=77046073x regexp
BenchmarkMatchParallelShared-40 77046073 14.8 ns/op
BenchmarkMatchParallelShared-40 77046073 14.3 ns/op
BenchmarkMatchParallelShared-40 77046073 14.0 ns/op
BenchmarkMatchParallelShared-40 77046073 13.8 ns/op
BenchmarkMatchParallelShared-40 77046073 13.8 ns/op
```
|
Proposal
|
low
|
Minor
|
585,735,198 |
javascript
|
Reconsider capIsNew: false for new-cap
|
With `[email protected]` the code
```js
class Example {}
module.exports = Example();
```
would result in the error:
example.js:2:18: A function with a name starting with an uppercase letter should only be used as a constructor. [Error/new-cap]
As a result of #1090, which set `capIsNew: false` for `new-cap`, this is no longer the case.
https://github.com/airbnb/javascript/issues/1089#issuecomment-249409624 which motivated the change only mentions adding `"capIsNewExceptions": ["Immutable.Map", "Immutable.Set", "Immutable.List"]`. Would it make sense to revert `capIsNew: false` (and perhaps adopt `"capIsNewExceptionPattern": "^Immutable.\\w"` as suggested in #1106) or was there another rationale for setting `capIsNew: false`?
Thanks,
Kevin
|
question
|
low
|
Critical
|
585,737,328 |
TypeScript
|
[Feature] allow use `xxx is Type` with async function
|
<!-- 🚨 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 -->
## Suggestion
<!-- A summary of what you'd like to see added or changed -->
## Use Cases
<!--
What do you want to use this for?
What shortcomings exist with current approaches?
-->
## Examples
```ts
export async function checkIPFS(ipfs): awaited ipfs is IIPFSPromiseApi
{
return true
}
if (await checkIPFS(ipfs))
{
// here will know ipfs is IIPFSPromiseApi
}
```

## Checklist
My suggestion meets these guidelines:
* [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [ ] This wouldn't change the runtime behavior of existing JavaScript code
* [ ] This could be implemented without emitting different JS based on the types of the expressions
* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [ ] 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
|
585,752,564 |
go
|
net: cannot send multicast using ListenPacket("udp4", "") on Windows 10 (1909)
|
<!--
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 go1.14.1 windows/amd64
</pre>
### Does this issue reproduce with the latest release?
Yes, with 1.14 and 1.14.1 ( never tested earlier )
### What operating system and processor architecture are you using (`go env`)?
<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\ADFilimonov\AppData\Local\go-build
set GOENV=C:\Users\ADFilimonov\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\ADFilimonov\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADFILI~1\AppData\Local\Temp\go-build411155850=/tmp/go-build -gno-record-gcc-switches
</pre></details>
### What did you do?
Single file in directory: **mctest_test.go** :
```
package mctest
import (
"net"
"testing"
"time"
)
var (
bulbMulticastAddr *net.UDPAddr = &net.UDPAddr{IP: net.IPv4(239, 255, 255, 250), Port: 1982}
bulbSearchRequest []byte = []byte("M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1982\r\nMAN:\"ssdp:discover\"\r\nST:wifi_bulb\r\n")
bulbSearchConn net.PacketConn = nil
)
func TestMC(t *testing.T) {
testMulticast(5)
}
func testMulticast(timeout int) error {
bulbSearchConn, err := net.ListenPacket("udp4", "")
if err != nil {
return err
}
readDeadlineTime := time.Now().Add(time.Second * time.Duration(timeout))
err = bulbSearchConn.SetReadDeadline(readDeadlineTime)
if err != nil {
return err
}
_, err = bulbSearchConn.WriteTo(bulbSearchRequest, bulbMulticastAddr)
if err != nil {
return err
}
time.Sleep(time.Second * time.Duration(10))
return nil
}
```
1. I run Wireshark on two interfaces ( "Ethernet" and "Adapter for loopback traffic capture" ) with filter `udp port 1982`.
2. I run code
```
CD /D S:\PRJ\doesntmatter\pkg\mctest
go test
```
3. I monitor packets wireshark shows.
### What did you expect to see?
Expected 2 packets with source = "ip-of-my-ethernet", target "mulicast address", one using Ethernet interface and one using loopback interface
### What did you see instead?
Sometimes everything is right ( I see everything as expected ). And sometimes I see
1 packet with source = "127.0.0.1", target "mulicast address", using loopback interface.
I can not determine, what happens with my envinronment to "switch" this behaviour. After system reboot I can see it working and some time after it stops, ot vice-versa.
### SCREENSHOTS
## Wireshark setup

## Wireshark shows OK

## Wireshark shows NOT OK
Sorry I have no screenshot now. It happens periodically each few days. I try add later
**Update**: Added Screenshot

|
OS-Windows,NeedsInvestigation
|
low
|
Critical
|
585,758,602 |
youtube-dl
|
Support for Ekeeda.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.03.08. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.03.08**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones
## Example URLs
<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->
- Playlist: https://ekeeda.com/courseinfo/mumbai-university/mechanical-engineering/sem-iii/strength-of-materials
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
WRITE DESCRIPTION HERE
Educational videos on various engineering subjects. Some of the videos in the playlist are available
for free. In order to get the access to all videos in the playlist the course has to be purchased.
|
site-support-request
|
low
|
Critical
|
585,795,877 |
flutter
|
Suggestion: decouple more widgets from Android/iOS design guidelines
|
## Use case
The number of platforms that Flutter officially targets to a reasonable level of stability has grown beyond just Android and iOS to include the web, Windows, macOS, and Linux. Yet most of the widgets the SDK provides are still tied to the design guidelines/systems of those two mobile OSes. This seriously impacts the out-of-box usability of the widget library for developers who are using Flutter for other platforms/who do not necessarily prioritise mobile.
I think there is a strong case to be made that there are a lot of widgets in `flutter/material` and `flutter/cupertino` that really should be/be based on flexible, extensible widgets in `flutter/widgets` so that developers can take direct advantage of logic that's often hidden away in private classes and hardcoded constants, rather than having to duplicate it.
## Proposal
Much like with the new plugin system, I think it would be a great idea if certain Material/Cupertino widgets were rewritten to decouple the general "behaviour" of the widget from design-specific guidelines (and probably make more use of delegates and painters). A prime candidate would be `Slider` and `CupertinoSlider`, for example.
One set of widgets that I think already does this decently well is the set of `Scrollbar` (from `flutter/material`), `CupertinoScrollbar` (from `flutter/cupertino`) and `ScrollbarPainter` (from `flutter/widgets`). With the latter it is easy to build a custom scrollbar without having to think too much about (or copy the logic of) how a scrollbar should work, _and_ you also have built-in scrollbars that follow Material guidelines or HIG if that's what you want. The only thing I would change about this set is to update the documentation of `ScrollbarPainter` with a minimal example of how to put together a scrollbar with it.
|
c: new feature,framework,f: material design,f: cupertino,c: proposal,team-design,triaged-design
|
medium
|
Critical
|
585,803,868 |
godot
|
Custom C++ module and XCode dSYM fail
|
**Godot version:**
3.2.1-stable
**OS/device including version:**
Target iOS: 9.0 (arm64)
XCode: 11.3.1
macOS: 10.15.3
**Issue description:**
Trying to build a XCode project for arm64 and generation of dSYM file is giving warnings (but module works):
https://i.imgur.com/ZBUwarq.png
When building **without dSYM file generation it will succeed** without warnings (module works):
https://i.imgur.com/vUwUiiV.png
The module I created is same as in the tutorial so nothing special: https://docs.godotengine.org/en/stable/development/cpp/custom_modules_in_cpp.html
**When using the following build I get the warnings count from around 222 to 58:**
scons p=iphone arch=arm64 target=debug tools=no module_arkit_enabled=no module_assimp_enabled=no module_bmp_enabled=no module_bullet_enabled=no module_camera_enabled=no module_csg_enabled=no module_dds_enabled=no module_enet_enabled=no module_etc_enabled=no module_gdnative_enabled=no module_gridmap_enabled=no module_hdr_enabled=no module_jsonrpc_enabled=no module_mbedtls_enabled=no module_mobile_vr_enabled=no module_opensimplex_enabled=no module_opus_enabled=no module_pvr_enabled=no module_recast_enabled=no module_regex_enabled=no module_squish_enabled=no module_svg_enabled=no module_tga_enabled=no module_theora_enabled=no module_tinyexr_enabled=no module_upnp_enabled=no module_vhacd_enabled=no module_vorbis_enabled=no module_webm_enabled=no module_webp_enabled=no module_webrtc_enabled=no module_websocket_enabled=no module_xatlas_unwrap_enabled=no disable_3d=yes disable_advanced_gui=yes --jobs=$(sysctl -n hw.logicalcpu)
**Steps to reproduce:**
1. Build custom binary for "osx" with custom module
2. Build custom binary for "iphone" arm64
3. Switch binaries in godot/misc/dist/ios_xcode and create "iphone.zip"
4. Use the custom template in Godot and export
5. Open XCode and add the library of the module you created under Frameworks
6. Try to build the project
**Minimal reproduction project:**
https://docs.godotengine.org/en/stable/development/cpp/custom_modules_in_cpp.html
|
bug,platform:ios,topic:buildsystem
|
low
|
Critical
|
585,808,784 |
youtube-dl
|
New site support: ERR | Arhiiv
|
<!--
######################################################################
WARNING!
IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################
-->
## Checklist
<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.08. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.03.08**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones
## Example URLs
<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->
- Single video: http://arhiiv.err.ee/vaata/eesti-aja-lood-okupatsioonid-muusad-soja-varjus
- Playlist: http://arhiiv.err.ee/seeria/eesti-aja-lood-okupatsioonid/info/0/default/koik
- Main site: http://arhiiv.err.ee/err-videoarhiiv
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
WRITE DESCRIPTION HERE
It's an archive with many TV-Shows, Movies and Documentaries aired in ETV (Estonia).
`[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['http://arhiiv.err.ee/vaata/eesti-aja-lood-okupatsioonid-muusad-soja-varjus', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.03.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg 4.1.1, ffprobe 4.1.1
[debug] Proxy map: {}
[generic] eesti-aja-lood-okupatsioonid-muusad-soja-varjus: Requesting header
WARNING: Falling back on generic information extractor.
[generic] eesti-aja-lood-okupatsioonid-muusad-soja-varjus: Downloading webpage
[generic] eesti-aja-lood-okupatsioonid-muusad-soja-varjus: Extracting information
ERROR: Unsupported URL: http://arhiiv.err.ee/vaata/eesti-aja-lood-okupatsioonid-muusad-soja-varjus
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\extractor\generic.py", line 3351, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://arhiiv.err.ee/vaata/eesti-aja-lood-okupatsioonid-muusad-soja-varjus`
|
site-support-request
|
low
|
Critical
|
585,811,537 |
flutter
|
BinaryMessenger::Send does not indicate success
|
Internal b/148508316
The underlying FlutterDesktopMessengerSend [2] returns a boolean, which is swallowed. Even though undocumented, from the implementation it seems that this return value indicates success.
If BinaryMessenger::Send [1] (and transitively, MethodChannel::InvokeMethod [3]) propagate this value, callers would be able to deduce the success of the operation and handle any potential errors.
Currently, this is impossible.
[1] https://github.com/flutter/engine/blob/master/shell/platform/common/cpp/client_wrapper/include/flutter/binary_messenger.h#L42
[2] https://github.com/flutter/engine/blob/master/shell/platform/common/cpp/public/flutter_messenger.h#L54
[3] https://github.com/flutter/engine/blob/master/shell/platform/common/cpp/client_wrapper/include/flutter/method_channel.h#L47
|
engine,customer: dream (g3),P2,team-engine,triaged-engine
|
low
|
Critical
|
585,818,224 |
TypeScript
|
Narrowing via property check fails when adding parent type to declaration
|
**TypeScript Version:** 3.8.3
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
- property check refinement
**Expected behavior:** No error, type is narrowed to `SubA`.
**Actual behavior:** Type is narrowed to `never` and produces an error.
<!-- Did you find other bugs that looked similar? -->
**Related Issues:**
- https://github.com/microsoft/TypeScript/issues/1260
**Code**
This code type checks:
```ts
interface Base {
base: number;
}
interface SubA extends Base {
a: string;
other: boolean;
}
interface SubB extends Base {
b: string;
}
function foo(x: SubA | SubB | null) {
x = x || {base: 1, b: 'b'};
if (x && 'a' in x && x.a == 'str') {
x.other; // ok
}
}
```
A very tiny tweak (adding `Base |` to the parameter type) breaks things, though:
```ts
function foo(x: Base | SubA | SubB | null) {
x = x || {base: 1, b: 'b'};
if (x && 'a' in x && x.a == 'str') { // <-- Property 'a' does not exist on type 'never'. (2339)
x.other; // <-- Property 'other' does not exist on type 'never'. (2339)
}
}
```
This makes some sense since `foo` could be called with something assignable to `Base` that has an `a` but is not specifically a `SubA`. But what doesn't make sense to me is that removing the assignment on the first line makes the error go away:
```ts
function foo(x: Base | SubA | SubB | null) {
if (x && 'a' in x && x.a == 'str') { // ok
x.other; // ok
}
}
```
That assignment seeming has no bearing on `if` statement (the default value doesn't have an `a` property). So why does it affect the inferred type in it?
Either the second and third example should both error or neither of them should.
<details><summary><b>Output</b></summary>
```ts
"use strict";
function foo(x) {
x = x || {base: 1, b: 'b'};
if (x && 'a' in x && x.a == 'str') {
x.other;
}
}
```
</details>
<details><summary><b>Compiler Options</b></summary>
```json
{
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"strictBindCallApply": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"alwaysStrict": true,
"esModuleInterop": true,
"declaration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"moduleResolution": 2,
"target": "ES2017",
"jsx": "React",
"module": "ESNext"
}
}
```
</details>
**Playground Link:** [Provided](https://www.typescriptlang.org/play?#code/JYOwLgpgTgZghgYwgAgEJwM4oN4ChnIBGmEAXMiAK4C2h0A3LgL666iSyIoDKlhAgsggAPSCAAmGNCWR4CcchjBRQAc0YEA9mAAW0coU2aANhDghGLdtHhJkvQqiGiIEqeiyz8RRcrWXWGEoQBDBgTRBkGCMACmFyDxQAH3s+QRSHJxSqY2MASi8CYWQAXmRipJTsYixyAEYAGh9kAHJCFqYNZGAYZDjkADIB1rgW7sjiofKAOjhSspalKBaCuQIZ7T0oLpYmIA)
|
Needs Investigation
|
low
|
Critical
|
585,819,094 |
flutter
|
[Nitpick] Change "Lost connection to device" wording for platforms that the debugger is running on
|
In the case of Mac, Web, Windows, Linux Flutter builds, It doesn't make sense to lose connection to the device, unless the actual device turns off, etc. Seeing this error message on macOS made me curious as to what actually DID happen. However, "Lost connection to device" definitely isn't what happened and I believe it covers up what really terminated the debug session
|
c: new feature,tool,a: quality,c: proposal,P3,team-tool,triaged-tool
|
low
|
Critical
|
585,833,176 |
rust
|
Consider printing the query stack on ICE, even without RUST_BACKTRACE.
|
It's valuable information, including to the user, since it may point to a very specific part of the code (before they even report the ICE to us), and it's always available (even without debuginfo).
We could even print the query stack like a set of diagnostic messages, highlighting the span that was provided with `tcx.at(span)` (if any) - I guess we have the code for it, for query cycles?
cc @rust-lang/compiler
|
C-enhancement,T-compiler
|
low
|
Critical
|
585,843,237 |
go
|
runtime: high startup address space usage (RLIMIT_AS) on Linux AMD64
|
<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.14 linux/amd64
</pre>
### Does this issue reproduce with the latest release?
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/vorvvbgc/.cache/go-build"
GOENV="/home/vorvvbgc/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/vorvvbgc/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/vorvvbgc/go1.14/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/vorvvbgc/go1.14/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build969828813=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
I am trying to get an FastCGI server running behind an Apache2 webserver on a shared hosting system using the net/http/fcgi library. The webserver is limiting my software to 512MB memory.
This is the code: https://play.golang.org/p/Z-Gc6icOpw5
### What did you expect to see?
I expect to see "This was generated by Go running as a FastCGI app" on the website generated by the FastCGI server.
### What did you see instead?
I have modified the sysReserve() function in the runtime to include println() to print out the error code from mmap() and the requested memory size. This is a diff of `src/runtime/mem_linux.go` and my version:
```
157a158,159
> println(err)
> println(n)
```
I kept the output in the following output in the hopes that it might be useful.
The application crashes with this trace:
```
0
131072
0
1048576
0
8388608
0
67108864
12
536870912
fatal error: failed to reserve page summary memory
runtime stack:
runtime.throw(0x6f3456, 0x25)
/home/vorvvbgc/go1.14/go/src/runtime/panic.go:1112 +0x72 fp=0x7ffc17e5b170 sp=0x7ffc17e5b140 pc=0x433a12
runtime.(*pageAlloc).sysInit(0x939428)
/home/vorvvbgc/go1.14/go/src/runtime/mpagealloc_64bit.go:80 +0x13f fp=0x7ffc17e5b1e8 sp=0x7ffc17e5b170 pc=0x42ac1f
runtime.(*pageAlloc).init(0x939428, 0x939420, 0x94db38)
/home/vorvvbgc/go1.14/go/src/runtime/mpagealloc.go:297 +0x75 fp=0x7ffc17e5b210 sp=0x7ffc17e5b1e8 pc=0x4288b5
runtime.(*mheap).init(0x939420)
/home/vorvvbgc/go1.14/go/src/runtime/mheap.go:694 +0x274 fp=0x7ffc17e5b238 sp=0x7ffc17e5b210 pc=0x425ad4
runtime.mallocinit()
/home/vorvvbgc/go1.14/go/src/runtime/malloc.go:470 +0xff fp=0x7ffc17e5b268 sp=0x7ffc17e5b238 pc=0x40c41f
runtime.schedinit()
/home/vorvvbgc/go1.14/go/src/runtime/proc.go:545 +0x60 fp=0x7ffc17e5b2c0 sp=0x7ffc17e5b268 pc=0x437100
runtime.rt0_go(0x7ffc17e5b2f8, 0x1, 0x7ffc17e5b2f8, 0x0, 0x7fd2029790ca, 0x1, 0x7ffc17e5cbb6, 0x0, 0x7ffc17e5cbc4, 0x7ffc17e5cbe6, ...)
/home/vorvvbgc/go1.14/go/src/runtime/asm_amd64.s:214 +0x125 fp=0x7ffc17e5b2c8 sp=0x7ffc17e5b2c0 pc=0x460655
```
The application works fine with golang 1.13.9.
I have no idea how to debug this further.
|
NeedsInvestigation,compiler/runtime
|
medium
|
Critical
|
585,845,781 |
go
|
proposal: database/sql: Check if Tx has already been committed or rolled back
|
I have a use case where I would like to know if Tx has already been committed or rolledback. I can't track this information myself because it's for a package that is intended to be used by third parties.
Currently I have to perform a "fake" query on the Tx to check if it returns `sql.ErrTxDone`. This is ok if the transaction has in fact been committed or rolledback. But if it hasn't, then it will actually take time to call the query.
I believe the object internally tracks this information and it would be good if it was exposed.
|
Proposal
|
low
|
Major
|
585,848,485 |
rust
|
"type annotations needed" in signature with HRTB
|
[Playground link](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=da3e2bffa666c55c2d7f099587c57cd4)
```rust
fn foo<F>(f: F) where
F: for<'a> FnOnce(&'a i32) -> &'a i32,
F: FnOnce(&'static i32) -> &'static i32
{}
```
produces:
```
error[E0282]: type annotations needed
--> src/main.rs:4:8
|
4 | F: FnOnce(&'static i32) -> &'static i32
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
error: aborting due to previous error
```
Note that this error occurs when defining the function, not calling it. There is nowhere to add type annotations, so the error makes no sense. This code should presumably be accepted, since both of the bounds are accepted individually.
|
A-diagnostics,A-trait-system,T-compiler,C-bug,A-higher-ranked
|
low
|
Critical
|
585,860,947 |
rust
|
`#[track_caller]` should inherit through specialization ancestors, too?
|
The current [implementation of `#[track_caller]`](https://github.com/rust-lang/rust/issues/47809) allows trait methods to have the annotation, including at their definition site. When applied in a trait definition, the attribute has effect on all impls. @eddyb [raised the question in code review](https://github.com/rust-lang/rust/pull/69251#discussion_r396162587) of whether you should also be able to add the attribute without adding an implementation as part of a specialization chain.
To me this seems like the correct semantics given what we'd like the non-specialized behavior to be. It's probably a little complicated to implement.
|
T-lang,T-compiler,A-specialization,F-specialization,F-track_caller
|
low
|
Minor
|
585,940,515 |
TypeScript
|
Incomprehensible incompatibility around Partial, Conditional types and Generics.
|
**TypeScript Version:** 3.9.0-dev.20200322
**Search Terms:** partial, conditional types
**Code**
```ts
type SafePartial<T> = T extends {} ? Partial<T> : any;
interface QB<TRecord extends {}> {
insert(record: SafePartial<TRecord>): void;
}
async function insert1<TRecord extends {}>(qb: QB<TRecord>, record: TRecord) {
await qb.insert(record);
}
```
**Expected behavior:**
The code successfully compiles
**Actual behavior:**
Following error is observed for `qb.insert(record)`:
```
Argument of type 'TRecord' is not assignable to parameter of type 'SafePartial<TRecord>'. Type '{}' is not assignable to type 'SafePartial<TRecord>'.
```
The issue goes away if I use `Partial` instead of the `SafePartial` above.
The issue also goes away if a concrete type is used instead of generic type:
```ts
interface User {
id: string;
}
async function insert1(qb: QB<User>, record: User) {
await qb.insert(record);
}
```
**Playground Link:** [Playground](https://www.typescriptlang.org/play?ts=3.9.0-dev.20200322#code/C4TwDgpgBAyghgMwgBTgJ2ASzgGwDwAqAfFALxQFQQAewEAdgCYDOUA3gL5QD8UqG2fMSgAuKHHogA3ACgZmenTQI4AY2gBFAEKEAShFUB7NIyq0GLdhxJsZUKAuYQMACjQHjjMfCT8suPQ8TIgBKMQA3Q0xGWQ45GThmEHpVKAQAVxSsQ3oHeicMAEZAoxMzOiZWTiIXAEcAIzFtEs8iABood1KvCn1ukPY7KAB6YfEAdzhMYCgGgDpHZ2AXAG0uzwBdENl7OEnp2fqF-KW3IMZtmTigA)
|
Needs Investigation
|
low
|
Critical
|
585,968,056 |
flutter
|
Poor video scaling quality
|
Playing video, the text in video has obvious jag. Both occur on android and ios.

source video:
[IMG_8828.zip](https://github.com/flutter/flutter/files/4367567/IMG_8828.zip)
|
engine,customer: alibaba,a: video,a: quality,p: video_player,package,c: rendering,P2,team-engine,triaged-engine
|
low
|
Major
|
586,060,476 |
godot
|
Re-evaluate "use precise math checks" epsilon size
|
These lines were added in a32b26dfa26f2a039bf9c84b90d10666bcf785c9 "Several fixes to make GLES2 on HTML5 work much better".
https://github.com/godotengine/godot/blob/ed9a0d0484411e631b0cc927e46dc234054d5ae5/core/math/math_defs.h#L53-L59
I don't think that this code makes sense as-is. With single-precision floats, a good unit epsilon size is `1e-6` (or `1e-5` if you're really paranoid). The above code means that the default value for `UNIT_EPSILON` is `1e-3` when it really could be a lot smaller. Also, with `use_precise_math_checks=yes` the value is `1e-5` which isn't even all that precise since it could be `1e-6`.
I think, instead of defaulting to `1e-3` and allowing the user to enable "precise math checks", we should default to either `1e-5` or `1e-6`, and then we can change it for other platforms like HTML5 if there are number precision issues there.
|
discussion,topic:core
|
low
|
Major
|
586,152,092 |
TypeScript
|
new Map() infers type only from the first item in the iterable
|
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!
Please help us by doing the following steps before logging an issue:
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues
* Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ
Please fill in the *entire* template below.
-->
<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:** 3.8.3
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** map infer type first item
**Code**
```ts
type Lookup = Map<number, boolean | string>;
const foo = new Map([
[1, true],
[2, 'foo']
]);
const bar: Lookup = new Map([
[1, true],
[2, 'foo']
]);
const baz: Lookup = new Map<number, boolean | string>([
[1, true],
[2, 'foo']
]);
```
**Expected behavior:** All 3 assignments work.
**Actual behavior:** The first 2 assignments fail because the type of the map is inferred as `Map<number, () => boolean>` (because of the first item). The 3rd one works but duplicates the type of the map.
[**Playground Link**](https://www.typescriptlang.org/play#code/C4TwDgpgBAMg9nA1gVzFAvFAsgQzAHgDtkBbAIwgCcAaKMhAGwh0KgB8oBnYSgS0IDmAPgDcAKDEBjOIW5QAZggxRCEAO7Y8ACgDaYqAag6AjLR7IIAXWr7DOgEy0A5IrhPLYywEpxUmXLIcSgAuWAQUNExVDVwwXVsDEzNKC2sEo0coFwR3Tx8JaVlgOhwAL1D4JFRlaM0CYnIqWno4JhZ2Lh5+YXjDI1MocysbPodnV1zvESA)
|
Needs Investigation
|
low
|
Critical
|
586,189,230 |
pytorch
|
The BatchNorm error in `DataParallel`
|
`https://github.com/open-mmlab/mmdetection/issues/2312`
I debug this error. I set breakpoint in
```
# /opt/anaconda3/lib/python3.7/site-packages/torch/nn/parallel/parallel_apply.py
with torch.cuda.device(device):
# this also avoids accidental slicing of `input` if it is a Tensor
if not isinstance(input, (list, tuple)):
input = (input,)
output = module(*input, **kwargs) # breakpoint
with lock:
results[i] = output
```
I found that the parameters and buffer in `cuda:1` and the input in `cuda:1`. I wonder that when the program exec to `/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/batchnorm.py`
The parameters and buffer of batchnorm in `cuda:0` and the input in `cuda:1`.
And only batchnorm have this error, I delete batchnorm in model. The program can run.
|
module: nn,triaged,module: data parallel
|
low
|
Critical
|
586,249,171 |
vscode
|
Should we use namespacing in the CLI
|
@Microsoft/vscode
https://github.com/microsoft/vscode/issues/92031 is requesting a terminal CLI to enable things like creating a new tab and splitting the current tab which would align with the capabilities of many terminals (including [Windows Terminal](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingCommandlineArguments.md#using-the-wtexe-commandline)) and enable splitting a terminal tab by running a command in the terminal.
Does anyone have opinions for or against this? If we want to go with this I think we should also do the same for extensions by deprecating/aliasing the current CLI and moving them to either `code ext ...` or `code extension ...` as it keeps growing and could be better organized:
```
Extensions Management
--extensions-dir <dir> Set the root path for
extensions.
--list-extensions List the installed
extensions.
--show-versions Show versions of installed
extensions, when using
--list-extension.
--category Filters installed
extensions by provided
category, when using
--list-extension.
--install-extension <extension-id | path-to-vsix> Installs or updates the
extension. Use `--force`
argument to avoid
prompts.
--uninstall-extension <extension-id> Uninstalls an extension.
--enable-proposed-api <extension-id> Enables proposed API
features for extensions.
Can receive one or more
extension IDs to enable
individually.
```
|
feature-request,under-discussion,workbench-cli
|
medium
|
Major
|
586,310,300 |
flutter
|
Flutter should include popover as part of the default widget library
|
Flutter should include popovers as part of the default widget library.
It would be good to have an option to select what direction the popover opens in as well as allowing anything the user wants in the popover. On iOS the popovers have a blur background.
iOS: https://developer.apple.com/design/human-interface-guidelines/ios/views/popovers/
Web: https://getbootstrap.com/docs/4.0/components/popovers/
|
c: new feature,framework,a: tablet,f: routes,would be a good package,c: proposal,P3,team-framework,triaged-framework
|
medium
|
Major
|
586,349,013 |
pytorch
|
Get hold of Backward graph from a C++ module.
|
Hi Guys
@huzecong @ezyang @gqchen @albanD
Is there a way we could get hold of Backward Graph in C++ code .
We have a custom FPGA and asic & we would like to perform training on a multi-chips HW asics, they are similar to nvidia GPU's and we would like to interconnect them the way nvidia DGZ servers do and want to run training on them, For the inference part we are able use a Glow backend for Pytorch. This backend doesn't seems to have enough support for training as of now and in particular Gradient Accumlation and exchange across devices and loss functions.
and Pytorch seems to have an extensive support for CUDA.
(https://github.com/pytorch/glow/blob/master/torch_glow/src/Registration.cpp)
This backend has a python binding and gets hold of Pytorch JIT IR for the forward graph and converts the JIT Graph Nodes to its own internal representation of the Glow nodes and it performs its own differentiate() to generate a differential graph which kind of contains both the forward graph and backward graph (integrated together) but it does not has the way to provide access to backward graph .
To me seems to me that pytorch has different forward graph and a backward graphs and it looks pretty elaborate with many optimizers.
So essentially could there be a way to get hold of backward graph from a C++ module (from glow backend iteslf ) so that I can generate the ONNX/glow nodes from it and create a Graph which can be run on our HW.
Looks like the Back Graph does not has a JIT IR , Essentially I am looking for some sample code , where I can visit the Nodes and edges of the Graph but I need some more concrete example.
. Although I did see that there seem to be some test cases cpp folder of pytorch/test/cpp/jit/test_autodiff.cpp api/autograd.cpp which can be used .
If you guys can get me some pointer and direction to the sample code that would help a lot.
Looks like there is way to iterate over backward nodes from python using
https://github.com/szagoruyko/pytorchviz

I was reading the article of ezyang from http://blog.ezyang.com/2019/05/pytorch-internals/
and found that we need something on lines of attached below pic where multi devices are communicating using scatter all reduce.


Essentially there should be some way to route torch.nn.DataParallel() and torch.nn.parallel.DistributedDataParallel() API's to Glow module to get access to gloo/nccl C++ modules inside pytorch way it gets access to JIT IR.
cc @suo
|
oncall: jit
|
low
|
Major
|
586,361,071 |
go
|
x/tools/gopls: support change signature refactoring
|
See https://github.com/microsoft/vscode-go/issues/3122 for the original request.
> **Is your feature request related to a problem? Please describe.**
> I use IntelliJ and VS Code - both for development. VS Code usually for my open source contributions. I noticed that IntelliJ has this cool feature to change the definition / signature of a method or a function - where one can change the parameter's type, add a parameter with a default value for all the callers, and change the return parameters too
>
> **Describe the solution you'd like**
> VS Code to provide the feature to change the definition / signature of a method or function, which changes all the references of the method or function based on the change
>
> **Describe alternatives you've considered**
> Some features of the change signature feature can still be used currently - For example changing the name of the parameters - which will only cause a change inside the method or function and it can be done by doing just a rename. Other than that, the only alternate solution for me now is - to find all the references and change all the callers to add a parameter and do something similar for other things too.
>
> **Additional context**
> It would be cool for VS code to provide this feature. Not sure how it will be implemented. Is this a feature that should be provided by `gopls`? And if help is needed, I can pitch in - raise some PRs. I need to learn some stuff, which I can surely do. It would be a pleasure to raise PR for one of the greatest extensions for Golang 😄
|
FeatureRequest,gopls,Tools,Refactoring
|
medium
|
Critical
|
586,399,291 |
rust
|
Print comments in MIR dumps aligned to the longest line
|
The comments in the following snippet should be aligned, otherwise they are hard to read, especially in larger blocks with lots of indentation changes.
```
StorageLive(_1); // bb0[0]: scope 0 at $DIR/const_allocation.rs:8:5: 8:8
StorageLive(_2); // bb0[1]: scope 0 at $DIR/const_allocation.rs:8:5: 8:8
_2 = const {alloc0+0: &&[(std::option::Option<i32>, &[&str])]}; // bb0[2]: scope 0 at $DIR/const_allocation.rs:8:5: 8:8
```
|
A-pretty,C-enhancement,T-compiler,A-MIR
|
low
|
Minor
|
586,400,441 |
rust
|
Constants in MIR dumps are too verbose
|
As an example take
```
_2 = const {alloc0+0: &&[(std::option::Option<i32>, &[&str])]}; // bb0[2]: scope 0 at $DIR/const_allocation.rs:8:5: 8:8
// ty::Const
// + ty: &&[(std::option::Option<i32>, &[&str])]
// + val: Value(Scalar(alloc0+0))
// mir::Constant
// + span: $DIR/const_allocation.rs:8:5: 8:8
// + literal: Const { ty: &&[(std::option::Option<i32>, &[&str])], val: Value(Scalar(alloc0+0)) }
```
We should trim some of that away and consider printing terminators in a multiline block format so multiple constants occurring in them are printed in a readable way
|
A-pretty,C-enhancement,T-compiler,A-MIR
|
low
|
Minor
|
586,459,049 |
flutter
|
`flutter pub run build_runner build` loses interactive prompts
|
I have a project that uses `built_value` with `build_runner`. If I do:
1. `flutter clean`
2. `flutter pub get`
3. `flutter pub run build_runner build`
I get an error:
> [INFO] Checking for unexpected pre-existing outputs....
> [INFO] Found 2 declared outputs which already exist on disk. This is likely because the`.dart_tool/build` folder was deleted, or you are submitting generated files to your source repository.
> [SEVERE] Conflicting outputs were detected and the build is unable to prompt for permission to remove them. These outputs must be removed manually or the build can be run with `--delete-conflicting-outputs`. The outputs are: foo.g.dart
> bar.g.dart
> pub finished with exit code 78
If I run `pub run builder_runner build` without going through `flutter`, I instead get a prompt:
> [INFO] Checking for unexpected pre-existing outputs....
> [INFO] Found 2 declared outputs which already exist on disk. This is likely because the`.dart_tool/build` folder was deleted, or you are submitting generated files to your source repository.
>
> Delete these files?
> 1 - Delete
> 2 - Cancel build
> 3 - List conflicts
It would be nice if running `pub` through `flutter` showed the same prompt.
|
c: new feature,tool,has reproducible steps,P3,found in release: 2.5,found in release: 2.6,team-tool,triaged-tool
|
low
|
Critical
|
586,484,142 |
flutter
|
ctrl-c in the middle of a flutter tool build leaves cache in bad state tool can't recover from
|
I think what I did was:
1. Changed branch on the flutter sdk repo
2. Invoked the tool, which wiped out the cache
3. Before it could finish downloading, I aborted the process with ctrl-c.
```
~/git/flutter-app$ flutter analyze
Building flutter tool...
/Users/fujino/bin/flutter: line 46: /Users/fujino/git/flutter/bin/cache/dart-sdk/bin/pub: No such file or directory
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
```
|
tool,a: first hour,P2,team-tool,triaged-tool
|
low
|
Critical
|
586,484,728 |
rust
|
rustc compiles function that is never used
|
<!--
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.
-->
`rustc` seems to compile never used functions in traits:
```rust
// Note: both trait and fn are private and never used
trait NeverUsed {
fn never_used();
}
impl NeverUsed for () {
fn never_used() {
size_expectation_failed()
}
}
fn size_expectation_failed() -> ! {
panic!("size of `slice` must not be less than size of `Self` to ref cast to success")
}
```
Generates a lot of "panic" asm ([godbolt](https://godbolt.org/z/8ksG7P)).
I expected not to see unused functions in asm, but they are there.
This also happens when using lib with a similar (never used) trait.
## Steps to reproduce
1. create `lib` and `bin` crates:
`cargo new --bin neverbin && cargo new --lib neverlib`
2. fill `./neverlib/src/lib.rs` with:
```rust
trait NeverUsed {
fn never_used();
}
impl NeverUsed for () {
fn never_used() {
call_panic()
}
}
fn call_panic() { panic!(\"ooops\") }
```
3. add dependency to bin crate:
```toml
# Cargo.toml
[dependencies]
neverlib = { path = "../neverlib" }
```
4. [install](https://github.com/gnzlbg/cargo-asm#install) & run `cargo asm` for bin crate, you'll see something like that:
```console
$ cargo asm
<() as neverlib::NeverUsed>::never_used
<T as core::any::Any>::type_id
<std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get
<std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::take_box
core::ops::function::FnOnce::call_once{{vtable.shim}}
core::ptr::drop_in_place
neverbin::main
neverlib::call_panic
std::panicking::begin_panic
std::rt::lang_start
std::rt::lang_start::{{closure}}
```
5. Note `never_used` and `call_panic` functions, all the `panic!` stuff
6. this behaviour also holds with lto
### 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.43.0-nightly (564758c4c 2020-03-08)
binary: rustc
commit-hash: 564758c4c329e89722454dd2fbb35f1ac0b8b47c
commit-date: 2020-03-08
host: x86_64-unknown-linux-gnu
release: 1.43.0-nightly
LLVM version: 9.0
```
### P.S.
I may misunderstand something, and maybe I've forgot to turn on some optimizations, so correct me if I'm wrong. But this behaviour seems _strange_.
|
A-trait-system,T-compiler,C-bug
|
low
|
Critical
|
586,510,088 |
pytorch
|
Raspberry Pi Zero build fails
|
## 🐛 Bug
Cannot build from source on Raspberry Pi Zero 1.3
## To Reproduce
Steps to reproduce the behavior:
1. Install prequisite packages
2. Clone GitHub respository to local folder
3. Export flags for build
```
export USE_CUDA=OFF
export USE_DISTRIBUTED=OFF
export USE_MKLDNN=OFF
export USE_NNPACK=OFF
export USE_QNNPACK=OFF
```
4. Ran the following command from the source folder:
`python3 setup.py build`
<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->
Encountered the following error message at the 12% mark when:
```
[ 12%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o
In file included from /home/pi/projects/pytorch/build/confu-srcs/pthreadpool/src/threadpool-pthreads.c:35:
/home/pi/projects/pytorch/build/confu-srcs/pthreadpool/include/pthreadpool.h:183:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
pthreadpool_function_1d_t function,
```
```
/tmp/ccAfk6Hs.s:2530: Error: immediate expression requires a # prefix -- `orr r3,0x1000000'
make[2]: *** [confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/build.make:76: confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:517: confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Traceback (most recent call last):
File "setup.py", line 759, in <module>
build_deps()
File "setup.py", line 311, in build_deps
cmake=cmake)
File "/home/pi/projects/pytorch/tools/build_pytorch_libs.py", line 59, in build_caffe2
cmake.build(my_env)
```
## Expected behavior
Build should completion should be 100%.
## 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).
```
pi@raspbari3:~/projects/pytorch $ python3 collect_env.py
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
OS: Raspbian GNU/Linux 10 (buster)
GCC version: (Raspbian 8.3.0-6+rpi1) 8.3.0
CMake version: version 3.13.4
Python version: 3.7
Is CUDA available: N/A
CUDA runtime version: Could not collect
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
Versions of relevant libraries:
[pip3] numpy==1.16.2
[conda] Could not collect
```
You can get the script and run it with:
```
```
- PyTorch Version (e.g., 1.0):
- OS (e.g., Linux): Raspbian (Debian) Buster
- How you installed PyTorch (source): **git clone**
- Build command you used (if compiling from source):
- Python version: **python3**
- CUDA/cuDNN version: **None**
- GPU models and configuration: **None**
- Any other relevant information:
## Additional context
<!-- Add any other context about the problem here. -->
|
module: build,triaged
|
low
|
Critical
|
586,532,555 |
rust
|
Move from {{closure}}#0 syntax to {closure#0} for (def) path components.
|
Today if a path refers to unnamed defs such as closures, it's printed using double braces e.g. for the following example, `rustc` refers to `Foo` as `main::{{closure}}#0::Foo`:
```rust
fn main() {
|| {
struct Foo;
let () = Foo;
// ^^ expected struct `main::{{closure}}#0::Foo`, found `()`
}
}
```
However, the new Rust Symbol Mangling (rust-lang/rfcs#2603 / #60705), uses `{closure#0}` instead.
I forget if I wrote about this before, but I prefer the newer form and it would be nice if we could switch everything uniformly to it.
As an aside, I've long believed that the double braces (e.g. `{{closure}}`, `{{impl}}`) were meant to be single braces (i.e. `{closure}`, `{impl}`), escaped for `format!`, and that somehow that got lost.
|
C-cleanup,T-compiler,A-MIR
|
low
|
Major
|
586,554,835 |
thefuck
|
Recognize K8s commands?
|
Hi guys,
Have a Possibility of implementation to recognize K8s commands in future?
|
enhancement,help wanted
|
low
|
Major
|
586,577,827 |
rust
|
MIR dump const Allocation printing of large relocation ids
|
After #69916 the MIR dump of const `Allocation`s can result in things like
```
0x80 │ 00 00 00 00 00 00 00 00 00 00 ╾alloc11+0╼ 00 00
0x90 │ ╾alloc12+99 (4 ptr bytes)╼ 00 00 00 00 00 00 00 00 00 00 00 00
```
where even just the `alloc12+99` would be too wide on 32 bit systems.
We should find better ways to handle this. Some suggestions:
# 1. Indent all columns so they align again after the oversized relocation
```
0x80 │ 00 00 00 00 00 00 00 00 00 00 ╾alloc11+0╼ 00 00
0x90 │ ╾alloc12+99 (4 ptr bytes)╼ 00 00 00 00 00 00 00 00 00 00 00 00
```
# 2. More ascii art
```
0x80 │ 00 00 00 00 00 00 00 00 00 00 ╾alloc11+0╼ 00 00
0x90 │ ╾─────┬───╼ 00 00 00 00 00 00 00 00 00 00 00 00
┌──────┴─────┐
│ alloc12+99 │
└────────────┘
```
<!-- TRIAGEBOT_START -->
<!-- TRIAGEBOT_ASSIGN_START -->
<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":null}$$TRIAGEBOT_ASSIGN_DATA_END -->
<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
|
A-pretty,C-enhancement,T-compiler,A-MIR,A-const-eval
|
low
|
Minor
|
586,588,132 |
terminal
|
Add a setting to control vertical antialiasing
|
<!--
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
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
<!--
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).
-->
Adding a setting to control DirectWrite's rendering mode is wanted to improve font rendering quality when using a font that does not have hinting information.
I prefer NasuM font (https://osdn.net/users/itouhiro/pf/font/files/) because it has high readability. But it does not have hinting information and it causes decrasing rendering quality in Windows Terminal.
Below is a screenshot that taken from Windows Terminal with using NasuM font:

Below is a screenshot that taken from WSL window with using NasuM font:

Please focus on horizontal lines in the Kanji character "見".
Windows's legacy command window uses GDI and now it supports vertical antialiasing (I believe), but Windows Terminal does not support that.
If Windows Terminal has a setting to enable vertical antialiasing, it can improve font rendering quality at this situation.
# Proposed technical implementation details (optional)
<!--
A clear and concise description of what you want to happen.
-->
Firefox has a hidden setting to control DirectWrite's rendering mode (https://support.mozilla.org/en-US/questions/1115938). When `gfx.font_rendering.cleartype_params.rendering_mode` is 5 (Natural Symmetric), Firefox enables vertical antialiasing.
If Windows Terminal has similar one, it would solve this problem.
|
Help Wanted,Area-Rendering,Product-Terminal,Issue-Task
|
low
|
Critical
|
586,600,172 |
ant-design
|
After Drawer's getContianer changes, its createPortal's container does not change immediately
|
- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.
### Reproduction link
[](https://codesandbox.io/s/anniuleixing-ant-design-demo-kdz7o)
### Steps to reproduce
1. Click to show
2. Click to switch the container and click on the cover to close the drawer
3. Click to switch containers and click Show
4. The container is not switched at this time, then click the cover to close the drawer
5. Click Show again to switch the container
### What is expected?
1. After clicking to switch containers, click Show to display in the new container
### What is actually happening?
1. For the first time, because this.container of Portal in rc-util still exists, the last container used by its createPortal is still used. The actual result is that it is not switched for the first time, and then switched for the second time.
| Environment | Info |
|---|---|
| antd | 4.0.4 |
| React | 16.12.0 |
| System | macOS |
| Browser | Google 80.0.3987.149 |
---
I submitted a [PR] (https://github.com/react-component/util/pull/89) to rc-util, but I don't know if there will be other side effects
<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
|
Inactive
|
low
|
Minor
|
586,617,088 |
terminal
|
Terminal: add support for Window Manipulation (CSI t, resize), or reject it explicitly (and force a client resize)
|
Notes from @j4james:
> Note that this is a problem for all the VT resizing sequences too. For example, you'll get the same problem resizing the screen from within a bash shell like this:
>
> ```
> printf "\e[8;10;10t"
> ```
>
> And if you want to make `mode` work, then you'll probably want to start with the VT sequences first, because ultimately that's how you're going to have to communicate this information to the Terminal.
>
> The real issue, though, is deciding how the Terminal should deal with a resize request. When you've got multiple tabs, each potentially requesting a different size, you can't satisfy all of them at once. I've been thinking about this for a while, and there were three approaches that I considered:
>
> 1. Ignore the size request, as we are doing now. But for this to work, it's vital that the Terminal communicate back to the host that the request has failed. If you don't do that, the Terminal and conhost get out of sync, and the renderer goes barmy..
>
> 2. Accept the requested size as a kind of virtual window, similar to the way conhost works when the buffer width and window width are different. If the virtual window is larger than the actual window, you'll need to be able to scroll across the viewport, both horizontally and vertically (the latter being kind of tricky to differentiate from the scrollback).
>
> 3. Accept the requested size and actually resize the whole Terminal window to fit, but only if the tab making the request is currently focused. A background tab shouldn't be able to change the size. And as with option 1, it's vital that the resulting sizes are communicated back to the different hosts for each tab.
>
> Personally I'm in favor of option 3, but I suspect others will disagree, and it may need to be a configurable preference. It's also possible there are other better approaches that I haven't thought of.
Notes from @egmontkob:
> On a more important note, I believe that this escape sequence with a fixed size is borderline problematic/harmful, whereas this one with the "maximized" value, and other nearby escape sequences, are straight harmful (just like when webpages that are allowed to move/resize the browser window – everyone hates that, right?) and terminals should deliberately refuse to implement.
Notes from @DHowett-MSFT:
We should choose one of the above options and stick to our guns.
<hr>
More notes:
* option 4: Only allow a resize like this if there's a single pane. If there's two panes, we'll do the thing from option 1, and ignore it.
* We're probably gonna just go with option 4
* We'll add a `compatibility.allowWindowResizing` defaulted to `true` to let people fully disable this
* If there's multiple tabs, then inactive tabs won't notice the current tabs new size till they get focused (and the control is re-added to the UI tree).
* theoretically, one app could ask for 30x80 and another tab 45x120 and switching back and forth would keep resizing the window
* if a inactive tab gets a resize request... then we need to somehow mark that tab asked for a new size, and allow the resize, and resize the `Terminal` & buffer, but only resize the window when it gets activated.
* This probably needs to be handled as a core->control->app request, so the app can allow/reject
|
Area-VT,Product-Terminal,Issue-Task,In-PR,Priority-2
|
high
|
Critical
|
586,669,704 |
create-react-app
|
Add a "retry" option to "Something is already running on port X" message
|
### Is your proposal related to a problem?
<!--
Provide a clear and concise description of what the problem is.
For example, "I'm always frustrated when..."
-->
Whenever I get the "Something is already running on port X" message it's because I was working on another project and left it running. My response is always to find it and quit it. I then have to say no to "Would you like to run the app on another port instead?" and run `start` again.
### Describe the solution you'd like
<!--
Provide a clear and concise description of what you want to happen.
-->
It would be nice if the options were "yes", "no" and "retry" so that I could just quit the other process and then come back and press r to carry on.
### Describe alternatives you've considered
<!--
Let us know about other solutions you've tried or researched.
-->
I usually press n for no and then run `start` again. It doesn't ruin my day though.
### Additional context
<!--
Is there anything else you can add about the proposal?
You might want to link to related issues here, if you haven't already.
-->
I suspect that others also have the same desire to quit the other process and retry on the default port.
|
issue: proposal,needs triage
|
low
|
Minor
|
586,690,554 |
create-react-app
|
a small change in the doc of deployment on github pages
|
### Is your proposal related to a problem?
I've stuck for a long time on deploying my react-app to the Github pages. After several trial and errors, I finally figured out that I didn't do **Step1** correct: **Add homepage to package.json**
The difference of react-app folder name and my github repository name tricked me.
### Describe the solution you'd like
In this case, people should set
`"homepage": "https://myusername.github.io/github-repository-name",`
instead of
`"homepage": "https://myusername.github.io/local-react-app-name",`
However, on the official doc, this is not made super clear to the user. Hope this can help others!
### Describe alternatives you've considered
<!--
Let us know about other solutions you've tried or researched.
-->
### Additional context
<!--
Is there anything else you can add about the proposal?
You might want to link to related issues here, if you haven't already.
-->
|
issue: proposal,needs triage
|
low
|
Critical
|
586,744,528 |
electron
|
Expose macOS app presentation options
|
<!-- 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
I need to have the menu bar be set to auto-hide when my Electron app is active.
### Proposed Solution
This is possible through the [`NSApp.presentationOptions` API](https://developer.apple.com/documentation/appkit/nsapplication/1428664-presentationoptions?language=objc).
Here's how I would do it in Swift:
```swift
NSApp.presentationOptions = [.autoHideMenuBar]
```
I imagine the Electron API could be:
```js
app.presentationOptions = ['auto-hide-menu-bar'];
```
Just like the native API, it should be possible to set this at any time after `app.on('ready')` and it should be able to re-set it.
I don't need the other options, but I think they should all be supported: https://developer.apple.com/documentation/appkit/nsapplication/presentationoptions
|
enhancement :sparkles:,platform/macOS
|
low
|
Minor
|
586,773,049 |
youtube-dl
|
axios.com video not supported
|
<!--
######################################################################
WARNING!
IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################
-->
## Checklist
<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.24. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->
- [x ] I'm reporting a new site support request
- [ x] I've verified that I'm running youtube-dl version **2020.03.24**
- [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.axios.com/coronavirus-texas-official-grandparents-die-172ca951-891c-44e7-a9ec-77c486e0c5c3.html
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Plays OK on Firefox
|
site-support-request
|
low
|
Critical
|
586,780,727 |
create-react-app
|
Upgrade to htm-webpack-plugin 4
|
### Is your proposal related to a problem?
<!--
Provide a clear and concise description of what the problem is.
For example, "I'm always frustrated when..."
-->
the [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) released a [new major yesterday](https://dev.to/jantimon/html-webpack-plugin-4-has-been-released-125d)
Please let me know if you need any help to migrate from https://github.com/facebook/create-react-app/blob/d2f813f8897ffcd2f0b0d2da75d0c44924c92f4d/packages/react-scripts/package.json#L55
You could also remove the following option as `inject:true` has been the default for a long time:
https://github.com/facebook/create-react-app/blob/d2f813f8897ffcd2f0b0d2da75d0c44924c92f4d/packages/react-scripts/config/webpack.config.js#L566
Also the [`InterpolateHtmlPlugin`](https://github.com/facebook/create-react-app/blob/d2f813f8897ffcd2f0b0d2da75d0c44924c92f4d/packages/react-dev-utils/InterpolateHtmlPlugin.js#L19) is now built in an can probably replaced with the html-webpack-plugin `templateParameters` option as seen in this code sandbox:
https://codesandbox.io/s/html-webpack-plugin--templateparameters-z2j84
```js
new HtmlWebpackPlugin({
templateParameters: {
'PUBLIC_URL': 'demo/value'
```
```html
<html>
<head>
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<h1>Hello World</h1>
<%= PUBLIC_URL %>
</body>
</html>
```
|
issue: proposal,needs triage
|
low
|
Minor
|
586,809,842 |
flutter
|
[flutter-tools] Help text for "flutter symbolize" is a little cray cray
|
Running "flutter symbolize -h" produced:
```
~ $ flutter symbolize -h
Symbolize a stack trace from an AOT compiled flutter application.
Usage: flutter symbolize [arguments]
-h, --help Print this
usage
informatio
n.
-d, --debug-info=</out/android/app.arm64.symbols> A path to
the
symbols
file
generated
with
"--split-d
ebug-info"
.
-i, --input=</crashes/stack_trace.err> A file
path
containing
a Dart
stack
trace.
-o, --output=<A file path for a symbolicated stack trace to be written to.>
```
```
~ $ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.16.2-pre.49, on Mac OS X 10.15.3 19D76,
locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version
28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Community Edition (version 2019.2.4)
[✓] VS Code (version 1.43.0)
[✓] Connected device (2 available)
• No issues found!
```
|
tool,a: quality,P2,team-tool,triaged-tool
|
low
|
Critical
|
586,815,235 |
youtube-dl
|
Please support Globe Wien
|
<!--
######################################################################
WARNING!
IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################
-->
## Checklist
<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.24. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2020.03.24**
- [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://player.globe.wien/globe-wien/ottojaus-fastfertig?streamNow=true
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Please add support for Globe Wien.
No credentials are needed.
https://player.globe.wien
lists a couple more video links.
Thank you!
|
site-support-request
|
low
|
Critical
|
586,841,279 |
vue-element-admin
|
tagview 外面的el-scrollbar 不出现滚动条
|
## Question(提问)
tagview 增加到一定个数时 外面的el-scrollbar 不出现滚动条,必须改变窗口大小才会出来
#### Steps to reproduce(问题复现步骤)
#### Screenshot or Gif(截图或动态图)
|
bug
|
low
|
Minor
|
586,899,868 |
pytorch
|
Why C++ version libtorch so slow
|
my code is sample
` torch::jit::getProfilingMode() = false;`
` torch::jit::setGraphExecutorOptimize(false);`
` torch::Tensor tensor = torch::zeros({1,3, 1280, 1280},at::kFloat);`
` torch::jit::script::Module model = torch::jit::load("./psenet.pt");`
`model.eval();`
`std::vector<torch::jit::IValue> inputs;`
`inputs.push_back(tensor);`
`long long t1 = getSystemTime();`
`for(int i = 0; i < 8 ;++i)`
`{`
`auto output = model.forward(inputs).toTensor();`
`}`
`long long t2 = getSystemTime();
printf("cost %f \n",(t2 - t1) / 8.0 / 1000.0);`
but the code is 2 times slower than pytorch version ?
anyone know the problem?
cc @suo
|
oncall: jit,triaged
|
low
|
Major
|
586,957,136 |
rust
|
Code inference fails for several levels of indirection case
|
I tried this code:
```rust
pub fn bar(f: Option<impl Fn(usize, usize) -> usize>) {
}
pub fn mai() {
let arr = vec![vec![3;10];10];
bar(Some(|i,j| arr[i][j]));
}
```
Which fails with:
```
error[E0282]: type annotations needed
--> src/lib.rs:6:20
|
| bar(Some(|i,j| arr[i][j]));
| ^^^^^^ cannot infer type
|
= note: type must be known at this point
```
It's enough to remove one level of indirection, e.g. remove `Option`. or change `Vec<Vec<usize>>` to `Vec<usize>` to make compiler happy:
```rust
pub fn bar(f: impl Fn(usize, usize) -> usize) {
}
pub fn mai() {
let arr = vec![vec![3;10];10];
bar(|i,j| arr[i][j]);
}
```
```rust
pub fn bar(f: Option<impl Fn(usize, usize) -> usize>) {
}
pub fn mai() {
let arr = vec![3;10];
bar(Some(|i,j| arr[i+j]));
}
```
### Meta
`rustc --version --verbose`:
```
rustc 1.44.0-nightly (1edd389cc 2020-03-23)
binary: rustc
commit-hash: 1edd389cc4c7b5be7a3dd4fe4b986f6017018e54
commit-date: 2020-03-23
host: x86_64-pc-windows-gnu
release: 1.44.0-nightly
LLVM version: 9.0
```
Although I can stable reproduce it in every toolchain I have and playground (I'm not sure what version it uses).
|
A-closures,T-compiler,A-inference,C-bug
|
low
|
Critical
|
586,957,960 |
rust
|
Per-module control of overflow checks?
|
For arithmetic that happens inside Miri, I am quite paranoid that we may have an overflow issue, so I spent a lot of time last week-end to go over every occurrence of `+`/`-`/`*` and replace them all by `checked_*` operations. That has not made code more readable, and I am worried I might have missed some cases.
I am not sure if enabling overflow checks for all of rustc is realistic, so it would be great if that could be controlled on a per-module level: if I could set something like `#![enable_overflow_checks]` in the interpreter modules, I could sleep much more soundly as I would be sure we'd not have silently overflowing arithmetic -- and I wouldn't have to make the code unreadable by turning `(x * 2) + 1` into `x.checked_mul(2).unwrap().checked_add(1).unwrap()`.
Overflow checks are embedded into MIR, and it seems entirely possible to take module-level attributes into account during MIR building, so I think this is realistic.
(I am not sure if this should go into this repo or the RFC repo, feel free to move around.)
|
T-lang,C-feature-request
|
low
|
Minor
|
586,966,568 |
terminal
|
Mouse selection should begin and end at nearest cell boundary
|
<!--
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
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
<!--
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).
-->
For the intuitive highlighting behavior, and consistency with most other applications; when selecting text with the mouse, the two endpoints should be rounded to the _nearest vertical boundary_ between adjacent characters, and highlight/select whatever is between these two points; rather than necessarily including the character the mouse was clicked on / released at.
Note that this is for single click only. For double click, it's the characters under the click location and the release endpoint that should be expanded.
For more details, rationale etc. see for example https://github.com/kovidgoyal/kitty/issues/945.
|
Help Wanted,Area-TerminalControl,Product-Terminal,Issue-Task,In-PR,Priority-3
|
low
|
Critical
|
586,979,268 |
go
|
encoding/base64: imprecise error for the base64-decoding input with an invalid length
|
<!--
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 darwin/amd64
</pre>
### Does this issue reproduce with the latest release?
Yes
### What operating system and processor architecture are you using (`go env`)?
<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/jing/Library/Caches/go-build"
GOENV="/Users/jing/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/jing/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/opt/go/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/qd/wj_djys9219cyj4l9c2qw6g80000gn/T/go-build600458213=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>
### What did you do?
<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->
Run the following test case:
```Go
func TestBug(t *testing.T) {
if s, err := base64.URLEncoding.DecodeString("f"); err == nil {
t.Logf("base64 encoded string: %s", string(s))
} else {
t.Fatal(err)
}
}
```
### What did you expect to see?
An error message says that the length of the input data is not a multiple of 4 bytes.
### What did you see instead?
Error message: `illegal base64 data at input byte 0`
`f` is a valid base64-encode byte. The failure of the decoding is due to the fact that the length of the input data is not a multiple of 4 bytes.
|
NeedsInvestigation
|
low
|
Critical
|
587,030,535 |
excalidraw
|
[Brainstorm] Teams use case
|
Multiple people reached out to me telling me that they’d like to start using excalidraw for their company. They said that Figma and Notion had good support for teams.
I haven’t really used any of them so don’t know the details of what that means. Please comment with all the features that they provide that would make sense for excalidraw.
I don’t know yet if it makes sense to build it, but at least we’d get a better idea
|
discussion
|
low
|
Major
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.