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
161,198,806
TypeScript
Find-all-references for `this` type
Do we want this? What things should count as references of the `this` type? The current class, or all subclasses too? Given: ``` class A { m(): this { ... } m2: this { ... } } class B extends A {} const x: A = { m1() { ... }, m2() { ... } } ``` Should we include just the `this`es, or `A` too, or even `B` too? What about `x`?
Bug
low
Minor
161,210,730
youtube-dl
[iQIYI] Fix VIP 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.06.19.1_. 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.06.19.1** ### 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 <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.06.19.1 [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_ required an account credentials please provide them or explain how one can obtain them. youtube-dl -v -F http://www.iqiyi.com/v_19rrkyywoo.html [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', '-F', 'http://www.iqiyi.com/v_19rrkyywoo.html'] [debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936 [debug] youtube-dl version 2016.06.19.1 [debug] Python version 3.5.1 - Windows-10-10.0.10586-SP0 [debug] exe versions: ffmpeg 3.0 [debug] Proxy map: {} [iqiyi] temp_id: download video page [iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Downloading JSON metadata [iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download path key of segment 1 for format h3 [iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download video info of segment 1 for format h3 [iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download path key of segment 1 for format h6 [iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download video info of segment 1 for format h6 [iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download path key of segment 1 for format h5 [iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download video info of segment 1 for format h5 [info] Available formats for 7f13d67408c4d737588e84d3c8b0985b: format code extension resolution note h6 f4v unknown 4.29MiB h5 f4v unknown 6.63MiB h3 f4v unknown 16.39MiB (best) This URL is a 40-minute video,This result is wrong.Please fix this,thanks.
request,geo-restricted
medium
Critical
161,270,026
opencv
SeamFinder->find breaking in GCGraph addEdges assertion, possibly due to RotationWarper giving negative corner points. Suspect either HomographyBasedEstimator or BundleAdjust causing CameraParams to allow for negative points.
### Please state the information for your system Version 3.1, Windows 7, Visual Studio ### In which part of the OpenCV library you got the issue? stitching/imgproc. ### Expected behaviour The following line of code will run successfully: SeamFinder->find(ImagesWarped, Corners, MasksWarped); ### Actual behaviour The following line of code breaks with this error: Assertion failed (w>=0 && revw>=0) in GCGraph(float)::addEdges. SeamFinder->find(ImagesWarped, Corners, MasksWarped); ### Additional description In debug mode, the argument Corners in SeamFinder->find has negative x-coordinate values. Corners is a vector of opencv Point objects. This is suspected to be caused by either HomographyBasedEstimator or BundleAdjust setting the rotation matrix in a previously declared CameraParams value. That leads to the following intermediate step: Corners[i] = Warper->warp(SeamScaleFunduses[i], K, Cameras[i].R, INTER_LINEAR, BORDER_REFLECT, ImagesWarped[i]); Where Warper is a RotationWarper, and Cameras is a vector of the CameraParams object. Here the rotation matrix parameter of Cameras, .R, seems to be giving Corners Points with negative x coordinates.
bug,category: stitching,incomplete
low
Critical
161,371,080
three.js
firefox allocation size overflow editor publishing 1,5m+ polygons
##### Description of the problem allocation size overflow when publishing a scene frome editor with over 1,5 million polygons, 1,1million still works fine allocation size overflow Menubar.File/<() Menubar.File.js:221 bound () self-hosted:752 Menubar.File.js:221:12 ##### Three.js version - [ ] Dev - [x] r77 - [ ] ... ##### Browser - [ ] All of them - [ ] Chrome - [x] Firefox - [ ] Internet Explorer ##### OS - [x] All of them - [ ] Windows - [ ] Linux - [ ] Android - [ ] IOS ##### Hardware Requirements (graphics card, VR Device, ...)
Enhancement,Editor
low
Major
161,396,541
rust
An unused generic parameter should be a warning at the definition site.
Consider the following code: ``` rust fn foo<F>(x: i32) -> i32 { x } fn bar<'a>(x: i32) -> i32 { x } fn main() { bar(1); bar(2); foo::<f64>(3); foo(4); foo(5); } ``` Currently, this causes a fatal compiler error at the invocation of `foo(4)` on line 9, of the form: ``` error: unable to infer enough type information about `_`; type annotations or generic parameter binding required [--explain E0282] --> <anon>:9:5 |> 9 |> foo(4); |> ^^^ error: aborting due to previous error ``` The only way to ever successfully invoke `foo` is to feed it an explicit type (via the `::<_>` syntax as illustrated on line 8). I suspect in many cases of this error, the actual problem is that the definition of `fn foo` (and also `fn bar`) are faulty: since `F` and `'a` are never referenced in the signature nor in the function body, they are irrelevant and should cause a warning via the compiler's linting system. (A separate issue is that one cannot actually instantiate the `'a` parameter to `fn bar` via the `::<_>` syntax, so it seems that its formal lifetime parameter is truly unusable. But things may not remain that way forever, so I think its best to lump both of these cases into the same category.
A-lints,A-diagnostics,T-lang,T-compiler,C-feature-request
low
Critical
161,545,967
go
cmd/compile: go1.7beta2 performance regression
Please answer these questions before submitting your issue. Thanks! 1. What version of Go are you using (`go version`)? go version go1.6.2 darwin/amd64 go version go1.7beta2 darwin/amd64 1. What operating system and processor architecture are you using (`go env`)? Intel i7-3540M (also tried on i7-2677M but didn't see the same regression) GOARCH="amd64" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common" CXX="clang++" CGO_ENABLED="1" GOARCH="amd64" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/30/6hyj4x_x783f12hmbcmn5tt00000gn/T/go-build183604977=/tmp/go-build -gno-record-gcc-switches -fno-common" CXX="clang++" CGO_ENABLED="1" 1. What did you do? https://play.golang.org/p/3WDEr-_QZR Disassembly (-gcflags -S): https://gist.github.com/samuel/3053bafe149a0459322f6eeaf8bd5ae5 1. What did you expect to see? Go 1.7beta2 the same performance or better than Go 1.6 1. What did you see instead? benchmark old ns/op new ns/op delta BenchmarkVScaleF32-4 2906 3801 +30.80% BenchmarkVMaxF32-4 2682 3951 +47.32% benchmark old MB/s new MB/s speedup BenchmarkVScaleF32-4 1409.19 1077.37 0.76x BenchmarkVMaxF32-4 1527.02 1036.64 0.68x
Performance,NeedsFix,compiler/runtime
medium
Critical
161,553,667
angular
DOM helper getKeyEvent does not use keyCode
I'm not sure if this is a bug with Angular or ChromeDriver yet, but here goes for the record: Angular's browser dom adapter uses `event.key` in `getKeyEvent`. When WebDriver via ChromeDriver sends a `sendKeys` event, it fills out the event's `keyCode`, but not the `key`. This means that something such as `<button (keydown.arrowRight)="doTheThing()">` will not be triggered in an e2e test. cc @robertmesserle
type: bug/fix,freq1: low,area: core,core: event listeners,P3
low
Critical
161,571,259
youtube-dl
Site request: opensubtitles.org
## 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.06.20_. 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.06.20** ### 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) - [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 ```): ``` keybounceMBP:Mlp michael$ youtube-dl -v --list-subs http://www.opensubtitles.org/en/subtitles/5756206/my-little-pony-friendship-is-magic-owl-s-well-that-ends-well-en | pbcopy [debug] System config: [] [debug] User config: [u'--no-mtime', u'-o', u'%(title)s.%(ext)s', u'-f', u'best[height<=480]/bestvideo[height<=480]+bestaudio', u'--write-sub', u'--embed-subs', u'--recode-video', u'mp4'] [debug] Command-line args: [u'-v', u'--list-subs', u'http://www.opensubtitles.org/en/subtitles/5756206/my-little-pony-friendship-is-magic-owl-s-well-that-ends-well-en'] [debug] Encodings: locale UTF-8, fs utf-8, out None, pref UTF-8 [debug] youtube-dl version 2016.06.20 [debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit [debug] exe versions: ffmpeg N-74965-g26a0cd1-tessus, rtmpdump 2.4 [debug] Proxy map: {} WARNING: Falling back on generic information extractor. ERROR: Unsupported URL: http://www.opensubtitles.org/en/subtitles/5756206/my-little-pony-friendship-is-magic-owl-s-well-that-ends-well-en Traceback (most recent call last): File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1440, in _real_extract doc = compat_etree_fromstring(webpage.encode('utf-8')) File "/Users/michael/bin/youtube-dl/youtube_dl/compat.py", line 2524, in compat_etree_fromstring doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory))) File "/Users/michael/bin/youtube-dl/youtube_dl/compat.py", line 2513, in _XML parser.feed(text) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed self._raiseerror(v) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror raise err ParseError: undefined entity &nbsp;: line 28, column 0 Traceback (most recent call last): File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info ie_result = ie.extract(url) File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 343, in extract return self._real_extract(url) File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2140, in _real_extract raise UnsupportedError(url) UnsupportedError: Unsupported URL: http://www.opensubtitles.org/en/subtitles/5756206/my-little-pony-friendship-is-magic-owl-s-well-that-ends-well-en keybounceMBP:Mlp michael$ ``` --- ### 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**): ## http://www.opensubtitles.org/en/subtitles/5756206/my-little-pony-friendship-is-magic-owl-s-well-that-ends-well-en ### 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_ required an account credentials please provide them or explain how one can obtain them. First: I'd like to see subtitle fetching support from this site. It's the only site I know of that provides subtitles (there are probably others). Second: I'd like to see support for fetching a video from one site, and subtitles from another site. Even if it takes two youtube-dl calls, or two lines in a batch file, but have the subtitles combined into the video file.
request,site-support-request
low
Critical
161,588,305
angular
Router: Feature Request: default 'router-link-active' class attachment (old router behaviour)
**I'm submitting a ...** ``` [ ] bug report [x] feature request [ ] support request ``` **Current behavior** angular/router 3.0.0-alpha.7 introduced the `routerLinkActive` directive, which enabled us to set a custom class on the current `routerLink` element. This is great! But AFAIK, I have to attach this routerLinkActive directive to EVERY SINGLE LINK. eg ``` <ul> <li><a [routerLink]="['/sales']" routerLinkActive="router-link-active" ... <li><a [routerLink]="['/reports']" routerLinkActive="router-link-active" ... <li><a [routerLink]="['/search']" routerLinkActive="router-link-active" ... <li><a [routerLink]="['/settings']" routerLinkActive="router-link-active" ... ... </ul> ``` **Expected/desired behavior** Angular should attach the class `router-link-active` automatically to all elements with `routerLink` directives if `routerLinkActive` is not present (i.e. overridden). Then, all the user has to include is a custom `.router-link-active { }` CSS style and they get active link feedback for free! (just like the old router) Alternatively, add an option to set `routerLinkActive="custom-class"` once only? Per app ? Per router ? Per parent element (i.e. the `<ul>`)? Maybe the `routerLinkActive` selector can be updated to match `routerLink` elements. Or through `[routerLinkActiveOptions]="{autoapply: true}"` at the `<ul>` level or similar ? **What is the motivation / use case for changing the behavior?** Better developer experience. Just add one CSS style and get active link feedback for free. It was previous router behavior. Reduce template noise. **Please tell us about your environment:** - **Angular version:** 2.0.0-rc.3 + angular/router 3.0.0-alpha.7 - **Language:** TypeScript 1.8.10
feature,freq3: high,area: router,feature: under consideration
medium
Critical
161,595,542
go
cmd/yacc: remove hardcoded limits TEMPSIZE and NSTATES
1.5 & 1.7rc2 on amd64 mac 1. What did you do? go get github.com/snadrus/sqlin cd $GOPATH/github.com/snadrus/sqlin/src/parse go tool yacc -o parser.go -p parse parser.y 1. What did you expect to see? sql2003 spec becoming parser.go, or an actionable error. 2. What did you see instead? In Go 1.7rc2: panic: runtime error: index out of range goroutine 1 [running]: panic(0x1124a0, 0xc42000e150) /usr/local/go/src/runtime/panic.go:500 +0x1a1 main.aryfil(0xc4200a6000, 0x7d0, 0x7d0, 0x883, 0x0) /usr/local/go/src/cmd/yacc/yacc.go:1522 +0x41 main.stagen() /usr/local/go/src/cmd/yacc/yacc.go:1781 +0x3f3 main.main() /usr/local/go/src/cmd/yacc/yacc.go:359 +0x5d
NeedsFix
low
Critical
161,691,182
youtube-dl
Google Prompt TFA
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.06.20** - [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 Using my phone to respond to login requests doesn't work, returning `RegexNotFoundError: Unable to extract Login GALX parameter` when attempting to login. This is contrary to the expected prompt on my phone to allow the login, bypassing the requirement for TFA codes. View on desktop browser ![desktopsignin](https://cloud.githubusercontent.com/assets/10201206/16269276/e84ba074-3891-11e6-8409-e7a5ae1ad9b5.png) Initial device confirmation ![screenshot_2016-06-22-15-55-49](https://cloud.githubusercontent.com/assets/10201206/16269372/45320eea-3892-11e6-9f17-324b0d06f202.png) Challenge request ![screenshot_2016-06-22-15-56-03](https://cloud.githubusercontent.com/assets/10201206/16269377/490235f4-3892-11e6-92de-d99dea4061ef.png)
request
low
Critical
161,719,735
go
runtime/cgo: panic from callbacks does not work with -fsanitize=address/thread
Version: `go1.6 darwin/amd64` ``` ==976==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fff5fbfefb1 at pc 0x00000573e1bb bp 0x7fff5fbfef10 sp 0x7fff5fbfe6c0 WRITE of size 5 at 0x7fff5fbfefb1 thread T0 ``` As far as I can tell, this is all that's happening: In go, ``` msg := C.String("fixme") ``` In c++, ``` std::string str(msg); ``` But maybe I'm missing something obvious. Have a look, https://travis-ci.org/keroserene/go-webrtc/jobs/139389584 I've only been able to reproduce this w/ clang. /cc @dvyukov
help wanted,NeedsFix
medium
Critical
161,742,850
go
x/exp/shiny: MacOS driver does not fire mousewheel events with single or slow clicks
Please answer these questions before submitting your issue. Thanks! 1. What version of Go are you using (`go version`)? go version go1.6.2 darwin/amd64 1. What operating system and processor architecture are you using (`go env`)? GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/driusan/Code/Go" GORACE="" GOROOT="/usr/local/go" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GO15VENDOREXPERIMENT="1" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common" CXX="clang++" CGO_ENABLED="1" 2. 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. Ran x/exp/shiny/example/basic, scrolled mouse a single click with the scroll wheel on a mouse 1. What did you expect to see? Output similar to: got mouse.Event{X:824, Y:452, Button:-1, Modifiers:0x0, Direction:0x0} in the console. 1. What did you see instead? Nothing. Adding some debug statements, it seems that the issue is that this line: `for delta := int(dy); delta != 0; delta--` in `driver/gldriver/cocoa.go:/func mouseEvent/` isn't iterating at all when dy < 1 and the conversion is rounding to 0 when it casts to an int. Changing it to: `for delta := int(math.Ceil(float64(dy))); delta != 0; delta--` if a little inelegant, fixed the issue for me.
NeedsInvestigation
low
Critical
161,785,314
opencv
std::tuple errors when Building OpenCV (Main Branch) for Microsoft VS 2015 (x64)
- OpenCV version: 3.x main branch - Host OS: Windows 10 - Compiler & CMake: Visual Studio 2015 (update 1), Cuda 8RC & CMake 3.5 A large number of compiler errors related to std::tuple in lots of opencv_perf_cudaxxx... e.g opencv_perf_cudaimproc, opencv_perf_cudaarithm, opencv_perf_cudastereo, opencv_perf_cudalegacy, ``` Severity Code Description File Project Line Suppression State Error C2610 'std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth>::tuple(const std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth> &)': is not a special member function which can be defaulted (compiling source file D:\Data\My Documents\GitHub\opencv\modules\cudaarithm\perf\perf_element_operations.cpp) C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple opencv_perf_cudaarithm 328 ``` ``` Severity Code Description File Project Line Suppression State Error C2535 'std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth,perf::`anonymous-namespace'::MatCn> &std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth,perf::`anonymous-namespace'::MatCn>::operator =(const std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth,perf::`anonymous-namespace'::MatCn> &)': member function already defined or declared (compiling source file D:\Data\My Documents\GitHub\opencv\modules\cudawarping\perf\perf_warping.cpp) C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple opencv_perf_cudawarping 463 ```
bug,priority: low,category: build/install,category: gpu/cuda (contrib)
low
Critical
161,799,707
youtube-dl
Add support for Internet download manager
## 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.06.23_. 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.06.23** ### 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 --- ### 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.06.23 [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 **Please add support for https://www.internetdownloadmanager.com/index.html as an external download manager. I DOES support commnad line operations: https://www.internetdownloadmanager.com/support/command_line.html** 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_ required an account credentials please provide them or explain how one can obtain them.
request
low
Critical
161,810,406
neovim
Errorformat improvement
This is fundamentally a proposed enhancement. The Vim `compiler/:make` system is a real boon to productivity that I've only recently started to really explore. One of its shortcomings are the limitations of the 'errorformat' system. The docs hint at them with the suggestion of adding a filter to the 'makeprg' setting to product "formattable" output. The problem there is that the filter conceals the error code of the make program, which can be useful for other tools. What I'm proposing is an 'errorfunc' setting, that would consume the output of 'makeprg' as a list of lines and be directly responsible for populating the appropriate quickfix/location list. The default implementation would examine the 'errorformat' setting and behave exactly as the current system does.
enhancement
low
Critical
161,842,545
youtube-dl
Youtube storyboard
### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.06.23.1_. 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.06.23.1** ### 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) - [x] Question - [ ] Other --- Hello guys! Is there any way to get "storyboard" for youtube videos? It is the image that popus when you hovering video progressbar (time preview, not a thumbnail). Cannot find any option related to this, also there is no such info in json dump. Storyborad links looks like "https://i9.ytimg.com/sb/quxmiWngllo/storyboard3_L2/M0.jpg?sigh=_m2B-EynQsrHPLsZ_-q1OJuV8Sw".
request
low
Critical
161,875,590
go
x/tools/cmd/goyacc: When growing the stack, save it in the parser
1. What version of Go are you using (`go version`)? ``` go version go1.6.2 windows/amd64 ``` 1. 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=C:\Users\rillig\go set GORACE= set GOROOT=C:\Program Files (x86)\Go1.6.2 set GOTOOLDIR=C:\Program Files (x86)\Go1.6.2\pkg\tool\windows_amd64 set GO15VENDOREXPERIMENT=1 set CC=gcc set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 set CXX=g++ set CGO_ENABLED=1 ``` 1. What did you do? I wrote a Yacc parser for parsing shell commands into an AST. I accessed the resulting AST via `yyParserImpl.stack[1]`. For small examples, this worked well. More complicated examples resulted in `nil` being on the stack. 1. What did you expect to see? `yyParserImpl.stack[1]` should always contain the result, no matter how deeply nested the grammar is. 1. What did you see instead? When the Yacc parser needs more stack, it grows it. The code is after the `yystack:` label. This new stack is then local to the current function, and it is not written back into the parser. This means that calling `Parse` multiple times will create unnecessary copies of the stack. And, more importantly, accessing the actual stack becomes impossible. References: http://stackoverflow.com/questions/36822702/accessing-result-of-a-golang-yacc-generated-parser
Tools
low
Minor
161,917,574
vscode
additional options for `editor.selectionHighlight`
- VSCode Version: 1.2.1 - OS Version: OS X 10.11.4 Having the current word highlighted is convenient, but too distracting when moving around and accidentally leaving the cursor on a keyword (e.g. `let .. in` in OCaml). Turning it off, one has to fall back to search and lose the previous results. Maybe it would make sense to introduce options to: 1. only highlight if a whole word is selected (i.e. e.g. with a double click) 2. only highlight non-keyword words 3. only highlight identifiers
feature-request,editor-contrib
medium
Major
161,963,493
rust
Type mismatch between associated type and concrete type which are the same type.
Trying to build the following code: ``` rust trait WithLifetime<'a> { type Type; } struct Foo; enum FooRef {} impl<'a> WithLifetime<'a> for FooRef { type Type = &'a Foo; } fn wub<T, F>(f: F) where T: for<'a> WithLifetime<'a>, F: for<'a> FnOnce(&'a Foo) -> <T as WithLifetime<'a>>::Type { } fn main() { wub::<FooRef, _>(|foo| foo) } ``` Gives the error: ``` foo.rs:20:28: 20:31 error: mismatched types: expected `<FooRef as WithLifetime<'a>>::Type`, found `&'a Foo` (expected associated type, found &-ptr) [E0308] foo.rs:20 wub::<FooRef, _>(|foo| foo) ^~~ ``` However `<FooRef as WithLifetime<'a>>::Type` and `&'a Foo` are the same type. And the compiler should be able to see that.
A-type-system,A-trait-system,E-needs-test,T-compiler,C-bug,T-types
low
Critical
161,982,408
TypeScript
Namespaces not merged from UMD globals
**a.d.ts** ``` ts export = ns; export as namespace ns; declare namespace ns { export var x: number; export interface IFoo { } } ``` **b.d.ts** ``` ts declare namespace ns.something { export var p: ns.IFoo; } ``` > `tsc a.d.ts b.d.ts` Expected: No error Actual: Error that `ns` has no member `IFoo` (because the `ns` UMD global gets shadowed rather than merged)
Bug
low
Critical
161,987,042
flutter
flutter test --coverage and flutter test --watch
- [ ] `flutter test --coverage` should write: - [x] two identical files, a base file and a coverage file, - [ ] plus a file that lists the last modification times of all the test files. - [ ] `flutter test --watch` should watch the file system of the current package. - [ ] If a file under `lib/` changes, it should rerun all the tests and create a new base file and timestamp file. - [ ] If a file under 'test/' changes, it should rerun all the tests with timestamps that indicate the file changed since the base file was written. - [ ] after `flutter test --watch` runs some tests, it should merge the new coverage with the base file and overwrite the coverage file. - [ ] We should document the caveats here: - [ ] Tests that have expectations or that depend on non-test files won't be run when those files change. - [ ] Reducing coverage won't be noticed. - [ ] Coverage is per-line and hitting any expression on the line counts as covering the line.
a: tests,c: new feature,tool,P3,team-tool,triaged-tool
high
Critical
162,074,151
youtube-dl
[LeEco]Support VIP videos.
## 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.06.23.1_. 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.06.23.1** ### 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 --- ### 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.06.23.1 [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_ required an account credentials please provide them or explain how one can obtain them. When I try to download some VIP videos,It only download the free part.And when I use `--cookies`,it doesn't have any difference.
request,geo-restricted,account-needed
low
Critical
162,159,077
angular
False-Positive: Parser Error: Missing expected } at the end of the expression
**I'm submitting a ...** (check one with "x") ``` [X] bug report [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question ``` I have written a custom pipe (translate). The pipe can be parameterized with an object, e.g.: ``` <h3 id="">{{KEY | translate:{'len': '10'}}}</h3> ``` **Current behavior** Notice that all all opening curly braces were properly closed. Yet, the compiler produces the following template parse error ``` Uncaught (in promise): Template parse errors: Parser Error: Missing expected } at the end of the expression [{{'KEY' | translate:{'arg1': '10'}}}] in HomeComponent@0:10 ("<h3 id="">[ERROR ->]{{'KEY' | translate:{'arg1': '10'}}}</h3>): HomeComponent@0:10 Error: Uncaught (in promise): Template parse errors:(โ€ฆ)ConsoleWriter.write @ ConsoleWriter.js:43Rx_1.Subscriber.create._this.write.sourceHint @ ConsoleWriter.js:18SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88MapSubscriber._next @ map.js:82Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77message @ LogService.js:47error @ LogService.js:63ExceptionHandler.call @ ExceptionHandler.js:23(anonymous function) @ core.umd.js:9704schedulerFn @ core.umd.js:6651SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77EventEmitter.emit @ core.umd.js:6639NgZone._zoneImpl.NgZoneImpl.onError @ core.umd.js:9153NgZoneImpl.inner.inner.fork.onHandleError @ core.umd.js:9025ZoneDelegate.handleError @ zone.js:327Zone.runGuarded @ zone.js:233_loop_1 @ zone.js:487drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426 ``` **Bug** In contrast to what the message tells, all opening curly braces have been properly closed. **Workaround** The bug can be circumvented by putting a space in front of the closing curly braces: ``` <h3 id="">{{KEY | translate:{'len': '10'} }}</h3> ^^^ ``` **Expected/desired behavior** Omitting the space character should not cause a template parse error. **Reproduction** - see also [comment below](https://github.com/angular/angular/issues/9571#issuecomment-625611333) from @pkozlowski-opensource **Please tell us about your environment:** - **Angular version:** 2.0.0-rc.3 - **Browser:** Chrome 49.0.2623.75 m - **Language:** [TypeScript 1.8.10] I don't remember getting this error in Beta releases.
type: bug/fix,workaround1: obvious,freq1: low,area: compiler,state: confirmed,core: basic template syntax,core: binding & interpolation,P3,compiler: parser
low
Critical
162,167,846
rust
Improve documentation search fuzziness
I'd love to see better searching. [~Besides the lack of search for the book itself,~](https://github.com/rust-lang/rust/issues/22786) Search filters out some characters without telling you; e.g. [`C++`](https://doc.rust-lang.org/nightly/std/?search=C%2B%2B) and [`[Unstable]`](https://doc.rust-lang.org/nightly/std/?search=%5Bunstable%5D) are reasonable search terms, but the first gives false positives by using `C` and the second isn't indexed? Related: the [search box](http://doc.rust-lang.org/nightly/std/) says that `?` gives more options, but it just lists everything like a wildcard.
T-rustdoc,C-feature-request,A-rustdoc-search
low
Major
162,211,339
rust
Package gdb with Rust
gdb has first-class support for Rust now, and two active maintainers (@tromey @Manishearth). Let's package it with Rust. This will have lots of advantages: - All major platforms will get the same debugging experience - Debuging will be more reliable because users have the exact debugger we've actually tested with our toolchain - By controlling the producer and consumer of our DWARF we can evolve it quickly, move to Rust-specific DWARF Steps: - Set up a fork in rust-lang-nursery - Modify it to produce a gdb with a Rust-specific name - Set up CI and packaging for gdb - Modify rust-buildbot / rust-packaging to add gdb to the manifest as an optional component - Figure out the best user experience for obtaining gdb via rustup cc @michaelwoerister @rust-lang/tools What you think?
T-infra,T-dev-tools,C-feature-request
medium
Critical
162,224,179
angular
event.stopImmediatePropagation() called from listeners not working
Hello, I have an issue with `event.stopImmediatePropagation()` I have a component as below ``` @Component({ selector: 'my-component', template: '<button><ng-content></ng-content></button>' }) export class MyComponent { @HostListener('click', ['$event']) onClick(event: Event){ console.log('stopImmediatePropagation'); event.stopImmediatePropagation(); } } ``` And I use it like that ``` <my-component (click)="clicked()">Hello Angular 2</my-component> ``` As you see, I have bound 2 handlers `onClick` & `clicked` to same `click` event I expect that after `onClick` handler execute, it should stop other ones. But in fact, 2 these handlers always execute, `event.stopImmediatePropagation()` doesn't work for me Beside that, seemly, `clicked` handler always execute first. It mean that I have no chance to stop propagation by using `HostListener` as I do above Should event handlers have priority for execution ? or have any idea for this case ?
type: bug/fix,freq1: low,area: core,core: event listeners,P5
medium
Critical
162,268,707
youtube-dl
errored out with list of local files
## 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.06.25_. 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.06.25** ### 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 <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.06.25 [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> ``` [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-F', 'http://www.nationallibertyalliance.org/common-law', '-v'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2016.06.25 [debug] Python version 3.4.4 - Windows-7-6.1.7600-SP0 [debug] exe versions: none [debug] Proxy map: {} [generic] common-law: Requesting header WARNING: Falling back on generic information extractor. [generic] common-law: Downloading webpage Traceback (most recent call last): File "**main**.py", line 19, in <module> File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl__init__.py", line 420, in main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl__init__.py", line 410, in _real_main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl\YoutubeDL.py", line 1740, in download File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl\YoutubeDL.py", line 676, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl\extractor\common.py", line 343, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl\extractor\generic.py", line 1412, in _real_extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl\extractor\common.py", line 390, in _request_webpage File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl\YoutubeDL.py", line 1950, in urlopen File "C:\Python\Python34\lib\urllib\request.py", line 470, in open File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpdy42tioh\build\youtube_dl\utils.py", line 842, in http_response File "C:\Python\Python34\lib\gzip.py", line 360, in read File "C:\Python\Python34\lib\gzip.py", line 449, in _read File "C:\Python\Python34\lib\gzip.py", line 482, in _read_eof File "C:\Python\Python34\lib\gzip.py", line 286, in _read_exact ## EOFError: Compressed file ended before the end-of-stream marker was reached ### 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_ required an account credentials please provide them or explain how one can obtain them. Wanted to see what files could be recognized from the provided URL knowing it would use the [generic] extractor, hoped I could pull the mp3s. Did not expect it to error out with a list of local files. After running the command, noted neither C:/User/dst nor C:\Python does not exist. FYI. Have C++ 2010 redistributable installed.
cant-reproduce
low
Critical
162,291,377
rust
Linker error for cdylib with panic=abort (Undefined symbol "_rust_eh_personality_catch")
If I attempt to compile a crate as a cdylib with panic=abort, I get the following error: ``` error: linking with `cc` failed: exit code: 1 note: Undefined symbols for architecture x86_64: "_rust_eh_personality_catch", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` I'm using `rustc 1.11.0-nightly (ad7fe6521 2016-06-23)` on OSX 10.11.5. I can repro by compiling an empty lib.rs with `rustc lib.rs --crate-type cdylib -C panic=abort` or with a Cargo.toml like the following: ``` toml [package] name = "foo" version = "0.0.0" [lib] crate-type = ["cdylib"] [profile.release] panic = "abort" ```
A-linkage,C-bug
low
Critical
162,324,959
neovim
Add register for the replace pattern ( ~ in sub-replace-special)
I'd like a way to access the replace pattern from the last :substitute command. At the moment there is no clean way (or at least I can't find one) to access the replace pattern in vimL. This means that if you want to run a :substitute command in vimL, you can't preserve the behaviour of shortcuts like `&`, `g&`, `:&`, `:~`, and `:s` . It is possible -- but via an ugly hack of using `s/^/~/` to find out what the original pattern is, and then `exe 's/^/'oldpattern'/'` to set it back after having done work. I would like a register to access this state, and some way to just avoid modifying the value. The modification could be via adding a `:keepreplace` command, or modifying `:keeppatterns` to maintain the replace pattern as well as the search pattern (as suggested by BjrnLinseGitter[ on IRC) whether via a bang option or by default. A related/alternate suggestion: I'd like there to be a general "save user state" command that takes a blacklist of the things a function/command wants to modify rather than having to remember to keep the state of many separate things (cursor position, window view, buffer, marks, registers, patterns, and probably many other things I've missed) most of which change implicitly with many actions. I think this would make plugin-writing a much less surprise-prone task.
enhancement
low
Minor
162,327,839
angular
feat(forms) support creating arrays with the template-driven-forms approach (NgModelArray?)
**I'm submitting a ...** (check one with "x") ``` [ ] bug report [x ] 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** Currently we are able to do: ``` html <div ngModelGroup="assignee"> <div class="form-group"> <label>Name</label> <input type="text" class="form-control" name="name" ngModel/> </div> <div class="form-group"> <label>E-Mail</label> <input type="text" class="form-control" name="email" ngModel/> </div> </div> ``` `form.value` would then have an object "assignee" with the fields "name" and "email". Currently there seems to be no way to create Arrays with a pure template-driven approach unless using two-way databinding. **Expected/desired behavior** What I would assume would be something like: ``` html <div ngModelArray="tags"> <div *ngFor="let tag of form.value.tags; let i = index"> <div ngModelGroup="i"> <input class="form-control" name="label" ngModel minlength="3"> </div> </div> </div> ``` To create the structure ``` { tags: [{label: "important"}, {label: "difficult"}]} ``` **What is the motivation / use case for changing the behavior?** Being able to use the template-driven forms approach to create arrays without two-way databinding **Please tell us about your environment:** - **Angular version:** 2.0.0-rc.3 - **Browser:** [chrome] - **Language:** [TypeScript]
feature,workaround1: obvious,freq2: medium,area: forms,feature: under consideration
high
Critical
162,329,277
youtube-dl
[hlsnative] FFmpegFixupM3u8PP should be called before merging
- [x] Bug report (encountered problems with youtube-dl) - [x] Feature request (request for a new functionality) --- For audio-only and video-only media streams downloaded with `--hls-prefer-native` `FFmpegFixupM3u8PP` should be called before merging. Otherwise (currently) it results in a conversion error. --- youtube-dl log (in order to reproduce `entry_protocol` for m3u8 formats in msn extractor should be changed to `m3u8_native`): ``` [debug] System config: [] [debug] User config: ['-o', '%(title)s-%(id)s-f%(format_id)s.%(ext)s'] [debug] Command-line args: ['http://www.msn.com/en-ae/foodanddrink/joinourtable/criminal-minds-shemar-moore-shares-a-touching-goodbye-message/vp-BBqQYNE', '-v'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2016.06.25 [debug] Git HEAD: efa26c5 [debug] Python version 3.5.1 - Windows-10-10.0.10240-SP0 [debug] exe versions: ffmpeg 3.0, ffprobe 3.0, rtmpdump 2.4 [debug] Proxy map: {} [MSN] criminal-minds-shemar-moore-shares-a-touching-goodbye-message: Downloading webpage [MSN] criminal-minds-shemar-moore-shares-a-touching-goodbye-message: Downloading m3u8 information [debug] Invoking downloader on 'http://wus.streaming.video.msn.com/806b30dc-9570-485a-b278-4b8111d4982b/a9a2473c-ff61-45d6-90b8-cac019422d6c.ism/QualityLevels(3457334)/Manifest(video,format=m3u8-aapl)' [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 11 [download] Destination: Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-3647.fhls-3647.mp4 [download] 100% of 44.29MiB in 00:12 [debug] Invoking downloader on 'http://wus.streaming.video.msn.com/806b30dc-9570-485a-b278-4b8111d4982b/a9a2473c-ff61-45d6-90b8-cac019422d6c.ism/QualityLevels(96072)/Manifest(aac_UND_2_96,format=m3u8-aapl)' [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 11 [download] Destination: Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-106.fhls-106.mp4 [download] 100% of 1.29MiB in 00:00 ['Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-3647.fhls-3647.mp4', 'Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-106.fhls-106.mp4'] [ffmpeg] Merging formats into "Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-3647+hls-106.mp4" [debug] ffmpeg command line: ffmpeg -y -i 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-3647.fhls-3647.mp4' -i 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-106.fhls-106.mp4' -c copy -map 0:v:0 -map 1:a:0 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-3647+hls-106.temp.mp4' ERROR: Conversion failed! Traceback (most recent call last): File "C:\dev\youtube-dl\master\youtube_dl\YoutubeDL.py", line 1786, in post_process files_to_delete, info = pp.run(info) File "C:\dev\youtube-dl\master\youtube_dl\postprocessor\ffmpeg.py", line 446, in run self.run_ffmpeg_multiple_files(info['__files_to_merge'], temp_filename, args) File "C:\dev\youtube-dl\master\youtube_dl\postprocessor\ffmpeg.py", line 168, in run_ffmpeg_multiple_files raise FFmpegPostProcessorError(msg) youtube_dl.postprocessor.ffmpeg.FFmpegPostProcessorError: Conversion failed! ``` ffmpeg log: ``` PS C:\dev\youtube-dl\master> ffmpeg -y -i 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE- fhls-3647.fhls-3647.mp4' -i 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-106.fhls- 106.mp4' -c copy -map 0:v:0 -map 1:a:0 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhl s-3647+hls-106.temp.mp4' ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca -- enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libm p3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-lib x265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 17.103 / 55. 17.103 libavcodec 57. 24.102 / 57. 24.102 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, mpegts, from 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-3647.fhls-3647 .mp4': Duration: 00:01:44.20, start: 0.066733, bitrate: 3565 kb/s Program 1 Stream #0:0[0x12c]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29 .97 tbr, 90k tbn, 59.94 tbc Input #1, mpegts, from 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-106.fhls-106.m p4': Duration: 00:01:44.21, start: 0.000000, bitrate: 103 kb/s Program 1 Stream #1:0[0x12d]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 101 kb/s Output #0, mp4, to 'file:Criminal Minds - Shemar Moore Shares A Touching Goodbye Message-BBqQYNE-fhls-3647+hls-106.temp. mp4': Metadata: encoder : Lavf57.25.100 Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tb r, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 101 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #1:0 -> #0:1 (copy) Press [q] to stop, [?] for help [mp4 @ 00000066986bd380] Malformed AAC bitstream detected: use the audio bitstream filter 'aac_adtstoasc' to fix it ('-b sf:a aac_adtstoasc' option with ffmpeg) av_interleaved_write_frame(): Operation not permitted frame= 4 fps=0.0 q=-1.0 Lsize= 46kB time=00:00:00.03 bitrate=11352.9kbits/s speed=33.3x video:45kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.269963% Conversion failed! ```
bug
low
Critical
162,332,121
rust
Bootstrap fails due to system LLVM libffi link error
Trying to bootstrap rust on `aarch64` Linux using `--llvm-root` fails: ``` shell error: linking with `cc` failed: exit code: 1 note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/bin/rustc.0.o" "-o" "aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/bin/rustc" "-Wl,--gc-sections" "-pie" "-Wl,-O1" "-nodefaultlibs" "-L" "/usr/lib/llvm-3.8/lib" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,-Bdynamic" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_driver-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_passes-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_borrowck-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_lint-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_resolve-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_typeck-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_plugin-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_privacy-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_trans-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_platform_intrinsics-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_incremental-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "syntax_ext-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_mir-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_const_eval-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_metadata-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_save_analysis-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_const_math-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "getopts-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "flate-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_back-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rbml-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_data_structures-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "syntax-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "serialize-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "log-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "term-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "fmt_macros-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "arena-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "rustc_llvm-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "graphviz-fe3cdf61" "-L" "../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-l" "std-fe3cdf61" "-l" "rt" "-l" "dl" "-l" "tinfo" "-l" "pthread" "-l" "z" "-l" "m" "-l" "stdc++" "-l" "dl" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "util" "-Wl,-rpath,$ORIGIN/../lib" "-Wl,-rpath,/usr/local/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-Wl,--enable-new-dtags" "-s" "-l" "compiler-rt" note: ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_type_float' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_type_sint64' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_type_pointer' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_type_sint32' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_type_void' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_type_sint8' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_call' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_type_sint16' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_type_double' ../aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_llvm-fe3cdf61.so: undefined reference to `ffi_prep_cif' collect2: error: ld returned 1 exit status error: aborting due to previous error ../mk/target.mk:220: recipe for target 'aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/bin/rustc' failed make: *** [aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/bin/rustc] Error 101 ``` For some reason the correct llvm configuration is not being detected and `-lffi` has to be passed manually for the bootstrap to succeed.
A-linkage,A-LLVM,T-bootstrap,C-bug,S-waiting-on-LLVM
medium
Critical
162,339,913
go
cmd/compile: go1.7beta2 performance regression (floats and arrays)
Please answer these questions before submitting your issue. Thanks! 1. What version of Go are you using (`go version`)? ``` go version go1.6.2 linux/amd64 go version go1.7beta2 linux/amd64 ``` 1. What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/taru/go" GORACE="" GOROOT="/usr/lib/go-1.6" GOTOOLDIR="/usr/lib/go-1.6/pkg/tool/linux_amd64" GO15VENDOREXPERIMENT="1" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1" ``` ``` GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/taru/go" GORACE="" GOROOT="/tmp/go" GOTOOLDIR="/tmp/go/pkg/tool/linux_amd64" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build453968611=/tmp/go-build -gno-record-gcc-switches" CXX="g++" CGO_ENABLED="1" ``` 1. What did you do? Try some float32 heavy code with arrays on 1.7beta2, saw a problem and reduced it to a self contained example: go get [github.com/taruti/float_degradation](https://github.com/taruti/float_degradation) cd ... go test -test.bench=. Or fancier while date; do go test -test.bench=. >> /tmp/old.txt; GOROOT=/tmp/go /tmp/go/bin/go test -test.bench=. >> /tmp/new.txt; done 1. What did you expect to see? 1.7beta2 producing as good or better code than 1.6 1. What did you see instead? ``` benchcmp /tmp/old.txt /tmp/new.txt benchmark old ns/op new ns/op delta BenchmarkOptimize16-2 33310269 41841404 +25.61% BenchmarkOptimize16-2 33337835 41889202 +25.65% BenchmarkOptimize16-2 33341432 42080975 +26.21% BenchmarkOptimize16-2 33280481 41913719 +25.94% BenchmarkOptimize16-2 33236073 41971975 +26.28% BenchmarkOptimize16-2 33274075 41866159 +25.82% ```
Performance,NeedsInvestigation,compiler/runtime
low
Critical
162,344,784
neovim
API: stream interface
I recently came up with the idea which may speed up API functions: in place of obtaining and returning some intermediate type like Object make them all work with some kind of streams. Specifically all API function signatures should look like ``` C void func(APIOutStream out, APIInStream in); ``` where ``` C typedef struct { bool (*push_dictionary_start)(void *cookie, size_t len); // โ€ฆ // basically the current msgpack API: first push container start with length, then values // values are pushed by one call, except for strings: sometimes it is more convenient to // push them in parts to avoid unnecessary allocations. bool (*push_string_start)(void *cookie, size_t len); bool (*push_string_part)(void *cookie, size_t len, char *data); bool (*push_string)(void *cookie, size_t len, char *data); bool (*error_out)(void *cookie, Error err); bool (*errorred)(void *cookie); void *cookie; } APIOutStream; typedef struct { ObjectType (*next_object_type)(void *cookie, Error *err); bool (*pull_dictionary_start)(void *cookie, size_t *ret_len, Error *err); // โ€ฆ bool (*pull_string)(void *cookie, size_t *ret_len, const char **ret_string, Error *err); void *cookie; } APIInStream; ``` APIOutStream structure is supposed to be used to 1. Write msgpack values directly to the channel (which is OK as long as it is uses RBuffer). 2. Directly construct VimL values (#4934). 3. Directly construct lua values (#4411). APIInStream is based on the same technique I previously discussed somewhere (AFAIR, gitter) with @tarruda: in place of pulling in the whole msgpack value, allocating a bunch of memory in process, pull this as needed, filling values placed on stack (and, e.g. `pull_string` may say that โ€œreturned string is usable as long as next stream function is not calledโ€; to avoid alloctations though it may make sense to also pull string by parts, but unlike out stream this is going to be convenient almost never). So e.g. API function โ€œidโ€ (takes one argument and returns it) will look like (assuming recursion is OK) ``` C #define WRITE(out, func, ...) \ do { \ APIOutStream out_ = (out); \ if (!(out_.func(out_.cookie, __VA_ARGS__))) { \ return; \ } \ } while (0) #define READ(out, in, func, err, ...) \ do { \ APIInStream in_ = (in); \ APIOutStream out_ = (out); \ if (!(in_.func(in_.cookie, __VA_ARGS__, &err))) { \ out_.error_out(out_.cookie, err); \ return; \ } \ } while (0) void api_id(APIOutStream out, APIInStream in) API(Object, (Object)) { Error err; switch (in.next_object_type(in.cookie, &err)) { case kObjectTypeMissing: { out.error_out(out.cookie, err); return; } case kObjectTypeNil: { if (!in.pull_nil(in.cookie, &err)) { assert(false); } if (!out.push_nil(out.cookie)) { return; } break; } case kObjectTypeString: { size_t len; const char *string; READ(out, in, pull_string, err, &len, &string)); WRITE(out, push_string, len, sring); break; } // โ€ฆ case kObjectTypeDictionary: { size_t len; READ(out, in, pull_dictionary_start, err, &len)); WRITE(out, push_dictionary_start, len); for (size_t i = 0; i < len * 2; i++) { // len * 2: key + value api_id(out, in); if (out.errorred(out.cookie)) { return; } } break; } } } ``` (This example was created in order to demonstrate how API is used, most real API functions will not have that much code size bump, especially given that there will be helpers for typical operations like โ€œget VimL value out of in streamโ€.)
enhancement,performance,api,refactor,needs:design,channels-rpc,complexity:high
low
Critical
162,364,178
nvm
NVM doesn't create a ~/.bash_profile file if it doesn't exist
# Issue I just installed NVM on a brand new environment. This environment didn't have a `~/.bash_profile` file. It seems that the NVM install script wouldn't write anything into `~/.bash_profile` until I manually create the file. # Environment - Mac OS 10.11.5 - Bash 3.2.57
OS: Mac OS,installing nvm: profile detection
low
Minor
162,395,401
kubernetes
manual conversion should call autogenerated ones first
Manually-written conversions should be special-cases ONLY. They should all call the autoConvert... form first. For example: Convert_batch_JobSpec_To_v1_JobSpec We have a LOT of manual conversion code, and anything that doesn't call autoConvert first is suspect.
sig/storage,sig/api-machinery,lifecycle/frozen
low
Major
162,400,626
go
cmd/compile: new backend; multiple efficiency issues...
Please answer these questions before submitting your issue. Thanks! 1. **Version:** go version go1.7beta2 windows/amd64 2. **Environment:** set GOARCH=amd64 set GOBIN= set GOEXE=.exe set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH=F:\Go\ set GORACE= set GOROOT=F:\Go set GOTOOLDIR=F:\Go\pkg\tool\windows_amd64 set CC=gcc set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Super\AppData\Local\Temp\go-build631535858=/tmp/go-build -gno-record-gcc-switches set CXX=g++ set CGO_ENABLED=1 However, these issues are likely also related to other operating systems and architectures, as in at least x386. 3. **Runnable Program:** [**Go Playground link:**](https://play.golang.org/p/lTaHmi9hiR) ``` go // SoE project main.go package main import ( "fmt" "math" ) func primesOdds(top uint32) func() uint32 { topndx := int((top - 3) / 2) topsqrtndx := (int(math.Sqrt(float64(top))) - 3) / 2 cmpsts := make([]uint32, (topndx/32)+1) for i := 0; i <= topsqrtndx; i++ { if cmpsts[i>>5]&(1<<(uint32(i)&0x1F)) == 0 { p := i + i + 3 for j := (p*p - 3) >> 1; j <= topndx; j += p { cmpsts[j>>5] |= uint32(1) << (uint32(j) & 0x1F) } } } i := -1 return func() uint32 { oi := i if i <= topndx { i++ } for i <= topndx && cmpsts[i>>5]&(uint32(1)<<(uint32(i)&0x1F)) != 0 { i++ } if oi < 0 { return 2 } else { return (uint32(oi) << 1) + 3 } } } func main() { iter := primesOdds(1000000) count := 0 for v := iter(); v <= 1000000; v = iter() { count++ } fmt.Printf("%v\r\n", count) } ``` 4. **What I saw:** The issue is the assembly code as viewed when "go tool compile -S > main.asm" is run, with a portion of that file as follows: ``` 0x00e9 00233 (main.go:15) LEAQ (CX)(CX*1), R8 ;; **ISSUE 1** - change 0x00ed 00237 (main.go:15) LEAQ 3(CX)(CX*1), R9 ;; prime 'p' calculation; good 0x00f2 00242 (main.go:16) IMULQ R9, R9 ;; 'sqr' calculation - good 0x00f6 00246 (main.go:16) ADDQ $-3, R9 ;; 'sqr' - 3 is good 0x00fa 00250 (main.go:16) SARQ $1, R9 ;; including shortcut divide by 2 - good 0x00fd 00253 (main.go:16) CMPQ R9, SI ;; advance range compare 0x0100 00256 (main.go:16) JGT $0, 319 ;; check - good 0x0102 00258 (main.go:17) MOVQ R9, R11 ;; **ISSUE 2** - change 0x0105 00261 (main.go:17) SARQ $5, R9 ;; calculate word address - good 0x0109 00265 (main.go:17) CMPQ R9, DX ;; *** only here if array bounds check 0x010c 00268 (main.go:17) JCC PANIC ;; *** only here if array bounds check 0x0112 00274 (main.go:17) MOVL (AX)(R9*4), R12 ;; **ISSUE 3** - not this way 0x0116 00278 (main.go:17) MOVQ R11, R13 ;; **ISSUE 4** - not this way 0x0119 00281 (main.go:17) ANDQ $31, R11 ;; **ISSUE 5** - unnecessary 0x011d 00285 (main.go:17) MOVQ R11, CX ;; part of **ISSUE 2** - change 0x0120 00288 (main.go:17) MOVL R10, R14 ;; **ISSUE 6** - unnecessary 0x0123 00291 (main.go:17) SHLL CX, R10 ;; 1 << ('j'&0x1F) - good 0x0126 00294 (main.go:17) ORL R10, R12 ;; part of **ISSUE 3** 0x0129 00297 (main.go:17) MOVL R12, (AX)(R9*4) ;; part of **ISSUE 3** 0x012d 00301 (main.go:16) LEAQ 3(R8)(R13*1), R9 ;; part of **ISSUE 1** 0x0132 00306 (main.go:13) MOVQ "".i+64(SP), CX ;; **ISSUE 7**; unnecessary 0x0137 00311 (main.go:17) MOVL R14, R10 ;; part of **ISSUE 6** 0x013a 00314 (main.go:16) CMPQ R9, SI ;; end of loop 0x013d 00317 (main.go:16) JLE $0, 258 ;; check - good 0x013f 00319 (main.go:13) LEAQ 1(CX), R9 ;; part of **ISSUE #7** - not this way ``` 5. **Expected:** 78498 is expected and that is what is output - not the issue: The issue is the assembly code as viewed when "go tool compile -S > main.asm" is run, with a portion of that file as follows: ``` OuterLoop: LEAQ 3(CX)(CX*1), R8 ;; prime 'p' calculation; good, **left in R8 as per ISSUE 1** MOVQ R8, R9 ;; **ISSUE 1** fixed IMULQ R9, R9 ;; 'sqr' calculation - good ADDQ $-3, R9 ;; 'sqr' - 3 is good SARQ $1, R9 ;; including shortcut divide by 2 - good - left in R9 CMPQ R9, SI ;; advance range compare JGT PastInner ;; check - good InnerLoop: MOVQ R9, R11 ;; **ISSUE 2** fixed MOVQ R9,CX ;; **ISSUE 4** fixed SARQ $5, R11 ;; calculate word address - good MOVQ $1,R10 ;; **ISSUE 6** fixed CMPQ R11, DX ;; *** only here if array bounds check JCC PANIC ;; *** only here if array bounds check SHLL CX, R10 ;; 1 << ('j'&0x1F) - good ADDQ R8, R9 ;; part of **ISSUE 1** fixed ORL R10, (AX)(R11*4) ;; **ISSUE 3** fixed CMPQ R9, SI ;; end of loop JLE InnerLoop ;; check - good PastInner: MOVQ "".i+64(SP), CX ;; **ISSUE 7** fixed; 'i' may well already be in another register LEAQ 1(CX), R9 ;; now more available registers, if other register, just ADD $1 ``` **ISSUE 1:** Preserves "2 \* 'i'", that requires a full 'p' calculation inside the loop using an LEAQ instruction at 272, instead of preserving the full 'p' ('i' + 'i' + 3), that would then eliminate needing to recalculate 'p' inside the loop and would allow for a simple add instruction at line 272, which is a little faster. **ISSUE 2:** Preserves the original in a new register before clobbering the original register in order to save latency (ignoring that the CPU will likely use Out of Order Execution - OOE, anyway), where a simple reordering of instructions would do the same and not require the advanced contents be calculated/moved back to the original register at the end of the loop. This is a common pattern. **ISSUE 3:** Ignores that the "cmpsts[j>>5] |= ..." can be encoded with a single instruction "ORL R..., (BASEREG)(INDEXREG*4)" to save some complexity and time. **ISSUE 4:** the same as ISSUE 2, where a simple instruction order change can mean that no register use swap needs to be made and alleviates the need for more complex LEA use. **ISSUE 5:** When a uint32 value is shifted by uint32 bits, the compiler **correctly** eliminates a logical "and" by 0x1F (31) as the CPU limits the shift to this anyway; the issue is that if shifted by a uint, it doesn't eliminate it as it should (workaround is to use uint32 for shifts). We should check to see if a int32 shifted by 31 bits also gets eliminated as it should; in fact any masking above 31 (above 63 for 64-bit registers) is unnecessary. **ISSUE 6** is #16092, where a register is preserved instead of using a simple MOV immediate. This is pervasive further outside these bounds: as if the compiler has a - "avoid immediate MOV at all costs". **ISSUE 7:** This instruction is completely unnecessary in restoring a value to the CX register when it never gets used in the loop and gets clobbered for each loop. Correctly, the CX register should be reloaded if necessary outside the loop. This is issue #14761. The general observation is that the compiler tends to overuse LEA instructions, which instructions are very effective when necessary, but cost a little bit in speed as used instead of other simpler instructions: they are slightly slower than those simpler instructions, which doesn't seem to be taken into account. **Summary:** The golang compiler is quite a way from being optimum, and won't come close to "Cee" (C/C++) efficiency until is comes much closer than this. The changes here aren't that complex, and some simple rule changes/additions should suffice. While version 1.7 is better than 1.6, it still is nowhere near as efficient as it needs to be. Rule changes/additions as suggested above can make tight inner loops run up to twice as fast or more on some architectures and some situations, although not that much here for the amd64 as a high end CPU will re-order instructions to minimize the execution time.
Performance,NeedsFix,compiler/runtime
low
Critical
162,405,687
opencv
Semi Global Block Matching artifacts on high resolution images
### Semi Global Block Matching artifacts The semi global block matching method seems to show artifacts on high resolution images with block sizes > 23. ## How to reproduce: ``` cpp-example-stereo_match.exe t00_a1.png t00_a2.png --max-disparity=288 --blocksize=25 --algorithm=sgbm ``` ## How does it look: ## image size=2960x1923, block size=25 ![image](https://cloud.githubusercontent.com/assets/20163651/16374126/66043bf4-3c55-11e6-8205-75dd69fc7515.png) The input images were from the Middlebury data set ## left image ![t00_a1](https://cloud.githubusercontent.com/assets/20163651/16374452/d441ca90-3c56-11e6-843b-165be079d9a9.png) ## right image ![t00_a2](https://cloud.githubusercontent.com/assets/20163651/16374470/e778dfa4-3c56-11e6-9790-5daedd59c1d4.png) ### Detailed description The artifacts are vertical lines on the disparity map output (see attached PDF). [160623_OMa_high_resolution_depth_estimation.pdf](https://github.com/Itseez/opencv/files/334414/160623_OMa_high_resolution_depth_estimation.pdf) ### Current system - OpenCV version: 3.1 - Windows 7 - Visual Studio 2015 ## Build Script: ``` SET INSTALL_DIR=c:\work\lib\external SET OPENCV_INSTALL_DIR=build_vs2015 ECHO INSTALL_DIR=%INSTALL_DIR% CD %INSTALL_DIR% SET PYTHON3=C:\Python35 SET PATH=%PYTHON3%;%PATH%; echo %PATH% git clone https://github.com/Itseez/opencv.git git clone https://github.com/Itseez/opencv_contrib.git CD opencv cmake -H. -B%OPENCV_INSTALL_DIR% -G "Visual Studio 14 2015 Win64" - DOPENCV_EXTRA_MODULES_PATH="%INSTALL_DIR%\opencv_contrib\modules" -DBUILD_EXAMPLES=yes cmake --build ./%OPENCV_INSTALL_DIR% --target ALL_BUILD --config Release cmake --build ./%OPENCV_INSTALL_DIR% --target ALL_BUILD --config Debug cmake --build ./%OPENCV_INSTALL_DIR% --target INSTALL --config Release cmake --build ./%OPENCV_INSTALL_DIR% --target INSTALL --config Debug ``` ### Part of the OpenCV library you got the issue? ## \- calib3d
bug,category: calib3d
low
Critical
162,493,437
rust
Cause a debug break when a panic occurs on Windows.
In order to aid debugging it would be really useful if Rust would trigger a debug break whenever a panic occurs on Windows. Ideally using the `__debugbreak` intrinsic which is equivalent to `int 3` on x86 platforms.
O-windows,C-feature-accepted,T-libs
medium
Critical
162,524,496
youtube-dl
[bbc.co.uk] Support BBC iPlayer programme list
## 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.06.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.06.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 ### Verbose output ``` % youtube-dl --verbose http://www.bbc.co.uk/programmes/p03z0qzk [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'http://www.bbc.co.uk/programmes/p03z0qzk'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.06.27 [debug] Python version 2.7.10 - Darwin-15.5.0-x86_64-i386-64bit [debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2, rtmpdump 2.4 [debug] Proxy map: {} [bbc.co.uk] p03z0qzk: Downloading video page [bbc.co.uk] p03z0qzk: Downloading playlist JSON [bbc.co.uk] p03z0qzk: Downloading legacy playlist XML ERROR: Unable to download XML: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 390, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1950, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open response = meth(req, response) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response 'http', request, response, code, msg, hdrs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error return self._call_chain(*args) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) ``` --- ### Description youtube_dl is not able to download certain programme playlists; it should be sufficient to extract all programme episode URLs from the webpage and then download those.
request
low
Critical
162,532,110
flutter
Navigator can still get spurious writes during navigation
Once you navigate away from a route, that route shouldn't be able to trigger more navigators because most apps aren't expecting that to be possible. We have a number of bugs with our current implementation: - [ ] If two gestures are fighting it out in the arena, the navigator will cancel the pointers that are interacting with the the navigator, but that could cause another one to win-by-default, which could call an event handler and trigger another navigation. - [ ] Similar to the above, but the two gestures might be a tap and a double-tap where the tap is complete but the double tap hasn't reached its timeout yet. When we cancel the double-tap, the tap might win-by-default and navigate the navigator. - [ ] Suppose you have two navigators side-by-side and a gesture recognizer above them that is attempting to detect a three-finger gesture. Now when one of the child navigators navigates, we'll cancel the active pointers, which could spuriously break the three-finger gesture (because we cancel the pointer globally and not just in the old route's subtree).
framework,f: routes,a: quality,P2,team-framework,triaged-framework
low
Critical
162,534,542
flutter
Enable navigator test that involves pointer cancellation
In navigator_test.dart, there's a test that is commented out because it relies on part of the event dispatching mechanism that is mocked out in testing. We should use the real mechanism even during testing and enable that test.
a: tests,framework,f: routes,c: proposal,P2,team-framework,triaged-framework
low
Minor
162,541,193
go
encoding/xml: no way to output cdata field into a nested node
> What version of Go are you using (`go version`)? `go version go1.6.2 darwin/amd64` > What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/akrylysov/go" GORACE="" GOROOT="/usr/local/Cellar/go/1.6.2/libexec" GOTOOLDIR="/usr/local/Cellar/go/1.6.2/libexec/pkg/tool/darwin_amd64" GO15VENDOREXPERIMENT="1" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common" CXX="clang++" CGO_ENABLED="1" ``` > What did you do? ``` type Test struct { Name string `xml:"Person>Name,cdata"` } ``` https://play.golang.org/p/aVay4sw8xA > What did you expect to see? ``` <Test><Person><Name><![CDATA[foo]]</Name></Person></Test> ``` > What did you see instead? ``` error: xml: invalid tag in field Name of type main.Test: "Person>Name,cdata" ``` I'm working on a web service which supports JSON and XML as output formats: ``` type Response struct { XMLName xml.Name `json:"-" xml:"response"` Foo string `json:"foo" xml:"foo"` Bar string `json:"bar" xml:"bar"` } ``` It worked perfectly, but recently we got a new requirement from our external partner to wrap all XML values into CDATA. So instead of: ``` <response><foo>foo1</foo><bar>bar2</bar></response> ``` I need this: ``` <response><foo><![CDATA[foo1]]</foo><bar><![CDATA[bar2]]</bar></response> ``` Currently Go doesn't provide a way to do that without introducing a new nested structure like: ``` type CdataString struct { Value string `xml:",cdata"` } type Response struct { XMLName xml.Name `json:"-" xml:"response"` Foo CdataString `json:"foo" xml:"foo"` Bar CdataString `json:"bar" xml:"bar"` } ``` which breaks JSON serialization.
NeedsInvestigation
low
Critical
162,546,313
go
doc: add internals FAQ?
@bcantrill asked of Go recently: > I've never gotten a straight answer as to why Go makes system calls directly instead of doing what every other program on the planet does and calling into the system libraries. Certainly, it made the ports to non-Linux systems absolutely brutal: systems are required to make themselves look like Linux for Go to function correctly. So yes, this is unenlightened -- or perhaps it's a conscious attempt to make Go unportable? And another thread recently happened on the mailing list about the `g`, `m`, and `p` internal runtime structures. I'm starting to think we should have a documentation page for internals FAQs. The closest we have now is a link from https://golang.org/doc/ to [Go Slices: usage and internals](https://blog.golang.org/go-slices-usage-and-internals) But there's more content not as well linked: - http://research.swtch.com/interfaces - http://research.swtch.com/gorace - http://research.swtch.com/randhash - http://blog.altoros.com/golang-part-1-main-concepts-and-project-structure.html (6 parts) There's some good stuff in https://golang.org/wiki/DesignDocuments too, but that's also not well linked.
Documentation,NeedsFix
low
Major
162,565,468
vscode
Cannot select text from deleted lines diff view
- VSCode Version: 1.3.0-insider - OS Version: OS X 10.11 Steps to Reproduce: 1. Open a file with changes in inline diff mode 2. Try to select the red (deleted) lines (You can't) You can select them normally in the side-by-side. Being able to do so is useful to restore/revert small pieces of code manually by copying and pasting.
feature-request,diff-editor,papercut :drop_of_blood:
high
Critical
162,590,576
kubernetes
Allow Kubelet Node Status to be updated on demand
The kubelet volume manager depends on the `VolumesInUse` field of the node status being updated before it can proceed with attaching a volume. Since node updates happen periodically on kubelet it can take as much as 10 seconds before the field is updated. Consider a force sync for the node status update code, something like: ``` GO select { case <- forceSync case <-time.After(10*time.Second) } tryUpdateNodestatus() ``` Where the `forceSync` channel can be passed to the volume manager to allow it to force updates faster than 10 seconds when needed.
priority/backlog,sig/storage,sig/node,lifecycle/rotten,needs-triage
medium
Major
162,598,411
react
onMouseEnter propagation in double reactroot
I think it is bug Now onMouseEnter event handler calls in child element when there are several reactroots. To reproduce - run fiddle and move mouse from white square to red and back. In console you can see log when you do it. Link - https://jsfiddle.net/47sn3j5c/ . It works wrong. Expected behavior: handler has to call just when mouse enter to red square. See here simiar example but with one reactroot - https://jsfiddle.net/bs3rc2wp/1/ . It works right. React 15.1.0
Type: Bug,Component: DOM
medium
Critical
162,689,077
angular
Feature Request: Allow binding expression in style(), keyframes() etc...
**I'm submitting a ...** (check one with "x") feature request **Current behavior** Animation instructions doesn't accept bindings expression. **Expected/desired behavior** Animation metadata should allow instructions from the component instance. Example: ``` ts @Component({ selector: 'my-app', animations: [ trigger('fade', [ transition('void => in', [ animate('150ms linear', keyframes([ style('MY_STYLE'), style({opacity: '*'}) ])) ]) ]) ], encapsulation: ViewEncapsulation.None, template: `<div @fade="fadeState"></div>`}) export class FadeInBackdrop { private fadeState: 'in' | 'out' = 'in'; MY_STYLE = { opacity: 0 } } ``` **What is the motivation / use case for changing the behavior?** This will allow dynamic animation based on user input. Sine animation instructions are static the only way to change them in runtime is A) Using auto style, letting the user set \* from css B) Define multiple states (not really dynamic) This is really useful in 3rd part libraries where some sort of animation customization is needed. Since the generated animation factory runs on every change it can get a hold of the instance and easily get the value. The syntax for referencing a bind needs definition as style might be a string.
feature,area: animations,freq1: low,feature: under consideration
high
Critical
162,714,062
rust
Add intrinsic to force-monomorphize; or some other solution for Index
For gdb to be able to index things like hashmaps, we need to ensure that the index implementation is monomorphized correctly. I would like to have an intrinsic, which when found in a monomorphized function, will force monomorphization of the provided argument. For example, in `Vec::new()`, we can include `force_monomorphization(<Vec<T> as Index>::index)`. Alternatively, we could specially mark methods (index and deref? all of `std::ops`? has to be parametric over `self` but not parametric over other non-`Self` args.) that are always monomorphized if the corresponding concrete self type already exists. Perhaps only in debug mode. This may bloat binary size, but eh, debug mode. cc @rust-lang/compiler @tromey
T-lang,T-compiler,T-dev-tools,C-feature-request,A-intrinsics
low
Critical
162,730,896
kubernetes
kubectl logs should allow to discriminate between pod's stderr and stdout
In the current state, invocation of `kubectl logs pods/my-pod` provides mixed stderr and stdout from the pod. For certain applications, it is important to be able to separate stderr from stdout. I haven't found any way of separating stderr from stdout through `kubectl logs...`.
area/api,area/kubelet-api,area/kubectl,area/logging,sig/node,kind/feature,needs-triage
high
Critical
162,821,390
three.js
Energy conservation for BlinnPhong Material
##### Description of the problem Right now the specular reflection of a blinnphong does not diminish the light getting to the underlying diffuse color. Technically the specular reflection of the blinnphong material, if it full, should act like a metal, it should be fully reflectively and then there should be no light getting to the underlying diffuse layer. There are three standard methods of doing energy conservation: Monochromatic, RGB and none. Right now we have implemented the None case. ##### Three.js version - [x] Dev - [x] r78 - [ ] ... ##### Browser - [x] All of them - [ ] Chrome - [ ] Firefox - [ ] Internet Explorer ##### OS - [x] All of them - [ ] Windows - [ ] Linux - [ ] Android - [ ] IOS ##### Hardware Requirements (graphics card, VR Device, ...)
Enhancement
low
Minor
162,965,572
go
encoding/json: do all reflect work before decoding
@crawshaw commented in [CL 24472](https://go-review.googlesource.com/#/c/24472/): > With more time and care, I believe more of the JSON decoder's work could be shifted so it is done before decoding, and independent of the number of bytes processed. Maybe someone could explore that for Go 1.8. This issue is a reminder, because CLs get forgotten.
Performance,NeedsFix
low
Major
162,978,129
youtube-dl
Recognize combining accents in sanitize_filename()
## 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.06.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.06.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 <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.06.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_ required an account credentials please provide them or explain how one can obtain them. --- Hi, There are extra underscores in the filename in restrict mode when there should not be : ``` $ youtube-dl --version 2016.06.27 $ youtube-dl -f 18 --get-filename --restrict-filename hYDQZleciXE Joseph_Prince_-_La_Gra_ce_est_Supe_rieure_a_La_Loi_-_FR__18__hYDQZleciXE.mp4 ``` The command line `youtube-dl -f 18 --get-filename --restrict-filename hYDQZleciXE` should return: `Joseph_Prince_-_La_Grace_est_Superieure_a_La_Loi_-_FR__18__hYDQZleciXE.mp4` Can you have a look ?
request
low
Critical
163,098,359
kubernetes
Support Posix Shared Memory across containers in a pod
Docker implemented modifiable shmsize (see [1](https://github.com/docker/docker/pull/16168)) in version 1.9. It should be possible to define the shmsize of a pod on the API and Kubernetes shall pass this information to Docker.
sig/node,kind/feature,lifecycle/frozen,needs-triage
high
Critical
163,157,527
godot
Editor shows old script when using ResourceSaver in tool mode.
After using "ResourceSaver" with tool mode, the editor is not reloading my edited script. Example project: [BUG.zip](https://github.com/godotengine/godot/files/341406/BUG.zip) Open the project with godot. Go to the project folder with your filesystem open ground.gd and remove the last line "export var id=-1" 1. Open the main.scn and the tileset.tscn in godot 2. See that the child "Ground" in the tileset.tscn has a script where "export var id=-1" is missing. 3. Go to main.scn and click on the exported "Update" property to trigger the ground.gd update. 4. Go to your filesystem and see that "export var id=-1" was added to ground.gd. 5. Go to the "ground.gd" in the editor and see that nothing has changed. 6. Repopen the tileset.tscn has no effect. 7. Restart the project shows now the updated "ground.gd" 8. It is also possible to see the update without Reopen or Restart when you edit the project folder with your filesystem(delete or add a file).
bug,topic:editor,confirmed
low
Critical
163,170,373
TypeScript
String literal type inconsistency in overload resolution
As far as I see, the TS compiler still sees a string literal type of a single literal as an old style "string parameter" thing. I thought that the concept of string literal types should replace overloading on string parameters, but seems that it doesn't. That complicates things, and results in a "strange" behaviour in overload resolution: ``` ts class A256 { m(a): any; m(a: "a" | "b"): string; m(a: "c"): string; m(a): any {} } var foo1 = new A256().m("a"); // 'any' var foo2 = new A256().m("c"); // 'string' ``` What should be the correct logic with string literal types in overload resolution? Shouldn't overloads with unions of literals precede the others as well, when resolving overloads?
Suggestion,In Discussion
low
Minor
163,176,940
TypeScript
No indentation gets inserted after comment on enter key press
**TypeScript Version:** The master branch as of 7b77f6b3fd88f012a2b1f93cd49505ac5cef1099 **Code** Put the cursor on '|' position and press enter. ``` ts function foo() { window.addEventListener("click", () => { |/* foo */ }) } ``` **Expected behavior:** ``` ts function foo() { window.addEventListener("click", () => { /* foo */ }) } ``` **Actual behavior:** ``` ts function foo() { window.addEventListener("click", () => { /* foo */ }) } ```
Bug,Help Wanted,Domain: Formatter
low
Minor
163,299,877
youtube-dl
Site support request : sports.news.naver.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.07.01_. 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.07.01** ### 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) - [x] Site support request (http://sports.news.naver.com/videoCenter/index.nhn) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other example: http://sports.news.naver.com/videoCenter/index.nhn?uCategory=wfootball&category=&listType=total&date=20160701 http://sports.news.naver.com/videoCenter/index.nhn?uCategory=kvolleyball&category=&listType=season&season=53&id=117305 currently support Naver is ๋„ค์ด๋ฒ„ TV์บ์ŠคํŠธ example : http://tvcast.naver.com/v/925918
geo-restricted
low
Critical
163,303,442
opencv
Nightly builds upload artifacts - mobile only?
The [iOS nightly builds](http://pullrequest.opencv.org/buildbot/builders/master-contrib_iOS-mac/builds/337) have an `upload artifacts` step that allows direct downloading of the build. All the other builds ([windows](http://pullrequest.opencv.org/buildbot/builders/master-contrib-win64-vc12/builds/340), mac, etc.) don't zip and upload the release. Why don't all the nightly builds archive the build?
category: infrastructure,RFC
low
Major
163,311,435
youtube-dl
[CBS] Getting errors on subtitles
## 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.07.01_. 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.07.01** ### 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) - [ ] Feature request (request for a new functionality) - [ ] Question - [ x] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- I am getting errors on subtitles from CBS on Colbert Report. I suspect I'm doing something wrong. What am I doing wrong? ``` keybounceMBP:Colbert michael$ youtube-dl -v http://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/CqL6j94f0bp2b 1ItuczaM_DpwYUvnF_G/the-late-show-6-28-2016-tom-brokaw-sarah-erin-foster-bibi-bourelly-/ [debug] System config: [] [debug] User config: [u'--no-mtime', u'-o', u'%(title)s.%(ext)s', u'-f', u'best[ext=mp4][height=480]/bestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/best[ext=mp4][height>360][height<=480]/bestvideo[ext=mp4][height>360][height<=480]+bestaudio/best[height>360][height<=480]/bestvideo[height>360][height<=480]+bestaudio/best[ext=mp4][height>=280][height<=360]/best[height<=480]/worst', u'--write-sub', u'--embed-subs', u'--recode-video', u'mp4'] [debug] Command-line args: [u'-v', u'http://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/CqL6j94f0bp2b1ItuczaM_DpwYUvnF_G/the-late-show-6-28-2016-tom-brokaw-sarah-erin-foster-bibi-bourelly-/'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.07.01 [debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit [debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2, rtmpdump 2.4 [debug] Proxy map: {} [CBS] CqL6j94f0bp2b1ItuczaM_DpwYUvnF_G: Downloading JSON metadata [CBS] CqL6j94f0bp2b1ItuczaM_DpwYUvnF_G: Downloading SMIL data for RTMP [CBS] CqL6j94f0bp2b1ItuczaM_DpwYUvnF_G: Downloading SMIL data for StreamPack [CBS] CqL6j94f0bp2b1ItuczaM_DpwYUvnF_G: Downloading m3u8 information [CBS] CqL6j94f0bp2b1ItuczaM_DpwYUvnF_G: Downloading SMIL data for OnceURL [CBS] CqL6j94f0bp2b1ItuczaM_DpwYUvnF_G: Checking video URL [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: Downloading m3u8 information [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: Checking http-1200 video format URL [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: http-1200 video format URL is invalid, skipping [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: Checking http-4400 video format URL [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: http-4400 video format URL is invalid, skipping [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: Checking http-2000 video format URL [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: http-2000 video format URL is invalid, skipping [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: Checking http-764 video format URL [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: http-764 video format URL is invalid, skipping [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: Checking http-512 video format URL [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: http-512 video format URL is invalid, skipping [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: Checking http-264 video format URL [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: http-264 video format URL is invalid, skipping [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: Checking http-60 video format URL [CBS] c97625f7-04ac-4de7-9e61-2d72e549fda4: http-60 video format URL is invalid, skipping [CBS] CqL6j94f0bp2b1ItuczaM_DpwYUvnF_G: Downloading JSON metadata [info] Writing video subtitles to: The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).en.ttml [debug] Invoking downloader on u'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2016/06/27/713946179638/CBS_COLBERT_0169_CONTENT_CIAN_steamclip_857002_,1848,3596,2596,1248,848,548,298,158,000.mp4.csmil/index_3_av.m3u8?null=0&id=AgAtGeZDuFfDD1fddVds1TR1CSUNvPPgAWbtk+CeT4bLv2AHRcSNpnQVMFYVwsV%2f5Au02e0YZrrgHg%3d%3d' [download] Destination: The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).mp4 [debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome) Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Cookie: _alid_=wMNzfo6jSC8VLy1YfuocDA==; hdntl=exp=1467428567~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2016%2f06%2f27%2f713946179638%2fCBS_COLBERT_0169_CONTENT_CIAN_steamclip_857002_*~data=hdntl~hmac=bc301f9fc1f3744fed2398840d083011d1be4b15e9abaed78f41c4253f0c1f54 ' -i 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2016/06/27/713946179638/CBS_COLBERT_0169_CONTENT_CIAN_steamclip_857002_,1848,3596,2596,1248,848,548,298,158,000.mp4.csmil/index_3_av.m3u8?null=0&id=AgAtGeZDuFfDD1fddVds1TR1CSUNvPPgAWbtk+CeT4bLv2AHRcSNpnQVMFYVwsV%2f5Au02e0YZrrgHg%3d%3d' -c copy -f mp4 -bsf:a aac_adtstoasc 'file:The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).mp4.part' ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --enable-videotoolbox --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid libavutil 55. 17.103 / 55. 17.103 libavcodec 57. 24.102 / 57. 24.102 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, hls,applehttp, from 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2016/06/27/713946179638/CBS_COLBERT_0169_CONTENT_CIAN_steamclip_857002_,1848,3596,2596,1248,848,548,298,158,000.mp4.csmil/index_3_av.m3u8?null=0&id=AgAtGeZDuFfDD1fddVds1TR1CSUNvPPgAWbtk+CeT4bLv2AHRcSNpnQVMFYVwsV%2f5Au02e0YZrrgHg%3d%3d': Duration: 00:41:22.43, start: 0.100511, bitrate: 0 kb/s Program 0 Metadata: variant_bitrate : 0 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 768x432 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 5 kb/s Output #0, mp4, to 'file:The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).mp4.part': Metadata: encoder : Lavf57.25.100 Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 768x432 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 5 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame=74398 fps=233 q=-1.0 Lsize= 388963kB time=00:41:22.44 bitrate=1283.6kbits/s speed=7.77x video:356436kB audio:29077kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.895002% [ffmpeg] Downloaded 398298203 bytes [download] 100% of 379.85MiB [ffmpeg] Not converting video file The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).mp4 - already is in target format mp4 [ffmpeg] Embedding subtitles in 'The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).mp4' [debug] ffmpeg command line: ffmpeg -y -i 'file:The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).mp4' -i 'file:The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).en.ttml' -map 0 -c copy -map -0:s -c:s mov_text -map 1:0 -metadata:s:s:0 language=eng 'file:The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).temp.mp4' ERROR: file:The Late Show - 6_28_2016 (Tom Brokaw, Sara & Erin Foster, Bibi Bourelly).en.ttml: Invalid data found when processing input Traceback (most recent call last): File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1786, in post_process files_to_delete, info = pp.run(info) File "/Users/michael/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 382, in run self.run_ffmpeg_multiple_files(input_files, temp_filename, opts) File "/Users/michael/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 168, in run_ffmpeg_multiple_files raise FFmpegPostProcessorError(msg) FFmpegPostProcessorError keybounceMBP:Colbert michael$ ```
subtitles,geo-restricted
low
Critical
163,393,526
neovim
:terminal text clipped after resize
- `nvim --version`: NVIM v0.1.5-508-g47a15d0 - Vim (version: ) behaves differently? N/A - Operating system/version: Arch Linux (64-bit Linux 4.6.3-1) - Terminal name/version: rxvt-unicode v9.22 - `$TERM`: rxvt-256color ### Actual behaviour Text in Neovim terminal becomes clipped on the right side after reducing window size to a width smaller than what is displayed. ### Expected behaviour Terminal text return to its original unclipped after the window is temporarily narrowed. ### Steps to reproduce using `nvim -u NORC` 1. nvim -u NORC 2. Open a terminal using `:term` and then print some long line to the screen. Initially the entire text will be displayed: ``` $ echo "abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy" abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy ``` If the screen is then resized (e.g. 50% width), and then resized back to 100% width, the text is now clipped at the position where it was hidden when the terminal size was reduced: ``` $ echo "abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn op abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy abcdefg hijklmn opqrstuv xzy ``` (Thanks @jalvesaq for coming up with this simple example to reproduce the issue).
bug,terminal
high
Critical
163,435,952
TypeScript
allowJs option with namespaces
<!-- 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 --> I am currently trying to put the compiler option "allowJs" to use. My goal is to convert an existing JavaScript application into TypeScript step by step. The application does not use (external) modules, so I'm converting the JavaScript namespaces into real TypeScript namespaces, but I'm running into "duplicate identifier" errors as outlined below. Shouldn't it be possible to combine TypeScript and JavaScript using the same namespace? Maybe I'm doing something wrong or this is not intended, but I expected this to work. **TypeScript Version:** 1.8.10 **Code** File 1: ``` ts namespace myapp { export var c1 = 5; } ``` File 2: ``` js var myapp; (function (myapp) { myapp.c2 = 4; })(myapp || (myapp = {})); ``` tsconfig.json ``` json { "compilerOptions": { "allowJs": true, "outFile": "dist/appBundle.js" } } ``` **Expected behavior:** Bundling the compiled code of file 1 and the code of file 2 without modifications into a single JavaScript file. **Actual behavior:** The compilation is done, but the compiler throws an error: "error TS2300: Duplicate identifier 'myapp'."
Suggestion,Needs Proposal,Domain: JavaScript
low
Critical
163,445,204
thefuck
Terminal input fucked after running fuck
Scenario: using `ssh-add` to add a key for github. ``` bash $ ssh-add add ~/.ssh/github_rsa add: No such file or directory Enter passphrase for .ssh/github_rsa: ``` Oops, but we're perfect individuals who only run perfect commands, so let's fix it. ``` bash $ fuck Enter passphrase for .ssh/github_rsa: No fucks given $ ``` Strange. Let me just re-type the command myself, like an animal. ``` $ ``` My keyboard's not working! Pressing `enter` pulls up a new prompt... but on the same line. ``` $$$$$ ``` I can hit `^C`, though, so that's cool. ``` $^C $ ``` But characters I type don't appear. --- System info: ``` $ thefuck --version The Fuck 3.9 using Python 2.7.10 $ /usr/local/bin/bash --version GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin15.4.0) ``` OS X 10.11.5 Debug output: ``` $ ssh-add add .ssh/github_rsa add: No such file or directory Enter passphrase for .ssh/github_rsa: ^C $ fuck DEBUG: Run with settings: {'alter_history': True, 'debug': True, 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'}, 'exclude_rules': [], 'history_limit': None, 'no_colors': False, 'priority': {}, 'require_confirmation': True, 'rules': [<const: All rules enabled>], 'user_dir': PosixPath('/Users/mechcozmo/.config/thefuck'), 'wait_command': 3} Enter passphrase for .ssh/github_rsa: DEBUG: Execution timed out! DEBUG: Call: ssh-add add .ssh/github_rsa; with env: {'HISTTIMEFORMAT': '[%F %T] ', 'PYTHONIOENCODING': 'utf-8', 'GIT_TRACE': '1', 'HISTFILE': '/Users/mechcozmo/.bash_eternal_history', 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', 'TERM_PROGRAM_VERSION': '3.0.2', 'TMPDIR': '/var/folders/5k/9kwxxzyn7wg0zwhzc3sqzb64p96blq/T/', 'LOGNAME': 'mechcozmo', 'USER': 'mechcozmo', 'HOME': '/Users/mechcozmo', 'PATH': '/Users/mechcozmo/.rbenv/shims:/Users/mechcozmo/.pyenv/shims:/Users/mechcozmo/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin', 'HISTSIZE': '', 'TERM_PROGRAM': 'iTerm.app', 'LANG': 'C', 'THEFUCK_DEBUG': 'true', 'TERM': 'xterm-256color', 'SHELL': '/usr/local/bin/bash', 'COLORFGBG': '12;8', 'PROD_ACCOUNT_NUMBER': '201164921408', 'PYENV_SHELL': 'bash', 'VERSIONER_PYTHON_VERSION': '2.7', 'SHLVL': '1', 'TF_ALIAS': 'fuck', 'SECURITYSESSIONID': '186a8', 'XPC_FLAGS': '0x0', 'RBENV_SHELL': 'bash', 'ITERM_SESSION_ID': 'w0t4p1:F8ACDA41-3142-455A-9F67-40215A594182', 'EDITOR': 'vim', 'HISTFILESIZE': '', 'TF_SHELL_ALIASES': "alias fuck='TF_CMD=$(TF_ALIAS=fuck PYTHONIOENCODING=utf-8 TF_SHELL_ALIASES=$(alias) thefuck $(fc -ln -1)) && eval $TF_CMD && history -s $TF_CMD'", 'TERM_SESSION_ID': 'w0t4p1:F8ACDA41-3142-455A-9F67-40215A594182', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.xODNkSyexM/Listeners', 'PYTHONPATH': '/usr/local/Cellar/thefuck/3.9/libexec/lib/python2.7/site-packages:/usr/local/Cellar/thefuck/3.9/libexec/vendor/lib/python2.7/site-packages', 'XPC_SERVICE_NAME': '0', 'Apple_PubSub_Socket_Render': '/private/tmp/com.apple.launchd.9h2XVxuLr8/Render', 'ITERM_PROFILE': 'Default', 'LC_ALL': 'C', '_': '/usr/local/bin/thefuck', '__CF_USER_TEXT_ENCODING': '0x2C932E77:0x0:0x0', 'PWD': '/Users/mechcozmo', 'COMMAND_MODE': 'unix2003'}; took: 0:00:03.046685 DEBUG: Importing rule: apt_get; took: 0:00:00.001687 DEBUG: Importing rule: apt_get_search; took: 0:00:00.003771 DEBUG: Importing rule: apt_invalid_operation; took: 0:00:00.004499 DEBUG: Importing rule: brew_install; took: 0:00:00.003910 DEBUG: Importing rule: brew_unknown_command; took: 0:00:00.003622 DEBUG: Importing rule: brew_update_formula; took: 0:00:00.000809 DEBUG: Importing rule: brew_upgrade; took: 0:00:00.003854 DEBUG: Importing rule: cargo; took: 0:00:00.003126 DEBUG: Importing rule: cargo_no_command; took: 0:00:00.001007 DEBUG: Importing rule: cd_correction; took: 0:00:00.005087 DEBUG: Importing rule: cd_mkdir; took: 0:00:00.000640 DEBUG: Importing rule: cd_parent; took: 0:00:00.002242 DEBUG: Importing rule: chmod_x; took: 0:00:00.000500 DEBUG: Importing rule: composer_not_command; took: 0:00:00.000702 DEBUG: Importing rule: cp_omitting_directory; took: 0:00:00.000974 DEBUG: Importing rule: cpp11; took: 0:00:00.003622 DEBUG: Importing rule: dirty_untar; took: 0:00:00.013058 DEBUG: Importing rule: dirty_unzip; took: 0:00:00.003445 DEBUG: Importing rule: django_south_ghost; took: 0:00:00.002845 DEBUG: Importing rule: django_south_merge; took: 0:00:00.000489 DEBUG: Importing rule: docker_not_command; took: 0:00:00.002116 DEBUG: Importing rule: dry; took: 0:00:00.004838 DEBUG: Importing rule: fix_alt_space; took: 0:00:00.000810 DEBUG: Importing rule: fix_file; took: 0:00:00.007477 DEBUG: Importing rule: git_add; took: 0:00:00.003243 DEBUG: Importing rule: git_branch_delete; took: 0:00:00.003687 DEBUG: Importing rule: git_branch_exists; took: 0:00:00.000758 DEBUG: Importing rule: git_branch_list; took: 0:00:00.000673 DEBUG: Importing rule: git_checkout; took: 0:00:00.000776 DEBUG: Importing rule: git_diff_staged; took: 0:00:00.003937 DEBUG: Importing rule: git_fix_stash; took: 0:00:00.003838 DEBUG: Importing rule: git_help_aliased; took: 0:00:00.003716 DEBUG: Importing rule: git_not_command; took: 0:00:00.003717 DEBUG: Importing rule: git_pull; took: 0:00:00.000732 DEBUG: Importing rule: git_pull_clone; took: 0:00:00.003627 DEBUG: Importing rule: git_push; took: 0:00:00.000662 DEBUG: Importing rule: git_push_force; took: 0:00:00.000816 DEBUG: Importing rule: git_push_pull; took: 0:00:00.004589 DEBUG: Importing rule: git_remote_seturl_add; took: 0:00:00.002933 DEBUG: Importing rule: git_rm_recursive; took: 0:00:00.000733 DEBUG: Importing rule: git_stash; took: 0:00:00.000696 DEBUG: Importing rule: git_two_dashes; took: 0:00:00.000828 DEBUG: Importing rule: go_run; took: 0:00:00.003845 DEBUG: Importing rule: grep_arguments_order; took: 0:00:00.003950 DEBUG: Importing rule: grep_recursive; took: 0:00:00.003931 DEBUG: Importing rule: gulp_not_task; took: 0:00:00.003886 DEBUG: Importing rule: has_exists_script; took: 0:00:00.003750 DEBUG: Importing rule: heroku_not_command; took: 0:00:00.004076 DEBUG: Importing rule: history; took: 0:00:00.003378 DEBUG: Importing rule: java; took: 0:00:00.003591 DEBUG: Importing rule: javac; took: 0:00:00.004146 DEBUG: Importing rule: lein_not_task; took: 0:00:00.004115 DEBUG: Importing rule: ln_no_hard_link; took: 0:00:00.003457 DEBUG: Importing rule: ls_lah; took: 0:00:00.003817 DEBUG: Importing rule: man; took: 0:00:00.000757 DEBUG: Importing rule: man_no_space; took: 0:00:00.003388 DEBUG: Importing rule: mercurial; took: 0:00:00.000689 DEBUG: Importing rule: mkdir_p; took: 0:00:00.000699 DEBUG: Importing rule: mvn_no_command; took: 0:00:00.004517 DEBUG: Importing rule: mvn_unknown_lifecycle_phase; took: 0:00:00.003691 DEBUG: Importing rule: no_command; took: 0:00:00.003124 DEBUG: Importing rule: no_such_file; took: 0:00:00.000477 DEBUG: Importing rule: npm_wrong_command; took: 0:00:00.000779 DEBUG: Importing rule: open; took: 0:00:00.003863 DEBUG: Importing rule: pacman; took: 0:00:00.004452 DEBUG: Importing rule: pacman_not_found; took: 0:00:00.003371 DEBUG: Importing rule: pip_unknown_command; took: 0:00:00.000949 DEBUG: Importing rule: python_command; took: 0:00:00.003797 DEBUG: Importing rule: python_execute; took: 0:00:00.003606 DEBUG: Importing rule: quotation_marks; took: 0:00:00.000599 DEBUG: Importing rule: rm_dir; took: 0:00:00.000708 DEBUG: Importing rule: rm_root; took: 0:00:00.004196 DEBUG: Importing rule: sed_unterminated_s; took: 0:00:00.003314 DEBUG: Importing rule: sl_ls; took: 0:00:00.003528 DEBUG: Importing rule: ssh_known_hosts; took: 0:00:00.000708 DEBUG: Importing rule: sudo; took: 0:00:00.000529 DEBUG: Importing rule: switch_lang; took: 0:00:00.000458 DEBUG: Importing rule: systemctl; took: 0:00:00.001227 DEBUG: Importing rule: test.py; took: 0:00:00.006401 DEBUG: Importing rule: tmux; took: 0:00:00.000913 DEBUG: Importing rule: touch; took: 0:00:00.003633 DEBUG: Importing rule: tsuru_login; took: 0:00:00.000712 DEBUG: Importing rule: tsuru_not_command; took: 0:00:00.000841 DEBUG: Importing rule: unknown_command; took: 0:00:00.003609 DEBUG: Importing rule: vagrant_up; took: 0:00:00.000656 DEBUG: Importing rule: whois; took: 0:00:00.004475 DEBUG: Trying rule: dirty_unzip; took: 0:00:00.003588 No fucks given DEBUG: Total took: 0:00:03.306391 ```
osx
low
Critical
163,468,193
go
rsc.io/tmp/fieldtrack: update with new tests
@ianlancetaylor internally committed a new regress test to fieldtrack_test for #16243. rsc.io/tmp/fieldtrack should be updated with this test. (Not a Go project issue per se, but this seems like the safest place to make sure it's not forgotten about by time @rsc returns from leave.)
NeedsInvestigation
low
Minor
163,495,150
TypeScript
Public APIs not normalizing paths
As discussed in [this](https://github.com/Microsoft/TypeScript/issues/9123) issue, the `parseJsonConfigFileContent` public API can fail on Windows when passed non-normalized paths (that is, paths containing backslash delimiters). It appears that this is not the only public API with which this occurs. The following two public API functions call [`getDirectoryPath`](https://github.com/otbe/TypeScript/blob/master/src/compiler/core.ts#L648-L652) with non-normalized paths: - [`findConfigFile`](https://github.com/Microsoft/TypeScript/blob/613e2d33b6bebc96ab9fc3a111d61b2a30015490/src/compiler/program.ts#L18-L31) - [`resolveTripleslashReference`](https://github.com/Microsoft/TypeScript/blob/613e2d33b6bebc96ab9fc3a111d61b2a30015490/src/compiler/program.ts#L33-L37) The first of these has caused numerous issue with [tsify](https://github.com/TypeStrong/tsify): - [Replace backslashes in the current directory](https://github.com/TypeStrong/tsify/pull/125) - [switch to hard-coded tsconfig.json string](https://github.com/TypeStrong/tsify/pull/126) - [Replace backslashes](https://github.com/TypeStrong/tsify/pull/146) Is there any guidance regarding how module authors are supposed to use public TypeScript APIs that accept paths? Are paths always expected to be normalized? If so, that puts a burden on module developers. Would it not be preferable for the `parseJsonConfigFileContent`, `findConfigFile`, `resolveTripleslashReference` functions to normalize any paths before calling functions - like `getDirectoryPath` - that expect/assume normalized paths?
Bug,Help Wanted
low
Minor
163,495,840
rust
Generate HTML versions of man pages
man pages contain useful information that isn't accessible on windows. rustup [concerns itself with man pages](https://github.com/rust-lang-nursery/rustup.rs/issues/490) and will have a `rustup man` feature that is useless on windows. I'd like be able to show the same information by opening up a browser to the installed docs. Can we find a way to generate both the man pages and new HTML versions of the command line documentation from the same source? We probably don't want to take a new pandoc dependency. Perhaps we can just write something in Rust to do it. Alternately, we could create HTML documentation for each of the command line tools. In the future we're going to be distributing more command line tools. They'll need to be documented in HTML.
T-dev-tools,C-feature-request
low
Minor
163,523,454
godot
"Invalid call. Nonexistent built-in function 'convert'." from script
**Operating system or device - Godot version:** Arch linux -- Godot master ( 119cd5d3ff9fbbafc59db7481c0eee29f43c0c64 ) **Issue description** (what happened, and what was expected): I was playing around with some code until `Invalid call. Nonexistent built-in function 'convert'.` came up. **Steps to reproduce:** - Add this script to a random node: ``` gdscript func _ready(): print(convert("1,2", TYPE_VECTOR2)) ``` - Hit play and watch. **Edit**: looks like one can't convert a `String` to a `Vector2` -- oops! Anyway, the error message is as misleading as possible, and would be nice if it is fixed ^^ **Link to minimal example project** (optional but very welcome):
enhancement,topic:gdscript,confirmed
low
Critical
163,525,442
java-design-patterns
Dependency Command pattern
**Description:** The Dependency Command design pattern is essential for managing dependencies and executing commands in a distributed system. This pattern helps in building fault-tolerant applications by isolating points of access to remote systems, services, or resources. The primary elements of this pattern include: 1. **Command Interface**: Defines the contract for executing operations. 2. **Concrete Commands**: Implement the Command interface and define the actual business logic for various operations. 3. **Command Executor**: Responsible for executing the commands and managing dependencies between them. 4. **Dependency Graph**: Represents the dependencies between commands to ensure they execute in the correct order. 5. **Fallback Mechanism**: Provides alternative commands or responses when the primary command fails, ensuring system resilience. This pattern is particularly useful in high-volume distributed systems where failure is not an option. It ensures that commands with dependencies are executed in the correct sequence, and fallback mechanisms are in place to handle potential failures gracefully. **References:** 1. [Project Contribution Guidelines](https://github.com/iluwatar/java-design-patterns/wiki) 2. [Netflix Tech Blog: Fault Tolerance in a High Volume Distributed System](https://netflixtechblog.com/fault-tolerance-in-a-high-volume-distributed-system-91ab4faae74a) **Acceptance Criteria:** 1. Implement the Command interface and a few sample Concrete Commands demonstrating different operations. 2. Develop a Command Executor that handles the execution and manages the dependencies between commands. 3. Include a fallback mechanism to provide resilience in case of command execution failures.
epic: pattern,type: feature
low
Critical
163,539,762
opencv
OpenCL in WinRT not available
I have a windows UWP application running on DragonBoard 410c which has OpenCL, OpenGL, and DirectX capabilities. I noted that the GPUs were not being used, With the following code: cv::ocl::setUseOpenCL(true); cv::ocl::useOpenCL(); if (!cv::ocl::haveOpenCL()) { OutputDebugStringA("OpenCL is not available..."); //return; } It returns "OpenCL is not available" which I can also see from the lack in performance. ### Please state the information for your system - OpenCV version: 3.0 - Host OS: Windows 10 - _(if needed, only cross-platform builds)_ Target OS: DragonBoard 410C running Win 10 iot Core - _(if needed)_ Compiler & CMake: CMake 3.5 + Visual Studio 2015 ### In which part of the OpenCV library you got the issue? core ### Expected behaviour Use opencl acceleration when using UMat in code ### Actual behaviour Reverting to using standard Mat without opencl acceleration ### Additional description The opencv 3.0/ vs2015/WS/10.0/ARM/OpenCV.sln Was utilised to generate files an bring into VS2015 project as provided. ### Code example to reproduce the issue / Steps to reproduce the issue Please try to give a full example which will compile as is. ``` // main.cpp // Copyright (c) 2013, Microsoft Open Technologies, Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // - Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // - Redistributions in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // - Neither the name of Microsoft Open Technologies, Inc. nor the names // of its contributors may be used to endorse or promote products derived // from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "pch.h" #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/features2d.hpp> #include <opencv2/videoio.hpp> #include <opencv2/videoio/cap_winrt.hpp> #include <opencv2/objdetect/objdetect.hpp> //#include <opencv2/objdetect/objdetect_c.h> //#include "../../objdetect/include/opencv2/objdetect/detection_based_tracker.hpp" #include "../src/cap_winrt_bridge.hpp" #include <opencv2/hal.hpp> //#include <opencv2/hal/intrin_neon.hpp> #include <opencv2/core/directx.hpp> #include <opencv2/core/ocl.hpp> #include <arm_neon.h> //#include <opencv2/hal/intrin_neon.hpp> //#include <opencv2/objdetect/detection_based_tracker.hpp> //#include "winapp.hpp" //#define COLOR //#define CANNY #define FACESP #define HAVE_OPENCL #define HAVE_NEON #define HAVE_OPENCL #define OPENCV_OPENCL_DEVICE = ":GPU:0" using namespace cv; using namespace std; namespace highgui_xaml { // forward declaration void cvFilterColor(Mat &frame); void cvFilterCanny(Mat &frame); void cvDetectFaces(Mat &frame); //initializing frame counter used by face detection logic long frameCounter; UMat faces; UMat facesl; std::vector<cv::Rect> facesColl; std::vector<cv::Rect> bodyColl; std::vector<cv::Rect> pedestrianColl; UMat Uframe; Mat FrameToShow; std::vector<cv::Rect> face; CascadeClassifier face_cascade; String face_cascade_name = "Assets/haarcascade_frontalface_alt.xml"; CascadeClassifier body_cascade; String body_cascade_name = "Assets/haarcascade_upperbody.xml"; //String body_cascade_name = "Assets/haarcascade_fullbody.xml"; CascadeClassifier pedestrian_cascade; String pedestrian_cascade_name = "Assets/hogcascade_pedestrians.xml"; const double scale = 1.05; const int nlevels = 13; const int gr_threshold = 8; const double hit_threshold = 1.4; const bool gamma_corr = false; //const Size win_size(240, 320); //const Size win_size(48, 96); //aqconst Size win_stride(8, 8); static vector<float> detector = HOGDescriptor::getDefaultPeopleDetector(); //static vector<float> detector = HOGDescriptor::getDaimlerPeopleDetector(); HOGDescriptor Hog;//(win_size, Size(16, 16), Size(8, 8), Size(8, 8), 9, 1, -1, HOGDescriptor::L2Hys, 0.2, gamma_corr, HOGDescriptor::DEFAULT_NLEVELS); void cvMain() { cv::CPU_NEON; cv::setUseOptimized(true); cv::ocl::setUseOpenCL(true); cv::ocl::useOpenCL(); if (!cv::ocl::haveOpenCL()) { OutputDebugStringA("OpenCL is not available..."); //return; } //initializing frame counter used by face detection logic frameCounter = 0; // loading classifier for face detection face_cascade.load(face_cascade_name); // loading classifier for upper body detection logic body_cascade.load(body_cascade_name); // Setup Hog detector //HOGDescriptor Hog(win_size, Size(16, 16), Size(8, 8), Size(8, 8), 9, 1, -1, HOGDescriptor::L2Hys, 0.2, gamma_corr, HOGDescriptor::DEFAULT_NLEVELS); Hog.setSVMDetector(detector); Hog.nlevels = nlevels; VideoCapture cam(0); cam.set(cv::CAP_PROP_FRAME_WIDTH, 320); cam.set(cv::CAP_PROP_FRAME_HEIGHT, 240); cam.set(cv::CAP_DSHOW, true); cam.set(cv::CAP_MODE_GRAY, true); cam.set(cv::CAP_PROP_CONVERT_RGB, false); cam.open(0); Mat frame(Size(240, 320), CV_8UC3); // process frames while (1) { // get a new frame from camera - this is non-blocking per spec cam >> frame; frameCounter++; // don't reprocess the same frame again // nb if commented then flashing may occur if (!cam.grab()) continue; // image processing calculations here // nb Mat frame is in RGB24 format (8UC3) // select test 1 or 2 // select processing type #if defined COLOR cvFilterColor(frame); #elif defined CANNY cvFilterCanny(frame); #elif defined FACESP // processing every other frame to reduce the load if (frameCounter % 2 == 0) { cvDetectFaces(frame); frameCounter = 0; } #endif winrt_imshow(); } } // image processing example #1 // write color bar at row 100 for 200 rows void cvFilterColor(Mat &frame) { auto ar = frame.ptr(100); int bytesPerPixel = 3; int adjust = (int)(((float)30 / 100.0f) * 255.0); for (int i = 0; i < 640 * 100 * bytesPerPixel;) { ar[i++] = adjust; // R i++; // G ar[i++] = 255 - adjust; // B } } // image processing example #2 // apply edge detection aka 'canny' filter void cvFilterCanny(Mat &frame) { Mat edges; cvtColor(frame, edges, COLOR_RGB2GRAY); GaussianBlur(edges, edges, Size(7, 7), 1.5, 1.5); Canny(edges, edges, 0, 30, 3); cvtColor(edges, frame, COLOR_GRAY2RGB); } // image processing example #3 // detect human faces void cvDetectFaces(Mat &frame) { frame.copyTo(Uframe); cvtColor(Uframe, faces, COLOR_RGB2GRAY); equalizeHist(faces, faces); /* body_cascade.detectMultiScale(faces, bodyColl, 1.1, 2, 0 | CV_HAAR_SCALE_IMAGE, cv::Size(20, 20)); if (bodyColl.size() > 0) { for (unsigned int i = 0; i < bodyColl.size(); i++) { auto face = bodyColl[i]; //Mat temp = frame.getMat(ACCESS_READ | ACCESS_WRITE); cv::rectangle(frame, face, cv::Scalar(0, 255, 255), 3); //cv::rectangle(temp, face, cv::Scalar(0, 255, 255), 3); //temp.getUMat(ACCESS_READ | ACCESS_WRITE).copyTo(frame); } //cv::winrt_imshow(); } */ //Hog.detectMultiScale(faces, bodyColl, hit_threshold, win_stride, Size(0, 0), scale, gr_threshold); Hog.detectMultiScale(faces, bodyColl,0.0, cv::Size(8,8), cv::Size(0, 0), 1.2,0.0,true); if (bodyColl.size() > 0) { for (unsigned int i = 0; i < bodyColl.size(); i++) { //face.assign(bodyColl[i]); //Mat temp = frame.getMat(ACCESS_READ | ACCESS_WRITE); cv::rectangle(frame, bodyColl[i], cv::Scalar(0, 255, 255), 3); //cv::rectangle(Uframe, face, cv::Scalar(0, 255, 255), 3); //temp.getUMat(ACCESS_READ | ACCESS_WRITE).copyTo(frame); } //cv::winrt_imshow(); } /* else { face_cascade.detectMultiScale(faces, facesColl, 1.2, 2, 0 | CV_HAAR_SCALE_IMAGE, cv::Size(20, 20)); //CV_HAAR_SCALE_IMAGE CASCADE_SCALE_IMAGE if (facesColl.size() > 0) { for (unsigned int i = 0; i < facesColl.size(); i++) { auto face = facesColl[i]; cv::rectangle(frame, face, cv::Scalar(0, 255, 255), 3); } } } */ /* body_cascade.detectMultiScale(faces, bodyColl, 1.2, 1,0|CV_HAAR_SCALE_IMAGE,cv::Size(20,20)); if (bodyColl.size() > 0) { for (unsigned int i = 0; i < bodyColl.size(); i++) { auto face = bodyColl[i]; //Mat temp = frame.getMat(ACCESS_READ | ACCESS_WRITE); cv::rectangle(frame, face, cv::Scalar(0, 255, 255), 3); //cv::rectangle(temp, face, cv::Scalar(0, 255, 255), 3); //temp.getUMat(ACCESS_READ | ACCESS_WRITE).copyTo(frame); } } */ } } ```
feature,priority: low,platform: winrt/uwp
low
Critical
163,554,557
youtube-dl
Add more metadata parsing options
## 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.07.03_. 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.07.03** ### 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 --- ### Description of your _issue_, suggested solution and other information Right now, the only way to include metadata is via parsing the title with --metadata-from-title. This requires a very deliberate and often not existent form of title formatting if you want more than just Artist and Title. Uploaders on often ommit everything past those two from the title for obvious brevity reasons. My use case would be to allow/enable additional metadata fields to be set through data such as %(uploader)s, etc. which aren't part of the title. Often I want to download a bunch of files from a music aggregator and group them with an album tag with the uploader name, but this is currently impossible and needs to be done manually.
request
low
Critical
163,569,268
youtube-dl
Site request: Disney / go.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.07.03.1_. 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.07.03.1** ### 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 --- Site request: Watch disney XD online. Additional note: Watching in browser requires going to my TV provider for a login cookie. So, there will be some sort of cookie requirement, and I don't know how to make that work, unless there's some way to point youtube-dl at firefox's cookies. ``` keybounceMBP:Daily michael$ youtube-dl -U Updating to version 2016.07.03.1 ... Updated youtube-dl. Restart youtube-dl to use the new version. keybounceMBP:Daily michael$ youtube-dl -v http://watchdisneyxd.go.com/marvels-guardians-of-the-galaxy/video/vdka0_ontktlx2/ 01/17-we-are-the-world-tree?verify=1#playlist=PL551978168 [debug] System config: [] [debug] User config: [u'--no-mtime', u'-o', u'%(title)s.%(ext)s', u'-f', u'best[ext=mp4][height=480]/bestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/best[ext=mp4][height>360][height<=480]/bestvideo[ext=mp4][height>360][height<=480]+bestaudio/best[height>360][height<=480]/bestvideo[height>360][height<=480]+bestaudio/best[ext=mp4][height>=280][height<=360]/best[height<=480]/worst', u'--write-sub', u'--embed-subs', u'--recode-video', u'mp4'] [debug] Command-line args: [u'-v', u'http://watchdisneyxd.go.com/marvels-guardians-of-the-galaxy/video/vdka0_ontktlx2/01/17-we-are-the-world-tree?verify=1#playlist=PL551978168'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.07.03.1 [debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit [debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2, rtmpdump 2.4 [debug] Proxy map: {} [generic] 17-we-are-the-world-tree?verify=1#playlist=PL551978168: Requesting header WARNING: Falling back on generic information extractor. [generic] 17-we-are-the-world-tree?verify=1#playlist=PL551978168: Downloading webpage [generic] 17-we-are-the-world-tree?verify=1#playlist=PL551978168: Extracting information ERROR: Unsupported URL: http://watchdisneyxd.go.com/marvels-guardians-of-the-galaxy/video/vdka0_ontktlx2/01/17-we-are-the-world-tree?verify=1#playlist=PL551978168 Traceback (most recent call last): File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1515, in _real_extract doc = compat_etree_fromstring(webpage.encode('utf-8')) File "/Users/michael/bin/youtube-dl/youtube_dl/compat.py", line 2524, in compat_etree_fromstring doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory))) File "/Users/michael/bin/youtube-dl/youtube_dl/compat.py", line 2513, in _XML parser.feed(text) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed self._raiseerror(v) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror raise err ParseError: not well-formed (invalid token): line 7, column 437 Traceback (most recent call last): File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info ie_result = ie.extract(url) File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 343, in extract return self._real_extract(url) File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2222, in _real_extract raise UnsupportedError(url) UnsupportedError: Unsupported URL: http://watchdisneyxd.go.com/marvels-guardians-of-the-galaxy/video/vdka0_ontktlx2/01/17-we-are-the-world-tree?verify=1#playlist=PL551978168 keybounceMBP:Daily michael$ ```
tv-provider-account-needed
low
Critical
163,580,952
go
proposal: add SASL package to subrepos
I'd like to see a package that provides [RFC 4422](https://tools.ietf.org/html/rfc4422) Simple Authentication and Security Layer (SASL) support in the `golang.org/x/` package tree (possibly as `golang.org/x/crypto/sasl`). This could potentially be used under the covers in the `net/smtp` package in the future, and would be broadly useful for people implementing other protocols (IMAP, AMQP, IRC, XMPP, memcached, POP, etc.). It would provide a way for varoius packages to share implementations of SASL mechanisms and not introduce problems by always reinventing the wheel every time something needs a `SCRAM-SHA-1` implementation. The API I had in mind (and have an implementation of) is something like this: ``` go // State represents the current state of a Mechanism's underlying state machine. type State int8 const ( Initial State = iota AuthTextSent ResponseSent ValidServerResponse ) const ( // Bit is on if the remote client or server supports channel binding. RemoteCB State = 1 << (iota + 3) // Bit is on if the machine has errored. Errored // Bit is on if the machine is a server. Receiving ) // Mechanism represents a SASL mechanism. // A Mechanism is stateless and may be shared between goroutines or Negotiators. type Mechanism struct { // The name of the mechanism (eg. `DIGEST-MD5` or `SCRAM-SHA-2`). Name string // These functions get called by a Negotiator. // I suppose Mechanism could be an interface too, but I like the idea of having // it contain these functions so that Step can enforce security constraints on // the state machine as much as possible (eg. it can be the only thing that's // allowed to mutate the internal state). The bool returned from Next indicates // that we should expect more challenges (Step needs to be called again // before auth can be completed). The cache return value is stored by a // Negotiator and passed back in as the data parameter with the next invocation // of Next so that mechanisms can pass state between their steps while still // remaining stateless themselves. Start func(n Negotiator) (more bool, resp []byte, cache interface{}, err error) Next func(n Negotiator, challenge []byte, data interface{}) (more bool, resp []byte, cache interface{}, err error) } // A Negotiator represents a SASL client or server state machine that can attempt // to negotiate auth. Negotiators should not be used from multiple goroutines, and // must be reset between negotiation attempts. type Negotiator interface { // Step is responsible for advancing the state machine and using the // underlying mechanism. It should base64 decode the challenge (using the // standard base64 encoding) and base64 encode the response generated from the // underlying mechanism before returning it. Step(challenge []byte) (more bool, resp []byte, err error) State() State Config() Config Nonce() []byte Reset() } // NewClient creates a new SASL client that supports the given mechanisms. func NewClient(m Mechanism, opts ...Option) Negotiator // Config is a SASL client or server configuration. type Config struct { // The state of any TLS connections being used to negotiate SASL (for channel // binding). TLSState *tls.ConnectionState // A list of mechanisms as advertised by the other side of a SASL negotiation. RemoteMechanisms []string // I don't like having these here because other things might need other // credentials (PGP key to sign a challenge with, OAuth token, etc.) and // Adding tons of extra stuff here isn't very flexible. Suggestions welcome. Identity, Username, Password string } type Option func(*Config) func Authz(identity string) Option {} func ConnState(cs tls.ConnectionState) Option {} func Credentials(username, password string) Option {} func RemoteMechanisms(m ...string) Option {} โ€ฆ var ( Plain Mechanism = plain // These are identical internally, just the Hash used is different. Maybe it would make // more sense just to expose a `SCRAM(h hash.Hash) Mechanism` // function? On the other hand, 99% of the time people will probably just want these 4 // since they're the only ones standardized. ScramSha256Plus = scram("SCRAM-SHA-256-PLUS", sha256.New) ScramSha256 = scram("SCRAM-SHA-256", sha256.New) ScramSha1Plus = scram("SCRAM-SHA-1-PLUS", sha1.New) ScramSha1 = scram("SCRAM-SHA-1", sha1.New) ) ``` _EDIT:_ I pushed my initial, experimental, implementation with an API similar to this: https://godoc.org/mellium.im/sasl
Proposal,Proposal-Hold,Proposal-Crypto
low
Critical
163,601,405
youtube-dl
Comedy Central Playlist 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.07.03.1_. 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.07.03.1** ### 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) - [x ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- I'd like to see playlist support for URL's such as http://www.cc.com/shows/the-nightly-show which currently returns 16 "episodes". But, each episode is actually a playlist of 4 videos. In other words: ``` keybounceMBP:Nightly michael$ youtube-dl http://www.cc.com/full-episodes/36dtke/the-nightly-show-with-larry-wilmore-june-30 --2016---diane-guerrero-season-2-ep-02128 [ComedyCentral] the-nightly-show-with-larry-wilmore-june-30--2016---diane-guerrero-season-2-ep-02128: Downloading webpage [ComedyCentral] 8fbc3c7a-1379-4d3b-9cb0-3ad44f821eea: Downloading info [ComedyCentral] 5e0524a1-f253-494d-978e-394ff88f280b: Extracting information [ComedyCentral] 5e0524a1-f253-494d-978e-394ff88f280b: Downloading video urls [ComedyCentral] f484819a-47e9-4119-9a00-469f11d33d47: Extracting information [ComedyCentral] f484819a-47e9-4119-9a00-469f11d33d47: Downloading video urls [ComedyCentral] 8cca9c9c-ca94-4e3e-a4b9-2fafc1c79c9e: Extracting information [ComedyCentral] 8cca9c9c-ca94-4e3e-a4b9-2fafc1c79c9e: Downloading video urls [ComedyCentral] 9527d52f-4a7d-4fd9-abf6-4c609ed471a1: Extracting information [ComedyCentral] 9527d52f-4a7d-4fd9-abf6-4c609ed471a1: Downloading video urls [download] Downloading playlist: None [ComedyCentral] playlist None: Collected 4 video ids (downloading 4 of them) [download] Downloading video 1 of 4 [info] Writing video subtitles to: The Nightly Show with Larry Wilmore_June 30, 2016_2_02128_June 30, 2016 - Diane Guerrero_Act 1.en.vtt [download] Destination: The Nightly Show with Larry Wilmore_June 30, 2016_2_02128_June 30, 2016 - Diane Guerrero_Act 1.mp4 ... ``` works just fine, downloads the episode as 4 videos. But I have to do this for ALL episodes (12, in this case -- 3 weeks of missed shows), rather than giving one playlist download that will download 12 playlists of 4 videos.
request
low
Critical
163,647,786
three.js
THREE.EllipseCurve is calculating start/end angles incorrectly
##### Description of the problem With the latest update to THREE.EllipseCurve on the dev branch, the angle calculations are incorrect. You can no longer create a clockwise, full circle, as using 0/2Pi as the angles inverts/reverse the curve. The problematic changes are in THREE.EllipseCurve.prototype.getPoint Example: ``` // v-- full, counter-clockwise circle with origin on right shape.absellipse(0, 0, 10, 10, 0, 2 * Math.PI, true); // v-- full, clockwise circle with origin on right shape.absellipse(0, 0, 10, 10, 0, 2 * Math.PI + Number.EPSILON*2.1, true); ``` Expected behaviour is to get a clockwise circle when using 0/2Pi as start/end angles and true for the clockwise flag. ##### Three.js version - [x ] Dev - [ ] r78 - [ ] ... ##### Browser - [x] All of them - [ ] Chrome - [ ] Firefox - [ ] Internet Explorer ##### OS - [x] All of them - [ ] Windows - [ ] Linux - [ ] Android - [ ] IOS ##### Hardware Requirements (graphics card, VR Device, ...)
Regression
low
Minor
163,682,495
youtube-dl
Site request: http://www.unicaen.fr/recherche/mrsh/forge/4055
### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.07.03.1_. 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.07.03.1** ### 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 ```): ``` [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['http://www.unicaen.fr/recherche/mrsh/forge/4055', '-v'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.07.03.1 [debug] Python version 3.5.1+ - Linux-4.4.0-28-generic-x86_64-with-Ubuntu-16.04-xenial [debug] exe versions: ffmpeg 2.8.6-1ubuntu2, ffprobe 2.8.6-1ubuntu2, rtmpdump 2.4 [debug] Proxy map: {} [generic] 4055: Requesting header WARNING: Falling back on generic information extractor. [generic] 4055: Downloading webpage [generic] 4055: Extracting information ERROR: Unsupported URL: http://www.unicaen.fr/recherche/mrsh/forge/4055 Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 676, in extract_info ie_result = ie.extract(url) File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 343, in extract return self._real_extract(url) File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/generic.py", line 2222, in _real_extract raise UnsupportedError(url) youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.unicaen.fr/recherche/mrsh/forge/4055 ``` --- ### 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.unicaen.fr/recherche/mrsh/forge/4055 ---
site-support-request
low
Critical
163,820,050
youtube-dl
Build the Windows exe with Python 3.6
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.07.05** ### 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 --- ### Description of your _issue_, suggested solution and other information Some Python bugs (#8132, #7951) is fixed upstream and included in new Python versions. However, the 3.4 branch of Python now [receives only security fixes](https://docs.python.org/devguide/devcycle.html#summary). As a result, Windows users have to install the latest Python 2.7 or 3.5 and optionally build their own `youtube-dl.exe`. py2exe is dead and [gets no new fixes since Oct 2014](https://sourceforge.net/p/py2exe/svn/765/log/?path=/trunk/py2exe-3). Here I suggest to move to another bundling tool. 1. [PyInstaller](https://github.com/pyinstaller/pyinstaller) I got an error when installing PyInstaller - one of its dependencies is broken (erocarrera/pefile#105) Need to install the latest git-master of pefile. After installation everything looks fine (see test results later) 2. cx_Freeze There are still [commits last month](https://bitbucket.org/anthony_tuininga/cx_freeze/commits/all) but [no releases since Dec 2014](http://cx-freeze.sourceforge.net/). Sounds less promising so I didn't test it. --- ### Testing results for PyInstaller ``` G:\Projects\youtube-dl>C:\Users\yen\AppData\Local\Programs\Python\Python35-32\Scripts\pyinstaller.exeScripts\pyinstaller.exe youtube_dl\__main__.py --onefile G:\Projects\youtube-dl>C: C:\Users\yen>G:\Projects\youtube-dl\dist\__main__.exe -v test:xuite [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'test:xuite'] [debug] Encodings: locale cp950, fs mbcs, out cp950, pref cp950 [debug] youtube-dl version 2016.07.05 [debug] Python version 3.5.2 - Windows-7-6.1.7601-SP1 [debug] exe versions: none [debug] Proxy map: {} [TestURL] Test URL: http://vlog.xuite.net/play/RGkzc1ZULTM4NjA5MTQuZmx2 [Xuite] RGkzc1ZULTM4NjA5MTQuZmx2: Downloading webpage [Xuite] flv config: Downloading XML [debug] Invoking downloader on 'http://5.mms.vlog.xuite.net/video/d90029/RGkzc1ZULTM4NjA5MTQuZmx2?k=83d2bffb6e41c13bef881851cf3433e6&q=mp3' [download] Destination: ๅญคๅ–ฎๅ—ๅŠ็ƒ-ๆญๅพท้™ฝ-3860914.mp3 [download] 100% of 3.77MiB in 00:00 C:\Users\yen>G:\Projects\youtube-dl\dist\__main__.exe -v test:youtube [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'test:youtube'] [debug] Encodings: locale cp950, fs mbcs, out cp950, pref cp950 [debug] youtube-dl version 2016.07.05 [debug] Python version 3.5.2 - Windows-7-6.1.7601-SP1 [debug] exe versions: none [debug] Proxy map: {} [TestURL] Test URL: http://www.youtube.com/watch?v=BaW_jenozKc&t=1s&end=9 [youtube] BaW_jenozKc: Downloading webpage [youtube] BaW_jenozKc: Downloading video info webpage [youtube] BaW_jenozKc: Extracting video information [youtube] BaW_jenozKc: Downloading MPD manifest [debug] Invoking downloader on 'https://r5---sn-5njj-u2xe.googlevideo.com/videoplayback?mt=1467713206&sparams=cnr%2Cdur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&ms=au&ip=140.112.230.216&requiressl=yes&mm=31&mn=sn-5njj-u2xe&id=o-AEkgVjFdJPzfmRjB0uKvDsKWLa2XSwYZ4jGFftQ_ja9N&pl=16&itag=22&initcwndbps=6036250&ratebypass=yes&expire=1467735204&fexp=9406174%2C9416126%2C9416891%2C9422596%2C9428398%2C9431012%2C9433096%2C9433223%2C9433946%2C9435526%2C9435876%2C9436965%2C9437066%2C9437553%2C9438327%2C9439652&ipbits=0&dur=9.891&sver=3&mime=video%2Fmp4&key=yt6&signature=2317B697B0D035F741776D0B4EE0E4CB6E773CBD.274C21B2BC22BC647D657CD9DD9FC5312266BF07&upn=3cWCeTQL_SY&source=youtube&cnr=14&lmt=1387961818043059' [download] Destination: youtube-dl test video ''_รคโ†ญ๐•-BaW_jenozKc.mp4 [download] 100% of 1.53MiB in 00:00 C:\Users\yen> ```
request
medium
Critical
163,900,616
rust
BTreeSet and BTreeMap append optimization
When the largest key of one tree is less than the smallest key of another tree, there is a way to merge trees using only O(log n) operations. Maybe logarithmic `merge` should be a separate method. I'm ready to work on it. **UPD:** Also sometimes it may be better to push elements of one tree to another one with O(min_length log(max_length)) operations instead of rebuild with O(n + m) operations (like in #32526). But the problem is that it's hard to determine which approach is better in a particular case.
I-slow,C-enhancement,A-collections,C-optimization
low
Major
163,902,258
youtube-dl
NineCNineMedia: ERROR: multiple stacks;
## 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.07.05_. 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.07.05** ### 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) - [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.py -v "http://www.ctv.ca/video/player?vid=902194" [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'http://www.ctv.ca/video/player?vid=902194'] [debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252 [debug] youtube-dl version 2016.07.05 [debug] Python version 3.5.1 - Windows-7-6.1.7601-SP1 [debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4 [debug] Proxy map: {} [NineCNineMedia] 902194: Downloading JSON metadata [NineCNineMedia] 902194: Downloading JSON metadata ERROR: multiple stacks; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to ag and include its complete output. Traceback (most recent call last): File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 681, in extract_info ie_result = ie.extract(url) File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 343, in extract return self._real_extract(url) File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\ninecninemedia.py", line 30, in _real_extract raise ExtractorError('multiple stacks') youtube_dl.utils.ExtractorError: multiple stacks; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl e-dl with the --verbose flag and include its complete output. ... <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.ctv.ca/video/player?vid=902194 - Single video: http://www.ctv.ca/Conan/video.aspx?vid=899961 - Playlist: http://www.ctvnews.ca/sci-tech/jupiter-meet-juno-nasa-s-ultimately-doomed-solar-powered-spacecraft-1.2973225 --- ### Description of your _issue_, suggested solution and other information BTW.....other URLS that also use 9c9 include: http://www.tsn.ca/video/fiba-turkey-69-canada-77~904611 http://www.bnn.ca/Video/player.aspx?vid=904811 http://www.cp24.com/video#903450 http://www.thecomedynetwork.ca/shows/insideamyschumer?vid=890112
bug,geo-restricted
low
Critical
163,905,683
go
gccgo: stack memory leak if create large number of goroutines in short time
Please answer these questions before submitting your issue. Thanks! 1. What version of Go are you using (go version)? ``` $ go version go version go1.6.1 gccgo (GCC) 6.1.1 20160602 linux/amd64 ``` 2. What operating system and processor architecture are you using (go env)? Its gcc-go 6.1.1.-2 under Arch Linux. ``` $ uname -a Linux fa-host 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST 2016 x86_64 GNU/Linux $ go env GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/usr/lib/go:/usr/share/gocode:/usr/lib/go/site" GORACE="" GOROOT="/usr" GOTOOLDIR="/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1" GO15VENDOREXPERIMENT="1" CC="/usr/bin/gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0" CXX="/usr/bin/g++" CGO_ENABLED="1" ``` 3. What did you do? After several days memory leak debugging work for our go application, I found the memory issue only occurred when compiled by gccgo, and its goroutine stack memory related instead of heap. Here is a simple demo to reproduce it: ``` package main import "time" import "fmt" import "runtime/debug" func main() { worker := func() { time.Sleep(3 * time.Second) } for i := 0; i < 5000; i++ { go worker() } time.Sleep(10 * time.Second) fmt.Println("try to release memory") debug.FreeOSMemory() time.Sleep(3600 * 12 * time.Second) } ``` For example save it as test.go and run: ``` go build -compiler gccgo test.go ./test ``` 4. What did you expect to see? The used memory should be released after "try to release memory" printed. 5. What did you see instead? The memory(about 100MB) is still in used and looks never be released even through I waited for a long time(about 1 hour). So I think it should be a special stack memory leak issue. BTW: Everything is OK if compiled by go/gc.
NeedsInvestigation
low
Critical
164,105,897
vscode
request: ease-out transition for TextEditorDecorationType (extension API)
Would like to be able to apply a transition on a TextEditorDecorationType . Something like this: ``` var flashDecorationType = vscode.window.createTextEditorDecorationType({ backgroundColor: 'rgba(100,200,100,0.5)', transition: 'backgroundColor 1s ease-out' }); ```
feature-request,api
low
Minor
164,176,327
youtube-dl
ffmpeg can't handle gzipped key file in AES-encrypted HLS streams
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.07.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_? - [x] 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 --- ``` $ youtube-dl https://talk.objc.io/episodes/S01E03-loading-view-controllers --verbose [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'https://talk.objc.io/episodes/S01E03-loading-view-controllers', u'--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.07.07 [debug] Python version 2.7.10 - Darwin-15.5.0-x86_64-i386-64bit [debug] exe versions: ffmpeg 3.0, ffprobe 3.0 [debug] Proxy map: {} [generic] S01E03-loading-view-controllers: Requesting header WARNING: Falling back on generic information extractor. [generic] S01E03-loading-view-controllers: Downloading webpage [generic] S01E03-loading-view-controllers: Extracting information [generic] hls: Downloading m3u8 information [debug] Invoking downloader on u'https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8' [download] Destination: Loading View Controllers-hls.mp4 [debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome) ' -i https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Loading View Controllers-hls.mp4.part' ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers built with Apple LLVM version 7.0.2 (clang-700.1.81) configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0 --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-vda libavutil 55. 17.103 / 55. 17.103 libavcodec 57. 24.102 / 57. 24.102 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 [https @ 0x7f95d3724840] inflate return value: -3, invalid code lengths set Unable to read key file https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key [hls,applehttp @ 0x7f95d4001400] Error when loading first segment 'https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p00000.ts' https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8: Invalid data found when processing input ERROR: ffmpeg exited with code 1 ... <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://talk.objc.io/episodes/S01E03-loading-view-controllers --- ### Description of your _issue_, suggested solution and other information Download is failing with error `ERROR: ffmpeg exited with code 1` - URL: https://talk.objc.io/episodes/S01E03-loading-view-controllers
external-bugs
low
Critical
164,185,581
flutter
iOS Accessibility "Button Shapes"
Makes clickable regions more visibly obvious. https://developer.apple.com/accessibility/ios/ ![img_0019](https://cloud.githubusercontent.com/assets/11857803/16636114/ecfeb1ac-438a-11e6-9e40-c156a852e5da.PNG)
c: new feature,platform-ios,framework,a: accessibility,a: fidelity,f: cupertino,P2,team-ios,triaged-ios
low
Minor
164,185,996
flutter
iOS Accessibility: Reduce Motion
Uses fade transitions instead of fly-in/fly-out transitions in some places. https://developer.apple.com/accessibility/ios/ https://developer.apple.com/reference/uikit/1615133-uiaccessibilityisreducemotionena Under Settings > General > Accessibility ![img_0020](https://cloud.githubusercontent.com/assets/11857803/16636164/2ffd1700-438b-11e6-9df8-6000ab5feb81.PNG)
c: new feature,platform-ios,framework,a: accessibility,a: fidelity,f: cupertino,P2,team-ios,triaged-ios
low
Minor
164,277,838
angular
[bug core] *ngFor + Touch Issue
**I'm submitting a ...** ``` [x] bug report ``` **Current behavior** If I drag a component, bound within an `*ngFor`, (using a **touchscreen**) and an external event causes the ngFor array to update, `touchmove` events stop firing. This is a terrible experience on mobile. Angular 2 is nearing official release and I'm concerned how to fix the **mobile** experience. **Mouse** dragging does not have this issue. **E.g.** I have a data array, `currentBookings = [{..}, {..}]`, that is bound with an `*ngFor` such as ``` typescript <booking *ngFor="let booking of currentBookings"></booking> ``` and I drag one of the generated `<booking>` components to the 'nextDay' button, which causes the `currentBookings` array to update. See [this Plunker](http://plnkr.co/edit/QR6WDzv6NxOmn6LXTngG?p=preview) - I have dealt with this (Touch Spec / Browser Implementation) issue in the past (vanilla JS) by simply keeping the DOM element reference around until the `touchend` or `touchcancel` event fire. - However, Angular controls the DOM now ! - Could this be solved by Angular implementing a `canDestroy()` Component guard (i.e not route guard) ??? **Expected/desired behavior** A `canDestroy()` **Component** guard. Or any solution that avoids premature DOM removal of an element. Angular could keep the DOM element in memory and set a style of `{display: none;}`. Anything to improve the drag experience on **mobile**...which is pretty important in my opinion. **Reproduction of the problem** See this [Plunker](http://plnkr.co/edit/QR6WDzv6NxOmn6LXTngG?p=preview). Note: Touchscreen required (or Chrome Dev Tools mobile emulation) **What is the expected behavior?** In my [Plunker](http://plnkr.co/edit/QR6WDzv6NxOmn6LXTngG?p=preview), I expect the `touchmove` events to keep firing after dragging the 'booking' to the next/prev day. It works as expected with **mouse** dragging. **What is the motivation / use case for changing the behavior?** Improve the **mobile** experience of Angular 2. **Environment:** - **Angular version:** 2.0.0-rc.4 - **Browser:** [Chrome 51 (with touchscreen), iOS 9.3.2 Safari] - **Language:** [email protected] see plunker
type: bug/fix,area: animations,freq1: low,area: core,core: event listeners,state: needs more investigation,P4
low
Critical
164,318,430
neovim
:term buffer does not set '[ and '] marks correctly
## Expected behaviour When `:term` buffer contents change, the `'[` and `']` marks should be set to something reasonable. See http://stackoverflow.com/a/38247473/152142. Related: https://github.com/neovim/neovim/issues/8807
terminal
low
Minor
164,318,685
neovim
terminal-mode events: InsertCharPre
### Expected behaviour - When `:term` buffer contents change while user is in "terminal mode" (insert mode), insert-mode events such as ~~`TextChangedI`, `CursorMovedI`,~~ `InsertCharPre` should fire. - See also http://stackoverflow.com/a/38247473/152142. Update: it makes sense to implement `InsertCharPre` because Nvim knows exactly what the user sends. But `TextChangedI` and `CursorMovedI` are less obvious, because the terminal program may change those arbitrarily.
enhancement,needs:design,terminal,complexity:low
low
Minor
164,379,803
youtube-dl
Add support for SHZ.AM
## 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.07.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.07.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.exe -v http://shz.am/t119440654 -s -g > shazam_youtube_links.txt [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'http://shz.am/t119440654', '-s', '-g'] [debug] Encodings: locale cp1255, fs mbcs, out cp1255, pref cp1255 [debug] youtube-dl version 2016.07.03.1 [debug] Python version 3.6.0a1 - Windows-10-10.0.10586-SP0 [debug] exe versions: ffmpeg N-80906-gd5edb6c, ffprobe N-80906-gd5edb6c [debug] Proxy map: {} WARNING: Could not send HEAD request to http://shz.am/t119440654: HTTP Error 404: Not Found WARNING: Falling back on generic information extractor. ERROR: Unsupported URL: http://shz.am/t119440654 Traceback (most recent call last): File "c:\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 676, in extract_info ie_result = ie.extract(url) File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 343, in extract return self._real_extract(url) File "c:\python36\lib\site-packages\youtube_dl\extractor\generic.py", line 2222, in _real_extract raise UnsupportedError(url) youtube_dl.utils.UnsupportedError: Unsupported URL: http://shz.am/t119440654 ``` --- ### 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://shz.am/t5198480 --- ### 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_ required an account credentials please provide them or explain how one can obtain them.
site-support-request
low
Critical
164,388,848
nvm
nvm doesn't work with curl alias
I have curl aliased in my shell: ``` dan-mbp-work:~ dan$ type curl curl is aliased to `curl --verbose -k -o/dev/null' dan-mbp-work:~ dan$ ``` This causes nvm to fail on ls-remote: ``` dan-mbp-work:~ dan$ type curl curl is aliased to `curl --verbose -k -o/dev/null' dan-mbp-work:~ dan$ nvm ls-remote * Trying 104.20.22.46... * Connected to nodejs.org (104.20.22.46) port 443 (#0) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: *.nodejs.org * Server certificate: COMODO RSA Domain Validation Secure Server CA * Server certificate: COMODO RSA Certification Authority * Server certificate: AddTrust External CA Root > GET /dist/index.tab HTTP/1.1 > Host: nodejs.org > User-Agent: curl/7.43.0 > Accept: */* > < HTTP/1.1 200 OK < Date: Thu, 07 Jul 2016 19:22:31 GMT < Content-Type: text/plain < Transfer-Encoding: chunked < Connection: keep-alive < Set-Cookie: __cfduid=d89d74e8ae3aad5b6eaf4a37052a6551a1467919351; expires=Fri, 07-Jul-17 19:22:31 GMT; path=/; domain=.nodejs.org; HttpOnly < Last-Modified: Wed, 06 Jul 2016 19:37:58 GMT < CF-Cache-Status: HIT < Expires: Thu, 07 Jul 2016 23:22:31 GMT < Cache-Control: public, max-age=14400 < Server: cloudflare-nginx < CF-RAY: 2bedaa6a92cf0c89-AMS < { [892 bytes data] * Connection #0 to host nodejs.org left intact * Trying 104.131.173.199... * Connected to iojs.org (104.131.173.199) port 443 (#0) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 * Server certificate: *.nodejs.org * Server certificate: COMODO RSA Domain Validation Secure Server CA * Server certificate: COMODO RSA Certification Authority * Server certificate: AddTrust External CA Root > GET /dist/index.tab HTTP/1.1 > Host: iojs.org > User-Agent: curl/7.43.0 > Accept: */* > < HTTP/1.1 200 OK < Server: nginx < Date: Thu, 07 Jul 2016 19:22:32 GMT < Content-Type: text/plain < Content-Length: 7395 < Last-Modified: Tue, 15 Sep 2015 09:08:02 GMT < Connection: keep-alive < ETag: "55f7dff2-1ce3" < Strict-Transport-Security: max-age=63072000 < X-Frame-Options: DENY < X-Content-Type-Options: nosniff < Accept-Ranges: bytes < { [7395 bytes data] * Connection #0 to host iojs.org left intact N/A dan-mbp-work:~ dan$ ``` I tried running: ``` unalias curl ``` But it doesn't work.
installing node,bugs,shell alias clobbering
low
Major
164,399,580
rust
macros: Trailing expression statement macros expand inconsistently
Macro-expanded trailing expression statement macros expand into statements, but unexpanded trailing expression statement macros expand into expressions. For example, ``` rust macro_rules! m { () => { let x = 0; } } macro_rules! n { () => { let y = 0; m!() // Since `m!()` expands into statements, this is ok }} fn main() { n!(); let x = 0; m!() // Since `m!()` expands into an expression, this is not ok } ``` One way to fix this is to make all trailing expression statement macros expand into statements. When (if?) #34706 gets fixed, this will be backwards compatible. However, today it isn't: ``` rust macro_rules! m { () => { 1; } } fn f() -> i32 { m!() // The trailing semicolon on `1` is ignored today, so this typechecks. // If `m!()` were expanded into statements, the trailing semicolon // would not be ignored, so this would break. } ```
A-macros,C-bug
low
Minor
164,421,758
react
Consider exposing an opaque component path somehow
This is something I've thought about in regard to focus, hover and selection. If you implement hover as a top level state value with the currently hovered root component as `hoverID: component` and currently focused component as `focusID: component`. Now anything in between gets rerendered and can respond to those things changing. However, that also means that everything gets rerendered. Not just the previous and next path. The ideal would be that you store the path to that component, or extract the path from internal state. That way we can quickly rerender only the previous and next path, while still letting anything in between react to focus/hover changing. Maybe this is more generally useful. Selection is a bit special because it might need to rerender anything in between two paths but that can also be optimized similarly - by checking if any child node corresponds to a start and end path and anything between is selected or unselected.
Type: Big Picture,React Core Team
medium
Minor
164,510,830
youtube-dl
[VEVO] Support for captions
## 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.07.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.07.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) - [ ] 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 It seems VEVO has subtitles on their site despite not displaying them there, only on YouTube. From [this playlist](https://vrl.m.conviva.com/a.mp4?c3.vr=2&c3.ck=c2e8a3a626bd820962a3eadffb15e468ab55327b&c3.rt=m&c3.vp=l&c3.im=d&c3.um=d&c3.r1=http%3A%2F%2Fhls-aws.vevo.com%2Fv3%2Fhls%2F2016%2F07%2FUSH5V1622713%2Ff27f4e03-7554-4b9b-bd83-74e8e42477e2%2Findex_800_wifi.m3u8&c3.r2=http%3A%2F%2Fhls-aka.vevo.com%2Fv3%2Fhls%2F2016%2F07%2FUSH5V1622713%2Ff27f4e03-7554-4b9b-bd83-74e8e42477e2%2Findex_800_wifi.m3u8): ``` #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",DEFAULT=NO,AUTOSELECT=YES,FORCED=NO,LANGUAGE="eng",URI="subtitles/subtitles_en.m3u8" ``` And the subtitles are under `http://hls-aws.vevo.com/v3/hls/2016/07/USH5V1622713/f27f4e03-7554-4b9b-bd83-74e8e42477e2/subtitles/en/0001.vtt`, `0002.vtt` and so on. Would be nice if those could be downloaded directly instead of having to download them separately from YouTube.
request,subtitles
low
Critical
164,526,938
vscode
Show quick open results as preview while navigating through them
- VSCode Version: 1.3.0 - OS Version: Windows 10 64bit & Mac OS X 10.11.3 Steps to Reproduce: 1. Open the Quick Open box 2. Type a file name that returns several results 3. A new Preview editor pops up and receives focus with the first result loaded into it 4. Scroll through the results in the Quick Open box and the Preview editor changes to the file that's highlighted 5. Selecting a result will fully open the file. Canceling can close the Preview editor or leave it open. I'd prefer if it closed the preview.
feature-request,ux,quick-open
high
Critical
164,586,027
neovim
:terminal should update @. (last insert) register
Fillin' out this bug-like form, but it's more like a feature request. - `nvim --version`: ``` NVIM 0.1.4 Build type: RelWithDebInfo Compilation: /usr/local/Library/ENV/4.3/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/build/config -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/src -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/deps-build/usr/include/luajit-2.0 -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/deps-build/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/build/src/nvim/auto -I/tmp/neovim-20160622-1757-1brid47/neovim-0.1.4/build/include Compiled by jfelice@C02RP20XFVH6 Optional features included (+) or not (-): +acl +iconv +jemalloc For differences from Vim, see :help vim-differences system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.1.4/share/nvim" ``` - Vim (version: ) behaves differently? N/A - Operating system/version: Mac OS 10.11.? - Terminal name/version: Terminal.app - `$TERM`: screen-256color ### Actual behaviour `E21: Cannot make changes, modifiable is off.` (sometimes) <no output> (other times) ### Expected behaviour Repeat last "insert". ### Steps to reproduce using `nvim -u NORC` ``` nvim -u NORC :terminal<CR>ls<CR><C-\><C-n>. ```
enhancement,terminal
low
Critical
164,591,226
go
x/crypto/ssh/agent: support smartcard keys
Please answer these questions before submitting your issue. Thanks! 1. What version of Go are you using (`go version`)? ``` go version go1.6.2 darwin/amd64 ``` 1. What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="" GORACE="" GOROOT="/usr/local/Cellar/go/1.6.2/libexec" GOTOOLDIR="/usr/local/Cellar/go/1.6.2/libexec/pkg/tool/darwin_amd64" GO15VENDOREXPERIMENT="1" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common" CXX="clang++" CGO_ENABLED="1" ``` 1. What did you do? This doesn't particularly apply, it's that I want to be able to use the client to add and remove smartcard keys. The agent API for this is pretty simple, but the Go implementation ignores them. 1. What did you expect to see? an implementation 1. What did you see instead? an unused variable for the protocol number and that's it.
NeedsInvestigation
low
Minor
164,628,426
neovim
jobattach() : add handlers to an existing job
Implement ability to attach `on_stdout`/`on_stderr`/etc handler to an existing job. Something like this: ``` call jobattach({jobid}, {opts}) ``` where `{opts}` is a dictionary whose structure is the same as that of `jobstart()`. In fact I think we should deprecate `jobstart()`, rename it `job()`, and if the first argument of `job()` is a job id, operate on the existing job.
enhancement,job-control
low
Major
164,663,424
youtube-dl
[deezer] Add support for full length songs
## 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.07.09.1_. 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.07.09.1** ### 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) - [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 _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): - Playlist: http://www.deezer.com/playlist/2008373922 - Maybe albums and single videos too --- ### Description of your _issue_, suggested solution and other information Current script will only download preview version of 30 seconds of each file and only playlists. I suggest using this python script I found in Github https://github.com/reversing-research/deezer-download/blob/master/deezer-download.py It works out of the box (pending pull requests can be considered)
request
low
Critical
164,683,026
youtube-dl
Site support request: klewel.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.07.09.2_. 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.07.09.2** ### 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.07.09.2 [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_ required an account credentials please provide them or explain how one can obtain them. Single video: https://portal.klewel.com/watch/webcast/deep-learning-tools-and-methods-workshop/talk/3
site-support-request
low
Critical
164,733,290
angular
Angular 2 RC 4 New Animations not supported in Directives
Hi, It seems that in current release we can add animations to components only and cannot define them as directives. I mean: **the below works** ``` @Component({ selector: "animate-demo", animations: [ trigger('openClose', [ state('closed, void', style({ height: "0px" })), state('open', style({ height: "*" })), transition("* => *", animate(200)) ]) ] }) ``` **Whereas the below doesn't work:** ``` @Directive({ selector: "animate-demo", animations: [ trigger('openClose', [ state('closed, void', style({ height: "0px" })), state('open', style({ height: "*" })), transition("* => *", animate(200)) ]) ] }) ``` **And gives compilation error in visual studio:** "Argument of type '{ selector: string; animations: AnimationEntryMetadata[]; template: string; }' is not assignable to parameter of type '{ selector?: string; inputs?: string[]; outputs?: string[]; properties?: string[]; events?: strin...'. " Usually we might want to have the commonly used animations such as slideDown, sliddeUp, fadeIn, fadeOut defined at one place as a directive and then in components where we want to use them we would just want to import the directive and use the animation instead of redefining animation in each component.
feature,area: animations,effort2: days,freq3: high,workaround2: non-obvious,feature: under consideration
high
Critical
164,741,072
kubernetes
kubectl logs should *not* fail while a pod is being started, because it makes for a terrible initial experience
Currently the following can fail: ``` $ kubectl create -f pod.yaml pod "foo" created $ kubectl logs -f foo container "build" in pod "build" is waiting to start: ContainerCreating ``` For real world cases where it may take tens of seconds to pull the image, this is intensely frustrating to users because now they have to guess when the pod is started in order to debug it. For users who specify `kubectl logs foo`, it may be ok to return immediately (we need to debate this). `-f` is different because the expectation is to wait to see the results of the pod execution. We need to fix the kubelet to return errors that allow clients to make the determination (probably by improving the types of errors returned by `validateContainerLogStatus` to include structured API errors) and ensure that the pod log (and other log endpoints, like deploy logs) can properly handle surfacing that. Then we either need to change the logs endpoint for follow to have that behavior (reasonable) or change the clients (more work, harder to justify). The other log endpoints should be have consistently. We need to keep backwards compatibility in account on errors - right now we always return 400 Bad Request, but we could add detail causes. The GenericHTTPResponseChecker would probably need to be wrapped with a more powerful PossibleAPIOrGenericHTTPResponseChecker that tested for JSON output and did the right thing.
priority/backlog,area/usability,area/kubectl,sig/node,sig/cli,lifecycle/frozen
high
Critical