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
179,059,289
javascript
What rules do the community tend to override?
I'm opening this issue specifically to gather a list of the rules that those in the community feel are controversial or problematic, such that they override them, and most importantly, _why_. This is not an invitation for "+1s" (those belong as reactions on individual posts), or an invitation to hear about everyone's subjective aesthetic preferences, nor is it an indication that any of these rules necessarily will - or will not - change. I'm simply hoping to primarily gather civil, well-reasoned explanations for why certain rules are overridden, disabled, etc. Any comments mentioning spaces vs tabs, or semicolons, will be summarily deleted :-) We're aware of the following: - `react/jsx-filename-extension` - filed as #985. Why is it controversial? Some believe that `.js` files should be allowed to contain JSX. Others believe this is an app-level concern, and does not belong in a shared config (like "env" settings). - ~~`import/no-extraneous-dependencies`: in test directories, for example, it needs to be overridden to the following (note: if/when eslint allows [glob-based config](https://github.com/eslint/eslint/issues/3611), then we'd set up some common test directory patterns so you wouldn't have to do this manually)~~ `eslint-config-airbnb` `v13.0.0` is now released, which resolves this. ``` js "import/no-extraneous-dependencies": ["error", { "devDependencies": true, "optionalDependencies": false, }], ``` - `camelcase`: when you're bound to the casing selected by APIs (https://github.com/airbnb/javascript/issues/1089#issuecomment-249396262, but Airbnb suffers from this too) This might also apply to `new-cap` and `no-underscore-dangle`. - `no-param-reassign`: this happens frequently with a `reduce` where the entire operation is pure, but the reducer is not (ie, it mutates the accumulator, but the accumulator began as `{}` passed into the reducer). You can use `Object.assign({}, accumulator, changes)`, or `{ ...accumulator, ...changes }`, however. (per https://github.com/airbnb/javascript/issues/1089#issuecomment-249396262) - `no-use-before-define`: some enjoy using hoisting to define helper methods at the bottom of the file. This guide discourages relying on hoisting; instead suggesting importing the helpers from another file when possible. (per https://github.com/airbnb/javascript/issues/1089#issuecomment-249396262) - `no-mixed-operators` - specifically where it relates to arithmetic operators, where the PEMDAS rule applies. We're definitely considering loosening this rule as it applies to `*`, `/`, `+`, and `-`. Any others? I'll update the original post with new examples as I'm made aware of them. (Note: this does not cover env settings, like "browser", "node", "mocha", etc - these are app-level concerns, and as such, your `.eslintrc`, `tests/.eslintrc`, etc should be defining them)
question
high
Critical
179,067,126
go
x/pkgsite: Reset button for doc examples
example: https://golang.org/pkg/html/template/#example_Template_block The only way to reset a code example when you mest up trying something is to refresh the page. This is annoying if you are on a large page. Note that ussualy you are just on this url https://golang.org/pkg/html/template without a hash tag to the example directly so your page wil jump up when you refresh. Possible solutions update the hash tag when you expand the example ![image](https://cloud.githubusercontent.com/assets/863731/18813003/9c846b84-82e8-11e6-98f4-d1f96de2af2f.png) Or introduce a reset icon somewhere. (where and how i am not sure yet, feel free to discuss)
Tools,pkgsite
low
Major
179,100,067
youtube-dl
Please add workaround for forced YouTube translated video titles
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.24_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.24** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [x] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- YouTube has added a [feature](https://www.reddit.com/r/youtube/comments/3liny3/videos_titles_being_automatically_translated/) where it allows users or channel owners to contribute translations of video titles. This feature has been around for some time but rolled out in increments hitting users in different regions. On YouTube's web interface whether the original title (desired) or one of the translated titles are shown depends on the choice of interface language. If the language interface is selected to be other than English then YouTube will show the non-English titles in their original form. When using youtube-dl the desired outcome is for %(title)s to be the original title since this allows for better accounting of the saved material. There is no guarantee user-contributed or machine translations are accurate. These titles also make searching among files saved by youtube-dl harder than it should be. The problem has now hit youtube-dl because it requests en-US (or en-GB for embedded SWF) content from YouTube via hardcoded 'hl=en' parameter in multiple places in extractor/youtube.py. This results in YouTube presenting youtube-dl with (often inaccurate or nonsensical) translated titles. Please make the location, 'gl=??', and language 'hl=??', configurable via commandline switches. The parameter hl=?? is in particular effective for working around this issue. Currently, changing the occurrences of hl=en to, for example, hl=fr causes YouTuble, and consequently youtube-dl, to present the correct original title of videos. **Example** Video code: 2sKgVz79NZE Original correct title (in Japanese, accessible via YouTube API or a browser where YouTube language interface has been set to something other than English): "人を怒らせる方法 「放棄」" Translated title (acquired with --get-filename -f22 -o '%(title)s.%(ext)s' to youtube-dl, or a browser with YouTube interface language set to English): "How to make peopke angry 'renounse'.mp4"
request
medium
Critical
179,107,501
flutter
Refresh indicator's arc takes a step back once finger is lifted
Open Gallery, go into "Over-scoll". Drag down to pull down the refresh indicator. Drag as far down as you can. Let go. Expected: the head of the arrow remains in the same location after the circle moves up. Actual: after the circle moves up, the head of the arrow moves back, seemingly "resetting" a few steps. Visual effect can be seen here: https://youtu.be/GtoEuXJl2oQ Turn on 0.25 speed to really see the "step-back" once the circle moves back up once you let go. Later in that video, you can see the refresh indicator for Gmail. Once the finger is lifted, and the circle moves up, the head of arrow stays in the same location. (Yes, the actual arrow point disappears, but the line itself remains in the same location.)
team,framework,f: material design,a: fidelity,has reproducible steps,P3,found in release: 3.10,found in release: 3.12,team-design,triaged-design
low
Minor
179,112,672
vscode
Extension proxy support
Proxy support for Visual Studio Code has been introduced recently through environment variables/settings (see https://code.visualstudio.com/docs/setup/setup-overview#_proxy-server-support). As an extension developer I would like to use these settings when requesting resources from the internet. My current implementation fails for users using a proxy. What is the recommended way for an extension to use a proxy? I could not find a `vscode` API that exposes methods to make requests using a proxy other than access to the proxy settings (`workspace.getConfiguration()`) and implementing everything on my own. Looking at the Visual Studio Code code base I identified the code that adds support for proxies, but copy&paste it into my extension would result in duplicated and potentially outdated code, which is something I want to avoid whenever possible. As I am probably not the only extension developer accessing the internet, I would like to hear your opinion on this issue. Any feedback would be greatly appreciated.
feature-request,api,proxy
high
Critical
179,137,088
youtube-dl
urlopen error [WinError 10060] at "Downloading MPD manifest" stage
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.24_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.24** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [x] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` $ youtube-dl -f bestaudio https://www.youtube.com/watch?v=hqXpaTu8UrM [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', '-f', 'bestaudio', 'https://www.youtube.com/watch?v=hqXpaTu8UrM'] [debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252 [debug] youtube-dl version 2016.09.24 [debug] Python version 3.4.4 - Windows-10-10.0.14393 [debug] exe versions: none [debug] Proxy map: {} [youtube] hqXpaTu8UrM: Downloading webpage [youtube] hqXpaTu8UrM: Downloading video info webpage [youtube] hqXpaTu8UrM: Extracting video information [youtube] hqXpaTu8UrM: Downloading MPD manifest [debug] Invoking downloader on 'https://r8---sn-j5caxoxu-hh0s.googlevideo.com/videoplayback?id=86a5e9693bbc52b3&itag=140&source=youtube&requiressl=yes&pcm2cms=yes&mv=m&ms=au&initcwndbps=2342500&mn=sn-j5caxoxu-hh0s&mm=31&pl=20&ratebypass=yes&mime=audio/mp4&gir=yes&clen=3987045&lmt=1401161642629756&dur=248.313&key=dg_yt0&mt=1474859081&upn=AxlPwg2lpD0&signature=1166C6D317E3466C02FB9DFFC9EA9F880678340C.81CF84B91C7C038FC66EABCD66808884B1E96534&ip=47.16.82.215&ipbits=0&expire=1474881013&sparams=ip,ipbits,expire,id,itag,source,requiressl,pcm2cms,mv,ms,initcwndbps,mn,mm,pl,ratebypass,mime,gir,clen,lmt,dur' ERROR: unable to download video data: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> Traceback (most recent call last): File "C:\Python\Python34\lib\urllib\request.py", line 1183, in do_open File "C:\Python\Python34\lib\http\client.py", line 1137, in request File "C:\Python\Python34\lib\http\client.py", line 1182, in _send_request File "C:\Python\Python34\lib\http\client.py", line 1133, in endheaders File "C:\Python\Python34\lib\http\client.py", line 963, in _send_output File "C:\Python\Python34\lib\http\client.py", line 898, in send File "C:\Python\Python34\lib\http\client.py", line 1279, in connect File "C:\Python\Python34\lib\http\client.py", line 871, in connect File "C:\Python\Python34\lib\socket.py", line 516, in create_connection File "C:\Python\Python34\lib\socket.py", line 507, in create_connection TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\YoutubeDL.py", line 1699, in process_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\YoutubeDL.py", line 1641, in dl File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\downloader\common.py", line 354, in download File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\downloader\http.py", line 58, in real_download File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\YoutubeDL.py", line 2001, in urlopen File "C:\Python\Python34\lib\urllib\request.py", line 464, in open File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\utils.py", line 1011, in https_open File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> ... <end of log> ``` --- ### Description of your _issue_, suggested solution and other information Failed target videos: https://www.youtube.com/watch?v=hqXpaTu8UrM https://www.youtube.com/watch?v=YtaJNbW4ET4 Working target video: https://www.youtube.com/watch?v=bOrVzmd9j1s youtube-dl gives a connection error whenever it reaches the Downloading MPD Manifest stage. I can access all videos themselves fine, and when I ask for available formats, it connects fine and works as intended. I have tried using the youtu.be url as well as the full url, and using http instead of https, but it still gives the same error. I have also tried it using a different video (provided above), and it worked perfectly. When I ask for available formats, it connects fine and gives me the format choices for all three videos. Error log provided above is for attempt on https://www.youtube.com/watch?v=hqXpaTu8UrM Any help or advice would be appreciated. Thank you.
cant-reproduce
low
Critical
179,357,524
flutter
Draggable feedback in overlay should optionally be same size as child. ("use child as feedback" feature)
c: new feature,framework,customer: solaris,P3,team-framework,triaged-framework
medium
Critical
179,371,715
go
proposal: decide policy for sub-repositories
[this is not a proposal yet, just a problem statement] There are several proposals to add new packages to the `x/foo` "sub-repositories". (See: #16353, #13432, #12332, #16257, #15985, #15406, and more.) The proposals are all different, but they circle around the same issue: what should and should not be in a sub-repository. Currently, the sub-repositories contain x different things: 1. Packages and tools that are part of a loose set of Go tools (godoc, goimports, benchcmp, x/debug, etc) 2. Packages and tools that support the Go web services (godoc, present, x/playground, x/tour, etc) 3. Tools that support Go project development (x/build, x/benchmarks, x/review, etc). 4. Packages that augment the standard library (x/text, x/image, x/crypto, x/sys, etc). 5. Other projects worked on by Go team members at Google (x/exp, x/mobile, etc). To me, it's clear that 1-2 belong in the sub-repositories, and should be an official part of the Go project. For 4-5, this code only lives in the sub-repositories either for historical reasons or mere convenience. The Go contributors are accustomed to the process (tools and reviews) of writing code in that style, so the sub-repos were just the obvious place to go. (3 is a fringe case, as the tools could be worked on elsewhere, but the people working on them work on Go full time and work on that code solely to support the project, so I am inclined to ignore this code for the purposes of this issue.) As the project grows, it attracts people who want to contribute new packages to these sub-repositories (see the issues cited at the beginning of this issue). The reasons for inclusion include: 1. To provide an official package for doing X. 2. To provide a supported package for doing X. 3. To contribute to the Go project. 4. To use the project's development processes (gerrit, etc). 5. To have their code reviewed by other Go contributors and to benefit from their expertise. 6. To use the same consistent license (with CLA) that the project uses. 7. To provide a single package for a single purpose, and avoid duplicate effort. 8. To provide an official package for interoperating about (but not necessarily doing) X. 9. To act as a dependency for something else under x/. [What are the other reasons? I'd like to enumerate them all here.] --- My opinion begins here: None of the above reasons are good arguments to add new packages to the sub-repositories. Taking each in turn: 1. The "official" packages, such as they are, are generally of high quality because a small group of dedicated contributors have invested constant energy in them. But there are other high quality packages elsewhere in the Go ecosystem (many of higher quality than some of those in the sub-repos), it's just harder for people to find them and they don't have "prestigious" import paths. Rather than moving more stuff into the Go project, _I'd think we should address this issue by making it easier to find and recognize high quality packages._ (One way to do this is to improve godoc.org, but there are many other ways.) 2. Putting something in the sub-repositories does not imply support. People are not more or less inclined to work on a package just because it's in a sub-repository. The current set of Go contributors are stretched pretty thin as it is. I think that _by moving more stuff into the sub-repositories we set expectations of support where there is none._ That's bad for our users. 3. Moving more code into the project just for the sake of contributing is _not a net win_. There's plenty of work to be done on the code that is already part of the project (and the many, many open issues). 4. If people want to use our processes, I think that a better approach is to _find a way to use those processes outside of the project_. That's a solution that scales much better. [see discussion below for other points] In general, I'd like to make the Go project smaller rather than bigger. (In the same sense that we would remove stuff from the standard library, if we could.) As I said, this is just my opinion and perspective. I have created this issue to gather feedback from other [potential] contributors. Personal opinion ends. --- We need to set a policy for what belongs in the sub-repositories, and in doing so more clearly define the boundaries of the Go project.
Proposal
high
Critical
179,385,069
go
fmt: Scan returns "unexpected EOF" instead of io.EOF when arguments have a custom Scan method
### What version of Go are you using (`go version`)? ``` go version go1.7.1 linux/amd64 ``` ### What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/kai/work/go" GORACE="" GOROOT="/home/kai/opt/go" GOTOOLDIR="/home/kai/opt/go/pkg/tool/linux_amd64" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build253151644=/tmp/go-build -gno-record-gcc-switches" CXX="g++" CGO_ENABLED="1" ``` ### What did you do? https://play.golang.org/p/L6XtKIJIFb ### What did you expect to see? ``` 1 <nil> 42 1 <nil> 42 0 EOF 0 0 EOF 0 ``` ### What did you see instead? ``` 1 <nil> 42 1 <nil> 42 0 EOF 0 0 unexpected EOF 0 ```
NeedsDecision
low
Critical
179,391,542
TypeScript
Line break in module declaration causes compile time error
<!-- BUGS: Please use this template. --> <!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript --> <!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md --> **TypeScript Version:** 2.0.3 A line break in the declaration of a module causes a compile time error. This could either be that the language specification isn't clear that this is illegal or a bug. **Code** ``` ts // Example declaration with line break declare module my.very.long.name.foo.bar.baz.able.baker {} ``` **Expected behavior:** I don't see anything in the language specification that would make this a compile time error, so I would expect the statement to work as if declaration was all on one line, ie: ``` ts // Example declaration with line break declare module my.very.long.name.foo.bar.baz.able.baker {} ``` **Actual behavior:** A compile time error, in particular: (1, 9): error TS1005: ';' expected.
Bug,Help Wanted
low
Critical
179,516,323
go
x/crypto/acme: provide mock implementation for tests
Without faking out the whole of GetCertificate, it's not easy to test an autocert-based system, and doing things that way leaves substantial room for getting the Manager configuration wrong. The autocert tests contain an ACME CA server stub - maybe that could be made available publicly in some form.
NeedsInvestigation
low
Minor
179,533,917
opencv
Full screen window causes not responding keyboard on mac OS X
##### System information (version) - OpenCV => 3.2 - Operating System / Platform => OS X 10.12.2 - Compiler => GNU++11 ##### Detailed description I use Xcode 8.2.1 to build OpenCV C++ applications. When displaying an image in a fullscreen window, only white color and mouse cursor appears on whole screen. Moreover, I am not able to quit the application even force quit does not work. The only thing I can do is to force quit the computer. ##### Steps to reproduce ``` cv::namedWindow(main_window_name, CV_WINDOW_NORMAL); cv::setWindowProperty(main_window_name, CV_WND_PROP_FULLSCREEN, CV_WINDOW_FULLSCREEN); cv::imshow(main_window_name, frame); ```
bug,category: highgui-gui,affected: 3.4,platform: ios/osx
low
Minor
179,536,535
vscode
[html] closing </script> tag is not proposed
Testing #12100 ``` <!-- Copyright (C) Microsoft Corporation. All rights reserved. --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <script> </head> </html> ``` After `<script>` tag type `</` Expected closing `</script>` tag is proposed. But not.
feature-request,html
low
Minor
179,620,427
TypeScript
tsconfig.json options not applied if files section doesn't use extensions
Copied from https://github.com/Microsoft/vscode/issues/12547 Reported by @nomaed - VSCode Version: 1.5.3 (5be4091987a98e3870d89d630eb87be6d9bafd27) - OS Version: macOS Sierra 10.12 Steps to Reproduce: - Create an empty directory - Run `npm init` and then `npm i --save-dev typescript` - Run `tsc --init` (or `./node_modules/.bin/tsc --init`) - Create `test.ts` and add code that's using `Map` and `Set`: ``` typescript const foo = new Map(); const bar = new Set(); ``` - Edit `tsconfig.json`, set `target` to be `es2015`, and add `files` section with the test script (`test`) without its extension: ``` json { "compilerOptions": { "module": "commonjs", "target": "es2015", "noImplicitAny": false, "sourceMap": false }, "files": [ "test" ] } ``` - Run `tsc` (or `./node_modules/.bin/tsc`), see that `test.js` is created with exactly the same code, as expected, and no warnings or errors have been seen. At this point, `tsc` compiled the file `test` while adding the default `.ts` extension when resolving. Now adding VSCode into the picture: - Run `code .` to open VSCode with the current testing directory loaded. Either that, or from GUI go to `Files > Open` and loaded the current directory. - Open `test.ts` file. At this point VSCode may ask about TypeScript version, if TypeScript 2.0 was installed by npm. It doesn't matter whether you choose TS 2.0 or TS 1.8, both produce the same behavior. - Observe `Map` and `Set` being unrecognized: <img width="583" alt="screen shot 2016-09-23 at 22 31 53" src="https://cloud.githubusercontent.com/assets/9551921/18800492/93defa6e-81dd-11e6-8511-992ec277e43e.png"> The observed behavior is inconsistent with `tsc`. Now, to "fix" it: - Open `tsconfig.json` and change the `files` section to have the full file-name with its extension `test.ts`. - Reload TypeScript project or reload VSCode, and open `test.ts`. Everything is fine now. <img width="612" alt="screen shot 2016-09-23 at 22 30 14" src="https://cloud.githubusercontent.com/assets/9551921/18800457/56e30d9e-81dd-11e6-858d-291a121c4b5b.png"> However, I would expect vscode behavior in this to be the same as of `tsc`.
Bug,VS Code Tracked
low
Critical
179,626,035
go
x/text: support API for Unicode word breaking and word extraction (Annex #29)
Please answer these questions before submitting your issue. Thanks! ### What version of Go are you using (`go version`)? `go version go1.7 linux/amd64` ### What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/ioe/sources/go" GORACE="" GOROOT="/usr/local/go" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/user/1000/go-build353744209=/tmp/go-build -gno-record-gcc-switches" CXX="g++" CGO_ENABLED="1" ``` ### What did you do? Trying to split text at word boundaries like mentioned at http://unicode.org/reports/tr29/#Word_Boundaries and also trying to extract words from strings as mentioned in the same document. ### What did you expect to see? Given the sentence "The quick (“brown”) fox can’t jump 32.3 feet, right?" - detecting word boundaries at all places marked with "|" ``` none The| |quick| |(|“|brown|”|)| |fox| |can’t| |jump| |32.3| |feet|,| |right|? ``` - support word extraction to a string slice with the following content ``` go words := []string{"The", "quick", "brown", "fox", "can’t", "jump", "32.3", "feet", "right"} ``` ### What did you see instead? That depends on the API used. example with strings.Fields at https://play.golang.org/p/dhJtlR-b3w displays: ``` none []string{"The", "quick", "(“brown”)", "fox", "can’t", "jump", "32.3", "feet,", "right?"} ``` Note: Proper test vectors are here: Test vectors are here: http://www.unicode.org/Public/UCD/latest/ucd/auxiliary/WordBreakTest.txt An implementation using Ruby magic and a state machine generated by Ragel can be found here: [github.com/blevesearch/segment](https://godoc.org/github.com/blevesearch/segment)
help wanted,NeedsInvestigation
low
Critical
179,632,910
flutter
The position of PopupMenuButton's menu does not follow the Material Design spec
In the Menus demo of the Gallery: 1. Tap 'An item with a simple menu'. 2. Tap 'Menu item value three'. 3. Tap 'An item with a simple menu' item again. Expected: menu opens up from the bottom (where you're actually tapping) Observed: menu opens up from the top
framework,f: material design,a: quality,has reproducible steps,P3,team-design,triaged-design,found in release: 3.16,found in release: 3.19
low
Major
179,651,912
youtube-dl
--external-downloader-args should be ignored when --external-downloader isn't used
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.27_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.27** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [x] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` $ youtube-dl -v https://twitter.com/CrazyByAnittaOf/status/780841028303646720 [debug] System config: [] [debug] User config: ['--external-downloader=aria2c', '--external-downloader-args=--file-allocation=falloc --max-connection-per-server=10 --min-split-size=1M', '--netrc', '--ignore-errors', '--prefer-ffmpeg'] [debug] Command-line args: ['-v', 'https://twitter.com/CrazyByAnittaOf/status/780841028303646720'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.09.27 [debug] Python version 3.5.1 - Darwin-16.0.0-x86_64-i386-64bit [debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.1.2, ffprobe 3.1.2, rtmpdump 2.4 [debug] Proxy map: {} [twitter] 780841028303646720: Downloading webpage [twitter:card] 780841028303646720: Downloading webpage [twitter:card] 780841028303646720: Downloading m3u8 information [debug] Invoking downloader on 'https://video.twimg.com/ext_tw_video/780840843628380161/pu/pl/480x480/1ne3LEaCrDHpwPvG.m3u8' [download] Destination: Crazy By Anitta - MINHA amoree #MPN #anitta-780841028303646720.mp4 [debug] ffmpeg command line: ffmpeg -y --file-allocation=falloc --max-connection-per-server=10 --min-split-size=1M -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Language: en-us,en;q=0.5 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip, deflate ' -i https://video.twimg.com/ext_tw_video/780840843628380161/pu/pl/480x480/1ne3LEaCrDHpwPvG.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Crazy By Anitta - MINHA amoree #MPN #anitta-780841028303646720.mp4.part' ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers built with Apple LLVM version 7.3.0 (clang-703.0.31) configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libx265 --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags= --enable-nonfree --enable-vda libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 48.101 / 57. 48.101 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 47.100 / 6. 47.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100 Unrecognized option '-file-allocation=falloc'. Error splitting the argument list: Option not found ERROR: ffmpeg exited with code 1 File "/Users/silvior/anaconda/lib/python3.5/runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "/Users/silvior/anaconda/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module> youtube_dl.main() File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 449, in main _real_main(argv) File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 439, in _real_main retcode = ydl.download(all_urls) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 776, in process_ie_result new_result, download=download, extra_info=extra_info) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 751, in process_ie_result return self.process_video_result(ie_result, download=download) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1435, in process_video_result self.process_info(new_info) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1699, in process_info success = dl(filename, info_dict) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1641, in dl return fd.download(name, info) File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 354, in download return self.real_download(filename, info_dict) File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 43, in real_download self.get_basename(), retval)) File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error self.ydl.report_error(*args, **kargs) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 568, in report_error self.trouble(error_message, tb) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in trouble tb_data = traceback.format_list(traceback.extract_stack()) ``` ### Description of your _issue_, suggested solution and other information When I tried to download a video from twitter, youtube-dl used the args passed to aria2c from ~/.config/youtube-dl/config to ffmpeg causing the above error.
bug
low
Critical
179,654,843
neovim
temp files (e.g. for filtered commands) are not deleted
"Filtered" bang/shell commands like `:r !...` create temp files. These temp files are not deleted. These files may grow very large for long-running commands. For example, let this command run for a few minutes (or hours): ``` :r !yes ``` this will create a ~20 GB tempfile.
bug-vim,io
low
Minor
179,683,852
youtube-dl
Add support for rumble.com
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.27_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [ ] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.27** ### Before submitting an _issue_ make sure you have: - [ ] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [ ] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` $ youtube-dl -v <your command line> [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2016.09.27 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} ... <end of log> ``` --- ### If the purpose of this _issue_ is a _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): - Single video: https://www.youtube.com/watch?v=BaW_jenozKc - Single video: https://youtu.be/BaW_jenozKc - Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc --- ### Description of your _issue_, suggested solution and other information Explanation of your _issue_ in arbitrary form goes here. Please make sure the [description is worded well enough to be understood](https://github.com/rg3/youtube-dl#is-the-description-of-the-issue-itself-sufficient). Provide as much context and examples as possible. If work on your _issue_ requires account credentials please provide them or explain how one can obtain them.
site-support-request
high
Critical
179,688,354
youtube-dl
Add support for live.line.me
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.27** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [x] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other https://live.line.me/r/channels/21/broadcast/51883
site-support-request
low
Critical
179,721,782
youtube-dl
Support live streams in MPEG DASH
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.27_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.27** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [x] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [x] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` % youtube-dl http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd --verbose [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.09.27 [debug] Python version 3.5.1+ - Linux-4.6.0-1-amd64-x86_64-with-debian-stretch-sid [debug] exe versions: ffmpeg 3.1.3-1, ffprobe 3.1.3-1, rtmpdump 2.4 [debug] Proxy map: {} [generic] manifest: Requesting header [redirect] Following redirect to http://se04.se.tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd [generic] manifest: Requesting header WARNING: Falling back on generic information extractor. [generic] manifest: Downloading webpage [generic] manifest: Extracting information ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/home/misuzu/Documents/Virtualenvs/rub90-v2-streaming/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info ie_result = ie.extract(url) File "/home/misuzu/Documents/Virtualenvs/rub90-v2-streaming/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 355, in extract return self._real_extract(url) File "/home/misuzu/Documents/Virtualenvs/rub90-v2-streaming/lib/python3.5/site-packages/youtube_dl/extractor/generic.py", line 1663, in _real_extract self._sort_formats(info_dict['formats']) File "/home/misuzu/Documents/Virtualenvs/rub90-v2-streaming/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 922, in _sort_formats raise ExtractorError('No video formats found') youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. ``` --- ### If the purpose of this _issue_ is a _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): - Single video: http://embed.tvcom.cz/2abb1b03-662b-4237-8c3f-7748818271cb/720/ - Single video: http://embed.tvcom.cz/e3558bcc-12bb-4ff8-8b7f-cf6dd0d990cc/720/ - Single video: http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd - Single video: http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl39/manifest.mpd --- ### Description of your _issue_, suggested solution and other information Explanation of your _issue_ in arbitrary form goes here. Please make sure the [description is worded well enough to be understood](https://github.com/rg3/youtube-dl#is-the-description-of-the-issue-itself-sufficient). Provide as much context and examples as possible. If work on your _issue_ requires account credentials please provide them or explain how one can obtain them. Seems like youtube-dl does not support m4s container for MPEG DASH streams. Sample manifest.mpd from http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd: ``` ?xml version="1.0" encoding="UTF-8"?> <MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="dynamic" minimumUpdatePeriod="PT3.083S" publishTime="2016-09-28T09:24:35Z" availabilityStartTime="2016-09-28T09:07:27Z" timeShiftBufferDepth="PT49.92S" suggestedPresentationDelay="PT15.0S" minBufferTime="PT6.0S"> <ProgramInformation> <Title>fotbal-cfl62</Title> </ProgramInformation> <Period id="0" start="PT0.0S"> <AdaptationSet id="0" mimeType="video/mp4" width="720" height="404" par="16:9" frameRate="25" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1"> <SegmentTemplate timescale="90000" media="chunk_u64qw79a6_ctvideo_cfm4s_rid$RepresentationID$_cs$Time$_mpd.m4s" initialization="chunk_u64qw79a6_ctvideo_cfm4s_rid$RepresentationID$_cinit_mpd.m4s"> <SegmentTimeline> <S t="87343200" d="864000"/> <S d="1036800"/> <S d="864000"/> <S d="864000"/> <S d="864000"/> </SegmentTimeline> </SegmentTemplate> <Representation id="p0a0r0" codecs="avc1.42c01e" sar="1:1" bandwidth="1002000" /> </AdaptationSet> <AdaptationSet id="1" mimeType="audio/mp4" lang="eng" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1"> <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/> <SegmentTemplate timescale="44100" media="chunk_u64qw79a6_ctaudio_cfm4s_rid$RepresentationID$_cs$Time$_mpd.m4s" initialization="chunk_u64qw79a6_ctaudio_cfm4s_rid$RepresentationID$_cinit_mpd.m4s"> <SegmentTimeline> <S t="42799183" d="422912"/> <S d="507904"/> <S d="423936"/> <S d="422912"/> <S d="422912"/> </SegmentTimeline> </SegmentTemplate> <Representation id="p0a1r0" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="64000"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> </Representation> </AdaptationSet> </Period> </MPD> ```
request
low
Critical
179,794,095
rust
Compilation of a crate using a large static map fails on latest i686-pc-windows-gnu Beta
I'm trying to build a `cdylib` (https://github.com/urschrei/lonlat_bng) which requires the https://github.com/urschrei/ostn15_phf crate. building on AppVeyor, on `i686-pc-windows-gnu`, using the latest beta, is failing with an OOM error: ### Details The `ostn15_phf` crate is essentially just a very big static map, built using PHF (the generated, uncompiled map is around 42.9mb) The build passed when running `cargo test`, using `rustc 1.12.0-beta.3 (341bfe43c 2016-09-16)`: https://ci.appveyor.com/project/urschrei/lonlat-bng/build/105/job/3y1llt6luqs3phs3 It's now failing when running `cargo test`, using `rustc 1.12.0-beta.6 (d3eb33ef8 2016-09-23)`: https://ci.appveyor.com/project/urschrei/lonlat-bng/build/job/27pgrkx2cnn2gw50 The failure occurs when compiling `ostn15_phf` with `fatal runtime error: out of memory`
I-crash,P-medium,T-compiler,A-MIR,regression-from-stable-to-stable,I-compilemem,C-bug,O-x86_32
high
Critical
179,820,157
go
x/net/http2: access to maxConcurrentStreams
### What version of Go are you using (`go version`)? go version go1.7.1 darwin/amd64 ### What operating system and processor architecture are you using (`go env`)? GOARCH="amd64" GOOS="darwin" ### What did you do? I am working on an HTTP/2 client for Apple's push notification service. When using [JWT tokens](https://jwt.io/) to authenticate, Apple initially sends maxConcurrentStreams = 1. Once authentication is complete they send maxConcurrentStreams = 500 (though this number may vary). Currently I have a worker pool to send multiple requests concurrently. If I could monitor the maxConcurrentStreams, I would know how big the worker pool should be -- or how many workers should be active. ### What did you expect to see? Access to maxConcurrentStreams via httptrace or some other x/net/http2 API. https://github.com/golang/net/blob/master/http2/transport.go#L1735 Possibly related: https://github.com/golang/go/issues/13774 ### What did you see instead? If I send more requests than maxConcurrentStreams dictates With Go 1.7.1 http.DefaultClient I am getting the following error. ``` http2: server sent GOAWAY and closed the connection; LastStreamID=1, ErrCode=REFUSED_STREAM, debug="Maximum active streams violated for this endpoint." ``` With the latest `x/net/http2` I'm getting slightly different errors (still looking into these). ``` 2016/09/28 10:14:43 (9) device: [my-token], error: Post https://api.development.push.apple.com/3/device/[my-token]: http2: no cached connection was available ``` and ``` 2016/09/28 10:14:43 (11) device: [my-token], error: invalid character 'M' looking for beginning of value ``` In any case, the best I can do is prime the connection with a single request, and then send some number of concurrent requests, but not really knowing how many I can send.
Suggested,help wanted
low
Critical
179,828,978
flutter
Investigate alternatives to libimobiledevice
Given #5397, #6067, #6105, it's clear there's some risk in depending on libimobiledevice, particularly around new Xcode/iOS release times.
platform-ios,tool,platform-mac,P3,team-ios,triaged-ios
low
Major
179,942,486
youtube-dl
Couldn't download video from lesports.com, again
Hi, Similar to bug #9750. I tried `youtube-dl -v http://www.lesports.com/match/1023203003.html`, which is original url. Output: > [debug] System config: [] > [debug] User config: [] > [debug] Command-line args: ['-v', 'http://www.lesports.com/match/1023203003.html'] > [debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936 > [debug] youtube-dl version 2016.09.27 > [debug] Python version 3.5.0 - Windows-post2012Server-6.3.9600 > [debug] exe versions: none > [debug] Proxy map: {} > [generic] 1023203003: Requesting header > WARNING: Falling back on generic information extractor. > [generic] 1023203003: Downloading webpage > [generic] 1023203003: Extracting information > ERROR: Unsupported URL: http://www.lesports.com/match/1023203003.html > Traceback (most recent call last): > File "c:\program files\python 3.5\lib\site-packages\youtube_dl\YoutubeDL.py", line 694, in extract_info > ie_result = ie.extract(url) > File "c:\program files\python 3.5\lib\site-packages\youtube_dl\extractor\common.py", line 355, in extract > return self._real_extract(url) > File "c:\program files\python 3.5\lib\site-packages\youtube_dl\extractor\generic.py", line 2424, in _real_extract > raise UnsupportedError(url) > youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.lesports.com/match/1023203003.html I then tried to use `youtube-dl -v http://sports.le.com/match/1023203003.html`, which is similar to the pattern in #9750. Output is similar to #9750, > [debug] System config: [] > [debug] User config: [] > [debug] Command-line args: ['-v', 'http://sports.le.com/match/1023203003.html'] > [debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936 > [debug] youtube-dl version 2016.09.27 > [debug] Python version 3.5.0 - Windows-post2012Server-6.3.9600 > [debug] exe versions: none > [debug] Proxy map: {} > [LePlaylist] 1023203003: Downloading webpage > [download] Downloading playlist: 拜仁慕尼黑,罗斯托夫,拜仁慕尼黑VS罗斯托夫,欧洲冠军联赛,足球 > [LePlaylist] playlist 拜仁慕尼黑,罗斯托夫,拜仁慕尼黑VS罗斯托夫,欧洲冠军联赛,足球: Collected 0 video ids (downloading 0 of them) > [download] Finished downloading playlist: 拜仁慕尼黑,罗斯托夫,拜仁慕尼黑VS罗斯托夫,欧洲冠军联赛,足球
bug,geo-restricted
low
Critical
179,947,024
youtube-dl
Some Facebook plugin URLs are unsupported
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.27_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.27** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [x] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` > youtube-dl.exe "https://www.facebook.com/v2.3/plugins/video.php?allowfullscreen=true&app_id=&channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fx d_arbiter%2Fr%2FP5DLcu0KGJB.js%3Fversion%3D42%23cb%3Df1d45e6da%26domain%3Dwww.mycarforum.com%26origin%3Dhttp%253A%252F%252Fwww.mycarforum.com%252Ff1e33442e4%26r elation%3Dparent.parent&container_width=883&href=http%3A%2F%2Fwww.mycarforum.com%2FTheStraitsTimes%2Fvideos%2F10153797435237115%2F%3Ftype%3D3&locale=en_US&sdk=j oey" -v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['https://www.facebook.com/v2.3/plugins/video.php?allowfullscreen=true&app_id=&channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2 Fxd_arbiter%2Fr%2FP5DLcu0KGJB.js%3Fversion%3D42%23cb%3Df1d45e6da%26domain%3Dwww.mycarforum.com%26origin%3Dhttp%253A%252F%252Fwww.mycarforum.com%252Ff1e33442e4%2 6relation%3Dparent.parent&container_width=883&href=http%3A%2F%2Fwww.mycarforum.com%2FTheStraitsTimes%2Fvideos%2F10153797435237115%2F%3Ftype%3D3&locale=en_US&sdk =joey', '-v'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2016.09.27 [debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1 [debug] exe versions: ffmpeg N-74113-gcdb0225, ffprobe N-74113-gcdb0225 [debug] Proxy map: {} [generic] video.php?allowfullscreen=true&app_id=&channel=http://staticxx.facebook.com/connect/xd_arbiter/r/P5DLcu0KGJB.js?version=42#cb=f1d45e6da&domain=www.myc arforum.com&origin=http%3A%2F%2Fwww.mycarforum.com%2Ff1e33442e4&relation=parent.parent&container_width=883&href=http://www.mycarforum: Requesting header WARNING: Falling back on generic information extractor. [generic] video.php?allowfullscreen=true&app_id=&channel=http://staticxx.facebook.com/connect/xd_arbiter/r/P5DLcu0KGJB.js?version=42#cb=f1d45e6da&domain=www.myc arforum.com&origin=http%3A%2F%2Fwww.mycarforum.com%2Ff1e33442e4&relation=parent.parent&container_width=883&href=http://www.mycarforum: Downloading webpage [generic] video.php?allowfullscreen=true&app_id=&channel=http://staticxx.facebook.com/connect/xd_arbiter/r/P5DLcu0KGJB.js?version=42#cb=f1d45e6da&domain=www.myc arforum.com&origin=http%3A%2F%2Fwww.mycarforum.com%2Ff1e33442e4&relation=parent.parent&container_width=883&href=http://www.mycarforum: Extracting information ERROR: Unsupported URL: https://www.facebook.com/v2.3/plugins/video.php?allowfullscreen=true&app_id=&channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_a rbiter%2Fr%2FP5DLcu0KGJB.js%3Fversion%3D42%23cb%3Df1d45e6da%26domain%3Dwww.mycarforum.com%26origin%3Dhttp%253A%252F%252Fwww.mycarforum.com%252Ff1e33442e4%26rela tion%3Dparent.parent&container_width=883&href=http%3A%2F%2Fwww.mycarforum.com%2FTheStraitsTimes%2Fvideos%2F10153797435237115%2F%3Ftype%3D3&locale=en_US&sdk=joey Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpaa64pv68\build\youtube_dl\YoutubeDL.py", line 694, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpaa64pv68\build\youtube_dl\extractor\common.py", line 355, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpaa64pv68\build\youtube_dl\extractor\generic.py", line 2424, in _real_extract youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.facebook.com/v2.3/plugins/video.php?allowfullscreen=true&app_id=&channel=http%3A%2F%2Fstaticxx.f acebook.com%2Fconnect%2Fxd_arbiter%2Fr%2FP5DLcu0KGJB.js%3Fversion%3D42%23cb%3Df1d45e6da%26domain%3Dwww.mycarforum.com%26origin%3Dhttp%253A%252F%252Fwww.mycarfor um.com%252Ff1e33442e4%26relation%3Dparent.parent&container_width=883&href=http%3A%2F%2Fwww.mycarforum.com%2FTheStraitsTimes%2Fvideos%2F10153797435237115%2F%3Fty pe%3D3&locale=en_US&sdk=joey ... <end of log> ``` --- ### Description of your _issue_, suggested solution and other information Hi, When I tried downloading videos from the Facebook urls beginning with **"https://www.facebook.com/v2.3/plugins/video.php"**, the Unsupported URL error is returned. Eg.: - https://www.facebook.com/v2.3/plugins/video.php?allowfullscreen=true&app_id=&channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2FP5DLcu0KGJB.js%3Fversion%3D42%23cb%3Df1d45e6da%26domain%3Dwww.mycarforum.com%26origin%3Dhttp%253A%252F%252Fwww.mycarforum.com%252Ff1e33442e4%26relation%3Dparent.parent&container_width=883&href=http%3A%2F%2Fwww.mycarforum.com%2FTheStraitsTimes%2Fvideos%2F10153797435237115%2F%3Ftype%3D3&locale=en_US&sdk=joey - https://www.facebook.com/v2.3/plugins/video.php?allowfullscreen=true&app_id=&channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2FP5DLcu0KGJB.js%3Fversion%3D42%23cb%3Df61fb0db%26domain%3Dwww.mycarforum.com%26origin%3Dhttp%253A%252F%252Fwww.mycarforum.com%252Ff77f158a4%26relation%3Dparent.parent&container_width=861&href=http%3A%2F%2Fwww.mycarforum.com%2FBehChiaLor%2Fvideos%2F1779898258932927%2F%3Ftype%3D3&locale=en_US&sdk=joey - https://www.facebook.com/v2.3/plugins/video.php?allowfullscreen=true&app_id=&channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2FP5DLcu0KGJB.js%3Fversion%3D42%23cb%3Df1dbf9be7%26domain%3Dwww.mycarforum.com%26origin%3Dhttp%253A%252F%252Fwww.mycarforum.com%252Ff77f158a4%26relation%3Dparent.parent&container_width=883&href=http%3A%2F%2Fwww.mycarforum.com%2FBehChiaLor%2Fvideos%2F1779959948926758%2F%3Ftype%3D3&locale=en_US&sdk=joey Note the youtube-dl is able to download videos from Facebook urls beginning with **"https://www.facebook.com/plugins/video.php"** Thanks.
patch-available,site-update-request
low
Critical
180,030,735
go
x/mobile: com.android.dex.DexException: Multiple dex files define Lgo/LoadJNI;
Please answer these questions before submitting your issue. Thanks! ### What version of Go are you using (`go version`)? ``` x-MacBook-Pro:mobile-sdk apple$ go version go version go1.7.1 darwin/amd64 ``` ### What operating system and processor architecture are you using (`go env`)? ``` x-MacBook-Pro:mobile-sdk apple$ gomobile version gomobile version +9640137 Tue Sep 27 16:37:51 2016 +0000 (android,ios); androidSDK=/Users/apple/Library/Android/sdk/platforms/android-24 x-MacBook-Pro:mobile-sdk apple$ go env GOARCH="amd64" GOBIN="/Users/apple/workspace/go/bin" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/apple/workspace/go" GORACE="" GOROOT="/usr/local/go" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/go-build085920980=/tmp/go-build -gno-record-gcc-switches -fno-common" CXX="clang++" ``` ### What did you do? I was working in Android Studio, and had one aar from a go project referenced as a aar module. I added a 2nd aar as a module from a golang project. In the "Project Structure.." i made sure both aar modules were dependencies of the app module. and when building my APK got: Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lgo/LoadJNI; How to reproduce ? Take 2 simple gomobile compiled projects, and build their .aar. Hello World & FooBar will do.. Add the first to an android project, reference it and build. All is good. Add the second aar to the same android project. Make sure the app module has a dependency on both aar modules.. Now , all is bad :) Multiple dex files error occurs on build... How to stop the bug ? Remove one of the aar modules from the Project Structure app module dependencies. But thats not fixing the problem, but thats how you can toggle the error happening easily.. Not sure whats going ok... Why this sucks ? I can work around it by making sure all my code fits into a single golang project. Composition is easy with golang. But it makes me wonder what the bug is, and i also dont knwo if this is a deal breaker for others.
NeedsInvestigation,mobile
low
Critical
180,037,468
TypeScript
Ambient class augmentation with export =
**TypeScript Version:** 2.0.3 **Code** ``` ts // a.ts declare module 'a' { class MyClass { } export = MyClass } ``` ``` ts // b.ts declare module 'a' { interface MyClass { } } ``` **Expected behavior:** Files compile successfully. **Actual behavior:** Compiler error: ``` a.ts(4,3): error TS2309: An export assignment cannot be used in a module with other exported elements. ```
Bug
low
Critical
180,059,703
youtube-dl
[mtv] Add support for new mtv portal www.mtvplay.tv
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.27_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.27** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [x] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` youtube-dl.exe -v "http://www.mtvplay.tv/shows/1118-mike+judge's+beavis+and+butt-head/1/1-werewolves+of+highland/crying" [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', "http://www.mtvplay.tv/shows/1118-mike+judge's+beavis+and+butt-head/1/1-werewolves+of+highland/crying"] [debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252 [debug] youtube-dl version 2016.09.27 [debug] Python version 3.4.4 - Windows-10-10.0.14393 [debug] exe versions: ffmpeg N-76776-g3c110b0, ffprobe N-76776-g3c110b0, rtmpdump 2.4 [debug] Proxy map: {} [generic] crying: Requesting header WARNING: Falling back on generic information extractor. [generic] crying: Downloading webpage [generic] crying: Extracting information ERROR: Unsupported URL: http://www.mtvplay.tv/shows/1118-mike+judge's+beavis+and+butt-head/1/1-werewolves+of+highland/crying Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpaa64pv68\build\youtube_dl\YoutubeDL.py", line 694, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpaa64pv68\build\youtube_dl\extractor\common.py", line 355, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpaa64pv68\build\youtube_dl\extractor\generic.py", line 2424, in _real_extract youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.mtvplay.tv/shows/1118-mike+judge's+beavis+and+butt-head/1/1-werewolves+of+highland/crying ``` --- ### If the purpose of this _issue_ is a _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): Example 1: - Single video: http://www.mtvplay.tv/shows/1118-mike+judge's+beavis+and+butt-head/1/1-werewolves+of+highland/crying Example 2: - Single video: http://www.mtvplay.tv/shows/308/1/1-folge+1 Example 3: - Single video: http://www.mtvplay.tv/shows/308-game+one/13/6-game-one-shows-season_13-episode_6 --- Hi everyone, first of all thanks for youtube-dl/this project, it helped me many times in the past :) This is a request to support the new mtv video portal www.mtvplay.tv I tried to wrap my head around the extractors and how youtube-dl works but it seems in this case I am stuck. From what I've understood with my limited python knowledge it seems that the method for getting the URL for the media file(s) is quite similar as already present in the mtv.py extractor. I tried to debug this. For Example 1: 1. You can request the page of the episode/video with any of the following URLs, they all point to the same video/episode: http://www.mtvplay.tv/shows/1118-mike+judge's+beavis+and+butt-head/ http://www.mtvplay.tv/shows/1118/1/1 http://www.mtvplay.tv/shows/1118-mike+judge's+beavis+and+butt-head/1/1-werewolves+of+highland/crying (note that the last "/" in the last URL is part of the episode name) 2. During loading a request will be made to the following URL http://api.mtvnn.com/v2/mrss.xml?uri=mgid:sensei:video:mtvnn.com:local_playlist-2715cd5ddab5799ba981&siteKey=mtvplay.DE (so quite similar to the current mtv extractor) "&siteKey=mtvplay.DE" is possibly region-specific, but the request also works without it 3. Which contains the following URL http://videos.mtvnn.com/mediagen/12e62c6cd6873703db4b91854512dae9 Requesting this one will give a list of the rtmp URLs to the videos I am stuck on the very first step to get the original webpage/source to somehow parse this info from it unfortunately. When downloading source URL http://www.mtvplay.tv/shows/1118-mike+judge's+beavis+and+butt-head/1/1-werewolves+of+highland/crying the resulting HTML document doesn't have any infos about the video or content, only very general styling information etc. Seems this URL has something to do with it? http://www.mtvplay.tv/shows/308-game+one/13/build.js Example 2: 1. Source page (again, all URLs point to the same page) http://www.mtvplay.tv/shows/308-game+one http://www.mtvplay.tv/shows/308-game+one/1/1 http://www.mtvplay.tv/shows/308/1/1-folge+1 2. http://api.mtvnn.com/v2/mrss.xml?uri=mgid:sensei:video:mtvnn.com:local_playlist-1c3e61fec5312c9eb3f4&siteKey=mtvplay.DE 3. http://videos.mtvnn.com/mediagen/ea4ab782f026b77e172fe72b5eefce67 Example 3: 1. Source http://www.mtvplay.tv/shows/308/13/6 http://www.mtvplay.tv/shows/308-game+one/13/6-game-one-shows-season_13-episode_6 2. http://api.mtvnn.com/v2/mrss.xml?uri=mgid:sensei:video:mtvnn.com:local_playlist-a6bf8190797e0e0b5c35&siteKey=mtvplay.DE 3. http://videos.mtvnn.com/mediagen/bb1a436f52cab67576ffbeee67f9c228 I hope that helps and the site can be supported in the future. Thanks, have a nice day guys
geo-restricted
low
Critical
180,137,207
TypeScript
[typingsInstaller] Provide information about auto-installed types in project info
`"projectInfo"` command should return a list of auto-installed typings files, along with information about their inference source.
Bug,Domain: JavaScript
low
Minor
180,159,853
rust
item_like_imports: Can "ambiguity error" items be reexported?
Is the next code well formed or not? ``` #![feature(item_like_imports)] mod ty1 { pub type A = u8; } mod ty2 { pub type A = u8; } mod ambig { // Create an ambiguity item in type namespace. pub use ty1::*; pub use ty2::*; } mod merge { pub use ambig::*; // <- reexports an ambiguity error, or reexports nothing? pub use ty1::*; // <- does this contribute to the ambiguity error or create a valid name? } fn main() { let _: merge::A; // <- Valid or an ambiguity error? } ``` Currently the behavior of this code depends on whether the "merge" step is done in the same crate or in some other crate. In a single crate scenario the snippet above fails to compile with `A is ambiguous` error. If `merge` is moved to another crate, then all erroneous resolutions are filtered away and are not represented in metadata, `pub use ambig::*` becomes an empty import and `merge::A` unambiguously means `ty1::A`. Supposedly, local and cross-crate behavior should be the same. cc @jseyfried @nrc
C-enhancement,A-resolve,T-compiler
low
Critical
180,179,558
TypeScript
Suggestion: Quick info for `return` keyword to get the function return type
Now to get a function return type the only way is to hover on function declaration or reference locations; however if the function body is quite long, it can be annoying to go back and forth. We could provide the function return type information if the user hovers on the `return` keyword.
Suggestion,Domain: Quick Info,Experience Enhancement
low
Minor
180,181,163
youtube-dl
[generic] struct.error at http://www.americancrisis.us/video.php
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.27_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [X ] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.27** ### Before submitting an _issue_ make sure you have: - [X ] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [X ] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [X ] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` ./youtube-dl -F -v http://www.americancrisis.us/video.php [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-F', u'-v', u'http://www.americancrisis.us/video.php'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.09.27 [debug] Python version 2.7.6 - Linux-3.19.0-32-generic-i686-with-LinuxMint-17.3-rosa [debug] exe versions: avconv 9.18-6, avprobe 9.18-6 [debug] Proxy map: {} [generic] video: Requesting header WARNING: Falling back on generic information extractor. [generic] video: Downloading webpage Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "./youtube-dl/__main__.py", line 19, in <module> File "./youtube-dl/youtube_dl/__init__.py", line 449, in main File "./youtube-dl/youtube_dl/__init__.py", line 439, in _real_main File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download File "./youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info File "./youtube-dl/youtube_dl/extractor/common.py", line 355, in extract File "./youtube-dl/youtube_dl/extractor/generic.py", line 1621, in _real_extract File "./youtube-dl/youtube_dl/extractor/common.py", line 402, in _request_webpage File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "./youtube-dl/youtube_dl/utils.py", line 909, in http_response File "/usr/lib/python2.7/gzip.py", line 254, in read self._read(readsize) File "/usr/lib/python2.7/gzip.py", line 296, in _read self._read_gzip_header() File "/usr/lib/python2.7/gzip.py", line 195, in _read_gzip_header self.mtime = read32(self.fileobj) File "/usr/lib/python2.7/gzip.py", line 25, in read32 return struct.unpack("<I", input.read(4))[0] struct.error: unpack requires a string argument of length 4 ``` --- ### If the purpose of this _issue_ is a _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): - Single video: http://www.americancrisis.us/video.php --- ### Description of your _issue_, suggested solution and other information Two resolutions at website. Expected file listing (-F) with [generic] mode to determine which resolution to retrieve, got traceback error.
cant-reproduce
low
Critical
180,298,695
youtube-dl
general --mirror option
- [x] I've **verified** and **I assure** that I'm working with youtube-dl **git master (b0582fc)** (to be precise: i read its README, because even if i ran the code, i wouldn't have found the feature if it's not in the man page) - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [x] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### Description of your _issue_, suggested solution and other information when running youtube-dl, i usually want to make sure to have as much (meta)data available locally as i would have if i used the video page online; thus, my typical command line arguments are `--all-subs --write-description --write-info-json --write-annotations --write-all-thumbnails`. (no `--all-formats` for that is not likely to contain any information that can't to a reasonable approximation be obtained from the best format; under the same argument, `--write-thumbnail` might be the better choice here.) even if i were sure that i'm not missing a feature (i did miss `--all-subs` for some time), such an invocation is not future-proof against new metadata extraction features (eg. if at some point there'll be a `--write-user-comments`). would you consider adding a `--mirror` or similar flag that enables a sane set of "i want to be able to run a mirror of this if the site goes down" flags like there is for wget?
request
low
Critical
180,335,252
rust
parent() returns Some("") for single-component relative paths
``` rust use std::path::Path; fn main() { println!("{:?}", Path::new("/").parent()); // None println!("{:?}", Path::new(".").parent()); // Some("") println!("{:?}", Path::new("foo").parent()); // Some("") } ``` The latter two cases feel weird to me. `Some("")` by itself is kind of a contradiction, on the one hand saying "yes there _is_ a parent" and on the other hand returning an invalid path that really means "no there isn't actually a parent." We've also tried to avoid creating empty path components in other cases, like the double-slash case `Path::new("a//b").parent()`, which returns `Some("a")` rather than `Some("")`. For consistency with `/`, it probably makes sense to have the parent of `.` be `None`. For `foo` I could imagine going either of two ways, either `Some(".")` or `None`. If folks agree that one of those options would be nice in theory, then I guess the second question is whether a behavior change here would break backwards compatibility too much to consider doing it. Would it make sense for me to put together a PR and then ask for a Crater run or something like that?
C-bug,T-libs,A-io
medium
Major
180,408,849
node
zlib deflate results in a memory leak
- **Version**:6.7.0 - **Platform**:Darwin ITs-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64 - **Subsystem**:zlib <!-- Enter your issue details below this comment. --> I'm using the graylog2 package for logging, and we ran into significant memory leak issues. After tracking it down, I found zlib.deflate is the source of the issue. The issue is magnified when running code inside of docker with the latest node distribution. Running the below code on my macbook pro results in the memory spiking to ~3GB, then released down to 600MB. Running the code in the latest node docker distro results in memory spiking to ~3GB, and it is never released. ```js let zlib = require('zlib'); let message = { some:"data" }; let payload = new Buffer(JSON.stringify(message)); for(var i =0; i < 30000; ++i){ zlib.deflate(payload, function (err, buffer) { }); } setTimeout(()=>{}, 2000000); ``` This has resulted in our docker containers crashing due to memory exhaustion.
confirmed-bug,zlib,memory
high
Critical
180,451,596
opencv
Add additional compute method to the BOWImgDescriptorExtractor
based on the documentation of Object Categorization, object_categorization, BOWImgDescriptorExtractor has a method that you pass the image and key-points and the compute method computes the image descriptors and return it as third parameter: http://docs.opencv.org/2.4/modules/features2d/doc/object_categorization.html#bowimgdescriptorextractor-compute must of the times, we have computed the image descriptor and we can pass the calculated descriptor as a parameter, so please add an additional method that we will able to pass the image descriptor, so it is not required to calculate in compute method
feature,category: features2d
low
Minor
180,454,084
rust
Tracking issue for future-incompatibility lint `invalid_type_param_default`
This is the **summary issue** for the `invalid_type_param_default` future-compatibility warning and other related errors. The goal of this page is describe why this change was made and how you can fix code that is affected by it. It also provides a place to ask questions or register a complaint if you feel the change should not be made. For more information on the policy around future-compatibility warnings, see our [breaking change policy guidelines](https://github.com/rust-lang/rfcs/blob/master/text/1589-rustc-bug-fix-procedure.md). #### What is the warning for? Type parameter defaults outside of type declarations were never intended to be permitted, but some early versions of Rust did accept them. For example: ``` rust struct Foo<T=i32> { // the default of `i32` is legal here, since this // is a type declaration } impl<T=i32> Debug for Foo<T> { .. } // ^^^^^ default not legal here, in an impl fn bar<T=i32>(x: T) { } // ^^^^^ default not legal here, in a fn ``` #### When will this warning become a hard error? At the beginning of each 6-week release cycle, the Rust compiler team will review the set of outstanding future compatibility warnings and nominate some of them for **Final Comment Period**. Toward the end of the cycle, we will review any comments and make a final determination whether to convert the warning into a hard error or remove it entirely. #### Current status - [x] https://github.com/rust-lang/rust/pull/30724 introduces the `invalid_type_param_default` lint as warn-by-default - [x] https://github.com/rust-lang/rust/pull/36894 makes the `invalid_type_param_default` lint deny-by-default - [x] https://github.com/rust-lang/rust/pull/42136 tried to make the `invalid_type_param_default` lint a hard error, but there was still too much breakage - [ ] https://github.com/rust-lang/rust/pull/127655 tried to make this a hard error, but there was still too much breakage (mostly due to `typemap`), so it was just made to show up in future breakage reports instead - [ ] PR ? makes the `invalid_type_param_default` lint a hard error
A-lints,T-lang,T-compiler,C-future-incompatibility,C-tracking-issue
medium
Critical
180,480,105
go
tour: local tour scripts fail to connect to the local server
When running golang tour on local machine (go tool tour) scripts are not executing: after pressing Run appears "Waiting for remote server..." (see. picture attached) and nothing happens. I am running Windows 10. ![golang](https://cloud.githubusercontent.com/assets/20325506/19016993/5e953e66-8833-11e6-8442-ea0f1cc406da.PNG) Please answer these questions before submitting your issue. Thanks! ### What version of Go are you using (`go version`)? go1.7.1 windows/amd64 ### What operating system and processor architecture are you using (`go env`)? set GOARCH=amd64 set GOBIN= set GOEXE=.exe set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH= set GORACE= set GOROOT=C:\Go set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64 set CC=gcc set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 set CXX=g++ set CGO_ENABLED=1 ### What did you do? If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on play.golang.org is best. ### What did you expect to see? Result of script execution ### What did you see instead? Waiting for remote server...
NeedsInvestigation
low
Critical
180,481,412
pytorch
expose backend selection and cudnn settings to the end user
This is needed for the advanced user, where one might need to choose a specific backend, or a particular algorithm / mode in cudnn. cc @csarofeen @ptrblck @xwang233
module: cudnn,feature,triaged,Stale
low
Minor
180,484,348
go
cmd/compile: add line numbers for values and blocks at HTML SSA output?
We already have it in the "genssa" section, and it's pretty simplifies understanding what's going on. I propose to do the same for other sections of the output. Since writing `(sourcefile.go:42)` will make output noisier it would be better to show just line numbers in the left column and make them gray colored and with smaller font size than the code (so it looks like in editors). If you ok with that I can show my vision of design for approval and then provide CL.
NeedsFix,FeatureRequest
low
Major
180,539,387
TypeScript
Rename inconsistency for default exports
**TypeScript Version:** nightly (2.1.0-dev.20161002) **Code** ##### a.ts ``` ts function f() {} export default f ``` ##### b.ts ``` ts import f from "./a" f() ``` **Expected behavior:** Renaming `f` in `a.ts` will rename the use in `b.ts`. **Actual behavior:** It doesn't. However, it _does_ if `a.ts` is written as: ``` ts export default function f() {} ```
Bug
low
Minor
180,539,597
opencv
matchTemplate return wrong results with OpenCL
##### System information (version) - OpenCV => 3.1 - Operating System / Platform => Windows 10 64bit - Compiler => gcc 5.3.0 - GPU => GTX970, but same results with 660Ti and Intel's built-in ##### Detailed description cv::matchTemplate the function with methods TM_CCOEFF_NORMED and TM_CCOEFF returns incorrect results when OpenCL is used. It corrupts the result towards the bottom right of the image. As an example - this is the input: ![img_test](https://cloud.githubusercontent.com/assets/1474290/19024104/287a1266-8905-11e6-90b3-3a197e5dce35.png) This is the template: ![template](https://cloud.githubusercontent.com/assets/1474290/19024107/388a1764-8905-11e6-8ffe-d90e0ee6c2ba.png) And this is the output: ![bug_out](https://cloud.githubusercontent.com/assets/1474290/19024118/62981fa6-8905-11e6-85fd-251baf2355d8.png) While the correct output (if OpenCL is disabled via code or environment variable) is this: ![good_out](https://cloud.githubusercontent.com/assets/1474290/19024126/9116b752-8905-11e6-8edb-84f16474455c.png) I have tried several things to find the cause: 1) Power-of-two sizes for the input and/or template. While it seems to reduce the bug in some cases (like it is gone in 512x512 input resolutions) it is still visible at others (like 1024x1024). 2) Different formats - like 32F, 8UC1 and 8UC3. Got the same bug in all of them. 3) Different templates - both loaded as images and generated from code via getGaussianKernel. There seem to be some correlation with the kernel here. Some kernels return less corrupt image or even a correct one. Like this kernel works fine: ![template](https://cloud.githubusercontent.com/assets/1474290/19024173/845a12c4-8906-11e6-9f07-a0d11948f06c.png) 4) Different matchTemplate methods. The bug is showing only with TM_CCOEFF_NORMED and TM_CCOEFF methods. It seems to work fine (at least with the current image and template) with the other four methods. ##### Steps to reproduce ``` .cpp #include <opencv2/highgui.hpp> #include <opencv2/opencv.hpp> #include <opencv2/core/ocl.hpp> int main(int argc, char* argv[]){ cv::ocl::setUseOpenCL(true); cv::Mat frame_cpu, template_cpu; cv::UMat frame, frame_gray, frame_float; cv::UMat template_in, template_gray, template_float; cv::UMat result; // Prepare kernel int kernelSize = 13; double sigmaX = sqrt(8); double sigmaY = sqrt(8); cv::Mat kernelX = cv::getGaussianKernel(kernelSize, sigmaX, CV_32F); cv::Mat kernelY = cv::getGaussianKernel(kernelSize, sigmaY, CV_32F); cv::Mat gkernel = (1.0-kernelX*kernelY.t()*9.0); cv::UMat ukernel; gkernel.copyTo(ukernel); frame_cpu = cv::imread("img_test.png"); template_cpu = cv::imread("template.png"); frame_cpu.copyTo(frame); template_cpu.copyTo(template_in); cv::cvtColor(frame, frame_gray, cv::COLOR_BGR2GRAY); cv::cvtColor(template_in, template_gray, cv::COLOR_BGR2GRAY); frame_gray.convertTo(frame_float, CV_32F); template_gray.convertTo(template_float, CV_32F); // Either template_float or ukernel can be used as template here cv::matchTemplate(frame_float, template_float, result, cv::TM_CCOEFF_NORMED); cv::imshow("result", result); cv::waitKey(0); return 0; } ```
bug,category: imgproc,affected: 3.4,category: t-api
low
Critical
180,616,648
go
x/mobile: Windows event handling back-pressure
Using go 1.7.1/Windows 7/amd64. `x/mobile` at 16fd47fa04e0a40c643b41876f91f3d06dded396 + fix from #16991. This is issue can easily be seen when resizing the window: [basic](https://dl.dropboxusercontent.com/u/4300994/Go/WindowsBufferQueueingBasic.gif) and [centering](https://dl.dropboxusercontent.com/u/4300994/Go/WindowsBufferQueueing.gif). `theApp` event queue contains an infinite buffer in `x\mobile\app\app.go` and when Windows sends messages at a high rate -- e.g. during a window resize -- the whole interface becomes laggy. Windows sends events [as fast as you let it](https://blogs.msdn.microsoft.com/oldnewthing/20111219-00/?p=8863) -- but since there is no back-pressure in `x\mobile\app\shiny.go` the queue gets flooded with Paint and Resize events. _PS: It could become an issue in shiny as well, because it also contains async handling of messages. However ATM there is no infinite queue, at least I couldn't find one, hence it provides some back-pressure which prevents Windows from flooding the queue._
OS-Windows,mobile
low
Minor
180,622,987
vscode
Trim trailing whitespace only on changed lines
Feature Request: When working with existing old code base it's not ideal to have the whole file trimmed for trailing whitespace. However, it's still a nice feature to have active for changed lines. That way the codebase will be cleaned up as you work on it.
feature-request,editor-commands
high
Critical
180,694,592
angular
[RFC]elements schema: add support for custom schemas
in `@Compoent`, schemas can currently only use the following values: - `CUSTOM_ELEMENTS_SCHEMA` -> allow any `custom-tag` with any property, - `NO_ERRORS_SCHEMA` -> allow any tag and any property We need to implement a way to defined custom schemas, ie defining all polymer elements and their properties (and events). @mprobst when would you be available so that we can discuss how to integrate with the security schema ?
feature,freq2: medium,area: core,area: security,core: directive matching,cross-cutting: custom elements,P3,feature: under consideration
high
Critical
180,758,680
vue
$refs should be reactive to be able to use them in computed properties
Now that refs are no longer reactive, we need to emit events and payloads from child components. This is fine and works well, but it becomes hard to maintain in the following scenario: When you create a custom form input component, that basically wraps an input into it's own re-usable component, we can no longer access the input's value (and other props) reactively in e.g. a computed prop in the parent. Take the following use-case: ``` <my-input ref="email"></my-input> <my-input ref="password"></my-input> <p>This is {{ isValid ? 'valid' : 'invalid' }}</p> ``` Previously we could create a computed prop like this: ``` isValid() { return this.$refs.email.isValid && this.$refs.password.isValid } ``` Since refs don't work reactively anymore, we now need to use `$emit` to inform the parent of changes. However, these emits are handled by methods, so we need a separate handler per input to deal with the events. Something like: ``` <my-input @valid="handleValidEmail"></my-input> <my-input @valid="handleValidPassword"></my-input> handleValidEmail(value) { this.email = value this.emailIsValid = true }, handleValidPassword(value) { this.password = value this.passwordIsValid = false } ``` You could refactor this a bit, but it's not a nice way of dealing with this and I'm assuming using forms is quite a common occurence for a lot of devs. Can we think about a better solution to something like this?
feature request,discussion
high
Critical
180,774,810
nvm
Install notice for unmaintained versions.
With Node 0.10 hitting its [EOL at the end of the month](https://github.com/nodejs/LTS) what do you all think about giving folks a heads up, like a console warning, when an EOL'd version of Node is installed? \@thealphanerd.
feature requests
low
Major
180,865,382
rust
travis-cargo currently cannot upload / generate code coverage information for documentation tests
@alexcrichton mentioned in [this issue](https://github.com/rust-lang/cargo/issues/3140) that this might be a bug in `rustdoc --test`. Currently it is not possible to generate code coverage information from documentation tests. This results in either wrong coverage information being generated (when some functionality is tested exclusively in documentation tests). The current workarounds are unfortunately to either duplicate documentation tests into module tests to generate correct code coverage information, or to "accept" wrong code coverage information in e.g. coveralls.
T-rustdoc,C-feature-request
low
Critical
181,001,784
TypeScript
JS Doc type intellisense not working when using custom file extension
_From @csvenke on September 30, 2016 20:52_ - VSCode Version: 1.5.3 - OS Version: Windows 10 In a .js file, intellisense provides correct jsdoc types ![js](https://cloud.githubusercontent.com/assets/9643219/19006509/20ad4dec-8760-11e6-9c36-94f46308d147.JPG) In a custom extension file associated with javascript, types from jsdoc are not provided ![sj](https://cloud.githubusercontent.com/assets/9643219/19006504/1a07fa0a-8760-11e6-9c01-4af978f2e6a6.JPG) #### Steps to Reproduce: 1. Create a .sj file 2. In settings.json, set "files.associations": { "*.sj": "javascript" } 3. Create a function with jsdoc parameters with types 4. Call function and check if intellisense provides types _Copied from original issue: Microsoft/vscode#13100_
Suggestion,Awaiting More Feedback,VS Code Tracked
low
Major
181,005,527
neovim
RPC host should auto-restart if the process dies unexpectedly
This came up in https://github.com/Shougo/deoplete.nvim/issues/322 As it stands now, there doesn't seem to be any way for a rplugin to resume operation without restarting Neovim altogether if the plugin host disappears for any reason. So far, I was able to get the host to restart with: ``` diff diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index 110f802..03f5652 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -41,13 +41,36 @@ function! remote#host#Require(name) abort throw 'No host named "'.a:name.'" is registered' endif let host = s:hosts[a:name] - if !host.channel && !host.initialized + let restart = 0 + if host.channel && host.initialized + try + if rpcrequest(host.channel, 'poll') ==# 'ok' + return host.channel + endif + catch /Invalid channel/ + let restart = 1 + let host.channel = 0 + let host.initialized = 0 + endtry + endif + + if !host.initialized + if restart + call remove(s:hosts, a:name) + let plugins = copy(remote#host#PluginsForHost(a:name)) + let s:plugins_for_host[a:name] = [] + for plugin in plugins + call remote#host#RegisterPlugin(a:name, plugin.path, plugin.specs) + endfor + endif + let host_info = { \ 'name': a:name, \ 'orig_name': get(host, 'orig_name', a:name) \ } let host.channel = call(host.factory, [host_info]) let host.initialized = 1 + let s:hosts[a:name] = host endif return host.channel endfunction ``` But, there's a bit of side stepping happening there because there's a few guards that prevent straight-forward restarting. The plugin needs to detect the dead channel and call for a reload, as well: ``` function! s:rpc(func, args, attempts) abort try return call(a:func, [g:deoplete#_channel_id] + a:args) catch /E475:\|Invalid channel/ if a:attempts < 3 delfunction _deoplete call remote#host#Require('python3') call _deoplete() return s:rpc(a:func, a:args, a:attempts + 1) endif catch endtry echohl ErrorMsg echo "[deoplete] Lost RPC channel" echohl None endfunction function! deoplete#rpc#request(...) abort return s:rpc('rpcrequest', a:000, 0) endfunction function! deoplete#rpc#notify(...) abort return s:rpc('rpcnotify', a:000, 0) endfunction ``` Note: Any functions defined in the rplugin needs to be deleted for the above to work correctly. I wanted to see if there are any thoughts about rewriting how remote plugins are loaded. Ping @blueyed @Shougo
enhancement,api,job-control,channels-rpc
low
Critical
181,059,649
neovim
:terminal improvements
List of terminal improvements. - [ ] vim-patch 8.0.1804: using :normal in terminal window causes problems - [ ] vim-patch 8.0.1794: duplicate term options after renaming - [ ] vim-patch 8.0.1743: terminal window options are named inconsistently - [ ] vim-patch 8.0.1732: crash when terminal API call deletes the buffer - [ ] vim-patch 8.0.1592: terminal windows in a session are not properly restored - [ ] vim-patch 8.0.1744: on some systems /dev/stdout isn't writable - [ ] vim-patch 8.0.1300: file permissions may end up wrong when writing - [ ] Revisit https://github.com/neovim/neovim/pull/2570 - [ ] `:!` should use `:terminal` internally. Doesn't affect `:read !foo` etc. See #5396. Use cases: #5580. > by making `terminal.c` draw directly to the screen (instead of a buffer) https://github.com/neovim/neovim/issues/1496#issuecomment-144346925 - [ ] `:%term` should work like `:%!` - [ ] `:read :term foo` should work like `:read !foo` - Related: vim-patch 8.0.1609: shell commands in the GUI use a dumb terminal (https://github.com/vim/vim/commit/135682517bc378cfdb63fe3a6e3553935f69f6ce) - [ ] `:term` buffers should `setlocal bufhidden=hide` by default. Fixes #3340 #3138 #5122 - [ ] should respect all `'bufhidden'` flags #2368 - [x] `:emenu` in terminal mode #3393 - [ ] `:te` should open in split, similar to `:help`. Or [not?](https://github.com/neovim/neovim/issues/5431#issuecomment-597523991) - [x] support `<mods>` (`:vert`, `:tab`) #15427 - [ ] `:0te` suppresses the split? cf. https://github.com/tpope/vim-fugitive/commit/bf7f05e62b75570d2bde8cbc131bfe25dbcdb427 - [ ] instead of `:bdelete`ing the buffer after process exit, switch to some other buffer? #5176 - [ ] Do not auto-resize. There's [no good choice](https://github.com/neovim/neovim/pull/5045#issuecomment-257878379) about when to resize and it [causes problems](https://github.com/neovim/neovim/issues/5667). - [ ] Allow folds https://github.com/neovim/neovim/issues/5682 - https://github.com/neovim/neovim/pull/2683 - [x] Follow terminal output in normal-mode if cursor is on last line #6142 - [x] `:term` buffer should be `'modifiable'`. #6142 - [x] Enable user to manage 'scrollback' (buffer-local option) #2637 #6142 - [x] handle FN keys #5014 - [x] handle ctrl-space, ctrl-arrow #3101. Closed by #5014 ?
terminal
medium
Critical
181,073,630
neovim
neovim + neovim-qt on Windows and Symantec
Symantec thinks neovim and neovim-qt exes are suspicious. Does anybody have same problem? Are they viruses ;-) ? ![nvim_1](https://cloud.githubusercontent.com/assets/27386/19102983/50b4519e-8ad4-11e6-93c7-605a9f44cb99.png) ![nvim_2](https://cloud.githubusercontent.com/assets/27386/19102982/50b45c48-8ad4-11e6-8d84-5815d3ec8235.png) ![nvim_3](https://cloud.githubusercontent.com/assets/27386/19102981/50b3325a-8ad4-11e6-8ad0-e1c30a640e4a.png)
security,platform:windows,distribution,has:plan
low
Major
181,114,376
nvm
Add nvm ls-remote --short (maybe as default)
With option `--short`, `nvm` would return shorter list, like: ``` v0.1.(14-33) v0.1.(90-104) v0.2.(0-6) (...) v4.(1-5) v4.6.0 (latest LTS: Argon) ``` Algorithm for joining ranges should notice the change in Node.js versioning convention - before io.js major version changes was on minor position. Moreover, switch `--without-deprecated` would be useful too.
feature requests
low
Minor
181,279,788
kubernetes
kubectl / kubernetes not 100% compatible with YAML 1.2
<!-- Thanks for filing an issue! Before hitting the button, please answer these questions.--> **Is this a request for help?** (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): No **What keywords did you search in Kubernetes issues before filing this one?** (If you have found any duplicates, you should instead reply there.): is:issue yaml in:title version --- **Is this a BUG REPORT or FEATURE REQUEST?** (choose one): Bug Report **Kubernetes version** (use `kubectl version`): v1.3.7 (seems to be the same on master) **What happened**: I tried to apply a yaml file with `kubectl --context=minikube apply -f ./etc/deployment.yaml` and got a validation error. However the yaml is valid 1.2. The error is: error validating "./etc/deployment.yaml": error validating data: expected type string, for field spec.template.spec.containers[2].command[6], got bool; if you choose to ignore these errors, turn validation off with --validate=false **What you expected to happen**: kubectl should apply the deployment file **How to reproduce it** (as minimally and precisely as possible): Try to apply this object file: ``` apiVersion: extensions/v1beta1 kind: Deployment metadata: name: redis spec: replicas: 1 selector: matchLabels: name: redis template: metadata: labels: name: redis spec: containers: - name: redis image: 'redis:3.2' command: - redis-server - '--appendonly' - no ``` **Anything else do we need to know**: The "no" is the source of confusion for the program. In previous YAML versions this should be translated to be a boolean value, but in the current, 1.2, it should be a string "no". kubectl is using the older standard and translating this as a bool. It is not so simple for me as to quote the "no" value like `'no'` - this object file is the output of another library which uses the 1.2 standard. We need to be aware that of course people will use various libraries to consume and produce yaml. I believe the problem can be traced from this https://github.com/ghodss/yaml to this source library here: https://github.com/cloudfoundry-incubator/candiedyaml/blob/master/resolver.go#L42 Should kubernetes only support YAML 1.2? It seems to me that we'd want to deprecate previous yaml support since YAML is not backwards compatible. YAML spec versions at: http://yaml.org/ - I have noticed that several of the online yaml validators also seem to get this "wrong".
area/kubectl,sig/api-machinery,sig/cli,priority/important-longterm,lifecycle/frozen,triage/accepted
high
Critical
181,302,420
youtube-dl
Saavn (saavn.com) support
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.10.02_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.10.02** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [x] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other Examples: - Single audio: http://www.saavn.com/s/song/hindi/Ae-Dil-Hai-Mushkil/Ae-Dil-Hai-Mushkil/Cg0AdD0DeQU - Playlist: http://www.saavn.com/s/featured/hindi/Raghu_Dixit_-_Coke_Studio_Picks/NGesoSZlFG4_
site-support-request
low
Critical
181,438,698
opencv
remap() bug - OutputArray dst must be initialized to zero
##### System information (version) - OpenCV => 3.0.0 - Operating System / Platform => Ubuntu 15.10 - Compiler => gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ##### Detailed description When using OpenCV remap() function, keeping all arguments the same, two consecutive calls to the function give two different results. Indeterministic behaviour was fixed by initializing the argument "OutputArray dst" to zero. This requirement should be referred in documentation. Alternatively, the function should be modified to not depend on the initial contents of "OutputArray dst". ##### Steps to reproduce ``` .cpp //img0 is an image //undistRectROIMaps00 and undistRectROIMaps01 are mapping matrices cv::Mat out1, out2; cv::remap(img0, out1, undistRectROIMaps00, undistRectROIMaps01, INTER_LINEAR); cv::remap(img0, out2, undistRectROIMaps00, undistRectROIMaps01, INTER_LINEAR); //now print out1 and out2 and you will see they are different. ```
bug,category: imgproc,affected: 3.4
low
Critical
181,444,393
angular
Sugar (*) syntax does not support @Output (and exportAs)
**I'm submitting a ...** (check one with "x") ``` [ x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question ``` **Current behavior** When using sugar syntax I couldn't find a way to register to `@Output`s. The expression does not handle (output) and it's not possible to put the output on the element itself since that element is not the actual directive. I would also like to point out that `exportAs` is not supported in \* directives. **Expected behavior** Allow to register to events on the directive. **What is the motivation / use case for changing the behavior?** Sugared directives should be on par with regular directives (`@Output`, `exportAs`) as it might cause confusion. At least support parsing output's on the expression. - **Angular version:** 2.0.1
feature,freq1: low,area: core,core: ng-template and *microsyntax,P4,feature: under consideration
medium
Critical
181,456,856
go
x/mobile/cmd/gomobile: No implementation found | Android
Hi, My environment : - go version go1.7.1 darwin/amd64 - gomobile version +6ea0bb5 Wed Oct 5 13:16:13 2016 +0000 (android,ios); androidSDK=/Users/zoolonly/Library/Android/sdk/platforms/android-23 - On mac os x I made a .aar file with `gomobile bind -target android`, and imported it in my project. When I run the app in a simulator or device I get the following error : ``` No implementation found for void go.avcl_client_usage.Avcl_client_usage._init() (tried Java_go_avcl_1client_1usage_Avcl_1client_1usage__1init and Java_go_avcl_1client_1usage_Avcl_1client_1usage__1init__) ``` I tried to update go and gomobile but I am stuck. Thanks for your help.
NeedsInvestigation,mobile
low
Critical
181,499,530
go
runtime: re-enable TestGdbPython and TestGdbBacktrace on linux/ppc64 (BE) if/when it gets cgo support
``` --- FAIL: TestGdbPython (0.30s) runtime-gdb_test.go:50: gdb version 7.7 runtime-gdb_test.go:152: package testing source file: /tmp/workdir/go/src/testing/testing.go runtime-gdb_test.go:153: failed to load Go runtime support: "/tmp/go-build613978241/a.exe": not in executable format: File format not recognized "/tmp/go-build613978241/a.exe": not in executable format: File format not recognized No auto-load scripts. No symbol table is loaded. Use the "file" command. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] No executable file specified. Use the "file" or "exec-file" command. BEGIN info goroutines Undefined info command: "goroutines". Try "help info". END No stack. BEGIN print mapvar No symbol table is loaded. Use the "file" command. END BEGIN print strvar No symbol table is loaded. Use the "file" command. END No stack. BEGIN goroutine 2 bt Undefined command: "goroutine". Try "help". END --- FAIL: TestGdbBacktrace (0.15s) runtime-gdb_test.go:50: gdb version 7.7 runtime-gdb_test.go:264: could not find '#0.*main\.eee' in backtrace runtime-gdb_test.go:265: gdb output: "/tmp/go-build806889452/a.exe": not in executable format: File format not recognized No symbol table is loaded. Use the "file" command. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] No executable file specified. Use the "file" or "exec-file" command. No stack. The program is not being run. FAIL FAIL runtime 14.687s ``` I propose we skip these tests there for now so we can see what else is failing. (These tests already skip if gdb is absent anyway) /cc @dr2chase
NeedsFix,compiler/runtime
low
Critical
181,504,195
react
Bypass synthetic event system for Web Component events
To use a Web Component in React, you must directly attach an event listener to the React ref for that WC. We could change the implementation so that when React detects a custom element (tag names with dashes, like `my-component`), it will bypass the synthetic event system (and the whitelist) and just attach the event listener on the element itself. Why bypass the synthetic event system? Because _anyway_ we already need to bypass it manually when using a Web Component. I'm not so familiar with the React codebase, but this naive approach seems to work. Whoever uses Web Components in React can be responsible for whatever downsides that would cause, maybe in performance, I don't know. They are already having those (supposed) downsides, this issue is just about the convenience of WC usage inside React. I was about to send a PR for this, but thought of opening an issue. I looked through the issues and didn't see any existing one related to the handling of WC events. **What is the current behavior?** A WC custom event (e.g. `flipend`) must be handled by attaching the event listener directly to the element in componentDidMount using a ref. http://jsbin.com/yutocopasu/1/edit?js,output React v15.1.0 ``` js class HelloMessage extends React.Component { handleHelloClick() { this.refs['foo'].toggle(); } handleFlipend(ev) { console.log('Handle flip end'); } componentDidMount() { this.refs['foo'].addEventListener('flipend', ev => this.handleFlipend(ev); ); } render() { return ( <div> <div onClick={ev => this.handleHelloClick()}> Hello {this.props.name}, click me! </div> <brick-flipbox class="demo" ref="foo"> <div>front</div> <div>back</div> </brick-flipbox> </div> ); } } ``` **What is the expected behavior?** A WC custom event can be handled with `onMyEvent={ev => this.handleMyEvent(ev)}` on the ReactElement corresponding to the WC. ``` js class HelloMessage extends React.Component { handleHelloClick() { this.refs['foo'].toggle(); } handleFlipend(ev) { console.log('Handle flip end'); } render() { return ( <div> <div onClick={ev => this.handleHelloClick()}> Hello {this.props.name}, click me! </div> <brick-flipbox onFlipend={ev => this.handleFlipend(ev)} class="demo" ref="foo"> <div>front</div> <div>back</div> </brick-flipbox> </div> ); } } ``` PS: this snippet above still has the `ref`, but for unrelated reasons. Ideally we wouldn't need refs for handling events of WCs.
Type: Feature Request,Type: Discussion
high
Major
181,518,463
go
x/mobile/cmd/gomobile: type conversion not working on iOS
Hey, I have a (hopefully small) issue with type conversion related to usage of gomobile: ### What version of Go are you using (`go version`)? ``` go version go1.7.1 darwin/amd64 ``` ``` gomobile version +6ea0bb5 Wed Oct 5 13:16:13 2016 +0000 (android,ios); androidSDK=/Users/.../Library/Android/sdk/platforms/android-23 ``` ### What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" ``` ### What did you do? 1. Write code with composed interface. Can be something like ``` go type Car interface { WheelCount() int } type Limousine interface { Car Seats() int SetSeats(seats int) } ``` Full go code is available at [Go Code](https://play.golang.org/p/pnVP8_CLqs) 2. Generate go mobile bindings for iOS and android, e.g. `gomobile bind -target=ios data` 3. Create platform specific app and call a go method which tries to do type conversion. Type conversion may be: ``` go func PrintCar(car Car) { fmt.Println("Car: ", car) fmt.Println("Wheels: ", car.WheelCount()) limousine, ok := car.(Limousine) fmt.Println("Limousine cast was ", ok, ", Content:", limousine) if ok { fmt.Println("Seats: ", limousine.Seats()) } } ``` and platform specific code like this for iOS ``` objc id<GoDataLimousine> car = GoDataNewLimousine(); [car setSeats:5]; GoDataPrintCar(car); ``` 1. Execute the program on iOS or Android ### What did you expect to see? Type conversion from Car to Limousine should be possible if the object fulfills Limousine. Output of type conversion on Go, iOS and Android: ``` Car: &{4 5} Wheels: 4 Limousine cast was true , Content: &{4 5} Seats: 5 ``` ### What did you see instead? Type conversion is not possible on iOS between interfaces. Output of type conversion Go, Android (as expected): ``` Car: &{4 5} Wheels: 4 Limousine cast was true , Content: &{4 5} Seats: 5 ``` iOS, fails to do type conversion. The limousine is stripped down to fulfill the car interface only and does not fulfill the limousine interface anymore: ``` Car: &{42} Wheels: 4 Limousine cast was false , Content: <nil> ``` So in my understanding type conversion should work on iOS as it does on android and in normal go itself. But using gomobile on iOS, interfaces seem to loose other fulfilled interfaces once they're passed to a method which receives a specific interface only. Or am I doing something wrong? Otherwise I would like to help solving this issue. Sadly I am new to the go mobile tooling itself. Maybe somebody can point me into the right direction? Is this intentionally not working or is it expected to work? Thanks for your help!
mobile
low
Minor
181,542,127
go
cmd/compile: eliminate more bounds checks
### What version of Go are you using (`go version`)? go version devel +fe77c5b Mon Oct 3 18:26:43 2016 +0000 linux/amd64 ### What operating system and processor architecture are you using (`go env`)? ### What did you do? https://play.golang.org/p/KvKjpisUOl ### What did you expect to see? bounds checks eliminated from assembly ### What did you see instead? ``` TEXT main.blah(SB) /home/notcarl/Desktop/bce.go bce.go:9 0x401000 64488b0c25f8ffffff FS MOVQ FS:0xfffffff8, CX bce.go:9 0x401009 483b6110 CMPQ 0x10(CX), SP bce.go:9 0x40100d 0f864b010000 JBE 0x40115e bce.go:9 0x401013 4883ec38 SUBQ $0x38, SP bce.go:9 0x401017 48896c2430 MOVQ BP, 0x30(SP) bce.go:9 0x40101c 488d6c2430 LEAQ 0x30(SP), BP bce.go:10 0x401021 488b0570620900 MOVQ 0x96270(IP), AX bce.go:10 0x401028 488b0d61620900 MOVQ 0x96261(IP), CX bce.go:12 0x40102f 488b1502080b00 MOVQ 0xb0802(IP), DX bce.go:12 0x401036 4889c3 MOVQ AX, BX bce.go:12 0x401039 4829d0 SUBQ DX, AX bce.go:12 0x40103c 4883f804 CMPQ $0x4, AX bce.go:12 0x401040 0f8ccf000000 JL 0x401115 bce.go:15 0x401046 488d4203 LEAQ 0x3(DX), AX bce.go:15 0x40104a 4839d8 CMPQ BX, AX bce.go:15 0x40104d 0f83bb000000 JAE 0x40110e bce.go:16 0x401053 4839da CMPQ BX, DX bce.go:16 0x401056 0f83ab000000 JAE 0x401107 bce.go:16 0x40105c 0fb60c11 MOVZX 0(CX)(DX*1), CX bce.go:16 0x401060 80f980 CMPL $0x80, CL bce.go:16 0x401063 760a JBE 0x40106f bce.go:34 0x401065 488b6c2430 MOVQ 0x30(SP), BP bce.go:34 0x40106a 4883c438 ADDQ $0x38, SP bce.go:34 0x40106e c3 RET bce.go:19 0x40106f 488d4a01 LEAQ 0x1(DX), CX bce.go:19 0x401073 48890dbe070b00 MOVQ CX, 0xb07be(IP) bce.go:20 0x40107a 488b1d17620900 MOVQ 0x96217(IP), BX bce.go:20 0x401081 488b3508620900 MOVQ 0x96208(IP), SI bce.go:20 0x401088 4839d9 CMPQ BX, CX bce.go:20 0x40108b 7373 JAE 0x401100 bce.go:20 0x40108d 0fb64c1601 MOVZX 0x1(SI)(DX*1), CX bce.go:20 0x401092 80f980 CMPL $0x80, CL bce.go:20 0x401095 77ce JA 0x401065 bce.go:23 0x401097 488d4a02 LEAQ 0x2(DX), CX bce.go:23 0x40109b 48890d96070b00 MOVQ CX, 0xb0796(IP) bce.go:24 0x4010a2 488b1def610900 MOVQ 0x961ef(IP), BX bce.go:24 0x4010a9 488b35e0610900 MOVQ 0x961e0(IP), SI bce.go:24 0x4010b0 4839d9 CMPQ BX, CX bce.go:24 0x4010b3 7344 JAE 0x4010f9 bce.go:24 0x4010b5 0fb64c1602 MOVZX 0x2(SI)(DX*1), CX bce.go:24 0x4010ba 80f980 CMPL $0x80, CL bce.go:24 0x4010bd 77a6 JA 0x401065 bce.go:27 0x4010bf 48890572070b00 MOVQ AX, 0xb0772(IP) bce.go:28 0x4010c6 488b0dcb610900 MOVQ 0x961cb(IP), CX bce.go:28 0x4010cd 488b1dbc610900 MOVQ 0x961bc(IP), BX bce.go:28 0x4010d4 4839c8 CMPQ CX, AX bce.go:28 0x4010d7 7319 JAE 0x4010f2 bce.go:28 0x4010d9 0fb6441303 MOVZX 0x3(BX)(DX*1), AX bce.go:28 0x4010de 3c80 CMPL $0x80, AL bce.go:28 0x4010e0 7783 JA 0x401065 bce.go:31 0x4010e2 488d4204 LEAQ 0x4(DX), AX bce.go:31 0x4010e6 4889054b070b00 MOVQ AX, 0xb074b(IP) bce.go:34 0x4010ed e973ffffff JMP 0x401065 bce.go:28 0x4010f2 e8c9ed0100 CALL runtime.panicindex(SB) bce.go:28 0x4010f7 0f0b UD2 bce.go:24 0x4010f9 e8c2ed0100 CALL runtime.panicindex(SB) bce.go:24 0x4010fe 0f0b UD2 bce.go:20 0x401100 e8bbed0100 CALL runtime.panicindex(SB) bce.go:20 0x401105 0f0b UD2 bce.go:16 0x401107 e8b4ed0100 CALL runtime.panicindex(SB) bce.go:16 0x40110c 0f0b UD2 bce.go:15 0x40110e e8aded0100 CALL runtime.panicindex(SB) bce.go:15 0x401113 0f0b UD2 bce.go:36 0x401115 488d05ad430600 LEAQ 0x643ad(IP), AX bce.go:36 0x40111c 4889442420 MOVQ AX, 0x20(SP) bce.go:36 0x401121 48c744242803000000 MOVQ $0x3, 0x28(SP) bce.go:36 0x40112a 488d056f380500 LEAQ 0x5386f(IP), AX bce.go:36 0x401131 48890424 MOVQ AX, 0(SP) bce.go:36 0x401135 488d442420 LEAQ 0x20(SP), AX bce.go:36 0x40113a 4889442408 MOVQ AX, 0x8(SP) bce.go:36 0x40113f e81c770000 CALL runtime.convT2E(SB) bce.go:36 0x401144 488b442410 MOVQ 0x10(SP), AX bce.go:36 0x401149 488b4c2418 MOVQ 0x18(SP), CX bce.go:36 0x40114e 48890424 MOVQ AX, 0(SP) bce.go:36 0x401152 48894c2408 MOVQ CX, 0x8(SP) bce.go:36 0x401157 e8a4fd0100 CALL runtime.gopanic(SB) bce.go:36 0x40115c 0f0b UD2 bce.go:9 0x40115e e89d600400 CALL runtime.morestack_noctxt(SB) bce.go:9 0x401163 e998feffff JMP main.blah(SB) ``` I _think_ the chain of panicindex calls should be removed, since both the: ``` if l - i < 4 { goto fail } ``` and `_ = buf[i+3]` calls should make it clear that the subsequent accesses cannot possibly go out of bounds. Sorry if this is noise and it's WAI.
Performance,compiler/runtime
low
Major
181,546,754
rust
Attribute for skipping field of struct in Debug derives?
Could we have something like this? ``` rust #[derive(Debug)] struct Foo { pub a: A, pub b: B, #[skip_derive] pub c: C, // especially useful if C : !Debug } ``` This could also feasibly be applied to other auto-derivations, of course (not just Debug).
C-enhancement,T-lang
high
Critical
181,548,627
TypeScript
Move away from Classic module resolution as default for all module kinds
TypeScript's original module resolution strategy (the _Classic_ resolution strategy) has some strange behavior that apparently doesn't actually reflect any other resolution strategy. It seems strange that those using non-CommonJS emit targets get this behavior by default. _Classic_ resolution also causes many disk probes during the walk up the project root - assuming that this strategy does eventually succeed in most cases, it seems like most uses could be subsumed by: - Using relative paths. - Modifying the `baseUrl` and `paths` properties in `tsconfig.json`. After discussing with @vladima, we think it is worth considering switching the default resolution strategy for all module targets to _Node_. Here's what needs to be done: * [ ] Investigate existing `tsconfig.json`s that target esXXXX` and have no explicit/implied resolution strategy. * [ ] Determine the downstream effects to a change to defaults * [ ] Determine if this change outweighs the potential breakage * [ ] Implement if appropriate
Suggestion,Help Wanted,Committed,Effort: Moderate
low
Major
181,572,469
kubernetes
Server side defaulting of values prevents diff patches from working
Server side defaults are easily differentiated from other values set within the kubernetes system (e.g. DeploymentStatus). `kubectl apply` records the applied config as an annotation on the objects that it creates so that it can perform a 3-way diff to merge local changes into the live config without erasing other items such as the status. Steps to reproduce: Use `kubectl apply -f` to create a deployment using this config: ``` yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: nginx-deployment spec: replicas: 3 template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 ``` Update the config spec adding ``` yaml strategy: type: "Recreate" ``` Apply the new config. Result: ``` sh The Deployment "nginx-deployment" is invalid. spec.strategy.rollingUpdate: Forbidden: may not be specified when strategy `type` is 'Recreate' ``` This is caused because the server defaults spec.strategy.rollingUpdate but this is invisible to the client and cannot be differentiated from other changes made by the server that the client should ignore (e.g. status changes). This can be seen for any field whose default is derived from another field such as Deployment labels and selectors (derived from the PodTemplate labels). Solving this will require at least some changes on the server side. One possible solution would be to: 1. Have the server record which derived fields that it adds / updates 2. Have the client then merge these changes into the last-applied-config used by diff patch so they are deleted 3. Have the server re-perform defaulting / normalization on the resulting object from the PATCH Thoughts / Comments / Suggestions?
priority/important-soon,area/app-lifecycle,area/kubectl,sig/api-machinery,area/declarative-configuration,lifecycle/frozen,wg/api-expression
medium
Major
181,685,893
go
cmd/compile: large arrays cause large binaries and toolchain errors
On tip, `go version devel +0db9518 Fri Oct 7 03:46:50 2016 +0000 darwin/amd64`: ``` $ cat j.go package main var x = [1 << 30]byte{0: 1} func main() { println(x[0]) } $ go build j.go $ ls -l j -rwxr-xr-x 1 crawshaw eng 1074669392 Oct 7 10:34 j ``` Bumping 1<<30 to 1<<31 turns it into a linker error: ``` ~$ go build j.go # command-line-arguments main.x: symbol too large (2147483648 bytes) too much data in section SNOPTRDATA (over 2000000000 bytes) too much data in section SDATA (over 2000000000 bytes) too much data in section SBSS (over 2000000000 bytes) too much data in section SNOPTRBSS (over 2000000000 bytes) main.init: pc-relative relocation address for main.initdone· is too big: 0x800ad36a main.init: pc-relative relocation address for main.initdone· is too big: 0x800ad355 runtime.alginit: pc-relative relocation address for runtime.cpuid_ecx is too big: 0x800ac585 runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac72d runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac70b runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac700 runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac701 runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac6f6 runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac6f7 runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac6ec runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac6ed runtime.alginit: pc-relative relocation address for runtime.hashkey is too big: 0x800ac6e2 runtime.alginit: pc-relative relocation address for runtime.useAeshash is too big: 0x800ac4ea runtime.alginit: pc-relative relocation address for runtime.algarray is too big: 0x80091a0b runtime.alginit: pc-relative relocation address for runtime.algarray is too big: 0x80091a0d runtime.alginit: pc-relative relocation address for runtime.algarray is too big: 0x80091a1f /Users/crawshaw/go/pkg/tool/darwin_amd64/link: too many errors ``` (Inspired by https://codegolf.stackexchange.com/questions/69189/build-a-compiler-bomb/69193#69193)
NeedsDecision,compiler/runtime
low
Critical
181,746,113
angular
Query params always purport to be empty on page load even though provided
**I'm submitting a ...** (check one with "x") ``` [x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question ``` **Current behavior** `this.route.queryParams` (with `this.route` being an injected `ActivatedRoute`, when query parameters are present in the URL, will fire once with an empty object, and then again immediately with the query params. **Expected behavior** I would expect this to fire only the second time with the provided query params. **Minimal reproduction of the problem with instructions** In a component, inject `ActivatedRoute` and call it `route` in the constructor. Then: ``` ts this.route.queryParams .filter((queryParams: any) => { // Let's say the query param we're looking for is called "foo" return !queryParams.foo; }) .subscribe(() => { alert('no query param called "foo"!'); }); ``` Then navigate to the path `/?foo=bar`. You should see the alert, even though the query param `foo` is provided. This happens both if you run this code in a component's constructor _and_ `ngOnInit`. **What is the motivation / use case for changing the behavior?** I have logic in place that appends a query param to the URL when not present. The subscription wrongly tells me there is no query param. My current workaround is to use `debounceTime`, but this may introduce race conditions. ``` ts this.route.queryParams .debounceTime(500) .filter((queryParams: any) => { return !queryParams.foo; }) .subscribe(() => { alert('no query param called "foo"!'); }); ``` **Please tell us about your environment:** Operating system: macOS Sierra version 10.12 IDE: Atom 1.10.2 Package manager: NPM Based on https://github.com/mgechev/angular2-seed - **Angular version:** 2.0.X 2.0.0 - **Browser:** Chrome version 53.0.2785.143 (64-bit) Safari version 10.0 (12602.1.50.0.10) - **Language:** [all | TypeScript X.X | ES6/7 | ES5] TypeScript version 1.8.10 - **Node (for AoT issues):** `node --version` = Not sure what AoT means, but for what it's worth, my Node version is 4.0.0.
type: bug/fix,freq3: high,area: router,P3
high
Critical
181,765,344
youtube-dl
Add support for Adobe Pass Auth TV Provider Charter Communications
I'd like to request support for the MSOs under TVEverywhere. There seems to be a relation to watchtveverywhere.com ( #10709), but some providers don't overlap. Specifically, I'm looking for support for Charter Communications, soon to be Charter/Time Warner/Spectrum. I can provide credentials for this if needed. http://www.tveverywherenow.com/#get-started-dest
tv-provider-account-needed
low
Major
181,768,262
flutter
markNeedsLayout(will not affect size)
There are some situations where a render object knows that it needs layout but also knows that the layout will not change its size. If the parent uses the this object's size in its layout, we can avoid marking the parent as needing layout. Examples: - viewports in the new scrolling world - re-positioning positioned children in a stack /cc @Hixie
c: new feature,framework,c: performance,P3,team-framework,triaged-framework
low
Minor
181,779,898
kubernetes
Facilitate API orchestration
Currently, building a general-purpose orchestrator for our API is more challenging than it should be. Some problems (probably not exhaustive): - There's no general way to determine when applications and/or services are "ready", such as for cases where applications need other applications to be up in order to start properly, which apparently is the case for some non-cloud-native applications (#1768, kubernetes/kubernetes#29453). Service-level readiness would be useful for a number of purposes. Disruption budget is related. - There's no general way to determine when operations, such as cascading deletion (#29891), scaling, or deployment, are "done". Deletion is a special case, but most other cases amount to observed state matching desired state (or desired state has subsequently changed again). This is related to generation and observedGeneration. - There's no general way to determine when operations, such as deployment, "fail". In most cases, I think this amounts to inability to achieve the desired state within an acceptable amount of time. - There's no general way to hook creation and deletion (though finalizers should address the latter) kubernetes/kubernetes#3585, nor other resource lifecycle events kubernetes/kubernetes#3692. - There's no general way to query resource inter-dependencies. - There's no general way to shutdown a cluster without leaking external resources (e.g., external load balancers). See also: kubernetes/kubernetes#29453 kubernetes/kubernetes#1899 kubernetes/kubernetes#5164 kubernetes/website#41954 kubernetes/kubernetes#4630 kubernetes/kubernetes#15203 kubernetes/kubernetes#29891 kubernetes/kubernetes#14961 kubernetes/kubernetes#14181 kubernetes/kubernetes#1503 kubernetes/kubernetes#32157 kubernetes/kubernetes#38216 cc @lavalamp @pwittrock @smarterclayton
area/api,area/app-lifecycle,sig/api-machinery,sig/apps,area/teardown,lifecycle/frozen
medium
Critical
181,783,265
vue
A child components `destroyed` hook is called before its `detached` hook
### Vue.js version 1.0.28 ### Reproduction Link https://jsfiddle.net/w0r85tus/ ### Steps to reproduce - Open the JSFiddle, then open devtools - Click "show modal" in the result view - Click "Ok" in the modal - Observe the console.log statement order ### What is Expected? - Components should be `detached` before they are `destroyed`. - The `destroyed` hook should always be the very last hook fired. ### What is actually happening? - The `destroyed` hook is getting called first, then the `detached` hook later. Note that it makes no difference if the component has a `transition` applied. You can remove the `transition` attribute from the modal but the hook order stays the same. When I'm using a tool like [selectize.js](https://github.com/selectize/selectize.js) inside a modal, I want Selectize to stay until the modal is off-screen, then destroy it. If I use the `beforeDestroy` or `destroyed` events, they will fire before the modal has transitioned out and the effect is that you will see a flash of the destroyed Selectize control.
1.x
medium
Minor
181,785,063
nvm
nvm: install v6.7.0 failed!
I am trying to install a non root instance of node on LINUX Redhat. I do not have sudo privileges. I am getting the following error when i try `nvm install node` : ``` sh -bash-3.2$ nvm install node Checksums match! Using existing downloaded archive $NVM_DIR/.cache/bin/node-v6.7.0-linux-x64/node-v6.7.0-linux-x64.tar.xz tar: invalid option -- J Try `tar --help' or `tar --usage' for more information. Binary download failed, trying source. Checksums match! Using existing downloaded archive $NVM_DIR/.cache/src/node-v6.7.0/node-v6.7.0.tar.xz tar: invalid option -- J Try `tar --help' or `tar --usage' for more information. nvm: install v6.7.0 failed! ``` nvm 0.32.0 tar (GNU tar) 1.15.1
OS: ubuntu,installing node,needs followup
low
Critical
181,822,906
youtube-dl
Windows .exe dont start
### What is the purpose of your _issue_? - [x] Question --- ### Description of your _issue_, suggested solution and other information I Downloaded the youtube-dl.exe on my Windows Server 2012 i have python 2.7 installed. When i want now download a Video (over commandline) i get an error by Windows that the Application was not success to start with error code (0x000007d) and than nothing happen .
cant-reproduce
medium
Critical
181,842,586
youtube-dl
logotv (www.logotv.com) support
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.10.07_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.10.07** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [x] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` $ youtube-dl -v <your command line> [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2016.10.07 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} ... <end of log> ``` --- ### If the purpose of this _issue_ is a _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): - Single video: http://www.logotv.com/full-episodes/d02i4v/rupauls-all-stars-drag-race-family-that-drags-together-season-2-ep-207 --- ### Description of your _issue_, suggested solution and other information Explanation of your _issue_ in arbitrary form goes here. Please make sure the [description is worded well enough to be understood](https://github.com/rg3/youtube-dl#is-the-description-of-the-issue-itself-sufficient). Provide as much context and examples as possible. If work on your _issue_ requires account credentials please provide them or explain how one can obtain them. I think this will be an easy one, it's a Viacom site, and it's using a similar setup to Comedy Central etc.
tv-provider-account-needed
low
Critical
181,857,238
youtube-dl
TestDownload should allow running all tests for a given extractor
## Please follow the guide below - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [x] Feature request (request for a new functionality) --- ### Description of your _issue_, suggested solution and other information README/CONTRIBUTING explain: > 6. Run `python test/test_download.py TestDownload.test_YourExtractor`. This _should fail_ at first, but you can continually re-run it until you're done. If you decide to add more than one test, then rename `_TEST` to `_TESTS` and make it into a list of dictionaries. The tests will then be named `TestDownload.test_YourExtractor`, `TestDownload.test_YourExtractor_1`, `TestDownload.test_YourExtractor_2`, etc. I have to admit, I read this, wrote one test, and later on went back and added some more tests but had forgotten the final sentence. I did not at first notice that I was only running the first test, and then it took me an embarassingly long time to figure out how to run the other tests. Why is the code structured this way — shouldn't there be an easy way to run all tests for a given extractor? That would seem to be the common case if you're working on a single extractor? Or maybe there is a way and I'm just not seeing it? I haven't really wrapped my head around the testing framework code, so I don't have a patch, but I am a little mystified at the current structure? Thanks. Explanation appreciated.
request
low
Critical
181,865,749
TypeScript
Improve decorator callstack information to reflect location of decorator
**TypeScript Version:** 2.03 **Scenario**: Building JUnit style unit test adaptor based on decorators. **Goal**: Emitting test information sufficient to drive Visual Studio Test Explorer's ability to double-click on a test item to navigate to the source code for the test. **Problem**: Call stack during execution of a method decorator shows a lines present only in generated code, far removed from the actual decorator's location. **Code** ``` ts @Suite export class TestIntervalSet { @Test testSingleElement(): void { let s: IntervalSet = IntervalSet.of(99); let expecting: string = "99"; assertEquals(s.toString(), expecting); } . . . } ``` Compiled and run with source map support turned on. **Expected behavior:** When the `Test()` function is called, the call stack should reflect the souce line number where the `@Test` decorator appears. **Actual behavior:** When the `Test()` function is called, the call stack reflect the line number in generated code where `__decorate()` is called. That line that doesn't appear in the typescript file. I'm hoping that this might be addressed by simply adjusting the emitted source map. I don't mind that there is a helper function on the call stack, as long as the source line containing the decorator is available..
Bug
low
Minor
181,868,635
youtube-dl
Hostnames should be case-insensitive, but most extractors ignore that.
Forking off this discussion from #10854, where @dstftw suggested that [making all _VALID_URL checks case-insensitive](https://github.com/rg3/youtube-dl/pull/10854/files/78210b31fa7e62defcd3489c0e456be1f6f23533#diff-bd4b4a14f1443d3fc8f4135a9d0e6e0fR65) was the wrong way to go: > > Use (?i) in regex itself if you want case insensitivity. I, @johnhawkinson replied: > Good point! Though very few current extractors do that: > > ``` > pb3:extractor jhawk$ fgrep -Rn '(?i)' *.py|grep VALID > commonprotocols.py:11: _VALID_URL = r'(?i)rtmp[est]?://.+' > commonprotocols.py:37: _VALID_URL = r'(?i)mms://.+' > dailymotion.py:41: _VALID_URL = r'(?i)(?:https?://)?(?:(www|touch)\.)?dailymotion\.[a-z]{2,3}/(?:(?:embed|swf|#)/)?video/(?P<id>[^/?_]+)' > ``` > > would it not make sense to consider changing suitable() globally to make most regexps case insensitive, rather than trying to touch every regexp? > OTOH I guess it might break some things? @dstftw replied: > > No, this should not be global at least due to presence of potentially case sensitive parts and every regexp should not be touched either. Only those seen to be case insensitive in the wild should do. and I, @johnhawkinson said: > Probably this is another issue to open, but it's very easy to make most extractors fail by uppercasing something. > Compare: > > ``` > pb3:Downloads jhawk$ youtube-dl -s 'http://abcnews.go.COM/ThisWeek/video/week-exclusive-irans-foreign-minister-zarif-20411932' > [generic] week-exclusive-irans-foreign-minister-zarif-20411932: Requesting header > WARNING: Falling back on generic information extractor. > [generic] week-exclusive-irans-foreign-minister-zarif-20411932: Downloading webpage > [generic] week-exclusive-irans-foreign-minister-zarif-20411932: Extracting information > pb3:Downloads jhawk$ youtube-dl -s 'http://abcnews.go.com/ThisWeek/video/week-exclusive-irans-foreign-minister-zarif-20411932' > [abcnews:video] Downloading Akamai AMP feed > [abcnews:video] 20411932: Downloading f4m manifest > [abcnews:video] 20411932: Downloading m3u8 information > pb3:Downloads jhawk$ > ``` > > Sticking to a "seen in the wild" standard masks a lot of bugs. > I'll open an issue and submit a pull to at least make the YourExtractor sample code case-insentitive. > But I do think the project probably can and should do better... Finally @dstftw said: > > That's simulated. No such URLs is seen in the wild so far and no one will ever intentionally upper case some part of it. --- I disagree. The hostname part of a URL is by definition **case-insensitive**. Any extractor in youtube-dl that assumes the hostname has fixed case is buggy. And a few of them go to ugly contortions using character classes to try to be case-insensitive, like YoutubeIE: ``` (?:(?:(?:(?:\w+\.)?[yY][oO][uU][tT][uU][bB][eE](?:-nocookie)?\.com/| youtu\.be| # just youtu.be/xxxx ``` And yet ironically it doesn't allow http://YOUTU.BE (although those work anyhow, I think because of some very broad matching of the path component for Youtube). Anyhow, the authority on this is [RFC 1034: Domain Names - Concepts And Facilities](https://tools.ietf.org/html/rfc1034), stating: ``` By convention, domain names can be stored with arbitrary case, but domain name comparisons for all present domain functions are done in a case-insensitive manner, assuming an ASCII character set, and a high order zero bit ``` And also [RFC3986: Uniform Resource Identifier (URI): Generic Syntax](https://tools.ietf.org/html/rfc3986): ``` 3.2.2. Host The host subcomponent of authority is identified by an IP literal encapsulated within square brackets, an IPv4 address in dotted- decimal form, or a registered name. The host subcomponent is case- insensitive. ``` See also [RFC 1035](https://tools.ietf.org/html/rfc1035), [RFC 4343](https://tools.ietf.org/html/rfc4343). --- But that only goes so far: while the domain names are case-insensitive, the rest of the URLs are not. But what is the risk of processing them case-insensitively? From youtube-dl's perspective, it means a URL might match _VALID_URL on the correct site but with a different case, like the extractor for `https://www.youtube.com/watch?v=d9TpRfDdyU0` might be triggered by `https://www.youtube.com/WATCH?v=d9TpRfDdyU0`. But so what? At worst it means an extractor might be unnecessarily invoked in a few rare cases, which is a fair thing to trade to have it work in more places. Any any website that has different video content at /ABC and /abc where both need to work is going to need careful attention to this in the extractor anyhow. Although I'm skeptical such sites exist. Anyhow, the compromise proposal is to just change the README.md and CONTRIBUTING.md examples such that they recommend using `(?i)` in regexps, so that new extractors are case insensitive. I'll submit a pull request. I guess we could also go in en masse and prefix most VALID_URI entries with `(?i)` and see what breaks, if anything? Thanks.
request
low
Critical
181,870,998
youtube-dl
Add support for maxdome.de
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.10.07** - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones - [x] Site support request (request for adding support for a new site) Please add support for https://www.maxdome.de/
site-support-request,account-needed
low
Critical
181,879,343
youtube-dl
Add support for Apache directory listings
I have a project where youtube-dl's --download-archive would be really handy. Can you add a processor for just web server (apache) directory lists? I have a few large directories filled with mp4s and --download-archive would make my life a lot easier.
request
low
Minor
181,883,505
youtube-dl
Wintellect support
ERROR: type should be string, got "https://wintellectnow.com\nhttps://wintellectnow.com/Videos/Watch?videoId=building-azure-api-apps\n\n```\n<vimeo-video video-id=\"180309428\" current-position=\"ctrl.currentPosition\" start-position=\"ctrl.startPosition\" intro-seconds=\"-1\" on-play-event=\"ctrl.logVideoPositionEvent(seconds, forceUpdate)\" on-pause-event=\"ctrl.logVideoPositionEvent(seconds, forceUpdate)\" on-time-update-event=\"ctrl.logVideoPositionEvent(seconds, forceUpdate)\" on-media-ready-event=\"ctrl.playerReadyEvent()\" on-video-error-event=\"ctrl.videoErrorEvent(errorMessage)\" on-intro-limit-event=\"ctrl.introLimitEvent()\" class=\"ng-isolate-scope\">\n <iframe src=\"https://player.vimeo.com/video/180309428\" width=\"100%\" height=\"365px\" frameborder=\"0\" webkitallowfullscreen=\"\" mozallowfullscreen=\"\" allowfullscreen=\"\" data-ready=\"true\"></iframe></vimeo-video>\n```\n\nCan someone add support for this website?\nI can provide you with a username and account to test.\n"
site-support-request,account-needed
low
Critical
181,887,894
youtube-dl
Connection reset by peer
## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.10.07_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [ ] I've **verified** and **I assure** that I'm running youtube-dl **2016.10.07** ### Before submitting an _issue_ make sure you have: - [ ] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [ ] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` $ youtube-dl -v <your command line> [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2016.10.07 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} ... <end of log> ``` --- ### If the purpose of this _issue_ is a _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): - Single video: https://www.youtube.com/watch?v=BaW_jenozKc - Single video: https://youtu.be/BaW_jenozKc - Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc --- ### Description of your _issue_, suggested solution and other information Explanation of your _issue_ in arbitrary form goes here. Please make sure the [description is worded well enough to be understood](https://github.com/rg3/youtube-dl#is-the-description-of-the-issue-itself-sufficient). Provide as much context and examples as possible. If work on your _issue_ requires account credentials please provide them or explain how one can obtain them.
cant-reproduce
medium
Critical
181,905,773
rust
Rust docs: Please add groupings of producers and consumers by type
I find myself often navigating to rustdocs and then clicking through to the `[src]` link instead of using the docs directly (or bypassing rustdoc and going to the git repo). The most common reason I find myself doing this is because I'm trying to learn the interface for some type that I want to use. Coming from an algebraic datatype background, I often want to know the set of ways to introduce a type and the different functions that accept that type (roughly speaking, producers and consumers of a type). The rustdocs as they are today do a good job of listing the `impl` functions for a type and enumerating traits for the type. So what more do I want? Let's say there is a module `foo` that defines the type `Foo`. Often times `foo`, and other modules within the same library, also define functions that operate on `Foo`. I would like a convenient way to see these functions together. Perhaps we could call it a type indexed index :) I apologize if this feature already exists and I've overlooked it. Thanks in advance!
T-rustdoc,C-enhancement
low
Minor
181,948,488
youtube-dl
Some facility for debug logging with debug levels should be available and used
To aid in maintainability, it should be easy to leave debug printing code in extractors and have it only print when run with some debugging flag, or ideally with multiple debugging levels, ala classic dprintf(level, fmt, ...). Some discussion of this in [here](https://github.com/rg3/youtube-dl/pull/10854/#discussion_r82521447), and @yan12125 suggests a pull request. I'm pretty sure if I implemented it it wouldn't be very Pythonic, so perhaps it's best to just mention the idea as an issue and leave it for someone else to implement.
request
low
Critical
182,092,140
vscode
Multiple extensions registering the 'type' command
- VSCode Version: 1.5.3 - OS Version: Windows 10 Steps to Reproduce: 1. Install and enable [VSCodeVim](https://marketplace.visualstudio.com/items?itemName=vscodevim.vim) and [vscode-jumpy](https://marketplace.visualstudio.com/items?itemName=wmaurer.vscode-jumpy) 2. Open a file with text 3. Run the command `Jumpy Word Mode`. Two letter decorations should appear at the start of each word 4. Type in the two letter code for that word. Jumpy functionality should enact a 'Jump' to the cursor position of that decorator. 5. It doesn't work :-( The keystrokes are being processed by VSCodeVim, not Jumpy. I am the author of `vscode-jumpy` [(repo)](https://github.com/wmaurer/vscode-jumpy). A user has reported that Jumpy does not work in combination with VSCodeVim: wmaurer/vscode-jumpy#1. It seems that both extensions are doing a `registerCommand('type')`, but `VSCodeVim` seems to take priority over `vscode-jumpy`. Is there are way to manage which extension has priority, so that it can receive and process the keystrokes? Ideally I want to Jumpy to receive and process the next two keystrokes after enabling `Jumpy Word Mode`, but then let the rest of the keystrokes forward to `VSCodeVim`.
feature-request,api
medium
Critical
182,093,627
TypeScript
Annotate immediately-invoked functions for inlining flow control analysis
Per #9998 and its many offshoots, we have problems analyzing code like this ``` ts let x: string | number = "OK"; mystery(() => { x = 10; }); if (x === 10) { // Error, we believe this to be impossible } ``` The problem is that we don't know if `mystery` invokes its argument "now" or "later" (or possibly even never!). The converse problem appears during reads: ```ts let x: string | number = ...; if (typeof x === 'string') { // Error, toLowerCase doesn't exist on string | number let arr = [1, 2, 3].map(n => x.toLowerCase()); } ``` Proposal is to allow some form of indicating that the function is invoked immediately, e.g. ``` ts declare function mystery(arg: immediate () => void): void; ``` This would "inline" the function body for the purposes of flow control analysis
Suggestion,Needs Proposal
high
Critical
182,102,841
TypeScript
Support formatting JSDoc comments
Formatting: ``` ts /** * @param { Object } bar */ function foo(bar) { } ``` Should result in: ``` ts /** * @param {Object} bar */ function foo(bar) { } ``` Reported originally in https://github.com/Microsoft/TypeScript/issues/11456
Suggestion,Help Wanted,VS Code Tracked,Domain: JSDoc
low
Minor
182,129,338
TypeScript
Go-to-Implementation & class names
I have started to implement "Go-to-Implementation" by consumming tsserver "implementation" command inside Eclipse to do the same thing than Java: ![](https://cloud.githubusercontent.com/assets/1932211/14764578/3b90dc6c-09bd-11e6-83ba-722ffad94e11.png) See https://github.com/Microsoft/TypeScript/issues/8268 The tsserver "implementation" command returns list of FileSpan (file, location)) but not the text of the implemented class ("MyServiceA", "MyServiceB"). If you see the below screenshost, it should be really cool to have too the name of the classes which implement the interface. Many thanks
Suggestion,Help Wanted,API
low
Minor
182,141,740
kubernetes
Field-level versioning
We have difficulties around moving fields through alpha, beta, GA. #30819 is one idea. I was talking with Brian earlier today and here is a sketch of something that we could do to solve the general problem. We begin following semver for our api versions, adding a "patch" version. We define a new tag which can be added in a comment before a field, like this: `// +version:alpha=v1.5.3` When the field goes to beta (assuming it doesn't change): `// +version:alpha=v1.5.3,beta=v1.5.89` And at GA the field goes like this: `// +version:alpha=v1.5.3,beta=v1.5.89,stable=v1.5.183` If at any point in time the field is deleted (or moved and we don't want to autoconvert), and clients referencing the field might still exist, we can say: `// +version:alpha=v1.5.3,deleted=v1.5.8` The conversion machinery would enforce that any given version number is only used once (we can store the next version in a file somewhere for human convenience). This complete version should be tracked per-apiserver. (So federation-apiserver would likely have a different patch version.) We'd use the same idea behind @smarterclayton's #33900 to allow clients to specify which minor version of the api they're intending to use, via `Accept:` headers. Conversion routines, validators, swagger generation etc all need to be made to accept a full api version from clients and they can use the hints on the fields to tell whether the client knows about the field or not. Swagger can report whether fields are alpha or beta. Likewise we can use the alpha/beta distinction to give admins the ability to disallow alpha or only allow stable fields to be used. (We can construct versions like v1.5.35-stable for this purpose)
priority/important-soon,kind/cleanup,sig/api-machinery,kind/feature,sig/architecture,lifecycle/frozen
high
Minor
182,153,335
godot
Custom class instance extending Reference already freed when it receives NOTIFICATION_PREDELETE
**Operating system or device - Godot version:** macOS 10.11.6 - v2.1.stable.official **Issue description** (what happened, and what was expected): Created subclass, overrides `_notification`. When the instance should be sent `NOTIFICATION_PREDELETE` (the only notification Reference gets?) and freed the game crashes. Expected to receive notification. **Steps to reproduce:** - Create subclass of `Reference` and override `_notification` - Create an instance. - Set it to null, or let go out of scope. - Then crash. **Link to minimal example project** (optional but very welcome): [godot-ref-test.zip](https://github.com/godotengine/godot/files/520762/godot-ref-test.zip)
bug,topic:core,confirmed
medium
Critical
182,224,847
angular
ViewEncapsulation.Emulated is not working for dynamically created components
<!-- IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING --> **I'm submitting a ...** (check one with "x") ``` [x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question ``` **Current behavior** <!-- Describe how the bug manifests. --> Angular 2 doesn't set `_ngcontent-*` attribute on the components created using `ViewContainerRef.createComponent()` when `ViewEncapsulation.Emulated` is used. **Expected behavior** <!-- Describe what the behavior would be without the bug. --> Angular 2 sets `_ngcontent-*` attribute on the components created using `ViewContainerRef.createComponent()` when `ViewEncapsulation.Emulated` is used. **Minimal reproduction of the problem with instructions** <!-- If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5). --> ~See reproduction example: http://plnkr.co/edit/0HF3A2muRlAVOEonJvs7~ Updated reproduction for Angular 6: https://stackblitz.com/edit/angular-uzjtlp If you change view encapsulation to native (in browser supporting it) `my-dynamic-comp` will become red (which is expected behaviour). But with emulated view encapsulation it stays green. It's because `_ngcontent-*` attribute is not set on the dynamically created component's host element. **What is the motivation / use case for changing the behavior?** <!-- Describe the motivation or the concrete use case --> Emulated behaviour works different from native, so I assume it is a bug. **Please tell us about your environment:** <!-- Operating system, IDE, package manager, HTTP server, ... --> - **Angular version:** 2.0.2 - **Browser:** all - **Language:** TypeScript (but it may be relevant for others as well)
type: bug/fix,freq1: low,area: core,state: confirmed,core: CSS encapsulation,core: dynamic view creation,P3
medium
Critical
182,283,868
vscode
Horizontal scrollbar doesn’t shrink after the long line getting shortened
- VSCode Version: 1.6.0 - OS Version: Windows 10 Steps to Reproduce: 1. Create an empty file; 2. Type a long line until the horizontal scrollbar appears; 3. Delete that long line; 4. Observe that the horizontal scrollbar still exists. If I resize the window, the horizontal scrollbar disappears, but If I only delete the long line, the horizontal scrollbar still exists.
feature-request,editor-scrollbar
low
Major
182,296,960
angular
Add support for undefined number of items of form builder array
- [ ] bug report => search github for a similar issue or PR before submitting - [x] feature request - [ ] support request => Please do not submit support request here, instead see When using form builders in a reactive form, it is impossible to create an array of objects with an undefined number of objects. Let's say I have this form: ``` this.form = this.formBuilder.group({ persons: this.formBuilder.array([ this.formBuilder.group({ name: [''], job: [''] }) ]), }) ``` If my array is: `var personsArray= [{name:'John', job:'plumber'}, {name:'Jack', job:'engineer'}, {name:'Bob', job:'cook'}];` I can't really patch the form like this: `this.form.patchValue({persons: personsArray})` because it will only batch the first item of the array. There should be a way to iterate over the form array to create these controls through the `patchValue` function...
feature,state: Needs Design,freq1: low,workaround2: non-obvious,area: forms,feature: under consideration
medium
Critical
182,297,938
flutter
Feature Request: List Item Animations
## Request When adding, removing, or changing the order of items in a ScrollableList or LazyBlock, the items are simply redrawn in the correct order, but they don't animate in an elegant way. For example, if a list item is removed, the rest of the items could "slide up" to fill in the gap left behind by the removed item. If the order is shuffled, the list items could animate to their new position. ## Visual Examples Video: https://vimeo.com/183667253 A code example using the Android APIs: https://github.com/wasabeef/recyclerview-animators ## Nice-to-haves 1. Simply hand a new list of children to a `ScrollableList` and it handles all the animation magic. 2. A set of standard list item animations (Material style animations, iOS style, etc) 3. It would be great to have an extension to define exactly how the animations should be executed. The `RecyclerViewAnimator` class from Android is an example of what I mean. I've used both stock Material transitions and had to hand-write them for the company I work for. ## Current ways to implement More ideas welcome, but in order to make this affect happen, I was simply going to manually calculate the animations, run them, and THEN update the state of my application through `setState`. An example of this approach can be seen in the Mithril.js documentation: http://lhorie.github.io/mithril-blog/velocity-animations-in-mithril.html That said, it would be simpler if this could "just happen" when you pass a new set of data into the `ScrollableList` or `LazyBlock`
c: new feature,framework,f: material design,customer: crowd,c: proposal,P3,team-design,triaged-design
medium
Critical
182,375,458
TypeScript
Control flow not formed when using consts
**TypeScript Version:** 2.0.3 **Code** ``` ts interface Releasable { release(): void; } const typeOfNumber: string = 'number'; function release(releasable: number | Releasable): void { if(typeof releasable === typeOfNumber) { allocated.splice(allocated.indexOf(releasable), 1); } else { releasable.release(); } } ``` **Expected behavior:** ``` ts interface Releasable { release(): void; } const typeOfNumber: string = 'number'; function release(releasable: number | Releasable): void { if(typeof releasable === typeOfNumber) { allocated.splice(allocated.indexOf(releasable), 1); // Ok, typeof releasable is number here } else { releasable.release(); // Ok, typeof releasable implements Releasable here } } ``` **Actual behavior:** ``` ts interface Releasable { release(): void; } const typeOfNumber: string = 'number'; function release(releasable: number | Releasable): void { if(typeof releasable === typeOfNumber) { allocated.splice(allocated.indexOf(releasable), 1); // [ts] Argument of type 'number | Releasable' is not assignable to parameter of type 'number'. Type 'Releasable' is not assignable to type 'number'. } else { releasable.release(); // [ts] Property 'release' does not exist on type 'number | Releasable'. } } ``` Currently type guards are only limited to literals. Type guards are consumed at compile time and from this taken in mind variables defined with `let` or `var` seems natural to not result in proper control flow but type guards using constants defined with `const` should result in a proper type guard. Since the compiler already knows that `const`s will not change their value ans so their value should be checked dose it evaluate to known `typeof` return value to form a proper control flow else to result in a `[ts] error` ...
Suggestion,Committed
low
Critical
182,544,767
go
x/tools/cmd/fiximports: tests failing at tip
At tip, the tests for golang.org/x/tools/cmd/fiximports are failing. It's not immediately obvious to me why. I'd never seen this tool before. @alandonovan, can you take a look?
Testing,Tools
low
Minor
182,579,481
kubernetes
master leader election shouldn't consume O(nodes) watch bandwidth
Currently we store the leader lock for master components like the scheduler in the corresponding endpoints object. This has the undesirable side effect of sending a notification down the kube-proxy <-> master (and kube-dns <-> master) watch every second. We can probably avoid this by not overloading endnpoints as a lock api. Forked from https://github.com/kubernetes/kubernetes/issues/26637 @kubernetes/sig-scalability
sig/api-machinery,lifecycle/frozen,lifecycle/stale
medium
Major
182,590,158
angular
Provide more syntactic sugar for custom form components
This experience could use improvement. At the least, we can probably simplify how we provide NG_VALIDATORS and NG_VALUE_ACCESSOR (perhaps through decorator support). Relevant issues (starting a list): https://github.com/angular/angular/issues/9700 https://github.com/angular/angular/issues/12812
feature,state: Needs Design,freq3: high,area: forms,feature: under consideration
low
Major
182,725,409
neovim
Trying to re-open a deleted terminal gives you a new terminal
- `nvim --version`: NVIM v0.1.6-234-g8cc760a - Vim (version: ) behaves differently? n/a - Operating system/version: n/a - Terminal name/version: n/a - `$TERM`: n/a ### Actual behaviour Re-opening a deleted terminal gives you a new terminal, with a different name. ### Expected behaviour Throw an error. ### Steps to reproduce using `nvim -u NORC` ``` nvim -u NORC :term <c-\><c-n> :argadd :bd! :argu :argu :argu ``` Now we have 3 new terminal buffers, because the buffer name in the argument list contains the PID, and terminal buffers with a different PID, i.e. different name, are created. This problem is not bounded to argument list use: `:e <deletedtermbuffername>` has the same issue.
ux,terminal
low
Critical
182,774,346
opencv
Window freeze with cv2.destroyAllWindows() and waitKey(0)
<!-- If you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses. If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute). This is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library. --> ##### System information (version) - OpenCV => : 3.1.0 - Operating System / Platform => Ubuntu 16.04 - Compiler => n/a (Python, installation of OpenCV3 into Anaconda via menpo) ##### Detailed description <!-- your description --> I was trying to show some images with the code below inside Spyder using the OpenCV3 module for Python 3. I was able to close 2 of the three windows with the [x], but the third one would not close. I tried cv2.destroyAllWindows(), which lead to the message box with "window does not respond" (the image window). If I then force-shutdown the image window the Spyder-Kernel will restart and I loose all my variables. ``` .py cv2.imshow("Image 1", im1) cv2.imshow("Image 2", im2) cv2.imshow("Aligned Image 2", im2_aligned) cv2.waitKey(0) ``` Thanks!
priority: low,RFC
low
Critical