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
501,425,924
flutter
Text not rendered in snapshot test
I am having problems with snapshot testing. My text is not rendered. When I run the app itself everything works perfectly. ``` void main() { testWidgets('Test an account Overview Item', (tester) async { await tester.pumpWidget(TestWrapper()); await tester.pumpAndSettle(); await expectLater( find.byType(RepaintBoundary), matchesGoldenFile('account_overview_item_default2.png'), ); }); } import 'package:flutter/material.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:app/util/locale/localization.dart'; import 'package:app/util/locale/localization_delegate.dart'; import 'package:app/util/locale/localization_fallback_cupertino_delegate.dart'; class TestWrapper extends StatelessWidget { @override Widget build(BuildContext context) { const locale = Locale('en'); return Localizations( locale: locale, delegates: [ LocalizationDelegate(newLocale: locale), GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, FallbackCupertinoLocalisationsDelegate.delegate, ], child: RepaintBoundary(child: LayoutBuilder(builder: (context, constraints) => Text(Localization.of(context).welcomeMessage))), ); } } ``` ![image](https://user-images.githubusercontent.com/21172855/66039981-9a2a1080-e516-11e9-88a9-38479c4a0594.png) ``` [βœ“] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.15 19A536g, locale en-BE) β€’ Flutter version 1.9.1+hotfix.2 at /Users/vanlooverenkoen/flutter β€’ Framework revision 2d2a1ffec9 (4 weeks ago), 2019-09-06 18:39:49 -0700 β€’ Engine revision b863200c37 β€’ Dart version 2.5.0 [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.1) β€’ Android SDK at /Users/vanlooverenkoen/Library/Android/sdk β€’ Android NDK location not configured (optional; useful for native profiling support) β€’ Platform android-29, build-tools 29.0.1 β€’ Java binary at: /Applications/Android Studio.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.0) β€’ Xcode at /Applications/Xcode-beta.app/Contents/Developer β€’ Xcode 11.0, Build version 11M382q β€’ CocoaPods version 1.7.5 [βœ“] Android Studio (version 3.5) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin version 39.0.3 β€’ Dart plugin version 191.8423 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [!] VS Code (version 1.38.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents βœ— Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [βœ“] Connected device (1 available) β€’ iPhone Xs Max β€’ 227BD263-CF94-4580-99FC-2C8A9CABBBDD β€’ ios β€’ com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator) ```
a: tests,framework,d: api docs,P2,team-framework,triaged-framework
low
Major
501,439,297
bitcoin
contrib: makeseeds.py improvements
Some suggestions for improvements, or at least for discussion between major releases: - [x] Read [suspicious hosts](https://github.com/bitcoin/bitcoin/pull/16999#issuecomment-536869449) from a file (done in #17823, removed completely in #24862) - [x] [Determinism](https://github.com/bitcoin/bitcoin/pull/16999#issuecomment-537070141) could be improved (this is useful for cross-checking) - [x] Read ASNs from a file (Done in #24864) - [x] Per-ASN limit [isn't consistently enforced?](https://github.com/bitcoin/bitcoin/pull/16999#issuecomment-537173086) - [x] [A max of 2 seeds per ASN seems a bit strict](https://github.com/bitcoin/bitcoin/pull/16999#issuecomment-536999544) at lest for IPv6 (done in #24818) - [x] [Should we bump MIN_BLOCKS?](https://github.com/bitcoin/bitcoin/pull/16999#issuecomment-536999544) (done in #24818) - [x] Some [typos](https://github.com/bitcoin/bitcoin/pull/16999#pullrequestreview-295794240) in the comments - [x] Handle and hardcode TorV3 peers (after #19954), see #20239 - [ ] Bring back onion functionality past TorV3 switch - [ ] We need a source of non-hardcoded V3 peers, currently the only ones are hardcoded and the seeder hasn't been updated to crawl v3 nodes yet (see sipa/bitcoin-seeder#92) - [ ] Consider increasing uptime requirements for Tor nodes from 10% as there [appear to be enough](#issuecomment-718622693) #7398 was a previous attempt to improve this script, but was abandoned, maybe some changes are useful.
P2P,Scripts and tools,good first issue
medium
Minor
501,555,165
godot
Unrecoverable renaming error (without manual file edition)
**Godot version:** branch master, commit bf8322376c97eee0f2ce25737c959bc33b945e60 **OS/device including version:** Linux Mint 18.2 cinnamon 64bits **Issue description:** After an error of renaming in the editor, scene can not be opened anymore. **Steps to reproduce:** - in a scene, append another scene (via the file panel). - in the file editor, rightclick on the imported scene and rename; - during renaming, do not respect extension convention; - confirm, close the main scene (if opened) and try to open it again => editor will refuse to load it and returns a **!sdata.is_valid()** error - the renamed file also disappears from the file panel In the main scene .tscn, i found this: ``` [ext_resource path="res://models/chair_tube.-eggtscn" type="PackedScene" id=3] ``` To fix: open the .tscn in a texteditor and make the extension and path right manually, save and re-open in the editor. suggestions: - propose a "view all" in the file panel to see hidden file -> also usefull when storing data on drive in custom file format - in the right-click of the file panel, propose a "edit in text editor", as the editor already integrate a text editor! It's not a critical issue for me but might be super annoying for noobs or people without programming reflexs. All the best, godot rocks
bug,topic:editor,confirmed
low
Critical
501,557,588
vue
transitions with appear should be SSR with the "-enter" class
### Version 2.6.10 ### Reproduction link ```sh mkdir vue-bug-repo yarn init -y yarn add vue vue-server-renderer ``` ```js // Step 1: Create a Vue instance const Vue = require('vue') const app = new Vue({ data: () => ({ show: true }), template: `<div> <transition appear name="fade"> <p v-if="show"> Hello World </p> </transition> </div>` }) // Step 2: Create a renderer const renderer = require('vue-server-renderer').createRenderer() renderer.renderToString(app).then(html => { console.log(html) }).catch(err => { console.error(err) }) ``` ### Steps to reproduce - `node index.js` ### What is expected? The server response should contain the `*enter` classes applied to the transitioning element. The `*active` classes should then be applied during the `hydration` so that the transition can appear smoothly. ### What is actually happening? The element is first displayed, as if there were no transitions. Then then entire animation starts, causing wired animations. <!-- generated by vue-issues. DO NOT REMOVE -->
transition
low
Critical
501,558,994
TypeScript
If all values used in a template literal have a literal type, then the template should have a literal type
<!-- 🚨 STOP 🚨 𝗦𝗧𝗒𝗣 🚨 𝑺𝑻𝑢𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ --> ## Search Terms template string, string literal, template string literal, cast template string as literal ## Suggestion It seems all template strings are widened to type `string`; however, when all the variables used inside a template string have literal types, it would be nice if the resulting string also had a literal type. ## Use Cases I maintain a library, and I'd like it if templated strings for CSS properties like box shadow would show up for my dev users in intellisense, instead of just "string". Here's a screenshot showing the current behavior: ![image](https://user-images.githubusercontent.com/45078010/66056784-a9549280-e505-11e9-99cf-686700cb895c.png) It would be very useful if `readonly boxShadow` and `readonly border` had literal types instead of a generic string type, to inform my devs what value is passed. ## Examples ```javascript const elementColors = { ... globalFocus: '#ff0000', ... } as const const widths = { ... default: 4, ... } as const const shadow = { default: { boxShadow: boxShadow: `${ elementColors.globalFocus } 0 0 0 ${ width.default }px`, }, ... } as const ``` In the above, `typeof elementColors.globalFocus === '#ff0000'` and `typeof width.default === 4`, but `typeof shadow.default.boxShadow === string`. All of the parts used to create the template have literal types, so why doesn't the resulting string have a literal type? TypeScript should be able to infer that only a single possible value is valid for this. `typeof shadow.default.boxShadow` should equal `'#ff0000 0 0 0 4px'`. ## Checklist My suggestion meets these guidelines: * [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code * could be breaking for people who rely on templates having type string vs a literal type * [x] This wouldn't change the runtime behavior of existing JavaScript code * [x] This could be implemented without emitting different JS based on the types of the expressions * [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) * [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Suggestion,In Discussion
low
Critical
501,560,367
rust
wrap llvm messages
When using `-Cpasses=lint`, llvm prints its messages directly into stderr ```` Compiling smallvec v0.6.10 Compiling syn v1.0.5 Unusual: unreachable immediately preceded by instruction without side effects unreachable, !dbg !113 Unusual: unreachable immediately preceded by instruction without side effects unreachable, !dbg !113 Unusual: unreachable immediately preceded by instruction without side effects unreachable, !dbg !113 Compiling bitflags v1.2.0 ```` I wonder if we could wrap them so that it is easier to figure out that they are coming from llvm when parsing cargo/rustc output. `LLVM lint-pass: Unusual: unreachable...`
A-LLVM,C-enhancement,A-diagnostics,T-compiler
low
Minor
501,561,007
scrcpy
Chrome on Android 10 won't work if screen is off.
I actually imagine this is likely Chrome's fault, from recent updates, but leaving info here in case: Pixel 2 XL, Android 10. Chrome and Chrome Beta will not work correctly if using scrcpy 1.10 on Windows 10, and I've turned the phone display off. Both versions of Chrome will stop rendering tabs usually. If they do manage to render a tab, it may not scroll properly, or will completely freeze and the app has to be force closed. If I clear all storage/cache for them, they will usually open correctly again, but only after the first load. I have observed this behavior both when using CTRL+O to turn the screen off, and when launching scrcpy-noconsole with -S
screenoff
low
Major
501,572,406
pytorch
pytorch data_parallel oom on gpu:0
I try espnet(https://github.com/espnet/espnet) with pytorch(1.0.1.post2), the data_parallel interface is used as follows, however the GPU memory usage on gpu:0 gradually increases and finally OOM, I do not know what causes the problem, so I ask for help here. The revelant issue for espnet is here: https://github.com/espnet/espnet/issues/1225, the authors say they have no problem, but I just get stuck here. V100 16GB is used, cuda 10 and cudnn 7.4.2 is used. the code from espnet/asr/pytorch_backend/asr.py: train_iter = self.get_iterator('main') optimizer = self.get_optimizer('main') # Get the next batch ( a list of json files) batch = train_iter.next() # self.iteration += 1 # Increase may result in early report, which is done in other place automatically. x = self.converter(batch, self.device) # Compute the loss at this time step and accumulate it if self.ngpu == 0: loss = self.model(*x).mean() / self.accum_grad else: # apex does not support torch.nn.DataParallel loss = data_parallel(self.model, x, range(self.ngpu)).mean() / self.accum_grad if self.use_apex: from apex import amp # NOTE: for a compatibility with noam optimizer opt = optimizer.optimizer if hasattr(optimizer, "optimizer") else optimizer with amp.scale_loss(loss, opt) as scaled_loss: scaled_loss.backward() else: loss.backward() # gradient noise injection if self.grad_noise: from espnet.asr.asr_utils import add_gradient_noise add_gradient_noise(self.model, self.iteration, duration=100, eta=1.0, scale_factor=0.55) loss.detach() # Truncate the graph # update parameters self.forward_count += 1 if self.forward_count != self.accum_grad: return self.forward_count = 0 # compute the gradient norm to check if it is normal or not grad_norm = torch.nn.utils.clip_grad_norm_( self.model.parameters(), self.grad_clip_threshold) logging.info('grad norm={}'.format(grad_norm)) if math.isnan(grad_norm): logging.warning('grad norm is nan. Do not update model.') else: optimizer.step() optimizer.zero_grad()
module: memory usage,triaged,module: data parallel
low
Minor
501,649,458
TypeScript
Object with keys named after variables using [myVar] syntax breaks symbol lookup in TS 3.7.0-dev.20191002
**TypeScript Version:** 3.7.0-dev.20191002 **Search Terms:** object keys key symbols found **Code** Open `Go to symbol in file` (or equivalent) for: ```ts const foo = 'foo' const bar = 'bar' const obj = { [foo]: 'foo-value', [bar]: 'bar-value' }; ``` **Expected behavior:** - foo - bar - obj **Actual behavior:** "No symbols found". Commenting one of the `[...]: '...'` lines fixes the issue. Here's a screencast with 3.7.0-dev.20191002 in VSCode 1.39.0-insider 695ee74864ef93d10f5de0861cb66af190e76211 / 2019-10-02T08:56:32.907Z ![gotosymbol-broken-ts37](https://user-images.githubusercontent.com/522085/66070606-a23a7e00-e51f-11e9-8a79-8d39ad825671.gif) **Regression window:** Somewhere in 3.7.0-dev. 3.6.3 bundled with VSCode works fine. **Playground Link:** none, I wouldn't know how to trigger symbols listing there **Related Issues:** none that I found
Bug,Rescheduled
low
Critical
501,679,719
rust
Suggest .err().expect() if .expect_err() is not implemented
If `T` in `Result<T, _>` is not `fmt::Debug`, the following will fail to compile. The compiler rightfully blames `fmt::Debug` not being implemented for `Result<Foo, ()>`. ```rust struct Foo; Result::<Foo, _>::Err(()).expect_err("Foo!"); ``` However, users may get stuck if they can't - for whatever reason - add `fmt::Debug`. A simple workaround is ```rust Result::<Foo, _>::Err(()).err().expect("Foo!"); ``` which has a somewhat degraded error message in the panic case, yet does what it's being asked for. Maybe the compiler could suggest that?
C-enhancement,T-compiler,A-suggestion-diagnostics,A-result-option
low
Critical
501,697,344
flutter
TextStyleTween has unexpected lerping behavior for underlines
When TextStyleTween is lerping between two TextStyles, one with and the other one without an underline, I expect it to provide fading transition on the underline. Currently, the underline suddenly appears/disappears in the middle of transition. ## Steps to Reproduce 1. Define two text styles one with an underline and another one without an underline. You can use these samples that I'm actually using in my app: ``` static const sectionCurrent = TextStyle( color: ConstantColors.lightIndigo, fontFamily: ConstantFontFamilies.brandonTextBlack, letterSpacing: 0.5, fontSize: 13.0, decoration: TextDecoration.underline, ); static const sectionFuture = TextStyle( color: ConstantColors.dusk50, fontFamily: ConstantFontFamilies.brandonTextBlack, letterSpacing: 0.5, fontSize: 13.0, ); ``` 2. Define a TextStyleTween for lerping between these two text styles. 3. Try lerping with different values and see that the underline appears/disappears suddenly in transitions instead of fading in/out. ## Flutter Doctor ``` [βœ“] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-US) β€’ Flutter version 1.9.1+hotfix.2 at /Users/behnam/dev/tools/flutter β€’ Framework revision 2d2a1ffec9 (4 weeks ago), 2019-09-06 18:39:49 -0700 β€’ Engine revision b863200c37 β€’ Dart version 2.5.0 [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.1) β€’ Android SDK at /Users/behnam/Library/Android/sdk β€’ Android NDK location not configured (optional; useful for native profiling support) β€’ Platform android-29, build-tools 29.0.1 β€’ 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.0) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Xcode 11.0, Build version 11A420a β€’ CocoaPods version 1.7.4 [βœ“] Android Studio (version 3.4) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin version 37.0.1 β€’ Dart plugin version 183.6270 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01) [βœ“] VS Code (version 1.38.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.4.1 ``` ## Example Output Here is an actual recording showing the issue: ![](https://im3.ezgif.com/tmp/ezgif-3-92faa3e6dd32.gif)
c: new feature,framework,P2,team-framework,triaged-framework
low
Major
501,712,291
flutter
Test external texture support using the Embedder unittests harness.
There are currently not tests for this in either the embedder or shell unittests target. Not that both support OpenGL via SwiftShader, the requisite tests must be added.
a: tests,engine,e: embedder,P2,team-engine,triaged-engine
low
Minor
501,716,097
flutter
Measure flutter tools memory usage
Developers have complained that our tools or IDEs drain their host machine memory. Our first step will be to measure the memory usage in our controlled lab environment to have a sense of the minimum memory needed to build and run a Flutter app. Here's some draft drawings of what we'd like to measure: ![IMG_20191002_104856](https://user-images.githubusercontent.com/22987568/66080246-8ed8e400-e51a-11e9-8e8c-62cbcd16cf20.jpg)
c: new feature,team,tool,c: performance,perf: memory,P3,team-tool,triaged-tool
low
Major
501,749,413
react
Add DevTools visualization for SSR hydration
This feature relates to several new React APIs: concurrent mode, suspense, and server rendering / hydration # Background info When hydrating server-rendered content, React starts working on the outermost Suspense boundary and works its way in. During hydration, the server rendered HTML isn't interactive. React records events to replay them once content becomes interactive- (but that doesn't actually happen until React finishes work on the nearest boundary and commits it). React may also reprioritize the order in which boundaries are processed (so that boundaries with pending events get processed sooner). This general process can be hard to reason about and debug, because much of it is not observable visually (beyond some interactions potentially feeling more laggy than expected). DevTools already provides some visual overlays (e.g. which elements were rendered by the currently selected Component, ["highlight updates"](https://github.com/facebook/react/pull/16989)). Perhaps DevTools could help here too by visualizing which boundaries in the tree have been hydrated. # Visualizing hydration progress 1. When React begins hydrating a new root<sup>1</sup> DevTools will show a visual overlay<sup>2</sup> that covers the entire DOM element container. 1. As React hydrates and commits each new level of Suspense boundaries, DevTools will draw the overlay to only cover the not-yet-hydrated boundaries. 1. Once hydration is completed, all overlays will be cleared<sup>3</sup>. This feature would be opt-in via a new DevTools setting. <sup>1</sup> This suggests a new React-to-DevTools hook to inform DevTools when hydration starts. <sup>2</sup> This overlay would nee to be designed. Perhaps some combination of semi-transparent with stripes or bars so that it is high contrast enough to be seen. <sup>3</sup> Because the data required to draw these overlays is essentially just a timestamp and a set of rects, some form of replay might be a nice addition. # Special cases It could be helpful to highlight a couple of special cases by temporarily showing a different style overlay: * **Client rendered content inside of a server rendered fallback.** ([This case.](https://github.com/facebook/react/blob/bb680a09052b5af6543daf28bfcc3283bbc35cf9/packages/react-reconciler/src/ReactFiberBeginWork.js#L2030-L2039)) In some cases, the server rendered content may be a forced fallback that gets filled in with client rendered content. * **React can't complete hydration fast enough to process a client-side update.** ([This case.](https://github.com/facebook/react/blob/bb680a09052b5af6543daf28bfcc3283bbc35cf9/packages/react-reconciler/src/ReactFiberBeginWork.js#L2064-L2074)) In this case, React ends up deleting the server-rendered content and replacing it with client rendered content. For example, a layout effect may set state on an ancestor that updates context. This update is synchronous (because it comes from within a layout effect) so it immediately expires. I don't know if the above cases can be reliably detected by DevTools at present. They may require additional information (or an additional React-to-DevTools hook). The following case does **not** need to be highlighted because it is not a deopt: * **Server rendered content removed before hydration.** In some cases, server rendered content is thrown away before hydration completes because of a user interaction. For example, if the user navigates to a new page before the initial page has finished hydrating.
Component: Developer Tools,React Core Team
low
Critical
501,780,794
rust
The `rustc_query_impl` crate is too big, which hurts compile times for the compiler itself
EDIT(Centril): The crate was renamed to `rustc_middle` in https://github.com/rust-lang/rust/pull/70536. EDIT(jyn514): Most of rustc_middle was split into `rustc_query_impl` in https://github.com/rust-lang/rust/pull/70951. The [results](http://gistpreview.github.io/?74d799739504232991c49607d5ce748a) from @ehuss's new `cargo -Ztimings` feature really drive home how the size of the `rustc` crate hurts compile times for the compiler. Here's a picture: ![a](https://user-images.githubusercontent.com/1940286/66088923-64d9fd00-e5c0-11e9-9b9d-5508ace23331.jpeg) Things to note. - The `rustc` crate takes about twice as long to compile as the `rustc_mir` crate, which is the second-biggest crate. - Sixteen dependent crates start and finish their entire compilation while the `rustc` crate's codegen is happening. (Thank goodness for pipelining, it really makes a difference in this case.) - Almost 1/3 of the total build time occurs while building the `rustc` crate without anything else happening in parallel (from 42-67s, and from 141-174s). Also, even doing `check` builds on `rustc` code is painful. On my fast 28-core Linux box it takes 10-15 seconds even for the first compile error to come up. This is much longer than other crates. Refactorings within the `rustc` crate that require many edit/compile cycles are painful. I've been told that `rustc` is quite tangled and splitting it up could be difficult. That may well be true. The good news is that the picture shows we don't need to split it into 10 equal-sized pieces to get benefits. Even splitting off small chunks into separate crates will have an outsized effect on compilation times.
C-enhancement,I-compiletime,T-compiler,A-contributor-roadblock,A-query-system
medium
Critical
501,830,732
godot
.vs Visual Script file corrupting to RSCC
___ ***Bugsquad note:** This issue has been confirmed several times already. No need to confirm it further.* ___ **Godot version:** 3.1.1 and 3.2 **OS/device including version:** Windows 10 and Mac OS 10.14.6 **Issue description:** Visual Script files are becoming corrupted and the data disappears. This is bad because you lose your entire visual graph and there is no way to get it back. What happens is that when you open up one of the corrupted files a blank .vs file opens at the top of the list and the file itself opens in the code editor and just says "RSCC." **Steps to reproduce:** I am not sure exactly how to get the file to this state, but I have attached a minimal project below where there are 2 .vs files that are 1 version off of each other. I use Dropbox and so I can go back every time the file changes. One of the files doesn't corrupt (the one that has (1) at the end) and the other file will corrupt when you open up the file in GODOT. These files are 1 change apart from each other. So what ever I did to corrupt them I did right between. The next file (which I didn't include) is literally just RSCC with no other data in the file. Those 3 files all happened within minutes of each other. I haven't been able to figure out exactly what causes the file to corrupt, but maybe someone smarter than me can see the difference between the two files and figure out what happened. **Minimal reproduction project:** [InfiniteRunner copy.zip](https://github.com/godotengine/godot/files/3684303/InfiniteRunner.copy.zip)
bug,topic:core,confirmed,topic:visualscript,high priority
medium
Critical
501,844,506
node
The differences between http2 compatibility API and http[s]
Thanks to the efforts of making the compatibility API, differences between `http[s]` and `http2` modules seldom annoy developers. But, some http2 compatibility API still behaves differently and lacks some APIs from `http[s]` and it causes breakages to ecosystems for `http[s]`(e.g. https://github.com/expressjs/express/pull/3730). In order to expose the differences, I've been translating test cases for `http[s]` to test cases for `http2` at [my repo](https://github.com/sogaani/http2_compat_tests). The following is a list of the differences currently founded by translated test cases. I'm not sure all the differences have to be fixed. I thought if they should not be fixed, documenting the differences is good for the developer. **Differences between http and http2 compatibility API** - [ ] `http2.Http2ServerRequest` does not have `req.connection.bytesWritten`. test:[parallel/test-http-byteswritten.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-byteswritten.js),[parallel/test-https-byteswritten.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-https-byteswritten.js) - [ ] If `http2.Http2ServerRequest.pause` is called, `http2.Http2ServerRequest.socket` never emit 'data' event. test:[parallel/test-http-dump-req-when-res-ends.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-dump-req-when-res-ends.js) - [ ] `http2.Http2ServerResponse.writeHead` with 'HTTP/1 Connection specific headers'(e.g. "Transfer-Encoding":"chunked") causes error:ERR_HTTP2_INVALID_CONNECTION_HEADERS. test:[parallel/test-http-head-request.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-head-request.js) - [ ] `http2.Http2ServerResponse` does not have `res.writeProcessing`. test:[parallel/test-http-information-processing.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-information-processing.js) - [ ] `http2.Http2ServerResponse.writeHead` with a spaced header name does not cause error. test:[parallel/test-http-invalidheaderfield.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-invalidheaderfield.js) - [ ] `http2.Http2ServerRequest` does not have `req.connection.parser`. test:[parallel/test-http-highwatermark.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-highwatermark.js),[parallel/test-http-server-keepalive-end.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-server-keepalive-end.js) - [ ] `http2.Http2ServerResponse.end` calls callback before satisfying condition of 'finish' events. test:[parallel/test-http-outgoing-finish.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-outgoing-finish.js) - [ ] `http2.Http2ServerResponse.getHeaders` returns headers which is not initialized by `Object.create(null)` test:[parallel/test-http-mutable-headers.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-mutable-headers.js) - [ ] `http2.Http2ServerResponse` does not have `res.writableHighWaterMark`. test:[parallel/test-http-outgoing-properties.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-outgoing-properties.js) related issue:https://github.com/nodejs/node/issues/28969 - [ ] `http2.Http2ServerResponse` does not have `res.writableLength`. test:[parallel/test-http-outgoing-properties.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-outgoing-properties.js) related issue:https://github.com/nodejs/node/issues/28969 - [ ] `http2.Http2ServerResponse` does not have `res.writableFinished`. test:[parallel/test-http-outgoing-writableFinished.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-outgoing-writableFinished.js) related issue:https://github.com/nodejs/node/issues/29230 - [ ] `http2.Http2ServerRequest.headers` returns headers which is initialized by `Object.create(null)` test:[parallel/test-http-raw-headers.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-raw-headers.js) - [ ] `http2.Http2ServerResponse.removeHeader` cannot remove a header nodejs automatically adds(e.g. 'date'). test:[parallel/test-http-remove-header-stays-removed.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-remove-header-stays-removed.js) - [ ] `http2.Http2ServerResponse.write` after `http2.Http2ServerResponse.end` returns `false`. test:[parallel/test-http-res-write-after-end.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-res-write-after-end.js) - [x] `http2.Http2ServerResponse.write` after `http2.Http2ServerResponse.end` does not emmit 'error'. test:[parallel/test-http-res-write-after-end.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-res-write-after-end.js),[parallel/test-http-server-write-after-end.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-server-write-after-end.js) Fixed by https://github.com/nodejs/node/pull/30964 - [ ] `http2.Http2ServerResponse.write` with array input does not cause an error. test:[parallel/test-http-res-write-after-end.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-res-write-after-end.js) - [ ] `http2.Http2ServerResponse.end` with array input does not cause an error. test:[parallel/test-http-res-write-after-end.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-res-write-after-end.js) - [ ] `http2.Http2ServerResponse`'s error code start with 'ERR_HTTP2'. test:[parallel/test-http-response-add-header-after-sent.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-response-add-header-after-sent.js),[parallel/test-http-response-remove-header-after-sent.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-response-remove-header-after-sent.js),[parallel/test-http-response-statuscode.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-response-statuscode.js),[parallel/test-http-write-head.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-write-head.js) - [ ] `http2.Http2ServerResponse.setHeader` and `http2.Http2ServerResponse.writeHead` with multiple value of 'content-length' causes an error. test:[parallel/test-http-response-multi-content-length.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-response-multi-content-length.js) - [ ] `http2.Http2ServerResponse.setHeader` and `http2.Http2ServerResponse.writeHead` with multiple value of 'content-type' or other headers expected single value causes an error. test:[parallel/test-http-response-multiheaders.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-response-multiheaders.js) - [ ] `http2.Http2ServerResponse.writeHead` with invalid character does not cause error. test:[parallel/test-http-response-splitting.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-response-splitting.js) - [ ] `http2.Http2ServerResponse` sending 'Trailer' header without 'transfer encoding: chunked' does not cause error. test:[parallel/test-http-server-de-chunked-trailer.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-server-de-chunked-trailer.js) - [ ] `http2.Http2ServerResponse.writeHead` cannot set multiple value of header with nested array. test:[parallel/test-http-set-cookies.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-set-cookies.js) - [ ] `http2.Http2ServerResponse.setTimeout` does not pass a socket to cb function. test:[parallel/test-http-set-timeout-server.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-set-timeout-server.js) - [ ] `http2.Http2ServerResponse.writeHead` with invalid status message does not cause an error. test:[parallel/test-http-status-reason-invalid-chars.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-status-reason-invalid-chars.js) - [ ] `stream.pipe(http2.Http2ServerResponse)` eventually emmits both 'finish' and 'close' events. test:[parallel/test-http-writable-true-after-close.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-writable-true-after-close.js) - [ ] `http2.Http2ServerResponse.end` does not execute callback when `http2.Http2ServerResponse.end` has already been called. test:[parallel/test-http-outgoing-end-multiple.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-outgoing-end-multiple.js) related PR:https://github.com/nodejs/node/pull/29229 - [ ] After `http2.Http2ServerRequest.connection.setTimeout` is called, 'timeout' event is not emitted. test:[parallel/test-http-set-timeout.js](https://github.com/sogaani/http2_compat_tests/blob/master/test/parallel/test-http-set-timeout.js) - [ ] `http2.Http2ServerResponse.finished` turn true without calling `end`. https://github.com/nodejs/node/pull/24347 - [ ] `http2.Http2ServerResponse.write` throw err when connection is invalid. http1 do nothing then. https://github.com/nodejs/node/issues/29529 - [ ] compat mode `http2.Http2Server` emits `error` when a connection is unexpectedly closed. In that case, `http1.Server` emits `aborted`. https://github.com/nodejs/node/issues/28267 - [ ] `http2.Http2ServerResponse.write(data)` after `http2.Http2ServerResponse.writeHead()` with status 304 or 204 cause error. https://github.com/expressjs/compression/pull/128#issuecomment-527730832
http,https,http2
medium
Critical
501,845,547
rust
Add an unstable 'extra randomization' compile-time flag for hashers
When working on https://github.com/rust-lang/rust/pull/64906, I ran into a latent dependency on the iteration order of a `HashMap`. This resulted in the PR becoming unmergeable - since a `FxHashMap` was being used, the iteration order ended up differing between platforms, which made it impossible to make the tests pass on all platforms. It would be nice to have a way of exposing these kinds of hidden ordering dependencies before they result in blocked PRs. I propose the following: * Add a new feature called `randomize_iteration` to `std` and `fxhash`. When enabled, this feature will cause the iteration order of `iter` and `iter_mut` to be randomized *per call*. * Add a `config.toml` key to enable both of these features. This will allow producing a special build of the compiler that will (hopefully) expose many hidden ordering dependencies. The overhead could be very high, but that shouldn't matter too much - the only purpose of this build would be to run the testsuite. Once std-aware Cargo is fully implement, we could consider making this usable by user-written crates (e.g. allowing people to opt-in to recompiling std in this mode).
A-testsuite,C-enhancement,T-compiler,T-bootstrap,C-feature-request,A-reproducibility
low
Major
501,848,189
pytorch
Add in-place view (view_)
## πŸš€ Feature Add support for an in-place version of the `view` operation called `view_`. ## Motivation Often, view is used to manipulate an existing Tensor in the following way: `x = x.view(...)` Since this is such a standard use case, I think adding a `view_` function is useful: `x.view_(...)` This should be easy for pytorch users to digest, as many other `<func>_` functions exist that are less common that `view`. I apologize if this has been addressed before, but the word `view_` has not yet appeared in an issue. Looking at the current documentation for `view`, I see there may be a potential issue related to calling `contiguous`: > For a tensor to be viewed, the new view size must be compatible with its original size and stride, i.e., each new view dimension must either be a subspace of an original dimension, or only span across original dimensions I am not sure what this means -- is it related to calling `contiguous` after `permute`? Or something that can occur within a single `view` call?
triaged,function request,module: viewing and reshaping
low
Minor
501,905,292
flutter
Document how to use Intl in Flutter (specifying the locale obtained from the widget tree)
<!-- 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 --> I have an app that today supports two languages: - Swedish - English The language support is set up following [this guide](https://flutter.dev/docs/development/accessibility-and-localization/internationalization) The app has a LicensePage which previously had the same error as in #40353 and #28456 i.e. the LicencePage overrides the system locale. Not modifying the global `Intl.defaultLocale` solved this issue. Meaning implementing the changes recommended in [this PR](https://github.com/flutter/website/pull/3013/files) Now I have another issue which causes the numbers and dates not to be formatted using the system locale (which it did before when i modified the the global `Intl.defaultLocale`). The rest of the app is translated correctly. And if I modify `Intl.defaultLocale` the dates and numbers are formatted correctly as well (until i open the LicensePage). ## Steps to Reproduce <!-- Please tell us exactly how to reproduce the problem you are running into. Please attach a small application (ideally just one main.dart file) that reproduces the problem. You could use https://gist.github.com/ for this. If the problem is with your application's rendering, then please attach a screenshot and explain what the problem is. --> 1. Create an app supporting two languages (Swedish and English) following [this guide](https://flutter.dev/docs/development/accessibility-and-localization/internationalization) using the intl package 2. Set the device language to Swedish 3. Call DateFormat i.e. ``` import 'package:intl/intl.dart'; final date = DateTime.now() DateFormat('dd MMM HH:mm').format(date.toLocal()) ``` I would expect this to show the text in swedish in the local time zone. ## Logs <!-- 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. --> <!-- Run `flutter analyze` and attach any output of that command below. If there are any analysis errors, try resolving them before filing this issue. --> <!-- Finally, paste the output of running `flutter doctor -v` here. --> ### flutter doctor -v ``` [βœ“] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-SE) β€’ Flutter version 1.9.1+hotfix.2 at /Users/swedspot/Documents/development/flutter β€’ Framework revision 2d2a1ffec9 (4 weeks ago), 2019-09-06 18:39:49 -0700 β€’ Engine revision b863200c37 β€’ Dart version 2.5.0 [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.2) β€’ Android SDK at /Users/swedspot/Library/Android/sdk β€’ Android NDK location not configured (optional; useful for native profiling support) β€’ Platform android-29, build-tools 29.0.2 β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 10.3) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Xcode 10.3, Build version 10G8 β€’ CocoaPods version 1.7.5 [βœ“] Android Studio (version 3.5) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin version 39.0.3 β€’ Dart plugin version 191.8423 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [βœ“] VS Code (version 1.38.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.5.1 [βœ“] Connected device (2 available) β€’ Android SDK built for x86 β€’ emulator-5554 β€’ android-x86 β€’ Android 9 (API 28) (emulator) β€’ iPhone X β€’ EC967EA0-F0DC-4CA2-8C33-CF8CE6EE2207 β€’ ios β€’ com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator) ```
framework,a: internationalization,d: api docs,P2,team-framework,triaged-framework
low
Critical
501,923,727
storybook
[addon-docs] DocGen description are not displayed with StyledComponent
**Describe the bug** Description related to the component or to the props are not displayed when component is based on StyledComponent. **To Reproduce** Steps to reproduce the behavior: 1. Create a component based on StyledComponent 2. Launch Storybook **Expected behavior** Should display description as expected **Screenshots** ![image](https://user-images.githubusercontent.com/1861711/66110856-eed99400-e5c7-11e9-9f13-f384c08edad8.png) **Code snippets** ``` import styled from 'styled-components' import PropTypes from 'prop-types'; /** * Use `A` to provide a regular link */ const A = styled('a')( { margin: '8px 0', outline: 'none' } ) A.displayName = 'Link'; A.defaultProps = { children: 'This is a link' }; A.propTypes = { /** That should be the clickable element */ children: PropTypes.node.isRequired }; export default A; ``` **System:** System: OS: macOS Mojave 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz Binaries: Node: 12.4.0 - /usr/local/bin/node Yarn: 1.17.0 - /usr/local/bin/yarn npm: 6.11.3 - /usr/local/bin/npm Browsers: Chrome: 77.0.3865.90 Safari: 13.0.1 npmPackages: @storybook/addon-actions: ^5.2.1 => 5.2.1 @storybook/addon-docs: ^5.3.0-alpha.6 => 5.3.0-alpha.6 @storybook/addon-info: ^5.2.1 => 5.2.1 @storybook/addon-knobs: ^5.2.1 => 5.2.1 @storybook/addon-links: ^5.2.1 => 5.2.1 @storybook/addon-storysource: ^5.2.1 => 5.2.1 @storybook/addons: ^5.2.1 => 5.2.1 @storybook/react: ^5.2.1 => 5.2.1 **Additional context** Nothing special
bug,react,has workaround,addon: docs,block: props
medium
Critical
501,928,986
thefuck
Installing Redis instead of RabbitMQ after using fuck
The output of `thefuck --version` (something like `The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release`): `The Fuck 3.29 using Python 3.6.8 and Bash 4.4.20(1)-release` Your system (Debian 7, ArchLinux, Windows, etc.): Linux Mint 19.2 Tina How to reproduce the bug: So I was trying to install RabbitMQ, and I were too lazy to check the proper package name. So I decided to use the power of :zap: The Fuck :zap: And it's pretty funny but it tried to install redis instead. ``` $ sudo apt install rabbitmq Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package rabbitmq $ fuck sudo apt install redis Reading package lists... Done Building dependency tree Reading state information... Done redis is already the newest version (5:4.0.9-1ubuntu0.2). 0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded. ``` What I expect is: `$ sudo apt install rabbitmq-server` The output of The Fuck with `THEFUCK_DEBUG=true` exported (typically execute `export THEFUCK_DEBUG=true` in your shell before The Fuck): ``` $ export THEFUCK_DEBUG=true $ sudo apt install rabbitmq Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package rabbitmq $ fuck DEBUG: Run with settings: {'alter_history': True, 'debug': True, 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'}, 'exclude_rules': [], 'history_limit': None, 'instant_mode': False, 'no_colors': False, 'num_close_matches': 3, 'priority': {}, 'repeat': False, 'require_confirmation': False, 'rules': [<const: All rules enabled>], 'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'], 'user_dir': PosixPath('/home/ignisor/.config/thefuck'), 'wait_command': 3, 'wait_slow_command': 15} DEBUG: Received output: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package rabbitmq DEBUG: Call: sudo apt install rabbitmq; with env: {'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'LC_MEASUREMENT': 'uk_UA.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LC_PAPER': 'uk_UA.UTF-8', 'LC_MONETARY': 'uk_UA.UTF-8', 'LANG': 'C', 'GDM_LANG': 'en_US', 'DISPLAY': ':0', 'GTK_OVERLAY_SCROLLING': '1', 'COLORTERM': 'truecolor', 'TF_SHELL_ALIASES': 'alias aa=\'source .env/bin/activate\'\nalias alert=\'notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e \'\\\'\'s/^\\s*[0-9]\\+\\s*//;s/[;&|]\\s*alert$//\'\\\'\')"\'\nalias apt-get=\'apt\'\nalias charm=\'pycharm-professional\'\nalias egrep=\'egrep --color=auto\'\nalias fgrep=\'fgrep --color=auto\'\nalias fuck=\'fuck -y\'\nalias grep=\'grep --color=auto\'\nalias l=\'ls -CF\'\nalias la=\'ls -A\'\nalias ll=\'ls -alF\'\nalias ls=\'ls --color=auto\'\nalias p3=\'python3.7\'\nalias penv=\'p3 -m venv .env && aa && pip install -r requirements.txt\'', 'DESKTOP_AUTOSTART_ID': '10180f21e4dc496c02157008586240940000000025230008', 'XDG_VTNR': '7', 'PYTHONIOENCODING': 'utf-8', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'MANDATORY_PATH': '/usr/share/gconf/cinnamon.mandatory.path', 'LC_NAME': 'uk_UA.UTF-8', 'XDG_SESSION_ID': 'c2', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/ignisor', 'USER': 'ignisor', 'DESKTOP_SESSION': 'cinnamon', 'TF_SHELL': 'bash', 'DEFAULTS_PATH': '/usr/share/gconf/cinnamon.default.path', 'QT_QPA_PLATFORMTHEME': 'qt5ct', 'PWD': '/home/ignisor/dev/trains-the-new-beggining/opencv-text-detection', 'HOME': '/home/ignisor', 'GUAKE_TAB_UUID': '681c4b9c-5884-4ead-bf4e-5ac970dfa5cf', 'SSH_AGENT_PID': '2590', 'QT_ACCESSIBILITY': '1', 'XDG_SESSION_TYPE': 'x11', 'XDG_DATA_DIRS': '/usr/share/cinnamon:/usr/share/gnome:/home/ignisor/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'XDG_SESSION_DESKTOP': 'cinnamon', 'LC_ADDRESS': 'uk_UA.UTF-8', 'LC_NUMERIC': 'uk_UA.UTF-8', 'GTK_MODULES': 'gail:atk-bridge', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'VTE_VERSION': '5202', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'XDG_CURRENT_DESKTOP': 'X-Cinnamon', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'TF_ALIAS': 'fuck', 'XDG_SEAT': 'seat0', 'SHLVL': '1', 'LANGUAGE': 'en_US', 'LC_TELEPHONE': 'uk_UA.UTF-8', 'GDMSESSION': 'cinnamon', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'LOGNAME': 'ignisor', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XAUTHORITY': '/home/ignisor/.Xauthority', 'TF_HISTORY': '\t sudo apt install rabbitmq-server\n\t thefuck --version\n\t uname\n\t uname -a\n\t lsb-release\n\t lsb_release\n\t lsb_release -c\n\t lsb_release -a\n\t export THEFUCK_DEBUG=true\n\t sudo apt install rabbitmq', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-cinnamon:/etc/xdg', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'LC_IDENTIFICATION': 'uk_UA.UTF-8', 'THEFUCK_DEBUG': 'true', 'SESSION_MANAGER': 'local/ignisor-WombatPC:@/tmp/.ICE-unix/2523,unix/ignisor-WombatPC:/tmp/.ICE-unix/2523', 'LESSOPEN': '| /usr/bin/lesspipe %s', '_': '/usr/local/bin/thefuck', 'LC_ALL': 'C', 'GIT_TRACE': '1'}; is slow: took: 0:00:00.494457 DEBUG: Importing rule: adb_unknown_command; took: 0:00:00.000212 DEBUG: Importing rule: ag_literal; took: 0:00:00.000351 DEBUG: Importing rule: apt_get; took: 0:00:00.008818 DEBUG: Importing rule: apt_get_search; took: 0:00:00.000642 DEBUG: Importing rule: apt_invalid_operation; took: 0:00:00.000897 DEBUG: Importing rule: apt_list_upgradable; took: 0:00:00.000382 DEBUG: Importing rule: apt_upgrade; took: 0:00:00.000354 DEBUG: Importing rule: aws_cli; took: 0:00:00.000544 DEBUG: Importing rule: az_cli; took: 0:00:00.000238 DEBUG: Importing rule: brew_cask_dependency; took: 0:00:00.000457 DEBUG: Importing rule: brew_install; took: 0:00:00.000094 DEBUG: Importing rule: brew_link; took: 0:00:00.000216 DEBUG: Importing rule: brew_reinstall; took: 0:00:00.000456 DEBUG: Importing rule: brew_uninstall; took: 0:00:00.000220 DEBUG: Importing rule: brew_unknown_command; took: 0:00:00.000108 DEBUG: Importing rule: brew_update_formula; took: 0:00:00.000225 DEBUG: Importing rule: brew_upgrade; took: 0:00:00.000077 DEBUG: Importing rule: cargo; took: 0:00:00.000068 DEBUG: Importing rule: cargo_no_command; took: 0:00:00.000216 DEBUG: Importing rule: cat_dir; took: 0:00:00.000224 DEBUG: Importing rule: cd_correction; took: 0:00:00.000894 DEBUG: Importing rule: cd_mkdir; took: 0:00:00.000320 DEBUG: Importing rule: cd_parent; took: 0:00:00.000078 DEBUG: Importing rule: chmod_x; took: 0:00:00.000075 DEBUG: Importing rule: composer_not_command; took: 0:00:00.000247 DEBUG: Importing rule: cp_omitting_directory; took: 0:00:00.000394 DEBUG: Importing rule: cpp11; took: 0:00:00.000210 DEBUG: Importing rule: dirty_untar; took: 0:00:00.001007 DEBUG: Importing rule: dirty_unzip; took: 0:00:00.000965 DEBUG: Importing rule: django_south_ghost; took: 0:00:00.000097 DEBUG: Importing rule: django_south_merge; took: 0:00:00.000073 DEBUG: Importing rule: dnf_no_such_command; took: 0:00:00.001053 DEBUG: Importing rule: docker_login; took: 0:00:00.000232 DEBUG: Importing rule: docker_not_command; took: 0:00:00.000432 DEBUG: Importing rule: dry; took: 0:00:00.000082 DEBUG: Importing rule: fab_command_not_found; took: 0:00:00.000293 DEBUG: Importing rule: fix_alt_space; took: 0:00:00.000242 DEBUG: Importing rule: fix_file; took: 0:00:00.002078 DEBUG: Importing rule: gem_unknown_command; took: 0:00:00.000383 DEBUG: Importing rule: git_add; took: 0:00:00.000596 DEBUG: Importing rule: git_add_force; took: 0:00:00.000397 DEBUG: Importing rule: git_bisect_usage; took: 0:00:00.000361 DEBUG: Importing rule: git_branch_delete; took: 0:00:00.000301 DEBUG: Importing rule: git_branch_exists; took: 0:00:00.000336 DEBUG: Importing rule: git_branch_list; took: 0:00:00.000536 DEBUG: Importing rule: git_checkout; took: 0:00:00.000373 DEBUG: Importing rule: git_commit_amend; took: 0:00:00.000355 DEBUG: Importing rule: git_commit_reset; took: 0:00:00.000230 DEBUG: Importing rule: git_diff_no_index; took: 0:00:00.000225 DEBUG: Importing rule: git_diff_staged; took: 0:00:00.000215 DEBUG: Importing rule: git_fix_stash; took: 0:00:00.000279 DEBUG: Importing rule: git_flag_after_filename; took: 0:00:00.000224 DEBUG: Importing rule: git_help_aliased; took: 0:00:00.000218 DEBUG: Importing rule: git_merge; took: 0:00:00.000226 DEBUG: Importing rule: git_merge_unrelated; took: 0:00:00.000223 DEBUG: Importing rule: git_not_command; took: 0:00:00.000219 DEBUG: Importing rule: git_pull; took: 0:00:00.000249 DEBUG: Importing rule: git_pull_clone; took: 0:00:00.000221 DEBUG: Importing rule: git_pull_uncommitted_changes; took: 0:00:00.000216 DEBUG: Importing rule: git_push; took: 0:00:00.000216 DEBUG: Importing rule: git_push_different_branch_names; took: 0:00:00.000215 DEBUG: Importing rule: git_push_force; took: 0:00:00.000218 DEBUG: Importing rule: git_push_pull; took: 0:00:00.000217 DEBUG: Importing rule: git_push_without_commits; took: 0:00:00.000271 DEBUG: Importing rule: git_rebase_merge_dir; took: 0:00:00.000228 DEBUG: Importing rule: git_rebase_no_changes; took: 0:00:00.000174 DEBUG: Importing rule: git_remote_delete; took: 0:00:00.000233 DEBUG: Importing rule: git_remote_seturl_add; took: 0:00:00.000154 DEBUG: Importing rule: git_rm_local_modifications; took: 0:00:00.000207 DEBUG: Importing rule: git_rm_recursive; took: 0:00:00.000257 DEBUG: Importing rule: git_rm_staged; took: 0:00:00.000205 DEBUG: Importing rule: git_stash; took: 0:00:00.000205 DEBUG: Importing rule: git_stash_pop; took: 0:00:00.000198 DEBUG: Importing rule: git_tag_force; took: 0:00:00.000310 DEBUG: Importing rule: git_two_dashes; took: 0:00:00.000213 DEBUG: Importing rule: go_run; took: 0:00:00.000245 DEBUG: Importing rule: gradle_no_task; took: 0:00:00.000428 DEBUG: Importing rule: gradle_wrapper; took: 0:00:00.000225 DEBUG: Importing rule: grep_arguments_order; took: 0:00:00.000218 DEBUG: Importing rule: grep_recursive; took: 0:00:00.000209 DEBUG: Importing rule: grunt_task_not_found; took: 0:00:00.000375 DEBUG: Importing rule: gulp_not_task; took: 0:00:00.000233 DEBUG: Importing rule: has_exists_script; took: 0:00:00.000216 DEBUG: Importing rule: heroku_multiple_apps; took: 0:00:00.000247 DEBUG: Importing rule: heroku_not_command; took: 0:00:00.000217 DEBUG: Importing rule: history; took: 0:00:00.000082 DEBUG: Importing rule: hostscli; took: 0:00:00.000387 DEBUG: Importing rule: ifconfig_device_not_found; took: 0:00:00.000269 DEBUG: Importing rule: java; took: 0:00:00.000210 DEBUG: Importing rule: javac; took: 0:00:00.000209 DEBUG: Importing rule: lein_not_task; took: 0:00:00.000322 DEBUG: Importing rule: ln_no_hard_link; took: 0:00:00.000203 DEBUG: Importing rule: ln_s_order; took: 0:00:00.000205 DEBUG: Importing rule: long_form_help; took: 0:00:00.000081 DEBUG: Importing rule: ls_all; took: 0:00:00.000216 DEBUG: Importing rule: ls_lah; took: 0:00:00.000205 DEBUG: Importing rule: man; took: 0:00:00.000214 DEBUG: Importing rule: man_no_space; took: 0:00:00.000074 DEBUG: Importing rule: mercurial; took: 0:00:00.000215 DEBUG: Importing rule: missing_space_before_subcommand; took: 0:00:00.000087 DEBUG: Importing rule: mkdir_p; took: 0:00:00.000210 DEBUG: Importing rule: mvn_no_command; took: 0:00:00.000212 DEBUG: Importing rule: mvn_unknown_lifecycle_phase; took: 0:00:00.000220 DEBUG: Importing rule: no_command; took: 0:00:00.000213 DEBUG: Importing rule: no_such_file; took: 0:00:00.000089 DEBUG: Importing rule: npm_missing_script; took: 0:00:00.000459 DEBUG: Importing rule: npm_run_script; took: 0:00:00.000278 DEBUG: Importing rule: npm_wrong_command; took: 0:00:00.000327 DEBUG: Importing rule: open; took: 0:00:00.000265 DEBUG: Importing rule: pacman; took: 0:00:00.000316 DEBUG: Importing rule: pacman_not_found; took: 0:00:00.000085 DEBUG: Importing rule: path_from_history; took: 0:00:00.000094 DEBUG: Importing rule: php_s; took: 0:00:00.000242 DEBUG: Importing rule: pip_install; took: 0:00:00.000276 DEBUG: Importing rule: pip_unknown_command; took: 0:00:00.000270 DEBUG: Importing rule: port_already_in_use; took: 0:00:00.000152 DEBUG: Importing rule: prove_recursively; took: 0:00:00.000227 DEBUG: Importing rule: pyenv_no_such_command; took: 0:00:00.000448 DEBUG: Importing rule: python_command; took: 0:00:00.000233 DEBUG: Importing rule: python_execute; took: 0:00:00.000208 DEBUG: Importing rule: quotation_marks; took: 0:00:00.000074 DEBUG: Importing rule: react_native_command_unrecognized; took: 0:00:00.000272 DEBUG: Importing rule: remove_trailing_cedilla; took: 0:00:00.000079 DEBUG: Importing rule: rm_dir; took: 0:00:00.000223 DEBUG: Importing rule: rm_root; took: 0:00:00.000271 DEBUG: Importing rule: scm_correction; took: 0:00:00.000229 DEBUG: Importing rule: sed_unterminated_s; took: 0:00:00.000217 DEBUG: Importing rule: sl_ls; took: 0:00:00.000077 DEBUG: Importing rule: ssh_known_hosts; took: 0:00:00.000226 DEBUG: Importing rule: sudo; took: 0:00:00.000081 DEBUG: Importing rule: sudo_command_from_user_path; took: 0:00:00.000215 DEBUG: Importing rule: switch_lang; took: 0:00:00.000110 DEBUG: Importing rule: systemctl; took: 0:00:00.000332 DEBUG: Importing rule: test.py; took: 0:00:00.000076 DEBUG: Importing rule: tmux; took: 0:00:00.000213 DEBUG: Importing rule: touch; took: 0:00:00.000236 DEBUG: Importing rule: tsuru_login; took: 0:00:00.000255 DEBUG: Importing rule: tsuru_not_command; took: 0:00:00.000277 DEBUG: Importing rule: unknown_command; took: 0:00:00.000098 DEBUG: Importing rule: unsudo; took: 0:00:00.000071 DEBUG: Importing rule: vagrant_up; took: 0:00:00.000327 DEBUG: Importing rule: whois; took: 0:00:00.000344 DEBUG: Importing rule: workon_doesnt_exists; took: 0:00:00.000292 DEBUG: Importing rule: yarn_alias; took: 0:00:00.000228 DEBUG: Importing rule: yarn_command_not_found; took: 0:00:00.000563 DEBUG: Importing rule: yarn_command_replaced; took: 0:00:00.000326 DEBUG: Importing rule: yarn_help; took: 0:00:00.000238 DEBUG: Trying rule: path_from_history; took: 0:00:00.000345 DEBUG: Trying rule: dry; took: 0:00:00.000063 DEBUG: Trying rule: git_stash_pop; took: 0:00:00.000018 DEBUG: Trying rule: test.py; took: 0:00:00.000002 DEBUG: Trying rule: adb_unknown_command; took: 0:00:00.000009 DEBUG: Trying rule: ag_literal; took: 0:00:00.000009 DEBUG: Trying rule: apt_get; took: 0:00:00.000002 DEBUG: Trying rule: apt_get_search; took: 0:00:00.000007 DEBUG: Trying rule: apt_invalid_operation; took: 0:00:00.000042 DEBUG: Trying rule: apt_list_upgradable; took: 0:00:00.000035 DEBUG: Trying rule: apt_upgrade; took: 0:00:00.000010 DEBUG: Trying rule: aws_cli; took: 0:00:00.000008 DEBUG: Trying rule: az_cli; took: 0:00:00.000007 DEBUG: Trying rule: brew_link; took: 0:00:00.000017 DEBUG: Trying rule: brew_reinstall; took: 0:00:00.000007 DEBUG: Trying rule: brew_uninstall; took: 0:00:00.000005 DEBUG: Trying rule: brew_update_formula; took: 0:00:00.000006 DEBUG: Trying rule: cargo; took: 0:00:00.000001 DEBUG: Trying rule: cargo_no_command; took: 0:00:00.000007 DEBUG: Trying rule: cat_dir; took: 0:00:00.000008 DEBUG: Trying rule: cd_correction; took: 0:00:00.000034 DEBUG: Trying rule: cd_mkdir; took: 0:00:00.000009 DEBUG: Trying rule: cd_parent; took: 0:00:00.000001 DEBUG: Trying rule: chmod_x; took: 0:00:00.000002 DEBUG: Trying rule: composer_not_command; took: 0:00:00.000010 DEBUG: Trying rule: cp_omitting_directory; took: 0:00:00.000035 DEBUG: Trying rule: cpp11; took: 0:00:00.000009 DEBUG: Trying rule: dirty_untar; took: 0:00:00.000008 DEBUG: Trying rule: dirty_unzip; took: 0:00:00.000007 DEBUG: Trying rule: django_south_ghost; took: 0:00:00.000002 DEBUG: Trying rule: django_south_merge; took: 0:00:00.000001 DEBUG: Trying rule: docker_login; took: 0:00:00.000007 DEBUG: Trying rule: docker_not_command; took: 0:00:00.000033 DEBUG: Trying rule: fab_command_not_found; took: 0:00:00.000008 DEBUG: Trying rule: fix_alt_space; took: 0:00:00.000005 DEBUG: Trying rule: fix_file; took: 0:00:00.000009 DEBUG: Trying rule: gem_unknown_command; took: 0:00:00.000016 DEBUG: Trying rule: git_add; took: 0:00:00.000011 DEBUG: Trying rule: git_add_force; took: 0:00:00.000006 DEBUG: Trying rule: git_bisect_usage; took: 0:00:00.000006 DEBUG: Trying rule: git_branch_delete; took: 0:00:00.000006 DEBUG: Trying rule: git_branch_exists; took: 0:00:00.000005 DEBUG: Trying rule: git_branch_list; took: 0:00:00.000005 DEBUG: Trying rule: git_checkout; took: 0:00:00.000005 DEBUG: Trying rule: git_commit_amend; took: 0:00:00.000005 DEBUG: Trying rule: git_commit_reset; took: 0:00:00.000008 DEBUG: Trying rule: git_diff_no_index; took: 0:00:00.000006 DEBUG: Trying rule: git_diff_staged; took: 0:00:00.000006 DEBUG: Trying rule: git_fix_stash; took: 0:00:00.000005 DEBUG: Trying rule: git_flag_after_filename; took: 0:00:00.000005 DEBUG: Trying rule: git_help_aliased; took: 0:00:00.000005 DEBUG: Trying rule: git_merge; took: 0:00:00.000005 DEBUG: Trying rule: git_merge_unrelated; took: 0:00:00.000005 DEBUG: Trying rule: git_not_command; took: 0:00:00.000005 DEBUG: Trying rule: git_pull; took: 0:00:00.000007 DEBUG: Trying rule: git_pull_clone; took: 0:00:00.000009 DEBUG: Trying rule: git_pull_uncommitted_changes; took: 0:00:00.000009 DEBUG: Trying rule: git_push; took: 0:00:00.000009 DEBUG: Trying rule: git_push_different_branch_names; took: 0:00:00.000008 DEBUG: Trying rule: git_push_pull; took: 0:00:00.000008 DEBUG: Trying rule: git_push_without_commits; took: 0:00:00.000008 DEBUG: Trying rule: git_rebase_merge_dir; took: 0:00:00.000008 DEBUG: Trying rule: git_rebase_no_changes; took: 0:00:00.000007 DEBUG: Trying rule: git_remote_delete; took: 0:00:00.000009 DEBUG: Trying rule: git_remote_seturl_add; took: 0:00:00.000008 DEBUG: Trying rule: git_rm_local_modifications; took: 0:00:00.000007 DEBUG: Trying rule: git_rm_recursive; took: 0:00:00.000007 DEBUG: Trying rule: git_rm_staged; took: 0:00:00.000007 DEBUG: Trying rule: git_stash; took: 0:00:00.000007 DEBUG: Trying rule: git_tag_force; took: 0:00:00.000007 DEBUG: Trying rule: git_two_dashes; took: 0:00:00.000007 DEBUG: Trying rule: go_run; took: 0:00:00.000012 DEBUG: Trying rule: gradle_no_task; took: 0:00:00.000012 DEBUG: Trying rule: gradle_wrapper; took: 0:00:00.000013 DEBUG: Trying rule: grep_arguments_order; took: 0:00:00.000010 DEBUG: Trying rule: grep_recursive; took: 0:00:00.000009 DEBUG: Trying rule: grunt_task_not_found; took: 0:00:00.000009 DEBUG: Trying rule: gulp_not_task; took: 0:00:00.000009 DEBUG: Trying rule: has_exists_script; took: 0:00:00.000072 DEBUG: Trying rule: heroku_multiple_apps; took: 0:00:00.000011 DEBUG: Trying rule: heroku_not_command; took: 0:00:00.000010 DEBUG: Trying rule: hostscli; took: 0:00:00.000053 DEBUG: Trying rule: ifconfig_device_not_found; took: 0:00:00.000012 DEBUG: Trying rule: java; took: 0:00:00.000012 DEBUG: Trying rule: javac; took: 0:00:00.000009 DEBUG: Trying rule: lein_not_task; took: 0:00:00.000052 DEBUG: Trying rule: ln_no_hard_link; took: 0:00:00.000007 DEBUG: Trying rule: ln_s_order; took: 0:00:00.000036 DEBUG: Trying rule: ls_all; took: 0:00:00.000021 DEBUG: Trying rule: ls_lah; took: 0:00:00.000012 DEBUG: Trying rule: man; took: 0:00:00.000015 DEBUG: Trying rule: mercurial; took: 0:00:00.000013 DEBUG: Trying rule: mkdir_p; took: 0:00:00.000006 DEBUG: Trying rule: mvn_no_command; took: 0:00:00.000015 DEBUG: Trying rule: mvn_unknown_lifecycle_phase; took: 0:00:00.000011 DEBUG: Trying rule: no_such_file; took: 0:00:00.000824 DEBUG: Trying rule: open; took: 0:00:00.000033 DEBUG: Trying rule: php_s; took: 0:00:00.000016 DEBUG: Trying rule: pip_install; took: 0:00:00.000057 DEBUG: Trying rule: pip_unknown_command; took: 0:00:00.000042 DEBUG: Trying rule: port_already_in_use; took: 0:00:00.000343 DEBUG: Trying rule: prove_recursively; took: 0:00:00.000021 DEBUG: Trying rule: pyenv_no_such_command; took: 0:00:00.000016 DEBUG: Trying rule: python_command; took: 0:00:00.000039 DEBUG: Trying rule: python_execute; took: 0:00:00.000015 DEBUG: Trying rule: quotation_marks; took: 0:00:00.000003 DEBUG: Trying rule: react_native_command_unrecognized; took: 0:00:00.000013 DEBUG: Trying rule: remove_trailing_cedilla; took: 0:00:00.000002 DEBUG: Trying rule: rm_dir; took: 0:00:00.000007 DEBUG: Trying rule: scm_correction; took: 0:00:00.000014 DEBUG: Trying rule: sed_unterminated_s; took: 0:00:00.000013 DEBUG: Trying rule: sl_ls; took: 0:00:00.000002 DEBUG: Trying rule: ssh_known_hosts; took: 0:00:00.000012 DEBUG: Trying rule: sudo; took: 0:00:00.000005 DEBUG: Trying rule: sudo_command_from_user_path; took: 0:00:00.000017 DEBUG: Trying rule: switch_lang; took: 0:00:00.000002 DEBUG: Trying rule: systemctl; took: 0:00:00.000272 DEBUG: Trying rule: tmux; took: 0:00:00.000015 DEBUG: Trying rule: touch; took: 0:00:00.000013 DEBUG: Trying rule: tsuru_login; took: 0:00:00.000012 DEBUG: Trying rule: tsuru_not_command; took: 0:00:00.000011 DEBUG: Trying rule: unknown_command; took: 0:00:00.000203 DEBUG: Trying rule: unsudo; took: 0:00:00.000005 DEBUG: Trying rule: vagrant_up; took: 0:00:00.000015 DEBUG: Trying rule: whois; took: 0:00:00.000014 DEBUG: Trying rule: workon_doesnt_exists; took: 0:00:00.000013 DEBUG: Trying rule: yarn_alias; took: 0:00:00.000013 DEBUG: Trying rule: yarn_command_not_found; took: 0:00:00.000012 DEBUG: Trying rule: yarn_command_replaced; took: 0:00:00.000011 DEBUG: Trying rule: yarn_help; took: 0:00:00.000012 DEBUG: Trying rule: man_no_space; took: 0:00:00.000003 DEBUG: Trying rule: no_command; took: 0:00:00.000094 DEBUG: Trying rule: missing_space_before_subcommand; took: 0:00:00.000013 DEBUG: Trying rule: long_form_help; took: 0:00:00.000376 DEBUG: Trying rule: history; took: 0:00:00.005554 sudo apt install redis DEBUG: PYTHONIOENCODING: utf-8 DEBUG: Total took: 0:00:00.582621 Reading package lists... Done Building dependency tree Reading state information... Done redis is already the newest version (5:4.0.9-1ubuntu0.2). 0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded. ``` If the bug only appears with a specific application, the output of that application and its version: --- Anything else you think is relevant: ---
enhancement,help wanted,hacktoberfest
low
Critical
501,967,412
opencv
Natural feature tracking(NFT)/ Feature Matching in videostream for Javascript
Hello. I want to run Natural feature tracking(NFT) with video stream, it is possible with this lib? Any example?
incomplete
low
Minor
501,994,936
puppeteer
Feature Req: chrome context menu testing
I am developing a Chrome extension that makes extensive use of the context menu. Currently I am unable to test that with Puppeteer. And Puppeteer is supposed to be an all-round solution for chrome testing, right? So.. can we add this (and more generally - extension testing overall) to the roadmap?
feature,confirmed
low
Major
502,008,539
scrcpy
[Feature Request] Copying files from Android to PC by invoking ACTION_GET_CONTENT intent and using adb pull
Is it possible to add a feature, such that when a specified keywords are pressed (ex: Ctrl + Shift + F) the scrcpy application running in Android device will invoke an intent to select a file name/content and then using the adb pull on the server/PC to save the selected file into PC. Thank you.
feature request
low
Minor
502,084,077
PowerToys
Add Calendar Week Numbers to systray calendar
Some places use week numbers on their calendars as of right now the only way to get them on windows tray is to use third party calendars.
Idea-New PowerToy
medium
Critical
502,167,180
react
DevTools not properly shutting down between reloads in some cases
Noticed this while testing the recently added "highlight updates" feature. It seems like relying on the content script's "disconnect" to shutdown things is too late, and we seem to be leaving at least an `Agent` (possibly more) connected. I think we may want to add some cleanup code to our initialization path (of the backend) to handle the case where a previous backend instance didn't get to finish shutting down.
Component: Developer Tools,React Core Team
medium
Minor
502,170,551
pytorch
CUDA error: device-side assert triggered(insert_events at /pytorch/c10/cuda/CUDACachingAllocator.cpp:569)
## πŸ› Bug During the training of image classification model, I met some problem: losses.update(loss.item(), input.size(0)) RuntimeError: CUDA error: device-side assert triggered terminate called after throwing an instance of 'c10::Error' what(): CUDA error: device-side assert triggered (insert_events at /pytorch/c10/cuda/CUDACachingAllocator.cpp:569) frame #0: std::function<std::string ()>::operator()() const + 0x11 (0x7f401ca385b1 in /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so) frame #1: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x2a (0x7f401ca3773a in /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so) frame #2: <unknown function> + 0x117bd (0x7f401cc627bd in /opt/conda/lib/python3.6/site-packages/torch/lib/libc10_cuda.so) frame #3: <unknown function> + 0x15ab3 (0x7f401cc66ab3 in /opt/conda/lib/python3.6/site-packages/torch/lib/libc10_cuda.so) frame #4: c10::TensorImpl::release_resources() + 0x66 (0x7f401ca24c46 in /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so) frame #5: <unknown function> + 0x199decb (0x7f3f80f64ecb in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so) frame #6: <unknown function> + 0x336e090 (0x7f3f82935090 in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so) frame #7: <unknown function> + 0x392feca (0x7f3f82ef6eca in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so) frame #8: torch::autograd::deleteFunction(torch::autograd::Function*) + 0xa2 (0x7f3f82ef6f82 in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so) frame #9: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() + 0x45 (0x7f401d60d985 in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so) frame #10: torch::autograd::Variable::AutogradMeta::~AutogradMeta() + 0x77 (0x7f3f82f0bcf7 in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so) frame #11: torch::autograd::Variable::AutogradMeta::~AutogradMeta() + 0x9 (0x7f3f82f0bd39 in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so) frame #12: c10::TensorImpl::release_resources() + 0x20 (0x7f401ca24c00 in /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so) frame #13: <unknown function> + 0x1fc1cb (0x7f401d60e1cb in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so) frame #14: <unknown function> + 0x4844d4 (0x7f401d8964d4 in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so) frame #15: <unknown function> + 0x484521 (0x7f401d896521 in /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so) <omitting python frames> frame #28: __libc_start_main + 0xf0 (0x7f40220ee830 in /lib/x86_64-linux-gnu/libc.so.6) ## Environment - PyTorch Version 1.2 stable - docker container ubuntu 16.04 - conda install - Python version: 3.6 - CUDA/cuDNN version: cuda 10.0 cudnn 7.6 - GPU models and configuration: 1080Ti cards - Any other relevant information: I found when I run the training with batchsize 1024 on 8 1080 ti gpu cards, it will report the error. When I run the code with batchsize 512 on 8 gpu cards, the error disappeared. when I run the code with smaller batchsize on a single gpu card, the error can’t be reproduced. So it might be hard to reproduce the error on cpu.
module: cuda,triaged
low
Critical
502,172,832
flutter
Fix example tests and enable them on CI in Web mode
We currently skip all `packages/flutter/test/examples` tests on CI because they fail. We should fix them.
a: tests,framework,platform-web,P2,team-web,triaged-web
low
Minor
502,190,385
flutter
Textspan does not support MultiTapGestureRecognizer
<!-- 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 <!-- Please tell us exactly how to reproduce the problem you are running into. --> ```dart import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), 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: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ RichText( text: TextSpan( text: 'You have pushed the button this many times:', recognizer: MultiTapGestureRecognizer(), ), ), ], ), ), // This trailing comma makes auto-formatting nicer for build methods. ); } } ``` It will crash if the accessibility feature is turned on ## Logs <!-- Include the full logs of the commands you are running between the lines with the backticks below. If you are running any "flutter" commands, please include the output of running them with "--verbose"; for example, the output of running "flutter --verbose create foo". --> ``` ``` <!-- If possible, paste the output of running `flutter doctor -v` here. --> ``` ```
a: text input,c: crash,framework,a: accessibility,has reproducible steps,P2,found in release: 3.3,found in release: 3.5,team-framework,triaged-framework
low
Critical
502,208,132
flutter
[web]: HTML Reading Mode for Static Content
## Use case When building a simple site and you want to let the use use reading mode in Safari or Google Chrome it would be nice to semanticly render the H1 and text tags for the flutter widgets. Example Flutter website blog: https://rodydavis.com/#/blog ## Proposal Render a invisible H1 and Text tree that the browser can interpret enough to display a reading mode overlay. Safari Docs: https://developer.apple.com/library/archive/documentation/Tools/Conceptual/SafariExtensionGuide/WorkingWiththeReader/WorkingWiththeReader.html Chrome Extensions: https://chrome.google.com/webstore/detail/read-mode/nagcaahojecfeopbghgihcabgiepploa?hl=en This will be come more useful when people are using Flutter web for mobile websites too. Flutter does a wonderful job and text rendering. This is just a way for the user to see it in a bigger size or different font.
c: new feature,engine,platform-web,c: proposal,e: web_html,P3,team-web,triaged-web
medium
Major
502,221,603
pytorch
Tensorboard add image with boxes, labels, and confidence scores.
## πŸš€ Feature <!-- A clear and concise description of the feature proposal --> Add a method to `torch.utils.tensorboard.writer.py` that will take an image, list of bounding boxes, list of class ids, and list of confidence scores and adds a summary to the events file. ## Motivation <!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too --> In the TensorFlow Object Detection API, there is the functionality to add this, and it has been useful for visually profiling the performance of object detection models. ## Pitch <!-- A clear and concise description of what you want to happen. --> I would like to add this method into the `writer.py` file. ## Additional context <!-- Add any other context or screenshots about the feature request here. --> Here is an example of this in tensorboard. ![image](https://user-images.githubusercontent.com/30412615/66153079-d7f76980-e5e8-11e9-9792-d3ea478de86a.png)
triaged,module: tensorboard
low
Major
502,234,422
scrcpy
[FEATURE REQUEST] Native support for Wifi Direct or mesh networking.
Wifi Direct implementation: https://stackoverflow.com/questions/31877144/how-to-set-up-a-wifi-direct-connection-between-android-and-linux https://github.com/NaniteFactory/Wifi-Direct-on-Linux https://android.googlesource.com/platform/development/+/master/samples/WiFiDirectDemo Mesh networking: https://github.com/RightMesh/HelloMesh https://libremesh.org/ https://www.open-mesh.org/projects/open-mesh/wiki
feature request
low
Minor
502,266,006
pytorch
torch.Tensor.mean erroneously documented as sometimes returning a tuple
[torch.Tensor.mean](https://pytorch.org/docs/master/tensors.html#torch.Tensor.mean) is documented to sometimes return a tuple, but [torch.mean](https://pytorch.org/docs/master/torch.html#torch.mean) is not.
module: docs,triaged,module: reductions
low
Minor
502,272,352
kubernetes
Pods get stuck in ContainerCreating state when pulling image takes long
**What happened**: If pulling a docker image takes a bit longer than usual, pods are never created. **What you expected to happen**: Kubernetes to wait or retry pulling. **How to reproduce it (as minimally and precisely as possible)**: Throttle download speed to the docker registry where you are pulling it from or find one that gives you low bandwidth, e.g. 512kbit/s **Anything else we need to know?**: An example where it hangs for over 15m already. Of course, if I go to the worker node and do manual docker pull it'll complete within a few minutes. We've seen even longer age since pod creation. And it's been happening on older kubernetes versions as well. I bet it'll be the same on 1.14 and newer. ``` $ kubectl -n spinnaker describe pod spin-gate-55999bc58-47zz7 Name: spin-gate-55999bc58-47zz7 Namespace: spinnaker Priority: 0 Node: depkbw102/10.16.53.35 Start Time: Thu, 03 Oct 2019 19:43:27 +0000 Labels: app=gate load-balancer-spin-gate=true pod-template-hash=55999bc58 Annotations: cni.projectcalico.org/podIP: 10.23.130.18/32 prometheus.io/path: /prometheus_metrics prometheus.io/port: 8008 prometheus.io/scrape: true Status: Pending IP: IPs: <none> Controlled By: ReplicaSet/spin-gate-55999bc58 Containers: gate: Container ID: Image: dockerregistry.example.com/devops/spinnaker-gate:v1.15.3-49 Image ID: Port: 8084/TCP Host Port: 0/TCP State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Readiness: http-get https://:8084/health delay=20s timeout=1s period=10s #success=1 #failure=3 Environment: JAVA_OPTS: -Xms1g -Xmx4g DUMMY: dummy10 Mounts: /opt/spinnaker/certs from spinnaker-ssl (rw) /opt/spinnaker/config from spinnaker-config (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-gt426 (ro) monitoring: Container ID: Image: gcr.io/spinnaker-marketplace/monitoring-daemon:0.14.0-20190702202823 Image ID: Port: 8008/TCP Host Port: 0/TCP State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Environment: <none> Mounts: /opt/spinnaker-monitoring/config from monitoring-config (rw) /opt/spinnaker-monitoring/registry from monitoring-registry (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-gt426 (ro) Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: spinnaker-config: Type: Secret (a volume populated by a Secret) SecretName: spinnaker-config Optional: false spinnaker-ssl: Type: Secret (a volume populated by a Secret) SecretName: spinnaker-ssl Optional: false monitoring-config: Type: ConfigMap (a volume populated by a ConfigMap) Name: monitoring-config Optional: false monitoring-registry: Type: ConfigMap (a volume populated by a ConfigMap) Name: monitoring-registry Optional: false default-token-gt426: Type: Secret (a volume populated by a Secret) SecretName: default-token-gt426 Optional: false QoS Class: BestEffort Node-Selectors: <none> Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s node.kubernetes.io/unreachable:NoExecute for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 15m default-scheduler Successfully assigned spinnaker/spin-gate-55999bc58-47zz7 to depkbw102 Normal Pulling 15m kubelet, depkbw102 pulling image "dockerregistry.example.com/devops/spinnaker-gate:v1.15.3-49" ``` **Environment**: - Kubernetes version (use `kubectl version`): ``` Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.11", GitCommit:"25074a190ef2a07d8b0ed38734f2cb373edfb868", GitTreeState:"clean", BuildDate:"2019-09-18T14:34:46Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"linux/amd64"} ``` - Cloud provider or hardware configuration: VMware ESXi 6.5 - OS (e.g: `cat /etc/os-release`): ``` NAME="Container Linux by CoreOS" ID=coreos VERSION=2191.5.0 VERSION_ID=2191.5.0 BUILD_ID=2019-09-04-0357 PRETTY_NAME="Container Linux by CoreOS 2191.5.0 (Rhyolite)" ANSI_COLOR="38;5;75" HOME_URL="https://coreos.com/" BUG_REPORT_URL="https://issues.coreos.com" COREOS_BOARD="amd64-usr" ``` - Kernel (e.g. `uname -a`): ``` Linux depkbw102 4.19.68-coreos #1 SMP Wed Sep 4 02:59:18 -00 2019 x86_64 Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz GenuineIntel GNU/Linux ``` - Install tools: coreos ova with ignition config passed - Network plugin and version (if this is a network-related bug): calico 3.5.4
kind/bug,priority/backlog,sig/node,triage/accepted
high
Critical
502,276,950
go
html/template: document ability to modify FuncMap after template parse by calling Funcs again
# Background I have a bunch of templates that have a complex dependency structure like: A -> B, D, E B -> E, F C -> E, G D -> F, H E -> H F -> nil G -> nil H -> nil The contents of the corresponding files ('A.tmpl', 'B.tmpl', etc.) are static; however, the `template.FuncMap` that they reference contain implicit reference to captured state that varies by caller. That is, the `FuncMap` is created like so: ``` func createFuncMap(request *rpc.Request) { result := template.FuncMap { "Foo": createFooFunc(request), "Bar": createBarFunc(request), ... } return request } ``` # What I Want to Do I'd like to be able to preparse all of the various files irrespective of the func map (or perhaps with a whitelist of functions that will be defined), and I'd like to parse the individual pieces separately (e.g. parse 'F' only once, even though it is a dependency of 'B' and 'D'), and then somehow combine the parsed templates together like: ``` func getTemplate(name string) *template.Template { result := template.New(name).Funcs(getStubFunctionMap()) for _, dep := range getDeps(name) { result.AddDep(getTemplate(dep)) } result.Parse(getFileContent(name)) return result } ``` I'd also like to trivially rebind the function map as in: ``` func getBoundTemplate(name string, request *rpc.Request) *template.Template { cachedTemplate := getOrCreateCachedTemplate(name) boundTemplate := cachedTemplate.Clone().Funcs(funcMapFor(request)) return boundTemplate } ``` # Why I Can't Do It The documentation of `html/template` makes it appear that parsing is context dependent and that parsing is linear (dependencies can be added linearly, but cannot be combined from multiple, already-parsed templates). This is a pretty major limitation of the interface. # Impact of This Limitation This is a major efficiency problem; I want to parse a complex network of templates upfront before receiving requests and do very minimal work on each request. This structure is causing much more work to happen in the context of every request. For more specifics of this use case, reach out to me directly from your `@google.com` account, and I can share more details of the specific code in question.
Documentation,help wanted,NeedsFix
medium
Major
502,308,233
go
proposal: unsafe: clarify unsafe.Pointer rules for package syscall
unsafe.Pointer's rule 4 says: > Conversion of a Pointer to a uintptr when calling syscall.Syscall. > > The Syscall functions in package syscall pass their uintptr arguments directly to the operating system, which then may, depending on the details of the call, reinterpret some of them as pointers. That is, the system call implementation is implicitly converting certain arguments back from uintptr to pointer. It talks about "the Syscall functions", but on Windows, there's also [Proc.Call](https://golang.org/pkg/syscall/?GOOS=windows#Proc.Call) and [LazyProc.Call](https://golang.org/pkg/syscall/?GOOS=windows#LazyProc.Call). **Q1:** Are these two functions "Syscall functions"? Strictly speaking, I would interpret "Syscall functions" to mean Syscall{,6,9,12,15,18}. Perhaps the docs should be clarified. **Q2:** Do functions have to be called directly, or are indirect calls allowed? The rule explicitly warns that conversions have to be performed directly in the argument list, but it doesn't say anything about indirect calls. **Q3:** For Proc.Call and LazyProc.Call, are direct calls via method expressions allowed? E.g., if `x.Call(uintptr(p), 0, 0)` is valid, then is `(*Proc).Call(x, uintptr(p), 0, 0)` also valid? Clarifying this is relevant to determining how far we need to go in fixing #34474. Incidentally, Q2 and Q3 also apply to rule 5. The status quo there is that cmd/compile safely handles `unsafe.Pointer(f(...))` for all `f(...)`, so we do allow indirect and method expression calls to reflect.Value.Pointer and reflect.Value.UnsafeAddr. /cc @rsc @ianlancetaylor
Proposal,Proposal-Hold
medium
Critical
502,310,688
flutter
Flutter driver test won't tap on empty GuestureDetector
I replaced the `FloatingActionButton` in the standard flutter example app (created with a driver test) with ``` floatingActionButton: SizedBox( height: 200, width: 200, child: GestureDetector( key: Key('target'), onTap: _incrementCounter, behavior: HitTestBehavior.translucent, // child: Container( // decoration: BoxDecoration(color: Color.fromARGB(0, 0, 0, 0)), // ), ), // This trailing comma makes auto-formatting nicer for build methods. ), ``` and the finder in the driver test with `SerializableFinder fab = find.byValueKey('target');` If I run the app, I can still click on the button and increment the counter, but if I run the driver test, it fails. However, if I uncomment the child container code above, the driver test passes. I think the driver should be able to tap on the GestureDetector when it's possible for a human to tap on it. My test app is here https://github.com/tarobins/driver_tap_bug
a: tests,tool,t: flutter driver,P3,team-tool,triaged-tool
low
Critical
502,331,792
pytorch
Allow one inferred axis in torch.split
## πŸš€ Feature Currently `split_with_sizes` expects to fully span the given dimension. Similar to `view()` it will be nice to allow `-1` to mean a split should be inferred. ## Motivation ```python import torch a = torch.arange(15).reshape(3,5) splits = torch.split(a, [1, 2, 2], 1) ``` In order to do a split `a` we must know its dimension before hand and pass `split_size_or_sections` to fully span `a`. ## Pitch It would be nice to be able to do: ```python import torch a = torch.arange(15).reshape(3,5) splits = torch.split(a, [1, 2, -1], 1) ``` Instead of: > RuntimeError: split_with_sizes expects split_sizes have only non-negative entries, but got split_sizes=[1, 2, -1] The last element could be inferred. ## Alternatives We can use `tensor.shape` and avoid `-1` but with the same reason that `-1` is more elegant in some scenarios of `view`, `-1` will be more elegant for `split`
triaged,enhancement
low
Critical
502,345,488
pytorch
[jit] `ScriptFunction`s are loaded as `ScriptModule`s
If you have a `ScriptFunction` and you save it, then load it in the resulting object is a `ScriptModule`, not a `ScriptFunction`. cc @suo
oncall: jit,triaged
low
Minor
502,358,528
flutter
Provide embedder sample project inside engine repo
Chinmay has a gist for embedding flutter using glfw: https://gist.github.com/chinmaygarde/8abf44921f7d87f6da7bf026267c4792 We should move that into flutter/engine and get a LUCI script that builds it to make sure that it is always up to date and compiling. We could create a CMake build file to make it easy for people to build and run locally without building the engine.
engine,d: examples,e: embedder,P2,team-engine,triaged-engine
low
Major
502,359,725
rust
Bounds on associated types prevent a trait from being dyn-compatible
[playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b33e91b1b5bbcc0de0a646cf9622f74c) ```rust trait Foo { type Bar: Other<Self::Bar>; } impl dyn Foo<Bar = ()> {} trait Other<T> {} impl<T> Other<T> for T {} ``` Doesn't compile with the error, ``` error[E0038]: the trait `Foo` cannot be made into an object --> src/lib.rs:5:6 | 5 | impl dyn Foo<Bar = ()> {} | ^^^^^^^^^^^^^^^^^ the trait `Foo` cannot be made into an object | = note: the trait cannot use `Self` as a type parameter in the supertraits or where-clauses ``` But this doesn't make sense, because `Self` (being the type erased thing in `dyn Foo`) is never referenced in *any* bound. `Self::Bar` is referenced, but this should be fine in a dyn-compatible[^1] trait because all associated types have to be specified to use the dyn-compatible trait (i.e. I can't do `dyn Foo` in this case). This can be seen in `Iterator` which is dyn-compatible. I think this should work and allow these sorts of bounds. Note that moving the bound to a function is perfectly fine as [seen here](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b58a544d26d330a36ec1f6d101c64a31), but not on associated types or the trait itself. I think this may be related to #27675 [^1]: Formerly known as "object safe".
A-trait-system,A-associated-items,T-lang,T-compiler,C-bug,A-trait-objects
low
Critical
502,365,576
youtube-dl
Site support request: Yelo Play
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2019.09.28. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2019.09.28** - [x] I've checked that all provided URLs are alive and playable in a browser - [ ] I've checked that none of provided URLs violate any copyrights - [ ] 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. --> https://www.yeloplay.be/series/romance/wtfock/season-1/episode-1 ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> Note: You need a login to access the videos.
site-support-request
low
Critical
502,635,913
youtube-dl
kuaishou
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2019.09.28. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2019.09.28** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that none of provided URLs violate any copyrights - [x] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs <!-- Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours. --> - Single video: http://m.gifshow.com/s/PiA9mAwT - Single video: https://live.kuaishou.com/u/Mary981182762?csr=true - Playlist: https://live.kuaishou.com/profile/Mary981182762 ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> I posted 2 links for an example. The first link is the result of copying from a mobile application (client for iOs), the second is a redirect of this link in the browser for the computer. A playlist is all the videos from this account, where the first video is a live stream (it is active at the time I send it) Β  Here is the link to the video stream that I received using debugging in the browser. This link is not directly on the page and it is calculated either by a flash player or a script. Perhaps the mobile version contains a direct link. Β  `https://ali-origin.pull.yximgs.com/gifshow/dWvg_fxrD9w.flv?auth_key=1570278505-0-0-04ee9c11e97bba67e2d4ca1c5ad925e2&oidc=alihb` Β  This link is downloaded by the youtube-dl without any problems (no additional authorization and cookies are required). Of course, it will not work after the end of the stream, and perhaps the key is individual for different IPs. Β  Β 
site-support-request
low
Critical
502,638,474
flutter
[Desktop] - Splash screen or background color customization
Internal: b/233627067 ## Use case For desktop support, it would be nice to have an easy way to configure a splash screen or a window background color (visible before Flutter first frame is rendered). ## Proposal Add properties in c++ code (win32_flutter_window.cc, flutter_glfw.cc, etc) or in a configuration file to make this customizable on desktop launchers. Launching Flutter on desktop is in early stage and is moving fast so feel free to close this feature request if it is too soon to ask for this. Edit by cbracken (2022-04-25): deduped against https://github.com/flutter/flutter/issues/82538. Add 78 thumbs-ups (and 23 hearts) to the total on this issue.
c: new feature,engine,platform-mac,platform-windows,customer: crowd,platform-linux,customer: google,a: desktop,P2,team-macos,triaged-macos
low
Critical
502,680,092
flutter
Creating a Podfile to add iOS pods before adding any Flutter plugins never hooks up the plugin pods in the existing Podfile
We are currently experiencing an issue where the flutter plugins (specifically, url_launcher) fails to compile during the Xcode build phase. It is related to the issue referenced here: https://github.com/flutter/flutter/issues/27893#issuecomment-463720629 When adding in "url_launcher: ^3.0.2" to the .yaml file and running the app on an iOS device, the build fails with the following output. ``` Running pod install... Running Xcode build... Xcode build done. 36.5s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug === /Users/majees3/Documents/Projects/TDI/tdi/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'url_launcher/UrlLauncherPlugin.h' file not found #import <url_launcher/UrlLauncherPlugin.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Could not build the precompiled application for the device. Error launching application on iPhone. ``` It appears that the issue can be resolved by downgrading to pods v1.5.3. However this is no longer supported by the current flutter version. Below is a copy of our .yaml file ``` # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^0.1.2 intl: ^0.15.7 provider: ^3.0.0+1 shrine_images: ^1.0.0 after_layout: ^1.0.7 flutter_section_table_view: ^1.0.5 auto_size_text: ^2.0.2 pull_to_refresh: ^1.5.3 url_launcher: ^3.0.2 td_ca_flutter_common_ui: path: ./td_ca_flutter_common_ui dev_dependencies: pedantic: ^1.5.0 flutter_screenutil: ^0.4.2 flutter_test: sdk: flutter ``` Flutter Doctor ``` [βœ“] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.6 18G95, locale en-CA) β€’ Flutter version 1.7.8+hotfix.3 at /Users/majees3/Software Packages/flutter β€’ Framework revision b712a172f9 (3 months ago), 2019-07-09 13:14:38 -0700 β€’ Engine revision 54ad777fd2 β€’ Dart version 2.4.0 [βœ“] Android toolchain - develop for Android devices (Android SDK version 28.0.3) β€’ Android SDK at /Users/majees3/Library/Android/sdk β€’ Android NDK at /Users/majees3/Library/Android/sdk/ndk-bundle β€’ 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-1136-b06) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 10.1) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Xcode 10.1, Build version 10B61 β€’ CocoaPods version 1.6.0 [βœ“] iOS tools - develop for iOS devices β€’ ios-deploy 1.9.4 [βœ“] Android Studio (version 3.2) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin version 31.3.1 β€’ Dart plugin version 181.5656 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [βœ“] VS Code (version 1.36.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.3.0 ``` ## Steps to Reproduce **Target Platform:** iOS **Target OS version/browser:** 12.1 **Devices:** iPhone 6S ## Logs Note: Comment was too long, it was shortened ``` [ +44 ms] executing: [/Users/ma/Software Packages/flutter/] git log -n 1 --pretty=format:%H [ +70 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] b712a172f9694745f50505c93340883493b505e5 [ ] executing: [/Users/ma/Software Packages/flutter/] git describe --match v*.*.* --first-parent --long --tags [ +25 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v1.7.8+hotfix.3-0-gb712a172f [ +14 ms] executing: [/Users/ma/Software Packages/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +22 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/Users/ma/Software Packages/flutter/] git ls-remote --get-url origin [ +25 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +62 ms] executing: [/Users/ma/Software Packages/flutter/] git rev-parse --abbrev-ref HEAD [ +25 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +263 ms] executing: /Users/ma/Library/Android/sdk/platform-tools/adb devices -l [ +15 ms] Exit code 0 from: /Users/ma/Library/Android/sdk/platform-tools/adb devices -l [ ] List of devices attached [ +5 ms] executing: idevice_id -h [ +196 ms] executing: which ideviceinstaller [ +7 ms] Exit code 0 from: which ideviceinstaller [ ] /usr/local/bin/ideviceinstaller [ ] executing: which iproxy [ +6 ms] Exit code 0 from: which iproxy [ ] /usr/local/bin/iproxy [ +4 ms] /usr/bin/xcrun simctl list --json devices [ +343 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +1 ms] 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. [ +106 ms] Found plugin url_launcher at /Users/ma/Software Packages/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3/ [ +55 ms] Found plugin url_launcher at /Users/ma/Software Packages/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3/ [ +59 ms] Launching lib/main.dart on iPhone in debug mode... [ +7 ms] executing: /usr/bin/defaults read /Users/ma/Documents/Projects/appI/appi/ios/Runner/Info CFBundleIdentifier [ +83 ms] Exit code 0 from: /usr/bin/defaults read /Users/ma/Documents/Projects/appI/appi/ios/Runner/Info CFBundleIdentifier [ ] $(PRODUCT_BUNDLE_IDENTIFIER) [ +11 ms] executing: idevicesyslog -u 7f9a0300abc6a60635ece9361cf1e3bcced9774e [ +4 ms] Building Runner.app for 7f9a0300abc6a60635ece9361cf1e3bcced9774e [ +105 ms] executing: [/Users/ma/Documents/Projects/appI/appi/ios/] /usr/bin/xcodebuild -list [+1575 ms] Information about project "Runner": Targets: Runner Build Configurations: Debug Release Profile If no build configuration is specified and -scheme is not passed then "Release" is used. Schemes: Runner [ +5 ms] executing: [/Users/ma/Documents/Projects/appI/appi/ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/ma/Documents/Projects/appI/appi/ios/Runner.xcodeproj -target Runner -showBuildSettings [+3250 ms] Exit code 0 from: /usr/bin/xcodebuild -project /Users/ma/Documents/Projects/appI/appi/ios/Runner.xcodeproj -target Runner -showBuildSettings [ ] Build settings for action build and target Runner: ACTION = build AD_HOC_CODE_SIGNING_ALLOWED = NO ALTERNATE_GROUP = staff ALTERNATE_MODE = u+w,go-w,a+rX ALTERNATE_OWNER = ma ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES ALWAYS_SEARCH_USER_PATHS = NO ALWAYS_USE_SEPARATE_HEADERMAPS = NO APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer APPLE_INTERNAL_DIR = /AppleInternal APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools APPLICATION_EXTENSION_API_ONLY = NO APPLY_RULES_IN_COPY_FILES = NO ARCHS = armv7 arm64 ARCHS_STANDARD = armv7 arm64 ARCHS_STANDARD_32_64_BIT = armv7 arm64 ARCHS_STANDARD_32_BIT = armv7 ARCHS_STANDARD_64_BIT = arm64 ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64 ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator BITCODE_GENERATION_MODE = marker BUILD_ACTIVE_RESOURCES_ONLY = NO BUILD_COMPONENTS = headers build BUILD_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products BUILD_ROOT = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products BUILD_STYLE = BUILD_VARIANTS = normal BUILT_PRODUCTS_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos CACHE_ROOT = /var/folders/jd/1nbhc9_s4m3dtq01_34jp78m0000gn/C/com.apple.Develo perTools/10.1-10B61/Xcode CCHROOT = /var/folders/jd/1nbhc9_s4m3dtq01_34jp78m0000gn/C/com.apple.Develo perTools/10.1-10B61/Xcode CHMOD = /bin/chmod CHOWN = /usr/sbin/chown CLANG_ANALYZER_NONNULL = YES CLANG_CXX_LANGUAGE_STANDARD = gnu++0x CLANG_CXX_LIBRARY = libc++ CLANG_ENABLE_MODULES = YES CLANG_ENABLE_OBJC_ARC = YES CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES CLANG_WARN_BOOL_CONVERSION = YES CLANG_WARN_COMMA = YES CLANG_WARN_CONSTANT_CONVERSION = YES CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR CLANG_WARN_EMPTY_BODY = YES CLANG_WARN_ENUM_CONVERSION = YES CLANG_WARN_INFINITE_RECURSION = YES CLANG_WARN_INT_CONVERSION = YES CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES CLANG_WARN_OBJC_LITERAL_CONVERSION = YES CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR CLANG_WARN_RANGE_LOOP_ANALYSIS = YES CLANG_WARN_STRICT_PROTOTYPES = YES CLANG_WARN_SUSPICIOUS_MOVE = YES CLANG_WARN_UNREACHABLE_CODE = YES CLANG_WARN__DUPLICATE_METHOD_MATCH = YES CLASS_FILE_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/JavaClasses CLEAN_PRECOMPS = YES CLONE_HEADERS = NO CODESIGNING_FOLDER_PATH = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/Runner.app CODE_SIGNING_ALLOWED = YES CODE_SIGNING_REQUIRED = YES CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext CODE_SIGN_IDENTITY = iPhone Developer CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES COLOR_DIAGNOSTICS = NO COMBINE_HIDPI_IMAGES = NO COMPILER_INDEX_STORE_ENABLE = Default COMPOSITE_SDK_DIRS = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/CompositeSDKs COMPRESS_PNG_FILES = YES CONFIGURATION = Release CONFIGURATION_BUILD_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos CONFIGURATION_TEMP_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos CONTENTS_FOLDER_PATH = Runner.app COPYING_PRESERVES_HFS_DATA = NO COPY_HEADERS_RUN_UNIFDEF = NO COPY_PHASE_STRIP = NO COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimula tor.platform CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimula tor.platform/Developer/SDKs/iPhoneSimulator12.1.sdk CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator12.1 CP = /bin/cp CREATE_INFOPLIST_SECTION_IN_BINARY = NO CURRENT_ARCH = arm64 CURRENT_VARIANT = normal DEAD_CODE_STRIPPING = YES DEBUGGING_SYMBOLS = YES DEBUG_INFORMATION_FORMAT = dwarf-with-dsym DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0 DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions DEFINES_MODULE = NO DEPLOYMENT_LOCATION = NO DEPLOYMENT_POSTPROCESSING = NO DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min= DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 DERIVED_FILES_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/DerivedSources DERIVED_FILE_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/DerivedSources DERIVED_SOURCES_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/DerivedSources DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platf orm/Developer/SDKs DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr DEVELOPMENT_LANGUAGE = English DEVELOPMENT_TEAM = NCM3L4QUDC DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation DO_HEADER_SCANNING_IN_JAM = NO DSTROOT = /tmp/Runner.dst DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefaul t.xctoolchain DWARF_DSYM_FILE_NAME = Runner.app.dSYM DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO DWARF_DSYM_FOLDER_PATH = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos EFFECTIVE_PLATFORM_NAME = -iphoneos EMBEDDED_CONTENT_CONTAINS_SWIFT = NO EMBEDDED_PROFILE_NAME = embedded.mobileprovision EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO ENABLE_BITCODE = NO ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES ENABLE_HEADER_DEPENDENCIES = YES ENABLE_NS_ASSERTIONS = NO ENABLE_ON_DEMAND_RESOURCES = YES ENABLE_STRICT_OBJC_MSGSEND = YES ENABLE_TESTABILITY = NO ENTITLEMENTS_ALLOWED = YES ENTITLEMENTS_DESTINATION = Signature ENTITLEMENTS_REQUIRED = YES EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj EXECUTABLES_FOLDER_PATH = Runner.app/Executables EXECUTABLE_FOLDER_PATH = Runner.app EXECUTABLE_NAME = Runner EXECUTABLE_PATH = Runner.app/Runner EXPANDED_CODE_SIGN_IDENTITY = EXPANDED_CODE_SIGN_IDENTITY_NAME = EXPANDED_PROVISIONING_PROFILE = FILE_LIST = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/Objects/LinkFileList FIXED_FILES_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/FixedFiles FLUTTER_ROOT = /Users/ma/Software Packages/flutter FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks FRAMEWORK_FLAG_PREFIX = -framework FRAMEWORK_SEARCH_PATHS = "/Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdg ikkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/IQKeyboard ManagerSwift" "/Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdg ikkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/IQKeyboard ManagerSwift" /Users/ma/Documents/Projects/appI/appi/ios/Flutter FRAMEWORK_VERSION = A FULL_PRODUCT_NAME = Runner.app GCC3_VERSION = 3.3 GCC_C_LANGUAGE_STANDARD = gnu99 GCC_INLINES_ARE_PRIVATE_EXTERN = YES GCC_NO_COMMON_BLOCKS = YES GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++ GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 COCOAPODS=1 GCC_SYMBOLS_PRIVATE_EXTERN = YES GCC_THUMB_SUPPORT = YES GCC_TREAT_WARNINGS_AS_ERRORS = NO GCC_VERSION = com.apple.compilers.llvm.clang.1_0 GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0 GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR GCC_WARN_UNDECLARED_SELECTOR = YES GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE GCC_WARN_UNUSED_FUNCTION = YES GCC_WARN_UNUSED_VARIABLE = YES GENERATE_MASTER_OBJECT_FILE = NO GENERATE_PKGINFO_FILE = YES GENERATE_PROFILING_CODE = NO GENERATE_TEXT_BASED_STUBS = NO GID = 20 GROUP = staff HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES HEADERMAP_INCLUDES_PROJECT_HEADERS = YES HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES HEADERMAP_USES_VFS = NO HEADER_SEARCH_PATHS = "/Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdg ikkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/IQKeyboard ManagerSwift/IQKeyboardManagerSwift.framework/Headers" "/Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdg ikkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/IQKeyboard ManagerSwift/IQKeyboardManagerSwift.framework/Headers" HIDE_BITCODE_SYMBOLS = YES HOME = /Users/ma ICONV = /usr/bin/iconv INFOPLIST_EXPAND_BUILD_SETTINGS = YES INFOPLIST_FILE = Runner/Info.plist INFOPLIST_OUTPUT_FORMAT = binary INFOPLIST_PATH = Runner.app/Info.plist INFOPLIST_PREPROCESS = NO INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings INLINE_PRIVATE_FRAMEWORKS = NO INSTALLHDRS_COPY_PHASE = NO INSTALLHDRS_SCRIPT_PHASE = NO INSTALL_DIR = /tmp/Runner.dst/Applications INSTALL_GROUP = staff INSTALL_MODE_FLAG = u+w,go-w,a+rX INSTALL_OWNER = ma INSTALL_PATH = /Applications INSTALL_ROOT = /tmp/Runner.dst IPHONEOS_DEPLOYMENT_TARGET = 10.0 JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8 JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaA pplicationStub JAVA_ARCHIVE_CLASSES = YES JAVA_ARCHIVE_TYPE = JAR JAVA_COMPILER = /usr/bin/javac JAVA_FOLDER_PATH = Runner.app/Java JAVA_FRAMEWORK_RESOURCES_DIRS = Resources JAVA_JAR_FLAGS = cv JAVA_SOURCE_SUBDIR = . JAVA_USE_DEPENDENCIES = YES JAVA_ZIP_FLAGS = -urg JIKES_DEFAULT_FLAGS = +E +OLDCSO KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow KEEP_PRIVATE_EXTERNS = NO LD_DEPENDENCY_INFO_FILE = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependenc y_info.dat LD_GENERATE_MAP_FILE = NO LD_MAP_FILE_PATH = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt LD_NO_PIE = NO LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Con tents/SharedSupport/Developer LEX = lex LIBRARY_FLAG_NOSPACE = YES LIBRARY_FLAG_PREFIX = -l LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions LIBRARY_SEARCH_PATHS = /Users/ma/Documents/Projects/appI/appi/ios/Flutter LINKER_DISPLAYS_MANGLED_NAMES = NO LINK_FILE_LIST_normal_arm64 = LINK_FILE_LIST_normal_armv7 = LINK_WITH_STANDARD_LIBRARIES = YES LOCALIZABLE_CONTENT_DIR = LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString LOCAL_ADMIN_APPS_DIR = /Applications/Utilities LOCAL_APPS_DIR = /Applications LOCAL_DEVELOPER_DIR = /Library/Developer LOCAL_LIBRARY_DIR = /Library LOCROOT = LOCSYMROOT = MACH_O_TYPE = mh_execute MAC_OS_X_PRODUCT_BUILD_VERSION = 18G95 MAC_OS_X_VERSION_ACTUAL = 101406 MAC_OS_X_VERSION_MAJOR = 101400 MAC_OS_X_VERSION_MINOR = 1406 METAL_LIBRARY_FILE_BASE = default METAL_LIBRARY_OUTPUT_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/Runner.app MODULE_CACHE_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/ModuleCache.no index MTL_ENABLE_DEBUG_INFO = NO NATIVE_ARCH = armv7 NATIVE_ARCH_32_BIT = i386 NATIVE_ARCH_64_BIT = x86_64 NATIVE_ARCH_ACTUAL = x86_64 NO_COMMON = YES OBJECT_FILE_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/Objects OBJECT_FILE_DIR_normal = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/Objects-normal OBJROOT = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex ONLY_ACTIVE_ARCH = NO OS = MACOS OSAC = /usr/bin/osacompile OTHER_LDFLAGS = -framework "CoreGraphics" -framework "Foundation" -framework "IQKeyboardManagerSwift" -framework "QuartzCore" -framework "UIKit" -framework "CoreGraphics" -framework "Foundation" -framework "IQKeyboardManagerSwift" -framework "QuartzCore" -framework "UIKit" OTHER_SWIFT_FLAGS = -D COCOAPODS -D COCOAPODS PACKAGE_TYPE = com.apple.package-type.wrapper.application PASCAL_STRINGS = YES PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin :/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/ tools:/Library/Frameworks/Mono.framework/Versions/Current/Command s:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/ma/.rvm /bin:/Users/ma/Software Packages/flutter/bin PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist PFE_FILE_C_DIALECTS = objective-c PKGINFO_FILE_PATH = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/PkgInfo PKGINFO_PATH = Runner.app/PkgInfo PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform/Developer/Applications PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform/Developer/usr/bin PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Con tents/SharedSupport/Developer/Library PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform/Developer/SDKs PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform/Developer/Tools PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform/Developer/usr PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform PLATFORM_DISPLAY_NAME = iOS PLATFORM_NAME = iphoneos PLATFORM_PREFERRED_ARCH = arm64 PLATFORM_PRODUCT_BUILD_VERSION = 16B91 PLIST_FILE_OUTPUT_FORMAT = binary PLUGINS_FOLDER_PATH = Runner.app/PlugIns PODS_BUILD_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products PODS_CONFIGURATION_BUILD_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos PODS_PODFILE_DIR_PATH = /Users/ma/Documents/Projects/appI/appi/ios/. PODS_ROOT = /Users/ma/Documents/Projects/appI/appi/ios/Pods PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES PRECOMP_DESTINATION_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/PrefixHeaders PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders PRODUCT_BUNDLE_IDENTIFIER = appi.app.com.appi PRODUCT_MODULE_NAME = Runner PRODUCT_NAME = Runner PRODUCT_SETTINGS_PATH = /Users/ma/Documents/Projects/appI/appi/ios/Runner/Info.plist PRODUCT_TYPE = com.apple.product-type.application PROFILING_CODE = NO PROJECT = Runner PROJECT_DERIVED_FILE_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/De rivedSources PROJECT_DIR = /Users/ma/Documents/Projects/appI/appi/ios PROJECT_FILE_PATH = /Users/ma/Documents/Projects/appI/appi/ios/Runner.xcodeproj PROJECT_NAME = Runner PROJECT_TEMP_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build PROJECT_TEMP_ROOT = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex PROVISIONING_PROFILE_REQUIRED = YES PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES REMOVE_CVS_FROM_RESOURCES = YES REMOVE_GIT_FROM_RESOURCES = YES REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES REMOVE_HG_FROM_RESOURCES = YES REMOVE_SVN_FROM_RESOURCES = YES RESOURCE_RULES_REQUIRED = YES REZ_COLLECTOR_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/ResourceManagerResources REZ_OBJECTS_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re lease-iphoneos/Runner.build/ResourceManagerResources/Objects SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO SCRIPTS_FOLDER_PATH = Runner.app/Scripts SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform/Developer/SDKs/iPhoneOS12.1.sdk SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform/Developer/SDKs/iPhoneOS12.1.sdk SDK_DIR_iphoneos12_1 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla tform/Developer/SDKs/iPhoneOS12.1.sdk SDK_NAME = iphoneos12.1 SDK_NAMES = iphoneos12.1 SDK_PRODUCT_BUILD_VERSION = 16B91 SDK_VERSION = 12.1 SDK_VERSION_ACTUAL = 120100 SDK_VERSION_MAJOR = 120000 SDK_VERSION_MINOR = 100 SED = /usr/bin/sed SEPARATE_STRIP = NO SEPARATE_SYMBOL_EDIT = NO SET_DIR_MODE_OWNER_GROUP = YES SET_FILE_MODE_OWNER_GROUP = NO SHALLOW_BUNDLE = YES SHARED_DERIVED_FILE_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/DerivedSour ces SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks SHARED_PRECOMPS_DIR = /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/PrecompiledHead ers SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport SKIP_INSTALL = NO SOURCE_ROOT = /Users/ma/Documents/Projects/appI/appi/ios SRCROOT = /Users/ma/Documents/Projects/appI/appi/ios STRINGS_FILE_OUTPUT_ENCODING = binary STRIP_BITCODE_FROM_COPIED_FILES = YES STRIP_INSTALLED_PRODUCT = YES STRIP_STYLE = all STRIP_SWIFT_SYMBOLS = YES SUPPORTED_DEVICE_FAMILIES = 1,2 SUPPORTED_PLATFORMS = iphonesimulator iphoneos SUPPORTS_TEXT_BASED_API = NO SWIFT_COMPILATION_MODE = wholemodule SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h SWIFT_OPTIMIZATION_LEVEL = -O SWIFT_PLATFORM_TARGET_PREFIX = ios SWIFT_SWIFT3_OBJC_INFERENCE = Off SWIFT_VERSION = 4.0 ………. PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.plat form/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bi n:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~ /.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Comma nds:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/ma/.rvm/bin:/U sers/ma/Software Packages/flutter/bin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoo lchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -sapp=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/ma/Library/Developer/Xcode/DerivedData/ ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/ma/Library/Developer/Xcode/DerivedData/ ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DCOCOAPODS=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot #0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3) #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:475:7) <asynchronous suspension> #2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:478:18) <asynchronous suspension> #3 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:383:33) <asynchronous suspension> #4 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29) <asynchronous suspension> #5 _rootRun (dart:async/zone.dart:1124:13) #6 _CustomZone.run (dart:async/zone.dart:1021:19) #7 _runZoned (dart:async/zone.dart:1516:10) #8 runZoned (dart:async/zone.dart:1463:12) #9 AppContext.run (package:flutter_tools/src/base/context.dart:152:18) <asynchronous suspension> #10 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:375:20) #11 CommandRunner.runCommand (package:args/command_runner.dart:197:27) <asynchronous suspension> #12 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:396:21) <asynchronous suspension> #13 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29) <asynchronous suspension> #14 _rootRun (dart:async/zone.dart:1124:13) #15 _CustomZone.run (dart:async/zone.dart:1021:19) #16 _runZoned (dart:async/zone.dart:1516:10) #17 runZoned (dart:async/zone.dart:1463:12) #18 AppContext.run (package:flutter_tools/src/base/context.dart:152:18) <asynchronous suspension> #19 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19) <asynchronous suspension> #20 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25) #21 new Future.sync (dart:async/future.dart:224:31) #22 CommandRunner.run (package:args/command_runner.dart:112:14) #23 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18) #24 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:22) <asynchronous suspension> #25 _rootRun (dart:async/zone.dart:1124:13) #26 _CustomZone.run (dart:async/zone.dart:1021:19) #27 _runZoned (dart:async/zone.dart:1516:10) #28 runZoned (dart:async/zone.dart:1500:12) #29 run.<anonymous closure> (package:flutter_tools/runner.dart:60:18) <asynchronous suspension> #30 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29) <asynchronous suspension> #31 _rootRun (dart:async/zone.dart:1124:13) #32 _CustomZone.run (dart:async/zone.dart:1021:19) #33 _runZoned (dart:async/zone.dart:1516:10) #34 runZoned (dart:async/zone.dart:1463:12) #35 AppContext.run (package:flutter_tools/src/base/context.dart:152:18) <asynchronous suspension> #36 runInContext (package:flutter_tools/src/context_runner.dart:56:24) <asynchronous suspension> #37 run (package:flutter_tools/runner.dart:51:10) #38 main (package:flutter_tools/executable.dart:62:9) <asynchronous suspension> #39 main (file:///Users/ma/Software%20Packages/flutter/packages/flutter_tools/bin/fl utter_tools.dart:8:3) #40 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32) #41 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) ``` Note: There are analysis issues - the app works with these "issues" (DateFormat is declared and present). This should be logged as a bug in another ticket. ``` Analyzing app… info β€’ The class '_SliverHeaderDelegate' isn't used β€’ lib/extensions/sliver_extensions.dart:3:7 β€’ unused_element info β€’ Unused import: 'package:app_ca_flutter_common_ui/widgets/emerald/emerald_error.dart' β€’ lib/interactor/profile_interactor.dart:2:8 β€’ unused_import info β€’ Unused import: 'dart:ui' β€’ lib/res/colours.dart:1:8 β€’ unused_import info β€’ Unused import: 'dart:ui' β€’ lib/strings/native_routes.dart:1:8 β€’ unused_import error β€’ Target of URI doesn't exist: 'package:intl/intl.dart' β€’ app_ca_flutter_common_ui/lib/widgets/emerald/emerald_date_row.dart:1:8 β€’ uri_does_not_exist error β€’ The method 'DateFormat' isn't defined for the class 'EmeraldDateRow' β€’ app_ca_flutter_common_ui/lib/widgets/emerald/emerald_date_row.dart:22:23 β€’ undefined_method error β€’ The method 'DateFormat' isn't defined for the class 'EmeraldDateFormText' β€’ app_ca_flutter_common_ui/lib/widgets/emerald/emerald_date_row.dart:41:23 β€’ undefined_method info β€’ Duplicate import β€’ app_ca_flutter_common_ui/lib/widgets/emerald/emerald_row.dart:5:8 β€’ duplicate_import 8 issues found. (ran in 2.9s) ``` <!-- Finally, paste the output of running `flutter doctor -v` here. --> ``` [βœ“] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.6 18G95, locale en-CA) β€’ Flutter version 1.7.8+hotfix.3 at /Users/majees3/Software Packages/flutter β€’ Framework revision b712a172f9 (3 months ago), 2019-07-09 13:14:38 -0700 β€’ Engine revision 54ad777fd2 β€’ Dart version 2.4.0 [βœ“] Android toolchain - develop for Android devices (Android SDK version 28.0.3) β€’ Android SDK at /Users/majees3/Library/Android/sdk β€’ Android NDK at /Users/majees3/Library/Android/sdk/ndk-bundle β€’ 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-1136-b06) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 10.1) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Xcode 10.1, Build version 10B61 β€’ CocoaPods version 1.6.0 [βœ“] iOS tools - develop for iOS devices β€’ ios-deploy 1.9.4 [βœ“] Android Studio (version 3.2) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin version 31.3.1 β€’ Dart plugin version 181.5656 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [βœ“] VS Code (version 1.36.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.3.0 ```
platform-ios,tool,t: xcode,P3,team-ios,triaged-ios
medium
Critical
502,681,318
flutter
Plugins are displayed as modules in Android Studio [existing app as module]
*@Sese-Schneider commented on Oct 3, 2019, 10:24 AM UTC:* ## Steps to Reproduce 1. Add a flutter project _with plugins_ to an existing android app as described [here (as module)](https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps#2-depend-on-the-modules-source-code) 2. Open the existing android app in Android Studio 3. Sync files with gradle 4. All plugins (in cache) will appear as separate modules in Android Studio, the changes are saved in `.idea/modules.xml` (existing app) 5. Even after removing the modules from this file, after the next gradle sync they are added back. Please change the sync in a way plugins are not added to modules. ## Examples `modules.xml` ``` <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> <module fileurl="file://$PROJECT_DIR$/international.iml" filepath="$PROJECT_DIR$/international.iml" /> <module fileurl="file://$PROJECT_DIR$/flutter/.android/Flutter/flutter.iml" filepath="$PROJECT_DIR$/flutter/.android/Flutter/flutter.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cloud_firestore-0.12.9+4/android/cloud_firestore.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cloud_firestore-0.12.9+4/android/cloud_firestore.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/git/plugins-71e809bd88c937dd480620d6a3610e48293018fc/packages/firebase_analytics/android/firebase_analytics.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/git/plugins-71e809bd88c937dd480620d6a3610e48293018fc/packages/firebase_analytics/android/firebase_analytics.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_auth-0.14.0+5/android/firebase_auth.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_auth-0.14.0+5/android/firebase_auth.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_core-0.4.0+8/android/firebase_core.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_core-0.4.0+8/android/firebase_core.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_performance-0.3.0+5/android/firebase_performance.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_performance-0.3.0+5/android/firebase_performance.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_remote_config-0.2.0+7/android/firebase_remote_config.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_remote_config-0.2.0+7/android/firebase_remote_config.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_storage-3.0.6/android/firebase_storage.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_storage-3.0.6/android/firebase_storage.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_full_pdf_viewer-1.0.5/android/flutter_full_pdf_viewer.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_full_pdf_viewer-1.0.5/android/flutter_full_pdf_viewer.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_inapp_purchase-1.0.1/android/flutter_inapp_purchase.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_inapp_purchase-1.0.1/android/flutter_inapp_purchase.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/google_sign_in-4.0.6/android/google_sign_in.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/google_sign_in-4.0.6/android/google_sign_in.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path_provider-1.3.0/android/path_provider.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path_provider-1.3.0/android/path_provider.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/purchases_flutter-0.3.2/android/purchases_flutter.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/purchases_flutter-0.3.2/android/purchases_flutter.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/sqflite-1.1.6+4/android/sqflite.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/sqflite-1.1.6+4/android/sqflite.iml" /> <module fileurl="file://$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/url_launcher-5.1.2/android/url_launcher.iml" filepath="$USER_HOME$/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/url_launcher-5.1.2/android/url_launcher.iml" /> </modules> </component> </project> ``` Screenshots: [![](https://camo.githubusercontent.com/f5d771353507954a99ea3eef8800da9c3ec219a0/68747470733a2f2f736373686f742e6465657073706163652e6f6e6c2f62313262326233642d616361642d346332612d393237652d6563366539386563313661362e706e67)](https://camo.githubusercontent.com/f5d771353507954a99ea3eef8800da9c3ec219a0/68747470733a2f2f736373686f742e6465657073706163652e6f6e6c2f62313262326233642d616361642d346332612d393237652d6563366539386563313661362e706e67) [![](https://camo.githubusercontent.com/be1e8ea48a36ad84e120ccb4ff9ee57f7d3ec8ec/68747470733a2f2f736373686f742e6465657073706163652e6f6e6c2f30333465323062612d653333352d346361382d383138382d3863306562333437356135342e706e67)](https://camo.githubusercontent.com/be1e8ea48a36ad84e120ccb4ff9ee57f7d3ec8ec/68747470733a2f2f736373686f742e6465657073706163652e6f6e6c2f30333465323062612d653333352d346361382d383138382d3863306562333437356135342e706e67) ## Logs ``` [√] Flutter (Channel master, v1.10.8-pre.21, on Microsoft Windows [Version 10.0.18980.1], locale en-US) β€’ Flutter version 1.10.8-pre.21 at X:\Flutter β€’ Framework revision fa7340a328 (11 hours ago), 2019-10-02 19:04:50 -0400 β€’ Engine revision 73dd5a33d9 β€’ Dart version 2.6.0 (build 2.6.0-dev.4.0 eaf1c308ab) [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2) β€’ Android SDK at X:\SDK β€’ Android NDK location not configured (optional; useful for native profiling support) β€’ Platform android-29, build-tools 29.0.2 β€’ ANDROID_HOME = X:\SDK β€’ Java binary at: X:\Android Studio\jre\bin\java β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03) β€’ All Android licenses accepted. [√] Android Studio (version 3.5) β€’ Android Studio at X:\Android Studio β€’ Flutter plugin version 40.0.2 β€’ Dart plugin version 191.8423 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03) [√] IntelliJ IDEA Ultimate Edition (version 2019.1) β€’ IntelliJ at X:\JetBrains\IntelliJ IDEA β€’ Flutter plugin version 37.0.3 β€’ Dart plugin version 191.7830 [√] Connected device (1 available) β€’ ONEPLUS A5000 β€’ 92948006 β€’ android-arm64 β€’ Android 9 (API 28) β€’ No issues found! ``` *This issue was moved by [stevemessick](https://github.com/stevemessick) from [flutter/flutter-intellij#3930](https://github.com/flutter/flutter-intellij/issues/3930).*
tool,a: existing-apps,P3,team-tool,triaged-tool
low
Major
502,689,569
rust
A single method to rotate slices or vecs
Hello, I know there's already 2 methods to rotate slices or vec (rotate_right and rotate_left). But they both accept unsigned numbers exclusively. Why not a single method which could accept a signed number ? A positive number would turn to the right and a negative one to the left
T-libs-api,C-feature-request
low
Major
502,721,890
godot
LightOccluder2D lets light through on Android when using GLES2
**Godot version:** 3.1.1 **OS/device including version:** Win 10 / Android. Xiaomi Pocophone F1 **Issue description:** When exporting to Android using GLES2, LightOccluder2D lets through light as seen in the picture below. The light is displayed correctly when switching to GLES3. ![light bug](https://user-images.githubusercontent.com/3285214/66222431-0f3d4780-e6c9-11e9-971f-51eaa06c0caf.png) Expected result (On Windows using GLES2/3, using GLES3 on Android) ![expected](https://user-images.githubusercontent.com/3285214/66222523-401d7c80-e6c9-11e9-9c49-341c6342dc58.PNG) **Steps to reproduce:** Using a Light2D with shadows with a LightOccluder2D. Export to Android with GLES2.
bug,platform:android,topic:rendering,confirmed,topic:2d
low
Critical
502,727,846
terminal
Add a setting to manually set the Pane highlight color
Follow up from #994 and PR:#3060 In the aforementioned PR, we're just using the accent color for highlighting the pane. We should let that be a customizable global setting. Questions: * There's been discussion before about allowing custom theming, hypothetically powered by XAML. Would we want to wait for that discussion to be had before we do this? - We'd probably want to change it from using `SystemAccentColor` to some `FocusedPaneBorder` color resource, that we define by default to be `SystemAccentColor`, should we decide to pursue this option - If we do want to do this in XAML later, would enabling it in the json _now_ negatively impact that future scenario?
Area-Settings,Product-Terminal,Issue-Task,Area-Theming
medium
Major
502,728,447
storybook
[addon-docs] Deep linking to "kind" in JSDoc comments
**Is your feature request related to a problem? Please describe.** In JSDocs for components, we may want to link to another component but it seems the "selectedKind" syntax may not work nicely when specifying `|` characters, like so: ```js /** * See other component {@link /?selectedKind=Header|Menu | Header Menu} */ /** * See other component [Component](/?selectedKind=Header|Menu) */ ``` The `@link` JSDoc will not translate to a link anyway, so perhaps that's out-of-scope for this request. The syntax is also a bit awkward, it would be great to take a page out of something like [TypeDoc](https://typedoc.org/guides/doccomments/#symbol-references) and support a shorthand: ```js /** * See other component [[Header|Menu]] */ ``` The main issue is the pipe (`|`) character again, as it denotes what the link text will be vs. the path. The approach probably also needs to take into account props table documentation, not just component documentation. **Describe the solution you'd like** Somehow being able to translate the kind syntax to something compatible with `@link` or a shorthand notation. It should *ideally* link to the `/docs/` path, not the raw story, since this is within the `addon-docs` context. ```js /** * See other component [[Header|Menu]] */ ``` This would render: ``` See other component <a href="?path=/docs/header-menu--*">Header | Menu</a> ``` If it were able to perhaps detect the exported `component` tied to the stories, you could use the component type itself: ```js export default { title: "Header | Menu", component: HeaderMenu } /** * See other component [[HeaderMenu]] */ ``` Storybook build would fail when component/kind doesn't match any known values, to ensure links are kept up-to-date. **Describe alternatives you've considered** You can kind of work around this in an awkward fashion by encoding the pipe using `%7C` and spaces with `%20`: ```js /** * See [Menu](/?selectedKind=Header%7CMenu) */ ``` This links to the stories, not the docs and it loses any benefits of potential warnings/checks of broken component links. **Are you able to assist bring the feature to reality?** Maybe **Additional context** Using the workaround looks like this when rendered: ![image](https://user-images.githubusercontent.com/563819/66223492-3c720180-e699-11e9-80a3-162070b624cb.png)
feature request,addon: docs
low
Critical
502,736,610
terminal
Add a setting to manually set the Pane border width
Follow up from #994 and PR:#3060 In the aforementioned PR, we're hardcoding the border width to `2`. This should really be configurable to any positive `double`. Questions: * _(Similar to the discussion in #3061)_ There's been discussion before about allowing custom theming, hypothetically powered by XAML. Would we want to wait for that discussion to be had before we do this? - If we do want to do this in XAML later, would enabling it in the json now negatively impact that future scenario?
Help Wanted,Area-UserInterface,Area-Settings,Product-Terminal,Issue-Task
low
Major
502,783,369
flutter
Fix and re-enable EmbedderTest.CanLaunchAndShutdownMultipleTimes.
engine,P2,team-engine,triaged-engine
low
Minor
502,786,703
flutter
Use libdispatch for concurrent workqueues on Darwin.
engine,P2,team-engine,triaged-engine
low
Minor
502,788,274
TypeScript
bind, call and apply do not work on unions of function types with different return types.
<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 3.6.3 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** call, bind, apply, function, functions, Function.prototype.call, Function.prototype.apply, Function.prototype.bind, union, return, this, strictBindCallApply **Code** ```ts type aFn = (this: string, value: string) => string; type bFn = (this: string, value: string) => Promise<string>; function callFn(callback: aFn | bFn): Promise<string> | string { return callback.call("hello", "world"); } function applyFn(callback: aFn | bFn): Promise<string> | string { return callback.apply("hello", ["world"]); } function bindFn(callback: aFn | bFn): () => Promise<string> | string { return callback.bind("hello", "world"); } ``` **Expected behavior:** Code compiles. The types in this code are equivalent to the types in the following example, which does compile: ```ts type cFn = (this: string, value: string) => string | Promise<string>; function callFn1(callback: cFn): Promise<string> | string { return callback.call("hello", "world"); } function applyFn1(callback: cFn): Promise<string> | string { return callback.apply("hello", ["world"]); } function bindFn1(callback: cFn): () => Promise<string> | string { return callback.bind("hello", "world"); } ``` The only difference between the two examples is that the first uses a type union of function types `aFn` and `bFn`, which only differ in terms of return value, whereas the second uses a type union in the return value of `cFn`. In other words I think the union of type `aFn` and `bFn` should behave the same as type `cFn`. ```ts type aFn = (this: string, value: string) => string; type bFn = (this: string, value: string) => Promise<string>; type cFn = (this: string, value: string) => string | Promise<string>; ``` **Actual behavior:** ``` example.ts(5,12): error TS2684: The 'this' context of type 'aFn | bFn' is not assignable to method's 'this' of type '(this: "hello", args_0: string) => string'. Type 'bFn' is not assignable to type '(this: "hello", args_0: string) => string'. Type 'Promise<string>' is not assignable to type 'string'. example.ts(9,12): error TS2684: The 'this' context of type 'aFn | bFn' is not assignable to method's 'this' of type '(this: "hello", value: string) => string'. Type 'bFn' is not assignable to type '(this: "hello", value: string) => string'. Type 'Promise<string>' is not assignable to type 'string'. example.ts(13,12): error TS2769: No overload matches this call. Overload 1 of 6, '(this: (this: "hello", arg0: "world") => string, thisArg: "hello", arg0: "world"): () => string', gave the following error. The 'this' context of type 'aFn | bFn' is not assignable to method's 'this' of type '(this: "hello", arg0: "world") => string'. Type 'bFn' is not assignable to type '(this: "hello", arg0: "world") => string'. Type 'Promise<string>' is not assignable to type 'string'. Overload 2 of 6, '(this: (this: "hello", ...args: "world"[]) => string, thisArg: "hello", ...args: "world"[]): (...args: "world"[]) => string', gave the following error. The 'this' context of type 'aFn | bFn' is not assignable to method's 'this' of type '(this: "hello", ...args: "world"[]) => string'. Type 'bFn' is not assignable to type '(this: "hello", ...args: "world"[]) => string'. Type 'Promise<string>' is not assignable to type 'string'. ``` **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> https://www.typescriptlang.org/play/index.html?ssl=30&ssc=2&pln=1&pc=1#code/PTAEBcAsFMGdtNAHgQwLYAcA2dQBMB7UAOwPFAHcCAnAawChwBPDBFAMWNAF5QAKKAEtYALlCxw1QcQDmAGlAA3FFgCu0MRKmyAlDwB84ydJkBuRiwQAjTj35DRR7fKUr1m47oOgACtQJowtAAPFom+ub0AGaqxADG4IIEXHEqWJx8qVhYVihxtGIcXAA+oDbEOmJ+AUGhnjKGpWGyoADe9KCdoNTQ4KrUKWm5+QB0WVh8AEQw2QSTCpNU1Fh4kzrmAL700bEJSVwoGNhMGePDBaBFoKXllb7+gfB1zo1OJm0dXT19A6BnebQRodjlMZlg5goANqLGgrSYAXXW9C2O3iiWSZWkeFOQwBhVsN04dz4em4hmqjxCzQa1zeLXaXW6vX6g2y5xGVixoOgs3moBhy1WSJRIAgMHgiFQmBw+CISwYzFYf1svAEkGEHmcCmUag0dJkpMM1NpFNq1Ii2xiaP2fzSnAAjJlcfkxHEiVUHmb6q9jQyvszfv9RuNubyFks4cLLbt0QcjlgTsRHUGLm6Kh6ak9zbTfZ9Ot8Wba2QCgfGmKHwXzoRHVojNtHrRjOcRsUmncWXcr0-xDfdM1TvTn6h9GQXA87Ac28BWIfya2tNkA **Related Issues:** <!-- Did you find other bugs that looked similar? --> - https://github.com/microsoft/TypeScript/pull/27028 - https://github.com/microsoft/TypeScript/issues/29312 - https://github.com/microsoft/TypeScript/pull/30520
Suggestion,Awaiting More Feedback
low
Critical
502,808,935
youtube-dl
[niconico] Support for HLS-only videos
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2019.09.28. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Search the bugtracker for similar site feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a site feature request - [x] I've verified that I'm running youtube-dl version **2019.09.28** - [x] I've searched the bugtracker for similar site feature requests including closed ones ## Description <!-- Provide an explanation of your site feature request in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible. --> Recently niconico introduced support for HLS videos and now some of the new licensed videos are provided only in HLS format. Examples: * https://www.nicovideo.jp/watch/1562727729 * https://www.nicovideo.jp/watch/so35376541 Since yt-dl is currently not supporting downloading HLS videos of niconico, these URLs fail to download video infos and emit the following errors. ``` $ youtube-dl --verbose -u ### -p ### https://www.nicovideo.jp/watch/1562727729 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.nicovideo.jp/watch/1562727729'] [debug] Encodings: locale cp932, fs mbcs, out cp65001, pref cp932 [debug] youtube-dl version 2019.09.28 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362 [debug] exe versions: ffmpeg 2.8.4, ffprobe 3.4.1, rtmpdump 2.3 [debug] Proxy map: {'no': '192.168.99.100'} [niconico] Logging in [niconico] 1562727729: Downloading webpage [niconico] 1562727729: Downloading JSON metadata for h264_720p-aac_192kbps ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpyi91grvc\build\youtube_dl\extractor\common.py", line 627, in _request_webpage File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpyi91grvc\build\youtube_dl\YoutubeDL.py", line 2237, in urlopen File "C:\Python\Python34\lib\urllib\request.py", line 470, in open File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response File "C:\Python\Python34\lib\urllib\request.py", line 508, in error File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default ``` For technical details, HLS-only videos have metadata with `api_data['video']['dmcInfo']['session_api']['protocols'] == ['hls']`, not `['http', 'hls']`.
account-needed
low
Critical
502,817,132
flutter
Investigate ios-webkit-debug-proxy for debugging Flutter for Web apps on a connected iOS device
The chrome remote device debugging does not currently work for non-Android device. The article below describes how to set up ios-webkit-debug-proxy to remotely debug web pages https://medium.com/@nikoloza/how-to-debug-remote-ios-device-using-chrome-devtools-f44d697003a7 @mdebbar @nturgut and I weren't able to get this working locally, and instead we're debugging on the simulator. We should investigate a way to get this working, such as manually doing port forwarding via the existing tooling.
tool,platform-web,P2,team-web,triaged-web
low
Critical
502,826,932
rust
Audit ABI implementations in rustc_target (vs Clang).
In https://github.com/rust-lang/rust/pull/63649#issuecomment-537896684 I wrote: > The `wasm-bindgen` mismatch could've been avoided, had we validated the call ABI by comparing it with what Clang does, when it was initially implemented (to be clear, I think I dropped the ball here). > > Irrespective of what happens to this PR, I think we should do an audit of all our call ABIs, and institute a policy to prevent this from happening again in the future. > cc @rust-lang/compiler @rust-lang/wg-codegen The context there was that our `wasm32` ABI has been wrong since it was added, and `wasm-bindgen` now relies on the wrong ABI. I opened this issue so we don't lose track of this, because I'm sure I will.
A-codegen,A-FFI,T-compiler,WG-llvm,A-ABI
low
Major
502,837,879
godot
Mono export templates lack mono shared libs on Linux system using /usr/lib64
**Godot version:** 3.2 master (5a23ab61) **OS/device including version:** Linux, RPM-based distro or similar using `/usr/lib64` for 64-bit libraries (versus `/usr/lib` on Debian-based distros). **Issue description:** Our current logic to copy shared mono libraries to the export templates' `data.mono.*` folders rely on `mono_root + 'lib'`: https://github.com/godotengine/godot/blob/5a23ab61fae79cce576fe7ec60fd928d2bd27fca/modules/mono/build_scripts/mono_configure.py#L389-L396 This fails on 64-bit RPM-based distros where mono is installed in `/usr/lib64` instead of `/usr/lib`. We should rely on `pkg-config` when available to figure out what is the proper lib folder, and otherwise the logic should be (pseudo code): ``` if 64bit build: if lib64 exists: use lib64 (rpm) else: use lib (deb) elif 32bit build: if lib32 exists: use lib32 (deb) else: use lib (rpm) ``` That's not all though, as mono hardcodes those installation paths, so trying to load a fix `data.mono` with the libraries in `Mono/lib` will still fail: ``` System.TypeInitializationException: The type initializer for 'System.Random' threw an exception. ---> System.DllNotFoundException: /home/akien/tmp/godot/test-export/lin/data_DodgeTheCreepsCS/Mono/lib/../lib64/libmono-native.so ``` So the data folder would need to have: ``` Mono/bin/* Mono/lib/ (empty) Mono/lib64/* ``` I'm not sure how we can influence the base path before `../lib64/libmono-native.so`, but if we can change it, it should likely point to `Mono/bin/` instead of `Mono/lib/`, so that we can have either: ``` Mono/bin/* Mono/lib/* ``` or ``` Mono/bin/* Mono/lib64/* ``` depending on whether the template was packaged on Ubuntu or CentOS, basically.
bug,topic:buildsystem,confirmed,topic:dotnet
low
Major
502,846,853
opencv
Opencvjs solvepnp not working in Safari-12, but works in safari-13 and chrome browser
Hello, We followed opencvjs documents and compiled the JS file. solvepnp function working fine in safari-13 and other browsers like chrome, but it is not working on safari-12. ``` let success = cv.solvePnP( modelPoints, imagePoints, cameraMatrix, distCoeffs, rvec, tvec ); if (!success) { return; } ``` Please find the error screenshot captured in safari-12 browser. ![Screen Shot 2019-10-04 at 4 41 53 PM](https://user-images.githubusercontent.com/20619142/66240233-0f8a1280-e6ca-11e9-93ba-5d2ea8f6981d.jpeg)
category: javascript (js)
low
Critical
502,852,374
flutter
Glitch with short paths with wide stroke.
This is an issue that came to our attention in a Flare bug report: https://github.com/2d-inc/support/issues/244 The glitch occurs when a short path is stroked. This can occur when animating the trim of a path in Flare. Here's a repo with more details and example code in pure Flutter which exhibits the issue: https://github.com/luigi-rosso/flutter_trim_path_244/blob/master/README.md Looks like it's related to how Skia extrudes the stroke of a path.
engine,dependency: skia,customer: web10,customer: thrive,P2,team-engine,triaged-engine
low
Critical
502,875,332
pytorch
Installer not setting rpath for MAGMA (OS X w/ GPU)
## πŸ› Bug The installation scripts aren't adding the magma path to the dylib. This is at least as far back as 1.1, and exists in the current master. It's easily fixable post-install with `install_name_tool -add_rpath /usr/local/magma/lib /path/to/libtorch.dylib` (actually in 1.1 its the `caffe_gpu` dylib), but of course this should be set properly by the installer. ## To Reproduce Steps to reproduce the behavior: 1. Compile 1.1 or later on OS X with GPU and MAGA support. 1. Launch python, `import torch` ``` Python 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 13:42:17) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import torch Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Volumes/home500/anaconda/envs/pytorch1.2/lib/python3.6/site-packages/torch/__init__.py", line 81, in <module> from torch._C import * ImportError: dlopen(/Volumes/home500/anaconda/envs/pytorch1.2/lib/python3.6/site-packages/torch/_C.cpython-36m-darwin.so, 9): Library not loaded: @rpath/libmagma.so Referenced from: /Volumes/home500/anaconda/envs/pytorch1.2/lib/python3.6/site-packages/torch/lib/libtorch.dylib Reason: image not found ``` ## Expected behavior Not throw an exception, and instead return silently and run properly. ## Environment PyTorch version: 1.1.0 Is debug build: No CUDA used to build PyTorch: 10.0 OS: Mac OSX 10.13.6 GCC version: Could not collect CMake version: version 3.14.0 Python version: 3.6 Is CUDA available: Yes CUDA runtime version: Could not collect GPU models and configuration: GeForce GTX 1080 Ti Nvidia driver version: 1.1.0 cuDNN version: Probably one of the following: /usr/local/cuda/lib/libcudnn.7.dylib /usr/local/cuda/lib/libcudnn_static.a Versions of relevant libraries: [pip3] numpy==1.16.4 [conda] blas 1.0 mkl [conda] gpytorch 0.3.5 pypi_0 pypi [conda] mkl 2019.4 233 [conda] mkl-include 2019.4 233 [conda] mkl-service 2.3.0 py36hfbe908c_0 [conda] mkl_fft 1.0.14 py36h5e564d8_0 [conda] mkl_random 1.1.0 py36ha771720_0 [conda] torch 1.1.0 pypi_0 pypi [conda] torchfile 0.1.0 pypi_0 pypi [conda] torchnet 0.0.4 pypi_0 pypi [conda] torchtext 0.4.0 pypi_0 pypi [conda] torchvision 0.4.0a0+d31eafa pypi_0 pypi
module: build,module: cuda,triaged,module: macos
medium
Critical
502,884,369
terminal
Enable users to disable VT colors (for accessibility, visibility, contrast, etc.)
# Description of the new feature/enhancement Users, esp those with accessibility needs, should be able to disable command-line apps from altering text and background colors, either via API calls, or via VT sequences. Terminal should still honor users' color theme and default foreground and background color choices, allowing users to select high-contrast etc. themes / colors if they wish. # Proposed technical implementation details (optional) Suggest a setting called something like: ``` disableDynamicColors disableAppColors ``` ... or similar.
Issue-Feature,Area-Rendering,Area-VT,Area-Accessibility,Area-Settings,Product-Terminal
low
Major
502,945,161
rust
Document the error cases for std::process::Command
The current documentation of the [std::process::Command](https://doc.rust-lang.org/std/process/struct.Command.html#method.spawn)-struct lacks the description of possible error cases. All examples assume the working case, too. There is currently no easy was to see, why a e.g. a call to `spawn()` could fail (before running). I would recommend to add either a list of possible error cases (if this is similar on every platform) or add links to external documentation, if the different platforms have their own possible error codes. Unfortunately I cannot help here very much, as I'm not aware of the Process implementations on different platforms, e.g. Windows.
C-enhancement,T-libs-api,A-docs,A-process
low
Critical
502,951,021
rust
link_section attribute misleadingly allowed on modules and impls
The `#[link_section]` attribute seems to be allowed on modules and impl blocks, but it will not do anything. I would expect either all functions/statics within the module/impl to be placed into the specified link_section, but this does not happen. Code used: ``` #[link_section = ".textaux1"] mod foo{ //#[link_section = ".textaux1"] pub fn testing() -> u32{ 20 } } mod foo2{ pub struct Whatever{} #[link_section = ".textaux1"] impl Whatever{ //#[link_section = ".textaux1"] pub fn watt(&self) -> u32{ 50 } } } ``` I've verified the functions are linked in and not just optimized out etc. As-is the functions will be placed into the default `.text` section, but if I uncomment the link_section attributes then they are properly placed in the `.textaux1` section. No compiler errors or warnings are generated rustc version: rustc 1.40.0-nightly (2daa404e9 2019-10-02) binary: rustc commit-hash: 2daa404e9a151a2e8262cbd6d8c209fd067aca16 commit-date: 2019-10-02 host: x86_64-apple-darwin release: 1.40.0-nightly LLVM version: 9.0
A-linkage,A-attributes,T-compiler,C-bug
low
Critical
502,953,703
pytorch
[dataloader] Sampler abstract constructor API minor proposal
Currently the base abstract Sampler class [has](https://github.com/pytorch/pytorch/blob/master/torch/utils/data/sampler.py#L17): ```python def __init__(self, data_source): pass ``` The `data_source` is declared as a common argument but not saved to `self.data_source`. Many samplers that do take `data_source` as argument indeed do that. And there exist samplers that do not even take `data_source` as argument. Two proposed suggestions: 1) add `self.data_source = data_source` to the abstract class; 2) remove `__init__` method from the base abstract class completely cc @SsnL
module: dataloader,triaged
low
Minor
502,958,019
opencv
Redesign of OpenCV's PnP algorithms
The implementation of Perspective n Point (PnP) in OpenCV needs a significant improvement. Object oriented design could help a lot to provide interfaces and implementations for: - PnP Solvers: Algorithms that solve PnP without an initial estimate (also called closed-form solutions) - PnP Refiners: Algorithms that take a solution from a PnP solver, and improve on the solution by minimizing a non-convex objective function, using e.g. Levenberg Marquardt It will improve genericity, it will resolve confusion about solvePnP arguments (#12334) and "useExtrinsicGuess", and stop the need of C-style flags for selecting a solver & refiner combination. It will be much easier to include new solvers and refiners, to benchmark different combinations of solvers & refiners, and to unit test. Furthermore, it can help with a consistent description of algorithms. Different PnP solvers are able to work in some conditions and not others. For example, DLT requires 6 or more non-coplanar points, IPPE requires 4 or more co-planar points. For the same input, different algorithms may return different solutions and a different _number_ of solutions. For some algorithms, there may exist special cases which cause the algorithm to fail. For example, _all_ PnP algorithms will fail if the model points are co-linear (this is known as a **general degeneracy** in PnP). Some PnP algorithms will fail if the model points are co-planar (e.g. DLT or OpenCV's EPnP implementation). Also, there may exist special corner cases that cause an algorithm to fail that are either not known or not well documented. For example, OpenCV implementation of Zhang's method (for solving PnP with co-planar points) fails if the model points are 4 corners of a square. This is called an **artificial degeneracy** (i.e. when the problem can be solved, but the algorithm fails as a result of its design.) None of this is documented in OpenCV, and it is the cause of a lot of confusion and inexplicable results. There are also no test cases to document and verify failure cases of algorithms. Note: issue and discussion about algorithm-based design and PnP with python bindings is #14181
category: calib3d,RFC
low
Critical
502,958,449
youtube-dl
Support for socks5h:// proxies
## Checklist - [x] I'm reporting a feature request - [x] I've verified that I'm running youtube-dl version **2019.09.28** - [x] I've searched the bugtracker for similar feature requests including closed ones ## Description The difference between SOCKS5 and SOCKS5H is that SOCKS5H resolves DNS requests through the proxy and SOCKS5 resolves them locally. The DNS leak has technically been addressed in #9677 and it appears to been removed based on tests I carried out sniffing for DNS packets while running youtube-dl with `--proxy socks5://` ([this is the relevant line, I think](../blob/master/youtube_dl/socks.py#L219)). So `youtube-dl --proxy socks5://` behaves how `youtube-dl --proxy socks5h://` should behave, and the latter misbehaves: ``` youtube-dl --proxy socks5h://127.0.0.1:9050 https://www.youtube.com/watch?v=BaW_jenozKc [youtube] BaW_jenozKc: Downloading webpage ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(error('Tunnel connection failed: 501 Tor is not an HTTP Proxy',),)) ``` I suggest that youtube-dl should accept the `socks5h` protocol and use for it the implementation of SOCKS5 that already exists (where DNS is resolved by the SOCKS server). And maybe `socks5`'s implementation should be changed to resolve DNS locally to honour the specification. The only issue I can see with fixing the names of the protocols is any scripts with `socks5://` in them will start leaking DNS requests.
request
low
Critical
502,958,516
vscode
The result of proxyResolver.request is wrong
After calling http(s).request only with options the method and path are changed to wrong value. I've written simple example. - VSCode Version: 1.38.1 - OS Version: Ubuntu 19.04 and Windows 10 1903 Steps to Reproduce: 1. Run this code. ``` const https = require('https'); const Url = require('url'); const applyUrlToOptions = (options, url) => { options.host = url.host; options.origin = url.origin; options.searchParams = url.searchParams; options.protocol = url.protocol; options.hostname = url.hostname; options.hash = url.hash; options.search = url.search; options.pathname = url.pathname; options.path = `${url.pathname}${url.search || ''}`; options.href = url.href; if (url.port !== '') { options.port = Number(url.port); } if (url.username || url.password) { options.auth = `${url.username}:${url.password}`; options.username = url.username; options.password = url.password; } return options; }; const testProxyResolver = (method, url, options) => { const uri = {}; const parsedUri = new Url.URL(url); applyUrlToOptions(uri, parsedUri); uri.method = method.toUpperCase(); uri.headers = options.headers || {}; uri.headers.host = uri.host; uri.headers['content-type'] = 'application/json'; uri.headers['content-length'] = options.payload.length; return https.request(uri); }; const data = testProxyResolver('POST', 'https://example.com', {payload: 'payload'}); data.agent = undefined; // to reduce output console.log(JSON.stringify(data, null, 2)); ``` 2. In the console output will be the correct result of https.request ``` { "_events": {}, "_eventsCount": 1, "output": [], "outputEncodings": [], "outputCallbacks": [], "outputSize": 0, "writable": true, "_last": true, "chunkedEncoding": false, "shouldKeepAlive": false, "useChunkedEncodingByDefault": true, "sendDate": false, "_removedConnection": false, "_removedContLen": false, "_removedTE": false, "_contentLength": null, "_hasBody": true, "_trailer": "", "finished": false, "_headerSent": false, "socket": null, "connection": null, "_header": null, "method": "POST", "path": "/", "_ended": false, "res": null, "timeoutCb": null, "upgradeOrConnect": false, "parser": null, "maxHeadersCount": null } ``` 3. Run the code above into vscode extension by the command from the palette 4. The result will be wrong. Method and useChunkedEncodingByDefault properties are different. ``` { "_events": {}, "_eventsCount": 1, "output": [], "outputEncodings": [], "outputCallbacks": [], "outputSize": 0, "writable": true, "_last": true, "chunkedEncoding": false, "shouldKeepAlive": false, "useChunkedEncodingByDefault": false, "sendDate": false, "_removedConnection": false, "_removedContLen": false, "_removedTE": false, "_contentLength": null, "_hasBody": true, "_trailer": "", "finished": false, "_headerSent": false, "socket": null, "connection": null, "_header": null, "method": "GET", "path": "/", "_ended": false, "res": null, "timeoutCb": null, "upgradeOrConnect": false, "parser": null, "maxHeadersCount": null } ``` It seems like the error somewhere here: https://github.com/microsoft/vscode/blame/d3eb24828e2d977e4f3ac16ff1a332a020028464/src/vs/workbench/services/extensions/node/proxyResolver.ts#L331 It seems like in the URL always is searchParams, and condition for URL will be forever false Also, you can execute this function in the example project (attached file) 1. Run in the folder with an example project to execute native https.request ``` npm run test ``` 2. Run the extension and choose command in palette ``` Test proxy resolver ``` This issue occurs when all extensions are disabled [proxyresolver.zip](https://github.com/microsoft/vscode/files/3693228/proxyresolver.zip)
bug,proxy
low
Critical
502,962,715
terminal
More Unicode-savvy wordDelimiters
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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 "wordDelimiter" lists a couple of stop characters, such as ASCII quotation mark `"`, apostrophe `'`, hyphen/minus `-` and such. However, special Unicode quotation marks like `β€œ`, `”`, apostrophes like `’` dashes `–`, `β€”`, box drawing characters, non-breaking spaces and so on an so forth remain word characters (selected on a double click) which is most likely not the best behavior, and adding such characters one by one to the set as the user encounters them is cumbersome. # Proposed technical implementation details I think the default behavior should be based on [Unicode character categories](https://en.wikipedia.org/wiki/Unicode_character_property#General_Category). On top of this there could be a way to add/remove certain characters to/from the set as exceptions. (Maybe even a way to add/remove entire character categories at once, although that might be an overkill.)
Help Wanted,Area-Settings,Product-Terminal,Issue-Task,Priority-3
low
Critical
502,964,097
terminal
Per-profile wordCharacters
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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 "wordDelimiters" is a global config option rather than a per-profile one, although there's nothing in this option that inherently has to make it a global one. In gnome-terminal we had quite a lot of debates around which character should be included and which not. The biggest debate was around `:`. Folks working with URLs or timestamps want colons to be word characters. Folks working with e.g. `grep` or compiler outputs (such as `filename:matching_content` or `filename:line_number` want the colon to be a stop character. I can easily imagine that some users would prefer to have different profiles with different double click behaviors, depending on the kind of task they're working on. Could you guys consider moving it to a per-profile option? Although then it's a bit of maintenance burden when someone wants to update the set and has to do for all the profiles. Feel free to close this bug if it was a deliberate choice from you to make it global. (On a side note, the same question could also be asked for "copyOnSelect" I guess...?? I'm not sure about that, my gut feelings tell me it's better to have an overall consistent experience here, just as you don't want to have different "keybindings" per profile, but again, these are just feelings.)
Help Wanted,Area-Settings,Product-Terminal,Issue-Task
low
Critical
502,977,045
terminal
DEC private 47/1047 not supported (alt buffer)
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to [email protected], referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Win32NT 10.0.18362.0 Windows Terminal version (if applicable): 0.5.2762.0 ``` # Steps to reproduce printf '\e[?47h' or the same with `1047`, and `l`. # Expected behavior DEC private mode controls 47 and 1047 should switch to/from the alternate screen, just as 1049 already does in WT. Except that these shouldn't save and restore the cursor and clear the alternate screen. Current terminfo uses 1049 for TERM=xterm-256color and friends, but older systems or apps not relying on terminfo might still emit the older 47 or 1047. (While at it, please check 1048 too, I haven't checked that one.) # Actual behavior Nothing happens on these.
Product-Conhost,Help Wanted,Area-VT,Issue-Task
low
Critical
502,990,367
go
x/mobile: Remove gomobile dependency on gobind binary
Currently `gomobile bind` internally depends on gobind command. This is not user friendly and seems unnecessary too complex as user need to build both binaries. I propose to remove cmd/gobind so there is only one binary. As there is difference what `gomobile bind` and `gobind` does we can pass extra flag to `gomobile bind -gen_only` to only generate bindings without compiling to final project. If cmd/gobind is still needed (not sure why) we can extra all reusable logic to separate package so it can be used directly in both cmd/gomobile and cmd/gobind. If this make sense I can work on it. /cc @hajimehoshi @eliasnaur
NeedsDecision,mobile
low
Major
503,004,989
go
cmd/go: handle ldflag escapes in pkg-config output
<!-- Please answer these questions before submitting your issue. Thanks! --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.12.9 linux/amd64 </pre> ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GOARCH="amd64" GOBIN="" GOCACHE="/home/raphi/.cache/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/raphi/go" GOPROXY="" GORACE="" GOROOT="/usr/lib/golang" GOTMPDIR="" GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64" GCCGO="gccgo" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/home/raphi/code/go/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-build148444745=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? Attempt to build a cgo binary with `pkg-config` containing ldflags with a whitespace. ### What did you expect to see? A successfull build. ### What did you see instead? `go build github.com/ElektraInitiative/go-elektra/kdb: invalid flag in pkg-config --libs: elektra/build/lib` PR: https://github.com/golang/go/pull/34709 Relates to * https://github.com/golang/go/issues/16455 * https://github.com/golang/go/issues/7906
NeedsInvestigation
low
Critical
503,007,881
terminal
Random parsing/rendering bugs when input arrives slowly
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to [email protected], referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Win32NT 10.0.18362.0 Windows Terminal version (if applicable): 0.5.2762.0 ``` # Steps to reproduce This bug sounds similar to #3080 and #3081, but this time all the escape sequences are supported by WT, and I don't have a fully reproducible test case, it all seems random. Resize the terminal to 28 rows (my default due to bug 2061, nevermind). Execute this a couple of times: slowcat -t 200000 parsing-delay.txt whereas `slowcat` is [shipped with VTE](https://gitlab.gnome.org/GNOME/vte/) and does exactly what you would think, with the parameter being in microseconds, i.e. prints one byte every 0.2 seconds in the above example; and [parsing-delay.txt](https://github.com/microsoft/terminal/files/3693636/parsing-delay.txt) is the test file stripped down as much as I had patience. Modify the numeric parameter in the ballpark of 200000 – 350000 (i.e. ~3–5 bytes per second) as you feel like, I have no idea if it influences the behavior, sometimes it feels so but it could just be random. :) Note that at the end of the command, you're left on the alternate screen. It switches to the normal screen for a short time in the middle and then back to the alternate one. # Expected behavior The same thing should happen all the time as you repeat this command (except at the first time when you begin on the normal screen), without the spurious random `1` and `h` described below. # Actual behavior When switched back to the normal screen for a short time, sometimes a digit `1` appears in the bottom left corner. Even more interestingly, the number of such `1`s in that row keeps growing, despite the cursor being explicitly moved to row 28 column 1 every time. (And changing that to column 2 keeps it a digit `1` that appears, so it's not where it comes from.) When switched back to the alternate screen, sometimes a letter `h` appears at the top left. Both artifacts occur to me with a probability of perhaps 25–50-ish %. Play with the timing constant if they don't want to appear to you, it might make a difference, I'm not sure.
Product-Conhost,Help Wanted,Area-VT,Issue-Bug
low
Critical
503,008,207
rust
SIGSEGV in LLVM
I was trying to compile some x86 early boot code and encountered a SIGSEGV in LLVM: ``` * thread #4, stop reason = EXC_BAD_ACCESS (code=1, address=0x18) * frame #0: 0x00000001061cca13 librustc_codegen_llvm-llvm.dylib`(anonymous namespace)::MachineLICMBase::IsLoopInvariantInst(llvm::MachineInstr&) + 259 frame #1: 0x00000001061c85c3 librustc_codegen_llvm-llvm.dylib`(anonymous namespace)::MachineLICMBase::runOnMachineFunction(llvm::MachineFunction&) + 3827 frame #2: 0x00000001061bb9e9 librustc_codegen_llvm-llvm.dylib`llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 281 frame #3: 0x0000000106a4f798 librustc_codegen_llvm-llvm.dylib`llvm::FPPassManager::runOnFunction(llvm::Function&) + 808 frame #4: 0x0000000106a4faf3 librustc_codegen_llvm-llvm.dylib`llvm::FPPassManager::runOnModule(llvm::Module&) + 131 frame #5: 0x0000000106a4ff39 librustc_codegen_llvm-llvm.dylib`llvm::legacy::PassManagerImpl::run(llvm::Module&) + 857 frame #6: 0x0000000105187a82 librustc_codegen_llvm-llvm.dylib`LLVMRustWriteOutputFile + 562 frame #7: 0x000000010514d2b6 librustc_codegen_llvm-llvm.dylib`rustc_codegen_llvm::back::write::write_output_file::hbc571aa7d02fc516 (.llvm.673626991590052633) + 86 frame #8: 0x000000010509e4f9 librustc_codegen_llvm-llvm.dylib`rustc_codegen_llvm::back::write::codegen::_$u7b$$u7b$closure$u7d$$u7d$::hc9d89ef4b7f2ee38 (.llvm.113447327635721745) + 1225 frame #9: 0x000000010509a983 librustc_codegen_llvm-llvm.dylib`rustc::util::common::time_ext::h4b9d4c0b3d1fd8b0 + 163 frame #10: 0x000000010515084e librustc_codegen_llvm-llvm.dylib`rustc_codegen_llvm::back::write::codegen::h4e68325a1f78b6c4 + 3198 frame #11: 0x0000000105049a7f librustc_codegen_llvm-llvm.dylib`rustc_codegen_ssa::back::write::execute_work_item::h259f7cf32e76685c + 495 frame #12: 0x00000001050881f1 librustc_codegen_llvm-llvm.dylib`std::sys_common::backtrace::__rust_begin_short_backtrace::h78716bd57684f926 + 241 frame #13: 0x000000010505379b librustc_codegen_llvm-llvm.dylib`std::panicking::try::do_call::hfb19d5a4eb5b64d5 (.llvm.18289163052277610129) + 43 frame #14: 0x0000000102d3e45f libstd-3f46da93ba755ab0.dylib`__rust_maybe_catch_panic + 31 frame #15: 0x0000000105053ab6 librustc_codegen_llvm-llvm.dylib`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hacde5084140c3890 + 134 frame #16: 0x0000000102d1068e libstd-3f46da93ba755ab0.dylib`_$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h40bf035471a23543 + 62 frame #17: 0x0000000102d3d26e libstd-3f46da93ba755ab0.dylib`std::sys::unix::thread::Thread::new::thread_start::h112df5042d5a4204 + 142 frame #18: 0x00007fff7ca7d661 libsystem_pthread.dylib`_pthread_body + 340 frame #19: 0x00007fff7ca7d50d libsystem_pthread.dylib`_pthread_start + 377 frame #20: 0x00007fff7ca7cbf9 libsystem_pthread.dylib`thread_start + 13 ``` It looks like the assertion here would fail, if assertions were enabled in the LLVM rust was built with: https://elixir.bootlin.com/llvm/latest/source/llvm/lib/CodeGen/MachineLICM.cpp#L1043 Here's my target specification: ```json { "arch": "x86", "cpu": "pentium4", "crt-static-default": true, "crt-static-respected": true, "data-layout": "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "dynamic-linking": true, "eliminate-frame-pointer": false, "env": "musl", "executables": true, "has-elf-tls": true, "has-rpath": true, "is-builtin": true, "linker-flavor": "gcc", "linker-is-gnu": true, "llvm-target": "i686-unknown-linux-musl", "max-atomic-width": 64, "os": "none", "position-independent-executables": true, "post-link-objects-crt": [ "crtn.o" ], "pre-link-args": { "gcc": [ "-Wl,--as-needed", "-Wl,-z,noexecstack", "-Wl,--eh-frame-hdr", "-m32", "-Wl,-melf_i386" ] }, "pre-link-args-crt": { "gcc": [ "-nostdlib" ] }, "pre-link-objects-exe-crt": [ "crt1.o", "crti.o" ], "relro-level": "full", "stack-probes": false, "target-c-int-width": "32", "target-endian": "little", "target-family": "none", "target-pointer-width": "32", "panic-strategy": "abort", "features": "-mmx,-sse,+soft-float", "vendor": "unknown" } ``` Here is my minimal repro: ```rust #![no_std] #![feature(asm)] #![feature(start)] #![feature(const_fn)] #![feature(lang_items)] #![crate_type = "staticlib"] use core::panic::PanicInfo; use core::fmt::Write; use core::fmt; const VGA_START: *mut u16 = 0xb8000 as *mut u16; const VGA_ENTRY_COUNT: usize = 0x1000 / core::mem::size_of::<u16>(); // Black on green. const TEXT_COLOR: u16 = 0x200; pub struct VgaConsole { cursor: usize, } pub const VGA_CONSOLE: VgaConsole = VgaConsole { cursor: 0 }; impl fmt::Write for VgaConsole { fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> { for c in s.chars() { // This has been heavily mangled to minimize the repro. let vga_region = unsafe { core::slice::from_raw_parts_mut(VGA_START, VGA_ENTRY_COUNT) }; vga_region[self.cursor] = c as u16 | TEXT_COLOR; self.cursor += 1; } Ok(()) } } pub fn inw(port: u16) -> u16 { let mut w: u16; unsafe { asm!("inw %dx, %ax" : "={ax}"(w) : "{dx}"(port)); } w } pub const SECTOR_SIZE :usize = 512; pub struct Drive { command_port: u16, data_port: u16, is_primary : bool, } // ATAPI implementation minimized for the repro impl Drive { pub fn identify(&self) { // read model let mut model: [u16; 256] = [0; 256]; for i in 0..model.len() { model[i] = inw(self.data_port); let _ = write!(VGA_CONSOLE, "{:x}", model[i]); } } } fn hang() -> ! { loop { unsafe { asm!("cli; hlt;"); } } } #[no_mangle] pub extern "C" fn rmain() { let boot_disk = Drive { command_port: 0x3f0, data_port: 0x1f0, is_primary: true, }; boot_disk.identify(); } #[panic_handler] #[no_mangle] pub fn panic(info: &PanicInfo) -> ! { hang(); } ```
I-crash,A-LLVM,T-compiler,C-bug
low
Critical
503,008,251
TypeScript
`getSignaturesOfType` throws `Cannot read property 'flags' of undefined`
<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 3.7.0-dev.20191005 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** conditional, infer, mapped **Code** ```ts declare interface Foo { a(): boolean; b(): void; c(argument: boolean): void; d(argument: number): void; } declare const Foo: Mapped<Foo>; type Mapped<T> = { [K in keyof T]: T[K] extends (...args: infer Args) => infer R ? (...args: Args) => R : never; }; function foo(key: 'a' | 'b' | 'c' | 'd') { Foo[key](); } ``` Note: removing any infer declaration or method from `Foo` makes it valid. **Expected behavior:** No errors **Actual behavior:** ``` TypeError: Cannot read property 'flags' of undefined at Object.getCheckFlags (typescript/lib/tsc.js:10461:23) at getTypeOfSymbol (typescript/lib/tsc.js:32706:20) at getParameterCount (typescript/lib/tsc.js:46831:32) at combineUnionParameters (typescript/lib/tsc.js:33697:29) at combineSignaturesOfUnionMembers (typescript/lib/tsc.js:33730:26) at typescript/lib/tsc.js:33673:181 at Object.map (typescript/lib/tsc.js:446:29) at _loop_7 (typescript/lib/tsc.js:33673:144) at getUnionSignatures (typescript/lib/tsc.js:33681:35) at resolveUnionTypeMembers (typescript/lib/tsc.js:33754:34) at resolveStructuredTypeMembers (typescript/lib/tsc.js:34078:21) at getSignaturesOfStructuredType (typescript/lib/tsc.js:34573:32) at getSignaturesOfType (typescript/lib/tsc.js:34579:20) ``` **Playground Link:** https://www.typescriptlang.org/play/?ts=3.7-Beta&ssl=1&ssc=1&pln=18&pc=2#code/CYUwxgNghgTiAEBLAdgFxDAZlMCBiA9gfAN4CwAUPNfFABQCUAXPAEZEQhTIDclNbRiwBuBRMD5UaYOrADmAVwC2INC3YFO3ZvFHjJA4LJiKVa+MmWsMOvRMoBfSpVCRYCMAWQBnVPEIELACyUAAOoSDAADwBAHySqACeEfAh4ZFRACqx8AC8pPzwANoA0kjI8ADWIIkEmPCZALosmaWN8CAAHujIwN7wdAB0w-LeLCiYGPAAgibeDHk5E1MASoXUAPwDw4OjLLNy84vwa1LULMggwhiSDpKUmArIYKiIXvCYRHTViSwA5FA-vAAD7wP6sIGgv5gSFg4B-BbkKQBIo-RqMW5AA **Related Issues:** <!-- Did you find other bugs that looked similar? -->
Bug,Crash,Fix Available,Rescheduled
low
Critical
503,023,538
rust
Tracking issue for `Cow::is_borrowed` and `Cow::is_owned`
I just tried to use these in my own code and was kind of shocked they didn't exist. Justification: this seems like a common Rust pattern. We have `is_some` and `is_none` for `Option`, `is_ok` and `is_err` for `Result`, etc., so, it seems pretty fair to have `is_borrowed` and `is_owned` for `Cow`. Having `as_borrowed` and `as_owned` wouldn't really make much sense, as a simple `&` and `&mut/to_mut` cover those use cases. But, these check functions are pretty useful on their own.
T-libs-api,B-unstable,C-tracking-issue,Libs-Tracked
medium
Critical
503,030,421
scrcpy
Connection is rejected after unplugging the device from computer
So, this has happened to me all the time I need to recharge my phone, and I do so by plugging it to my computer. But normally, after it's been charged and unplugged, trying to connect to my phone again via wireless by issuing the command > adb connect 192.168.0.101 returns me with an error: > unable to connect to 192.168.0.101:5555: Connection refused Then, I have to plug it to my computer again, do the same as I did before: > adb forward tcp:5555 tcp:7612 And then, do: > adb tcpip 7612 So that, my phone returns: > restarting in TCP mode port: 7612 And then, it finally connects. My question is, why is it that every time I unplug it from my computer, it no longer works in TCP mode? Can't I leave it like that, in order to not have to re-do those steps after unplugging my device?
adbtcp,adb
medium
Critical
503,066,500
rust
Non-lexical lifetimes do not work on a field of structure
I noticed that the non-lexical lifetimes do not work if the reference is used in the structure field. ``` rustc 1.38.0 (625451e37 2019-09-23) ``` ```rust #[derive(Debug)] struct Foo<'a, T> { x: &'a T, } fn main() { let str_1 = "str1".to_string(); let str_2 = "str2".to_string(); let mut foo = Foo { x: &str_1 }; foo.x = &str_2; // move out let str_3 = str_1; println!("{:?} {}", foo, str_3); } ``` ``` error[E0505]: cannot move out of `str_1` because it is borrowed --> src/main.rs:15:17 | 10 | let mut foo = Foo { x: &str_1 }; | ------ borrow of `str_1` occurs here ... 15 | let str_3 = str_1; | ^^^^^ move out of `str_1` occurs here 16 | 17 | println!("{:?} {}", foo, str_3); | --- borrow later used here error: aborting due to previous error For more information about this error, try `rustc --explain E0505`. error: Could not compile `testapp2`. To learn more, run the command again with --verbose. Process finished with exit code 101 ```
C-enhancement,T-lang,T-compiler,A-NLL,NLL-complete
low
Critical
503,076,500
node
stream: How to destroy and stop Readable?
I ran into this today: ```js const { Readable } = require('stream'); const someOtherResource = { doStuff () { if (this.destroyed) { throw new Error('destroyed!') } }, destroy () { this.destroyed = true } } const r = new Readable({}) r.on('data', () => { someOtherResource.doStuff() }) someOtherResource.destroy() r.push('asd') r.destroy() // or r.destroy(new Error('kaboom')) r.read() ``` This will crash with `destroyed!` since `read()` will emit already buffered `'data'` even though the stream is destroyed. I can fix my above example by replacing `r.destroy()` with: ```js function destroy (r) { r.removeAllListeners('data') r.destroy() } ``` I find this a bit unfortunate. Questions: - Is this expected behaviour? - Can we fix it without breaking the ecosystem? - If no, can we provide another method to `Readable` that makes it possible to fully destroy and silence a readable? In order to fix this in readable we would have to check for `destroyed` and return early inside `Readable.read()`.
stream
low
Critical
503,084,929
vscode
Implement token-based language service
Go to Definition and Find All Reference are not 100% reliable in VsCode. The problem occur with VsCode itself for the langages it handle and with extensions for the others langages. VsCode (or the extensions) sometimes doesn't find any definition, or sometimes they don't find all references. That happen because the way of finding the definition and references is based on a certain level of "understanding" of the code. So when the code do something that make it hard to find definition and references you end up with something broken. I don't have any exemple for a language that VsCode handle but that not hard to find. I have one with Prestashop 1.6.1 source code with the extension Intelephense. If you try to go to definition of $product->addCombinationEntity in controllers/admin/AdminImportController.php it doesn't find any definition and if you try to find all references of $product->addCombinationEntity it doesn't find anything. It fail besause the way that Prestashop name and load Class (https://github.com/bmewburn/vscode-intelephense/issues/700). On the other hand Go to definition and Find all references work 100% of the time in Sublime text and a lot of developers would love to have something similar in VsCode. It seem that Sublime just make a text search to show definition and reference. It's very basic since it show you everything it find even in other langage (ex: js whereas you are in a php file...) but it find everything and it's very reliable. If we can have the same thing in VsCode maybe even better if you limit the search to relevant code (same langage) it will be awesome. Maybe as a workspace option to activate only on project that need it. Text search is far from perfect but it's far far better than having nothing or, worse, missing references for example when you need to modify all of them. I think a lot of developers rely on Go to definition and Find all reference to quickly navigate through code. A lot of developers use Sublime and love it whereas it have only a very basic text search based Go to definition and Find all reference but that work 100% of the time. Again, an optional text search in complement will make VsCode on par with Sublime for these features, and even better if you manage to limit the result to relevant code, and will fulfill the need of a lot of developers. We need these features to be 100% reliable to use them professionally so, in my opinion, it's almost mandatory to include an optional text search in Go to definition and Find all references. Thanks !
feature-request,languages-basic,extensions
medium
Critical
503,094,501
godot
Internal methods can be wrongly exposed to GDScript when using signals or deferred calls
**Godot version:** Master dev **OS/device including version:** Any platform **Issue description:** This is a discussion about a general issue in the engine. When c++ classes use signal connections or deferred calls, they are currently required to expose the called methods to scripts, which can cause some random issues. Here's an example: #31408 The problem is scripts end up with undocumented functions they can call or override, which are not supposed to be used outside of the c++ class, and this can cause random bugs in case they are overridden by mistake. I would be willing to work on a PR but I'd like to check first what is the best way to go about it. I can see two different approaches. **1. Color code in GDScript for overridden functions** This would help GDScript users to realize they are using an existing function by mistake. It wouldn't solve the problem itself, but it seems like it might be an easy way to alleviate it for script users, since it would work for all existing functions right away. So it would be interesting as a short term solution. ![image](https://user-images.githubusercontent.com/1075032/66269019-a5957880-e843-11e9-87a0-d9a1629118d2.png) **2. Flag in ClassDB::bind_method to disable exposure to scripts** This could be a proper long term solution, but it would require to make some changes for all the different cases individually. When methods are not meant to be exposed, `ClassDB::bind_method` could use a flag or argument to disable scripts exposure, and only make it available for c++ signals and deferred calls. There's already a flag called `METHOD_FLAG_NOSCRIPT` in `MethodFlags` that doesn't seem to be used for anything. Maybe it could be used this way? This flag could be used in `Object::call` in order to disable calls to scripts when the method is not supposed to be exposed to them. Would it make sense to implement one of these solutions, or even both? Let me know if this discussion should be in the proposal repository instead. I put it here because it's not about a specific issue to solve for my project, but rather to solve lots of bugs that could happen in the future on top of the existing one I mentioned.
discussion,topic:core
low
Critical
503,111,912
flutter
Support loading different ttf files into single font
## Use case I want to load multiple `.ttf` font files of the same font but with different weights in my app. ## Proposal Just like initially proposed in #17910, a syntax like the following would be great: ```dart Future<void> fooLoaded = FontLoader('Foo') ..addFont(rootBundle.load('foo_normal.ttf')) ..addFont(rootBundle.load('foo_bold.ttf'), fontWeight: FontWeight.bold) .load(); ```
c: new feature,framework,engine,dependency: dart,P3,team-engine,triaged-engine
low
Major
503,112,793
terminal
Entire screen randomly tearing and flickering during normal usage
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to [email protected], referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [Environment]::OSVersion Windows Terminal version: Version: 0.5.2762.0 LG Ultra HD (3840x2160@60Hz), 150% scale in windows 3072MB ATI AMD Radeon R9 200 Series (Sapphire/PCPartner) AMD Ryzen 5 1600 No background image set in windows terminal. Removed my profiles.json recently to start fresh. ``` # Steps to reproduce Just happens after using the terminal for some amount of time. I am not sure what other information may be helpful in tracking this down. # Expected behavior Screen doesnt flicker/tear # Actual behavior When the Windows Terminal is focused it will randomly start to cause the entire screen (not just the Windows Terminal) to flicker and tear. I see the windows terminal window flickering in random parts of the screen. The tears show up as individual lines of pixels just randomly tearing/flickering across random parts of the screen.
Needs-Repro,Area-Rendering,Issue-Bug,Product-Terminal,Priority-3
high
Critical
503,139,917
neovim
Channels opened by sockconnect() does not close automatically on EOF
- `nvim --version`: <details> ``` NVIM v0.4.2 Build type: Release LuaJIT 2.0.5 Compilation: /usr/bin/x86_64-pc-linux-gnu-gcc -O3 -march=native -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/portage/app-editors/neovim-0.4.2/work/neovim-0.4.2_build/config -I/tmp/portage/app-editors/neovim-0.4.2/work/neovim-0.4.2/src -I/usr/include -I/tmp/portage/app-editors/neovim-0.4.2/work/neovim-0.4.2_build/src/nvim/auto -I/tmp/portage/app-editors/neovim-0.4.2/work/neovim-0.4.2_build/include Compiled by portage@workstation Features: +acl +iconv +tui See ":help feature-compile" system vimrc file: "/etc/vim/sysinit.vim" fall-back for $VIM: "/usr/share/nvim" Run :checkhealth for more info ``` </details> - Operating system/version: Gentoo - Terminal name/version: alacritty 0.3.3 - `$TERM`: `alacritty` ### Steps to reproduce using `nvim -u NORC` 1. Make an auto-disconnecting TCP server: ```nim import net var server = newSocket() server.bindAddr 8000.Port, "localhost" server.listen() var client: Socket while true: server.accept client close client ``` 2. Reproduce the problem ``` nvim -u NORC :echo sockconnect('tcp', 'localhost:8000', {}) <returns channel id> :echo nvim_list_chans() ``` ### Actual behaviour The returned channel is still in the list. `lsof` will report that the socket held by `nvim` is in `CLOSE_WAIT` state. A walkaround is to close the channel manually via the handler on EOF. ### Expected behaviour The channel should be closed.
documentation,channels-rpc
low
Minor
503,223,976
go
net: ListenPacket can't be used on multicast address
<!-- Please answer these questions before submitting your issue. Thanks! --> ### What version of Go are you using (`go version`)? go version go1.12.9 ### Does this issue reproduce with the latest release? Yes, the code is unchanged on master. ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GOARCH="amd64" GOBIN="" GOCACHE="/Users/quentin/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/quentin/go" GOPROXY="" GORACE="" GOROOT="/usr/local/go" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" 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/kn/0gfzt13x37j63313z_5szy3h0000gn/T/go-build593496325=/tmp/go-build -gno-record-gcc-switches -fno-common" </pre></details> ### What did you do? ``` net.ListenPacket("udp4", "224.0.0.128:5076") ``` ### What did you expect to see? A socket bound to 224.0.0.128:5076 (but not joined to a multicast group) ### What did you see instead? A socket bound to 0.0.0.0:5076 (and not joined to any multicast group) `net.ListenPacket`'s documentation says: > For UDP and IP networks, if the host in the address parameter is empty or a literal unspecified IP address, ListenPacket listens on all available IP addresses of the local system except multicast IP addresses. But in fact it also applies this logic if the address is a multicast address. I suspect this is because `net.ListenMulticastUDP` is documented as having this behavior: > ListenMulticastUDP listens on all available IP addresses of the local system including the group, multicast IP address. and it shares an implementation function with `ListenPacket`: https://github.com/golang/go/blob/master/src/net/sock_posix.go#L210 And no, golang.org/x/net/ipv4 does not provide a workaround here, because all of its APIs require that you start with `net.Listen*` to get a `net.PacketConn`. Likewise, the `syscall` package doesn't provide an escape hatch because `net.FilePacketConn` is not implemented on Windows (though I will likely end up doing that anyway, with my resulting code only supporting POSIX environments).
NeedsInvestigation
medium
Critical
503,306,935
youtube-dl
Please add SW_HIDE to ffmpeg subprocess.Popen in windows, please
If windows , please add (optionally): pseudo code https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/postprocessor/ffmpeg.py#L230 ``` si = None if (OS == 'windows'): SW_HIDE = 0 STARTF_USESHOWWINDOW = 1 si = subprocess.STARTUPINFO() si.dwFlags = STARTF_USESHOWWINDOW si.wShowWindow = SW_HIDE p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, startupinfo=si) ``` for avoid console, if script started in NOT console :)
request
low
Minor
503,332,683
godot
Transparent color become different when inside sub viewport
**Godot version:** Godot 3.1.1 stable (GLES2 & GLES3) Godot 3.2 a1 (GLES2 & GLES3) **OS/device including version:** Windows 10 pro **Issue description:** I have ColorRect with the same color (it's a duplicate, so they should have the same color). But when I move 1 of them to sub viewport (with transparent_bg = on, and the subviewport inside viewport container). The color become different like this: ![image](https://user-images.githubusercontent.com/8316851/66300194-0d6cc180-e91f-11e9-9395-6bd9ec4a7f00.png) The duplicated color rect is the transparent white rect and 1 above it (become slightly darker). **Steps to reproduce:** Open project below and open Coba.tscn **Minimal reproduction project:** [viewporttransparent.zip](https://github.com/godotengine/godot/files/3696406/viewporttransparent.zip)
topic:rendering,confirmed,documentation,topic:2d
low
Major
503,359,005
realworld
Forgot password functionality
I think it would be great if we could get the apps to support Forgot password functionality, since this is always a core feature of webapps. For the frontend this would be just a different route, but on the backend there would need to be some sort of email verification system.
Status: RFC,v2 changelog
low
Minor
503,398,815
godot
Clashing Shortcuts
Godot 3.2.alpha1 Windows 10 Setting the "Toggle Comment" shortcut to "Control+B" does not allow using the key combination to toggle a comment. Removing "Control+B" as the shortcut for "Go to Next Bookmark" fixes the issue. The clash is not obvious. Removing all the current matching shortcuts once a new one is entered in the same group with a warning that they were removed sounds like a needed patch.
enhancement,topic:editor
low
Minor
503,416,992
flutter
[multicast_dns] error on iOS - error 49 Can't assign requested address, add documentation for `com.apple.developer.networking.multicast` entitlement
I am using the multicast_dns package for flutter and get a exception on iOS. It works as expected on Android. I have tested this with the code example provided with the package The error is: `OS Error: Can't assign requested address, errno = 49 in _NativeSocket.joinMulticast. (socket_patch.dart)` I have tried various multicast addresses, the default 224.0.0.251, 230.180.0.1 and 239.0.180.1. I have searched everywhere for assistance and cannot find any thing, am sure it is a simple issue, does anyone have an idea or something to try? ``` <import package:multicast_dns/multicast_dns.dart'; Future<void> main() async { // Parse the command line arguments. const String name = '_dartobservatory._tcp.local'; final MDnsClient client = MDnsClient(); // Start the client with default options. await client.start(mDnsAddress: InternetAddress('239.0.180.1')); // Get the PTR recod for the service. await for (PtrResourceRecord ptr in client .lookup<PtrResourceRecord>(ResourceRecordQuery.serverPointer(name))) { // Use the domainName from the PTR record to get the SRV record, // which will have the port and local hostname. // Note that duplicate messages may come through, especially if any // other mDNS queries are running elsewhere on the machine. await for (SrvResourceRecord srv in client.lookup<SrvResourceRecord>( ResourceRecordQuery.service(ptr.domainName))) { // Domain name will be something like "[email protected]._dartobservatory._tcp.local" final String bundleId = ptr.domainName; //.substring(0, ptr.domainName.indexOf('@')); print('Dart observatory instance found at ' '${srv.target}:${srv.port} for "$bundleId".'); } } client.stop(); print('Done.'); } ``` Flutter doctor: ```mdnstest $ flutter doctor Doctor summary (to see all details, run flutter doctor -v): [βœ“] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.14.5 18F203, locale en) [!] Android toolchain - develop for Android devices (Android SDK version 29.0.2) βœ— Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [βœ“] Xcode - develop for iOS and macOS (Xcode 11.0) [βœ“] Android Studio (version 3.5) [βœ“] Connected device (1 available) ! Doctor found issues in 1 category.```
platform-ios,d: api docs,package,p: multicast_dns,P3,team-ios,triaged-ios
medium
Critical
503,430,231
godot
Sprite unshaded CanvasItemMaterial option only works as a direct child of Node2D.
Godot version 3.1.1 stable.official Linux Mint 19.1 (Ubuntu) Kernel Linux 4.15.0-65-generic x86_64. Nividia GTX 950 It seems the unshaded light mode option of a CanvasItemMaterial is not working correctly. Sprites with this unshaded material option will only work as a direct child of Node2D. In this image I have the sprite as a a child of Node2D - TileMap4. The sprite is uneffected by the unshaded material option. ![godot-help-6](https://user-images.githubusercontent.com/656713/66312248-eb9b1c80-e8d5-11e9-844a-15491f11a6a9.jpg) In this image the same sprite is now a child of Node2D and the unshaded material option works as expected. ![godot-help-7](https://user-images.githubusercontent.com/656713/66312285-040b3700-e8d6-11e9-9d83-0ce59f02f651.jpg) This issue should be very easy to reproduce. It should be noted that I am using 2D lighting in this example. New to Godot .. but this issue feels bug'ish. ;)
bug,topic:rendering
low
Critical
503,455,223
youtube-dl
[europeantour] redesigned with brightcove
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2019.09.28. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2019.09.28** - [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.europeantour.com/european-tour/news/video/arnaus-i-m-really-proud-of-myself/ ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> The video https://www.europeantour.com/european-tour/news/video/arnaus-i-m-really-proud-of-myself/ is associated with these URLs https://secure.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=6092287066001&pubId=5136026580001&secure=true https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=6092302032001&secure=true&pubId=5136026580001&videoId=6092287066001 but plugging either of them into the youtube-dl command line still gives the 'Unsupported URL' error at the moment.
site-support-request
low
Critical
503,500,758
TypeScript
Infering type of optional parameter of lambda function is broken when passed to generic function.
**TypeScript Version:** 3.7.0-beta, nightly and older ones <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** optional parameter infer lambda generic **Code** ```ts declare function noop<T>(val: T): T; const f = (a: string, b = 23) => b; // reports "Parameter 'b' implicitly has an 'any' type." // broken since v3.5.1, older versions work well const foo = noop((a: string, b = 23) => b); // (a: string, b?: number) => number const bar = noop(f); declare function noop2<T extends (...params: any[]) => any>(val: T): T; // (a: string, b?: any) => any (BUG) const foo2 = noop2((a = 23) => a); // broken on all versions // (a: string, b?: number) => number const bar2 = noop2(f); ``` **Expected behavior:** `foo*` and `bar*` should all have the same type. **Actual behavior:** In the first case, the compiler complains that it can't infer the type of optional argument of lambda forwarded to `noop`, and in the second case it silently assigns `any` type to `b` instead of `number` **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> https://www.typescriptlang.org/play/?ts=Nightly&ssl=11&ssc=23&pln=1&pc=1#code/CYUwxgNghgTiAEAzArgOzAFwJYHtX1RxwAcAeAFQD4AKANyggC55yBKZ8gbgFgAoPlOmx4k1KMwDOGGFlQBzADTwARvAC88AEwBmVvADe8OBmQx8UTvAC+fPmDxSkRdQSLFqYydNmKVLnXpqlPBQrJZ2DhgqsC6EJNSIYXzwfKCQsAiCmLj4ccSaFPAgAB4YIKjAEvDUAHR1xLBQALYSzFCoAJ4A2gC6gcHtHTT0TCzsLDz8vPaojohEmrFumh7i8FIy8kqqGgHqA2Ep05HRMIsaeSuJnEA **Notes** The mentioned versions of typescript are not exact, I just used TypeScript playground and the set of available versions there.
Bug
low
Critical
503,503,764
go
crypto/tls: TestDynamicRecordSizingWithStreamCipher timeout on darwin-amd64-10_12 builder
From the `darwin-amd64-race` builder (https://build.golang.org/log/f1bbcc56f8b0a11004fddd58fdf1942d658c9e1c), a timeout due to an `IO wait` in `crypto/tls.TestDynamicRecordSizingWithStreamCipher`: <details> ``` panic: test timed out after 3m0s goroutine 23 [running]: testing.(*M).startAlarm.func1() /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/testing/testing.go:1377 +0x11c created by time.goFunc /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/time/sleep.go:168 +0x52 goroutine 1 [chan receive, 3 minutes]: testing.(*T).Run(0xc000128100, 0x153f504, 0x27, 0x1553d60, 0x1) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/testing/testing.go:961 +0x68a testing.runTests.func1(0xc000128100) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/testing/testing.go:1202 +0xa7 testing.tRunner(0xc000128100, 0xc00011db18) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/testing/testing.go:909 +0x19a testing.runTests(0xc0000b4f60, 0x1859ac0, 0x80, 0x80, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/testing/testing.go:1200 +0x522 testing.(*M).Run(0xc0000f2080, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/testing/testing.go:1117 +0x300 crypto/tls.runMain(0xc0000f2080, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/crypto/tls/handshake_test.go:364 +0x9c6 crypto/tls.TestMain(0xc0000f2080) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/crypto/tls/handshake_test.go:310 +0xd1 main.main() _testmain.go:304 +0x224 goroutine 52 [IO wait, 3 minutes]: internal/poll.runtime_pollWait(0x50a8f38, 0x72, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0000f2118, 0x72, 0x0, 0x0, 0x1531467) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0xe4 internal/poll.(*pollDesc).waitRead(...) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000f2100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/internal/poll/fd_unix.go:384 +0x2c9 net.(*netFD).accept(0xc0000f2100, 0xc29f4b27680a5945, 0xfe, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/fd_unix.go:238 +0x56 net.(*TCPListener).accept(0xc0000b4220, 0x0, 0x0, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/tcpsock_posix.go:139 +0x50 net.(*TCPListener).Accept(0xc0000b4220, 0x0, 0x0, 0x0, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/tcpsock.go:261 +0x50 crypto/tls.localServer(0x15d1660, 0xc0000b4220) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/crypto/tls/handshake_test.go:234 +0x81 created by crypto/tls.runMain /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/crypto/tls/handshake_test.go:336 +0x312 goroutine 58 [IO wait, 3 minutes]: internal/poll.runtime_pollWait(0x50a8e68, 0x77, 0xc0000f2200) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0000f2218, 0x77, 0xc0000be000, 0x1, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0xe4 internal/poll.(*pollDesc).waitWrite(...) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/internal/poll/fd_poll_runtime.go:96 internal/poll.(*FD).WaitWrite(...) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/internal/poll/fd_unix.go:498 net.(*netFD).connect(0xc0000f2200, 0x15d2460, 0xc0000be008, 0x0, 0x0, 0x15cc4c0, 0xc0000dab40, 0x0, 0x0, 0x0, ...) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/fd_unix.go:152 +0x376 net.(*netFD).dial(0xc0000f2200, 0x15d2460, 0xc0000be008, 0x15d3e80, 0x0, 0x15d3e80, 0xc00009f500, 0x0, 0x1, 0xc0000a93b8) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/sock_posix.go:149 +0x13a net.socket(0x15d2460, 0xc0000be008, 0x1530d30, 0x3, 0x2, 0x1, 0x0, 0x0, 0x15d3e80, 0x0, ...) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/sock_posix.go:70 +0x2a4 net.internetSocket(0x15d2460, 0xc0000be008, 0x1530d30, 0x3, 0x15d3e80, 0x0, 0x15d3e80, 0xc00009f500, 0x1, 0x0, ...) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/ipsock_posix.go:141 +0x152 net.(*sysDialer).doDialTCP(0xc0000f2180, 0x15d2460, 0xc0000be008, 0x0, 0xc00009f500, 0x20000000000804, 0xc00009f4d0, 0xc0000bfa50) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/tcpsock_posix.go:65 +0x12f net.(*sysDialer).dialTCP(0xc0000f2180, 0x15d2460, 0xc0000be008, 0x0, 0xc00009f500, 0x1099bc0, 0xc0000a9668, 0x15e79f3a) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/tcpsock_posix.go:61 +0x167 net.(*sysDialer).dialSingle(0xc0000f2180, 0x15d2460, 0xc0000be008, 0x15ceee0, 0xc00009f500, 0x0, 0x0, 0x0, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/dial.go:580 +0x765 net.(*sysDialer).dialSerial(0xc0000f2180, 0x15d2460, 0xc0000be008, 0xc00012c100, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/dial.go:548 +0x248 net.(*Dialer).DialContext(0xc0000a9ad8, 0x15d2460, 0xc0000be008, 0x1530d30, 0x3, 0xc0000bfa50, 0xf, 0x0, 0x0, 0x0, ...) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/dial.go:426 +0x942 net.(*Dialer).Dial(...) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/dial.go:349 net.Dial(0x1530d30, 0x3, 0xc0000bfa50, 0xf, 0xc000046b98, 0x10448d8, 0x30, 0x14c1340) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/net/dial.go:320 +0xc9 crypto/tls.localPipe(0x15d7fa0, 0xc000128600, 0x0, 0x0, 0x0, 0x0) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/crypto/tls/handshake_test.go:257 +0x6aa crypto/tls.runDynamicRecordSizingTest(0xc000128600, 0xc000062d80) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/crypto/tls/conn_test.go:137 +0x60 crypto/tls.TestDynamicRecordSizingWithStreamCipher(0xc000128600) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/crypto/tls/conn_test.go:244 +0x112 testing.tRunner(0xc000128600, 0x1553d60) /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/testing/testing.go:909 +0x19a created by testing.(*T).Run /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/testing/testing.go:960 +0x652 FAIL crypto/tls 180.096s ``` </details> See previously #27902, #27833 (`crypto/tls` timeouts on `darwin`); #32919, #29225, #32534 (various timeout-related errors in the `net` package on `darwin`). CC @FiloSottile @ianlancetaylor @mikioh
NeedsInvestigation
low
Critical
503,515,899
angular
Type 'SafeHtml' is not assignable to type 'string'
<!--πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”… Oh hi there! πŸ˜„ To expedite issue processing please search open and closed issues before submitting a new one. Existing issues often contain information about workarounds, resolution, or progress updates. πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…πŸ”…--> # 🐞 bug report ### Affected Package The issue is caused by package @angular/platform-browser ### Is this a regression? This is kind of regression - please see description bellow. ### Description I am getting **Typescript error** after switching to *Ivy compiler*: ```bash [Step 4/5] src/app/app.component.html(1,26): Type 'SafeHtml' is not assignable to type 'string'. ``` In Angular class there is a member property declared as `SafeHtml`: ```typescript @Component({ selector: 'app', template: `<div [innerHTML]="description"></div>` }) export class AppComponent { description: SafeHtml; constructor(private sanitizer: DomSanitizer) {} ngOnInit(): void { this.description = this.sanitizer.sanitize(SecurityContext.HTML, '<strong>whatever comes from server</strong>'); } } ``` My issue is how to convert `SafeHtml` and `SafeUrl` to string, so that strict template check does not emits an error - I would like to avoid calling `.toString()` on the `description` - it should work out of the box - at least it is my expectation. Angular `SafeHtml` is declared as: ```typescript /** * Marker interface for a value that's safe to use as HTML. * * @publicApi */ export declare interface SafeHtml extends SafeValue { } ``` And `innerHtml` defined in _lib.dom.d.ts_: ```typescript interface InnerHTML { innerHTML: string; } ``` The `innerHtml` is type of `string`, whereas I have `SafeHtml`. ## πŸ”¬ Minimal Reproduction How to reproduce: ```bash git clone https://github.com/felikf/angular-repro-safe-html.git npm i npm run build ``` ## πŸ”₯ Exception or Error <pre><code> Type 'SafeHtml' is not assignable to type 'string'</code></pre> ## 🌍 Your Environment **Angular Version:** <pre><code> Angular CLI: 8.3.4 Node: 12.11.1 OS: win32 x64 Angular: 8.2.6 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router Package Version ------------------------------------------------------------ @angular-devkit/architect 0.803.4 @angular-devkit/build-angular 0.803.6 @angular-devkit/build-optimizer 0.803.6 @angular-devkit/build-webpack 0.803.6 @angular-devkit/core 8.3.4 @angular-devkit/schematics 8.3.4 @angular/cdk 8.2.0 @angular/cli 8.3.4 @angular/flex-layout 8.0.0-beta.27 @angular/material 8.2.0 @angular/material-moment-adapter 8.2.0 @ngtools/webpack 8.3.6 @schematics/angular 8.3.4 @schematics/update 0.803.4 rxjs 6.5.3 typescript 3.5.3 webpack 4.39.2 </code></pre> **Anything else relevant?** This happens during `npm run build`. Also asked here: https://stackoverflow.com/questions/58265539/angular-ivy-type-check-type-safehtml-is-not-assignable-to-type-string
type: bug/fix,freq2: medium,area: compiler,state: confirmed,cross-cutting: types,design complexity: major,P3,compiler: template type-checking
medium
Critical
503,585,670
pytorch
batch_norm_elemt_cuda_template does not use its argument epsilon
In the internal function [`batch_norm_elemt_cuda_template`]( https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/cuda/Normalization.cuh#L672) epsilon is passed to [`batch_norm_transform_input_kernel`](https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/cuda/Normalization.cuh#L159), but `train=true` template parameter is used, so in fact epsilon is not used there either. Proposal: remove `epsilon` argument from `batch_norm_elemt_cuda_template` and `torch.batch_norm_elemt` (since it's not used) cc @ezyang @SsnL @gchanan
module: bc-breaking,module: nn,module: cuda,triaged
low
Major
503,605,836
pytorch
[JIT] script::Module API parity with nnmodule
Our script::Module has slightly different method names and behaviors compared to nn.Module. It shouldn't but it will take some to develop and test an equivalent API. We should: 1. design/review equivalent C++ API functions for nn.Module functions 2. implement and test the design 3. develop a plan to deprecate the old methods on script::Module and implement them in terms of the new methods. For example: https://github.com/pytorch/pytorch/issues/27144 cc @suo
oncall: jit,triaged
low
Minor
503,614,470
pytorch
[JIT] Figure out how to easily investigate memory usage issues issues
e.g. https://github.com/pytorch/pytorch/issues/25267 And other internal reports cc @suo
oncall: jit,triaged
low
Major