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 |
---|---|---|---|---|---|---|
449,559,965 | pytorch | output values not same and much slower than Python API | ## Issue description
Hello, when I debug this project, input same images and output different values respectively in Python env. and in c++ env. . However, input torch::ones({1,1,224,224}) and output same values. Am I missing some details in bgr2tensor?
C++ API release is much slower than Python API in the same system environment. Inputting a (1,1,224,224) tensor resumes about 0.2 s/tensor in Python API inference.(ResNet18 replaced Conv1 and Linear Layers)However, it resumes about 1.9 s/tensor in C++ API inference. And I sure that loading model time is not included because I set clock_ts respectively at the beginning and the end of "auto output = module->forward(inputs).toTensor();". In addition, my gpu device is RTX2080Ti.
## Code example
void bgr2tensor(const char * path, torch::Tensor &output)
{
Mat img = imread(path, 0);
if (img.empty()) {
printf("load image failed!");
system("pause");
}
cv::resize(img, img, { 224,224 });
img.convertTo(img, CV_32F, 1.0 / 255.0);
//cv::cvtColor(img, img, cv::COLOR_BGR2RGB);
auto img_tensor = torch::from_blob(img.data, { 1,224,224,1 }, torch::kFloat32);// opencv H x W x C torch C x H x W
img_tensor = img_tensor.permute({ 0,3,1,2 });
//img_tensor = img_tensor.toType(torch::kFloat32);
//img_tensor = img_tensor.div(255);
//img_tensor[0][0] = img_tensor[0][0].sub_(0.485).div_(0.229);
//img_tensor[0][1] = img_tensor[0][1].sub_(0.456).div_(0.224);
//img_tensor[0][2] = img_tensor[0][2].sub_(0.406).div_(0.225);
output = img_tensor.clone();
}
int main()
{
..............
bgr2tensor("D:\\pic1\\Class10\\Class10\\Test\\0045.png", dog);
dog = dog.to(at::kCUDA);
at::Tensor output = module->forward({ dog }).toTensor();
...............
}
## System Info
Win10, Visual Studio 2017,OpenCV 3.4.6, libtorch withDebug/withRelease c++, CUDA10.1 cudnn7.5.1,CMake 3.14,ResNet 18 with Single Channel(Grey image)
| module: cpp,triaged | low | Critical |
449,562,439 | create-react-app | Update Verdaccio | Let's update Verdaccio once https://github.com/verdaccio/verdaccio/issues/1328 and https://github.com/verdaccio/verdaccio/issues/1329 are sorted. We had to work around these issues in a fork that @willsmythe created. See https://github.com/facebook/create-react-app/pull/7096 and https://github.com/ianschmitz/create-react-app/pull/2 for more context. | tag: internal | low | Minor |
449,591,667 | go | database/sql: prepare command is always sent again when executing a statement on a DB pool with multiple open connections | #### What did you do?
Executing a prepared sql query on a DB connection pool with at least 2 open connections always sends the `Prepare` command on two connections.
For reproducing the error, first enable general logging in your MySQL DB:
```
SET GLOBAL general_log = 'ON';
SET GLOBAL log_output = 'table';
```
Now, connect to your mysql DB:
```
package main
import (
"sync"
"database/sql"
_ "github.com/go-sql-driver/mysql"
)
db, err := sql.Open("mysql", "***:***@/***")
if err != nil {
panic(err.Error())
}
defer db.Close()
db.SetMaxIdleConns(10)
db.SetMaxOpenConns(10)
```
Then run some concurrent sql commands to make sure the pool has more than one open connection:
```
var wg = &sync.WaitGroup{}
for i := 0; i < 2; i++ {
wg.Add(1)
go func(i int) {
var stmt, err = db.Prepare("SELECT * FROM mytable WHERE id = ?")
if err != nil {
panic(err.Error())
}
defer stmt.Close()
_, err = stmt.Exec(1)
if err != nil {
panic(err.Error())
}
wg.Done()
}(i)
}
wg.Wait()
```
Now that we have at least two open connections, run a prepare and execute command on the DB:
```
var stmt, err = db.Prepare("SELECT * FROM mytable WHERE id = ?")
if err != nil {
panic(err.Error())
}
defer stmt.Close()
_, err = stmt.Exec(2)
if err != nil {
panic(err.Error())
}
```
#### What did you expect to see?
```
mysql> SELECT thread_id,command_type,argument FROM mysql.general_log;
+-----------+--------------+------------------------------------------+
| thread_id | command_type | argument |
+-----------+--------------+------------------------------------------+
| 78 | Prepare | SELECT * FROM mytable WHERE id = ? |
| 77 | Prepare | SELECT * FROM mytable WHERE id = ? |
| 78 | Execute | SELECT * FROM mytable WHERE id = 1 |
| 77 | Execute | SELECT * FROM mytable WHERE id = 1 |
| 78 | Close stmt |
| 77 | Close stmt |
| 78 | Prepare | SELECT * FROM mytable WHERE id = ? |
| 78 | Execute | SELECT * FROM mytable WHERE id = 2 |
| 78 | Close stmt |
| 78 | Quit |
| 77 | Quit |
+-----------+--------------+------------------------------------------+
```
#### What did you see instead?
```
mysql> SELECT thread_id,command_type,argument FROM mysql.general_log;
+-----------+--------------+------------------------------------------+
| thread_id | command_type | argument |
+-----------+--------------+------------------------------------------+
| 38 | Prepare | SELECT * FROM mytable WHERE id = ? |
| 38 | Execute | SELECT * FROM mytable WHERE id = 1 |
| 38 | Close stmt |
| 37 | Prepare | SELECT * FROM mytable WHERE id = ? |
| 38 | Prepare | SELECT * FROM mytable WHERE id = ? |
| 38 | Execute | SELECT * FROM mytable WHERE id = 1 |
| 38 | Close stmt |
| 37 | Close stmt |
| 37 | Prepare | SELECT * FROM mytable WHERE id = ? |
| 38 | Prepare | SELECT * FROM mytable WHERE id = ? |
| 38 | Execute | SELECT * FROM mytable WHERE id = 2 |
| 38 | Close stmt |
| 38 | Quit |
| 37 | Close stmt |
| 37 | Quit |
+-----------+--------------+------------------------------------------+
```
#### System details
```
mysql Ver 8.0.16 for Linux on x86_64 (MySQL Community Server - GPL)
```
```
go version go1.12.5 darwin/amd64
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/najani/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/najani/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
GOROOT/bin/go version: go version go1.12.5 darwin/amd64
GOROOT/bin/go tool compile -V: compile version go1.12.5
uname -v: Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64
ProductName: Mac OS X
ProductVersion: 10.14.1
BuildVersion: 18B75
lldb --version: lldb-1000.11.38.2
Swift-4.2
``` | help wanted,NeedsInvestigation | low | Critical |
449,615,978 | TypeScript | [site] looks like toc miss Utility Types and tsconfig.json has 2 |
1. toc miss Utility Types https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredt
2. tsconfig.json has 2





