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
635,864,162
flutter
[pigeon] the generated receiver's api.setup should probably not be static
Currently, Api.setup(AnApiSubclassInstance()) is great ergonomically, except it makes it really hard to test :( The AnApiSubclassInstance is instantiated in the production code and is the logic under test. The Api could be injected but since it's a static call, it can't be injected.
a: tests,package,team-ecosystem,p: pigeon,P2,triaged-ecosystem
low
Minor
635,911,394
flutter
Engine contribution instructions don't link to Web engine instructions
e.g. https://github.com/flutter/flutter/wiki/Setting-up-the-Engine-development-environment I would expect these to link to how to work on the Web engine. :)
engine,d: wiki,P2,team-engine,triaged-engine
low
Minor
635,924,075
vue
Line breaks in textarea are excessively removed.
### Version 2.6.11 ### Reproduction link [https://codepen.io/kubotafumiya/pen/qBOwEOV](https://codepen.io/kubotafumiya/pen/qBOwEOV) ### Steps to reproduce 1. Set the el option to an element that contains a textarea (or pre) with a newline at the beginning, and create a Vue instance. ```html <div id="app"> <textarea> Three line breaks are ignored. </textarea> </div> ``` ```javascript new Vue({ el: '#app', }); ``` ### What is expected? The line breaks are removed. ### What is actually happening? Line breaks are not deleted. --- https://html.spec.whatwg.org/multipage/syntax.html#element-restrictions I think it's okay for a single line break to be ignored according to this specification. <!-- generated by vue-issues. DO NOT REMOVE -->
bug
low
Minor
635,982,479
PowerToys
[Run][New Plugin] Use Microsoft Graph as a data source
# Summary of the new feature/enhancement Pull data from Microsoft Search, including company PowerApps, user profiles and shared files. # Proposed technical implementation details (optional) Accomplishable by using the Microsoft Graph APIs at https://docs.microsoft.com/en-us/graph/overview?view=graph-rest-1.0.
Idea-Enhancement,Product-PowerToys Run,Run-Plugin
low
Major
636,033,688
TypeScript
HTMLFormControlsCollection namedItem should return only form input elements
<!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** 3.9.2 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** HTMLFormControlsCollection RadioNodeList namedItem **Code** ```ts declare const form: HTMLFormElement; const element = form.elements.namedItem('foo') if (element && !(element instanceof RadioNodeList)) { console.log('eee', element.value) // <<< Property 'value' does not exist on type 'Element' } ``` **Expected behavior:** According to [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements), `namedItem()` on a `HTMLFormControlsCollection` only returns a specific set of element types. - `HTMLFormControlsCollection` should extend `HTMLCollectionOf<HTMLButtonElement | HTMLFieldSetElement | HTMLInputElement | HTMLObjectElement | HTMLOutputElement | HTMLSelectElement | HTMLTextAreaElement>` - `HTMLFormControlsCollection.namedItem()` should return `RadioNodeList | HTMLButtonElement | HTMLFieldSetElement | HTMLInputElement | HTMLObjectElement | HTMLOutputElement | HTMLSelectElement | HTMLTextAreaElement | null` - `RadioNodeList` should extend `NodeListOf<HTMLButtonElement | HTMLFieldSetElement | HTMLInputElement | HTMLObjectElement | HTMLOutputElement | HTMLSelectElement | HTMLTextAreaElement>` **Actual behavior:** `HTMLFormControlsCollection.namedItem()` return type is not specific enough (`Element`). **Playground Link:** https://www.typescriptlang.org/play/?ssl=7&ssc=2&pln=1&pc=1#code/CYUwxgNghgTiAEYD2A7AzgF3gMyTAtgFzwASAKgLIAyAYnvgKIQj4goYDcAUF8uliGat28ALw56AOkEs2GNJJRRWwAJIYWACgDkuJNoCUPAJbZ4mmcKwAya-ACEFoXPjH+UFGBBIzAJSjAxkgAckigVMaYBgbwAN5c8IioaEjMkhBIAOY6ILnaADTwlnKSAG5QEACuIEYAvlxAA **Related Issues:** #19437
Bug,Help Wanted,Domain: lib.d.ts,PursuitFellowship
low
Major
636,044,276
flutter
[Desktop] Button's onPressed not called when mouse cursor moves while clicking
<!-- Thank you for using Flutter! If you are looking for support, please check out our documentation or consider asking a question on Stack Overflow: * https://flutter.dev/ * https://api.flutter.dev/ * https://stackoverflow.com/questions/tagged/flutter?sort=frequent If you have found a bug or if our documentation doesn't have an answer to what you're looking for, then fill our the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> ## Steps to Reproduce <!-- You must include full steps to reproduce so that we can reproduce the problem. --> 1. Run this snippet https://dartpad.dartlang.org/e266424c9732b88c4578560dbdf7ecb6 2. Click the button to see the output in the console 3. Now click (ripple is visible), but not release while dragging the mouse cursor a bit, then release while still within the button's bounds - the onPressed callback is not executed (see gif for reference) ![CleanShot 2020-06-10 at 10 16 46](https://user-images.githubusercontent.com/16854239/84244531-0d534000-ab04-11ea-96ac-98813ff4a9bd.gif) ```dart RaisedButton( child: Text( 'Drag and release instead of single click to see that Im not working'), onPressed: () { print('clicked'); }, onLongPress: (){ print('long press'); }, ), ``` **Expected results:** <!-- what did you want to see? --> I expect my RaisedButton to behave the same way as typical HTML button (e.g. "Run" button on Dartpad). Slight movement of my cursor shouldn't cancel the action. **Actual results:** <!-- what did you see? --> The `onPressed` is not executed when there's a slight movement of cursor when clicking the button. ``` [✓] Flutter (Channel dev, 1.19.0-4.0.pre, on Mac OS X 10.15.5 19F101, locale pl-PL) • Flutter version 1.19.0-4.0.pre at /Users/dominik/fvm/versions/dev • Framework revision 2f7a59a8da (5 days ago), 2020-06-05 03:44:02 -0700 • Engine revision d17c84e7af • Dart version 2.9.0 (build 2.9.0-13.0.dev 02915ec5ce) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/dominik/Library/Android/sdk • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = /Users/dominik/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.5) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.5, Build version 11E608c • CocoaPods version 1.9.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.8052 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code (version 1.45.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.11.0 [✓] Connected device (3 available) • macOS • macOS • darwin-x64 • Mac OS X 10.15.5 19F101 • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.97 • No issues found! ```
framework,f: material design,f: gestures,a: desktop,a: mouse,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework
low
Critical
636,045,285
flutter
Tabbar.image does not render at initialIndex for the first time
✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 11.5) [✓] Android Studio (version 4.0) [✓] VS Code (version 1.45.1) [✓] Connected device (1 available) ![未命名](https://user-images.githubusercontent.com/11645762/84245358-80c27500-ab37-11ea-9b6f-7a98ae77197d.gif) ``` TabBar( labelColor: Theme.of(context).accentColor, unselectedLabelColor: Theme.of(context).hintColor, indicatorSize: TabBarIndicatorSize.label, indicator: BoxDecoration( image: DecorationImage( image: AssetImage('assets/618.png'), fit: BoxFit.cover, ), ), isScrollable: true, tabs: _tabs.map((String name) => Tab(text: name)).toList(), ), ```
framework,f: material design,a: assets,a: images,has reproducible steps,found in release: 3.3,found in release: 3.7,team-design,triaged-design
medium
Critical
636,100,245
create-react-app
Making CSS class name unique across projects to prevent name collision when hosting multiple project in one document
### Is your proposal related to a problem? <!-- Provide a clear and concise description of what the problem is. For example, "I'm always frustrated when..." --> Currently we're trying to incorporated multiple CRA applications into one page. The idea is to dynamically fetch the html of multiple react applications hosted under the same domain and append onto a single html document. The problem is when using css module, the current [css class name generation process](https://github.com/facebook/create-react-app/tree/28141245937214cea136f9cea14ea7565b944a9f/packages/react-dev-utils#getcssmodulelocalidentcontext-object-localidentname-string-localname-string-options-object-string) only consider filename or folder name which can only ensure the uniqueness within that project. But If we have multiple project who happens to have the a same css class name in the same relative path (eg. src/app/app.module.css), same class name `MyFolder_MyClass__[hash]` will be generated, and If we put all those css from different project onto the same html document, there will be name collision issue. ### Describe the solution you'd like <!-- Provide a clear and concise description of what you want to happen. --> I'd like to request a way to make css class name unique not only within project but also across projects. ### Describe alternatives you've considered <!-- Let us know about other solutions you've tried or researched. --> - One possible solution is to alter the hash generation function discussed in [this thread](https://github.com/webpack-contrib/css-loader/issues/413), unfortunately this can't be done in CRA unless we eject or [rewire](https://github.com/timarney/react-app-rewired). - An alternative is to add project name as part of the input of the hash generation process, similar to what you guys've done to fix [webpackJsonp naming conflicting issue](https://github.com/facebook/create-react-app/pull/5951/files), so in this case possibly adding project name into hash generation process in [packages/react-dev-utils/getCSSModuleLocalIdent.js](https://github.com/facebook/create-react-app/blob/28141245937214cea136f9cea14ea7565b944a9f/packages/react-dev-utils/getCSSModuleLocalIdent.js)? ### Additional context <!-- Is there anything else you can add about the proposal? You might want to link to related issues here, if you haven't already. --> (Write your answer here.)
issue: proposal,needs triage
low
Major
636,107,466
youtube-dl
HTTP Error 404 but in browser page is valid
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.06.06. 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 all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape. - Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> Version: I updated using this: sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl and my current version is 2020.05.03 not 2020.06.06 as mentioned. I am on ubuntu 16.04 Also tried adding -u PRIVATE - [ x] I'm reporting a broken site support - [ N] I've verified that I'm running youtube-dl version **2020.06.06** - [ x] I've checked that all provided URLs are alive and playable in a browser - [ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [x ] I've searched the bugtracker for similar issues including closed ones ## Verbose log ``` Error: WARNING: Could not send HEAD request to https://learn.unity.com/tutorial/custom-render-passes-with-lwrp: HTTP Error 404: Not Found [generic] custom-render-passes-with-lwrp: Downloading webpage WARNING: Falling back on generic information extractor. [generic] custom-render-passes-with-lwrp: Extracting information ERROR: Unsupported URL: https://learn.unity.com/tutorial/custom-render-passes-with-lwrp Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info ie_result = ie.extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract ie_result = self._real_extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3370, in _real_extract raise UnsupportedError(url) youtube_dl.utils.UnsupportedError: Unsupported URL: https://learn.unity.com/tutorial/custom-render-passes-with-lwrp ``` ## Description <!-- Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> According to https://ytdl-org.github.io/youtube-dl/supportedsites.html, unity is supported. I tried the following: youtube-dl --username <user> --password <pass> --verbose https://learn.unity.com/tutorial/custom-render-passes-with-lwrp Also tried youtube-dl --cookies ./unity.txt --verbose "https://learn.unity.com/tutorial/custom-render-passes-with-lwrp" Also tried adding -u PRIVATE
site-support-request
low
Critical
636,109,830
PowerToys
[Fancy Zones] Add default launch zones per application
Allow for an application, e.g. file explorer, to launch always in zone 3 (second screenshot). And also allow to select multiple neighbouring zones if needed. Launch Webbrowser always in zones 2&6 or 3&7 (first screenshot) Allow for alternative zones if zone(s) is/are already blocked by same application ![screenshot 1 (2)](https://user-images.githubusercontent.com/47536226/84255490-f8ca7400-ab12-11ea-93e3-1bb164e2c974.png) ![screenshot 2 (2)](https://user-images.githubusercontent.com/47536226/84255500-fc5dfb00-ab12-11ea-849a-f3a8648ebaa1.png)
Idea-Enhancement,Product-FancyZones
low
Minor
636,125,786
go
runtime: segfault during conservative scan of asynchronously preempted goroutine
### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.1 linux/amd64 </pre> ### Does this issue reproduce with the latest release? Yes (but not consistently) - We have reproductions up to 1.14.3 (and have just updated to 1.14.4 but no tests have been run as of yet). ### What operating system and processor architecture are you using? CentOS 7 amd64 - E5-2630 v2 (24 vCPU) ### What issue are we seeing? From a brief look at the stacktrace and runtime it looks like we are currently seeing a segfault during the conservative scan of an asynchronously preempted goroutine. While we have only seen this issue since updating to 1.14.1 (we skipped 1.14) we do rely on a couple of libraries that make use of 'unsafe' so we wouldn't be surprised if this was due to the misuse of 'unsafe' rather than an issue with the runtime itself. I've included the full stacktrace below along with a snippet from the same backtrace displaying what I've described above. Any help debugging this issue would be greatly appreciated whether that be tips on which GODEBUG settings to use so that we can get more information about why this is happening or some steps we could take to debug this issue/to provide you with extra information. ```text fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x2 addr=0x7f2f9047b8ef pc=0x42f616] runtime stack: runtime.throw(0xbfd246, 0x2a) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/panic.go:1114 +0x72 runtime.sigpanic() /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/signal_unix.go:679 +0x46a runtime.(*mspan).isFree(...) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mbitmap.go:255 runtime.scanConservative(0xc002b9fbd8, 0x178, 0x0, 0xc00004a698, 0x7f2f65cb3348) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:1368 +0xf6 runtime.scanframeworker(0x7f2f65cb3238, 0x7f2f65cb3348, 0xc00004a698) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:875 +0x29d runtime.scanstack.func1(0x7f2f65cb3238, 0x0, 0x13c7920) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:736 +0x3d runtime.gentraceback(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0xc0006f1500, 0x0, 0x0, 0x7fffffff, 0x7f2f65cb3330, 0x0, 0x0, ...) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/traceback.go:334 +0x110e runtime.scanstack(0xc0006f1500, 0xc00004a698) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:739 +0x15e runtime.markroot.func1() /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:226 +0xbf runtime.markroot(0xc00004a698, 0x153) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:199 +0x2f3 runtime.gcDrainN(0xc00004a698, 0x10000, 0x10000) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:1119 +0xff runtime.gcAssistAlloc1(0xc000c84d80, 0x10000) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:531 +0xf3 runtime.gcAssistAlloc.func1() /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/mgcmark.go:442 +0x33 runtime.systemstack(0x0) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/asm_amd64.s:370 +0x66 runtime.mstart() /home/couchbase/.cbdepscache/exploded/x86_64/go-1.14.1/go/src/runtime/proc.go:1041 ``` [stack_trace.txt](https://github.com/golang/go/files/4757798/stack_trace.txt)
NeedsInvestigation,compiler/runtime
low
Critical
636,129,640
opencv
OpenCV Doesn't Support Snapdragon With OpenCL
##### System information (version) - OpenCV => 4.1.2 - Operating System / Platform => Android 7 Nougat 32Bit - Compiler => GCC++ ##### Detailed description Hi! We are working with Qualcomm MSM8996(Snapdragon 820), that include Adreno530 GPU It very powerful mobile hardware. This GPU support OpenCL 2.0, and it's indeed loaded and I got it context in order to use it. I wanted to combine with OpenCV algorithms to improve performance. I tried to use the attachContext function: cv::ocl::attachContext(defaultPlatform.getInfo<CL_PLATFORM_NAME>(), defaultPlatform(), m_clContext(), devs[0]()); I got the following, it mean that you doesn't support Qualcomm products ? 970-01-02 02:39:17.345 11265-11265/com.sysmop.ebojavac_CL E/cv::error(): OpenCV(4.1.2) Error: Unknown error code -220 (no OpenCL platform available!) in attachContext, file C:\opencv-4.1.2\modules\core\src\ocl.cpp, line 2521 1970-01-02 02:39:17.345 11265-11265/com.sysmop.ebojavac_CL A/libc: /usr/local/google/buildbot/src/android/ndk-release-r17/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type cv::Exception: OpenCV(4.1.2) C:\opencv-4.1.2\modules\core\src\ocl.cpp:2521: error: (-220:Unknown error code -220) no OpenCL platform available! in function 'attachContext' " failed 1970-01-02 02:39:17.346 11265-11265/com.sysmop.ebojavac_CL A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 11265 (mop.ebojavac_CL) 1970-01-02 02:39:17.414 11286-11286/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 1970-01-02 02:39:17.414 11286-11286/? A/DEBUG: Build fingerprint: 'Android/msm8996/msm8996:7.0/IFC-6640-Nougat-Relv-2.0/inforc02161744:userdebug/test-keys' 1970-01-02 02:39:17.414 11286-11286/? A/DEBUG: Revision: '0' 1970-01-02 02:39:17.414 11286-11286/? A/DEBUG: ABI: 'arm' 1970-01-02 02:39:17.415 11286-11286/? A/DEBUG: pid: 11265, tid: 11265, name: mop.ebojavac_CL >>> com.sysmop.ebojavac_CL <<< 1970-01-02 02:39:17.415 11286-11286/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 1970-01-02 02:39:17.418 11286-11286/? A/DEBUG: Abort message: '/usr/local/google/buildbot/src/android/ndk-release-r17/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type cv::Exception: OpenCV(4.1.2) C:\opencv-4.1.2\modules\core\src\ocl.cpp:2521: error: (-220:Unknown error code -220) no OpenCL platform available! in function 'attachContext' " failed'
category: ocl,category: 3rdparty
low
Critical
636,138,612
opencv
compiling error on QNX plarform
##### System information (version) <!-- Example - OpenCV => 4.2 - Operating System / Platform => Windows 64 Bit - Compiler => Visual Studio 2017 --> - OpenCV => 4.3 - Operating System / Platform => QNX - Compiler => cmake cross compiling ##### Detailed description <!-- your description --> v_sse_reinterpret_as error,please help me check error: template-id 'v_sse_reinterpret_as<>' for '__m128i cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128i&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) In file included from /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin.hpp:212:0, from /home/benson/workspace/opencv-master/modules/core/src/precomp.hpp:85, from /home/benson/workspace/opencv-master/modules/core/src/algorithm.cpp:43: /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp: At global scope: /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128i cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128i&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:324:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128i, __m128i, OPENCV_HAL_NOP) ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128i cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:325:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128i, __m128, _mm_castps_si128) ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128i cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128d&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:326:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128i, __m128d, _mm_castpd_si128) ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128 cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128i&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:327:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128, __m128i, _mm_castsi128_ps) ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128 cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:328:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128, __m128, OPENCV_HAL_NOP) ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128 cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128d&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:329:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128, __m128d, _mm_castpd_ps) ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128d cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128i&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:330:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128d, __m128i, _mm_castsi128_pd) ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128d cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:331:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128d, __m128, _mm_castps_pd) ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:321:17: error: template-id 'v_sse_reinterpret_as<>' for '__m128d cv::hal_baseline::hal_sse_internal::v_sse_reinterpret_as(const __m128d&)' does not match any template declaration to_sse_type v_sse_reinterpret_as(const from_sse_type& a) \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin_sse.hpp:332:5: note: in expansion of macro 'OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW' OPENCV_HAL_IMPL_SSE_REINTERPRET_RAW(__m128d, __m128d, OPENCV_HAL_NOP) ^ In file included from /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/intrin.hpp:510:0, from /home/benson/workspace/opencv-master/modules/core/src/precomp.hpp:85, from /home/benson/workspace/opencv-master/modules/core/src/algorithm.cpp:43: /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:13:47: warning: ignoring attributes on template argument 'uint64 {aka long long unsigned int}' [-Wignored-attributes] template<> struct Type2Vec128_Traits<type_> \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:25:1: note: in expansion of macro 'CV_INTRIN_DEF_TYPE2VEC128_TRAITS' CV_INTRIN_DEF_TYPE2VEC128_TRAITS(uint64, v_uint64x2); ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:13:47: warning: ignoring attributes on template argument 'int64 {aka long long int}' [-Wignored-attributes] template<> struct Type2Vec128_Traits<type_> \ ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:26:1: note: in expansion of macro 'CV_INTRIN_DEF_TYPE2VEC128_TRAITS' CV_INTRIN_DEF_TYPE2VEC128_TRAITS(int64, v_int64x2); ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:40:44: warning: ignoring attributes on template argument 'uint64 {aka long long unsigned int}' [-Wignored-attributes] template<> inline Type2Vec128_Traits<uint64>::vec_type v_setall<uint64>(const uint64& a) { return v_setall_u64(a); } ^ /home/benson/workspace/opencv-master/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp:41:44: warning: ignoring attributes on template argument 'int64 {aka long long int}' [-Wignored-attributes] template<> inline Type2Vec128_Traits< int64>::vec_type v_setall< int64>(const int64& a) { return v_setall_s64(a); } ##### Steps to reproduce <!-- to add code example fence it with triple backticks and optional file extension ```.cpp // C++ code example ``` or attach as .txt or .zip file --> ##### Issue submission checklist - [ ] I report the issue, it's not a question <!-- OpenCV team works with answers.opencv.org, Stack Overflow and other communities to discuss problems. Tickets with question without real issue statement will be closed. --> - [ ] I checked the problem with documentation, FAQ, open issues, answers.opencv.org, Stack Overflow, etc and have not found solution <!-- Places to check: * OpenCV documentation: https://docs.opencv.org * FAQ page: https://github.com/opencv/opencv/wiki/FAQ * OpenCV forum: https://answers.opencv.org * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv --> - [ ] I updated to latest OpenCV version and the issue is still there <!-- master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases. OpenCV team supports only latest release for each branch. The ticket is closed, if the problem is not reproduced with modern version. --> - [ ] There is reproducer code and related data files: videos, images, onnx, etc <!-- The best reproducer -- test case for OpenCV that we can add to the library. Recommendations for media files and binary files: * Try to reproduce the issue with images and videos in opencv_extra repository to reduce attachment size * Use PNG for images, if you report some CV related bug, but not image reader issue * Attach the image as archite to the ticket, if you report some reader issue. Image hosting services compress images and it breaks the repro code. * Provide ONNX file for some public model or ONNX file with with random weights, if you report ONNX parsing or handling issue. Architecture details diagram from netron tool can be very useful too. See https://lutzroeder.github.io/netron/ -->
category: build/install,platform: other,category: 3rdparty
low
Critical
636,153,382
godot
Transform.xform_inv() is not the inverse of Transform.xform()
**Godot version:** 3.2.1.stable **OS/device including version:** Windows10 **Issue description:** The documentation claims that: xform "Transforms the given Vector3 by this transform" and xform_inv "Inverse-transforms the given Vector3 by this transform." but it is not the case. The scale gets applied a second time instead of being undone. https://docs.godotengine.org/en/stable/classes/class_transform.html?highlight=transform#class-transform-method-xform **Steps to reproduce:** ```GDscript var t = Transform(Vector3(2, 0, 0), Vector3(0, 1, 0), Vector3(0, 0, 1), Vector3(0, 0, 0)) print(t.xform_inv(t.xform(Vector3(1,0,0)))) # ---> Result is (4, 0, 0) !!! ``` **Minimal reproduction project:** See above. (This has been simplified down from a more arbitrary transform I hit this problem with.)
topic:core,documentation
low
Major
636,159,893
terminal
Peek behind Alternate Screen Buffer, like Flip Screen (Alt+F12) in mintty of Git Bash
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> After a program has activated the alternate screen buffer, I want to view the primary screen buffer and its scrollback and copy some text from them to the clipboard. For example, I run some other commands and then `git commit`, which starts the `nano` editor to edit the commit message. The editor activates the alternate screen buffer of the terminal. I then want to look at the output of the previous commands and copy parts of it to the commit message, but the last page of output is hidden behind the editor's screen. # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. --> Add a command similar to Flip Screen (Alt+F12) in mintty of Git Bash, and let me bind that to a key combination. The command makes the primary screen buffer temporarily visible but keeps the alternate screen buffer active. It does not report this change to applications. I can then scroll back and forth, select text, and copy it to the clipboard. If I run the same command again or type something, then the alternate screen buffer becomes visible again. (If a program outputs something to the alternate screen buffer, I think the primary screen buffer should remain visible, but that is not very important.) Implementing <https://github.com/microsoft/terminal/issues/3492> first might make this easier.
Issue-Feature,Area-TerminalControl,Product-Terminal
low
Critical
636,193,544
flutter
Wrong behavior when ClipRRect's child has variable size
## Steps to Reproduce You can see the code demonstrating the issue on https://codepen.io/leonvr/pen/WNrQVBo **Expected results:** I expect my image to fade in with rounded corners. In other words: I expect the clipping to take place before the image fades in. **Actual results:** First the image fades in as a rectangle (no rounded corners). After a second you can see the clipping happening. In other words: first you see the image, and after that you see the corners 'popping of'. <details> You can see discussions on https://stackoverflow.com/questions/62269195/cliprrect-is-visible-happening and https://groups.google.com/forum/#!topic/flutter-dev/Ga5GpW3m8F4 </details>
framework,a: animation,a: images,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework
low
Major
636,194,975
scrcpy
cant make file scrcpy-sever.jar
``` cant make file scrcpy-sever.jar server/meson.build:24: WARNING: Custom target input '/home/xxxxxx/Build/scrcpy-master/../scrcpy-server-v1.13.jar' can't be converted to File object(s). This will become a hard error in the future. Build targets in project: 3 ``` This was explain to me that your running a c compiler againt a java program. .jar is not acceptable. You can use some decemt install instuctions included in the zip for the less advanced.
build
low
Critical
636,250,098
ant-design
Use readonly Typescript types for all data passed to antd that is not modified by antd
- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate. ### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-typescript-4bphv?file=/src/index.tsx) ### Steps to reproduce For example, pass a readonly array as a data source to a List element and you will get a Typescript error. ### What is expected? No error. If something is not changed by antd, then antd should only require it to be readonly. ### What is actually happening? An error. | Environment | Info | |---|---| | antd | undefined | | React | NA | | System | NA | | Browser | NA | <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Inactive
low
Critical
636,273,810
pytorch
LRP-based explainability
## 🚀 Feature LRP-based explanation rules that work during or similar to backwards passes. ## Motivation I'm a PhD student working in explainability for Video Rec. models. I much prefer PyTorch to other frameworks, but ended up implementing my own torch-based LRP library to be able to generate explanations. I'm focused on 3D CNNs, but my code works with 1D and 2D models and with the most common layers. I'd like to try my hand at extending it to the LibTorch C++ library, and if it works out well enough, I'd be very proud to add it to the PyTorch codebase. ## Pitch Rules defined for each of the torch.nn modules that either work as modified nn.Functions or could be run through a similar process (e.g. .explain() as opposed to .backwards()) ## Alternatives Granted this has become a little more popular among PyTorch devs lately, but it still seems pretty DIY. Most methods I've seen just iterate forwards and then backwards through layers. But clearly, defining it in a layerwise fashion as the regular backprop rules are, then allows for non-sequential/more complex models that can't feasibly be flattened into a list of layers. ## Additional context As I've said, I've already written a working prototype for this in PyTorch that just tweaks the models gradient on backprop. It's good enough as of yet for what I've done, but I'd love to be able to clean it up and package it like torchvision : https://github.com/liamhiley/torchexplain
feature,triaged,needs research
low
Minor
636,321,664
opencv
borderMode=BORDER_TRANSPARENT is undocumented for warpperspective
##### System information (version) - OpenCV => 4.2 - OpenCV 3 ##### Detailed description The documentation for warpperspective is incomplete. `@param borderMode pixel extrapolation method (#BORDER_CONSTANT or #BORDER_REPLICATE).` BORDER_TRANSPARENT works as well. Maybe more.
category: imgproc,category: documentation,pr: needs test
low
Minor
636,349,170
TypeScript
[tsserverlibrary] Allow reporting helpful links and error-names
## Search Terms Support Links Helpful Links Diagnostic ## Suggestion VSCode now accepts either `string`s or `number`s alongside with a support-link as the `code`-property of a `Diagnostic`, which provides the comfort to easily open up a website showing more details about the error: https://github.com/microsoft/vscode-languageserver-node/blob/9466bf38aef41849b3d48a882e399a34e3127eb2/types/src/main.ts#L581-L624 It would be very awesome if TypeScript language services had the same option to not only pass a `number` as error-code but also `string`s and, most importantly, a link containing helpful info. ## Use Cases Basically whenever you use a `plugin` which reports errors especially when they're a tiny bit too complex to describe them in a few sentences. ## Examples ```ts interceptor.AddMethod( "getSemanticDiagnostics", (target, delegate, fileName) => { let diagnostics = delegate(fileName); diagnostics.push( { file: this.Program.getSourceFile(fileName), start: 1, length: 1, messageText: "The member-ordering is incorrect.", category: ts.DiagnosticCategory.Warning, source: "eslint", code: { value: "import/order", target: "https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md" } } return diagnostics; }); ``` ## 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
636,372,749
TypeScript
MediaTrackConstraintsSet misses torch
I'd like to use the torch constraint but typescript complains as its missing in the defined set. I understand the advanced field is controversial and might even be removed, but yet I think it is a bad idea if typescript disallows using the features when they are implemented... **TypeScript Version:** 3.8.3 also master: https://github.com/microsoft/TypeScript/blob/master/lib/lib.dom.d.ts#L770 **Code** ```ts track.applyConstraints({ advanced: [{ torch: this.torch }]}); ``` **Expected behavior:** not to be restricted in functionality when using typescript **Actual behavior:** I can't use this feature.. I have to switch to JS **Playground Link:** [Playground Link](https://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=9&pc=3#)
Bug,Help Wanted,Domain: lib.d.ts,PursuitFellowship
low
Minor
636,413,115
flutter
Make it easier for users/tooling to get libflutter symbols on non-Fuchsia platforms
To symbolicate native crashes or heap profile traces, Flutter end users have to follow the steps at https://github.com/flutter/flutter/wiki/Crashes to download the symbols for their version of Flutter. This is a slightly laborious process, and it requires that the person doing the symbolicating know the git hash of the engine. We could do two things to improve this: 1. Upload symbols by ELF build id rather than by git hash. This means that any user with a crash could use platform tooling to obtain the build id of the hash. We already do this for Fuchsia, but not for other platforms. 1. Provide a way optionally download symbols in the Flutter tool. Again, we already do this for Fuchsia, but not for other platforms. /cc @segfaulthunter @zanderso @jonahwilliams
c: new feature,team,tool,P3,team-tool,triaged-tool
low
Critical
636,465,954
flutter
Increase test coverage for getOffsetToReveal and SliverAppBars
`SliverGeometry.maxScrollObstructionExtent` is used to correct a11y focus navigation when an app bar may be overlapping a portion of scrollable area. This makes it possible to go from the app bar to the next visible sliver after the overlap, rather than traversing the slivers under the app bar. ![Untitled drawing](https://user-images.githubusercontent.com/16964204/84305463-f82fde80-ab0e-11ea-95c5-491837346a8f.png) The tests for this cover `pinned` `SliverAppBar`s in a `CustomScrollView` (see #11878 for original tests), but we should have coverage for `floating` and `floating-pinned` `SliverAppBar`s as well. Plus, all three in a `NestedScrollView`. Related PRs: https://github.com/flutter/flutter/pull/11878 - added maxScrollObstructionExtent to floating, pinned and floating-pinned app bars, integrating with getOffsetToReveal https://github.com/flutter/flutter/pull/39263 - changes maxScrollObstruction extent for floating app bars https://github.com/flutter/flutter/pull/57707 - changes maxScrollObstructionExtent for floating-pinned app bars
a: tests,framework,a: accessibility,f: scrolling,f: focus,P2,team-framework,triaged-framework
low
Minor
636,467,583
go
x/tools/gopls: add location-aware snippets for append and other utility methods
**Is your feature request related to a problem? Please describe.** After using GoLand for some time I'm missing a small feature or two. Specifically I'm missing type aware snippets for append, sprintf, and a few other utility methods (like things from slicetricks). **Describe the solution you'd like** I'd like a snippet under the name `.aapend` (auto-append) or similar to construct an append-assign statement for me. Either from the start by starting with `append` and getting `toAppend = append(toAppend, <>)` Or from the middle of a line using something like `.aapend` which would add the correct ` = append(name, <>)` to the end of the line. The sprintf and slicetricks I mentioned above would work similarly, sprintf simply going from `thing.sprint` to `fmt.Sprintf("<>", thing)`, and delete applying a (preferably pointer aware delete implementation from the [slicetricks wiki page](https://github.com/golang/go/wiki/SliceTricks) **Describe alternatives you've considered** I've written my own snippets for this, but they get suggested in comments and other places where they are not useful, cluttering any autocomplete I may have had. And these rely on somewhat brittle regexps, which do not always get it right. ```json "assign append": { "description": "appends to a slice and assigns it to itself", "prefix": "aappend", "body": "${1:toAppend} = append(${1:toappend}, $2)" }, "assign append inplace": { "description": "appends to a slice and assigns it to itself", "prefix": ".aappend", "body": " = append(${TM_CURRENT_LINE/\\s*(\\S+)\\..*/$1/}, $0)" }, "slice delete": { "description": "cuts a value from a slice", "prefix": ".delete", "body": " = append(${TM_CURRENT_LINE/\\s*(\\S+)\\..*/$1/}[:${1:pos}], ${TM_CURRENT_LINE/\\s*(\\S+)\\..*/$1/}[${1:pos}+1:]...)" } ``` The other option here is to type things manually, though that has the annoyance that for some things, you're going to end up checking a wiki page EVERY time (slicetricks things, delete et al.) or are just repetitive--typing `thing = append(thing, newStuff)` gets old. Not to mention that if its type aware it also suggest `thing = append(thing, newStuff...)` where appropriate. This may be more applicable to gopls itself, rather than here, but I thought I'd ask about it here first.
FeatureRequest,gopls,Tools,gopls/completion
medium
Critical
636,475,472
flutter
[web][Chrome] Back button isn't enabled in a fresh tab with no history
## Steps to Reproduce Adding a local history entry does not enable the back button in the browser. Here's a sample app: https://github.com/carloshwa/flutter-example/tree/local_history It is the default sample app modified so the FAB adds its action to local history: https://github.com/carloshwa/flutter-example/blob/3493314124bd29a75f9c4e3e6224e520add5126e/myapp/lib/main.dart#L56-L60 When run on Android, the device back button is able to decrement the counter. But in a web browser, the back button does not get enabled when `addLocalHistoryEntry()` gets called. The curious thing is if the browser's back button is *already* enabled (because the current browsing session already has a history), it does behave correctly. Tested on Chrome macOS 83.0.4103.97. **Expected results:** Browser back button is enabled when `addLocalHistoryEntry()` is called. **Actual results:** Browser back button remains disabled when `addLocalHistoryEntry()` is called. <details> <summary>flutter doctor -v</summary> ``` [✓] Flutter (Channel beta, 1.19.0-4.1.pre, on Mac OS X 10.15.5 19F101, locale en-US) • Flutter version 1.19.0-4.1.pre at /Users/panda/pandamonium/flutter • Framework revision f994b76974 (2 days ago), 2020-06-09 15:53:13 -0700 • Engine revision 9a28c3bcf4 • Dart version 2.9.0 (build 2.9.0-14.1.beta) [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at /Users/panda/android-sdk • Platform android-29, build-tools 29.0.3 • ANDROID_HOME = /Users/panda/android-sdk • Java binary at: /Applications/Android Studio 4.0.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) ✗ Android license status unknown. Try re-installing or updating your Android SDK Manager. See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions. [✓] Xcode - develop for iOS and macOS (Xcode 11.4.1) • Xcode at /Applications/Xcode 11.4.app/Contents/Developer • Xcode 11.4.1, Build version 11E503a • CocoaPods version 1.9.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio 3.5.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [!] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio 4.0.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) [✓] IntelliJ IDEA Community Edition (version 2020.1.2) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 46.0.3 • Dart plugin version 201.7846.93 [✓] Connected device (2 available) • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.97 ! Doctor found issues in 3 categories. ``` </details>
framework,f: routes,platform-web,has reproducible steps,P2,found in release: 3.7,found in release: 3.8,team-web,triaged-web
low
Major
636,483,782
flutter
NestedScrollView does not support SliverAppBar floating and snapping simultaneously
The proposed solution for #17518 (#57707) included an implementation of the snap animation that was too specific to the use case of the NestedScrollView. Instead, floating support will be enabled in https://github.com/flutter/flutter/pull/59187 without support for snapping simultaneously. This is documented in that change as a known limitation. The challenge of the snapping animation is caused by a couple of different factors: - the RenderFloatingPersistentHeader lays out by keeping track of a mock scroll offset, _effectiveScrollOffset, in the outer scrollable. This is not accurate or easy to reconcile with the inner scrollable position. - The snapping animation animates this _effectiveScrollOffset - #57707 proposed animating the position of the outer scroll view by setting the pixels, as using animateTo will actually result in an infinite loop, since the animation is triggered by the scroll notification - During the layout path of the RenderFloatingPersistentHeader, the _effectiveScrollOffset is clamped to be within the current scroll offset of the outer scrollable, again complicating any additional inner offset we may care about - The NestedScrollView can at any given time dispose of the inner position, or have more than one position attached to the inner scroll controller There is further discussion in the linked issues/PRs. Beyond the implementation in #57707, we also tried passing the inner position information to the outer through the NestedScrollView.headerSliverBuilder, and from there on to the SliverAppBar. This seemed even less generic than the modified animation in #57707, and was never successful because of the precarious nature of the inner position(s) of the NestedScrollView described above.
framework,a: animation,f: scrolling,P2,team-framework,triaged-framework
low
Major
636,495,304
pytorch
Tensor.size() API not correctly documented?
## 📚 Documentation In the Tensor API documentation page. I saw > self, index and src should have same number of dimensions. It is also required that index.size(d) <= src.size(d) for all dimensions d, and that index.size(d) <= self.size(d) for all dimensions d != dim. But when I look at size() API. https://pytorch.org/docs/stable/tensors.html#torch.Tensor.size It doesn't mention it can take an argument. Is something missing? cc @jlin27
module: docs,triaged
low
Minor
636,507,978
go
sort: improve performance of heapSort for worst case inputs
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version devel +7b872b6d95 Tue Jun 9 23:24:08 2020 +0000 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> darwin/amd64 </summary><br><pre> $ go env GOARCH="amd64" GOOS="darwin" </pre></details> ### What did you do? I've implemented a faster version of siftDown for when it's expected that the root will end up in one of the lower levels. This is the likely outcome right after a "pop", since we move a former leaf to the root. Benchmarks using an adversarial input (the one in sort_test.go) show that the new code is ~11.8% faster when using a struct with a complex Less, and ~5.5% faster when sorting ints. My changes makes the code slower in the case when a lot of elements are equivalent (!Less(a, b) && !Less(b, a)), but this case is uncommon when the Heapsort part of sort.go is activated. ### Notes The same changes can be applied to container/heap and to runtime, assuming benchmarks support them. ### benchstat results ``` name old time/op new time/op delta Adversary/Using_complex_Less 49.5ms ± 0% 43.7ms ± 0% -11.77% (p=0.000 n=10+10) Adversary/Using_Ints 31.3ms ± 0% 29.6ms ± 0% -5.48% (p=0.000 n=10+10) ```
NeedsInvestigation
medium
Major
636,525,337
godot
Autoloaded scripts not generating nodes under root in C#
I searched but couldn't find anything. If this was already noted, oops. Also, if this isn't even a real issue and only exists with me.. I'm sorry. **Godot version:** Godot 3.2.1.stable.mono.official **OS/device including version:** Ubuntu 18.04 using VSCode 1.45.1 **Issue description:** This might be random and super niche but hey, maybe this is something not only I ran into. Basically, in GDScript I'd just use the editor to make a new .gd file, set it as my autoloaded script and now I basically have a singleton. I've tried doing the same thing in C#, except using VSCode, and realized that the engine was throwing an error every time saying that my script wasn't inheriting a node. Fast forward to me wondering if it was sleep induced confusion and I realized that if you generate a cs file through VSCode and then set it as an autoloaded script in Godot, it wont create a Node under root for the script and it just wont load. **Steps to reproduce:** Load the attached project in the engine, run the game, note the error that pops up about the script not inheriting node. To fix, create Node as child in scene, attach script to this new Node, delete Node, run game and now it works. **Minimal reproduction project:** [autoload-not-loaded.zip](https://github.com/godotengine/godot/files/4761009/autoload-not-loaded.zip)
bug,topic:dotnet
low
Critical
636,552,014
flutter
We need a way to be able to dump the semantics tree (debugDumpSemanticsTree) in release mode.
https://b.corp.google.com/issues/158690361
customer: fuchsia,engine,P3,team-engine,triaged-engine
low
Critical
636,562,924
pytorch
Simplify layers of optionals in `VaryingShape` and `Stride`
Simplify layers of optionals in `VaryingShape` and `Stride` cc @suo
oncall: jit,triaged,jit-backlog
low
Minor
636,571,056
flutter
SafeArea.maintainBottomViewPadding should be true by default
Found while investigating https://github.com/flutter/flutter/issues/58942 When `Scaffold.resizeToAvoidBottomInsets: false`, the layout will shift when the keyboard opens if there is a `SafeArea` in the `Scaffold`'s body. This is because in scaffold.dart: https://github.com/flutter/flutter/blob/e13b44d9782acd54e74d3891d7888cdccff236c7/packages/flutter/lib/src/material/scaffold.dart#L2494 ```dart final EdgeInsets minInsets = mediaQuery.padding.copyWith( bottom: _resizeToAvoidBottomInset ? mediaQuery.viewInsets.bottom : 0.0, ); ``` You can see in the gif below that the white safe space under the keyboard goes away when it opens. ![ezgif com-video-to-gif](https://user-images.githubusercontent.com/16964204/84322084-3f2acd80-ab29-11ea-9b9f-90563e104dc4.gif) ### Reproduction ```dart import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( resizeToAvoidBottomInset: false, appBar: AppBar(title: Text('Demo')), body: SafeArea( child: Container( color: Colors.yellow, child: Center(child: TextField()) ), ), floatingActionButton: RaisedButton( onPressed: () {}, child: Text('Button'), ), ), ); } } ``` ### flutter doctor ``` [✓] Flutter (Channel master, 1.19.0-6.0.pre.51, on Mac OS X 10.15.4 19E287, locale en-US) • Flutter version 1.19.0-6.0.pre.51 at /Users/katelovett/github/flutter • Framework revision 75fd73d818 (56 minutes ago), 2020-06-10 13:49:35 -0700 • Engine revision e8c13aa012 • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e) [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at /Users/katelovett/Library/Android/sdk • Platform android-28, build-tools 28.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C505 • CocoaPods version 1.9.1 [✓] Android Studio (version 3.4) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 36.1.1 • Dart plugin version 183.6270 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01) [✓] VS Code (version 1.45.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.11.0 [✓] Connected device (1 available) • iPhone 11 Pro Max • A8FFA716-A67B-4468-B92B-F2B61F2306A0 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) ```
c: new feature,framework,c: API break,a: quality,c: proposal,a: layout,P3,team-framework,triaged-framework
low
Minor
636,586,828
go
cmd/compile: Allocations leak into outer scope
### What version of Go are you using (`go version`)? <pre> go version go1.14.4 linux/amd64 </pre> ### Does this issue reproduce with the latest release? I believe I'm on the latest release ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/user/.cache/go-build" GOENV="/home/user/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/user/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build872077689=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? I hit a strange issue while doing some benchmarking in [go-ethereum](https://github.com/ethereum/go-ethereum/pull/21207) . It turned out that the allocations for a particular operation went through the roof, for no good reason as far as I could tell. I narrowed down the problem as best I could. this [gist](https://gist.github.com/holiman/c556dabf3029924a454757c138841b3f) contains a tiny VM + benchmarking code which shows two cases: one where allocations are made for a branch that is never taken, and another where the unused branch is commented out, and allocations are "sane". It's quite a difference: ``` BenchmarkAllocs/bad-6 100 10296649 ns/op 6400030 B/op 200000 allocs/op BenchmarkAllocs/good-6 34618 29632 ns/op 0 B/op 0 allocs/op ``` ### What did you expect to see? That allocations inside a scope which was never entered are not made. ### What did you see instead? That allocations seems to be done outside the scope, directly after the entry into the method.
NeedsInvestigation,compiler/runtime
low
Critical
636,587,781
pytorch
I would like to install pytorch-nightly from requirements.txt
## 🚀 Feature <!-- A clear and concise description of the feature proposal --> ## Motivation I would like to be able to install pytorch-nightly from a requirements.txt file too. I have tried a requirements.txt as follows: ``` --find-links https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html torch torchvision ``` However, it installs pytorch release and not nightly. So you need to use the command, loosing the advantage this library in the same file as the rest!
triaged,has workaround
low
Major
636,633,461
pytorch
Torch Distributed Asynch docs with invalid ENV args
## 📚 Documentation I am following the following documentation; https://pytorch.org/docs/master/rpc.html#torch.distributed.rpc.rpc_async When I use the given export commands, the program breaks showing that For Address ENV ```bash raise _env_error("MASTER_ADDR") ValueError: Error initializing torch.distributed using env:// rendezvous: environment variable MASTER_ADDR expected, but not set ``` For PORT ENV ```bash raise _env_error("MASTER_PORT") ValueError: Error initializing torch.distributed using env:// rendezvous: environment variable MASTER_PORT expected, but not set ``` Modified as follows, fixes the error. ```bash export MASTER_ADDR=localhost export MASTER_PORT=5678 ``` I tested this with the following way ```bash python3 -m venv ENV source activate ENV/bin/activate pip3 install torch ``` Script `test_torch_dist.py' ```python import sys import torch import torch.distributed.rpc as rpc def p1(): print( "Worker 1" ) rpc.init_rpc("worker0", rank=0, world_size=2) fut1 = rpc.rpc_async("worker1", torch.add, args=(torch.ones(2), 3)) fut2 = rpc.rpc_async("worker1", min, args=(1, 2)) result = fut1.wait() + fut2.wait() print(result) rpc.shutdown() def p2(): print( "Worker 2" ) rpc.init_rpc("worker1", rank=1, world_size=2) rpc.shutdown() args = sys.argv print("Args {}".format(int(args[1]))) if int(args[1]) == 1: p1() if int(args[1]) == 2: p2() ``` Terminal 1: ```bash python3 test_torch_dist.py 1 ``` Terminal 2: ```bash python3 test_torch_dist.py 2 ``` Machine configs: ```bash lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal ``` cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @jlin27 @jjlilley
needs reproduction,module: docs,triaged,module: rpc
low
Critical
636,637,747
pytorch
Feedback to split certain doc pages into sub-topics
## Background This post is to gather feedback on the proposal to split up larger doc pages (e.g. torch.html) into subpages to reduce load time and help with content searchability. This is done by adding a summary table in the main page that links to subpages for each function/class. More details can be found in this PR: https://github.com/pytorch/pytorch/issues/38010 *Known Issue:* New format generates new urls which would break existing documentation links. *Proposed Fixes:* https://github.com/pytorch/pytorch/pull/39086 https://github.com/pytorch/pytorch/pull/39032 ## Feedback Instructions 1. Review the current view for torch compared to the newly proposed view: * Current: https://pytorch.org/docs/stable/torch.html * Proposed New: https://5591729-65600975-gh.circle-artifacts.com/0/docs/torch.html 2. Leave a comment highlighting: * Pros * Cons * Which option do you prefer and why? cc @jlin27
module: docs,triaged
low
Minor
636,641,743
flutter
Remove make-host-app-editable command
Deprecated with https://github.com/flutter/flutter/issues/54408. Remove the command completely at some point (+1 stable after the deprecation lands?).
tool,a: existing-apps,P3,team-tool,triaged-tool
low
Minor
636,644,973
go
cmd/go: go build ./... may or may not write executable to disk depending how many packages the import path pattern matches
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.3 darwin/amd64 </pre> ### Does this issue reproduce with the latest release? Issue is reproduced with the latest release. ### What operating system and processor architecture are you using (`go env`)? OS: macOS Catalina (10.15.5) <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/Users/cest-la-vie/Library/Caches/go-build" GOENV="/Users/cest-la-vie/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/cest-la-vie/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/Cellar/go/1.14.3/libexec" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.14.3/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/cest-la-vie/fsociety/dev/go/go-build-issue/L1/M0/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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/qc/_15tg89d2xg2blsddq6f9zkc0000gn/T/go-build913708293=/tmp/go-build -gno-record-gcc-switches -fno-common" </pre></details> ### What did you do? <!-- If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on play.golang.org is best. --> I am trying to build a go module using `go build ./...` in the same directory as `go.mod`. It works fine when there's only a single go package (main) and file. But adding another package and file, referencing those functions in main, and executing the aforementioned command does not generate the executable. I have a very basic go project that reproduces this issue (includes instructions): https://github.com/xyzst/go-build-bug ### What did you expect to see? An executable should be generated in the same directory as `go.mod` ### What did you see instead? The binary is not generated and I am not able to locate it anywhere. There are workarounds available: - `go install ./...` still works as intended and the binary is found in the expected location at `$GOPATH/bin` - `go build ./path/to/go/file/with/mainpkg.go` will generate the binary as expected
NeedsInvestigation,GoCommand
low
Critical
636,652,468
godot
Deleting a Node modifies it saved animation file without intention
**Godot version:** 3.2.2-beta 4 **OS/device including version:** Windows 8.1 **Issue description:** In `AnimationPlayer`, if you create an animation using some node, but then you delete that node, the saved animation will be modified even if you have not saved it again. Even if the corresponding node has been deleted, the modification of the animation file related to it is not expected. Also because sometimes I create the animation in order to only use it with the inherited scenes, adding this node later. **Steps to reproduce:** Create an animation using the positions of a Sprite node or any other node, **save the animation in some folder**, then delete the Sprite node, save the scene. Then **open the .tres file of this animation, it has been modified without you deliberately save it again**. **Minimal reproduction project:** [AnimationSaveBug.zip](https://github.com/godotengine/godot/files/4762028/AnimationSaveBug.zip)
bug,topic:editor
low
Critical
636,689,868
go
proposal: testing: Add LogWriter() method to testing.T for usage with log.Logger
## Problem Presently there is no quick way to direct output from a `log.Logger` into a `testing.T`. In my experience, this is an annoying aspect of using `log.Logger` as all my logs become useless in parallel tests as they are not associated with their test. I suspect this is a frustration shared by numerous other projects that use both `log` and `testing`. Your only option is to write a `io.Writer` wrapping `testing.T` yourself. See https://godoc.org/code.soquee.net/testlog for example ## Proposal I think we should make this easier as it is a common use case. See https://github.com/golang/go/issues/22513 for some previous discussion on a similar proposal. That proposal was rejected as the proposed API would make `testing` depended on `log`. My proposal is that we add a `func (t *testing.T) LogWriter() io.Writer` method to `testing.T` that returns an `io.Writer` where each `Write()` is a `t.Log()` call with the byte slice converted to a string. Following the closure of the previous proposal, @SamWhited suggested to make `testing.T` an `io.Writer` but I think this could be confusing as it's not clear what a `Write()` on `testing.T` directly would do. Whereas having an explicit `LogWriter` method ensures that the code is clear about what's going on. ## Line Numbers One issue with my proposal and redirecting `log.Logger` to `testing.T` in general is that you get incorrect line numbers as there are no `t.Helper()` calls inside the `log` package. Every log indicates that it was logged from inside the log package. I'm not sure what we should do about this if we don't want `log` to depend on `testing`. I think it'd be worth the dependency for correct line numbers. Or perhaps we could hard code `testing` to ignore any lines within the `log` package.
Proposal
low
Major
636,697,573
flutter
TextField selection handles overlap widgets
![textfield_handle_bug](https://user-images.githubusercontent.com/3614291/84343200-82ab2900-ab75-11ea-9beb-e603293283f1.gif) ``` import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, ), home: MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { MyHomePage({Key key, this.title}) : super(key: key); final String title; @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title), ), body: SafeArea( child: Column( children: <Widget>[ Expanded( child: SingleChildScrollView( child: Column( children: <Widget>[ ...List.generate( 10, (index) => Container( decoration: BoxDecoration( border: Border.all(), ), margin: const EdgeInsets.all(16), child: Padding( padding: const EdgeInsets.symmetric(horizontal: 16), child: TextField( textAlign: TextAlign.center, ), ), ), ), ], ), ), ), Container( color: Colors.black12, padding: const EdgeInsets.all(16), width: double.infinity, child: MaterialButton( color: Colors.orange, child: Text( 'Continue', style: TextStyle().copyWith( color: Colors.white, ), ), onPressed: () {}, ), ) ], ), ), ); } } ``` <details> <summary>Logs</summary> <!-- Finally, paste the output of running `flutter doctor -v` here. --> ``` [✓] Flutter (Channel master, 1.19.0-6.0.pre.57, on Mac OS X 10.15.5 19F101, locale en-US) • Flutter version 1.19.0-6.0.pre.57 at /Users/albertlardizabal/dev/flutter/master • Framework revision daddc914c7 (4 hours ago), 2020-06-11 01:35:01 +0200 • Engine revision e8c13aa012 • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e) [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at /Users/albertlardizabal/Library/Android/sdk • Platform android-29, build-tools 28.0.3 • ANDROID_HOME = /Users/albertlardizabal/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.5) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.5, Build version 11E608c • CocoaPods version 1.9.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 46.0.2 • Dart plugin version 193.7361 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) ``` </details>
a: text input,framework,f: material design,a: layout,has reproducible steps,found in release: 3.3,found in release: 3.4,team-design,triaged-design
low
Critical
636,701,929
flutter
Show error if engine not running
If Flutter fails to run, the Linux shell shows an EGL buffer with random contents. It should show an error screen instead.
engine,platform-linux,a: desktop,a: error message,P3,team-linux,triaged-linux
low
Critical
636,752,018
TypeScript
Compile time exponentially longer as more exclamation marks are added to a negation in a template placeholder expression
**TypeScript Version:** 3.9.5 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** exponential, exclamation, negation **Code** ```ts let a = `${!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!true}` ``` **Expected behavior:** The compile time does not exponentially increase as more exclamation marks are added. **Actual behavior:** The compile time increases exponentially with more exclamation marks. **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> https://www.typescriptlang.org/play/#code/DYUwLgBAhhC8EAMAkBvAhBzXs7QMymAGcQBfBAbgFgAoQkAJzAAooBKamoA It will always say that the code ran immediately, but after changing the code, the result will be incorrect for some time. In addition, you will notice as you add more exclamation marks that it takes a long time for whatever you write on the left side to appear on the right. **Related Issues:** <!-- Did you find other bugs that looked similar? -->
Bug
low
Critical
636,766,666
go
runtime: add race detector for ios/arm64
### What version of Go are you using (`go version`)? `master` as of the opening of this issue <pre> $ go version go version devel +5adaa1290e Thu Jun 11 06:04:57 2020 +0000 darwin/amd64 </pre> ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/steeve/Library/Caches/go-build" GOENV="/Users/steeve/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/steeve/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/steeve/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/Users/steeve/code/github.com/znly/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/Users/steeve/code/github.com/znly/go/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/steeve/code/github.com/znly/go/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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gr/T/go-build749515592=/tmp/go-build -gno-record-gcc-switches -fno-common" </pre></details> ### What did you do? Since `darwin/amd64` and `linux/arm64` are supported, I figure I'd give it a shot. Applied this patch to try and "enable" the race detector on `ios/arm64`: ```diff diff --git a/src/cmd/internal/sys/supported.go b/src/cmd/internal/sys/supported.go index c27b3b986d..00faf49f8a 100644 --- a/src/cmd/internal/sys/supported.go +++ b/src/cmd/internal/sys/supported.go @@ -13,8 +13,10 @@ func RaceDetectorSupported(goos, goarch string) bool { switch goos { case "linux": return goarch == "amd64" || goarch == "ppc64le" || goarch == "arm64" - case "darwin", "freebsd", "netbsd", "windows": + case "freebsd", "netbsd", "windows": return goarch == "amd64" + case "darwin": + return goarch == "amd64" || goarch == "arm64" default: return false } ``` ### What did you expect to see? Hopefully a successful build with the race detector enabled. ### What did you see instead? The linker fails/crashes with the following: ``` Use --sandbox_debug to see verbose messages from the sandbox runtime.rt0_go: missing section for runtime.tls_g runtime.load_g: missing section for runtime.tls_g runtime.save_g: missing section for runtime.tls_g runtime.rt0_go: reloc 3 (R_ADDRARM64) to non-macho symbol runtime.tls_g type=37 (STLSBSS) runtime.rt0_go: unsupported obj reloc 3 (R_ADDRARM64)/8 to runtime.tls_g panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x2 pc=0x1213e6e] goroutine 1 [running]: cmd/link/internal/arm64.machoreloc1(0x1473b20, 0xc0000b6070, 0xc0049bd000, 0xc005222c40, 0x642e4, 0x1) /Users/steeve/code/github.com/znly/go/src/cmd/link/internal/arm64/asm.go:388 +0x4ce cmd/link/internal/ld.machorelocsect(0xc000071880, 0xc0000b62a0, 0xc001a50000, 0x4279, 0x4279) /Users/steeve/code/github.com/znly/go/src/cmd/link/internal/ld/macho.go:1067 +0x18c cmd/link/internal/ld.Machoemitreloc(0xc000071880) /Users/steeve/code/github.com/znly/go/src/cmd/link/internal/ld/macho.go:1081 +0xca cmd/link/internal/arm64.asmb2(0xc000071880) /Users/steeve/code/github.com/znly/go/src/cmd/link/internal/arm64/asm.go:912 +0x5a5 cmd/link/internal/ld.Main(0x1473b20, 0x10, 0x20, 0x1, 0x1f, 0x1e, 0x12d3faa, 0x14, 0x12d767f, 0x1a, ...) /Users/steeve/code/github.com/znly/go/src/cmd/link/internal/ld/main.go:349 +0x1509 main.main() /Users/steeve/code/github.com/znly/go/src/cmd/link/main.go:68 +0x1dc link: error running subcommand: exit status 2 ``` Mainly opening this issue so the discussion can be had.
NeedsInvestigation,compiler/runtime
low
Critical
636,811,067
godot
LineEdit fontsize change doesn't update text position
Searched the issues, didn't find a duplicate. **Godot version: 3.2.1** **OS/device including version:** Arch Linux **Issue description:** When decreasing (or increasing) the font-size of a LineEdit's font, the font shrinks as expected. But the shrinking happens always towards the left edge without respecting the horizontal alignment ![s](https://user-images.githubusercontent.com/6108978/84360570-95038200-abca-11ea-8c79-63774768c7b1.png) **Steps to reproduce:** Download the minimal reproduction project and click the "shrink" and "grow" buttons. As workaround you can click on the "connect changed" button which will run following lines: ```gdscript var font = $LineEdit.get_font("font") font.connect("changed", $LineEdit, "set_secret_character", [$LineEdit.secret_character]) font.connect("changed", $LineEdit2, "set_secret_character", [$LineEdit2.secret_character]) font.connect("changed", $LineEdit3, "set_secret_character", [$LineEdit3.secret_character]) ``` After that, changing the font size preserves correct alignment. **Minimal reproduction project:** [lineedit_font_size_change.zip](https://github.com/godotengine/godot/files/4763405/lineedit_font_size_change.zip)
bug,topic:gui
low
Minor
636,821,211
go
x/tools/go/cfg: parsed control graph incomprehensible
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.1 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></summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/data/go/.cache" GOENV="/root/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="git.code.oa.com" GONOSUMDB="git.code.oa.com" GOOS="linux" GOPATH="/data/go" GOPRIVATE="git.code.oa.com" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/data/apps/git.code.oa.com/flarezuo/testability/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-build389890088=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? I write a `main.go` file to debug output the CFG(control flow graph) of a function following: ```go func abc(a int) int { if a == 0 { return a * 2 } a++ return a } ``` **main.go**: ```go package main import ( "bytes" "fmt" "go/ast" "go/format" "go/parser" "go/token" "io" "os" "strings" "golang.org/x/tools/go/ast/inspector" "golang.org/x/tools/go/cfg" ) // PrintCFG print control flow graph with graphviz dot format. func printCFG(w io.Writer, graph *cfg.CFG) { if graph == nil { return } fset := token.NewFileSet() fmt.Fprintln(w, "digraph structs {") fmt.Fprintln(w, "\tnode [shape=Mrecord]") // output nodes for _, b := range graph.Blocks { var labels []string labels = append(labels, fmt.Sprintf("<name> %s", b.String())) var codes []string for _, n := range b.Nodes { codes = append(codes, formatNode(fset, n)) } fmt.Fprintf(w, "\t"+`%d [label="%s" tooltip="%s"]`+"\n", b.Index, strings.Join(labels, "|"), strings.Join(codes, "\n"), ) } // output eges for _, b := range graph.Blocks { for _, s := range b.Succs { fmt.Fprintf(w, "\t"+`%d -> %d`+"\n", b.Index, s.Index) } } // output edges fmt.Fprintln(w, "}") } func formatNode(fset *token.FileSet, n ast.Node) string { var buf bytes.Buffer format.Node(&buf, fset, n) return fmt.Sprintf("%d:", n.Pos()) + buf.String() } func Debug(source string) { fset := token.NewFileSet() file, err := parser.ParseFile(fset, "demo.go", source, parser.ParseComments) if err != nil { panic(err) } nodeFilter := []ast.Node{(*ast.FuncDecl)(nil)} inspector.New([]*ast.File{file}).Preorder(nodeFilter, func(n ast.Node) { fn, ok := n.(*ast.FuncDecl) if !ok { return } graph := cfg.New(fn.Body, func(_ *ast.CallExpr) bool { return false }) printCFG(os.Stdout, graph) }) } func main() { src := ` package testdata func abc(a int) int { if a == 0 { return a * 2 } a++ return a } ` Debug(src) } ``` ### What did you expect to see? correct flow graph ### What did you see instead? Got incomprehensible graph: ```dot digraph structs { node [shape=Mrecord] 0 [label="<name> block 0 (entry)" tooltip="49:a == 0"] 1 [label="<name> block 1 (if.then)" tooltip="61:return a * 2"] 2 [label="<name> block 2 (if.done)" tooltip="82:a++ 88:return a"] 3 [label="<name> block 3 (unreachable.return)" tooltip=""] 4 [label="<name> block 4 (unreachable.return)" tooltip=""] 0 -> 1 0 -> 2 3 -> 2 } ``` ![image](https://user-images.githubusercontent.com/2574558/84362442-d3fffa80-abff-11ea-8655-5c5c10746eb3.png)
NeedsInvestigation,Tools
low
Critical
636,838,752
go
runtime: fixup darwin/arm64 framepointer assembly
Quoting @cherrymui from [CL 220588](https://golang.org/cl/220588): > > For example, in runtime/sys_darwin_arm64.s, function open_trampoline, the frame pointer is not saved. One possibility is to change the frame size (the $0 on the TEXT line) to 16, so the assembler will automatically allocate a frame and save the frame pointer, and remove the SUB and ADD to RSP. Do the same to other functions as well. > > Another example is runtime/preempt_arm64.s, currently the frame pointer is only saved #ifdef GOOS_linux. We may want to do this for #ifdef GOOS_darwin as well.
NeedsFix,arch-arm64,compiler/runtime
medium
Major
636,905,530
nvm
provide alias command for "nvm install node --reinstall-packages-from=node"
Please provide an alias for this, I only recently learned about the command and search for an easy upgrade function for a while. Or, if not, why it maybe is a bad idea, that I dont already know about maybe.
feature requests
low
Minor
636,949,294
pytorch
Shared file-system initialization in pytorch distributed is slow
Hi, it's seems that there is a minor performance issue when initialized pytorch distribution with shared file(https://pytorch.org/docs/stable/distributed.html#shared-file-system-initialization). i have a simple code look like: ``` dist.init_process_group(backend=backend, timeout=timeout, rank=rank, init_method=init_method, world_size=self._world_size) ``` all the parameters can be seen from log: ``` rank(0) 2020-06-11 11:28:51,014 - INFO - distribution_manager_pytorch:28 - __init__ - In create process id=[8799] rank(0) 2020-06-11 11:28:51,016 - INFO - distribution_manager_pytorch:74 - init - Init by SHARED_FILE pytorch distributed backend=gloo timeout=0:02:00 rank=0 world_size=4 is_exists_shared_file=False Dist Shared File_Path=file:///mnt/trainings-data/liron/shared_file rank(1) 2020-06-11 11:28:51,027 - INFO - distribution_manager_pytorch:28 - __init__ - In create process id=[8807] rank(1) 2020-06-11 11:28:51,028 - INFO - distribution_manager_pytorch:74 - init - Init by SHARED_FILE pytorch distributed backend=gloo timeout=0:02:00 rank=1 world_size=4 is_exists_shared_file=False Dist Shared File_Path=file:///mnt/trainings-data/liron/shared_file rank(2) 2020-06-11 11:28:51,032 - INFO - distribution_manager_pytorch:28 - __init__ - In create process id=[8819] rank(2) 2020-06-11 11:28:51,032 - INFO - distribution_manager_pytorch:74 - init - Init by SHARED_FILE pytorch distributed backend=gloo timeout=0:02:00 rank=2 world_size=4 is_exists_shared_file=False Dist Shared File_Path=file:///mnt/trainings-data/liron/shared_file rank(3) 2020-06-11 11:28:51,040 - INFO - distribution_manager_pytorch:28 - __init__ - In create process id=[8832] rank(3) 2020-06-11 11:28:51,040 - INFO - distribution_manager_pytorch:74 - init - Init by SHARED_FILE pytorch distributed backend=gloo timeout=0:02:00 rank=3 world_size=4 is_exists_shared_file=False Dist Shared File_Path=file:///mnt/trainings-data/liron/shared_file rank(0) 2020-06-11 11:30:55,373 - INFO - distribution_manager_pytorch:82 - init - AFTER INIT going to delete shared_file rank(1) 2020-06-11 11:30:55,384 - INFO - distribution_manager_pytorch:82 - init - AFTER INIT going to delete shared_file rank(2) 2020-06-11 11:30:55,384 - INFO - distribution_manager_pytorch:82 - init - AFTER INIT going to delete shared_file rank(3) 2020-06-11 11:30:55,387 - INFO - distribution_manager_pytorch:82 - init - AFTER INIT going to delete shared_file ``` it's always take 2 min, i will check if it's related to the gloo timeout that is also 2 minutes. i am running on single GCP compute engine with EFS attached cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @VitalyFedyunin @ngimel
module: performance,oncall: distributed,triaged
low
Major
637,032,680
godot
Automatic warning insertion ignores line continuation.
<!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** <!-- Specify commit hash if using non-official build. --> Godot_v3.2.1-stable_win64, Godot_v3.2.2-beta4_win64 **OS/device including version:** <!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. --> Windows 7 x64 SP1 **Issue description:** <!-- What happened, and what was expected. --> Happened: ``` var \ # warning-ignore:unused_variable a ``` Expected: ``` # warning-ignore:unused_variable var \ a ``` **Steps to reproduce:** Run the minimal project and use automatic warning insertion option. **Minimal reproduction project:** <!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. --> ``` func f(): var \ a ```
bug,topic:gdscript,topic:editor
low
Minor
637,150,670
pytorch
Parallelize arguments serde for RPC with TorchScript functions.
This issue is motivated by discussion here: https://discuss.pytorch.org/t/sending-a-bulk-data-by-rpc/84938 In that use case, the application needs to use RPC to send bulk data across many processes. The serde can become the bottleneck. Even if we use `TorchScript` functions, RPC serde still holds `GIL` when calling `createStackForSchema`. I wonder if we can reduce the scope of code that holds GIL to allow some parallelism there? cc @suo @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @xush6528 @jjlilley @osalpekar @VitalyFedyunin @ngimel
module: performance,oncall: jit,triaged,module: rpc
low
Minor
637,177,489
youtube-dl
Pluto TV on demand support
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [X ] I'm reporting a new site support request - [X ] I've verified that I'm running youtube-dl version **2020.06.06** - [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://pluto.tv/on-demand/series/engineering-connections/season/3/episode/burj-al-arab-2011-3-5 - Playlist: https://service-stitcher.clusters.pluto.tv/stitch/hls/episode/5ecd5f1c86f709001b51ad50/master.m3u8?advertisingId=&appName=web&appStoreUrl=&appVersion=5.4.0-03751b61882e52dadae8597d2215c0142b039e02&architecture=&buildVersion=&deviceDNT=0&deviceId=8f71fdc7-a160-4ba5-b37b-006ecbbda96a&deviceLat=39.095963&deviceLon=-77.329431 &deviceMake=Chrome&deviceModel=Chrome&deviceType=web&deviceVersion=83.0.4103.97&includeExtendedEvents=false&marketingRegion=US&sid=79371dcf-5c38-4368-9229-949350682341&userId=&serverSideAds=true Still poking around so not positive how much of that playlist URL is actually necessary. ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> Currently youtube-dl is doing with Pluto TV on demand streams very similar to issue #15748 in that the in-stream ads mess up (choppy transitions around the ad insertion point, out of sync audio etc.) the final video. Unlike the #15748 issue, I haven't found anything in the master.m3u8 that stands-out as an ad. [master-m3u8.txt](https://github.com/ytdl-org/youtube-dl/files/4766105/master-m3u8.txt) I do notice while capturing the output that ad insertion happens like this: [hls,applehttp @ 0xa4f760] Opening 'crypto+https://siloh-l3.plutotv.net/c6009f_p luto/clip/5df29776642e4b9328052d27_Engineering_Connections_Burj_al_Arab_S3E5/720 p/20191212_113935/hls/0-516520/hls_2400-00102.ts' for reading frame=15300 fps=187 q=-1.0 size= 151588kB time=00:08:29.99 bitrate=2434.9kbits/ [hls,applehttp @ 0xa4f760] Opening 'crypto+https://siloh-l3.plutotv.net/c6009f_p luto/clip/5df29776642e4b9328052d27_Engineering_Connections_Burj_al_Arab_S3E5/720 p/20191212_113935/hls/0-516520/hls_2400-00103.ts' for reading frame=15450 fps=187 q=-1.0 size= 153040kB time=00:08:35.00 bitrate=2434.3kbits/ [hls,applehttp @ 0xa4f760] Opening 'https://siloh-l3.plutotv.net/248093_59_ad/cr eative/5ec5d94718e30b000b944683_ad/720p/20200520_182839/hls/hls_2400_keyfile_0.k ey' for reading [hls,applehttp @ 0xa4f760] Opening 'crypto+https://siloh-l3.plutotv.net/248093_5 9_ad/creative/5ec5d94718e30b000b944683_ad/720p/20200520_182839/hls/hls_2400-0000 0.ts' for reading frame=15497 fps=185 q=-1.0 size= 153592kB time=00:08:36.50 bitrate=2436.1kbits/ [mp4 @ 0xdc1920] Non-monotonous DTS in output stream 0:0; previous: 46482000, cu rrent: -6000; changing to 46482001. This may result in incorrect timestamps in t he output file. All of the in-stream ads seem to have a URL that contains "_ad" and "creative" while the fragment file seems so far to be ending with -00000.ts (crypto+https://siloh-l3.plutotv.net/**248093_5 9_ad/creative/5ec5d94718e30b000b944683_ad**/720p/20200520_182839/hls/**hls_2400-0000 0.ts**) [youtube-dlout_ec.txt](https://github.com/ytdl-org/youtube-dl/files/4766152/youtube-dlout_ec.txt) Thanks!
site-support-request
low
Critical
637,185,838
go
x/build/cmd/relui: macOS installer should add GOBIN to PATH
We currently provide installers for Go for Windows (an .msi file) and macOS (a .pkg file). Both installers add `$GOROOT/bin` to `PATH`. This lets users run commands like `go build` without having to edit `PATH` themselves. However, users still need to edit `PATH` in order to run binaries installed with `go install` or `go get`. This introduces unnecessary confusion for new developers. To avoid this, both installers should add `$GOBIN` to `PATH` as well. (Note that neither `GOBIN` nor `GOPATH` are likely to be set when an installer runs. If they are set, we should respect them; the goal is just to ensure that the directory where `go install` writes binaries is added to `PATH`).
Builders,NeedsInvestigation
low
Major
637,188,943
vscode
Ellipsis in search viewlet shows more UI, not commands
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 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/ --> In the search viewlet, the ellipsis button is used to reveal include and exclude input boxes. I don't think ellipsis should be used to permanently modify the UI. I believe ellipsis should only be used to temporarily show UI or commands for which there currently is not enough space to show permanently. ![EllipsisInSearchViewletShowsMoreUINotAdditionalCommands](https://user-images.githubusercontent.com/1704059/84418591-52b06400-ac0f-11ea-8f0f-969080c80d34.png) <!-- Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes/No
debt,ux,search
low
Critical
637,197,378
go
x/tools/gopls: change links in hover for replaced modules
- Run `go version` to get version of Go - go version go1.14.4 windows/amd64 - Run `code -v` or `code-insiders -v` to get version of VS Code or VS Code Insiders - 1.45.1 x64 - Check your installed extensions to get the version of the VS Code Go extension - 0.14.4 - Run `go env` to get the go development environment details ``` set GO111MODULE=on set GOARCH=amd64 set GOBIN= set GOCACHE=C:\Users\dtsp\AppData\Local\go-build set GOENV=C:\Users\dtsp\AppData\Roaming\go\env set GOEXE=.exe set GOFLAGS= set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOINSECURE= set GONOPROXY= set GONOSUMDB= set GOOS=windows set GOPATH=C:\Users\dtsp\YandexDisk\go set GOPRIVATE= set GOPROXY=https://proxy.golang.org,direct set GOROOT=c:\GO set GOSUMDB=sum.golang.org set GOTMPDIR= set GOTOOLDIR=c:\GO\pkg\tool\windows_amd64 set GCCGO=gccgo set AR=ar set CC=gcc set CXX=g++ set CGO_ENABLED=1 set GOMOD=NUL set CGO_CFLAGS=-g -O2 set CGO_CPPFLAGS= set CGO_CXXFLAGS=-g -O2 set CGO_FFLAGS=-g -O2 set CGO_LDFLAGS=-g -O2 set PKG_CONFIG=pkg-config set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map ``` ### Share the Go related settings you have added/edited ``` "go.testFlags": [ "*.go": "go" "[go]": {}, "go.formatTool": "goimports", "go.useLanguageServer": true, ``` ### Describe the bug When I enable Go Language Server all my local Go modules become unavailable. ![image](https://user-images.githubusercontent.com/38575605/84374853-516b4100-abe7-11ea-92df-ae9823f7efdc.png) All these modules are local to project folder and are available using `replace`: ``` replace ( transflow.ru/pkg/api v0.0.0 => ../api transflow.ru/pkg/assign v0.0.0 => ../assign transflow.ru/pkg/cache v0.0.0 => ../cache transflow.ru/pkg/consts v0.0.0 => ../consts ) ``` But even struct `Server` which is defined at the very same package is unavailable as you may see at screenshot.
NeedsFix,gopls,Tools
medium
Critical
637,253,089
godot
Variables bigger than a certain size are displayed as null in the editor debugger
___ ***Bugsquad note:** This issue has been confirmed several times already. No need to confirm it further.* ___ **Godot version:** <!-- Specify commit hash if using non-official build. --> 0eaefa73a11b88dc6c181f0fcc7236ccea2198c6 **OS/device including version:** <!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. --> Win10 64-bit GLES2 **Issue description:** <!-- What happened, and what was expected. --> I have a loop that will take random PackedScenes out of an Array and copy them into a new Array. (A shuffling thing.) It works fine until it gets up to 10 in the iteration. Then the debugger shows that it goes null. However, a print() will show about 11 of the 30 expected elements. It will behave as null from there on and crash later. ``` var list = [] var set = sets[0].set var size = set.size() set.append(set[0]) for n in p_number: var ridx = RNG.rand_int() var tscn = set[ridx % size] list.push_back(tscn) return list ``` Prints some of the elements, even though it claims it is null. ![godot_debug_64_R8t0rjtWiy](https://user-images.githubusercontent.com/13004169/84428267-d6c61400-ac2e-11ea-86f3-f4e6c27b5f63.png) Goes null during 10th execution... ![godot_debug_64_jSuIM7tj2a](https://user-images.githubusercontent.com/13004169/84428245-d0379c80-ac2e-11ea-835f-12176e0d4da5.png) @akien-mga Has there been any GScript commits lately that could be causing a regression and I can check against? @vnen Might you know of a way to better isolate this? **Steps to reproduce:** Use the project below and set breakpoints to inspect the array. Not sure yet of an operation that will crash it all the time, as the values are in some sort of limbo, sometimes they behave null, sometimes they work, even when the debugger claims null. ![godot windows tools 64_mfcWAjgn0F](https://user-images.githubusercontent.com/13004169/84484565-9a80cb00-aca3-11ea-82ae-ca9f7852f91c.png) Observe the enemies Array, and the first and last element. 1. The Array `enemies` is null. 2. The first element, `first_tscn` has a value. 3. The last element, `last_tscn` is null. ![godot windows tools 64_XTOSCGblFS](https://user-images.githubusercontent.com/13004169/84484557-98b70780-aca3-11ea-8853-cd757f3e9d66.png) **Minimal reproduction project:** Reducing the total enemies in the wave property below 7085 will get normal behavior. **NOTE: Use breakpoints to inspect results in wave.gd** [Arrays Going Null.zip](https://github.com/godotengine/godot/files/4769730/Arrays.Going.Null.zip)
bug,topic:core,topic:editor,confirmed
medium
Critical
637,273,797
godot
Parse error: Unexpected token: Identifier
<!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** Version 3.2.1 official build **OS/device including version:** Windows 10 **Issue description:** <!-- What happened, and what was expected. --> ![image](https://user-images.githubusercontent.com/66799893/84431616-df691b00-ac2b-11ea-8f4e-04223ff18032.png) ![image](https://user-images.githubusercontent.com/66799893/84431581-ceb8a500-ac2b-11ea-8a73-ea7424c4fdeb.png) If we add multiple generic type constraints the parser will throw an error. It does not occur with only one constraint. The project builds correctly even if this happens. **Steps to reproduce:** Simply create a generic type or method with two or more constraints and try to build the project.
bug,topic:dotnet
low
Critical
637,285,740
go
proposal: cmd/go: extend syntax go.mod to allow overriding fetch protocol
## Update The original proposal was build on the idea that we could extend `replace` directive (see the original text below). After several rounds of discussions here in the comments, the current semantics of `replace` isn't about fetching the dependency but about local substitution of the source path and version (see [this comment from @bcmills](https://github.com/golang/go/issues/39536#issuecomment-670483278)). I have re-title the proposal and [suggested the new syntax](https://github.com/golang/go/issues/39536#issuecomment-670616528) to solve the described problem. ## Original Proposal I propose to extend the syntax of go.mod's `replace` directive to support overwriting the protocol, which Go will use to fetch the module. That is ``` replace example.com/foo/bar => git+ssh://private.example.com/foo/bar ``` ## Background As it’s for Go 1.14, the syntax of `replace` directive in `go.mod` allows overwriting module’s import path by defining an alternative version, alternative import path, or a path on the local FS (refer to [[1]]). For non-FS-based replaces, Go fetches the replaced modules from modules proxy server as it does for other dependencies. If a project uses private dependencies or private forks to replace a dependency, managing the modules become an extra burden for the developers, who work on the project. Even though the dependency is an attribute of the project itself, it’s the responsibility of every developer of the project to define the correct values for `GOPRIVATE`, `GONOPROXY`, etc, which alters their "normal" development workflow. With private dependencies explicitly listed as the ones, that can't be fetched from any modules-proxy server, the project's workflow wouldn't be any different from a project, that only uses public modules (_providing that a developer has the required accesses_). Specifying the protocol explicitly would also solve the issue where “go get” chooses to fetch a private dependency via HTTPS, which usually forces developers to manipulate their host’s `.gitconfig`, adding custom `insteadOf` rules to force go-get to use SSH when downloading modules from GitHub repositories. ## Prior Experience Dependency-management systems in other programming languages have similar mechanisms. For example: - Node.js + NPM `package.json` `"dependency"` syntax accepts URLs, Git URLs and some other [[2]]. - Rust + Cargo `Cargo.toml` allows overwriting the source of the dependent crate, passing project’s Git URL [[3]]. - Go + dep `Gopkg.toml` allows specifying dependencies' `source` as an alternate location, passing the URL [[4]]. [1]: https://github.com/golang/go/wiki/Modules#when-should-i-use-the-replace-directive [2]: https://docs.npmjs.com/files/package.json#dependencies [3]: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html [4]: https://golang.github.io/dep/docs/Gopkg.toml.html#dependency-rules-constraint-and-override
Proposal
medium
Critical
637,288,792
go
cmd/cgo: more expansive test coverage
cgo is very subtle, yet it's lacking in test coverage. For example, misc/cgo/test doesn't have any tests for C.enum_foo or C.struct_bar, and misc/cgo/testgodefs doesn't have any tests for constants (to be addressed by CL 237558). /cc @ianlancetaylor
help wanted,NeedsFix,compiler/runtime
low
Major
637,290,117
terminal
Tooltips should display keybindngs
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement The tooltip for new tab, close etc should say the keybinding in brackets, for example: "New Tab (Ctrl+T). Although it would be hard to implement as users can change shortcuts.
Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task
low
Critical
637,309,615
node
./deps/v8/third_party/zlib instead of the copy in ./deps/zlib ?
This is not a bug, rather a deduplication idea: a lot of ./deps/zlib is similar to ./deps/v8/third_party/zlib.
zlib,dependencies
low
Critical
637,322,790
godot
Delete, rename, open confuses godot editor.
<!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** 3.2.1 **OS/device including version:** Fedora 32/KDE, it does not matter. **Issue description:** Delete, rename, open flow confuses godot editor. **Steps to reproduce:** 1.) Open a scene, 1.tscn (scene A). 2.) Open a scene, 2.tscn (scene B). 3.) Delete scene 1.tscn. 4.) Rename scene 2.tscn to scene 1.tscn. 5.) Open 1.tscn. Expected behaviour: show scene B Actual behaviour: shows scene A
bug,discussion,topic:editor
low
Major
637,330,037
rust
Tracking issue for `#![feature(const_precise_live_drops)]`
This is a tracking issue for a more precise version of checking for drops in `const` contexts. The feature gate for the issue is `#![feature(const_precise_live_drops)]`. With this feature enabled, drops are checked on slightly elaborated MIR. This makes the analysis that prevents dropping in `const fn` more accurate for code that does not actually drop anything: specifically, if the initial MIR contains an unnecessary call to `drop` that may be eliminated in elaboration, it can be accepted with `const_precise_live_drops`. Internally, the library can also use this on a per-function basis with `#[rustc_allow_const_fn_unstable(const_precise_live_drops)]`. ### About tracking issues Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label. Discussion comments will get marked as off-topic or deleted. Repeated discussions on the tracking issue may lead to the tracking issue getting locked. ### Steps - [x] implementation: #71824 ### Blockers and Concerns: - https://github.com/rust-lang/rust/issues/91009 - Changes to what exact elaboration occurs may change what we accept - (per Ralf on Zulip): ideally this would run on the same MIR and with the same logic as borrowck, but that is hard.
A-destructors,T-lang,T-compiler,B-unstable,C-tracking-issue,A-const-eval,S-tracking-needs-summary
high
Critical
637,344,552
flutter
Text widget incorrectly wraps Korean text
The Text widget breaks Korean words in the middle - see screenshot. This does not happen with English text, where the lines break along spaces, as expected. ## Steps to Reproduce ``` @override Widget build(BuildContext context) { return Text('조선시대의 인구 조사에 따르면 조선의 인구는 대체로 700만 명을 넘지 못했다. 조세와 부역 등을 피하려고 호구조사를 기피하는 등 여러 가지 요인으로 40% 가까이 누락되었을 것으로 추측되고'); ``` **Expected results:** Lines break along spaces. **Actual results:** Lines break in middle of words. See screenshot below. ![image](https://user-images.githubusercontent.com/66804265/84442793-4ecf1280-ac0c-11ea-917f-1998178a5817.png)
framework,a: internationalization,dependency: skia,a: typography,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-framework,triaged-framework,fyi-text-input
low
Critical
637,414,482
go
crypto/x509: Trust relationship of certs returned by 'x509.SystemCertPool()' is ambiguous
### What version of Go are you using (`go version`)? <pre> $ go version go version go1.13.7 darwin/amd64 </pre> ### Does this issue reproduce with the latest release? Yes. ### What operating system and processor architecture are you using (`go env`)? CentOS 7.8. <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/root/.cache/go-build" GOENV="/root/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/root/go" GOPRIVATE="" GOPROXY="direct" GOROOT="/usr/lib/golang" GOSUMDB="off" GOTMPDIR="" GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build466747349=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? On a CentOS 7.8 system, the `x509.SystemCertPool()` function returns a `CertPool` containing all X.509 certificates stored in the directory `/etc/pki/tls/certs/`. While I cannot find a clear source describing the purpose of this directory, there is RedHat documentation that indicates Apache httpd end entity (server) certificates can be stored there (I believe this is also the default directory for end entity certificates in the httpd configs as well). This can be seen in the following snippets from https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-httpd-secure-server: ``` 25.8.3. Using Pre-Existing Keys and Certificates [...] Move your existing certificate file to: /etc/pki/tls/certs/server.crt ``` ``` 25.8.6. How to configure the server to use the new key [...] Edit /etc/httpd/conf.d/ssl.conf. Change the SSLCertificateFile and SSLCertificateKey lines to be. SSLCertificateFile /etc/pki/tls/certs/www.example.com.crt SSLCertificateKeyFile /etc/pki/tls/private/www.example.com.key ``` I would never implicitly trust these certificates, even if I am serving them. However, the `CertPool` returned by `SystemCertPool()` includes them via `loadSystemRoots()` in 'root_unix.go'. Taking a look at the function, its current documentation states: ``` // SystemCertPool returns a copy of the system cert pool. // // Any mutations to the returned pool are not written to disk and do // not affect any other pool returned by SystemCertPool. // // New changes in the system cert pool might not be reflected // in subsequent calls. ``` I realize that there is no mention of trust relationship here - however, in a few spots in the code, there are hints about "roots", which to me indicates CA certificates (or at least non-server certificates). For example the error message in 'cert_pool.go', line 50: ``` return nil, errors.New("crypto/x509: system root pool is not available on Windows") ``` And the function name `loadSystemRoots()`, and the local variable name in 'root_unix.go', line 39: ``` func loadSystemRoots() (*CertPool, error) { roots := NewCertPool() ``` The change to search in `/etc/pki/tls/certs` for certificates in `loadSystemRoots()` occurred in: https://github.com/golang/go/commit/e83bcd95a4a86e4caf2faa78158170d512dd9de5 I do not see any obvious reason why any random certificate file in this directory would be trusted, barring `ca-bundle.crt`. As noted in the RedHat documentation, there *could* be end entity certificates stored in `/etc/pki/tls/certs`... So, Go's behavior feels incorrect. At the very least, the purpose of `SystemCertPool()` feels ambiguous. ### What did you expect to see? I expected `x509.SystemCertPool()` to return only CA certificates trusted by the operating system. ### What did you see instead? The function returns non-CA, or end entity certificates that are not trusted by the operating system (specifically, on CentOS 7.8). This can result in unexpected validation paths ("verified chains" as referenced by the Go library) when connecting to TLS servers.
NeedsInvestigation
low
Critical
637,415,574
TypeScript
Provide a better display experience for unresolved values and types
Today, an unresolved type, or the type of an unresolved variable will look something like `any`. Internally, these resolve to a well-known error type that semantically acts as `any`. However, in https://github.com/microsoft/TypeScript/issues/37713, we may not have a full picture of the world because we're limited to a single file. I think we should consider doing two things 1. In the syntactic mode, the type of any unresolved symbol should be of a new `any`-like type called `loading`. 2. anywhere else, usage of an unresolved type should "stick around" and be recognized as a type reference to an extremely permissive type. This could be implemented through something similar to https://github.com/microsoft/TypeScript/issues/38836 According to @CyrusNajmabadi, Roslyn already does something really similar to this.
Suggestion,In Discussion,Rescheduled
low
Critical
637,418,164
TypeScript
Expand when `isNewIdentifierLocation` is set in the syntax server
In https://github.com/microsoft/TypeScript/issues/37713, we might not have a full picture of the world, so it might overly restrictive to only suggest identifiers in the current file. We should consider being more permissive so that editors don't aggressively auto-complete on identifiers in these contexts. _____ Aside: if we do this, we should make sure that the work done in https://github.com/microsoft/TypeScript/issues/38836 doesn't cause conflicts. For example, let's say you have an empty file like ```ts thing/**/ ``` and completions get triggered at `/**/`. A user **should not** get completions for `thing` at that point.
Suggestion,In Discussion
low
Minor
637,419,779
TypeScript
Consider loose completions in the syntax server on unresolved/error types
Assume that no type named `Foo` exists in the current project, and assume the current file. ```ts export let x: Foo; x./**/ ``` When requesting completions at `/**/`, we should consider giving a list of identifiers in the current file, similar to what we do for `any` in JavaScript files. This contrived example isn't great, but when opening a larger file, this could be helpful. This is somewhat related to * https://github.com/microsoft/TypeScript/issues/5334, where we considered giving identifier completions whenever hitting `any` * https://github.com/microsoft/TypeScript/issues/39032, where we discussed producing these special `loading` types and unresolved error types.
Suggestion,In Discussion
low
Critical
637,420,270
TypeScript
Partial Semantic Mode Meta-Issue
See https://github.com/microsoft/TypeScript/issues/37713 as a pre-requisite for this issue! ____ https://github.com/microsoft/TypeScript/pull/38561 implements the core idea proposed in https://github.com/microsoft/TypeScript/issues/37713. Beyond that, there is still a set of UX issues that we should probably address: - [x] make cross-file go-to-definition work in the syntax-only server (https://github.com/microsoft/TypeScript/issues/39037) - [ ] make find-all-refs work on unresolved locals (https://github.com/microsoft/TypeScript/issues/38836) - [ ] better display experience for error types on the syntax server (https://github.com/microsoft/TypeScript/issues/39032) - [ ] expand when `isNewIdentifierLocation` on the syntax server (https://github.com/microsoft/TypeScript/issues/39033) - [ ] consider loose completions on the syntax server on unresolved/error types (https://github.com/microsoft/TypeScript/issues/39034)
Meta-Issue,Rescheduled
low
Critical
637,425,567
rust
Ztime-passes: columns not always seperated
Sometimes when compiling code with `-Ztime-passes`, there is no space between rss column and the pass-name column: ```` time: 0.001; rss: 110MB match_checking time: 0.000; rss: 110MB liveness_and_intrinsic_checking time: 0.002; rss: 110MB misc_checking_2 time: 0.016; rss: 117MB MIR_borrow_checking time: 0.000; rss: 117MB MIR_effect_checking time: 0.000; rss: 117MB layout_testing time: 0.000; rss: 117MB death_checking time: 0.000; rss: 117MB unused_lib_feature_checking time: 0.000; rss: 117MB crate_lints time: 0.000; rss: 117MB module_lints time: 0.001; rss: 117MB lint_checking time: 0.000; rss: 117MB privacy_checking_modules time: 0.003; rss: 117MB misc_checking_3 time: 0.000; rss: 117MB monomorphization_collector_root_collections time: 0.000; rss: 51MBparse_crate time: 0.000; rss: 51MBattributes_injection time: 0.000; rss: 54MBrecursion_limit time: 0.000; rss: 54MBplugin_loading time: 0.000; rss: 54MBplugin_registration time: 0.000; rss: 54MBpre_AST_expansion_lint_checks time: 0.000; rss: 54MBcrate_injection time: 0.009; rss: 67MBexpand_crate time: 0.000; rss: 67MBcheck_unused_macros time: 0.010; rss: 67MBmacro_expand_crate time: 0.000; rss: 67MBmaybe_building_test_harness time: 0.000; rss: 67MBAST_validation time: 0.000; rss: 67MBmaybe_create_a_macro_crate time: 0.000; rss: 67MBcomplete_gated_feature_checking time: 0.011; rss: 67MBconfigure_and_expand time: 0.001; rss: 67MBprepare_outputs time: 0.000; rss: 67MBhir_lowering time: 0.000; rss: 67MBearly_lint_checks time: 0.000; rss: 70MBsetup_global_ctxt time: 0.000; rss: 70MBdep_graph_tcx_init time: 0.001; rss: 70MBcreate_global_ctxt time: 0.000; rss: 72MBlooking_for_entry_point time: 0.000; rss: 72MBlooking_for_plugin_registrar time: 0.000; rss: 72MBlooking_for_derive_registrar ```` `` rustc 1.46.0-nightly (feb3536eb 2020-06-09) binary: rustc commit-hash: feb3536eba10c2e4585d066629598f03d5ddc7c6 commit-date: 2020-06-09 host: x86_64-unknown-linux-gnu release: 1.46.0-nightly LLVM version: 10.0 ``
T-compiler,C-bug,A-self-profile
low
Minor
637,437,056
pytorch
build QT program use libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101 ok with CPU but error with cuda GPU
i use qt build program with libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101 when i config with cpu is that ok ` INCLUDEPATH = $$PWD/libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101/libtorch INCLUDEPATH +=$$PWD/libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101/libtorch/include INCLUDEPATH +=$$PWD/libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101/libtorch/include/torch/csrc/api/include LIBS = -L$$PWD/libtorch-cxx11-abi-shared-with-deps-1.5.0+cu101/libtorch/lib LIBS += -ltorch_cpu -lc10 LIBS += -L/usr/local/lib ` but when i change `LIBS +=ltorch_cpu` to `LIBS +=ltorch_cuda` or `LIBS +=ltorch` is get error ``` undefined reference to `torch::jit::load(std::__cxx11::basic_string<char, std::char_traits<char>,... undefined reference to `at::print(std::ostream&, at::Tensor const&, long) undefined reference to `at::getLegacyDeviceTypeInit() undefined reference to `at::getLegacyDeviceTypeInit() undefined reference to `at::getLegacyDeviceTypeInit() undefined reference to `at::getLegacyDeviceTypeInit() undefined reference to `at::getLegacyDeviceTypeInit() undefined reference to `at::getLegacyDeviceTypeInit() undefined reference to `torch::jit::Method::operator() (.text._ZNK2at6Tensor5sliceEllll[_ZNK2at6Tensor5sliceEllll]+0x72): undefined reference to `c10::Dispatcher::singleton()' (.text._ZNK2at6Tensor5sliceEllll[_ZNK2at6Tensor5sliceEllll]+0x281): undefined reference to `c10::Dispatcher::singleton()' undefined reference to `c10::Dispatcher::findSchemaOrThrow(char const*, char const*) undefined reference to `c10::Dispatcher::reportError(c10::DispatchTable const&, c10::DispatchKey) undefined reference to `c10::IntType::get()' undefined reference to `torch::jit::tracer::getTracingState()' undefined reference to `torch::jit::Graph::create(c10::Symbol, unsigned long)' undefined reference to `torch::jit::tracer::recordSourceLocation(torch::jit::Node*) undefined reference to `torch::jit::tracer::addInputs(torch::jit::Node*, char const*, c10::ArrayRef<long>) undefined reference to `torch::jit::tracer::addInputs(torch::jit::Node*, char const*, c10::TensorOptions const&) undefined reference to `torch::jit::Node::insertBefore(torch::jit::Node*) undefined reference to `torch::jit::tracer::setTracingState(std::shared_ptr<torch::jit::tracer::TracingState>)' undefined reference to `at::globalLegacyTypeDispatch() undefined reference to `c10::Dispatcher::singleton() undefined reference to `torch::jit::tracer::setTracingState(std::shared_ptr<torch::jit::tracer::TracingState>)' undefined reference to `torch::jit::tracer::addOutput(torch::jit::Node*, at::Tensor const&) undefined reference to `c10::Dispatcher::singleton() ``` hope someone can help me thank you very much @goldsborough cc @malfet
module: build,triaged
low
Critical
637,450,546
youtube-dl
EPIX website
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2020.06.06** - [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.epix.com/series/laurel-canyon/season/1/episode/1/laurel-canyon-s1-e1 <!-- D:\Downloads\CuteFTP 9.0\FFMPEG Video-2>youtube-dl --cookies "D:\Internet Downloads\cookies.txt" --list-formats https://www.epix.com/series/laurel-canyon/season/1/episode/1/laurel-canyon-s1-e1?play=true [generic] laurel-canyon-s1-e1?play=true: Requesting header WARNING: Falling back on generic information extractor. [generic] laurel-canyon-s1-e1?play=true: Downloading webpage [generic] laurel-canyon-s1-e1?play=true: Extracting information ERROR: Unsupported URL: https://www.epix.com/series/laurel-canyon/season/1/episode/1/laurel-canyon-s1-e1?play=true --> I am looking to download a video from the Epix.com website. I am able to download the video (up to 720p) using the free Chrome add-on 'Stream Video Downloader' so it seems like it should be even easier to grab using youtube-dl and may allow me access to the 1080p version. I have attempted accessing the video with cookies and logins but the results are the same for both. I was wondering if anyone else out there has had any success accessing the epix.com website using youtube-dl.
site-support-request
low
Critical
637,459,392
flutter
Check library versions in Linux doctor and CMake files
See discussion in https://github.com/flutter/flutter/pull/59287 We should be checking for: - GTK 3.22 or later - glib ??? or later - gio ??? or later This should be done both in `doctor`, and in the CMake files. `doctor` should be updated to have logic to show a different message if any libraries are too old (although I don't think we need to show their versions if they are new enough, so the list of messages doesn't get to be excessive. Maybe just the GTK library version if we think that's useful.)
tool,t: flutter doctor,platform-linux,a: desktop,a: build,P3,team-linux,triaged-linux
low
Minor
637,486,267
flutter
Material text selection menu wrong item order in RTL
When the text direction is RTL, the material text selection menu item are still LTR. ### Native android: | LTR | Forced RTL | |---|---| |![Screenshot_1591936926](https://user-images.githubusercontent.com/31859944/84465845-e6445d80-ac2c-11ea-84c2-a343e31a2ac7.png) | ![Screenshot_1591937039](https://user-images.githubusercontent.com/31859944/84465862-ee9c9880-ac2c-11ea-93f9-53abd5abdaee.png)|
a: text input,framework,f: material design,a: internationalization,has reproducible steps,found in release: 3.3,found in release: 3.6,team-design,triaged-design
low
Minor
637,554,499
flutter
[tool_crash] ProcessException: Process exited abnormally:FAILURE: Build failed with an exception.* What went wrong:Project 'app' not found in root project 'android'.* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 0s Command: /Users/bhavneetsingh/Documents/android/gradlew, OS error code: 1
## Command ``` flutter build apk ``` ## Steps to Reproduce 1. ... 2. ... 3. ... ## Logs ProcessException: Process exited abnormally: FAILURE: Build failed with an exception. * What went wrong: Project 'app' not found in root project 'android'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 0s Command: /Users/bhavneetsingh/Documents/android/gradlew, OS error code: 1 ``` #0 RunResult.throwException (package:flutter_tools/src/base/process.dart:172:5) #1 _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:322:19) <asynchronous suspension> #2 flavorUndefinedHandler.<anonymous closure> (package:flutter_tools/src/android/gradle_errors.dart:277:57) #3 buildGradleApp (package:flutter_tools/src/android/gradle.dart:416:73) #4 _rootRunUnary (dart:async/zone.dart:1198:47) #5 _CustomZone.runUnary (dart:async/zone.dart:1100:19) #6 _FutureListener.handleValue (dart:async/future_impl.dart:143:18) #7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45) #8 Future._propagateToListeners (dart:async/future_impl.dart:725:32) #9 Future._completeWithValue (dart:async/future_impl.dart:529:5) #10 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15) #11 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13) #12 _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart) #13 _rootRunUnary (dart:async/zone.dart:1198:47) #14 _CustomZone.runUnary (dart:async/zone.dart:1100:19) #15 _FutureListener.handleValue (dart:async/future_impl.dart:143:18) #16 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45) #17 Future._propagateToListeners (dart:async/future_impl.dart:725:32) #18 Future._completeWithValue (dart:async/future_impl.dart:529:5) #19 Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7) #20 _rootRun (dart:async/zone.dart:1190:13) #21 _CustomZone.run (dart:async/zone.dart:1093:19) #22 _CustomZone.runGuarded (dart:async/zone.dart:997:7) #23 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23) ``` ``` [✓] Flutter (Channel beta, 1.19.0-4.1.pre, on Mac OS X 10.15.3 19D76, locale en-IN) • Flutter version 1.19.0-4.1.pre at /Users/bhavneetsingh/Documents/Github/flutter • Framework revision f994b76974 (2 days ago), 2020-06-09 15:53:13 -0700 • Engine revision 9a28c3bcf4 • Dart version 2.9.0 (build 2.9.0-14.1.beta) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/bhavneetsingh/Library/Android/sdk • Platform android-29, build-tools 29.0.2 • Java binary at: /Applications/Android Studio 2.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.4, Build version 11E146 • CocoaPods version 1.9.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio 2.app/Contents • Flutter plugin version 38.2.3 • Dart plugin version 191.8423 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [✓] VS Code (version 1.46.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.11.0 [✓] Connected device (3 available) • ONEPLUS A6010 • 192.168.0.101:5555 • android-arm64 • Android 10 (API 29) • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.97 • No issues found! ``` ## Flutter Application Metadata **Type**: app **Version**: 1.0.0+1 **Material**: true **Android X**: false **Module**: false **Plugin**: false **Android package**: null **iOS bundle identifier**: null **Creation channel**: stable **Creation framework version**: 20e59316b8b8474554b38493b8ca888794b0234a ### Plugins camera-0.5.8+2 cloud_firestore-0.12.11 firebase_auth-0.16.1 firebase_auth_web-0.1.3+1 firebase_core-0.4.5 firebase_core_web-0.1.1+2 firebase_database-3.1.6 firebase_storage-3.1.6 flutter_custom_tabs-0.6.0 flutter_plugin_android_lifecycle-1.0.8 google_sign_in-4.0.7 image_picker-0.6.7+1 location-3.0.2 location_web-1.0.0 path_provider-1.6.10 path_provider_linux-0.0.1+1 path_provider_macos-0.0.4+3 permission_handler-5.0.1 razorpay_flutter-1.2.1 share-0.6.4+3 shared_preferences-0.5.7+3 shared_preferences_macos-0.0.1+10 shared_preferences_web-0.1.2+7 sqflite-1.3.1 url_launcher-5.4.10 url_launcher_macos-0.0.1+7 url_launcher_web-0.1.1+6 video_player-0.10.2
c: crash,tool,t: gradle,P2,team-tool,triaged-tool
low
Critical
637,591,392
go
x/mobile: gomobile binding failed due to lack of some header file in Android NDK
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.4 linux/amd64 </pre> ### Does this issue reproduce with the latest release? Yes. ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/chronosx/.cache/go-build" GOENV="/home/chronosx/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/chronosx/Документы/code/golang/" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/snap/go/5830" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/snap/go/5830/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build278490309=/tmp/go-build -gno-record-gcc-switches" </pre></details> **Android NDK version**: `21.3.6528147` **Gomobile version**: `gomobile version +4c31acb Sun Mar 29 12:56:38 2020 +0000 (android); androidSDK=` (I'm tried to use Go from Ubuntu repos, not only from Snap) ### 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. --> I'm trying to build some library which written in Go for Android (build AAR file). ``` gomobile: go build -tags mobile -ldflags -X github.com/yggdrasil-network/yggdrasil-go/src/version.buildName=yggdrasil -X github.com/yggdrasil-network/yggdrasil-go/src/version.buildVersion=0.3.14 -s -w -buildmode=c-shared -o=/tmp/gomobile-work-131080533/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind failed: exit status 2 # runtime/cgo gcc_android.c:6:10: fatal error: 'android/log.h' file not found ``` The file `android/log.h` exists in Android NDK. ### What did you expect to see? Library will compile successfully (it was compiled fine before). ### What did you see instead? I got the error: ``` gcc_android.c:6:10: fatal error: 'android/log.h' file not found ```
NeedsInvestigation,mobile
low
Critical
637,612,711
go
cmd/go: go list -u -m upgrade behaviour should be better documented
`go version go1.14.4 linux/amd64` The `go list -m -u` command (and also `go get` with no explicit version) does not always suggest an upgrade to the latest available version number. In this case, the commit date for `jmoiron/[email protected]` is earlier than the commit date for the current pseudo-version, but it's not clear from the documentation, which says: > When the latest version of a given module is newer than > the current one, list -u sets the Module's Update field > to information about the newer module. whether "newer" means "later version number" (in which case I'd expect it to suggest `v1.2.0`) or "latest commit date" (in which case the suggestion is right). If it really is "latest commit date", then I'd be concerned about backports - a backport of a fix from a later version could then prevent automatic upgrades to the appropriate latest version. I think this could at least use some clarification in the docs. Here's a reproducer for the issue (run with the [testscript command](https://github.com/rogpeppe/go-internal/tree/master/cmd/testscript)): ``` # I'd expect go list to list upgrades for both modules, # to v1.2.0 and v 1.0.0 respectively. # However it seems to ignore the available # sqlx upgrade for some reason. go list -m -u github.com/jmoiron/sqlx github.com/heetch/sqalx cmp stdout expect-go-list # Check that go get can actually see the upgrade. go get github.com/jmoiron/sqlx@v1 cmp stderr expect-go-get -- expect-go-list -- github.com/jmoiron/sqlx v0.0.0-20190426154859-38398a30ed85 github.com/heetch/sqalx v0.4.0 [v1.0.0] -- expect-go-get -- go: github.com/jmoiron/sqlx v1 => v1.2.0 go: downloading github.com/jmoiron/sqlx v1.2.0 -- foo.go -- package m import ( _ "github.com/heetch/sqalx" _ "github.com/jmoiron/sqlx" ) -- go.mod -- module m go 1.15 require ( github.com/heetch/sqalx v0.4.0 github.com/jmoiron/sqlx v0.0.0-20190426154859-38398a30ed85 ) -- go.sum -- github.com/DATA-DOG/go-sqlmock v1.3.3 h1:CWUqKXe0s8A2z6qCgkP4Kru7wC11YoAnoupUKFDnH08= github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/go-sql-driver/mysql v1.4.0 h1:7LxgVwFb2hIQtMm87NdgAVfXjnt4OePseqT1tKx+opk= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/heetch/sqalx v0.4.0 h1:itQcEQuDY7GuUbSt4+urrRTNDWhM9bh9lJLWxnImqPQ= github.com/heetch/sqalx v0.4.0/go.mod h1:E94nHyvfKEeIbbcHTc7eZSifTAOLES5Kz8gU04iZIgc= github.com/jmoiron/sqlx v0.0.0-20190426154859-38398a30ed85 h1:+LZtdhpMITOXE+MztQPPcwUl+eqYjwlXXLHrd0yWlxw= github.com/jmoiron/sqlx v0.0.0-20190426154859-38398a30ed85/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= github.com/lib/pq v1.0.0 h1:X5PMW56eZitiTeO7tKzZxFCSpbFZJtkMMooicw2us9A= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/mattn/go-sqlite3 v1.9.0 h1:pDRiWfl+++eC2FEFRy6jXmQlvp4Yh3z1MJKg4UeYM/4= github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rogpeppe/fastuuid v1.1.0 h1:INyGLmTCMGFr6OVIb977ghJvABML2CMVjPoRfNDdYDo= github.com/rogpeppe/fastuuid v1.1.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= ```
Documentation,NeedsInvestigation,modules
low
Minor
637,670,036
vue
PropType doesn't take undefined for optional props into account
### Version 2.6.11 ### Steps to reproduce Create component with optional prop being an object and try to access its property ```ts import Vue, { PropType } from 'vue'; Vue.extend({ props: { container: Object as PropType<{ n: number }>, // or container: Number }, mounted () { // should fail because this.container could be undefined console.log(this.container.n); }, }); ``` ### What is expected? TS error: Object is possibly undefined ### What is actually happening? No error ### Note It works as expected with Composition API plugin ![image](https://user-images.githubusercontent.com/15625235/84488979-496fd780-aca1-11ea-9cd1-3f96ebdbdc28.png) <!-- generated by vue-issues. DO NOT REMOVE -->
improvement,typescript
low
Critical
637,754,220
flutter
Blinking cursor should use less CPU
<!-- Thank you for using Flutter! If you are looking for support, please check out our documentation or consider asking a question on Stack Overflow: * https://flutter.dev/ * https://api.flutter.dev/ * https://stackoverflow.com/questions/tagged/flutter?sort=frequent If you have found a performance problem, then fill our the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> ## Details I noticed that this issue has been raised in regards to ios, but this is on macos and that issue is also locked now. https://github.com/flutter/flutter/issues/33833 Using an animated widget, such as TextField (when the cursor is blinking) causes cpu usage to remain steadily at 6-10% in the mac activity monitor. I'm on a 2019 15" MBP. Submitting the field (and therefore ending the animation) sees a return to 0% cpu usage. To reproduce, just display a TextField. As a side note, memory usage sits between 200-300MB for a relatively simple app. Loading larger widgets such as large amounts of text (not rich text) causes memory to spike as much as 50-70MB. I'm on flutter master, but this issue occurs on every version I've tried. <!-- 1. Please tell us exactly how to reproduce the problem you are running into, and how you measured the performance. 2. Please attach a small application (ideally just one main.dart file) that reproduces the problem. You could use https://gist.github.com/ for this. 3. Switch flutter to master channel and run this app on a physical device using profile or release mode. Verify that the performance issue can be reproduced there. The bleeding edge master channel is encouraged here because Flutter is constantly fixing bugs and improving its performance. Your problem in an older Flutter version may have already been solved in the master channel. --> <!-- Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows) Which target OS version, for Web, browser, is the test system running? Does the problem occur on emulator/simulator as well as on physical devices? --> **Target Platform:** MacOS **Target OS version/browser:** Catalina 10.15.1 (19B88) **Devices:** MacBook Pro ## Logs <!-- Run `flutter analyze` and attach any output of that command below. If there are any analysis errors, try resolving them before filing this issue. --> ``` info • The getter doesn't override an inherited getter • lib/bloc/active_requests_bloc.dart:40:20 • override_on_non_overriding_member info • The getter doesn't override an inherited getter • lib/bloc/active_requests_bloc.dart:49:20 • override_on_non_overriding_member info • The getter doesn't override an inherited getter • lib/bloc/active_requests_bloc.dart:58:20 • override_on_non_overriding_member info • The getter doesn't override an inherited getter • lib/bloc/active_requests_bloc.dart:63:20 • override_on_non_overriding_member info • The getter doesn't override an inherited getter • lib/bloc/active_requests_bloc.dart:68:20 • override_on_non_overriding_member info • The getter doesn't override an inherited getter • lib/bloc/active_requests_bloc.dart:77:20 • override_on_non_overriding_member info • The getter doesn't override an inherited getter • lib/bloc/active_requests_bloc.dart:86:20 • override_on_non_overriding_member info • The getter doesn't override an inherited getter • lib/bloc/active_requests_bloc.dart:93:20 • override_on_non_overriding_member info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: RequestModel.id • lib/bloc/models.dart:16:7 • must_be_immutable info • Close instances of `dart.core.Sink` • lib/header_bar.dart:12:9 • close_sinks info • Close instances of `dart.core.Sink` • lib/request_container.dart:36:9 • close_sinks info • Close instances of `dart.core.Sink` • lib/request_container.dart:111:9 • close_sinks ``` <!-- Finally, paste the output of running `flutter doctor -v` here, with your device plugged in. --> ``` [✓] Flutter (Channel master, 1.20.0-1.0.pre.25, on Mac OS X 10.15.1 19B88, locale en-US) • Flutter version 1.20.0-1.0.pre.25 at /Users/ben/.local/lib/flutter • Framework revision 3744b82d8c (17 hours ago), 2020-06-11 13:25:01 -0700 • Engine revision 965fbbed17 • Dart version 2.9.0 (build 2.9.0-14.0.dev 2b917f5b6a) [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location. You may also want to add it to your PATH environment variable. [✓] Xcode - develop for iOS and macOS (Xcode 11.2.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.2.1, Build version 11B500 • CocoaPods version 1.9.3 [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). [✓] IntelliJ IDEA Ultimate Edition (version 2020.1.2) • IntelliJ at /Applications/IntelliJ IDEA.app • Flutter plugin version 46.0.3 • Dart plugin version 201.7846.93 [✓] VS Code (version 1.46.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.11.0 [✓] Connected device (1 available) • macOS • macOS • darwin-x64 • Mac OS X 10.15.1 19B88 ! Doctor found issues in 2 categories. ```
platform-ios,c: performance,platform-mac,platform-linux,a: desktop,perf: memory,has reproducible steps,P2,found in release: 1.20,found in release: 2.2,found in release: 2.4,team-ios,triaged-ios
low
Critical
637,772,737
electron
ClientRequest lacks "timeout" configuration
### Preflight Checklist <!-- Please ensure you've completed the following steps by replacing [ ] with [x]--> * [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project. * [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to. * [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success. ### Problem Description [ClientRequest](https://www.electronjs.org/docs/api/client-request) does not support "timeout" parameter. Based on testing it looks like the request will timeout in 240 seconds, but that's too much for many purposes. ### Proposed Solution Add "timeout" in milliseconds as config parameter. ### Alternatives Considered It's possible to handle it manually with: ```javascript setTimeout(() => request.abort(), 10000); ```
enhancement :sparkles:
low
Minor
637,778,284
rust
linking with rust-lld failed: exit code: 1
Dear Experts, I am working on Discovery repository, I am building this for STM32F3 Discovery. I am facing following error **linking with rust-lld failed: exit code: 1** When I am building by **cargo build --target thumbv7em-none-eabihf** It was working fine a couple of weeks ago, I am using Linux 18.04 LTS, I have updated rust my current version is imran82ali@gmail:~$ rustup --version --verbose rustup 1.21.1 (7832b2ebe 2019-12-20) imran82ali@gmail:~$ rustc --version --verbose rustc 1.44.0 (49cae5576 2020-06-01) binary: rustc commit-hash: 49cae55760da0a43428eba73abcb659bb70cf2e4 commit-date: 2020-06-01 host: x86_64-unknown-linux-gnu release: 1.44.0 LLVM version: 9.0 Looking forward for your response. Thanks, IMRAN ALI
A-linkage,I-crash,O-Arm,T-compiler,C-bug,O-bare-metal
low
Critical
637,806,948
youtube-dl
Request to add support for AcFun.cn
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> * [x] I'm reporting a new site support request * [x] I've verified that I'm running youtube-dl version **2020.06.06** * [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.acfun.cn/v/ac16068535 ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> The previous domain name acfun.tv is now replaced with acfun.cn
site-support-request
low
Critical
637,862,459
pytorch
[Caffe2] compilation in c++ undefined reference to `caffe2
Hi, I've tried to install caffe2 to use in c++ but I've run into some problems i can't seem to resolve. For the moment I've tried to compile a simple program to check if the library was successfully installed and i could use it. ``` // ch1.cpp #include "caffe2/core/init.h" int main(int argc, char** argv) { caffe2::GlobalInit(&argc, &argv); return 0; } ``` I used a cmake installation of PyTorch following [#15004](https://github.com/pytorch/pytorch/issues/15004#issuecomment-451794531). I seem to have no problems creating the make file with cmake, but when i try to compile with make i get the following error message: ``` [ 50%] Linking CXX executable ch1 CMakeFiles/ch1.dir/ch1.cpp.o: In function `main': ch1.cpp:(.text+0x1e): undefined reference to `caffe2::GlobalInit(int*, char***)' collect2: error: ld returned 1 exit status CMakeFiles/ch1.dir/build.make:111: recipe for target 'ch1' failed make[2]: *** [ch1] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ch1.dir/all' failed make[1]: *** [CMakeFiles/ch1.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 ``` I've also tried installing pytorch using `python setup.py`, but the result is the same. cc @malfet
module: build,caffe2,triaged
low
Critical
637,865,303
flutter
Limit calls to exit()
The Flutter CLI doesn't call `exit()` from many places today: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/runner.dart#L256 https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/base/signals.dart#L144 But if it were to start calling exit() from more places, various hard-to-find/racy shutdown inconsistencies could potentially crop up. See the discussion here: https://github.com/flutter/flutter/pull/58474#discussion_r436103344 After removing the call to exit() here: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/analyze_continuously.dart#L182 Calls to exit() could be limited using a forbidden_import_test after moving exit() from io.dart to, e.g. exit.dart. /cc @jamesderlin @jonahwilliams
team,tool,P2,c: flake,team-tool,triaged-tool
low
Minor
637,870,879
ant-design
SubMenu open status is missing when toggle the collapse property of Side Component(侧边栏导航展开状态错误).
- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate. ### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-2k43j) ### Steps to reproduce 1. select a submenu at left side. 2. click the header collapse button to hide left menu. 3. click the header collapse button again to show the left menu. 4. when toggle the header collapse button, the expand status of submenu is missing. ### What is expected? when toggle the Sider Component collapsed property, the openKeys can not be reset. 当切换`Sider.collapsed`属性的时候, 希望`openKeys`不要被重置, 或者给一个配置可以选择 ### What is actually happening? the openKeys is always reset to empty array ([]) when toggle the Sider Component collapsed property. 每次切换`Sider.collapsed`属性的时候, `openKeys`都会被设置为空, 导致无法定位到先前展开的菜单 | Environment | Info | |---|---| | antd | 4.3.3 | | React | 16.13.1 | | System | macOS 10.15 | | Browser | Chrome Version 85.0.4170.0 (Official Build) canary (64-bit) | --- 当采用的是受控组件(`selectedKeys` 和 `openKeys` 都是由程序控制的). 切换`Sider.collapsed`触发调用`onOpenChange`方法, 希望在调用`onOpenChange`方法的时候分辨一下, 是否由`SiderContext`触发的, 这样可以人为判断是否需要接受`openKeys=[]`这种情况 <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
💡 Feature Request,Inactive
low
Major
637,876,095
opencv
Feature request : enable cv.imencode and cv.imdecode in opencv.js
Please enable cv.imencode and cv.imdecode in opencv.js while supporting PNG, JPEG and WEBP.
feature,category: javascript (js)
medium
Critical
637,946,351
flutter
ElevatedButton color doesn't change when disabling the button and hovering with mouse at the same time
This is a bug report for Flutter Web. When changing the button from enabled to disabled the button hover color persists and doesn't change to disabled color. When putting a 2 sec delay and moving the mouse away from the button it behaves correctly. ## Steps to Reproduce pubspec.yaml; ``` dependencies: flutter: sdk: flutter rxdart: ^0.23.1 provider: ^4.1.2 ``` main.dart: ``` import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:rxdart/rxdart.dart'; void main() { runApp( Provider<Bloc>( create: (_) => Bloc(), dispose: (_, bloc) => bloc.dispose(), child: MyApp() ), ); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Center( child: Column( children: <Widget> [ StreamBuilder<bool>( stream: context.watch<Bloc>().value, initialData: false, builder: (BuildContext context, AsyncSnapshot<bool> snapshot) { return RaisedButton( color: Colors.blue, hoverColor: Colors.red, disabledColor: Colors.yellow, onPressed: snapshot.data ? null : () { context.read<Bloc>().add(true); }, child: Text( 'Bugs' ), ); }, ), StreamBuilder<bool>( stream: context.watch<Bloc>().value, initialData: false, builder: (BuildContext context, AsyncSnapshot<bool> snapshot) { return RaisedButton( color: Colors.blue, hoverColor: Colors.red, disabledColor: Colors.yellow, onPressed: snapshot.data ? null : () async { await Future.delayed(const Duration(seconds: 2), (){}); context.read<Bloc>().add(true); }, child: Text( '2 sec delay' ), ); }, ), RaisedButton( onPressed: () => context.read<Bloc>().add(false), child: Text( 'Enable' ) ), RaisedButton( onPressed: () => context.read<Bloc>().add(true), child: Text( 'Disable' ), ), ], ), ), ), ); } } class Bloc { final _controller = BehaviorSubject<bool>(); Stream<bool> get value => _controller.stream; Function(bool) get add => _controller.sink.add; dispose() { _controller.close(); } } ``` **Expected results:** <!-- what did you want to see? --> Button 'Bugs' changes color to yellow. **Actual results:** <!-- what did you see? --> Button 'Bugs' doesn't change color and persists at the color red. When pressing the 'Enable' button the 'Bugs' button still doesn't change color but remains red until hovering with mouse on top of it. <details> <summary>Logs</summary> <!-- Run your application with `flutter run --verbose` and attach all the log output below between the lines with the backticks. If there is an exception, please see if the error message includes enough information to explain how to solve the issue. --> ``` $ flutter run -d chrome --verbose [ +118 ms] executing: [/work/sdk/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +33 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 1d407de925c395e8e4e8712fb2f4f90712702600 [ ] executing: [/work/sdk/flutter/] git tag --contains HEAD [ +174 ms] Exit code 0 from: git tag --contains HEAD [ +3 ms] executing: [/work/sdk/flutter/] git describe --match *.*.*-*.*.pre --first-parent --long --tags [ +14 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags [ ] 1.20.0-0.0.pre-29-g1d407de925 [ +13 ms] executing: [/work/sdk/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +11 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] executing: [/work/sdk/flutter/] git ls-remote --get-url origin [ +5 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +56 ms] executing: [/work/sdk/flutter/] git rev-parse --abbrev-ref HEAD [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ +42 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +13 ms] executing: /work/sdk/android-sdk/platform-tools/adb devices -l [ +51 ms] List of devices attached [ +4 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +200 ms] Generating /tmp/minimal_example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +114 ms] Launching lib/main.dart on Chrome in debug mode... [ +72 ms] Updating assets [ +91 ms] Syncing files to device Chrome... [ +38 ms] Generating /tmp/minimal_example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +24 ms] <- reset [ +7 ms] /work/sdk/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /work/sdk/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /work/sdk/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tools.CITUKD/flutter_tool.MFOUXD/app.dill --libraries-spec file:///work/sdk/flutter/bin/cache/flutter_web_sdk/libraries.json --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.CITUKD/flutter_tools.UHOPJG --filesystem-scheme org-dartlang-app --initialize-from-dill build/cache.dill.track.dill --platform file:///work/sdk/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill [ +14 ms] <- compile org-dartlang-app:/web_entrypoint.dart [+8021 ms] Syncing files to device Chrome... (completed in 8,097ms, longer than expected) [ ] Synced 23.1MB. [ ] <- accept [ ] Caching compiled dill [ +216 ms] [CHROME]: [ +1 ms] [CHROME]:DevTools listening on ws://127.0.0.1:41451/devtools/browser/2b579610-9989-4ebb-9b7a-47b49f85bcba [+1710 ms] Debug service listening on ws://127.0.0.1:42009/mKZoeTBkzeQ= [ +564 ms] Debug service listening on ws://127.0.0.1:42009/mKZoeTBkzeQ= [ +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't [ ] been thoroughly tested in production environments. [ ] For more information see https://flutter.dev/web [ ] 🔥 To hot restart changes while running, press "r" or "R". [ ] For a more detailed help message, press "h". To quit, press "q". ``` <!-- Run `flutter analyze` and attach any output of that command below. If there are any analysis errors, try resolving them before filing this issue. --> ``` $ flutter analyze Analyzing minimal_example... No issues found! (ran in 2.1s) ``` <!-- Finally, paste the output of running `flutter doctor -v` here. --> ``` $ flutter doctor -v [✓] Flutter (Channel master, 1.20.0-1.0.pre.29, on Linux, locale en_US.UTF-8) • Flutter version 1.20.0-1.0.pre.29 at /work/sdk/flutter • Framework revision 1d407de925 (19 hours ago), 2020-06-11 19:45:02 -0400 • Engine revision d417772d7a • Dart version 2.9.0 (build 2.9.0-15.0.dev f043f9e5f6) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /work/sdk/android-sdk • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = /work/sdk/android-sdk • Java binary at: /usr/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at google-chrome [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions). [✓] Connected device (2 available) • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.97 ! Doctor found issues in 1 category. ``` </details>
framework,f: material design,has reproducible steps,P2,found in release: 3.7,found in release: 3.10,team-design,triaged-design
low
Critical
637,946,961
material-ui
[Autocomplete] Padding issue with variant="filled" and hiddenLabel
<!-- Provide a general summary of the issue in the Title above --> Related to #21408 ![image](https://user-images.githubusercontent.com/33362998/84537041-a5902700-acb4-11ea-8e4c-b3b4403641e1.png) ![image](https://user-images.githubusercontent.com/33362998/84537071-ad4fcb80-acb4-11ea-8c70-6360e856cfa2.png) <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look like this: [x] --> - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Steps to Reproduce 🕹 <!-- Provide a link to a live example (you can use codesandbox.io) and an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant (which it most likely is). You should use the official codesandbox template as a starting point: https://material-ui.com/r/issue-template If you have an issue concerning TypeScript please start from this TypeScript playground: https://material-ui.com/r/ts-issue-template Issues without some form of live example have a longer response time. --> Steps: 1. https://codesandbox.io/s/lucid-franklin-qf5lc?file=/src/Demo.js
bug 🐛,design: material,waiting for 👍,component: autocomplete
low
Critical
637,955,517
flutter
Upgrade java mockito to 2
https://github.com/flutter/engine/blob/d417772d7acddd447bd503e6cecefec862ab1622/shell/platform/android/embedding_bundle/build.gradle#L59-L59 There's no reason why we should be on 1 still. For instance mockito 1 can't mock final classes.
a: tests,team,platform-android,engine,P2,c: tech-debt,team-android,triaged-android
low
Minor
637,957,888
godot
Right click on script goes into this script
<!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** 3.2.1.stable.official **OS/device including version:** Windows 10 Home 1909 **Issue description:** I don't know if it is a bug or rather a proposal. If you're in the scripts tab and have 2 (or more) scripts open and you right click a script that isn't the current script, it opens it. **Steps to reproduce:** Create 2 scripts. Right click the other script. **Minimal reproduction project:**
discussion,topic:editor
low
Critical
637,960,737
next.js
[with-firebase-authentication] Can't use Firebase Admin SDK for anything other than verifying the token
# Bug report ## Describe the bug There's a problem with the credential in initializing the firebase admin app. It works perfectly with admin.verifyToken, but any other method I try to use yields an error of `Error: Credential implementation provided to initializeApp() via the "credential" property failed to fetch a valid Google OAuth2 access token with the following error: "Error fetching access token: invalid_grant (Invalid grant: account not found)". There are two likely causes: (1) your server time is not properly synced or (2) your certificate key file has been revoked. To solve (1), re-sync the time on your server. To solve (2), make sure the key ID for your key file is still present at https://console.firebase.google.com/iam-admin/serviceaccounts/project. If not, generate a new key file at https://console.firebase.google.com/project/_/settings/serviceaccounts/adminsdk.` I've tried everything. Is there no way to use the firebase admin SDK with anything else in NextJS? ## To Reproduce firebaseAdmin.js import * as admin from 'firebase-admin' export const createUser = (email) => { const firebasePrivateKey = process.env.FIREBASE_PRIVATE_KEY if (!admin.apps.length) { admin.initializeApp({ credential: admin.credential.cert({ projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID, clientEmail: process.env.FIREBASE_CLIENT_EMAIL, // https://stackoverflow.com/a/41044630/1332513 privateKey: firebasePrivateKey.replace(/\\n/g, '\n'), }), databaseURL: process.env.NEXT_PUBLIC_FIREBASE_DATABASE_URL, }) } return admin.auth().createUser({ email: '[email protected]', password: 'password' }) } export const verifyIdToken = (token) => { const firebasePrivateKey = process.env.FIREBASE_PRIVATE_KEY if (!admin.apps.length) { admin.initializeApp({ credential: admin.credential.cert({ projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID, clientEmail: process.env.FIREBASE_CLIENT_EMAIL, // https://stackoverflow.com/a/41044630/1332513 privateKey: firebasePrivateKey.replace(/\\n/g, '\n'), }), databaseURL: process.env.NEXT_PUBLIC_FIREBASE_DATABASE_URL, }) } return admin .auth() .verifyIdToken(token) .catch((error) => { throw error }) } Try to run createUser from an API endpoint ## Expected behavior It should just work. I need a custom flow for creating my users. ## System information - Mac.OS - Node '12.16.1' - NextJS - latest
good first issue,examples
low
Critical
637,975,239
TypeScript
Missing excess property error for discriminated union
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** 3.9.5 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** **Code** ```ts type Params = ({ shouldApplyStyles?: true } | { shouldApplyStyles: false }) & ( | { internal: false; } | { internal: true; internalProp: string; } ); declare const fn: (params: Params) => void; fn({ internal: false, internalProp: 'foo', // ✅ Errors as expected shouldApplyStyles: true, }); fn({ internal: false, internalProp: 'foo', // ✅ Errors as expected shouldApplyStyles: false, }); fn({ internal: false, internalProp: 'foo', // ✅ Errors as expected shouldApplyStyles: undefined, }); fn({ internal: false, internalProp: 'foo', // Expected error but got none ❌ }); ``` **Expected behavior:** See code comments **Actual behavior:** See code comments **Playground Link:** [Link](https://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=31&pc=1#code/C4TwDgpgBACghgJzgWwM5QLxQBQG8qoAWA9gK4A2AJgIJhjkgDKo5EqA-AFxTAKnQBfKAB8o+ImSq16TFm24AzOOVSCAlFABkAKCh6cu-UdG5DR8-oCWAO2AQE15YuWqA3GYtQBH42J+e9GzsHJx4+CHcAiyD7R3IYBGIwblReGwBzSKjvIzV3bUoIAGNyRGgi4mtUqAVrbmwwRBRUbngkNA0MAD4oADdiS0p82rwPGJDyZxUIABox21jlBKTuAHIFYmJVmagAel2oQFByKABRBESEdDh0CAAPSCK7Sg8JCho6BmYQVhaw-jmBHltCNTEZxnEpqo5mCFhNlskoOtNts9gdjmcLlcbvdik8XiQ3tJPnJfkppgCgSD5sEITUXLNqYt4okEUitjt9kdTudiJcoNcoHcHnijK8pB9ZN95FBSNZCgobBBKBT3FSYTTQmSoYy4Sy1ht2ajTjjHkrBTyEFAAEakYBQdLEO3WSrQQAy5NpAe4gA) **Related Issues:** - https://github.com/Microsoft/TypeScript/issues/30631 - https://github.com/microsoft/TypeScript/issues/20863 - https://stackoverflow.com/questions/52677576/typescript-discriminated-union-allows-invalid-state/52678379#52678379 I looked at https://github.com/microsoft/TypeScript/issues/20863 but I don't think this is exactly the same, because in this case we have a tagged aka discriminated union, whereas that issue describes behaviour for unions without tags aka discriminant properties.
Bug
low
Critical
637,983,636
pytorch
Different max_pool2d cpp signatures due to indices.
We currently have two cpp signatures for `max_pool2d` in cpp: ``` max_pool2d(Tensor self, int[2] kernel_size, int[2] stride=[], int[2] padding=0, int[2] dilation=1, bool ceil_mode=False) -> Tensor max_pool2d_with_indices(Tensor self, int[2] kernel_size, int[2] stride=[], int[2] padding=0, int[2] dilation=1, bool ceil_mode=False) -> (Tensor, Tensor) ``` And to handle these we have this weird dispatch in our python code to make it compatible with torchscript: https://github.com/pytorch/pytorch/blob/master/torch/nn/functional.py#L578 In cpp land we always call the with_indices version even when we don't return them for max_pool2d (backward uses it). I wonder is it a better we just break BC and have one single API looks like ``` max_pool2d(Tensor self, int[2] kernel_size, int[2] stride=[], int[2] padding=0, int[2] dilation=1, bool ceil_mode=False, bool return_indices=false) -> (Tensor, Tensor) ``` We currently do this trick to a few more ops so it'll be great to have a solution to for this. From @dzhulgakov : the proper composibility fix for it is to have "hidden outputs for backward" that don't get exposed in user API but get recorded by autograd::Function From @ngimel : Hidden outputs for backward already exist at the user level (maxpool, *norm etc don't have user-facing indices/means/ etc). But implementations still produce them, and figuring out how not to do it if not needed is important From @ailzhang: short term XLA will have to use `XLAPreautograd` key to register both fwd + bwd to avoid materializing indices when it's not needed. We should move back to a normal registration once we have a solution for this.
triaged,better-engineering,module: pooling
low
Minor
638,029,566
kubernetes
Security contacts for api not specified or out of date
The purpose of the `SECURITY_CONTACTS` file for each Kubernetes repository is to provide a list of people who can assist the Kubernetes [Product Security Committe](https://github.com/kubernetes/community/tree/master/committee-product-security) in the event that a security issue related to the repository is discovered or disclosed. As described in the file, those on the list should agree to our [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy). Please update the [`/staging/src/k8s.io/api/SECURITY_CONTACTS`](/kubernetes/kubernetes/blob/master/staging/src/k8s.io/api/SECURITY_CONTACTS) file for the api repository. After finding people who are willing to work in this capacity, you should add them to the list, then remove PSC members (except any PSC member will be working as a security contact for this repository). The list is GitHub usernames, optionally followed by an email address. If no email address is listed, the PSC will use the email address found on git commits made by the listed user. The file may already have people listed who are secuirty contacts. In that case, simply remove any PSC members who aren't also security contacts for the repo. See https://github.com/kubernetes/security/issues/92 for more information /area security /committee product-security /kind cleanup /lifecycle frozen /priority important-soon
priority/important-soon,area/security,kind/cleanup,lifecycle/frozen,committee/security-response
low
Minor
638,031,818
kubernetes
Security contacts for cri-api not specified or out of date
The purpose of the `SECURITY_CONTACTS` file for each Kubernetes repository is to provide a list of people who can assist the Kubernetes [Product Security Committe](https://github.com/kubernetes/community/tree/master/committee-product-security) in the event that a security issue related to the repository is discovered or disclosed. As described in the file, those on the list should agree to our [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy). Please update the [`/staging/src/k8s.io/cri-api/SECURITY_CONTACTS`](/kubernetes/kubernetes/blob/master/staging/src/k8s.io/cri-api/SECURITY_CONTACTS) file for the cri-api repository. After finding people who are willing to work in this capacity, you should add them to the list, then remove PSC members (except any PSC member will be working as a security contact for this repository). The list is GitHub usernames, optionally followed by an email address. If no email address is listed, the PSC will use the email address found on git commits made by the listed user. The file may already have people listed who are secuirty contacts. In that case, simply remove any PSC members who aren't also security contacts for the repo. See https://github.com/kubernetes/security/issues/92 for more information /area security /committee product-security /kind cleanup /lifecycle frozen /priority important-soon /sig node
priority/important-soon,area/security,kind/cleanup,sig/node,lifecycle/frozen,committee/security-response,needs-triage
low
Major
638,032,153
kubernetes
Security contacts for csi-translation-lib not specified or out of date
The purpose of the `SECURITY_CONTACTS` file for each Kubernetes repository is to provide a list of people who can assist the Kubernetes [Product Security Committe](https://github.com/kubernetes/community/tree/master/committee-product-security) in the event that a security issue related to the repository is discovered or disclosed. As described in the file, those on the list should agree to our [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy). Please update the [`/staging/src/k8s.io/csi-translation-lib/SECURITY_CONTACTS`](/kubernetes/kubernetes/blob/master/staging/src/k8s.io/csi-translation-lib/SECURITY_CONTACTS) file for the csi-translation-lib repository. After finding people who are willing to work in this capacity, you should add them to the list, then remove PSC members (except any PSC member will be working as a security contact for this repository). The list is GitHub usernames, optionally followed by an email address. If no email address is listed, the PSC will use the email address found on git commits made by the listed user. The file may already have people listed who are secuirty contacts. In that case, simply remove any PSC members who aren't also security contacts for the repo. See https://github.com/kubernetes/security/issues/92 for more information /area security /committee product-security /kind cleanup /lifecycle frozen /priority important-soon
priority/important-soon,area/security,kind/cleanup,lifecycle/frozen,committee/security-response
low
Minor
638,032,734
kubernetes
Security contacts for kube-controller-manager not specified or out of date
The purpose of the `SECURITY_CONTACTS` file for each Kubernetes repository is to provide a list of people who can assist the Kubernetes [Product Security Committe](https://github.com/kubernetes/community/tree/master/committee-product-security) in the event that a security issue related to the repository is discovered or disclosed. As described in the file, those on the list should agree to our [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy). Please update the [`/staging/src/k8s.io/kube-controller-manager/SECURITY_CONTACTS`](/kubernetes/kubernetes/blob/master/staging/src/k8s.io/kube-controller-manager/SECURITY_CONTACTS) file for the kube-controller-manager repository. After finding people who are willing to work in this capacity, you should add them to the list, then remove PSC members (except any PSC member will be working as a security contact for this repository). The list is GitHub usernames, optionally followed by an email address. If no email address is listed, the PSC will use the email address found on git commits made by the listed user. The file may already have people listed who are secuirty contacts. In that case, simply remove any PSC members who aren't also security contacts for the repo. See https://github.com/kubernetes/security/issues/92 for more information /area security /committee product-security /kind cleanup /lifecycle frozen /priority important-soon
priority/important-soon,area/security,kind/cleanup,lifecycle/frozen,committee/security-response
low
Minor
638,033,030
kubernetes
Security contacts for kubelet not specified or out of date
The purpose of the `SECURITY_CONTACTS` file for each Kubernetes repository is to provide a list of people who can assist the Kubernetes [Product Security Committe](https://github.com/kubernetes/community/tree/master/committee-product-security) in the event that a security issue related to the repository is discovered or disclosed. As described in the file, those on the list should agree to our [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy). Please update the [`/staging/src/k8s.io/kubelet/SECURITY_CONTACTS`](/kubernetes/kubernetes/blob/master/staging/src/k8s.io/kubelet/SECURITY_CONTACTS) file for the kubelet repository. After finding people who are willing to work in this capacity, you should add them to the list, then remove PSC members (except any PSC member will be working as a security contact for this repository). The list is GitHub usernames, optionally followed by an email address. If no email address is listed, the PSC will use the email address found on git commits made by the listed user. The file may already have people listed who are secuirty contacts. In that case, simply remove any PSC members who aren't also security contacts for the repo. See https://github.com/kubernetes/security/issues/92 for more information /area security /committee product-security /kind cleanup /lifecycle frozen /priority important-soon
priority/important-soon,area/security,kind/cleanup,lifecycle/frozen,committee/security-response
low
Minor
638,033,630
kubernetes
Security contacts for kube-scheduler not specified or out of date
The purpose of the `SECURITY_CONTACTS` file for each Kubernetes repository is to provide a list of people who can assist the Kubernetes [Product Security Committe](https://github.com/kubernetes/community/tree/master/committee-product-security) in the event that a security issue related to the repository is discovered or disclosed. As described in the file, those on the list should agree to our [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy). Please update the [`/staging/src/k8s.io/kube-scheduler/SECURITY_CONTACTS`](/kubernetes/kubernetes/blob/master/staging/src/k8s.io/kube-scheduler/SECURITY_CONTACTS) file for the kube-scheduler repository. After finding people who are willing to work in this capacity, you should add them to the list, then remove PSC members (except any PSC member will be working as a security contact for this repository). The list is GitHub usernames, optionally followed by an email address. If no email address is listed, the PSC will use the email address found on git commits made by the listed user. The file may already have people listed who are secuirty contacts. In that case, simply remove any PSC members who aren't also security contacts for the repo. See https://github.com/kubernetes/security/issues/92 for more information /area security /committee product-security /kind cleanup /lifecycle frozen /priority important-soon
priority/important-soon,area/security,kind/cleanup,lifecycle/frozen,committee/security-response
low
Minor