| Docs | low | Minor |
449,641,229 | rust | Rustc 1.34 on Solaris SPARC fails with - Expected no forward declarations! | I was able to build Rust 1.34 on Solaris SPARC without any issue. But when I try it to build Rust 1.35 it fails like this:
```
/builds/psumbera/rustc-1.34.0/bin//rustc --crate-name unicode_xid /builds/psumbera/userland-rust/components/rust/rustc/rustc-1.35.0-src-vendored-sources/unicode-xid/src/lib.rs --color always --crate-type lib --emit=dep-info,link -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' -C metadata=71eab7b4d85734ec -C extra-filename=-71eab7b4d85734ec --out-dir /builds/psumbera/userland-rust/components/rust/rustc/build/sparcv9/build/bootstrap/debug/deps -L dependency=/builds/psumbera/userland-rust/components/rust/rustc/build/sparcv9/build/bootstrap/debug/deps --cap-lints allow -Cdebuginfo=2
Expected no forward declarations!Expected no forward declarations!
!13 = <temporary!> !{}
scope points into the type hierarchy
!19 = !<temporary!> 15!{} =
!DILocation(Expected no forward declarations!scope points into the type hierarchyline:
Expected no forward declarations!
1, scope: !!424) = !20!DILocation(line
: 1, = Expected no forward declarations!<temporary!> !!{scope
: 32Expected no forward declarations! = !<temporary!> 4
)!{}
!
34scope points into the type hierarchy =
<temporary!> scope points into the type hierarchy!{scope points into the type hierarchy
}
!26
= !DILocation(line!: 16scope points into the type hierarchy! = 1297!DILocation(
34line = , : !DILocation(column!: line241, 8: 37column, 1scope: , = 35scope: , !DILocation(!scope: line: !: 4!131), )4
)
scope points into the type hierarchyscope
: scope points into the type hierarchy!!1227
) =
scope points into the type hierarchy!DILocation(
scope points into the type hierarchy!
line: 381297!!, 36! = column = 1838: <temporary!> !DILocation( = = 20line!{!DILocation(!DILocation(}, : 22linescopeline: : : 284
, 241!column4, , column)column: : :
1248, , , scope points into the type hierarchyscopescopescope: : !: !
!412scope points into the type hierarchy)13))
scope points into the type hierarchyscope points into the type hierarchy
!scope points into the type hierarchy28
= !DILocation(!!line41: 19 = 1298 = !DILocation(!, !DILocation(linecolumnline44!: : 37: 5 = 287242, , !DILocation( = scopecolumnline!DILocation(: , line: !column41: : 22: ), 5, 5column,
scope, scopescope: : 23: : , !!412))scope!: !
19
13)scope points into the type hierarchy)
scope points into the type hierarchy!42
= scope points into the type hierarchy!DILocation(line
: 284, column: !LLVM ERROR: 38LLVM ERROR: 21 = , !DILocation(linescope!: 46: = 27!12, !DILocation(columnline): : 1
325scope points into the type hierarchy, , scopecolumn
Broken function found, compilation aborted!: : !8Broken function found, compilation aborted!, 13!)scope43
: = !DILocation(!LLVM ERROR: 19lineBroken function found, compilation aborted!: )283,
scope points into the type hierarchycolumn: 8
, scope
:
!12)
pure virtual method called
pure virtual method called
terminate called recursively
terminate called without an active exception
pure virtual method called
terminate called recursively
Abort (core dumped)
```
Note that when I change in above line Rustc version to 1.33 it passes.
The generated core dump has following stack:
```
0007fff7398ec861 libc.so.1`__lwp_sigqueue+8(6, ffffffffffffffec, 7fff7398ed100, 5, 0, 0)
0007fff7398ec911 libc.so.1`abort+0xfc(1, 1210, 0, 1000, 0, 0)
0007fff7398ec9f1 libstdc++.so.6.0.24`__gnu_cxx::__verbose_terminate_handler+0x14c(0, 0, 0, 0, 0, 0)
0007fff7398ecab1 libstdc++.so.6.0.24`__cxxabiv1::__terminate+4(7fff7261bf1ec, 300001dc000, 1b, 0, 1, 194)
0007fff7398ecb61 libstdc++.so.6.0.24`std::terminate+0xc(1b, 7fff7261b4fc8, 1b, 0, 1, 7fff73e3b1a40)
0007fff7398ecc11 libstdc++.so.6.0.24`__cxa_pure_virtual+0x28(7fff728bec088, 7fff7398ed6ff, 1, 3567f8dd70, 6b5d509, 80)
0007fff7398eccc1 libLLVM-6.0.so`llvm::raw_ostream::write+0x160(7fff728bec088, 7fff7398ed6ff, 1, 648424d, 0, 7fff73bb04430)
0007fff7398ecd81 libLLVM-6.0.so`llvm::formatted_raw_ostream::write_impl+0x4c(7fff7398ed898, 7fff7398ed6ff, 1, 7fff73bb04430, 1, 7fff73bb04430)
0007fff7398ece41 libLLVM-6.0.so`llvm::raw_ostream::write+0xc4(7fff7398ed898, 21, 356800bc60, 7fff7398ed6f8, 7fff7398ed898, 7fff73bb04430)
0007fff7398ecf11 libLLVM-6.0.so`WriteAsOperandInternal.isra.778+0x26c(7fff7398ed898, 356806cd38, 7fff7398ed8d8, 356801df40, 2e, 7fff73bb04430)
0007fff7398ecfe1 libLLVM-6.0.so`printMetadataImpl+0x160(7fff728bec088, 356806cd38, 35683af930, 35681de470, 0, 7fff728b25da8)
0007fff7398ed161 libLLVM-6.0.so`llvm::Metadata::printconst+0x40(356806cd38, 7fff728bec088, 35683af930, 35681de470, 0, 7fff73bb04430)
0007fff7398ed221 libLLVM-6.0.so`llvm::VerifierSupport::Write.part.107+0x40(35683af920, 356806cd38, 7fff73bb04430, 0, 7fff728bec088, 7fff73bb04430)
0007fff7398ed2e1 libLLVM-6.0.so`.part.1042+0xb10(35683af920, 356806cd38, 0, 3568241560, 7fff73bb04430, fffffffffffffff8)
0007fff7398ed431 libLLVM-6.0.so`+0xdc(35683af920, 356806cd38, 0, 3567bdbe00, 20, 7fff73bb04430)
0007fff7398ed501 libLLVM-6.0.so`+0x1564(35683af920, 3568247dc8, fffffff, 1, 356806cd38, 7fff73bb04430)
0007fff7398ed6b1 libLLVM-6.0.so`+0x184(35683af920, 3568247dc8, 7fff7398edef8, 35681dbd90, 1, 7fff73bb04430)
0007fff7398ed781 libLLVM-6.0.so`.part.1265+0xcc8(35683af920, 3568235380, 35682473b8, fffffff, 3568247dc8, 3568247de0)
0007fff7398ed9d1 libLLVM-6.0.so`+0x208(35683af920, 35682318e8, 7fff73e2ebdc0, 3568231930, 7fff73bb04430, 3568231930)
0007fff7398edaa1 libLLVM-6.0.so`+0x34(3567b74440, 35682318e8, 0, 0, 0, 7fff73bb04430)
0007fff7398edb61 libLLVM-6.0.so`llvm::FPPassManager::runOnFunction+0x360(35682818d0, 35682318e8, 7fff73bb04430, 3, 35682818f0, 3567b74440)
0007fff7398edc71 libLLVM-6.0.so`llvm::FPPassManager::runOnModule+0x54(35682818d0, 35681de488, 0, 7fff73bb04430, 0, 3568231920)
0007fff7398edd31 libLLVM-6.0.so`llvm::legacy::PassManagerImpl::run+0x35c(356823e320, 35681de470, 1, 0, 35682818d0, 35682616d0)
0007fff7398ede21 libLLVM-6.0.so`llvm::legacy::PassManager::run+0x34(3567ba2940, 35681de470, 7fff7398ee7b8, 1, 1, 7fff73bb04430)
0007fff7398edee1 librustc_codegen_llvm-llvm.so`LLVMRustWriteOutputFile+0x1a0(35682155c0, 3567ba2940, 35681de470, 356822b970, 7fff7398ee7b8, 7fff73bb04430)
0007fff7398ee051 librustc_codegen_llvm-llvm.so`rustc_codegen_llvm::back::write::write_output_file::h06f62ffa85513e02.llvm.6134306529257019547+0x40(7fff7398ef0b0, 35682155c0, 3567ba2940,
35681de470, 356822aa00, 9c)
0007fff7398ee181 librustc_codegen_llvm-llvm.so`rustc_codegen_llvm::back::write::codegen::_$u7b$$u7b$closure$u7d$$u7d$::hb89b8dc96d0d6653.llvm.67276690187451607+0x33c(7fff7398eeb30,
7fff7398ef0b0, 35682155c0, 356822aa00, 35681de470, 3567ba2940)
0007fff7398ee271 librustc_codegen_llvm-llvm.so`rustc::util::common::time_ext::h203241132f3eb1ac+0x70(7fff7398eeb30, 0, 3567ba1cd0, 2b, 7fff7398eedb0, 7fff72fd84000)
0007fff7398ee381
librustc_codegen_llvm-llvm.so`_$LT$rustc_codegen_llvm..LlvmCodegenBackend$u20$as$u20$rustc_codegen_ssa..traits..write..WriteBackendMethods$GT$::codegen::h52f8e70916952150+0x97c(3567ba1cd0, 0, 7fff7398eed88, 7fff7398eed17, 3568075e00, 35681d7240)
0007fff7398ee651 librustc_codegen_llvm-llvm.so`rustc_codegen_ssa::back::write::execute_work_item::h9629fd05538e626e+0x11b4(35681ccf40, 3567b8aa20, 7fff7398ef508, 7fff7398ef598, 7fff7398ef300, 1)
0007fff7398eea31 librustc_codegen_llvm-llvm.so`std::sys_common::backtrace::__rust_begin_short_backtrace::h5c4ce3df3c5c3c41+0x1e4(7fff7398ef5c0, 7fff7398ef508, 7fff7398ef300, 7fff7398ef420,
7fff7398ef2f8, 0)
0007fff7398eee31 librustc_codegen_llvm-llvm.so`std::panicking::try::do_call::hd0b71df38ab7dc19.llvm.4807897764851716782+0x18(7fff7398efb88, 7fff7398ef6e8, 356822d0b0, 7fff7396ee000, 1,
3567f8eaa0)
0007fff7398ef071 libstd-78276fe13ee991a5.so`__rust_maybe_catch_panic+0x14(7fff72fae6700, 7fff7398efb88, 7fff7398efb78, 7fff7398efb80, 7fff73d644000, 0)
0007fff7398ef131 librustc_codegen_llvm-llvm.so`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h0a7257b312ec8281+0x94(7fff7398efb88, 7fff72fd84000, 35681e2e80, 7fff7398ef9e0,
1930, 0)
0007fff7398ef511 libstd-78276fe13ee991a5.so`std::sys_common::thread::start_thread::he12a8bd23d4ffc25+0xa8(7fff73e404000, 7fff72faa0efc, 3567b95f40, 2, 7fff73e3b1a40, ff000000)
0007fff7398ef5e1 libstd-78276fe13ee991a5.so`std::sys::unix::thread::Thread::new::thread_start::h0204f2da04a5dd90+4(3567b95f40, 0, 1, 7fff73d4c1f28, 0, 0)
0007fff7398ef691 libc.so.1`_lwp_start(0, 0, 0, 0, 0, 0)
``` | T-compiler,O-SPARC,O-solaris,C-bug | medium | Critical |
449,705,862 | vscode | Add support to distinguish between diagnostics created by a reconciler and a builder | Short summary: currently it is very hard to handle / merge diagnostics that come from to different source having the same owner. This either leads to stale problems or missing problems. For a lengthy discussion see https://github.com/Microsoft/vscode/issues/61140
Having support to distinguish between diagnostics create by a reconciler and a builder would help solve that problem. | feature-request,api,languages-diagnostics | low | Minor |
449,760,280 | flutter | Can't use TimeofDay in CupertinoApp due to MaterialLocalization | I'm using Cupertino Widgets in my App where I started from CupertinoApp. Now I'm using **TimeofDay.now** to print time. But it gives an Error of **MaterialLocalization** when I use the Code given below:
Because TimeofDay is only Present in **MaterialApp** but I dont want to import Material.dart or use Material Widgets. Can anyone help me to solve the material localization Error and Guide me how to use **TimeofDay.now** for **CupertinoApp.** Thanks. | framework,f: material design,a: internationalization,f: cupertino,has reproducible steps,P2,found in release: 3.3,found in release: 3.5,team-design,triaged-design | low | Critical |
449,762,149 | flutter | Support data layers, GeoJSON in google maps plugin | Hello.
I can't find data layers features and opportunity to display GeoJson.
Here is descriptions of these features:
https://developers.google.com/maps/documentation/android-sdk/utility/
https://github.com/googlemaps/android-maps-utils
https://developers.google.com/maps/documentation/javascript/datalayer
Here is illustrations on these features:


Do you plan to add these features to the Google Map plugin?
| c: new feature,customer: crowd,p: maps,package,c: proposal,team-ecosystem,P3,triaged-ecosystem | high | Critical |
449,770,808 | pytorch | Misleading Error when doing Large Batch Matrix Multiplication | ## 🐛 Bug
When doing Batch Matrix Multiplication in Pytorch 1.1.0, when too much memory is needed, instead of throwing a meaningful error (the way it was in previous versions e.g. Buy new RAM!),
`Pytorch RuntimeError: [enforce fail at CPUAllocator.cpp:56] posix_memalign(&data, gAlignment, nbytes) == 0. 12 vs 0` error is thrown as also mentioned [here](https://discuss.pytorch.org/t/pytorch-runtimeerror-enforce-fail-at-cpuallocator-cpp-56-posix-memalign-data-galignment-nbytes-0-12-vs-0/46072).
## Environment
PyTorch version: 1.1.0
Is debug build: No
CUDA used to build PyTorch: 10.0.130
OS: Ubuntu 18.04.2 LTS
GCC version: (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.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: GeForce RTX 2080 Ti
Nvidia driver version: 410.93
cuDNN version: Could not collect
Versions of relevant libraries:
[pip3] numpy==1.16.2
[conda] blas 1.0 mkl
[conda] botorch 0.1.0 pypi_0 pypi
[conda] gpytorch 0.3.2 pypi_0 pypi
[conda] mkl 2019.1 144
[conda] mkl-service 1.1.2 py37he904b0f_5
[conda] mkl_fft 1.0.10 py37ha843d7b_0
[conda] mkl_random 1.0.2 py37hd81dba3_0
[conda] pytorch 1.1.0 py3.7_cuda10.0.130_cudnn7.5.1_0 pytorch
[conda] torch-cluster 1.2.4 pypi_0 pypi
[conda] torch-geometric 1.1.2 pypi_0 pypi
[conda] torch-scatter 1.1.2 pypi_0 pypi
[conda] torch-sparse 0.2.4 pypi_0 pypi
[conda] torchvision 0.3.0 py37_cu10.0.130_1 pytorch
| module: cuda,triaged | low | Critical |
449,856,266 | go | reflect: decide, document whether custom Type implementations are supported | Does the reflect package support users who implement Type themselves?
https://golang.org/pkg/reflect/#Type has unexported methods, but it's still possible to implement it by embedding a reflect.Type and using the normal (`*rtype`) type.
The documentation doesn't say that it's not allowed, but apparently people do it:
https://godoc.org/gorgonia.org/tensor#Dtype
This apparently worked (enough? kinda?) at some point, and then we broke it, probably because we never imagined somebody would do this. That led to sending https://golang.org/cl/179338
This bug is to decide whether that's supported and to document. If it's supported, it needs tests.
/cc @ianlancetaylor @rsc @bcmills @randall77 @aclements @cherrymui | Documentation,NeedsDecision,compiler/runtime | low | Critical |
449,862,900 | pytorch | [JIT] Expose subgraph execution for intermediate output extraction | ## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
## Motivation
Let's suppose we have a model (e.g., `torchvision.models.resnet18()`. The user wants to extract a set of intermediate activations of this model (e.g., to get the output of `layer2` and `layer3`).
The current recommended way of extracting those intermediate outputs of a model generally involves having to rewrite the model so that it returns those outputs.
This is annoying, and makes it harder to compute only a subset of the model (e.g., I just want the output of `layer3`, so I don't need to compute `layer4` and the other layers).
There are several alternatives which only partially work:
- using hooks (doesn't work with the JIT, and always forward through the whole model)
- rewriting forward of the model
- using fragile hacks like [this one in torchvision](https://github.com/pytorch/vision/blob/master/torchvision/models/_utils.py)
One possiblity would be to allow `TorchScript` models to return arbitrary intermediate nodes in the graph (which is static).
One possible API could be
```python
model = torch.jit.script(resnet18(), outputs=['layer3._6', 'layer4._3'])
# model now stops at layer4, and returns a tuple / dict
out1, out2 = model(input)
```
One complication is that we would need to know the name of the output tensors that script uses, which I believe is not guaranteed to be consistent between versions. But we could name the return values of all functions / modules in a consistent way (like `output`), so that the users can just do
```python
model = torch.jit.script(resnet18(), outputs=['layer3.output', 'layer4.2.output'])
```
Plus, with this we might even be able to let the user specify the starting point of the graph, so that he can skip parts of the model
```python
model = torch.jit.script(resnet18(), inputs=['layer3.output'], outputs=['fc'])
# now model only goes from layer3 to fc, and input
# is fed directly to layer3.output
output = model(input)
```
even though I'm not sure there is as much interest on such functionality
## Pitch
A simple, easy and robust way to perform intermediate feature extraction in PyTorch that doesn't require rewriting the forward pass.
## Alternatives
The alternatives are not great IMO:
- rewrite the forward pass
- use hooks (and thus no JIT)
- use hacks like [this](https://github.com/pytorch/vision/blob/master/torchvision/models/_utils.py)
cc @suo @gmagogsfm | oncall: jit,enhancement,TSUsability,TSRootCause:PoorIRVisibility | medium | Major |
449,882,752 | PowerToys | Temporary File Bin | If a user can drag and drop a file in corner of a screen to keep a reference to it there to open or copy or drag and drop later, would be very handy.
Check out [Unclutter](https://unclutterapp.com/panels/files/). This actually has 3 things: clipboard manager (apparently MS is working on one, hope it's any good), file bin, and notes. I'm interested in file bin specially.
It should have basic functionality like keyboard navigation, search functionality, preview etc.
 | Idea-New PowerToy | low | Major |
449,888,113 | PowerToys | [Shortcut Guide] Show All Application Shortcuts | A hot key that can show all the applications shortcuts, so it makes it easier to remember them. E.g. you press that and it shows this window.

It should be able to find all the application's shortcuts which is in focus and list them.
[ergonis KeyCue](https://www.ergonis.com/products/keycue/) is a product on a Mac that does this | Idea-Enhancement,Idea-New PowerToy,Product-Shortcut Guide,Status-In progress | medium | Major |
449,922,045 | rust | NLL exponential(?) increase in compile times when nesting borrowed futures | When nesting futures in the pattern:
```
trait Foo<'a> {
fn get_unit(&'a self) -> Box<dyn Future<Item=(), Error=Box<dyn Error+'a>> + 'a>;
fn foo(&'a self) -> Box<dyn Future<Item=Vec<()>, Error=Box<dyn Error+'a>> + 'a> {
Box::new(
self.get_unit().and_then(move |unit1| {
self.get_unit().and_then(move |unit2| {
...
```
I get a blow up in complation times at around n = 10 or 11.
N = 9 takes 15 seconds, N = 10 takes 83 seconds, and N = 11 takes 18 minutes.
Switching things to the static lifetime make the times reasonable again.
Playground link showing the full example: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=136faa5e507b53e587480d23f9fc87d8
It happens on both nightly and stable. I ran with `cargo rustc -- -Z time-passes` and got:
```
...
time: 0.862 item-bodies checking
time: 0.029 rvalue promotion + match checking
time: 0.002 liveness checking + intrinsic checking
time: 0.031 misc checking 2
time: 0.000 borrow checking
time: 0.000 solve_nll_region_constraints(DefId(0:38 ~ my_crate[cd01]::async_mod[0]::Foo[0]::get_unit[0]))
time: 0.000 solve_nll_region_constraints(DefId(0:50 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]))
time: 0.000 solve_nll_region_constraints(DefId(0:49 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]))
time: 0.000 solve_nll_region_constraints(DefId(0:48 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]))
time: 0.001 solve_nll_region_constraints(DefId(0:47 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]))
time: 0.006 solve_nll_region_constraints(DefId(0:46 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]))
time: 0.040 solve_nll_region_constraints(DefId(0:45 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]))
time: 0.207 solve_nll_region_constraints(DefId(0:44 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]))
time: 1.486 solve_nll_region_constraints(DefId(0:43 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]::{{closure}}[0]))
time: 13.384 solve_nll_region_constraints(DefId(0:42 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]::{{closure}}[0]))
time: 124.880 solve_nll_region_constraints(DefId(0:41 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]::{{closure}}[0]))
time: 0.000 solve_nll_region_constraints(DefId(0:40 ~ my_crate[cd01]::async_mod[0]::Foo[0]::foo[0]))
time: 143.577 MIR borrow checking
...
Finished dev [unoptimized + debuginfo] target(s) in 2m 28s
```
| I-compiletime,A-borrow-checker,T-compiler,A-NLL,C-bug,NLL-performant | low | Critical |
449,937,301 | go | x/build: set up Gerrit latency monitoring | I regularly encounter Gerrit latency & server errors lately but my bug reports to the team are rarely found to be detailed enough to be actionable or reproducible, or are viewed as anecdotal.
We should probably start gathering our own data on Gerrit latency & reliability with enough data to file actionable bug reports.
We could also use said data to see if Gerrit is getting better or worse over time, and to inform any migration decisions we make in the future.
Maybe just set up our own Stackdriver probers from a number of regions?
/cc @dmitshur | Builders,NeedsInvestigation | low | Critical |
449,977,827 | rust | Musl linker regression: undefined reference to X | ... where X is things like 'printf', i.e. symbols that clearly should exist.
This looks similar to other reported bugs, particularly https://github.com/rust-lang/rust/issues/58163, but this one a) used to work until Rust 1.32 and b) is not embedded/no-std.
Using my `nlopt` library to reproduce. You will need `musl` installed. I am running linux/ubuntu 18.04. Disclaimer: I am no expert and I may have completely messed up how linking etc is supposed to be done.
```
uname -srv
> Linux 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019
git clone https://github.com/jesskfullwood/rust-nlopt
cd rust-nlopt
git checkout 33867
```
It works on this nightly:
```
rustup default nightly-2018-11-09
rustup target add x86_64-unknown-linux-musl
cargo clean && cargo test --target=x86_64-unknown-linux-musl
<tests pass>
```
But barfs on the next nightly:
```
rustup default nightly-2018-11-10
rustup target add x86_64-unknown-linux-musl
cargo clean && cargo test --target=x86_64-unknown-linux-musl
```
with the following:
```
error: aborting due to previous error
error: Could not compile `nlopt`.
warning: build failed, waiting for other jobs to finish...
error: build failed
Compiling autocfg v0.1.4
Compiling cc v1.0.37
Compiling num-traits v0.2.8
Compiling num-integer v0.1.41
Compiling num-iter v0.1.39
Compiling cmake v0.1.40
Compiling nlopt v0.5.1 (/tmp/rust-nlopt)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-Wl,--eh-frame-hdr" "-m64" "-nostdlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crt1.o" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crti.o" "-L" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.14s2lheoldkje1zl.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.1bfyca7a66fh03ff.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.1ejxjx9qzw1ofj02.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.1n0ti6hpbbgtpp4z.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.1ukutu1unhj01np4.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.208cfp4j1odm6m.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.2745i3y0bgggfjwk.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.2grpigfweo3wxdu8.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.2ih6i921axz5pgnz.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.2n4ylmz66rkoudwl.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.30azlphyz0kybejb.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.38qu6bor0nolqc2r.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.3eyi8it1pjw27v13.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.3w85went8cld85o6.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.3ytbt54x8n96t06f.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.48notlrrz2lbiurk.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.4bfnimi5qjjtua8c.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.4hm8svgbs5b1kyrk.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.4kjuqsgnulx4m1ie.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.4mmlshz1v32xcre1.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.4sdp19mllypu8ug8.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.4taymo7lm3kum6xn.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.558jj00qf16ji6df.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.5cjzludnbcp9nfqs.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.9nud5ngp9ki3eh1.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.ar2if93dwawmlri.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.h9wf4l9h2p8bbr5.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.n1q5b6do3g3diad.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.qn1upqn7sme4b1a.rcgu.o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.v3owoque0qy03dw.rcgu.o" "-o" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/examples/bobyqa-0682eb7b948640a5.1ty8hmhu2u3mgb5a.rcgu.o" "-Wl,--gc-sections" "-no-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/deps" "-L" "/tmp/rust-nlopt/target/debug/deps" "-L" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib" "-L" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib64" "-L" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/deps/libnum_iter-2954ee9e83fb6868.rlib" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/deps/libnum_integer-93226606e5fd3689.rlib" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/deps/libnum_traits-139d05e55d3b65d2.rlib" "/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/deps/libnlopt-e7f258d63c4f98ca.rlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-4e91f42d53bc51fa.rlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-df141ca967efcefb.rlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libunwind-196b7ce4dc743d20.rlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc_system-803b7984275cae77.rlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-93b2e38ef7f09e53.rlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-13730a716946b8e6.rlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-1ac500a2d5e8ab22.rlib" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-b4f8b059041e6a22.rlib" "-Wl,-Bdynamic" "-lnlopt" "-lnlopt" "-static" "/home/jess/.rustup/toolchains/nightly-2018-11-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crtn.o"
= note: /tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(timer.c.o): In function `nlopt_seconds':
/tmp/rust-nlopt/nlopt-2.5.0/src/util/timer.c:49: undefined reference to `gettimeofday'
/tmp/rust-nlopt/nlopt-2.5.0/src/util/timer.c:51: undefined reference to `gettimeofday'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(timer.c.o): In function `nlopt_time_seed':
/tmp/rust-nlopt/nlopt-2.5.0/src/util/timer.c:82: undefined reference to `gettimeofday'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(stop.c.o): In function `nlopt_istiny':
/tmp/rust-nlopt/nlopt-2.5.0/src/util/stop.c:194: undefined reference to `__fpclassify'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(pssubs.c.o): In function `luksan_pulvp3__':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/luksan/pssubs.c:747: undefined reference to `copysign'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(mlsl.c.o): In function `mlsl_minimize':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mlsl/mlsl.c:378: undefined reference to `log'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mlsl/mlsl.c:382: undefined reference to `ceil'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(mma.c.o): In function `mma_minimize':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/mma.c:282: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/mma.c:285: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/mma.c:322: undefined reference to `puts'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/mma.c:364: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/mma.c:366: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/mma.c:378: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/mma.c:382: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/mma.c:394: undefined reference to `printf'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(ccsa_quadratic.c.o): In function `dual_func':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:126: undefined reference to `copysign'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(ccsa_quadratic.c.o): In function `ccsa_quadratic_minimize':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:436: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:439: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:471: undefined reference to `puts'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:512: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:514: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:526: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:530: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/mma/ccsa_quadratic.c:544: undefined reference to `printf'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(cobyla.c.o): In function `cobylb':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/cobyla/cobyla.c:621: undefined reference to `fputc'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/cobyla/cobyla.c:1197: undefined reference to `fputc'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/cobyla/cobyla.c:1237: undefined reference to `fputc'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(newuoa.c.o): In function `bigden_':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/newuoa/newuoa.c:573: undefined reference to `atan'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(newuoa.c.o): In function `biglag_':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/newuoa/newuoa.c:1117: undefined reference to `atan'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(sbplx.c.o): In function `sbplx_minimize':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/neldermead/sbplx.c:161: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/neldermead/sbplx.c:182: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/neldermead/sbplx.c:228: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/neldermead/sbplx.c:231: undefined reference to `copysign'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(auglag.c.o): In function `auglag_minimize':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:183: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:184: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:185: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:186: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:187: undefined reference to `putchar'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:198: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:206: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:244: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:246: undefined reference to `printf'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:247: undefined reference to `printf'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(auglag.c.o):/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:248: more undefined references to `printf' follow
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(auglag.c.o): In function `auglag_minimize':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/auglag/auglag.c:249: undefined reference to `putchar'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(isres.c.o): In function `isres_minimize':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/isres/isres.c:93: undefined reference to `ceil'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/isres/isres.c:242: undefined reference to `exp'
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/isres/isres.c:268: undefined reference to `exp'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(esch.c.o): In function `randcauchy':
/tmp/rust-nlopt/nlopt-2.5.0/src/algs/esch/esch.c:39: undefined reference to `tan'
/tmp/rust-nlopt/target/x86_64-unknown-linux-musl/debug/build/nlopt-c7a0f04735c5c50a/out/lib/libnlopt.a(mt19937ar.c.o): In function `nlopt_nrand':
/tmp/rust-nlopt/nlopt-2.5.0/src/util/mt19937ar.c:230: undefined reference to `log'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile `nlopt`.
warning: build failed, waiting for other jobs to finish...
error: build failed
``` | A-linkage,T-compiler,O-musl,C-bug | low | Critical |
449,983,327 | go | syscall: Windows Errno constants invalid | These constants: https://golang.org/src/syscall/types_windows.go#L7
Should appear in these constants: https://golang.org/src/syscall/zerrors_windows.go#L16
... because the latter are currently useless for comparison with Errno values, unlike other supported OSes. For example `err.(*os.PathError).Err == syscall.ENOTEMPTY` is never true on Windows.
Filed at request of @rsc
@gopherbot add OS-Windows | help wanted,OS-Windows,NeedsFix | medium | Critical |
449,987,242 | kubernetes | OIDC cache returns old token even after the expiration of refresh token in k8s go-client oidc auth provider | <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
If the matter is security related, please disclose it privately via https://kubernetes.io/security/
-->
**What happened**:
When a client's oidc token has expired, even on passing the latest token to create a client, newOIDCAuthProvider() returns the old client with the expired tokens.
In https://github.com/kubernetes/client-go/blob/79226fe1949a01066ee9e3a3f4c53546d72e1194/plugin/pkg/client/auth/oidc/oidc.go#L122
newOIDCAuthProvider()
Cached Client is retrieved as shown below
// Check cache for existing provider.
if provider, ok := cache.getClient(issuer, clientID); ok {
return provider, nil
}
However, when after token expiration, when we make a new call to create a client, the refresh token would be different. Since we use (key := cacheKey{issuer, clientID}) as cached key in this case it will still return old token.
**What you expected to happen**:
On passing the new refresh token, the code should return new client
**How to reproduce it (as minimally and precisely as possible)**:
1. Create a go-client to a cluster with oidc based auth
2. Use the client for cluster based operations, this verifies client works.
3. Do not stop the process using the client.
4. After the token expiry, the code will use the new Kubeconfig with the new token to create a new client.
5. Use the client for cluster based operation. It will fail with token expired error.
**Anything else we need to know?**:
Similar issue opened few years back.
https://github.com/kubernetes/client-go/issues/268
**Environment**:
- Go client version.
`@k8s.io/client-go` v11.0.0
- Kubernetes version (use `kubectl version`):
1.14.1
- Cloud provider or hardware configuration:
- OS (e.g: `cat /etc/os-release`):
Ubuntu
- Kernel (e.g. `uname -a`):
4.15.0-1037-aws
- Install tools:
- Network plugin and version (if this is a network-related bug):
- Others:
/sig auth
@liggitt | kind/bug,priority/important-soon,sig/auth,help wanted,lifecycle/frozen | medium | Critical |
449,998,790 | flutter | [web] Implement production and test entry point embedders | On the Web we need to initialize the page for Flutter's consumption, such as load fonts, configure `<meta>` viewport tags, and so on. Let's call such initialization code an "embedding" of Flutter. We currently have two such embeddings:
- **Production embedding**: prepares a web-page for running an app normally. This is the embedding you get when you run `flutter run`.
- **Test embedding**: prepares a web-page for running a test. The test embedding hardcodes some things irrespective of the actual browser window, such as default to device pixel ratio of 3.0, and replace all fonts with the "Ahem" font.
We need to implement these two embeddings such that user code does not need to altered to run on the web. For example, user-written code should not call `ensureTestPlatformInitializedThenRunTest`, or `webOnlyInitializeTestDomRenderer`. | tool,engine,platform-web,P2,team-web,triaged-web | low | Minor |
450,029,491 | go | x/build: alert on "bad" logs | We should get alerts if we see new/many "bad" log messages from our various services.
For some definition of new, many, and bad.
Maybe bad could mean it has "error" in it. Or a dozen other phrases.
(forking from https://go-review.googlesource.com/c/build/+/179419/1/cmd/coordinator/gce.go#b193 )
/cc @bcmills @dmitshur | Builders,NeedsFix | low | Critical |
450,029,524 | vscode | Make `editor.gotoLocation.multiple: "goto"` state UX more discoverable | **Steps to Reproduce:**
1. Set `"editor.gotoLocation.multiple": "goto"`
2. `f12` on `IFileService` in https://github.com/microsoft/vscode/blob/87d3f3e77b5c7108babf8e86f70eedac5820bba2/src/vs/platform/files/common/files.ts#L20
**Request**
We currently show the navigation state in the status bar:

This is not very discoverable the first time you use this feature. It can also be hidden if you have terrible status bar cramping:

<!-- Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes
| ux,under-discussion,editor-symbols | low | Minor |
450,043,912 | go | time: enhancement: parse ISO 8601-formatted durations | ISO 8601 provides a standard for representing time durations in a human-readable format:
https://en.wikipedia.org/wiki/ISO_8601#Durations
Could we offer a method for parsing ISO 8601 formatted durations, similar to how the Go time library parses ISO 8601 instantaneous points in dates and times? | NeedsInvestigation,FeatureRequest | low | Major |
450,066,595 | go | net/http: reading from hijacked bufio.Reader should not cause r.Context to be cancelled | I was working on https://nhooyr.io/websocket when I noticed that when the connection returned from Hijack is closed, r.Context() is cancelled. This is bizarre behaviour given after Hijack, there should be no way for net/http to cancel the request context. After all, how could it know the connection is closed?
I tracked down the issue to the bufio.Reader returned from Hijack. When a read errors, it causes r.Context to become cancelled.
In my library I'm using the returned bufio.Reader for all reads. When a goroutine would close the connection, another goroutine would read from the connection and so due to this [line](https://github.com/golang/go/blob/cd24849e8b6c8a8079613cdb8a61fcc3e24f2154/src/net/http/server.go#L790), the context would be cancelled.
I think its best that reads on the bufio.Reader not cause r.Context to be cancelled as after Hijack, net/http should not be involved at all. | NeedsFix | low | Critical |
450,078,698 | TypeScript | Type narrowing in checked JS in module scope doesn't work | **TypeScript Version:** 3.4.5
**Search Terms:** JS, Narrowing, Module Scope
**Code**
```ts
// In file1.d.ts ======================
declare class Example1 {
private constructor();
public has(value: string): boolean;
}
interface Example2 {
id: string;
doSomething(key: string): void;
}
interface Example2Static {
readonly prototype: Example2;
(id: string): Example2;
}
declare const Example2: Example2Static;
declare const Reader: {
get: (name: string) => string | boolean | null | Example1 | Example2;
}
// In file2.js ===================
const inModuleScope = Reader.get('approved');
// In JS with allowJs and checkJs on, this DOES NOT narrow
if (inModuleScope instanceof Example1) {
inModuleScope.has('blah');
} else if (inModuleScope instanceof Example2) {
inModuleScope.doSomething('hi');
}
(function () {
// In JS with allowJS and checkJS on, `val` below DOES narrow
// It's even possible to narrow `inModuleScope`
const val = Reader.get('approved');
if (val instanceof Example1) {
val.has('blah');
} else if (val instanceof Example2) {
val.doSomething('hi');
}
})();
```
**Expected behavior:**
The `inModuleScope` type guards should narrow `inModuleScope` so the two calls are valid inside the if and else-if blocks.
**Actual behavior:**
`inModuleScope` won't narrow unless inside a function. However, it will narrow in TS.
**Playground Link:** [Link, but this won't demonstrate the bug because `checkJS` is needed](https://www.typescriptlang.org/play/index.html#src=%2F%2F%20In%20file1.d.ts%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0Adeclare%20class%20Example1%20%7B%0D%0A%20%20%20%20private%20constructor()%3B%0D%0A%20%20%20%20public%20has(value%3A%20string)%3A%20boolean%3B%0D%0A%7D%0D%0A%0D%0Ainterface%20Example2%20%7B%0D%0A%20%20%20%20id%3A%20string%3B%0D%0A%20%20%20%20doSomething(key%3A%20string)%3A%20void%3B%0D%0A%7D%0D%0A%0D%0Ainterface%20Example2Static%20%7B%0D%0A%20%20%20%20readonly%20prototype%3A%20Example2%3B%0D%0A%20%20%20%20(id%3A%20string)%3A%20Example2%3B%0D%0A%7D%0D%0A%0D%0Adeclare%20const%20Example2%3A%20Example2Static%3B%0D%0A%0D%0Adeclare%20const%20Reader%3A%20%7B%0D%0A%20%20%20%20get%3A%20(name%3A%20string)%20%3D%3E%20string%20%7C%20boolean%20%7C%20null%20%7C%20Example1%20%7C%20Example2%3B%0D%0A%7D%0D%0A%0D%0A%2F%2F%20In%20file2.js%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0Aconst%20inModuleScope%20%3D%20Reader.get('approved')%3B%0D%0A%0D%0A%2F%2F%20In%20JS%20with%20allowJs%20and%20checkJs%20on%2C%20this%20DOES%20NOT%20narrow%0D%0Aif%20(inModuleScope%20instanceof%20Example1)%20%7B%0D%0A%20%20%20%20inModuleScope.has('blah')%3B%0D%0A%7D%20else%20if%20(inModuleScope%20instanceof%20Example2)%20%7B%0D%0A%20%20%20%20inModuleScope.doSomething('hi')%3B%0D%0A%7D%0D%0A%0D%0A(function%20()%20%7B%0D%0A%20%20%20%20%2F%2F%20In%20JS%20with%20allowJS%20and%20checkJS%20on%2C%20%60val%60%20below%20DOES%20narrow%0D%0A%20%20%20%20%2F%2F%20It's%20even%20possible%20to%20narrow%20%60inModuleScope%60%0D%0A%20%20%20%20const%20val%20%3D%20Reader.get('approved')%3B%0D%0A%20%20%20%20if%20(val%20instanceof%20Example1)%20%7B%0D%0A%20%20%20%20%20%20%20%20val.has('blah')%3B%0D%0A%20%20%20%20%7D%20else%20if%20(val%20instanceof%20Example2)%20%7B%0D%0A%20%20%20%20%20%20%20%20val.doSomething('hi')%3B%0D%0A%20%20%20%20%7D%0D%0A%7D)()%3B)
**Related Issues:** None found
| Bug | low | Critical |
450,099,502 | terminal | Replace use of raw deletable pointers in readDataCooked with shared/weak ptrs | # Summary of the new feature/enhancement
In Module Name (readDataCooked.hpp), there is a // TODO MSFT
// TODO MSFT:11285829 make this something other than a deletable pointer
// non-ownership pointer
CommandHistory* _commandHistory;
# Proposed technical implementation details (optional)
In project Host, I would like to encapsulate the _commandHistory raw pointer to CommandHistory as a std::shared_ptr<CommandHistory>.
I am learning the Host project and I think I can do it.
The main change propagation problem is that:
`
CommandHistory& COOKED_READ_DATA::History() noexcept
{
return *_commandHistory;
}
`
Should I transform it as a :
`
std::shared_ptr<CommandHistory> COOKED_READ_DATA::History() noexcept
{
return _commandHistory; // assume it's a shared_ptr<>
}
`
or should I return a weak_ptr... I would be dirty ! What is your opinion ? The History() fn is used to get the reference and some function use the reference. It's not a problem to change the reference as a shared_ptr, its just the fact I need to make more job. The idea is to be clean so I would prefer to propagate shared_ptr. For a ISO C++, it's better. weak_ptr should be used for legacy stuff thunking layers stuff but for new C++ project, unique_ptr<> & shared_ptr<> everywhere is the rule.
Tell me and I can do it.
There are changes to propagate because the pointer is used as that (Find In Files):
Code File Line Column
_commandHistory{ CommandHistory }, D:\Dev\Terminal\src\host\readDataCooked.cpp 64 5
return _commandHistory != nullptr; D:\Dev\Terminal\src\host\readDataCooked.cpp 142 12
return *_commandHistory; D:\Dev\Terminal\src\host\readDataCooked.cpp 147 13
if (_commandHistory) D:\Dev\Terminal\src\host\readDataCooked.cpp 387 9
if (_commandHistory) D:\Dev\Terminal\src\host\readDataCooked.cpp 1025 17
LOG_IF_FAILED(_commandHistory->Add({ _backupLimit, StringLength / sizeof(wchar_t) }, D:\Dev\Terminal\src\host\readDataCooked.cpp 1029 31
CommandHistory* _commandHistory; D:\Dev\Terminal\src\host\readDataCooked.hpp 142 21
cookedReadData._commandHistory = pHistory; D:\Dev\Terminal\src\host\ut_host\CommandLineTests.cpp 81 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 113 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 157 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 198 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 239 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 277 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 315 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 355 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 386 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 417 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 459 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 498 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandListPopupTests.cpp 543 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandNumberPopupTests.cpp 92 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandNumberPopupTests.cpp 137 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandNumberPopupTests.cpp 166 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandNumberPopupTests.cpp 214 28
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CommandNumberPopupTests.cpp 260 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CopyToCharPopupTests.cpp 91 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CopyToCharPopupTests.cpp 126 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CopyToCharPopupTests.cpp 157 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CopyToCharPopupTests.cpp 197 24
cookedReadData._commandHistory = m_pHistory; D:\Dev\Terminal\src\host\ut_host\CopyToCharPopupTests.cpp 238 24
| Product-Conhost,Area-Server,Issue-Task,Area-CodeHealth | low | Critical |
450,132,584 | pytorch | [RFC] Adding MKL-DNN Int8 functions to PyTorch/Aten/JIT backend |
Migrate the Caffe2/MKL-DNN int8 operation to support Aten/JIT backend and align with Qint8 direction in Pytorch/Aten
Motivation
With Cascadelake/VNNI, MKL-DNN int8 functions can speedup DL models can up to 4x. With this proposal, we plan to make IA's int8 function available to broader Pytorch community through integrating to the Pytorch/Aten/JIT backend following the Qint8 tensor design. The MKL-DNN Int8 operations are already in the caffe2 backend, and this proposal is to bring the capability to Aten backend. The MKL-DNN int8 functions are tuned for Skylake and Cascadelake/VNNI.
Performance result varies according to the workload/hardware/environment setting. For vision models, we expect ~1.3x for skylake and ~2x for cascadelake. For particular models like Resnet-50, we expect higher gains like ~1.8x and ~3x.
Pitch
Speedup Pytorch model on IA with latest CPU instructions for deep learning (AVX512 and VNNI)
Additional context
We plan to extend the MKLDNN opaque tensor design to support a new tensor type (Qint8) so with a new tensor type id: MkldnnCPUQInt8. We also extend the tensor methods to_mkldnn/to_dense to handle the conversion from QuantizedCPUQInt8 to MkldnnCPUQInt8, and linear_quantize/dequantize to handle the conversion between MkldnnCPUFloat and MkldnnCPUQInt8. Methods q_scale/q_zero_point are supported.
Following the QINT8 design, we also plan to add the MKL-DNN INT8 optimization pass for JIT, and share the same calibration algorithm as Qtensor. We may contribute INT8 recipes for MKL-DNN Int8.
cc @suo @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jerryzh168 @dzhulgakov @raghuramank100 @jamesr66a | oncall: jit,oncall: quantization,triaged,module: mkldnn | low | Major |
450,171,592 | go | cmd/go: create GOTMPDIR if not present | Current go tip if $GOTMPDIR does not exists on disk, go command fails with:
`go: creating work dir: stat /path/to/gotmp: no such file or directory`
I expected cmd/go to MkdirAll before failing as it does to $GOCACHE and $GOPATH
| NeedsFix,FeatureRequest | low | Minor |
450,171,723 | pytorch | [cmake build] can't build pytorch with install mkl library | ### pytorch can't be built with installed mkl library
- PyTorch version : master branch
- OS : CentOS-7.5
I had installed intel `MKL`. So when I built `pytorch` from the scratch, the build system couldn't find the installed `MKL` libraries.
I found the mkl-related module, which was `cmake/Modules/FindMKL.cmake` . `MKL`-related enviroments were set to default path as the following:
``` cmake
32 # Intel Compiler Suite
33 SET(INTEL_COMPILER_DIR "/opt/intel" CACHE STRING
34 "Root directory of the Intel Compiler Suite (contains ipp, mkl, etc.)")
35 SET(INTEL_MKL_DIR "/opt/intel/mkl" CACHE STRING
36 "Root directory of the Intel MKL (standalone)")
37 SET(INTEL_MKL_SEQUENTIAL OFF CACHE BOOL
38 "Force using the sequential (non threaded) libraries")
39 SET(INTEL_MKL_TBB OFF CACHE BOOL
40 "Force using TBB library")
```
In this way, I couldn't build `pytorch` through `setup.py` with the installed `MKL` libraries. Is there any effective method to build `pytorch` with installed `MKL`.
### What I did to build with installed `MKL`
In order to build `pytorch` with installed `MKL` and accept environments from the command line, I did modify the `cmake/Modules/FindMKL.cmake` as the following:
``` cmake
--- a/cmake/Modules/FindMKL.cmake
+++ b/cmake/Modules/FindMKL.cmake
@@ -30,13 +30,13 @@ INCLUDE(CheckTypeSize)
INCLUDE(CheckFunctionExists)
# Intel Compiler Suite
-SET(INTEL_COMPILER_DIR "/opt/intel" CACHE STRING
+SET(INTEL_COMPILER_DIR ${INTEL_COMPILER_DIR} CACHE STRING
"Root directory of the Intel Compiler Suite (contains ipp, mkl, etc.)")
-SET(INTEL_MKL_DIR "/opt/intel/mkl" CACHE STRING
+SET(INTEL_MKL_DIR ${INTEL_MKL_DIR} CACHE STRING
"Root directory of the Intel MKL (standalone)")
-SET(INTEL_MKL_SEQUENTIAL OFF CACHE BOOL
+SET(INTEL_MKL_SEQUENTIAL ${INTEL_MKL_SEQUENTIAL} CACHE BOOL
"Force using the sequential (non threaded) libraries")
-SET(INTEL_MKL_TBB OFF CACHE BOOL
+SET(INTEL_MKL_TBB ${INTEL_MKL_TBB} CACHE BOOL
"Force using TBB library")
```
And to accept the environments from the command line, the file `tools/build_pytorch_libs.py` was modified as the following:
```
--- a/tools/build_pytorch_libs.py
+++ b/tools/build_pytorch_libs.py
@@ -228,6 +228,18 @@ def run_cmake(version,
if os.getenv('MKL_TBB'):
cmake_defines(cmake_args, INTEL_MKL_TBB=check_env_flag('MKL_TBB'))
+ if os.getenv('INTEL_COMPILER_DIR'):
+ cmake_defines(cmake_args, INTEL_COMPILER_DIR=os.getenv('INTEL_COMPILER_DIR'))
+
+ if os.getenv('INTEL_MKL_DIR'):
+ cmake_defines(cmake_args, INTEL_MKL_DIR=os.getenv('INTEL_MKL_DIR'))
+
+ if os.getenv('INTEL_MKL_SEQUENTIAL'):
+ cmake_defines(cmake_args, INTEL_MKL_SEQUENTIAL=check_env_flag('INTEL_MKL_SEQUENTIAL'))
+
+ if os.getenv('INTEL_MKL_TBB'):
+ cmake_defines(cmake_args, INTEL_MKL_TBB=check_env_flag('INTEL_MKL_TBB'))
+
mkldnn_threading = os.getenv('MKLDNN_THREADING')
if mkldnn_threading:
cmake_defines(cmake_args, MKLDNN_THREADING=mkldnn_threading) | module: build,triaged | low | Minor |
450,232,238 | node | Clear sockets perform worse than TLS socket in some cases | <!--
Thank you for reporting a possible bug in Node.js.
Please fill in as much of the template below as you can.
Version: output of `node -v`
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
Subsystem: if known, please specify the affected core module name
If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you can.
-->
* **Version**: v13.0.0-pre
* **Platform**: Linux tufopad 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
* **Subsystem**: net
<!-- Please provide more details below this comment. -->
While writing and performing tests for [this issue](https://github.com/nodejs/node/issues/20263) opened by @alexfernandez and [fixed](https://github.com/nodejs/node/pull/27861) by @jmendeth, I noticed that in some cases, clear connections seem to perform worse than TLS connections, specially after the fix that enhances significantly the performance of the TLS connections. I will patch the existing secure-pair benchmark test to expose the issue.
The performance of clear connections seems to be the same across node versions (I've tested it in node 8, 10 and 13-pre). This means that this issue is not a regression, but an enhancement, and the fix needed is probably very similar to the one that solved the secure-pair performance issue. | performance | low | Critical |
450,246,579 | PowerToys | Smooth per pixel scrolling | I'd like a smoother scrolling experience similar to what macOS offers. For example, I am using a Performance MX which has a feature to scroll stepless. It would be nice if Windows would also scroll smooth instead of a per line basis. | Idea-Enhancement,Idea-New PowerToy | medium | Major |
450,266,432 | youtube-dl | Site support request: abc.net.au/btn | <!--
######################################################################
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 2019.05.20. 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 **2019.05.20**
- [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.abc.net.au/btn/classroom/wwi-centenary/10527914
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Verbose log
```
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--ignore-config', u'-v', u'https://www.abc.net.au/btn/classroom/wwi-centenary/10527914']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.20
[debug] Python version 2.7.16 (CPython) - Darwin-18.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 10527914: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 10527914: Downloading webpage
[generic] 10527914: Extracting information
ERROR: Unsupported URL: https://www.abc.net.au/btn/classroom/wwi-centenary/10527914
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2340, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2551, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2540, in _XML
parser.feed(text)
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
self._raiseerror(v)
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 52, column 17
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3329, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.abc.net.au/btn/classroom/wwi-centenary/10527914
```
| site-support-request | low | Critical |
450,279,469 | youtube-dl | When downloading YouTube live video, download from very beginning | ## Checklist
- [x] I'm reporting a feature request
- [x] I've verified that I'm running youtube-dl version **2019.05.20**
- [x] I've searched the bugtracker for similar feature requests including closed ones
## Description
Currently, when downloading an _ongoing_ live stream video on YouTube, youtube-dl will start from the current time.
I was wondering if we can add a way to download it from the very beginning instead. (I can confirm it is technical-wise possible at least, the video sources are available in m3u8 files etc.).
This way, the user can get the full video once the stream is finished. Otherwise, at least the first few seconds will be missing since you can't really start downloading before the live starts.
Of course, you can start the download when the live is done, which typically will solve this problem. However, some uploaders delete their live stream immediately after premiere, makes it somewhat difficult (also if you wait too long, you can't get HLS version any more, only re-compressed version.)
Thanks. | request | medium | Critical |
450,292,776 | youtube-dl | Site support request: watchnebula.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 2019.05.20. 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 **2019.05.20**
- [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.
-->
- Video page: https://watchnebula.com/videos/wendover-how-hong-kong-changed-countries
- Video embed: https://player.zype.com/embed/5ce5603089382f54d38d0127.html?autoplay=false&access_token=[REDACTED]
- Channel page: https://watchnebula.com/wendover
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
M3U file provided by single video example above: https://manifest.zype.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2NzbS56eXBlLmNvbS81YzE4MmQwNjY0OWYwZjEzNGEwMDE3MDMvNWNlNTYwMzA4OTM4MmY1NGQzOGQwMTI3LzVjZTU2MGUxMWM0Zjk2N2ZiMzdkODExYS81NDViZDZjYTY5NzAyZDA1YjkwMTAwMDAvMTlhYzA5MzEtNTA5OS00YzRlLTg0OTYtY2QwYzVlNTJhNDEyLm0zdTgiLCJwYXJhbXMiOnsiNnBMS01RM3kiOiJBM0x6aVEzaSIsIkYzOGIxZEY0IjoiNWNlZmM3ZTU1OTc3OGI1N2UxODMxMmM2In0sImV4cCI6MTU1OTIyODk1NX0.xMg1JJJMEBV1mAnlrYB4xP8rvGTGeN-5_DICu489jR8
M3U file for link above:
[m3u.txt](https://github.com/ytdl-org/youtube-dl/files/3237061/m3u.txt)
Video page source code:
[video_page_source.txt](https://github.com/ytdl-org/youtube-dl/files/3237062/video_page_source.txt)
Video page HTML DOM:
[video_page_dom.txt](https://github.com/ytdl-org/youtube-dl/files/3237063/video_page_dom.txt)
Channel page source code:
[channel_page_source.txt](https://github.com/ytdl-org/youtube-dl/files/3237064/channel_page_source.txt)
Channel page HTML DOM:
[channel_page_dom.txt](https://github.com/ytdl-org/youtube-dl/files/3237065/channel_page_dom.txt) | site-support-request,account-needed | medium | Critical |
450,293,484 | youtube-dl | Site Support Request: la.nickjr.tv | ## Checklist
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2019.05.20**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones
## Example URLs
- Single video: http://la.nickjr.tv/paw-patrol/videos/problemas-en-la-selva-los-cachorros-salvan-el-rebano/
## Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://la.nickjr.tv/paw-patrol/videos/problemas-en-la-selva-los-cachorros-salvan-el-rebano/', 'paw.mp4']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.05.20
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg N-93945-g02333fe394, ffprobe N-93945-g02333fe394, rtmpdump 2.3
[debug] Proxy map: {}
[generic] problemas-en-la-selva-los-cachorros-salvan-el-rebano: Requesting header
WARNING: Falling back on generic information extractor.
[generic] problemas-en-la-selva-los-cachorros-salvan-el-rebano: Downloading webpage
[generic] problemas-en-la-selva-los-cachorros-salvan-el-rebano: Extracting information
ERROR: Unsupported URL: http://la.nickjr.tv/paw-patrol/videos/problemas-en-la-selva-los-cachorros-salvan-el-rebano/
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpt31j5y3w\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpt31j5y3w\build\youtube_dl\extractor\common.py", line 529, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpt31j5y3w\build\youtube_dl\extractor\generic.py", line 3329, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://la.nickjr.tv/paw-patrol/videos/problemas-en-la-selva-los-cachorros-salvan-el-rebano/
## Description
master m3u8 file link captured:
https://dlvrsvc.mtvnservices.com/api/gen/gsp.mtviestor/intlod/won-intl/paw_patrol/paw_patrol_2/207_paw_patrol_207/ABC459943/0/,stream_1280x720_1931893_1975848889,stream_1920x1080_3416869_81680514,stream_960x540_1339907_508912648,stream_384x216_287703_2822960186,stream_768x432_1021297_1542377997,stream_512x288_436125_2577754804,stream_640x360_692421_489034042/master.m3u8?account=intl.mtvi.com&cdn=level3&tk=st=1559749722~exp=1559836122~acl=/api/gen/gsp.mtviestor/intlod/won-intl/paw_patrol/paw_patrol_2/207_paw_patrol_207/ABC459943/0/*~hmac=7fdd3ec109bd18c4ec01255d5ffb9cc87b50ec9bb68d9a8ad4f764a0a51279e7 | site-support-request | low | Critical |
450,298,438 | TypeScript | Issue a better error message when trying to use a modifier outside of a mapped type | <!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.4.0-dev.201xxxxx
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
**Code**
```ts
export type ITSReadonlyToWriteableArray<T extends readonly any[]> = Omit<T, keyof any[]> &
ITSUnpackedArrayLike<T>[] & {
-readonly [P in number | 'length']: T[P]
};
```
```ts
export type ITSWriteableArray<T extends readonly any[]> = Omit<T, 'length' | number> & {
-readonly length: number
}
// => here is error
```
**Expected behavior:**
> no error, more better error message
**Actual behavior:**
> Error:(96, 12) TS1005: '[' expected.
---
_and a small ask (don't need care this Quesion)_
Q: how to list all readonly key | Suggestion,Experience Enhancement | low | Critical |
450,305,072 | flutter | [web] Support compute on separate thread in Flutter Web | Currently, there's no suitable way to perform more expensive operations like image processing. It would be nice to provide some way (by `compute()` function).
The current implementation is a dummy:
```
Future<R> compute<Q, R>(ComputeCallback<Q, R> callback, Q message,
{String debugLabel}) async {
return callback(message);
}
```
and freezes the web UI. | c: new feature,framework,dependency: dart,customer: crowd,platform-web,P3,customer: chilli,team-web,triaged-web | high | Critical |
450,306,550 | go | all: occasional "resource temporarily unavailable" flakes on linux-s390x builder | It's not clear to me whether this is related to [CL 177599](https://golang.org/cl/177599) and #32205.
From https://build.golang.org/log/8842ba4fe354ba0d2a48ea5918280b3a2a202dcb:
```
##### ../misc/cgo/errors
removing /data/golang/workdir/tmp/TestPointerChecks471752625
--- FAIL: TestPointerChecks (0.98s)
--- FAIL: TestPointerChecks/exportok (0.00s)
ptr_test.go:596:
ptr_test.go:597: failed unexpectedly: fork/exec /data/golang/workdir/tmp/TestPointerChecks471752625/src/ptrtest/ptrtest.exe: resource temporarily unavailable
FAIL
```
CC @ianlancetaylor @rsc | Testing,NeedsInvestigation,arch-s390x | low | Critical |
450,315,319 | go | os: occasional TestProgWideChdir deadlocks on arm builders | Possibly the same root cause as #29633 (CC @ianlancetaylor).
Two different failure modes, but the same test on the stack both times.
https://build.golang.org/log/e01b6ffb1a8fd323903ae672f43a6b086b8d217f
<details>
```
SIGQUIT: quit
PC=0x6c8c8 m=3 sigcode=0
goroutine 6 [syscall]:
runtime.notetsleepg(0x2b6408, 0xffffffff, 0xffffffff, 0x1)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/runtime/lock_sema.go:286 +0x24 fp=0x42cfc8 sp=0x42cfa4 pc=0x19ec0
os/signal.signal_recv(0x0)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/runtime/sigqueue.go:139 +0x130 fp=0x42cfe0 sp=0x42cfc8 pc=0x54894
os/signal.loop()
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/signal/signal_unix.go:23 +0x14 fp=0x42cfec sp=0x42cfe0 pc=0x114cfc
runtime.goexit()
/home/gopher/build/openbsd-arm-46fd677069df/go/src/runtime/asm_arm.s:868 +0x4 fp=0x42cfec sp=0x42cfec pc=0x6bad4
created by os/signal.init.0
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/signal/signal_unix.go:29 +0x30
goroutine 1 [chan receive]:
testing.(*T).Run(0x47fae0, 0x18e070, 0x11, 0x199074, 0x1)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/testing/testing.go:961 +0x2cc
testing.runTests.func1(0x47e000)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/testing/testing.go:1207 +0x68
testing.tRunner(0x47e000, 0x42a710)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/testing/testing.go:909 +0xa0
testing.runTests(0x40c090, 0x2a4a50, 0x7b, 0x7b, 0x0)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/testing/testing.go:1205 +0x238
testing.(*M).Run(0x440100, 0x0)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/testing/testing.go:1122 +0x130
main.main()
_testmain.go:318 +0x120
goroutine 51 [runnable]:
os_test.TestProgWideChdir(0x47fae0)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1317 +0x35c
testing.tRunner(0x47fae0, 0x199074)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/testing/testing.go:909 +0xa0
created by testing.(*T).Run
/home/gopher/build/openbsd-arm-46fd677069df/go/src/testing/testing.go:960 +0x2ac
goroutine 56 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x4)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272 +0x80
goroutine 57 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x5)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272 +0x80
goroutine 58 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x6)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272 +0x80
goroutine 59 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x7)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272 +0x80
goroutine 60 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x8)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272 +0x80
goroutine 61 [runnable]:
runtime.LockOSThread()
/home/gopher/build/openbsd-arm-46fd677069df/go/src/runtime/proc.go:3530 +0x5c
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x9)
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1281 +0x124
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-46fd677069df/go/src/os/os_test.go:1272 +0x80
trap 0x0
error 0x0
oldmask 0x0
r0 0x58
r1 0x3
r2 0x0
r3 0x0
r4 0x42e58c
r5 0x1
r6 0x0
r7 0x199300
r8 0x7
r9 0x1
r10 0x400e00
fp 0xffffffc0
ip 0x5e
sp 0x42cf50
lr 0x3b618
pc 0x6c8c8
cpsr 0x40000010
fault 0x0
*** Test killed with quit: ran too long (37m0s).
FAIL os 2220.201s
```
</details><br>
https://build.golang.org/log/7b59d0589251c325136e98f4b76193ae919399b4
<details>
```
SIGQUIT: quit
PC=0x6c974 m=5 sigcode=0
goroutine 0 [idle]:
runtime: unexpected return pc for runtime.kevent called from 0x40
stack: frame={sp:0x4d96f4, fp:0x4d96fc} stack=[0x4d8000,0x4da000)
004d9674: 00000000 00000000 00000000 00000000
004d9684: 00000000 00000000 00000000 00000000
004d9694: 00000000 00000000 00000000 00000000
004d96a4: 00000000 00000000 00000000 00000000
004d96b4: 00000000 00000000 00000000 00000000
004d96c4: 00000000 00000000 00000000 00000000
004d96d4: 00000000 00000000 00000000 00000000
004d96e4: 00000000 00000000 00000000 0003b294 <runtime.netpoll+376>
004d96f4: <00000040 00000000 >000448c4 <runtime.findrunnable+960> 00000005
004d9704: 00000000 00000000 004d973c 00000040
004d9714: 00000000 00000000 00000000 00000000
004d9724: 00000000 00000000 00000000 00000000
004d9734: 00000000 00000000 00000000 00000000
004d9744: 00000000 00000000 00000000 00000000
004d9754: 00000000 00000000 00000000 00000000
004d9764: 00000000 00000000 00000000 00000000
004d9774: 00000000 00000000
runtime.kevent(0x5, 0x0, 0x0, 0x4d973c, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/runtime/sys_openbsd_arm.s:357 +0x30
goroutine 1 [chan receive]:
testing.(*T).Run(0x47fae0, 0x18e070, 0x11, 0x199074, 0x1)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/testing/testing.go:961 +0x2cc
testing.runTests.func1(0x47e000)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/testing/testing.go:1207 +0x68
testing.tRunner(0x47e000, 0x42a710)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/testing/testing.go:909 +0xa0
testing.runTests(0x40c090, 0x2a4a50, 0x7b, 0x7b, 0x0)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/testing/testing.go:1205 +0x238
testing.(*M).Run(0x440100, 0x0)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/testing/testing.go:1122 +0x130
main.main()
_testmain.go:318 +0x120
goroutine 6 [syscall]:
os/signal.signal_recv(0x0)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/runtime/sigqueue.go:139 +0x130
os/signal.loop()
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/signal/signal_unix.go:23 +0x14
created by os/signal.init.0
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/signal/signal_unix.go:29 +0x30
goroutine 51 [runnable]:
os_test.TestProgWideChdir(0x47fae0)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1317 +0x35c
testing.tRunner(0x47fae0, 0x199074)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/testing/testing.go:909 +0xa0
created by testing.(*T).Run
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/testing/testing.go:960 +0x2ac
goroutine 56 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x4)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272 +0x80
goroutine 57 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x5)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272 +0x80
goroutine 58 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x6)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272 +0x80
goroutine 59 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x7)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272 +0x80
goroutine 60 [runnable]:
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x8)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272 +0x80
goroutine 61 [runnable]:
runtime.LockOSThread()
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/runtime/proc.go:3530 +0x5c
os_test.TestProgWideChdir.func1(0x50e880, 0x47fae0, 0x50e8c0, 0x9)
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1281 +0x124
created by os_test.TestProgWideChdir
/home/gopher/build/openbsd-arm-c468ad04177c/go/src/os/os_test.go:1272 +0x80
trap 0x0
error 0x0
oldmask 0x0
r0 0x4
r1 0x0
r2 0x0
r3 0x4d973c
r4 0x40
r5 0x0
r6 0x0
r7 0x1993c0
r8 0x7
r9 0x2
r10 0x4015e0
fp 0x29004c
ip 0x48
sp 0x4d96f4
lr 0x3b294
pc 0x6c974
cpsr 0x20000010
fault 0x0
*** Test killed with quit: ran too long (37m0s).
FAIL os 2220.194s
```
</details><br> | Testing,NeedsInvestigation | low | Critical |
450,335,859 | flutter | Improve error surfacing from Linux builds | Non-verbose builds often don't have useful information about build failures. It would be helpful to run the build output through processing to try to extract errors. | tool,platform-linux,a: desktop,P2,team-linux,triaged-linux | low | Critical |
450,348,557 | godot | Mesh with negative size and cull disabled displays incorrect normals GLES3 | This bug was found in both #26710 and #25696 But was mixed in with a few other bugs. This issue supercedes them both.
**Godot version:**
Master
**Issue description:**
When a mesh with culling disabled is given a negative size the normals appear backwards in GLES3.
https://user-images.githubusercontent.com/5222656/52463875-9e985800-2b46-11e9-9db0-136267400a36.png
Note: this issue doesn't appear when using cull_front or cull_back because Godot detects when the scale is negative and flips the culling operation.
https://github.com/godotengine/godot/blob/6895ad303b51aaf84a568c982e3622049a50ed37/servers/visual/visual_server_scene.cpp#L950
**Steps to reproduce:**
1. Create a MeshInstance
2. Set the cull property of the SpatialMaterial to "disabled"
3. Set the scale of the MeshInstance to (-1, -1, -1)
**Minimal reproduction project:**
https://github.com/godotengine/godot/files/2844079/tests_3.1.zip | bug,topic:rendering,confirmed,topic:3d | low | Critical |
450,355,683 | pytorch | Data Parallel Implementation Improvements | After #20910, data parallel implementation still needs the following improvements:
- [ ] Fix C++ data parallel for BN
- [ ] Make sure C++ data parallel work for double backward
- [ ] Move `reduce_add` and `reduce_add_coalesced` in `torch/cuda/comm.py` to C++.
- [ ] Move `Broadcast` and `ReduceAddCoalesced` from `torch/nn/parallel/_functions.py` to C++.
- [ ] Make C++ data parallel use `ReduceAddCoalesced`.
- [ ] Consolidate C++ and Python module replicate.
| oncall: distributed,triaged | low | Minor |
450,357,730 | react-native | Elevation and border radius do not work well with opacity from Android 9 | <!--
Please provide a clear and concise description of what the bug is.
Include screenshots if needed.
Please test using the latest React Native release to make sure your issue has not already been fixed: http://facebook.github.io/react-native/docs/upgrading.html
-->
The way elevation works is that it creates a border around the element that is then shifted to the bottom. The background color of the element then hides the inside part of the border.
When we apply border radius to the same element, the border gets thicker to accommodate for the increased radius. So far so good.
Unfortunately if we then apply the opacity to the parent, the background color of the element gets semitransparent, making the border visible and creating an ugly effect.

React Native version: 0.57
Expo SDK 32
Android version: 9.0
<!--
Run `react-native info` in your terminal and copy the results here.
-->
## Steps To Reproduce
Create an element and apply, elevation, border radius and background color. Then apply opacity on its parent.
**Describe what you expected to happen:**
The border underneath the element should not leak out
**Snack, code example, or link to a repository:**
https://snack.expo.io/SJDAlu6TV
| Help Wanted :octocat:,Platform: Android,Bug | high | Critical |
450,364,091 | terminal | Bootstrap tests on Color Tool | Per #1052, apparently there's no tests already in place for color tool.
This represents going from 0 tests to at least some base level of testing infrastructure so people can't use the "there's no framework, I can't write a test" excuse.
I'd imagine we should have a ut_colortool for checking some of the methods that builds in the classes/componentry and then an ft_colortool that attaches to the console and attempts to run some of the commands and see what it does. | Product-Colortool,Help Wanted,Issue-Task,Area-CodeHealth | low | Minor |
450,378,371 | flutter | Add InkWell's pressure taps detection | Currently the `GestureDetector` already gives us properties for force presses, but InkWell doesn't.
InkWell should gives as `onForcePress` and `onForceLongPress` options for developers give nice touch feedback + pressure detection on capable devices.
```
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [versão 10.0.17763.503], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.4)
[√] IntelliJ IDEA Community Edition (version 2019.1)
[√] Connected device (1 available)
• No issues found!
```
| c: new feature,framework,f: material design,P3,team-design,triaged-design | low | Minor |
450,382,935 | three.js | Adjust the spacing or font size on the new docs? | ##### Description of the problem
Sometime in the last hour or so the style on the docs got updated.
Things are about 20% more spaced out which I personally find far less usefull. I'm certainly not against new styles but just a vote that this style doesn't make the docs more readable it makes them less, at least for me.
old:
<img width="1203" alt="Screen Shot 2019-05-31 at 0 58 55" src="https://user-images.githubusercontent.com/234804/58646148-c3a41700-833f-11e9-979d-c657350f7bb7.png">
new:
<img width="1203" alt="Screen Shot 2019-05-31 at 0 59 17" src="https://user-images.githubusercontent.com/234804/58646158-c9016180-833f-11e9-8fe6-eddbf1d930a5.png">
In fact it's funny, the new docs have a larger font but end up with less whitespace both in terms of actual whitespace and in terms of proportional whitespace which I think is one reason it appears much less readable. Of course adding more whitespace so it's the same proportions as it was would put even less info on the screen. In any case, just pointing out that the smaller font with the larger whitespace made it more readable for me since areas were separated more.
Maybe it's all just personal preference but I also prefer code to be in a monospace font. Not suggesting the paragraphs of text be monospace, only API names if possible.
I know this is all subjective, just my 2¢ since I reference the docs several times a day. | Suggestion,Documentation | low | Major |
450,394,138 | godot | Segments size in ConcavePolygonShape2D can't be set via mouse | **Godot version:**
3.2 123edd0
**OS/device including version:**
Ubuntu 19.04
**Issue description:**
I can't change segments size in ConcavePolygonShape2D via mouse, because every time when I try to do this this error is shown:
```
servers/physics_2d/shape_2d_sw.cpp:910 - Condition ' len % 2 ' is true.
```
Writing from keyboard works great.
Probably this field should have step with size 2, to prevent error spam when changing this values.

**Steps to reproduce:**
1. create collision shape
2. Set as shape ConcavePolygonShape2D
3. Try to set segments size via mouse or keyboard
| bug,topic:editor,usability | low | Critical |
450,410,522 | terminal | ColorTool needs CI fixing | We need to do one of two things:
1. Merge the ColorTool SLN in with the OpenConsole SLN and just have one SLN.
2. Add another CI pipeline for ColorTool's SLN (since the OpenConsole one runs that one only) and set both pipelines to only operate on changes that are relevant to themselves. | Product-Colortool,Area-Build,Issue-Task | low | Minor |
450,441,389 | flutter | [web] implement SurfacePaint.strokeMiterLimit | This is not implemented on the Web.
| c: new feature,framework,engine,a: fidelity,platform-web,c: rendering,good first issue,e: web_html,P3,team-web,triaged-web | low | Minor |
450,452,922 | rust | Can't build stdlib for mips-unknown-linux-musl without libunwind | I'm trying rebuild stdlib for the OpenWRT malta SDK (available here: https://downloads.openwrt.org/releases/18.06.2/targets/malta/be/openwrt-sdk-18.06.2-malta-be_gcc-7.3.0_musl.Linux-x86_64.tar.xz).
The SDK ships with `libgcc_s.so`, but without `libunwind.a`, leading to a linker error when building `unwind`. I'd like to run with `panic=abort`, so I don't need unwinding.
```
error: could not find native static library unwind, perhaps an -L flag is missing?
```
`mips` is special-cased in libunwind here: https://github.com/rust-lang/rust/blob/master/src/libunwind/lib.rs#L28-L31
I tried passing `target-feature=-crt-static` and using a custom target target:
```
"crt-static-default": false,
"crt-static-respected": true,
"dynamic-linking": true,
```
Both don't work.
Steps to reproduce:
* Unzip the SDK
* Make sure `openwrt-sdk-18.06.2-malta-be_gcc-7.3.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/bin/` is in `PATH`
* Set the linker:
```
[target.mips-openwrt-linux-musl]
linker = "mips-openwrt-linux-gcc"
```
* Use Xargo to rebuild stdlib
Building and running a binary works when modifying the code above to just link `gcc_s`:
```
#[cfg(target_env = "musl")]
#[link(name = "gcc_s")]
extern {}
``` | A-linkage,O-MIPS,T-compiler,O-musl,C-bug | low | Critical |
450,475,575 | go | cmd/go: should `go list -versions` list cached versions when GOPROXY=off? | Users can set `GOPROXY=off` to disable module fetches. When that is set, however, they can still resolve versions that are already present in the local cache.
However, it can be difficult to figure out what those versions actually are: `go list -versions -m $MODULE` produces unhelpful error output (#32335) if the module is not present in the proxy, and truncated output if the module _is_ present:
```
example.com$ gotip version
go version devel +220552f6 Thu May 30 17:59:57 2019 +0000 linux/amd64
example.com$ gotip mod init example.com
go: creating new go.mod: module example.com
example.com$ GOPROXY='' gotip list -versions -m rsc.io/quote
go: finding rsc.io/quote v1.5.2
rsc.io/quote v1.0.0 v1.1.0 v1.2.0 v1.2.1 v1.3.0 v1.4.0 v1.5.0 v1.5.1 v1.5.2 v1.5.3-pre1
example.com$ GOPROXY=off gotip list -versions -m rsc.io/quote
go list -m rsc.io/quote: module "rsc.io/quote" is not a known dependency
example.com$ GOPROXY='' gotip get rsc.io/quote@latest
go: finding rsc.io/sampler v1.3.0
go: finding golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c
go: downloading rsc.io/quote v1.5.2
go: extracting rsc.io/quote v1.5.2
go: downloading rsc.io/sampler v1.3.0
go: extracting rsc.io/sampler v1.3.0
go: downloading golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c
go: extracting golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c
example.com$ GOPROXY=off gotip list -versions -m rsc.io/quote
rsc.io/quote
example.com$
```
----
The workaround is to set `GOPROXY="file://$GOPATH/pkg/mod/cache/download"` before running `go list`:
```
example.com$ GOPROXY="file://$GOPATH/pkg/mod/cache/download" gotip list -versions -m rsc.io/quote
rsc.io/quote v1.5.2
example.com$
```
Unfortunately, that's _really_ not discoverable ([Paul's example](https://github.com/go-modules-by-example/index/blob/master/012_modvendor/README.md) notwithstanding).
----
Instead, I propose that when `GOPROXY` is set to `off`, `go list -versions` should list the versions that are available without consulting the proxy, as if the user had set `GOPROXY="file://$GOPATH/pkg/mod/cache/download"`.
I don't see any other reasonable behavior we could provide in that case, and that would turn an otherwise useless-in-context command into a useful one.
CC @jayconrod @hyangah @thepudds @myitcv @rsc | NeedsDecision,FeatureRequest,modules | low | Critical |
450,478,784 | flutter | [web] implement CallbackHandle for flutter web | ...Or don't, maybe it doesn't make sense for web? | c: new feature,framework,a: fidelity,platform-web,P2,team-web,triaged-web | low | Minor |
450,479,078 | flutter | [web] implement PluginUtilities for flutter web | ...or don't, maybe it doesn't make sense. | c: new feature,framework,dependency: dart,f: routes,platform-web,P3,c: tech-debt,team: skip-test,a: plugins,team-web,triaged-web | medium | Major |
450,485,293 | go | cmd/go: install changes mtimes of binaries even when otherwise unchanged | <!-- Please answer these questions before submitting your issue. Thanks! -->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go1.12.4 linux/amd64
</pre>
### Does this issue reproduce with the latest release?
Yes
### What operating system and processor architecture are you using (`go env`)?
<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ko1dli/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/ko1dli/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/mnt/c/Users/ko1dli/git/serverless-alias-search/src/go.mod"
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-build698955985=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->
```
$ ls -ltr ~/go/bin
total 1438344
-rwxrwxrwx 1 ko1dli ko1dli 16718552 May 30 18:38 alias-search
-rwxrwxrwx 1 ko1dli ko1dli 16120748 May 30 18:38 cognito-post-confirmation
-rwxrwxrwx 1 ko1dli ko1dli 22844935 May 30 18:38 create-account-collect
-rwxrwxrwx 1 ko1dli ko1dli 21897771 May 30 18:38 create-account-sign
$ date
Thu May 30 18:39:22 DST 2019
$ go install -x ./...
WORK=/tmp/go-build166854083
$ ls -ltr ~/go/bin
total 1438344
-rwxrwxrwx 1 ko1dli ko1dli 16718552 May 30 18:40 alias-search
-rwxrwxrwx 1 ko1dli ko1dli 16120748 May 30 18:40 cognito-post-confirmation
-rwxrwxrwx 1 ko1dli ko1dli 22844935 May 30 18:40 create-account-collect
-rwxrwxrwx 1 ko1dli ko1dli 21897771 May 30 18:40 create-account-sign
```
### What did you expect to see?
I expected `go install` leave the installed files alone, since nothing changed.
### What did you see instead?
Every file was recreated with a new date (checked with `stat`). I'm using WSL on Windows 10, not sure if this might affect this behaviour.
| Unfortunate,ToolSpeed,NeedsInvestigation,GoCommand | low | Critical |
450,486,852 | pytorch | Getting Access to Blob/Tensor reference in jit::script::Module | ## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
In Caffe, one would be able to set a reference to the blob by doing the following:
`myClass->blob = upCaffeNet->blob_by_name(upImpl->mLastBlobName);`
In Pytorch we have
`std::shared_ptr<torch::jit::script::Module> upTorchNet`
Is there a function I can use for something similar? Right now, there only seems to be the forward pass function in the documentation. Anyway to access or get a reference to the internal blobs? It will be useful for setting previous stages in LSTM's etc. too
It looks like I have a net->find_parameter("name") class, but there is also find_method and find_module. Which one should I be using? | oncall: jit,triaged | low | Minor |
450,492,729 | godot | is_hovered() is tied to button focus and not the actual cursor position | **Godot version:** 3.1.1 stable
**OS/device including version:** Windows 10
**Issue description:** Trying to check if a non-focused button is hovered with is_hovered() (while another one is focused) will return false even if the mouse is actually hovering it. Meanwhile if the focus is on that button and the mouse is off the button bounds it still returns true.
(I'm trying to make mouse and keyboard/gamepad live and work together by swapping "states")
**Minimal reproduction project:** Attached a simple 3.1.1 project with some buttons and the same functions i used to reproduce the problem, pressing E the function prints the return of is_hovered(). Also a gif showing the problem

[TestBugHover.zip](https://github.com/godotengine/godot/files/3238645/TestBugHover.zip)
| bug,platform:android,confirmed,topic:gui | low | Critical |
450,505,651 | godot | Requested file format unknown: escn | In the latest build I get an alert prompt every time I test a scene that inherits an escn or if I test the escn itself.
Has the escn extension been deprecated or is this a bug? | bug,discussion,topic:core | low | Critical |
450,530,399 | rust | rustdoc: builds including multiple crates with the same name are always dirty | I haven't figured out exactly what's going on here yet, but to repro:
```bash
mkdir /tmp/rustdoc-dirty && cd /tmp/rustdoc-dirty && cargo init
echo 'futures-preview = { version = "=0.3.0-alpha.16", features = ["io-compat"] }' >> Cargo.toml
cargo doc
cargo doc
```
(tested on `rustc 1.36.0-nightly (a784a8022 2019-05-09)`)
The second `cargo doc` should do no work and immediately exit, however it instead proceeds to document `tokio-io` and everything after it. This *only* happens when the `io-compat` feature is enabled, but does not happen when depending directly on `tokio-io`. | T-rustdoc,C-bug,A-crates | low | Major |
450,530,738 | go | net/http: r.MultipartReader() reports not multipart when boundary is empty string | ### What version of Go are you using (`go version`)?
1.12
### Does this issue reproduce with the latest release?
N/A
### What operating system and processor architecture are you using (`go env`)?
Ubuntu 18.04
<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/[home]/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/[home]/go"
GOPROXY=""
GORACE=""
GOROOT="/home/[home]/.go"
GOTMPDIR=""
GOTOOLDIR="/home/[home]/.go/pkg/tool/linux_amd64"
GCCGO="gccgo"
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-build210454728=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
```
func TestMimeBoundary(t *testing.T) {
for _, b := range []string{"", " boundary="} {
r := http.Request{}
r.Header = make(http.Header)
r.Header.Set("Content-Type", "multipart/form-data;" + b)
_, err := r.MultipartReader()
fmt.Printf("%T %v\n", err, err)
}
}
```
Results in:
```
*http.ProtocolError no multipart boundary param in Content-Type
*http.ProtocolError request Content-Type isn't multipart/form-data
```
This means comparing errors against [http.ErrNotMultipart](https://golang.org/pkg/net/http/#pkg-variables) is not reliable.
### What did you expect to see?
I would expect an error that doesn't assert that data with the content type `multipart/form-data` is not `multipart/form-data`. More abstractly, I would expect a set of errors to compare against such that when the error is `http.ErrNotMultipart` it is reliable to proceed assuming the client did not intend the http body to be multipart rather than they just bolloxed it up.
### What did you see instead?
As above. | NeedsInvestigation | low | Critical |
450,532,799 | TypeScript | Property initialisation check in TS 3.5 is too strict for ember 3.5 | Start reading here: https://github.com/microsoft/TypeScript/pull/29395#issuecomment-497376445
```ts
import Component from '@ember/component';
import defaultTo from 'lodash/default-to';
export default class Welcome extends Component {
greeting: string = defaultTo(this.greeting, "Hello");
}
```
Briefly, ember 3.5's Components have properties that are initialised by the base to a value, but Typescript doesn't know about this. Users should be able to squash the error by writing `greeting!: string = ...`, or by turning off strictPropertyInitialization, but can't today. | Suggestion,In Discussion | low | Critical |
450,534,234 | pytorch | Adding a method called `T` in native_functions causes undefined behavior on Windows | ## 🐛 Bug
Adding a native method called `T` (even if not exposed to Python) seems to cause multiple issues on Windows, including at least the following:
1. `test_inplace_view_saved_output` in `test_autograd.py` fails
1. `test_optional` in `test_cpp_extensions.py` crashes the interpreter
| module: windows,triaged | low | Critical |
450,547,472 | pytorch | Failed to install pytorch from source on ubuntu. | ## 🐛 Bug
I followed the steps provided to install the pytorch from source. But it ended with error.
## To Reproduce
Exactly the same as https://github.com/pytorch/pytorch#from-source. And I have my anaconda3 installed.
`$ which conda
/local-scratch/bowenc/anaconda3/bin/conda`
<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->
## Expected behavior
Pytorch should be installed without error.
## Environment
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
OS: Ubuntu 16.04.3 LTS
GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
CMake version: version 3.14.0
Python version: 3.7
Is CUDA available: N/A
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: TITAN Xp
Nvidia driver version: 396.44
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.5.1.5
[pip] numpy==1.16.2
[pip] numpydoc==0.8.0
[conda] blas 1.0 mkl
[conda] magma-cuda90 2.5.0 1 pytorch
[conda] mkl 2019.3 199
[conda] mkl-include 2019.3 199
[conda] mkl-service 1.1.2 py37he904b0f_5
[conda] mkl_fft 1.0.10 py37ha843d7b_0
[conda] mkl_random 1.0.2 py37hd81dba3_0
## Additional context
The log shows after running `python setup.py install`
`bash
-- Configuring incomplete, errors occurred!
See also "/local-scratch/bowenc/pytorch/build/CMakeFiles/CMakeOutput.log".
See also "/local-scratch/bowenc/pytorch/build/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 756, in <module>
build_deps()
File "setup.py", line 316, in build_deps
build_dir='build')
File "/local-scratch/bowenc/pytorch/tools/build_pytorch_libs.py", line 288, in build_caffe2
my_env)
File "/local-scratch/bowenc/pytorch/tools/build_pytorch_libs.py", line 267, in run_cmake
check_call(cmake_args, cwd=build_dir, env=my_env)
File "/local-scratch/bowenc/anaconda3/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-GNinja', '-DBUILDING_WITH_TORCH_LIBS=ON', '-DBUILD_BINARY=False', '-DBUILD_CAFFE2_OPS=True', '-DBUILD_PYTHON=True', '-DBUILD_SHARED_LIBS=ON', '-DBUILD_TEST=True', '-DCAFFE2_STATIC_LINK_CUDA=False', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_CXX_FLAGS= ', '-DCMAKE_C_FLAGS= ', '-DCMAKE_EXE_LINKER_FLAGS=', '-DCMAKE_INSTALL_PREFIX=/local-scratch/bowenc/pytorch/torch', '-DCMAKE_PREFIX_PATH=/local-scratch/bowenc/anaconda3', '-DCMAKE_SHARED_LINKER_FLAGS=', '-DINSTALL_TEST=True', '-DNAMEDTENSOR_ENABLED=False', '-DNCCL_EXTERNAL=True', '-DNUMPY_INCLUDE_DIR=/local-scratch/bowenc/anaconda3/lib/python3.7/site-packages/numpy/core/include', '-DONNX_ML=False', '-DONNX_NAMESPACE=onnx_torch', '-DPYTHON_EXECUTABLE=/local-scratch/bowenc/anaconda3/bin/python', '-DPYTHON_INCLUDE_DIR=/local-scratch/bowenc/anaconda3/include/python3.7m', '-DPYTHON_LIBRARY=/local-scratch/bowenc/anaconda3/lib/libpython3.7m.so.1.0', '-DTHD_SO_VERSION=1', '-DTORCH_BUILD_VERSION=1.2.0a0+fe39602', '-DUSE_ASAN=False', '-DUSE_CUDA=True', '-DUSE_DISTRIBUTED=True', '-DUSE_FBGEMM=True', '-DUSE_FFMPEG=False', '-DUSE_LEVELDB=False', '-DUSE_LMDB=False', '-DUSE_MKLDNN=True', '-DUSE_NCCL=True', '-DUSE_NNPACK=True', '-DUSE_NUMPY=True', '-DUSE_OPENCV=False', '-DUSE_QNNPACK=True', '-DUSE_ROCM=False', '-DUSE_SYSTEM_EIGEN_INSTALL=OFF', '-DUSE_SYSTEM_NCCL=False', '-DUSE_TENSORRT=False', '-DMKLDNN_ENABLE_CONCURRENT_EXEC=ON', '/local-scratch/bowenc/pytorch']' returned non-zero exit status 1.
`
| needs reproduction,module: build,triaged | low | Critical |
450,647,829 | vscode | [css] Color picker for rgba() function in CSS | <!-- Please search existing issues to avoid creating duplicates. -->
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- Use Help > Report Issue to prefill these. -->
VSCode Version: 1.34.0
Commit: a622c65b2c713c890fcf4fbf07cf34049d5fe758
Date: 2019-05-15T21:55:35.507Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.18.0-20-generic
Steps to Reproduce:
1.From dropdown for any css/color element, select rgba option.
2.Hover to rgba for displaying color picker and choose color.
<!-- Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

| feature-request,css-less-scss | low | Critical |
450,670,334 | kubernetes | add the next run jobs time to CronJobStatus | <!-- Please only use this template for submitting enhancement requests -->
**What would you like to be added**:
like NEXT-SCHEDULE in the response from $ kubectl get cronjob myJob
**Why is this needed**:
this can help us judge we cron schedule is right
this issue like https://github.com/kubernetes/kubernetes/issues/41568 , but that issue is closed and rotten | kind/feature,sig/apps,help wanted,area/workload-api/cronjob,lifecycle/frozen,needs-triage | medium | Critical |
450,710,579 | vscode | Allow debugger contributions to specify filenames as well as languages to be default debugger | Currently a [debugger can only declare languages](https://code.visualstudio.com/api/references/contribution-points#contributes.debuggers) that it's default debugger for, but in other places where VS Code allows specifying languages, we can use filename patterns too.
Sometimes users switch to a file that is not in the language they're working on, but an additional file (for example in Dart we have `pubspec.yaml` and in NodeJS there's `package.json`). It'd be nice if you switched to `package.json` to change a dependency and then hit F5, it could invoke the Node JS debugger (and for pubspec.yaml, the Dart one), skipping the prompt.
```js
"contributes": {
"debuggers": [
{
"languages": [
"dart",
// Support something like DocumentFilter here?
// { language: 'json', scheme: 'untitled', pattern: '**/package.json' }
{ pattern: '**/pubspec.yaml' }
],
``` | feature-request,debug | low | Critical |
450,789,494 | TypeScript | Backticks around module names in module declarations | ## Search Terms
* backticks
* module declaration
* NoSubstitutionTemplateLiteral
* template string
Other related issues/PRs:
* https://github.com/microsoft/TypeScript/issues/30962 and the fix, https://github.com/microsoft/TypeScript/pull/31042
* https://github.com/microsoft/TypeScript/issues/29318,
* https://github.com/microsoft/TypeScript/issues/29331
* https://github.com/microsoft/TypeScript/issues/31548, which generalizes some things about template literals, but explicitly _doesn't_ address module declarations because of the way they're handled internally
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->
## Suggestion
It'd be nice for backticks to be allowed in module declarations. For example:
```ts
declare module `semver` {}
```
This causes an error with typescript 3.5.1: `Cannot invoke an expression whose type lacks a call signature. Type 'NodeModule' has no compatible call signatures.ts(2349)`
## Use Cases
I'd like to be able to use backticks more consistently in my code.
Similar to https://github.com/microsoft/TypeScript/issues/30962:
> This is especially important because the backticks mode of the quotes rule from ESLint breaks programs (cf yarnpkg/berry#70 for an example). While it could be seen as an ESLint bug, I think it should be possible for TS to use raw template string interchangeably with regular strings as long as they don't contain variables.
## Examples
This would be allowed
```ts
declare module `semver` {}
```
and would be equivalent to
```ts
declare module 'semver' {}
```
## Checklist
My suggestion meets these guidelines:
* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
| Suggestion,Awaiting More Feedback | low | Critical |
450,808,425 | go | cmd/go: go mod edit does not sort resulting go.mod file with multiline replace block | <!-- Please answer these questions before submitting your issue. Thanks! -->
follow-up on https://github.com/golang/go/issues/30897 regading `go.mod` sorting (after `go mod edit`)
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.12.5 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
darwin
</pre></details>
### What did you do?
ran the following command with an existing `go.mod` file that include a multiline `replace` clause:
`go mod edit -replace='github.com/google/go-github/v25=git.myxyz.com/mirror-github/google--go-github/[email protected]'`
### What did you expect to see?
the new replacement added in the existing multiline `replace ( [...] )` block in the sorted order
### What did you see instead?
The following line appended at the end of the `go.mod` file - therefore not inside the existing `replace` block and not sorted with other entries:
`replace github.com/google/go-github/v25 => git.myxyz.com/mirror-github/google--go-github/v25 v25.0.4`
| NeedsInvestigation,modules | low | Minor |
450,881,412 | flutter | Should _ImmediatePointerState be checking the pending delta against kPanSlop instead of kTouchSlop? | The **ImmediateMultiDragGestureRecognizer** class acts a lot like the PanGestureRecognizer, except that it monitors multiple drags simultaneously.
However, it MultiDragPointerState implementation looks like this:
```
class _HorizontalPointerState extends MultiDragPointerState {
_HorizontalPointerState(Offset initialPosition) : super(initialPosition);
@override
void checkForResolutionAfterMove() {
assert(pendingDelta != null);
if (pendingDelta.dx.abs() > kTouchSlop)
resolve(GestureDisposition.accepted);
}
@override
void accepted(GestureMultiDragStartCallback starter) {
starter(initialPosition);
}
}
```
Should `checkForResolutionAfterMove` be checking against kPanSlop instead?
With the code as is now, when a parent widget exists in the tree that uses a **ImmediateMultiDragGestureRecognizer**, then children that use a PanGestureRecognizer lose the battle in the arena almost 100% of the time because that gesture recognizer requires that the delta be greater than kPanSlop, which is twice the amount of kTouchSlop. | framework,f: gestures,customer: amplify,c: proposal,P2,team-framework,triaged-framework | low | Minor |
450,898,619 | TypeScript | Suggestion: Introduce possibility to control rootDirs resolve order | ## Search Terms
List of keywords you searched for before creating this issue:
rootDirs, resolve, resolve sources, classpath, source resolve order, sourcepath
## Suggestion
Please add a new compiler option:
```
rootDirsResolveStrategy = default | ordered
```
as a suplement to existing `rootDirs` option.
Proposed values:
`default` - current behavour. (which would be default, nomen omen ;))
`ordered` - the sources are looked up with respect to the order they are listed in `rootDirs`.
Consider we have `rootDirs` defined as below:
```
"rootDirs": ["src/generated/ts", "src/main/ts"],
```
And source tree
```
src
├── generated/ts
└── other.ts
├── main/ts
└── index.ts # imports ./other.ts
└── other.ts
```
now, no matter the order in which `rootDirs` folders are provided, the import "prefers" the file in the same folder.
**The name of the option does not matter** (or if there is an additional option at all). We just need something like java's compiletime classpath (with possibilty to impose resolve order to make generated files obscure the sources).
## Use Cases
What do you want to use this for?
**This would enable possibility to write a "compile-time decorator processor", which could modify class signatures and public interface of the class.**
Both these features are highly requested in existing feature requests [* - see below], (some open since 2015 and still not closed). With this feature, it would be achievable with the current Compiler API.
What shortcomings exist with current approaches?
Now, no matter the order in which `rootDirs` folders are provided, the import "prefers" the file in the same folder. So the generated files will never obscure the sources.
Currently, there may be two approaches:
1. Write annotation processor which replaces the actual source files with generated files.
2. Force the build script to copy all sources to another directory and there replace actual sources with generated ones before actual compilation.
Both approaches have very strong flaws, which make them not usable in practice.
Ad. 1. This would be one-time transformation. After the transformation is done, no further modification in the original source would be possible. And so it also makes impossible to fire the annotation processor "in watch mode", as the user modifies the actual sources. Finally, it's generally a bad practice to manually edit generated sources or have generated files committed to version control repository (which in this case would be inevitable).
Ad. 2. The effect of replacing sources "somehow magically" before actual build, would make it impossible for IDE to follow actual sources, and so raising errors when generated API is used. This disqualifies this approach from use in practice.
[*] Links to some of the feature requests mentioned above:
- [Request: Class Decorator Mutation](https://github.com/microsoft/TypeScript/issues/4881)
- [Allow class decorators to extend type signature](https://github.com/Microsoft/TypeScript/issues/25119)
- [Suggestion: support compile time annotations alongside runtime decorators](https://github.com/microsoft/TypeScript/issues/30723)
- [Add Support for design-time decorators](https://github.com/microsoft/TypeScript/issues/2900)
## Examples
For example, an annotation processor like Java's [lombok](https://projectlombok.org/).
## Checklist
My suggestion meets these guidelines:
* [yes] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [yes] This wouldn't change the runtime behavior of existing JavaScript code
* [yes] This could be implemented without emitting different JS based on the types of the expressions
* [yes] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [I think so ;)] 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 |
450,946,149 | terminal | Feature Request: Take screenshot of selection/viewport | ## Summary of the new feature/enhancement
You can take a screenshot of whole window with Alt+Prt Scr, but it would be handy if one could do so only on selected text.
With box selection this would contain selected area, whereas with regular selection it would contain every selected line.
In profile settings one could be able to choose whether the background of taken screenshot should be the actual displayed background or something else (probably solid color). This would ease making tutorials or reports, when one doesn't want to show what's behind the terminal.
Other option could be additional marigin, as so the first pixel of text isn't the first pixel of image.
I'm not sure about appropriate shortcut, meaby some Func+Prt Scr?
# Proposed technical implementation details (optional)
I can see this being solved either by taking regular screen shot or re-rendering selected text to buffer. Idk which option's better, but with custom background it seem's like the second one. | Issue-Feature,Area-UserInterface,Product-Terminal | low | Major |
450,952,886 | go | compress/flate: very memory intensive | ```go
func BenchmarkCompress(b *testing.B) {
b.Run("writer", func(b *testing.B) {
b.Run("flate", func(b *testing.B) {
b.ReportAllocs()
for i := 0; i < b.N; i++ {
flate.NewWriter(nil, flate.BestSpeed)
}
})
b.Run("gzip", func(b *testing.B) {
b.ReportAllocs()
for i := 0; i < b.N; i++ {
gzip.NewWriterLevel(nil, zlib.BestSpeed)
}
})
})
b.Run("reader", func(b *testing.B) {
b.Run("flate", func(b *testing.B) {
b.ReportAllocs()
for i := 0; i < b.N; i++ {
flate.NewReader(nil)
}
})
b.Run("gzip", func(b *testing.B) {
b.ReportAllocs()
bb := &bytes.Buffer{}
gzip.NewWriter(bb).Write(nil)
b.ResetTimer()
for i := 0; i < b.N; i++ {
gzip.NewReader(bb)
}
})
})
}
```
If you run that, you'll get:
```
$ go test -bench=Compress -run=^$
goos: darwin
goarch: amd64
pkg: nhooyr.io/websocket
BenchmarkCompress/writer/flate-8 10000 135813 ns/op 1200010 B/op 15 allocs/op
BenchmarkCompress/writer/gzip-8 20000000 73.1 ns/op 176 B/op 1 allocs/op
BenchmarkCompress/reader/flate-8 300000 3785 ns/op 44672 B/op 6 allocs/op
BenchmarkCompress/reader/gzip-8 10000000 230 ns/op 704 B/op 1 allocs/op
PASS
ok nhooyr.io/websocket 6.674s
```
1.2 MB per writer and 45 KB per reader is a lot, especially for usage with WebSockets where most messages are rather small, often on average 512 bytes. Why is compress/flate allocating so much and is there a way to reduce it?
gzip (along with zlib though I didn't include it in the benchmark) use much less memory.
Related:
1. #3155
2. https://github.com/gorilla/websocket/issues/203 | Performance,NeedsInvestigation | low | Major |
450,956,855 | go | x/build: configure Stackdriver alerting for farmer.golang.org/#health | When I added the coordinator health checking, I made each health item have its own URL, linked from https://farmer.golang.org/#health ...
* https://farmer.golang.org/status/macs
* https://farmer.golang.org/status/scaleway
* https://farmer.golang.org/status/basepin
... etc
It returns:
* HTTP 500 if there are any errors
* HTTP 200 + "ok" if everything is perfect
* HTTP 200 + warnings on warnings
That should make it easy to plug in to our existing Stackdriver alerting, to send emails when things are unhealthy.
If the HTTP status + body aren't sufficient to make the Stackdriver integration trivial, adjust the coordinator such that it is.
/cc @dmitshur @andybons | Builders,NeedsFix | low | Critical |
450,989,370 | terminal | Suppress cursor blinking when text is actively being printed | Here's an edge case I didn't cover in #686 - though it might warrant its own issue anyway.
# Environment
```none
Windows build number: 10.0.18362.145
Windows Terminal version (if applicable): commit 71e19cd82528d66a0a7867cbed85990cfc1685f1
Any other software?
```
# Steps to reproduce
Print a lot of text to the console. This is especially apparent with progress bars that require backspace characters.
# Actual behavior
The cursor continues to blink, or if the cursor blinking is turned off it stays on. This leads to some weird behaviour:


# Expected behavior
I'm thinking the cursor should automatically hide when printing text. I've seen this done in a few other terminal programs.
| Help Wanted,Area-Rendering,Product-Terminal,Issue-Task,Priority-3 | low | Major |
450,990,912 | rust | Use const generics for array `Default` impl | Currently, we generate array impls for every size up to 32 manually using macros, but with const generics at a suitable level of implementation, we can switch to properly parameterising over all lengths.
- [x] Replace most manual impls with const generic impls (PR: https://github.com/rust-lang/rust/pull/62435)
- [ ] Replace `Default` impl with const generic impl (more difficult due to https://github.com/rust-lang/rust/pull/60466#discussion_r280989938).
- [ ] Reimplement impls removed due to bloat using const generic impls (see https://github.com/rust-lang/rust/blob/7840a0b753a065a41999f1fb6028f67d33e3fdd5/src/libcore/array.rs#L221-L227 and https://github.com/rust-lang/rust/blob/bfdfa85e73186ef96f082980113f7ace8561efd2/src/liballoc/vec.rs#L2199-L2204) | T-lang,T-libs-api,T-compiler,A-const-generics,A-slice,Libs-Tracked,A-array | high | Critical |
450,996,362 | go | x/mobile: Docs imply that methods can take structs | The gomobile docs say it supports
> Any function type all of whose parameters and results have
supported types.
I think this is incorrect: gomobile does not support code like the following
```go
type S struct {
X int
}
type I interface {
ReadS(s S)
}
```
Specifically, it does not appear to support passing a struct by value to a function. (Passing an interface, or a pointer to the struct, is supported.)
Please update the docs to reflect this limitation. | Documentation,NeedsInvestigation,mobile | low | Minor |
451,014,985 | TypeScript | Prioritise import suggestions from tsconfig alias over external dependencies | I get the following list when auto-suggest kicks in:

I always want to use the @shared alias I defined in my tsconfig file, and there appears to be no way to either omit the unwanted suggestions, or have my aliases be prioritised when auto-suggest/complete kicks in. | Suggestion,Awaiting More Feedback | low | Major |
451,028,455 | youtube-dl | Support multiple audio tracks / languages for southpark.de | <!--
######################################################################
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 2019.05.20. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Search the bugtracker for similar site feature 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 site feature request
- [x] I've verified that I'm running youtube-dl version **2019.05.20**
- [x] I've searched the bugtracker for similar site feature requests including closed ones
## Description
<!--
Provide an explanation of your site feature request in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->
**The Problem** is: southpark.de is offering its video content with two audio languages. First off english, as it is the original language of the series. Then in german as this is the country at which southpark.de is addressed to. When using the website to play a video, the language can be switched using a combination of javascript buttons which causes the wesite to reload and switch to the selected audio track.
When using youtube-dl to download a video from southpark.de, there is no option (at least none that i could find) to select which audio tracks are downloaded - downloading with youtube-dl yields a video with just the local language audio track (in this case german).
**This could be fixed** by finding a way to download the english audio track.
**My proposed solution** would look this way: When downloading a video from southpark.de that is being offered in multiple languages, youtube-dl will output a video file with all available languages as seperate audio tracks embedded into it.
Ideally, this should be done in a way so that it applies to all southpark sites for all countries, but this will sadly be impossible to test properly without proxies or similar since any southpark site always redirects to it's local site due to georestriction. | request | low | Critical |
451,035,258 | TypeScript | The Symbol interface of the compiler is undocumented | **TypeScript Version:** master
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** Symbol interface compiler
**Code**
https://github.com/microsoft/TypeScript/blob/15daf42b2c0bc4f06970c9e4688f1a93bff0f7a0/src/services/types.ts#L31
The ["Using the Compiler API" docs](https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API) have examples which use Symbols, but they don't say what they are and neither do the API docs in the source.
It'd be incredibly helpful if the core compiler types were at least minimally documented, along with a few of the TypeChecker methods.
Context:
I'm trying to use the compiler API for linting and want to verify that an identifier references a particular declaration.
| Docs | low | Minor |
451,046,584 | godot | Test_move in KinematicBody2D cause game crash | **Godot version:**
3.2 a69436a
**OS/device including version:**
Ubuntu 19.04
**Issue description:**
Probably, when godot try to do test_move from KinematicBody2D, editor crash with this backtrace
```
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x43f60) [0x7f8013d0ff60] (??:0)
[2] CollisionObject2DSW::is_shape_set_as_disabled(int) const (/home/rafal/Pulpit/godot/servers/physics_2d/collision_object_2d_sw.h:151 (discriminator 7))
[3] Space2DSW::test_body_motion(Body2DSW*, Transform2D const&, Vector2 const&, bool, float, Physics2DServer::MotionResult*, bool) (/home/rafal/Pulpit/godot/servers/physics_2d/space_2d_sw.cpp:770)
[4] Physics2DServerSW::body_test_motion(RID, Transform2D const&, Vector2 const&, bool, float, Physics2DServer::MotionResult*, bool) (/home/rafal/Pulpit/godot/servers/physics_2d/physics_2d_server_sw.cpp:1055 (discriminator 2))
[5] Physics2DServerWrapMT::body_test_motion(RID, Transform2D const&, Vector2 const&, bool, float, Physics2DServer::MotionResult*, bool) (/home/rafal/Pulpit/godot/servers/physics_2d/physics_2d_server_wrap_mt.h:261 (discriminator 2))
[6] KinematicBody2D::test_move(Transform2D const&, Vector2 const&, bool) (/home/rafal/Pulpit/godot/scene/2d/physics_body_2d.cpp:1386 (discriminator 2))
[7] MethodBind3R<bool, Transform2D const&, Vector2 const&, bool>::call(Object*, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/./core/method_bind.gen.inc:2505 (discriminator 16))
[8] Object::call(StringName const&, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/core/object.cpp:940 (discriminator 1))
[9] Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&) (/home/rafal/Pulpit/godot/core/variant_call.cpp:1069 (discriminator 1))
[10] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*) (/home/rafal/Pulpit/godot/modules/gdscript/gdscript_function.cpp:1072)
[11] GDScriptInstance::call_multilevel(StringName const&, Variant const**, int) (/home/rafal/Pulpit/godot/modules/gdscript/gdscript.cpp:1192)
[12] Node::_notification(int) (/home/rafal/Pulpit/godot/scene/main/node.cpp:67)
[13] Node::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/main/node.h:46 (discriminator 14))
[14] CanvasItem::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/2d/canvas_item.h:166 (discriminator 3))
[15] Node2D::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/2d/node_2d.h:38 (discriminator 3))
[16] CollisionObject2D::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/2d/collision_object_2d.h:39 (discriminator 3))
[17] PhysicsBody2D::_notificationv(int, bool) (/home/rafal/Pulpit/godot/scene/2d/physics_body_2d.h:43 (discriminator 3))
[18] KinematicBody2D::_notificationv(int, bool) (/home/rafal/Pulpit/godot/scene/2d/physics_body_2d.h:290 (discriminator 3))
[19] Object::notification(int, bool) (/home/rafal/Pulpit/godot/core/object.cpp:952)
[20] SceneTree::_notify_group_pause(StringName const&, int) (/home/rafal/Pulpit/godot/scene/main/scene_tree.cpp:975)
[21] SceneTree::iteration(float) (/home/rafal/Pulpit/godot/scene/main/scene_tree.cpp:478 (discriminator 2))
[22] Main::iteration() (/home/rafal/Pulpit/godot/main/main.cpp:1896)
[23] OS_X11::run() (/home/rafal/Pulpit/godot/platform/x11/os_x11.cpp:3034)
[24] /usr/bin/godot(main+0xdc) [0x138298e] (/home/rafal/Pulpit/godot/platform/x11/godot_x11.cpp:56)
[25] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f8013cf2b6b] (??:0)
[26] /usr/bin/godot(_start+0x2a) [0x13827fa] (??:?)
```
**Steps to reproduce:**
1. Run game from minimal project with from repository
2. Wait a moment
**Minimal reproduction project:**
https://github.com/qarmin/The-worst-Godot-test-project
commit 8d91e274d6ad4267b6045be9a36f5c1db32f1bc5
[Bug.zip](https://github.com/godotengine/godot/files/3254376/Bug.zip)
| bug,topic:physics,crash | low | Critical |
451,051,697 | TypeScript | Handling AssemblyScript input files | (Continuing from https://github.com/Microsoft/TypeScript/issues/10939)
I'd like to add another use case:
[AssemblyScript](https://github.com/AssemblyScript/assemblyscript). :)
It could be handy to have both `.ts` and `.as` files, to disambiguate the two.
For example, at the moment I have both `src/ts/` and `src/as/` folders to disambiguate the two.
It would also then be possible to have both `some-project/index.ts` and `some-project/index.as`, and which one is being imported in `import foo from 'some-project'` would depend on the file type.
The AssemblyScript guys are [currently discussing](https://github.com/AssemblyScript/assemblyscript/issues/448) how to make Node-style module resolution work, with the idea of an `asmain` field in package.json similar to `main` but for AS code, or defaulting to `assembly/index.ts` when there's no `asmain` field, because of ambiguity between AS and TS files.
Having an `assembly/` folder at the root of a project (IMO) doesn't follow the convention in the web/JS community of having a `src` folder for sources.
If not allowing custom extensions for this, would the TypeScript team rather add another official extension? Perhaps even official AS types into the mix for such files (`i32`, `i64`, `f32`, etc, instead of just `number`)? | Suggestion,Awaiting More Feedback | medium | Major |
451,058,092 | opencv | shared:ERROR: If pthreads and memory growth are enabled, WASM_MEM_MAX must be set | `/home/z/emsdk/emscripten/incoming/em++ -s WASM=1 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -pthread -Qunused-arguments -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -O2 -DNDEBUG -Wl,--gc-sections -O2 --memory-init-file 0 -s TOTAL_MEMORY=134217728 -s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=1 -s SINGLE_FILE=1 -s EXPORT_NAME="'cv'" -s DEMANGLE_SUPPORT=1 -s FORCE_FILESYSTEM=1 --use-preload-plugins --bind --post-js /home/z/opencv/modules/js/src/helpers.js -Wno-missing-prototypes @CMakeFiles/opencv_js.dir/objects1.rsp -o ../../bin/opencv_js.js @CMakeFiles/opencv_js.dir/linklibs.rsp
root:WARNING: USE_PTHREADS + ALLOW_MEMORY_GROWTH may run non-wasm code slowly, see https://github.com/WebAssembly/design/issues/1271
shared:ERROR: If pthreads and memory growth are enabled, WASM_MEM_MAX must be set
modules/js/CMakeFiles/opencv_js.dir/build.make:179: recipe for target 'bin/opencv_js.js' failed
make[3]: *** [bin/opencv_js.js] Error 1
make[3]: Leaving directory '/home/z/opencv/build_wasm'
CMakeFiles/Makefile2:1514: recipe for target 'modules/js/CMakeFiles/opencv_js.dir/all' failed
make[2]: *** [modules/js/CMakeFiles/opencv_js.dir/all] Error 2
make[2]: Leaving directory '/home/z/opencv/build_wasm'
CMakeFiles/Makefile2:1479: recipe for target 'modules/js/CMakeFiles/opencv.js.dir/rule' failed
make[1]: *** [modules/js/CMakeFiles/opencv.js.dir/rule] Error 2
make[1]: Leaving directory '/home/z/opencv/build_wasm'
Makefile:390: recipe for target 'opencv.js' failed
make: *** [opencv.js] Error 2
Traceback (most recent call last):
File "./platforms/js/build_js.py", line 235, in <module>
builder.build_opencvjs()
File "./platforms/js/build_js.py", line 170, in build_opencvjs
execute(["make", "-j", str(multiprocessing.cpu_count()), "opencv.js"])
File "./platforms/js/build_js.py", line 23, in execute
raise Fail("Child returned: %s" % retcode)
__main__.Fail: Child returned: 2
z@z:~/opencv$
` | category: build/install,category: javascript (js) | medium | Critical |
451,075,885 | rust | Incorrect type of stable std::os::raw pthread_t type on musl targets | POSIX's `pthread_t` is defined in `sys/types.h` and is an opaque type that identifies a thread.
On `glibc` it is a `c_ulong`, on `musl` it is a `*mut __thread_handle`, etc.
However, libstd's `pthread_t` is a type alias to `libc::c_ulong`, which is incorrect on musl. AFAICT, fixing this would be a backwards incompatible change. | T-libs-api,O-musl,C-bug | low | Minor |
451,088,959 | godot | Add warning/docs for .res/.tres for binary files | We use the PckPacker in our project to add image resources at runtime, but they waste a lot of space when not compressed.
There should be a way to compress the .pck files made with PckPacker, like the .pck files made with the editor. | enhancement,documentation | low | Major |
451,122,605 | TypeScript | Inferring "this" from arrow function is {} | **TypeScript Version:** Version 3.6.0-dev.20190601
**Search Terms:** This, Arrow, Functions, Infer, Inference, Empty, Object, Incorrect, Any
**Code**
```ts
type FunctionThisType<T extends (...args: any[]) => any> =
T extends (this: infer R, ...args: any[]) => any ? R : any
let fn = () => {}
let value: FunctionThisType<typeof fn> = "wrong"
```
**Expected behavior:**
```
error TS2322: Type '"wrong"' is not assignable to type 'typeof globalThis'.
Found 1 error.
```
**Actual behavior:**
```
No errors found.
```
**Playground Link:** [Playground](https://www.typescriptlang.org/play/index.html#src=type%20FunctionThisType%3CT%20extends%20(...args%3A%20any%5B%5D)%20%3D%3E%20any%3E%20%3D%0D%0A%20%20T%20extends%20(this%3A%20infer%20R%2C%20...args%3A%20any%5B%5D)%20%3D%3E%20any%20%3F%20R%20%3A%20any%0D%0A%0D%0Alet%20fn%20%3D%20()%20%3D%3E%20%7B%7D%0D%0Alet%20value%3A%20FunctionThisType%3Ctypeof%20fn%3E%20%3D%20%22wrong%22%0D%0A)
**Related Issues:** None found.
| Suggestion,In Discussion | medium | Critical |
451,122,971 | pytorch | IsType<T>() ASSERT FAILED [Detectron e2e_mask_rcnn_R-50-C4_1x.yaml] | ## 🐛 Bug
Assertion error when running inference with model successfully trained using the e2e_mask_rcnn_R-50-C4_1x.yaml Detectron config. No such error encountered during training.
## To Reproduce
Steps to reproduce the behavior:
In the Detectron dir:
1. python tools/test_net.py \
--cfg configs/12_2017_baselines/e2e_mask_rcnn_R-50-C4_1x.yaml \
TEST.WEIGHTS tmp/model_final.pkl \
NUM_GPUS 1 \
OUTPUT_DIR tmp/test
After successfully training via:
python tools/train_net.py \ --cfg configs/12_2017_baselines/e2e_mask_rcnn_R-50-C4_1x.yaml \ OUTPUT_DIR tmp/
<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->
Traceback (most recent call last):
File "tools/test_net.py", line 116, in <module>
check_expected_results=True,
File "/vol/bitbucket2/rm2815/Detectron/detectron/core/test_engine.py", line 128, in run_inference
all_results = result_getter()
File "/vol/bitbucket2/rm2815/Detectron/detectron/core/test_engine.py", line 108, in result_getter
multi_gpu=multi_gpu_testing
File "/vol/bitbucket2/rm2815/Detectron/detectron/core/test_engine.py", line 159, in test_net_on_dataset
weights_file, dataset_name, proposal_file, output_dir, gpu_id=gpu_id
File "/vol/bitbucket2/rm2815/Detectron/detectron/core/test_engine.py", line 258, in test_net
model, im, box_proposals, timers
File "/vol/bitbucket2/rm2815/Detectron/detectron/core/test.py", line 66, in im_detect_all
model, im, cfg.TEST.SCALE, cfg.TEST.MAX_SIZE, boxes=box_proposals
File "/vol/bitbucket2/rm2815/Detectron/detectron/core/test.py", line 158, in im_detect_bbox
workspace.RunNet(model.net.Proto().name)
File "/vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/workspace.py", line 237, in RunNet
StringifyNetName(name), num_iter, allow_fail,
File "/vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/workspace.py", line 198, in CallWithExceptionIntercept
return func(*args, **kwargs)
RuntimeError: IsType<T>() ASSERT FAILED at /opt/conda/conda-bld/pytorch-nightly_1551157756140/work/aten/src/ATen/core/blob.h:77, please report a bug to PyTorch. wrong type for the Blob instance. Blob contains nullptr (uninitialized) while caller expects caffe2::Tensor.
Offending Blob name: gpu_0/conv_rpn_w.
Error from operator:
input: "gpu_0/res4_5_sum" input: "gpu_0/conv_rpn_w" input: "gpu_0/conv_rpn_b" output: "gpu_0/conv_rpn" name: "" type: "Conv" arg { name: "kernel" i: 3 } arg { name: "order" s: "NCHW" } arg { name: "pad" i: 1 } arg { name: "stride" i: 1 } arg { name: "exhaustive_search" i: 0 } device_option { device_type: 1 device_id: 0 } engine: "CUDNN" (Get at /opt/conda/conda-bld/pytorch-nightly_1551157756140/work/aten/src/ATen/core/blob.h:77)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x45 (0x7f68638f59d5 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/../../torch/lib/libc10.so)
frame #1: caffe2::Tensor const& caffe2::Blob::Get<caffe2::Tensor>() const + 0xf0 (0x7f686400f750 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-x86_64-linux-gnu.so)
frame #2: caffe2::Tensor const& caffe2::OperatorBase::Input<caffe2::Tensor>(int, c10::DeviceType) + 0x301 (0x7f686408bdf1 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/caffe2_pybind11_state_gpu.cpython-36m-x86_64-linux-gnu.so)
frame #3: bool caffe2::CudnnConvOp::DoRunWithType<float, float, float, float>() + 0x38 (0x7f682545f428 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/../../torch/lib/libcaffe2_gpu.so)
frame #4: caffe2::CudnnConvOp::RunOnDevice() + 0x198 (0x7f682544dd08 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/../../torch/lib/libcaffe2_gpu.so)
frame #5: <unknown function> + 0x13970c5 (0x7f68253ba0c5 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/../../torch/lib/libcaffe2_gpu.so)
frame #6: caffe2::AsyncNetBase::run(int, int) + 0x144 (0x7f684c460964 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #7: <unknown function> + 0x16b5549 (0x7f684c467549 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #8: c10::ThreadPool::main_loop(unsigned long) + 0x273 (0x7f684b47b773 in /vol/bitbucket/rm2815/anaconda3/lib/python3.6/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #9: <unknown function> + 0xafc5c (0x7f6869201c5c in /vol/bitbucket/rm2815/anaconda3/bin/../lib/libstdc++.so.6)
frame #10: <unknown function> + 0x76db (0x7f6877b6d6db in /lib/x86_64-linux-gnu/libpthread.so.0)
frame #11: clone + 0x3f (0x7f687789688f in /lib/x86_64-linux-gnu/libc.so.6)
## Expected behavior
Successful inference using weights from training.
<!-- A clear and concise description of what you expected to happen. -->
## Environment
Collecting environment information...
PyTorch version: 1.1.0
Is debug build: No
CUDA used to build PyTorch: 9.0.176
OS: Ubuntu 18.04.2 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0
CMake version: version 3.10.2
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 10.1
GPU models and configuration:
GPU 0: TITAN Xp
GPU 1: TITAN Xp
GPU 2: TITAN Xp
GPU 3: TITAN Xp
GPU 4: TITAN Xp
GPU 5: TITAN Xp
GPU 6: TITAN Xp
GPU 7: TITAN Xp
GPU 8: TITAN Xp
GPU 9: TITAN Xp
Nvidia driver version: 390.116
cuDNN version: Could not collect
Versions of relevant libraries:
[pip] numpy==1.16.3
[pip] torch==1.2.0.dev20190601
[pip] torchvision==0.3.0
[conda] blas 1.0 mkl
[conda] cuda80 1.0 h205658b_0 pytorch
[conda] mkl 2019.3 199
[conda] mkl_fft 1.0.12 py37ha843d7b_0
[conda] mkl_random 1.0.2 py37hd81dba3_0
[conda] pytorch 1.1.0 py3.7_cuda9.0.176_cudnn7.5.1_0 pytorch
[conda] pytorch-nightly 1.2.0.dev20190601 py3.7_cuda9.0.176_cudnn7.5.1_0 pytorch
[conda] torchvision 0.3.0 py37_cu9.0.176_1 pytorch
## Additional context
Training works. Inference with below for the tutorial Detectron model works too:
python tools/test_net.py \
--cfg configs/getting_started/tutorial_1gpu_e2e_faster_rcnn_R-50-FPN.yaml \
TEST.WEIGHTS /tmp/detectron-output/train/coco_2014_train/generalized_rcnn/model_final.pkl \
NUM_GPUS 1
<!-- Add any other context about the problem here. -->
| caffe2,module: assert failure | low | Critical |
451,132,673 | rust | Diagnostics: Consider computing the column number by counting Unicode (extended) grapheme clusters instead of Unicode scalar values | ```rust
fn main() {
let _ = "μ̧"; let _ = ;
}
```
([Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=a38009a688ef75bfacec1cf2c2372bcf))
Actual Errors:
```
Compiling playground v0.0.1 (/playground)
error: expected expression, found `;`
--> src/main.rs:2:27
|
2 | let _ = "μ̧"; let _ = ;
| ^ expected expression
error: aborting due to previous error
error: Could not compile `playground`.
To learn more, run the command again with --verbose.
```
Expected Errors:
```
Compiling playground v0.0.1 (/playground)
error: expected expression, found `;`
--> src/main.rs:2:26
|
2 | let _ = "μ̧"; let _ = ;
| ^ expected expression
error: aborting due to previous error
error: Could not compile `playground`.
To learn more, run the command again with --verbose.
```
The change being the column being 26 instead of 27. Putting `μ̧` (that is, `μ` and `̧`) should count as one character for the column number count. If you copy `μ̧` into your browser's address bar you should see it act as one character. | C-enhancement,A-diagnostics,A-Unicode,P-low,T-compiler,D-diagnostic-infra | low | Critical |
451,142,616 | rust | Assert panic is difficult to read for long expressions | Given the following test, the traceback is very ugly and difficult to read. I think the `assert!` macro is trying to limit the width to 80 or 100 characters, but it also indents by a ridiculous amount. It should either use block indentation instead of visual indentation, put everything one line, or possibly just format it the same as the original code.
This happened even when the terminal width was more than 100 characters.
```
#[test]
fn test_complex_types() {
assert!(match_type(
parse("char * const (*(* const bar)[10])(int )"),
Pointer(
Box::new(Array(
Box::new(Pointer(
Box::new(Function(FunctionType {
return_type: Box::new(Pointer(Box::new(Char(true)), Qualifiers::CONST)),
params: vec![Symbol {
ctype: Int(true),
storage_class: Default::default(),
id: String::new(),
qualifiers: Qualifiers::NONE,
}],
varargs: false,
})),
Qualifiers::NONE
)),
ArrayType::Fixed(Box::new(Expr::Int(Token::Int(10))))
)),
Qualifiers::CONST
)
));
}
```
```
failures:
---- parse::tests::test_complex_types stdout ----
thread 'parse::tests::test_complex_types' panicked at 'assertion failed: match_type(parse("char * const (*(* const bar)[10])(int )"),
Pointer(Box::new(Array(Box::new(Pointer(Box::new(Function(FunctionType{return_type:
Box::new(Pointer(Box::new(Char(true)),
Qualifiers::CONST)),
params:
vec![Symbol
{
ctype
:
Int
(
true
)
,
storage_class
:
Default
::
default
(
)
,
id
:
String
::
new
(
)
,
qualifiers
:
Qualifiers
::
NONE
,
}],
varargs:
false,})),
Qualifiers::NONE)),
ArrayType::Fixed(Box::new(Expr::Int(Token::Int(10)))))),
Qualifiers::CONST))', src/parse.rs:965:9
``` | A-pretty,C-enhancement,A-diagnostics,T-compiler | low | Critical |
451,144,881 | vue-element-admin | 标签页取消transaction后热刷新页面空白 | ## Bug report(问题描述)
如题
#### Steps to reproduce(问题复现步骤)
1. 将`src/views/layout/components/AppMain.vue`中的`<transition name="fade" mode="out-in"><keep-alive :include="cachedViews"><router-view :key="key"/></keep-alive></transition>`修改为
```
<keep-alive :include="cachedViews"><router-view :key="key"/></keep-alive>
```
2. 对已经打开了tag的页面的vue源码进行修改, 并保存
3. 页面出现空白
#### Screenshot or Gif(截图或动态图)

| need repro :mag_right: | low | Critical |
451,147,629 | neovim | signcolumn: auto: re-use same column for same type | With e.g. `:set signcolumn=auto:2` and two different plugins displaying signs, it would be nice if signs were trying to be kept in the same columns.
E.g.
```
AABB line1
AA line2
BB line3
AA line4
BB line5
```
Currently it would look like this:
```
AABB line1
AA line2
BB line3
AA line4
BB line5
```
This makes it harder to read with e.g. using [vim-gitgutter](https://github.com/airblade/vim-gitgutter) and [coveragepy.vim](https://github.com/alfredodeza/coveragepy.vim).
There have been patches in Vim already for "group"ing of signs, which could be used here, but often plugins will either re-use the same ID, or at least the same text/hl (although those might be several). | enhancement,has:plan,core,column | medium | Major |
451,149,990 | TypeScript | [Feature request] use Proxy in __importStar when target >= es6 with esModuleInterop | <!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please read the FAQ first, especially the "Common Feature Requests" section.
-->
## Search Terms
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->
## Suggestion
use `Proxy` in `__importStar` when `target >= es6` with `esModuleInterop`
## Use Cases
`import * as xxxx from yyyy` with `esModuleInterop`
## Examples
```ts
import console from 'debug-color2';
import util from 'util';
util.inspect.defaultOptions.colors = true;
function __importStar(mod)
{
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
}
function __importStar2(mod)
{
if (mod && mod.__esModule) return mod;
let _type = typeof mod;
if (mod == null || _type !== 'function' && _type !== 'object')
{
return {
default: mod
}
}
return new Proxy(mod, {
get(target, property)
{
if (property === 'default')
{
return mod
}
return Reflect.get(mod, property);
},
has(target, property)
{
if (property === 'default')
{
return true
}
return Reflect.has(mod, property);
},
});
}
let _a1 = __importStar(require('./temp2'));
let _a2 = __importStar2(require('./temp2'));
let _a3 = require('./temp2');
print(_a1, 1);
print(_a2, 2);
print(_a3, 3);
function print(mod, n)
{
console.log('----------');
_dir(n);
_dir(mod, `mod`);
_dir(mod.v1, `mod.v1`);
mod.notExistsProp = 777;
try
{
_dir(mod.default(), `mod.default()`);
}
catch (e)
{
console.red.log(e.message);
}
mod.v1++;
_dir(mod.v1, `mod.v1`);
try
{
_dir(mod.default(), `mod.default()`);
}
catch (e)
{
console.red.log(e.message);
}
_dir(mod, `mod`);
_dir(mod.default, `mod.default`);
_dir(Object.keys(mod));
_dir('default' in mod, `'default' in mod`);
_dir('__esModule' in mod, `'__esModule' in mod`);
_dir(mod.__esModule, `mod.__esModule`);
_dir(mod.__cccc, `mod.__cccc`);
try
{
_dir('__esModule' in mod.default, `'__esModule' in mod.default`);
_dir(mod.default.__esModule, `mod.default.__esModule`);
_dir(mod.default.__cccc, `mod.default.__cccc`);
}
catch (e)
{
console.red.log(e.message);
}
try
{
_dir(mod(), `mod()`);
}
catch (e)
{
console.red.log(e.message);
}
}
function _dir(value, label?)
{
if (typeof label !== 'undefined')
{
console.log(`[${label}]`, util.inspect(value));
}
else
{
console.log(util.inspect(value));
}
}
```
```ts
import util from 'util';
function aaaa()
{
console.log(`module.exports`, util.inspect(module.exports));
return 1
}
aaaa.v1 = 777;
Object.defineProperty(aaaa, '__cccc', {
value: true
});
export = aaaa
```
## 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).
| Needs Investigation | low | Critical |
451,201,349 | rust | cannot find crate | Rust compiler:
rustup show
Default host: x86_64-unknown-linux-gnu
stable-x86_64-unknown-linux-gnu (default)
rustc 1.35.0 (3c235d560 2019-05-20)
Project: https://github.com/svenschmidt75/Rust, commit 78b9a8fd4740bbf8630cc0ade48346a5387f2075, authored 6/2/2019 @ 8:58 AM
File model.rs, line 139,
```
...
mb.a[0] = training_sample.input_activations.clone();
self.feedforward(mb);
self.backprop(mb, cost_function, known_classification);
}
let (dws, dbs) = self.calculate_derivatives(&mbs[..], lambda);
self.apply_momentum(eta, rho, dws, dbs);
self.update_network();
}
...
```
Replace `eta` with `meta` and compile. The error refers to a missing crate which I found odd:
```
Compiling ann v0.1.0 (/home/svenschmidt75/Develop/Rust/NeuralNetwork/lib/ann)
error[E0463]: can't find crate for `meta`
--> lib/ann/src/ann/model.rs:139:37
|
139 | self.apply_momentum(meta, rho, dws, dbs);
| ^^^^ can't find crate
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: Could not compile `ann`.
warning: build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `meta`
--> lib/ann/src/ann/model.rs:139:37
|
139 | self.apply_momentum(meta, rho, dws, dbs);
| ^^^^ can't find crate
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: Could not compile `ann`.
To learn more, run the command again with --verbose.
Process finished with exit code 101
``` | C-enhancement,A-diagnostics,T-compiler | low | Critical |
451,216,044 | go | x/pkgsite: render type aliases in a group | godoc renders each type alias in a dedicated `<h2>`. Please consider rendering all type aliases in one shared `<h2>` called _Type aliases_ analogously to how constants and variables are currently rendered. This way, a code refactoring that breaks up a large package by moving a class of type declarations into a dedicated package will reap the benefit of making the table of contents shorter and thus more navigable. | NeedsInvestigation,FeatureRequest,Tools,pkgsite | low | Minor |
451,216,399 | rust | E0391 (cycle detected): error message overly complicated, should be more similar to "let" example | ````rust
fn main() {
const A: i32 = 4;
const B: i32 = 5;
const C: i32 = B + C; // should be "+ A"
}
````
In this example "+C" should be "+A" but the error message seems overly complicated to me:
````
Standard Error
Compiling playground v0.0.1 (/playground)
error[E0391]: cycle detected when const checking if rvalue is promotable to static `main::C`
--> src/main.rs:7:1
|
7 | const C: i32 = B + C;
| ^^^^^^^^^^^^^^^^^^^^^
|
note: ...which requires checking which parts of `main::C` are promotable to static...
--> src/main.rs:7:20
|
7 | const C: i32 = B + C;
| ^
= note: ...which again requires const checking if rvalue is promotable to static `main::C`, completing the cycle
= note: cycle used when running analysis passes on this crate
````
When I use `let` instead of `const`, the compiler correctly diagnoses the underlying problem and the error message is much clearer:
````rust
fn main() {
const A: i32 = 4;
const B: i32 = 5;
let C: i32 = B + C;
}
````
````
error[E0425]: cannot find value `C` in this scope
--> src/main.rs:6:18
|
6 | let C: i32 = B + C;
| ^ help: a constant with a similar name exists: `A`
error: aborting due to previous error
```` | C-enhancement,A-diagnostics,T-compiler,D-verbose | low | Critical |
451,286,133 | go | runtime: performance degradation in high-load long running applications | ### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.12.5 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
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/spin/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/.../go"
GOPROXY=""
GORACE=""
GOROOT="/.../1.12.5/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
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/q5/b4nzm8zj3g5gcjs4rhkpvczh0000gn/T/go-build533400238=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>
### What did you do?
My company spotted serious performance degradation in one of high load services. Service handles about 100K TCP permanent connections and using complex processing for about 75K partners requests per second. When we tried to upgrade Go from 1.11.6 to 1.12.5 we noted that performance fell by a third. Service begins seriously misbehave after about 15-30 mins after start.
After investigation I found that performance degradation caused by commits `1678b2c5..873bd47d`. Commits `1678b2c5..457c8f4f` causes slight performance degradation. Performance of service builded with `873bd47d` and later is absolutely horrible as well as memory consumption. Also I noted that CPU load from `873bd47d` reduced from 100% to 67%. Last commit with acceptable performance is `6e9fb11b3`.
Very strange benchmark:
```
func BenchmarkWrite(b *testing.B) {
f, err := os.Create("/dev/null")
if err != nil {
panic(err)
}
defer f.Close()
buf := make([]byte, 1024*100)
b.ResetTimer()
b.RunParallel(func(pb *testing.PB) {
for pb.Next() {
for i:=0;i<100000;i++ {
f.SetDeadline(time.Now().Add(5*time.Minute))
f.Write(buf)
f.SetDeadline(time.Time{})
runtime.GC()
}
}
})
b.StopTimer()
}
```
Maybe not of all ops makes sense but the results speak for themselves. Benchmarks are executed with Go built from source `6e9fb11b..873bd47d`. Here is brief results. You can find details in attached archives.
`6e9fb11b` (OK):
```
$ CGO_ENABLED=0 $HOME/go.dev/bin/go test -run=XXX -bench=BenchmarkWrite ./...
goos: linux
goarch: amd64
pkg: ...
BenchmarkWrite-2 1 17839662490 ns/op 93816 B/op 61 allocs/op
PASS
```
`873bd47d` (degraded):
```
...
goos: linux
goarch: amd64
pkg: ...
BenchmarkWrite-2 1 41872237656 ns/op 6708104 B/op 68744 allocs/op
PASS
```
Detailed results:
[0-6e9fb11b.zip](https://github.com/golang/go/files/3245824/0-6e9fb11b.zip)
[1-1678b2c5.zip](https://github.com/golang/go/files/3245825/1-1678b2c5.zip)
[2-143b13ae.zip](https://github.com/golang/go/files/3245826/2-143b13ae.zip)
[3-457c8f4f.zip](https://github.com/golang/go/files/3245827/3-457c8f4f.zip)
[4-873bd47.zip](https://github.com/golang/go/files/3245828/4-873bd47.zip)
Referred commits:
- https://github.com/golang/go/commit/1678b2c580584fa1ea8de3c14df0d8d77b6f7387
- https://github.com/golang/go/commit/143b13ae82d81020dfa6db40818bef5a1f701c3f
- https://github.com/golang/go/commit/457c8f4fe9e4d45f97d0a3f3c4a80789c6616fd6
- https://github.com/golang/go/commit/873bd47dfb34ba4416d4df30180905250b91f137
### What did you expect to see?
Normal performance like in Go 1.11.6.
### What did you see instead?
Big performance degradation with service built with Go 1.12+ | NeedsInvestigation,compiler/runtime | low | Critical |
451,329,788 | pytorch | weight_norm is not supported in TorchScript | ## 🐛 Bug
<!-- A clear and concise description of what the bug is. -->
weight_norm(conv) will arise an error
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\utils\weight_norm.py", line 97, in weight_norm
WeightNorm.apply(module, name, dim)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\utils\weight_norm.py", line 35, in apply
del module._parameters[name]
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\jit\__init__.py", line 903, in __delitem__
raise RuntimeError("cannot delete methods or parameters of a script module")
RuntimeError: cannot delete methods or parameters of a script module
## Environment
pytorch1.1.0, python3.7 on win10 (CPU)
cc @suo | oncall: jit,triaged,jit-backlog | low | Critical |
451,339,841 | opencv | MatOfPoint3f fromArray ArrayIndexOutOfBoundsException: length=12; index=24 | ##### System information (version)
- OpenCV => 3.4.2
- Operating System / Platform => Android (Java) / bug occuring in multiple Android versions
##### Detailed description
App crashing and get following errors when using OpenCV on a specific device (Android 5.1.1, Api22 armeabi-v7a)
`Caused by: java.lang.ArrayIndexOutOfBoundsException: length=12; index=24
at org.opencv.core.MatOfPoint3f.fromArray(MatOfPoint3f.java:51)
at org.opencv.core.MatOfPoint3f.<init>(MatOfPoint3f.java:35)`
This is the method in the MatOfPoint3f.java
```java
public void fromArray(Point3...a) {
if(a==null || a.length==0)
return;
int num = a.length;
alloc(num);
float buff[] = new float[num * _channels];
for(int i=0; i<num; i++) {
Point3 p = a[i];
buff[_channels*i+0] = (float) p.x; <-- crash here
buff[_channels*i+1] = (float) p.y;
buff[_channels*i+2] = (float) p.z;
}
put(0, 0, buff); //TODO: check ret val!
}
```
##### Steps to reproduce
Crash is happening as soon as I call the fromArray method. Here is my implementation
```java
float lSize = 100;
m3FPoints = new MatOfPoint3f(new Point3(-lSize, lSize, 0), new Point3(lSize, lSize, 0));
``` | bug,priority: low,category: java bindings,needs reproducer,needs investigation | low | Critical |
451,344,819 | godot | Editor crash when pressing at the error in the debugger | **Godot version:**
<!-- Specify commit hash if non-official. -->
**OS/device including version:**
Ubuntu 19.04
**Issue description:**
Very rarely, when I press at the errors at the debugger, then editor crash with this backtrace:
```
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x43f60) [0x7fac56ef6f60] (??:0)
[2] TreeItem::get_children() (/home/rafal/Pulpit/godot/scene/gui/tree.cpp:389)
[3] ScriptEditorDebugger::_error_activated() (/home/rafal/Pulpit/godot/editor/script_editor_debugger.cpp:1768)
[4] MethodBind0::call(Object*, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/./core/method_bind.gen.inc:61 (discriminator 4))
[5] Object::call(StringName const&, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/core/object.cpp:940 (discriminator 1))
[6] Object::emit_signal(StringName const&, Variant const**, int) (/home/rafal/Pulpit/godot/core/object.cpp:1240 (discriminator 1))
[7] Object::emit_signal(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) (/home/rafal/Pulpit/godot/core/object.cpp:1296)
[8] Tree::_gui_input(Ref<InputEvent>) (/home/rafal/Pulpit/godot/scene/gui/tree.cpp:2651 (discriminator 2))
[9] MethodBind1<Ref<InputEvent> >::call(Object*, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/./core/method_bind.gen.inc:775 (discriminator 12))
[10] Object::call_multilevel(StringName const&, Variant const**, int) (/home/rafal/Pulpit/godot/core/object.cpp:775 (discriminator 1))
[11] Object::call_multilevel(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) (/home/rafal/Pulpit/godot/core/object.cpp:881)
[12] Viewport::_gui_call_input(Control*, Ref<InputEvent> const&) (/home/rafal/Pulpit/godot/scene/main/viewport.cpp:1525 (discriminator 2))
[13] Viewport::_gui_input_event(Ref<InputEvent>) (/home/rafal/Pulpit/godot/scene/main/viewport.cpp:1827 (discriminator 3))
[14] Viewport::input(Ref<InputEvent> const&) (/home/rafal/Pulpit/godot/scene/main/viewport.cpp:2672 (discriminator 2))
[15] Viewport::_vp_input(Ref<InputEvent> const&) (/home/rafal/Pulpit/godot/scene/main/viewport.cpp:1301)
[16] MethodBind1<Ref<InputEvent> const&>::call(Object*, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/./core/method_bind.gen.inc:775 (discriminator 12))
[17] Object::call(StringName const&, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/core/object.cpp:940 (discriminator 1))
[18] Object::call(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) (/home/rafal/Pulpit/godot/core/object.cpp:865)
[19] SceneTree::call_group_flags(unsigned int, StringName const&, StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) (/home/rafal/Pulpit/godot/scene/main/scene_tree.cpp:267)
[20] SceneTree::input_event(Ref<InputEvent> const&) (/home/rafal/Pulpit/godot/scene/main/scene_tree.cpp:422 (discriminator 6))
[21] InputDefault::_parse_input_event_impl(Ref<InputEvent> const&, bool) (/home/rafal/Pulpit/godot/main/input_default.cpp:416)
[22] InputDefault::parse_input_event(Ref<InputEvent> const&) (/home/rafal/Pulpit/godot/main/input_default.cpp:260)
[23] InputDefault::flush_accumulated_events() (/home/rafal/Pulpit/godot/main/input_default.cpp:671)
[24] OS_X11::process_xevents() (/home/rafal/Pulpit/godot/platform/x11/os_x11.cpp:2485)
[25] OS_X11::run() (/home/rafal/Pulpit/godot/platform/x11/os_x11.cpp:3032)
[26] /usr/bin/godot(main+0xdc) [0x138298e] (/home/rafal/Pulpit/godot/platform/x11/godot_x11.cpp:56)
[27] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fac56ed9b6b] (??:0)
[28] /usr/bin/godot(_start+0x2a) [0x13827fa] (??:?)
```
[Bug.zip](https://github.com/godotengine/godot/files/3254365/Bug.zip)
**Minimal reproduction project:**
I only get this error in this project
https://github.com/qarmin/The-worst-Godot-test-project
commit 9300f7a17ee92c4713199472080088c43fb19f85
| bug,topic:editor,crash | low | Critical |
451,397,995 | go | os/exec: export thread id come from CreateProcess in windows | This is feature request.
On windows, we cannot get thread id of spawned process by os/exec package without using [Tool Help Library](https://docs.microsoft.com/en-us/windows/desktop/toolhelp/tool-help-library).
But I want to use thread id returned from CreateProcess api.
Because I'd like to use [Job Objects](https://docs.microsoft.com/en-us/windows/desktop/procthread/job-objects) in our go application.
In our application, we need to create process with [CREATE_SUSPENDED](https://docs.microsoft.com/en-us/windows/desktop/ProcThread/process-creation-flags#CREATE_SUSPENDED) flag to assign job object before process starts.
But without thread id, it is difficult to get thread handle passed to [ResumeThread](https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-resumethread) for created process.
Can I add a filed `tid` to syscall.SysProcAttr, so that I can know thread id of created process? | OS-Windows,NeedsInvestigation,FeatureRequest | low | Major |
451,401,575 | pytorch | [caffe2] check Range Operator inputs with bug | ## 🐛 Bug
caffe2 process RangeOperator would check input dimension first, There is a bug
```
diff --git a/caffe2/operators/utility_ops.h b/caffe2/operators/utility_ops.h
index 8dd1c45..04d3726 100644
--- a/caffe2/operators/utility_ops.h
+++ b/caffe2/operators/utility_ops.h
@@ -1376,7 +1376,7 @@ class RangeOp : public Operator<Context> {
T step = 1;
for (int i = 0; i < InputSize(); ++i) {
- CAFFE_ENFORCE_EQ(Input(0).dim(), 0, "All inputs must be scalar.");
+ CAFFE_ENFORCE_EQ(Input(i).dim(), 0, "All inputs must be scalar.");
}
switch (InputSize()) {
```
## Environment
- PyTorch Version (1.2)
| caffe2 | low | Critical |
451,422,769 | rust | Value mangling | For const generics, we will eventually allow arbitrary `structural_match` values as generic arguments. Thus, we need to figure out how to mangle them. At the moment, only unsigned integers are supported.
`min_const_generics`
- [x] Unsigned integers
- [x] `bool` (https://github.com/rust-lang/rust/pull/77452)
- [x] Signed integers
- [x] `char`
`adt_const_params`
- [ ] Tuples and arrays
- [ ] Complex data types
cc @eddyb @yodaldevoid | C-enhancement,T-compiler,A-const-generics,requires-nightly,F-adt_const_params | medium | Major |
451,425,412 | youtube-dl | Indiancine.ma | <!--
######################################################################
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 2019.05.20. 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 **2019.05.20**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones
## Example URLs
- Single video: https://indiancine.ma/BKLU/player/
- Playlist: https://indiancine.ma/grid/year/list==ashish:Movies_with_Video
## Description
No login needed, file plays directly in browser. | site-support-request | low | Critical |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.