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 |
---|---|---|---|---|---|---|
190,732,689 | go | x/tools: tests fail with gccgo | ### What version of Go are you using (`go version`)?
go version go1.6.1 gccgo (Debian 6.2.0-13) 6.2.0 20161109
### What operating system and processor architecture are you using (`go env`)?
Debian, all architectures not directly supported by the official compiler.
Hi, I am one of the people maintaining go libraries in Debian, and I have been trying to get x/tools to work with gccgo with no luck. We aim to provide golang support in all of our architectures, and so we use gccgo in mips*, alpha, powerpc, and now s390x.
We are able to build x/tools, but the tests fail spectacularly. I wonder if we are doing something very wrong, or is it that nobody ever tried to make it work there. Many errors seem to be related to tools expecting source code to be present for the stdlib, for example.
I would really appreciate if somebody could take a look at this, we are getting close to the freeze (before Debian stable is released), and I would like to fix that in time. The log from a sample build in mipsel is attached:
[golang-golang-x-tools_0.0~git20161028.0.b814a3b+ds-3_mipsel.build.txt](https://github.com/golang/go/files/603826/golang-golang-x-tools_0.0.git20161028.0.b814a3b.ds-3_mipsel.build.txt)
| Testing,NeedsFix,Tools | low | Critical |
190,774,336 | node | Poll phase documentation | <!--
Thank you for reporting an issue.
This issue tracker is for bugs and issues found within Node.js core.
If you require more general support please file an issue on our help
repo. https://github.com/nodejs/help
Please fill in as much of the template below as you're able.
Version: output of `node -v`
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
Subsystem: if known, please specify affected core module name
If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you are able.
-->
* **Version**:
* **Platform**:
* **Subsystem**:
<!-- Enter your issue details below this comment. -->
~~[`/doc/topics/event-loop-timers-and-nexttick.md`](https://github.com/nodejs/node/blob/master/doc/topics/event-loop-timers-and-nexttick.md#poll)~~
The documentation has been moved (https://github.com/nodejs/node/issues/10792):
https://github.com/nodejs/nodejs.org/blob/master/locale/en/docs/guides/event-loop-timers-and-nexttick.md
The description of the poll phase is not clear at all to me. Could someone please clarify the (sequence of the) operations in this phase?
Examples:
> When the event loop enters the **poll** phase _and there are no timers scheduled_, one of two things will happen:
Well, what happens if _there are_ timers scheduled?
> If scripts **have not** been scheduled by `setImmediate()`, the event loop will wait for callbacks to be added to the queue, then execute them immediately.
Until... what?
> Once the poll queue is empty [...]
This could not even happen if we reached the system-dependent hard limit, right? Would this step be ignored in such cases? | help wanted,doc | medium | Critical |
190,780,590 | opencv | distanceType parameter for pointPolygonTest | It would be useful if pointPolygonTest had a distanceType parameter like distanceTransform does. | feature,category: imgproc | low | Minor |
190,804,497 | go | cmd/compile: improve map iteration | Currently compiling this code
```
type T struct {
a, b, c, d, e, f, g, h int
}
func f(m map[int]T) {
for _, e := range m {
g(e.f)
}
}
//go:noinline
func g(int) {}
```
results
```
0x0051 00081 (/tmp/x.go:8) LEAQ type.map[int]"".T(SB), AX
0x0058 00088 (/tmp/x.go:8) MOVQ AX, (SP)
0x005c 00092 (/tmp/x.go:8) MOVQ "".m+264(FP), AX
0x0064 00100 (/tmp/x.go:8) MOVQ AX, 8(SP)
0x0069 00105 (/tmp/x.go:8) LEAQ ""..autotmp_1+152(SP), AX
0x0071 00113 (/tmp/x.go:8) MOVQ AX, 16(SP)
0x0076 00118 (/tmp/x.go:8) PCDATA $0, $1
0x0076 00118 (/tmp/x.go:8) CALL runtime.mapiterinit(SB)
0x007b 00123 (/tmp/x.go:8) MOVQ ""..autotmp_1+152(SP), AX
0x0083 00131 (/tmp/x.go:8) TESTQ AX, AX
0x0086 00134 (/tmp/x.go:8) JEQ $0, 253
0x0088 00136 (/tmp/x.go:8) MOVQ ""..autotmp_1+160(SP), SI
0x0090 00144 (/tmp/x.go:8) TESTB AL, (SI)
0x0092 00146 (/tmp/x.go:8) LEAQ ""..autotmp_2+88(SP), DI
0x0097 00151 (/tmp/x.go:8) DUFFCOPY $840
0x00aa 00170 (/tmp/x.go:8) MOVQ ""..autotmp_1+152(SP), AX
0x00b2 00178 (/tmp/x.go:8) TESTB AL, (AX)
0x00b4 00180 (/tmp/x.go:8) LEAQ "".e+24(SP), DI
0x00b9 00185 (/tmp/x.go:8) LEAQ ""..autotmp_2+88(SP), SI
0x00be 00190 (/tmp/x.go:8) DUFFCOPY $840
0x00d1 00209 (/tmp/x.go:9) MOVQ "".e+64(SP), AX
0x00d6 00214 (/tmp/x.go:9) MOVQ AX, (SP)
0x00da 00218 (/tmp/x.go:9) PCDATA $0, $1
0x00da 00218 (/tmp/x.go:9) CALL "".g(SB)
0x00df 00223 (/tmp/x.go:8) LEAQ ""..autotmp_1+152(SP), AX
0x00e7 00231 (/tmp/x.go:8) MOVQ AX, (SP)
0x00eb 00235 (/tmp/x.go:8) PCDATA $0, $1
0x00eb 00235 (/tmp/x.go:8) CALL runtime.mapiternext(SB)
0x00f0 00240 (/tmp/x.go:8) MOVQ ""..autotmp_1+152(SP), AX
0x00f8 00248 (/tmp/x.go:8) TESTQ AX, AX
0x00fb 00251 (/tmp/x.go:8) JNE $0, 136
```
Note that there are two `DUFFCOPY`s. It first copies the data pointed by the pointer that `mapiterinit`/`mapiternext` returns to `autotmp_2`, then copies from `autotmp_2` to `e`.
I think one copy should be enough.
It might be able to do zero copy in some circumstances (but sounds a little crazy for now). Maybe no function call before the variable die, no address-taken, read only?
(Currently, if T is SSA-able (i.e. smaller), it generates no copy.)
| Performance,compiler/runtime | low | Minor |
190,808,329 | TypeScript | Support evolving the type with assignments for expando object | Copied from https://github.com/Microsoft/TypeScript/issues/12278#issuecomment-261000712
OP = @abgivant
I use a similar module pattern in an application I'm working on, and the lack of IntelliSense/definitions for those has been an issue for me as well.
Mine follow this basic pattern:
```javascript
module.exports = function(x, y, z) {
var exports = {};
exports.method = function() {
// Something that might use x, y, or z
};
return exports;
}
````
Would it be possible to do something like include an option in the jsconfig.json file to specify a property name or list of names to track when determining module exports?
Maybe something like this?
```javascript
{
"moduleOptions": {
"exportProperty": ["exports", "this"]
}
}
``` | Suggestion,In Discussion,VS Code Tracked | low | Minor |
190,814,174 | go | x/website: document release-branch & git branch policy | This is a more general release strategy question.
I see that the git tag for 1.7.3 references a release branch 1release-branch.go1.7'. For work in progress (e.g. release candidates), this makes perfect sense, but considering 1.7.3 has been released, and binaries are advertised on golang.org for this version, I expected that this release branch would be merged with master.
I see https://github.com/golang/go/wiki/Go-Release-Cycle doesn't mention the process of branching for releases or when they're merged with master, and while I wouldn't want to get draconian on this process, I did want to express my surprise that I can no longer build golang stable releases without mirroring all branches from github.
If there's documentation on the release process somewhere else, I'd love to be told to shut up and go read it! If this is simply an oversight, perhaps a little documentation on the process *would* be helpful in keeping master/releases always synced up and tidy.
... somewhat irrelevant bug template questions answered below:
### What version of Go are you using (`go version`)?
Affects 1.7, 1.7.1, 1.7.2, 1.7.3
... and future versions
### What operating system and processor architecture are you using (`go env`)?
Linux 1d9c731ca9f1 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 Linux
### 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.
$ git clone [email protected]:golang/go.git
$ git tag | grep go1.7 | head -n 4
go1.7
go1.7.1
go1.7.2
go1.7.3
$ git push --mirror git@internal-git-endpoint-redacted/golang/go.git
$ cd ..
$ git tag | grep go1.7 | head -n 4
go1.7beta1
go1.7beta2
go1.7rc1
go1.7rc2
### What did you expect to see?
git tag | grep go1.7 | head -n 4
go1.7
go1.7.1
go1.7.2
go1.7.3
### What did you see instead?
git tag | grep go1.7 | head -n 4
go1.7beta1
go1.7beta2
go1.7rc1
go1.7rc2
...obviously I can push all branches, I just didn't expect I needed to track all upstream branches internally since I was only building stable releases (which I assumed falsely would always be on master).
| Documentation,help wanted,NeedsInvestigation,website | low | Critical |
190,875,528 | flutter | Request for a way to indicate how a class/concepts fits into "layers" or "areas of interest" | As we learn from UX studies, we noticed that we don't currently have an easy way for a developer to understand in which "area" they are looking at a concept. For example, if they are looking at the Padding class in the API docs, "where" are they? What kind of conceptual thing is this?
From a current Flutter developer: "More broadly, a tricky part of onboarding was simply familiarizing with the wide range of specialized widgets. "
(Note: our library organization in the framework is too coarse-grained to convey this grouping. For example, there are a lot of conceptual areas inside the widget library.)
Vision: a user looking at a thing in the API docs should easily understand in which group/AreaOfInterest/Layer it belongs, and then easily see other related things. For example, when looking at Padding, the user can easily see "This is part of the _layout_ area of interest. Oh, these are the other helpful layout ideas."
Strawman: a way to annotate the thing (class/function/etc) to put it in a "doc grouping". Then, the dartdoc tool could be taught how to indicate which group the thing is in. | framework,from: study,d: api docs,c: proposal,P3,team-framework,triaged-framework | low | Major |
190,886,549 | create-react-app | Add more entry points | In addition to src/index.js, I have other entry points in my app. How do I add them? | issue: proposal,tag: enhancement | high | Critical |
190,912,451 | rust | Future::and_then and other adapters are not always zero cost | I expected these two code snippets to produce the same (or very similar) code
when fully optimized (release+LTO) but they don't:
``` rust
let tx = busy_wait(tx.write(4));
busy_wait(tx.write(2));
```
``` rust
busy_wait(tx.write(4).and_then(|tx| tx.write(2)));
```
The first is `panic!`-free but the second is not; it still contains calls to
`panic!("cannot poll a chained future twice")` even though it never polls either
future after it has yielded its value.
### STR
``` rust
// src/main.rs
#![feature(lang_items)]
#![feature(never_type)]
#![no_main]
#![no_std]
extern crate futures;
use core::{fmt, ptr};
use futures::{Async, Future};
// entry point
#[no_mangle]
pub fn _start() -> ! {
let tx = Tx { _0: () };
busy_wait(tx.write(4).and_then(|tx| tx.write(2)));
loop {}
}
struct Tx {
_0: (),
}
impl Tx {
fn write(self, byte: u8) -> Write {
Write {
tx: Some(self),
byte: byte,
}
}
}
struct Write {
byte: u8,
tx: Option<Tx>,
}
impl Future for Write {
type Error = !;
type Item = Tx;
fn poll(&mut self) -> Result<Async<Tx>, !> {
unsafe {
let tx = self.tx.take().expect("cannot poll `write` twice");
// NOTE `0x0` and `0x4` emulate memory mapped IO registers
// Can we send data yet?
if ptr::read_volatile(0x0 as *const bool) {
// Send one byte of data
ptr::write_volatile(0x4 as *mut u8, self.byte);
Ok(Async::Ready(tx))
} else {
self.tx = Some(tx);
Ok(Async::NotReady)
}
}
}
}
fn busy_wait<F>(mut f: F) -> F::Item
where F: Future<Error = !>
{
loop {
if let Ok(Async::Ready(t)) = f.poll() {
return t;
}
}
}
#[lang = "panic_fmt"]
extern "C" fn panic_fmt(_fmt: fmt::Arguments,
_file: &'static str,
_line: u32)
-> ! {
// HACK to keep the `_file` string in the final binary
unsafe { ptr::write_volatile(0x8 as *mut _, _file) }
loop {}
}
```
```
$ head -n7 Cargo.toml
[dependencies.futures]
default-features = false
version = "0.1.3"
[profile.release]
lto = true
panic = "abort"
$ cargo rustc --release --verbose -- -C link-arg=-nostartfiles
```
``` asm
$ objdump -Cd target/release/foo
00000000000002c0 <_start>:
2c0: b0 04 mov $0x4,%al
2c2: 31 c9 xor %ecx,%ecx
2c4: 66 66 66 2e 0f 1f 84 data16 data16 nopw %cs:0x0(%rax,%rax,1)
2cb: 00 00 00 00 00
2d0: 80 f9 01 cmp $0x1,%cl
2d3: 74 3b je 310 <_start+0x50>
2d5: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
2dc: 00 00 00 00
2e0: f6 04 25 00 00 00 00 testb $0x1,0x0
2e7: 01
2e8: 74 f6 je 2e0 <_start+0x20>
2ea: 88 04 25 04 00 00 00 mov %al,0x4
2f1: 84 c9 test %cl,%cl
2f3: 75 3d jne 332 <_start+0x72>
2f5: b1 01 mov $0x1,%cl
2f7: b0 02 mov $0x2,%al
2f9: f6 04 25 00 00 00 00 testb $0x1,0x0
300: 01
301: 74 cd je 2d0 <_start+0x10>
303: c6 04 25 04 00 00 00 movb $0x2,0x4
30a: 02
30b: eb 23 jmp 330 <_start+0x70>
30d: 0f 1f 00 nopl (%rax)
310: f6 04 25 00 00 00 00 testb $0x1,0x0
317: 01
318: 74 f6 je 310 <_start+0x50>
31a: 88 04 25 04 00 00 00 mov %al,0x4
321: 66 66 66 66 66 66 2e data16 data16 data16 data16 data16 nopw %cs:0x0(%rax,%rax,1)
328: 0f 1f 84 00 00 00 00
32f: 00
330: eb fe jmp 330 <_start+0x70>
332: 50 push %rax
333: e8 38 00 00 00 callq 370 <core::panicking::panic::h194ce5d68a8f28a1>
338: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
33f: 00
0000000000000340 <core::panicking::panic_fmt::h561c5ee168a3d2cb>:
(..)
```
```
$ objcopy -O binary target/release/foo foo.bin
$ strings foo.bin
(..)
/home/japaric/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.3/src/chain.rs
```
If the program is changed to the no-`and_then` variant, the disassembly looks
like this:
``` asm
$ objdump -Cd target/release/foo
0000000000000280 <_start>:
280: f6 04 25 00 00 00 00 testb $0x1,0x0
287: 01
288: 74 f6 je 280 <_start>
28a: c6 04 25 04 00 00 00 movb $0x4,0x4
291: 04
292: 66 66 66 66 66 2e 0f data16 data16 data16 data16 nopw %cs:0x0(%rax,%rax,1)
299: 1f 84 00 00 00 00 00
2a0: f6 04 25 00 00 00 00 testb $0x1,0x0
2a7: 01
2a8: 74 f6 je 2a0 <_start+0x20>
2aa: c6 04 25 04 00 00 00 movb $0x2,0x4
2b1: 02
2b2: 66 66 66 66 66 2e 0f data16 data16 data16 data16 nopw %cs:0x0(%rax,%rax,1)
2b9: 1f 84 00 00 00 00 00
2c0: eb fe jmp 2c0 <_start+0x40>
```
There are no `panic_fmt` calls in it.
### Meta
```
$ rustc -V
rustc 1.15.0-nightly (43006fcea 2016-11-15)
```
---
I don't think this is a problem with the implementation of `AndThen`/`Chain` in
the futures crate because I have tried to re-implement `Future` in a few
different ways e.g. without error-handling, sprinkling #[inline] everywhere but
none of that helps.
Code like this:
``` rust
busy_wait(futures::done(Ok(42)).and_then(|x| futures::done(Ok(x))));
```
optimizes the same as the "split" version and in that case LLVM evaluates the
expression at compile time and replaces it with `42`. So LLVM can actually lower
`and_then` to `panic!` free code; it just doesn't optimize well this particular
case (perhaps, because of the volatile memory operations?)
`join` is another adapter that has the same issue.
cc @alexcrichton @eddyb | A-LLVM,I-slow,C-enhancement,A-codegen,T-compiler,C-optimization | low | Critical |
191,059,311 | vscode | Highlight matching quotes, double quotes and backticks | - VSCode Version: 1.7.1
- OS Version: Win10 x64
Steps to Reproduce:
My suggestion is to not only highlight matching square brackets, round brackets/parentheses and curly brackets (`[], (), {}`) as well as matching tags e.g. `<div></div>`,
**but also quotes, double quotes and backticks,** i.e. `''`, `""` and ` `` `.
_The highlighting would be via **underlining** these symbols,
in order to visually distinguish them from any matching brackets (which are highlighted with outline (box))._
This is a feature of one of the most popular packages for Sublime Text, BracketHighlighter.
<br>
PS. [Template literals (which are quoted via **backticks**)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) are an ES6 feature.
| feature-request,editor-bracket-matching | medium | Major |
191,062,738 | youtube-dl | [sohu] Support login (was: Best quality extraxtion of sohu not correct) | ## 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.11.22*. 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.11.22**
### 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
---
---
```
$ youtube-dl -v -F http://tv.sohu.com/20161013/n470208193.shtml
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-F', 'http://tv.sohu.com/20161013/n470208193.shtml']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2016.11.22
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-82324-g872b358, ffprobe N-82324-g872b358
[debug] Proxy map: {}
[Sohu] 470208193: Downloading webpage
[Sohu] 470208193: Downloading JSON data for 3323578
[Sohu] 470208193: Downloading JSON data for 3323579
[Sohu] 470208193: Downloading JSON data for 3323580
[Sohu] 470208193: Downloading JSON data for 3323590
[Sohu] 470208193: Downloading ori video URL part 1 of 7
[Sohu] 470208193: Downloading high video URL part 1 of 7
[Sohu] 470208193: Downloading super video URL part 1 of 7
[Sohu] 470208193: Downloading nor video URL part 1 of 7
[Sohu] 470208193: Downloading ori video URL part 2 of 7
[Sohu] 470208193: Downloading high video URL part 2 of 7
[Sohu] 470208193: Downloading super video URL part 2 of 7
[Sohu] 470208193: Downloading nor video URL part 2 of 7
[Sohu] 470208193: Downloading ori video URL part 3 of 7
[Sohu] 470208193: Downloading high video URL part 3 of 7
[Sohu] 470208193: Downloading super video URL part 3 of 7
[Sohu] 470208193: Downloading nor video URL part 3 of 7
[Sohu] 470208193: Downloading ori video URL part 4 of 7
[Sohu] 470208193: Downloading high video URL part 4 of 7
[Sohu] 470208193: Downloading super video URL part 4 of 7
[Sohu] 470208193: Downloading nor video URL part 4 of 7
[Sohu] 470208193: Downloading ori video URL part 5 of 7
[Sohu] 470208193: Downloading high video URL part 5 of 7
[Sohu] 470208193: Downloading super video URL part 5 of 7
[Sohu] 470208193: Downloading nor video URL part 5 of 7
[Sohu] 470208193: Downloading ori video URL part 6 of 7
[Sohu] 470208193: Downloading high video URL part 6 of 7
[Sohu] 470208193: Downloading super video URL part 6 of 7
[Sohu] 470208193: Downloading nor video URL part 6 of 7
[Sohu] 470208193: Downloading ori video URL part 7 of 7
[Sohu] 470208193: Downloading high video URL part 7 of 7
[Sohu] 470208193: Downloading super video URL part 7 of 7
[Sohu] 470208193: Downloading nor video URL part 7 of 7
[download] Downloading playlist: 《法医秦明》第1集 - 高清正版在线观看
[Sohu] playlist 《法医秦明》第1集 - 高清正版在线观看: Collected 7 video ids (downloading 7 of them)
[download] Downloading video 1 of 7
[info] Available formats for 470208193_part1:
format code extension resolution note
nor mp4 640x268 25fps, 10.62MiB
high mp4 1024x430 25fps, 17.39MiB
ori mp4 1280x538 25fps, 36.39MiB
super mp4 1280x538 25fps, 36.39MiB (best)
[download] Downloading video 2 of 7
[info] Available formats for 470208193_part2:
format code extension resolution note
nor mp4 640x268 25fps, 10.64MiB
high mp4 1024x430 25fps, 17.45MiB
ori mp4 1280x538 25fps, 36.52MiB
super mp4 1280x538 25fps, 36.52MiB (best)
[download] Downloading video 3 of 7
[info] Available formats for 470208193_part3:
format code extension resolution note
nor mp4 640x268 25fps, 10.63MiB
high mp4 1024x430 25fps, 17.42MiB
ori mp4 1280x538 25fps, 36.43MiB
super mp4 1280x538 25fps, 36.43MiB (best)
[download] Downloading video 4 of 7
[info] Available formats for 470208193_part4:
format code extension resolution note
nor mp4 640x268 25fps, 10.67MiB
high mp4 1024x430 25fps, 17.51MiB
ori mp4 1280x538 25fps, 36.62MiB
super mp4 1280x538 25fps, 36.62MiB (best)
[download] Downloading video 5 of 7
[info] Available formats for 470208193_part5:
format code extension resolution note
nor mp4 640x268 25fps, 10.62MiB
high mp4 1024x430 25fps, 17.42MiB
ori mp4 1280x538 25fps, 36.44MiB
super mp4 1280x538 25fps, 36.44MiB (best)
[download] Downloading video 6 of 7
[info] Available formats for 470208193_part6:
format code extension resolution note
nor mp4 640x268 25fps, 10.65MiB
high mp4 1024x430 25fps, 17.44MiB
ori mp4 1280x538 25fps, 36.50MiB
super mp4 1280x538 25fps, 36.50MiB (best)
[download] Downloading video 7 of 7
[info] Available formats for 470208193_part7:
format code extension resolution note
nor mp4 640x268 25fps, 7.35MiB
high mp4 1024x430 25fps, 12.07MiB
ori mp4 1280x538 25fps, 24.82MiB
super mp4 1280x538 25fps, 24.82MiB (best)
[download] Finished downloading playlist: 《法医秦明》第1集 - 高清正版在线观看
<end of log>
```
---
---
### Description of your *issue*, suggested solution and other information
The extraction of the site tv.sohu.com has a bug. The format "ori" links are the same as "super", but actually they are different. "ori" links should be 1080p and the files should be larger than the "super"s. See the output log above
| request,account-needed | low | Critical |
191,064,512 | flutter | AppBar is too tall in landscape mode on Android (and desktop) | Example screenshot:
https://github.com/flutter/flutter/issues/4607#issuecomment-262214734
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/constants.dart#L6
https://material.google.com/layout/structure.html#structure-app-bar says 48p on landscape.
One of many metrics which are supposed to change with orientation. :( | framework,f: material design,a: tablet,a: desktop,dependency: android,has reproducible steps,P3,found in release: 3.7,team-design,triaged-design | low | Major |
191,083,974 | go | runtime: stack growth during critical section harms performance | Hello,
[etcd](https://github.com/coreos/etcd) observed significant performance regression with Go 1.7.3.
Details follow or please visit https://github.com/coreos/etcd/issues/6876.
<br>
### What version of Go are you using (`go version`)?
Go 1.6.3 and Go 1.7.3
<br>
### What operating system and processor architecture are you using (`go env`)?
```bash
$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/gyuho/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build467209749=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
```
Google Cloud VM with 8 vCPUs, 16 GB memory, ubuntu-1610
> gcloud compute instances create test-machine --custom-cpu=8 --custom-memory=16 --image-family=ubuntu-1610 --image-project=ubuntu-os-cloud --boot-disk-size=150 --boot-disk-type="pd-ssd" --zone us-west1-a
<br>
### What did you do?
##### Build etcd binaries, others
Build etcd binaries in different Go versions with etcd commit https://github.com/coreos/etcd/commit/faeeb2fc7514c5caf7a9a0cc03ac9ee2ff94438b.
Go version is the only difference!
```bash
mkdir -p ${GOPATH}/src/github.com/coreos
cd ${GOPATH}/src/github.com/coreos
git clone https://github.com/coreos/etcd.git
cd ${GOPATH}/src/github.com/coreos/etcd
git reset --hard faeeb2fc7514c5caf7a9a0cc03ac9ee2ff94438b
./build
./bin/etcd --version
go build -v ./cmd/tools/benchmark
./benchmark help
```
Or
```bash
wget https://storage.googleapis.com/etcd/tip/etcd-v3.0.2-go1.6.3
wget https://storage.googleapis.com/etcd/tip/etcd-v3.0.2-go1.7.3
wget https://storage.googleapis.com/etcd/tip/etcdctl-master-go1.7.3
wget https://storage.googleapis.com/etcd/tip/benchmark-master-go1.7.3
sudo chmod +x ./etcd-v3.0.2-go1.6.3 && ./etcd-v3.0.2-go1.6.3 --version
sudo chmod +x ./etcd-v3.0.2-go1.7.3 && ./etcd-v3.0.2-go1.7.3 --version
sudo chmod +x ./etcdctl-master-go1.7.3 && ./etcdctl-master-go1.7.3 --version
sudo chmod +x ./benchmark-master-go1.7.3 && ./benchmark-master-go1.7.3 help
```
##### Run single-node cluster, benchmark
Go 1.6.3 + master branch Go 1.7.3 client
```bash
rm -rf test.etcd
./etcd-v3.0.2-go1.6.3 --name test \
--listen-client-urls http://localhost:2379 \
--advertise-client-urls http://localhost:2379 \
--listen-peer-urls http://localhost:2380 \
--initial-advertise-peer-urls http://localhost:2380 \
--initial-cluster test=http://localhost:2380 \
--initial-cluster-token test-token \
--initial-cluster-state new \
--enable-pprof
ETCDCTL_API=3 ./etcdctl-master-go1.7.3 --endpoints=localhost:2379 put foo bar
ETCDCTL_API=3 ./etcdctl-master-go1.7.3 --endpoints=localhost:2379 get foo --consistency=s
./benchmark-master-go1.7.3 --endpoints=localhost:2379 --conns=100 --clients=1000 range foo --consistency=s --total=200000
```
Go 1.7.3 + master branch Go 1.7.3 client
```bash
rm -rf test.etcd
./etcd-v3.0.2-go1.7.3 --name test \
--listen-client-urls http://localhost:2379 \
--advertise-client-urls http://localhost:2379 \
--listen-peer-urls http://localhost:2380 \
--initial-advertise-peer-urls http://localhost:2380 \
--initial-cluster test=http://localhost:2380 \
--initial-cluster-token test-token \
--initial-cluster-state new \
--enable-pprof
ETCDCTL_API=3 ./etcdctl-master-go1.7.3 --endpoints=localhost:2379 put foo bar
ETCDCTL_API=3 ./etcdctl-master-go1.7.3 --endpoints=localhost:2379 get foo --consistency=s
./benchmark-master-go1.7.3 --endpoints=localhost:2379 --conns=100 --clients=1000 range foo --consistency=s --total=200000
```
<br>
### What did you expect to see?
etcd with Go 1.6.3 shows:
```
Summary:
Total: 55.4612 secs.
Requests/sec: 36061.2548
```
<br>
### What did you see instead?
etcd with Go 1.7.3 is 2x slower:
```
Summary:
Total: 105.3251 secs.
Requests/sec: 18988.8279
```
We expected Go 1.7.3 to be comparable or better.
<br>
Here's our profiling data
- [etcd-v3.0.2-go1.6.3-2M-serializable-reads-00.pdf](https://github.com/golang/go/files/607171/etcd-v3.0.2-go1.6.3-2M-serializable-reads-00.pdf)
- [etcd-v3.0.2-go1.7.3-2M-serializable-reads-00.pdf](https://github.com/golang/go/files/607172/etcd-v3.0.2-go1.7.3-2M-serializable-reads-00.pdf)
Note: etcd uses old `golang.org/x/net/http2` but same behavior happens with latest `http2`; see https://github.com/coreos/etcd/issues/6876#issuecomment-262292981.
Could anybody help us debug this around Go runtime?
Please let me know if more information is needed.
Thanks a lot in advance!
| Performance,NeedsInvestigation,compiler/runtime | medium | Critical |
191,101,255 | vscode | Add ability to extend from other settings files | Inspired by TSLint's ability to [extend](https://palantir.github.io/tslint/2016/03/31/sharable-configurations-rules.html) configuration files, it would be nice if `.vscode/settings.json` could behave the same way.
So if I have some global settings set up:
`~/example-repo/.vscode/my-company-settings.json`:
```json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.formatOnSave": false
}
```
I can use them in another file, without having to duplicate the settings:
`~/example-repo/my-project/.vscode/settings.json`:
```json
{
"extends": "../../.vscode/my-company-settings.json",
"editor.formatOnSave": true,
"editor.fontLigatures": true
}
```
And the computed settings for `~/example-repo/my-project/.vscode/settings.json` would be:
```json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"editor.fontLigatures": true
}
```
Scenario:
Multi-root workspace doesn't solve this for our use case. We have a bunch of npm modules each in their own git repository. We have a package which contains our shared tsconfig.json and tslint.json settings that all the other packages include with extends. We don't use a multi-root workspace since the idea is that people can clone the specific package(s) they need to work on. Every repository contains the exact same .vscode directory which is essentially copy&pasted all over the place. Maintaining the .vscode settings for the projects is "not pretty" compared to the tsconfig.json and tslint.json which only require the settings package to be updated with for example yarn upgrade. | feature-request,config | high | Critical |
191,119,672 | go | cmd/vet: add check for sync.WaitGroup abuse | The API for WaitGroup is very easy for people to misuse. The documentation for `Add` says:
> calls to Add should execute before the statement creating the goroutine or other event to be waited for.
However, it is very common to see this incorrect pattern:
```go
var wg sync.WaitGroup
defer wg.Wait()
go func() {
wg.Add(1)
defer wg.Done()
}()
```
This usage is fundamentally racy and probably does not do what the user wanted. Worse yet, is that it is not detectable by the race detector.
Since the above pattern is common, I propose that we add a method `Go` that essentially does the `Add(1) ` and subsequent call to `Done` in the correct way. That is:
```go
func (wg *WaitGroup) Go(f func()) {
wg.Add(1)
go func() {
defer wg.Done()
f()
}()
}
``` | Proposal-Accepted,Analysis | high | Critical |
191,217,489 | create-react-app | i18n support? | Any plans to add support for i18n?
I've had previous success with [i18n webpack plugin](https://webpack.js.org/plugins/i18n-webpack-plugin/) - perhaps this could be integrated into the webpack configuration?
Given that it increases build time significantly (as it makes use of webpack's multi-compiler feature i.e. `module.exports = [configA, configB];` instead of `module.exports = config;`), it would most likely have to be an opt in feature. We could look for an `i18n/` directory that users could drop a bunch of json files into the like so:
```
src/
i18n/
├─ en-gb.json
├─ de-de.json
├─ ...
```
The idea that CRA would produce an output bundle per locale in conjunction with [i18n webpack plugin](https://webpack.js.org/plugins/i18n-webpack-plugin/).
Thoughts? Happy to attempt a PR if you have no objections.
| issue: proposal | medium | Critical |
191,249,149 | youtube-dl | nature.com support | ### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2016.11.22*. 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.11.22**
### 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] Site support request (request for adding support for a new site)
---
### 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 ```):
```
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.nature.com/nature/videoarchive/tickling-rats/index.html', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.22
[debug] Python version 2.7.12 - Linux-4.4.0-47-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.8-0ubuntu0.16.04.1, ffprobe 2.8.8-0ubuntu0.16.04.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] index: Requesting header
WARNING: Falling back on generic information extractor.
[generic] index: Downloading webpage
[generic] index: Extracting information
ERROR: Unsupported URL: http://www.nature.com/nature/videoarchive/tickling-rats/index.html
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1636, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 2515, in _XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise err
ParseError: undefined entity : line 329, column 64
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 2443, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.nature.com/nature/videoarchive/tickling-rats/index.html
```
---
### 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.nature.com/nature/videoarchive/tickling-rats/index.html
---
| site-support-request | low | Critical |
191,268,762 | electron | Add option for renaming a file dragged with contents.startDrag() | When use contents.startDrag(item), It would be great to allow us to change the name of the file dragged. This can be done by adding a "name" optional option to the item given to startDrag().
By exemple, if I drag a file named "localFileName.jpg" from my app to the desktop and that I will rename this file name to "realName.jpg"... | enhancement :sparkles:,component/drag-and-drop | low | Major |
191,295,706 | youtube-dl | Reuters failed | <pre>C:\Users\***\Desktop>youtube-dl -v http://www.reuters.com/article/us-usa-trump
-britain-farage-vacancy-idUSKBN13H0HC
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.reuters.com/article/us-usa-trump-b
ritain-farage-vacancy-idUSKBN13H0HC']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2016.11.18
[debug] Python version 3.4.4 - Windows-8.1-6.3.9600
[debug] exe versions: none
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
ERROR: Unsupported URL: http://www.reuters.com/article/us-usa-trump-britain-fara
ge-vacancy-idUSKBN13H0HC
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptx6jnsy6\bu
ild\youtube_dl\YoutubeDL.py", line 694, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptx6jnsy6\bu
ild\youtube_dl\extractor\common.py", line 357, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptx6jnsy6\bu
ild\youtube_dl\extractor\generic.py", line 2433, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.reuters.com/artic
le/us-usa-trump-britain-farage-vacancy-idUSKBN13H0HC
</pre> | request | low | Critical |
191,310,938 | go | x/sys/unix: Does not build on mipsel/mips64el/alpha/powerpc with gccgo | Please answer these questions before submitting your issue. Thanks!
### What version of Go are you using (`go version`)?
* `go version go1.6.1 gccgo (Debian 6.2.1-4) 6.2.1 20161119 linux/mipsn64`
* `go version go1.6.1 gccgo (Debian 6.2.1-4) 6.2.1 20161119 linux/mipso32`
Same for alpha and powerpc (the 4 arches use gccgo in Debian).
### What operating system and processor architecture are you using (`go env`)?
```
GOARCH="mipsn64"
GOHOSTARCH="mipsn64"
GOHOSTOS="linux"
GOOS="linux"
```
### What did you do?
```
$ go build golang.org/x/sys/unix
# golang.org/x/sys/unix
obj-mips64el-linux-gnuabi64/src/golang.org/x/sys/unix/flock.go:15:30: error: reference to undefined name 'SYS_FCNTL'
var fcntl64Syscall uintptr = SYS_FCNTL
^
obj-mips64el-linux-gnuabi64/src/golang.org/x/sys/unix/sockcmsg_linux.go:15:30: error: reference to undefined name 'SizeofUcred'
b := make([]byte, CmsgSpace(SizeofUcred))
^
obj-mips64el-linux-gnuabi64/src/golang.org/x/sys/unix/sockcmsg_linux.go:16:9: error: reference to undefined name 'Cmsghdr'
h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
^
```
(The log of errors is huge, you can see a complete build log here: https://buildd.debian.org/status/fetch.php?pkg=mtail&arch=powerpc&ver=0.0%2Bgit20161027.a7b3e3c-1&stamp=1479766693)
---
For mips64el, I pressume it is just a disparity of GOARCH between gccgo and gc, and possibly could be fixed by renaminng. But I don't see any support in the code for mipsel/mipso32, alpha, or powerpc (32bits) | NeedsFix,compiler/runtime | low | Critical |
191,359,204 | angular | Checkbox [ngModel] does not reflect model value when updated in (onModelChange) | **I'm submitting a ...** (check one with "x")
```
[x] bug report
[ ] feature request
[ ] support request
```
**Current behavior**
```<input type="checkbox" [ngModel]="foo" (ngModelChange)="onChanges()" />```
Behaves exactly like:
```<input type="checkbox" (onChanges)="onChanges()" />```
The checkbox only reflects the model value when it is first rendered, but then becomes functionally equivalent to a checkbox without a binding. Manually detecting changes or using `setTimeout` inside `(ngModelChange)` does not work around this issue. The same workarounds _do_ work when used with `(click)`, but voids the use of `[ngModel]`.
**Expected behavior**
The logic in `onChanges` should run, and the view should then be updated to reflect the model's current value.
**Minimal reproduction of the problem with instructions**
http://plnkr.co/edit/g9niPnLsUy6wWbzm0mHi?p=preview
**What is the motivation / use case for changing the behavior?**
`[ngModel]` should always reflect the model value.
**Please tell us about your environment:**
Mac OS X Sierra, IntelliJ IDEA
* **Angular version:**
2.2.0
* **Browser:**
all
* **Language:** [all | TypeScript X.X | ES6/7 | ES5]
TypeScript 2.0.2
| type: bug/fix,freq1: low,area: forms,state: confirmed,forms: ngModel,P4 | medium | Critical |
191,367,451 | angular | DebugElement.queryAll can return results in different order than DOM. | <!--
IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING
-->
**I'm submitting a ...** (check one with "x")
```
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
```
**Current behavior**
DebugElements are returned from `DebugElement.queryAll()` in the same order they were first created in the `ViewContainer` regardless if they were moved by a structural directive like `NgFor`. If they were moved, then the order is out of sync with with the DOM.
**Expected behavior**
DebugElements should be returned from a query in the order they appear within the DOM. Order should be updated when underlying `ViewRef`s are moved around in a `ViewContainer`
**Minimal reproduction of the problem with instructions**
[Plunker Reproducing the Issue](http://plnkr.co/edit/Kp4GGtTqv5A60D1MjkNk?p=preview)
Running plunker will run tests that are almost identical to the unit tests for `NgFor`. Tests illustrate how adding and removing `ViewRef`s from a `ViewContainer` work as expected. Two tests illustrate how moving `ViewRef`s and using DebugElement to query for the moved items fails. Two tests illustrate how the DOM is in the correct order by using the native `querySelectorAll()` method.
**What is the motivation / use case for changing the behavior?**
DebugElements should be returned in the order they appear in the DOM when queried for.
**Please tell us about your environment:**
Windows 10 x64
* **Angular version:** 2.2.1 with angular-cli 1.0.0-beta.20-4 (plunker not at this version)
* **Browser:** all
* **Language:** Typescript
* **Node (for AoT issues):** `node --version` = 7.1.0
| type: bug/fix,area: testing,freq3: high,hotlist: google,P3 | low | Critical |
191,385,357 | rust | Rust distribution uses massive amount of storage space | I'm a school student trying to work with Rust on lab computers. Students have between 0.5 GB and 1.5 GB of storage space.
My `.multirust` folder looks like this:
```
cpaten2@teaching:~/.multirust$ du -h --threshold=5MB
192M ./toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib
192M ./toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu
192M ./toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib
356M ./toolchains/nightly-x86_64-unknown-linux-gnu/lib
12M ./toolchains/nightly-x86_64-unknown-linux-gnu/bin
368M ./toolchains/nightly-x86_64-unknown-linux-gnu
368M ./toolchains
368M .
```
Is any of this superfluous? As it is I'd have to delete everything else in my user account to get Rust to run. | E-hard,C-enhancement,T-bootstrap,E-needs-design | low | Major |
191,407,237 | flutter | Popping a nested MaterialApp fails | In the app that follows, tapping causes another copy of the same MaterialApp to be Naviagtor.pushed.
Tapping the system back button appears to cause the outermost Navigator to pop, which causes the initial route to be redisplayed. This is as expected, although nested MaterialApps aren't really the common case.
Tapping the AppBar back button, when depth > 1, causes the screen to go dark. This was not expected.
```dart
import 'package:flutter/material.dart';
class NestedMaterialApp extends StatelessWidget {
NestedMaterialApp({ this.depth });
final int depth;
@override
Widget build(BuildContext context) {
return new MaterialApp(
home: new SizedBox.expand(
child: new Builder(
builder: (BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text('NestedMaterialApp $depth'),
leading: depth == 0 ? null : new IconButton(
icon: new Icon(Icons.arrow_back),
alignment: FractionalOffset.centerLeft,
onPressed: () { Navigator.pop(context); },
),
),
body: new GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
Navigator.push(context, new MaterialPageRoute<Null>(
builder: (BuildContext context) {
return new NestedMaterialApp(depth: depth + 1);
},
));
},
child: new Container(
decoration: new BoxDecoration(
backgroundColor: Colors.indigo[100 + 100 * depth],
),
),
),
);
},
),
),
);
}
}
void main() {
runApp(new NestedMaterialApp(depth: 0));
}
```
| framework,f: routes,has reproducible steps,P3,team-framework,triaged-framework,found in release: 3.16,found in release: 3.18 | low | Major |
191,411,837 | youtube-dl | Not support http://video.caixin.com/2016-11-10/101006167.html | ```
proxychains4 youtube-dl -v http://video.caixin.com/2016-11-10/101006167.html
[proxychains] config file found: /usr/local/Cellar/proxychains-ng/4.7/etc/proxychains.conf
[proxychains] preloading /usr/local/Cellar/proxychains-ng/4.7/lib/libproxychains4.dylib
[proxychains] DLL init
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://video.caixin.com/2016-11-10/101006167.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.22
[proxychains] DLL init
[debug] Python version 2.7.9 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0.1-tessus
[debug] Proxy map: {}
[generic] 101006167: Requesting header
[proxychains] Strict chain ... 127.0.0.1:1080 ... video.caixin.com:80 ... OK
WARNING: Falling back on generic information extractor.
[generic] 101006167: Downloading webpage
[proxychains] Strict chain ... 127.0.0.1:1080 ... video.caixin.com:80 ... OK
[generic] 101006167: Extracting information
ERROR: Unsupported URL: http://video.caixin.com/2016-11-10/101006167.html
```
I found a m3u8 url using developer tools
```
http://101.69.135.251/234/42/31/bcloud/800957/ver_00_22-1072044892-avc-938269-aac-77375-11614240-1490692133-5876c859ec209c280c24ddb8dd3c87eb-1478766957606.m3u8?crypt=79aa7f2e1154&b=1026&nlh=4096&nlt=60&bf=90&p2p=1&video_type=mp4&termid=1&tss=ios&platid=2&splatid=207&its=0&qos=5&fcheck=0&amltag=59888&mltag=59888&proxy=1699055385,1699073726,467476968&uid=1698983025.rp&keyitem=GOw_33YJAAbXYE-cnQwpfLlv_b2zAkYctFVqe5bsXQpaGNn3T1-vhw..&ntm=1479966600&nkey=41e3f95f543d32d20c665c83c0f4689e&nkey2=629a08547753575bae83c59311a3f3d1&geo=CN-11-143-2&mmsid=212593520&tm=1479948543643&key=58d94f80f21d9c79333bb7c9168b1dd8&payff=0&cuid=800957&vtype=28&dur=11614&p1=3&p2=30&p3=300&cf=flash&p=101&playid=0&tag=flash&sign=bcloud_800957&pay=0&ostype=windows&hwtype=un&ctv=pc&m3v=1&ch=800957&tn=0.5598899112083018&uuid=D400F53BC9369C002A13C58B4621A4EF29028F14&vid=37387402&rateid=27&errc=0&gn=1198&vrtmcd=102&buss=59888&cips=101.68.108.113
```
```
proxychains4 youtube-dl -v http://101.69.135.251/234/42/31/bcloud/800957/ver_00_22-1072044892-avc-938269-aac-77375-11614240-1490692133-5876c859ec209c280c24ddb8dd3c87eb-1478766957606.m3u8?crypt=79aa7f2e1154&b=1026&nlh=4096&nlt=60&bf=90&p2p=1&video_type=mp4&termid=1&tss=ios&platid=2&splatid=207&its=0&qos=5&fcheck=0&amltag=59888&mltag=59888&proxy=1699055385,1699073726,467476968&uid=1698983025.rp&keyitem=GOw_33YJAAbXYE-cnQwpfLlv_b2zAkYctFVqe5bsXQpaGNn3T1-vhw..&ntm=1479966600&nkey=41e3f95f543d32d20c665c83c0f4689e&nkey2=629a08547753575bae83c59311a3f3d1&geo=CN-11-143-2&mmsid=212593520&tm=1479948543643&key=58d94f80f21d9c79333bb7c9168b1dd8&payff=0&cuid=800957&vtype=28&dur=11614&p1=3&p2=30&p3=300&cf=flash&p=101&playid=0&tag=flash&sign=bcloud_800957&pay=0&ostype=windows&hwtype=un&ctv=pc&m3v=1&ch=800957&tn=0.5598899112083018&uuid=D400F53BC9369C002A13C58B4621A4EF29028F14&vid=37387402&rateid=27&errc=0&gn=1198&vrtmcd=102&buss=59888&cips=101.68.108.113
[1] 1636
[2] 1637
[3] 1638
[4] 1639
[5] 1640
[6] 1641
[7] 1642
[8] 1643
[9] 1644
[10] 1645
[11] 1646
[12] 1647
[13] 1648
[14] 1649
[15] 1650
[16] 1651
[17] 1652
[18] 1653
[19] 1654
[20] 1655
[21] 1656
[22] 1657
[23] 1658
[24] 1659
[25] 1660
[26] 1661
[27] 1662
[28] 1663
[29] 1664
[30] 1665
[31] 1666
[proxychains] config file found: /usr/local/Cellar/proxychains-ng/4.7/etc/proxychains.conf
[proxychains] preloading /usr/local/Cellar/proxychains-ng/4.7/lib/libproxychains4.dylib
[32] 1667
[33] 1668
[34] 1669
[35] 1670
[36] 1671
[37] 1672
[38] 1673
[39] 1674
[40] 1675
[41] 1676
[42] 1677
[43] 1678
[44] 1679
[45] 1680
[46] 1681
[47] 1682
[48] 1683
[49] 1684
[50] 1685
[51] 1686
[52] 1687
[2] Done b=1026
[3] Done nlh=4096
[4] Done nlt=60
[5] Done bf=90
[6] Done p2p=1
[7] Done video_type=mp4
[8] Done termid=1
[9] Done tss=ios
[10] Done platid=2
[11] Done splatid=207
[12] Done its=0
[13] Done qos=5
[14] Done fcheck=0
[15] Done amltag=59888
[16] Done mltag=59888
[17] Done proxy=1699055385,1699073726,467476968
[18] Done uid=1698983025.rp
[19] Done keyitem=GOw_33YJAAbXYE-cnQwpfLlv_b2zAkYctFVqe5bsXQpaGNn3T1-vhw..
[20] Done ntm=1479966600
[21] Done nkey=41e3f95f543d32d20c665c83c0f4689e
[22] Done nkey2=629a08547753575bae83c59311a3f3d1
[23] Done geo=CN-11-143-2
[24] Done mmsid=212593520
[25] Done tm=1479948543643
[26] Done key=58d94f80f21d9c79333bb7c9168b1dd8
[27] Done payff=0
[28] Done cuid=800957
[29] Done vtype=28
[30] Done dur=11614
[31] Done p1=3
[32] Done p2=30
[33] Done p3=300
[34] Done cf=flash
[35] Done p=101
[36] Done playid=0
[37] Done tag=flash
[38] Done sign=bcloud_800957
[39] Done pay=0
[40] Done ostype=windows
[41] Done hwtype=un
[42] Done ctv=pc
[43] Done m3v=1
[44] Done ch=800957
[45] Done tn=0.5598899112083018
[46] Done uuid=D400F53BC9369C002A13C58B4621A4EF29028F14
[47] Done vid=37387402
[48] Done rateid=27
[49] Done errc=0
[50] Done gn=1198
[51] Done vrtmcd=102
[proxychains] DLL init
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://101.69.135.251/234/42/31/bcloud/800957/ver_00_22-1072044892-avc-938269-aac-77375-11614240-1490692133-5876c859ec209c280c24ddb8dd3c87eb-1478766957606.m3u8?crypt=79aa7f2e1154']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.22
[proxychains] DLL init
[debug] Python version 2.7.9 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0.1-tessus
[debug] Proxy map: {}
[generic] ver_00_22-1072044892-avc-938269-aac-77375-11614240-1490692133-5876c859ec209c280c24ddb8dd3c87eb-1478766957606: Requesting header
[proxychains] Strict chain ... 127.0.0.1:1080 ... 101.69.135.251:80 ... OK
WARNING: Could not send HEAD request to http://101.69.135.251/234/42/31/bcloud/800957/ver_00_22-1072044892-avc-938269-aac-77375-11614240-1490692133-5876c859ec209c280c24ddb8dd3c87eb-1478766957606.m3u8?crypt=79aa7f2e1154: HTTP Error 403: Forbidden
[generic] ver_00_22-1072044892-avc-938269-aac-77375-11614240-1490692133-5876c859ec209c280c24ddb8dd3c87eb-1478766957606: Downloading webpage
[proxychains] Strict chain ... 127.0.0.1:1080 ... 101.69.135.251:80 ... OK
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError());
``` | site-support-request | low | Critical |
191,420,835 | youtube-dl | Unable to download http://aplus.com/'s videos. | Example:
$ youtube-dl http://aplus.com/a/interview-blue-man-group-co-founder-phil-stanton
[generic] interview-blue-man-group-co-founder-phil-stanton: Requesting header
WARNING: Falling back on generic information extractor.
[generic] interview-blue-man-group-co-founder-phil-stanton: Downloading webpage
[generic] interview-blue-man-group-co-founder-phil-stanton: Extracting information
ERROR: Unsupported URL: http://aplus.com/a/interview-blue-man-group-co-founder-phil-stanton
(SopelPython3)ant@ANTian:~/Downloads/bmg$ youtube-dl -v http://aplus.com/a/interview-blue-man-group-co-founder-phil-stanton
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://aplus.com/a/interview-blue-man-group-co-founder-phil-stanton']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.22
[debug] Python version 3.4.2 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.6
[debug] exe versions: ffmpeg 3.2-2, ffprobe 3.2-2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] interview-blue-man-group-co-founder-phil-stanton: Requesting header
WARNING: Falling back on generic information extractor.
[generic] interview-blue-man-group-co-founder-phil-stanton: Downloading webpage
[generic] interview-blue-man-group-co-founder-phil-stanton: Extracting information
ERROR: Unsupported URL: http://aplus.com/a/interview-blue-man-group-co-founder-phil-stanton
Traceback (most recent call last):
File "/home/ant/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2443, in _real_extract
raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: http://aplus.com/a/interview-blue-man-group-co-founder-phil-stanton
Thank you in advance. :) | site-support-request | low | Critical |
191,626,558 | rust | Test cross compilation with `proc-macro` crates | In particular, test #37899. | C-enhancement,E-needs-test,A-cross | low | Major |
191,641,875 | kubernetes | Allow for serving GET operation from cache if user explicitly opt-in for it | Currently, if you are sending "LIST" request to apiserver, depending on the "ResourceVersion" field value:
https://github.com/kubernetes/kubernetes/blob/8ef325643490274f8639ea1bee8c7718b316e839/pkg/api/v1/types.go#L3247
the request will be served:
- from etcd if it is not set
- from apiserver cache, if it is set with a guarantee that the returned result is at least as fresh as the "RV" passed as parameter.
Serving request from etcd is a default behavior, but if client can tolerate a bit unfresh data (e.g. if the list is just a starting point for a watch), then it can opt-in for listing from apiserver cache. This mechanism is used e.g. in the reflector/informer framework and is significant optimization for the system.
We should allow for exactly the same for "GET" operations.
@lavalamp @kubernetes/sig-api-machinery | sig/scalability,sig/api-machinery,lifecycle/frozen | medium | Major |
191,747,263 | TypeScript | support customisable externalHelpersModuleNameText for --importHelpers flag | **TypeScript Version:** 2.1.1
Currently we can use `--noEmitHelpers` with `--importHelpers` to mitigate generation of bloated code in ever file which uses TS helpers ( `extends`, `decorate` ... etc ).
To make this work, currently only official [`tslib`](https://github.com/Microsoft/tslib) is supported which is [hardcoded here](https://github.com/Microsoft/TypeScript/blob/master/src/compiler/utilities.ts#L5)
if I wanna override any of these helpers I cannot use `--importHelpers`, instead I need to import whole `tslib` and override helpers that I need before any code in app is executed, which is not very convenient, like here:
```ts
import 'tslib';
// Babel implementation of _inherits
function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true
}
});
if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
}
(window as any).__extends = _inherits;
```
What I would like to have is flag in `compilerOptions` for setting node_module library name which should be used for `--importHelpers`.
Something like:
`npm install --save my-tslib`
```json
{
"compilerOptions": {
"module": "es2105",
"target": "es5",
"noEmitHelpers": true,
"importHelpers": true,
"importHelpersLibrary": "my-tslib"
}
}
```
```ts
// Hello.tsx
import * as React from 'react';
class Hello extends React.Component {}
```
will compile to:
```js
// Hello.jsx
import * as tslib_1 from 'my-tslib';
import * as React from 'react';
var Hello = (function (_super) {
tslib_1.__extends(Counter, _super);
function Counter() {
var _this = _super.apply(this, arguments) || this;
return _this;
}
return Hello;
}(React.Component));
```
This will also help to support libraries like skate.js and use for instance Babel `extends` behaviour to make it work https://github.com/skatejs/skatejs/issues/936 | Suggestion,In Discussion | low | Critical |
191,779,003 | vscode | [folding] retain folded state on copy/paste | - VSCode Version:1.7.2
- OS Version:WIN 10 14931
It is recommended to support folding of the code snippet also retain its folded format | feature-request,editor-folding | high | Critical |
191,780,842 | go | net/http: client.Do should mask EOF as ErrUnexpectedEOF | ```go
func Test(t *testing.T) {
server := httptest.NewServer(
http.HandlerFunc(
func(w http.ResponseWriter, r *http.Request) {
rwc, _, _ := w.(http.Hijacker).Hijack()
defer rwc.Close()
},
),
)
defer server.Close()
_, err := http.Get(server.URL)
if err != nil {
t.Fatalf("GET returned error: %v", err)
}
}
```
The preceding test prints `GET returned error: EOF`, which is strange since `io.EOF` is often an "error" signaling normal termination of some stream. Instead, `Do` should mask the error as `io.ErrUnexpectedEOF`, which is more indicative of an abrupt termination. | NeedsFix | low | Critical |
191,787,282 | go | net: document PacketConn IO operations in relation to packet sizes | The current phrasing on `PacketConn.ReadFrom` and `PacketConn.WriteTo` is:
> ReadFrom reads a packet from the connection, copying the payload into b. It returns the number of bytes copied into b and the return address that was on the packet. ReadFrom can be made to time out and return an Error with Timeout() == true after a fixed time limit; see SetDeadline and SetReadDeadline.
and
> WriteTo writes a packet with payload b to addr. WriteTo can be made to time out and return an Error with Timeout() == true after a fixed time limit; see SetDeadline and SetWriteDeadline. On packet-oriented connections, write timeouts are rare.
What is the expected behavior of `ReadFrom` when the buffer provided is not large enough to read the entire packet? Does the remaining payload get dropped? Does the next call to `ReadFrom` finish off the packet?
On the flip-side, what happens when the buffer provided to `WriteTo` is larger than the MTU. Should the method implicitly chunk the input into multiple packet-sized chunks?
\cc @mikioh | Documentation,help wanted,NeedsFix | low | Critical |
191,790,168 | youtube-dl | Site Request: Video reviews of Amazon.com products |
- [X] I've **verified** and **I assure** that I'm running youtube-dl **2016.11.22**
- [X] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [X] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones
- [X] Site support request (request for adding support for a new site)
```
youtube-dl -v https://www.amazon.com/review/R2FXL7PRZNKELM/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.amazon.com/review/R2FXL7PRZNKELM/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.22
[debug] Python version 2.7.12 - Linux-4.4.0-47-generic-x86_64-with-LinuxMint-18-sarah
[debug] exe versions: avconv 2.8.8-0ubuntu0.16.04.1, avprobe 2.8.8-0ubuntu0.16.04.1, ffmpeg 2.8.8-0ubuntu0.16.04.1, ffprobe 2.8.8-0ubuntu0.16.04.1
[debug] Proxy map: {}
[generic] R2FXL7PRZNKELM: Requesting header
WARNING: Could not send HEAD request to https://www.amazon.com/review/R2FXL7PRZNKELM/: HTTP Error 405: MethodNotAllowed
[generic] R2FXL7PRZNKELM: Downloading webpage
WARNING: Falling back on generic information extractor.
[generic] R2FXL7PRZNKELM: Extracting information
ERROR: Unsupported URL: https://www.amazon.com/review/R2FXL7PRZNKELM/
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1636, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2515, in _XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 14, column 37
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2443, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.amazon.com/review/R2FXL7PRZNKELM/
```
---
### 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.amazon.com/review/R2FXL7PRZNKELM/
---
### Description of your *issue*, suggested solution and other information
I'd like to download videos of Amazon product reviews. :+1: :tada: :v: :video_camera: | site-support-request | low | Critical |
191,795,080 | flutter | Need better testing of hot reload | Given the hot reload breakage over this extended weekend and the impact it had on our users (see conversations in gitter, e.g.), we need to up our game in testing hot reload. I believe this is somewhat important to do sooner rather than later.
Specifically:
- [ ] test that hot reload works end-to-end on iOS
- [x] test that hot reload works end-to-end on Android
The end-to-end tests need to:
- [ ] run `flutter create`
- [x] run `flutter run`
- [ ] verify that the app actually ran and works (by tapping a button and verifying that it increments the counter by one)
- [ ] edit the file to do something different (e.g. increment the counter by ten)
- [x] hot reload (`r`)
- [ ] verify that the app still runs and that the change took effect (by tapping a button and verifying that it increments the counter by ten)
- [ ] do a restart (`R`)
- [ ] verify that the app still runs and that the change is still in effect (by tapping a button and verifying that it increments the counter by ten)
- [ ] kill the `flutter` tool (^C)
- [x] run `flutter run`
- [ ] verify that the app still runs and that the change is still in effect (by tapping a button and verifying that it increments the counter by ten)
cc @johnmccutchan, @yjbanov, @abarth, @eseidel
| a: tests,team,tool,t: hot reload,P2,team-tool,triaged-tool | low | Major |
191,830,464 | youtube-dl | Site Request: ITProTV | ## 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.11.22*. 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.11.22**
### 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 https://itpro.tv/course-library/vmware-certified-professional-6-vcp6dcv/upgrading-vsphere-6-2/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://itpro.tv/course-library/vmware-certified-professional-6-vcp6dcv/upgrading-vsphere-6-2/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.11.22
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: none
[debug] Proxy map: {}
[generic] upgrading-vsphere-6-2: Requesting header
WARNING: Falling back on generic information extractor.
[generic] upgrading-vsphere-6-2: Downloading webpage
[generic] upgrading-vsphere-6-2: Extracting information
ERROR: Unsupported URL: https://itpro.tv/course-library/vmware-certified-professional-6-vcp6dcv/upgrading-vsphere-6-2/
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0yt5fyka\build\youtube_dl\YoutubeDL.py", line 694, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0yt5fyka\build\youtube_dl\extractor\common.py", line 357, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0yt5fyka\build\youtube_dl\extractor\generic.py", line 2443, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://itpro.tv/course-library/vmware-certified-professional-6-vcp6dcv/upgrading-vsphere-6-2/
...
<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://player.vimeo.com/video/100816669?api=1&player_id=vimeoplayer
- Single video: https://player.vimeo.com/video/100816670?api=1&player_id=vimeoplayer
---
### Description of your *issue*, suggested solution and other information
site request for itpro.tv,
i would like to request support for itpro.tv since i would like to have an cli based support for downloading videos from the site when i dont have good internet speeds or i would like to archive the videos to an remote server. currently itpro.tv needs an paid account to download videos, you can signup for an trial account using the code TWIT30 when signing up. they currently use two sources for video urls jw player and vimeo. the jw player links expire after 24 hours while the Vimeo links do not.
you can download an Vimeo video using the following youtube-dl command, youtube-dl -v "https://player.vimeo.com/video/170683353?api=1&player_id=vimeoplayer" --referer "https://itpro.tv/"
or youtube-dl -v "https://player.vimeo.com/video/170683353?api=1&player_id=vimeoplayer" --referer "https://itpro.tv/" --external-downloader aria2c --external-downloader-args='--max-connection-per-server=16 --split=20'
ITProTV provides the connection for self-study users and the real world experience that career IT people need to be successful. Because our shows are available Live everyday our content portfolio stays fresh and current. We are always covering the latest information of each topic geared toward I.T. candidates who desire to validate their skills/knowledge through vendor certification exams.
Thanks
Dedsec1
| site-support-request,account-needed | low | Critical |
191,877,556 | youtube-dl | Feature request: separate options for output file name and output directory | ## 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.11.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.11.27**
### Before submitting an *issue* make sure you have:
- [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones
### What is the purpose of your *issue*?
- [ ] Bug report (encountered problems with youtube-dl)
- [ ] 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*
---
### Description of your *issue*, suggested solution and other information
I use a youtube-dl.conf file with something like `--output "~/The_Usual_Directory/%(title)s.%(ext)s"`. However, sometimes, I want to change the output directory to another one while keeping the same file name template. In order to do this, I have to type out `--output "~/Some_Other_Directory/%(title)s.%(ext)s"`, which is annoying because remembering the template part is difficult, and I usually have to copy and paste out of my youtube-dl.conf and then change the path. This would be easier if there were separate options for the file name and destination directory, in which case I could just type something like `--outdir ~/Some_Other_Directory`. Since obviously the `--output` option is also useful in some cases, I'm not suggesting removing it, but rather providing an alternate way to set it. The semantics of which one takes priority in the case where both are provided would be important, though. It would have to be chosen so that command-line options override the config file, but if `--output` is used in the config file and then `--outdir` is used on the command line, the file name (sans directory path) given in the config file would still be used with the new output directory. So for example `youtube-dl --output ~/Dir1/file.mp4 --outdir ~/Dir2` should output to `~/Dir2/file.mp4`.
I understand if this is ultimately too complicated to justify the effort, but I think it would be a nice feature to have. | request | low | Critical |
191,878,546 | nvm | Create .bashrc automatically if bash found? | May I send a PR to enable it if no profile been detected but detected bash installed? Thanks. | installing nvm: profile detection | low | Minor |
191,879,305 | rust | index out of bound in slice not caught at compilation | Hi! I'm just learning Rust! I saw this odd behavior, where the compiler will nicely tell me that an index in an array is impossible at compile time, but won't tell me that an index in a slice of known size is also impossible.
I thought I'd share.
This fails at compile time:
```rust
let y = [1];
println!("y={}", y[1]);
```
This fails at runtime:
```rust
let y = [1];
println!("y={}", &y[0..1][1]);
```
Would be cool if `&y[0..1][1]` also failed at compile time. | A-diagnostics,T-compiler,C-feature-request,A-mir-opt | low | Critical |
191,887,857 | rust | Optimize iterator chains better | The iterator adaptor `.chain()` and similar code uses a state flag that changes mid-loop; the compiler should recognize this and try to split it into two consecutive loops if possible.
Reproduction in code [(playground)](https://play.rust-lang.org/?gist=cbeda98c191140c030a174af63e6e713&version=nightly&backtrace=1)
```rust
pub fn visit_both(a: &[u32], b: &[u32], f: fn(u32)) {
for &elt in chain(a, b) {
f(elt)
}
}
/// this is a simplified version of std::iter::Chain
pub struct Chain<I> { front: bool, a: I, b: I }
fn chain<I>(a: I, b: I) -> Chain<I::IntoIter> where I: IntoIterator {
Chain { front: true, a: a.into_iter(), b: b.into_iter() }
}
impl<I> Iterator for Chain<I> where I: Iterator {
type Item = I::Item;
fn next(&mut self) -> Option<Self::Item> {
if self.front {
if let elt @ Some(_) = self.a.next() {
return elt;
}
self.front = false;
}
self.b.next()
}
}
```
# Actual Behaviour
There is only one `call` instruction in `visit_both`'s generated code, indicating the loop was not split.
# Expected Behaviour
Generated code should be more similar to two consecutive loops. | I-slow,C-enhancement,T-compiler | low | Major |
191,920,404 | rust | rustdoc: stabilize `--playground-url` and deprecate `--markdown-playground-url` | cc https://github.com/rust-lang/rust/pull/37763 https://github.com/rust-lang/rust/pull/37911 | T-rustdoc,C-feature-request | low | Minor |
191,946,966 | angular | i18n ignore leading and trailing spaces | <!--
IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING
-->
**I'm submitting a ...** (check one with "x")
```
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
```
**Current behavior**
<!-- Describe how the bug manifests. -->
now ng-xi18n will generate xliff including spaces, for example there is an element
```
<p i18n>
复制
</p>
```
it will generate
```xml
<source>
复制
</source>
```
it's really weak to rely on spaces since they could changed Unintentionally or even by IDE reformat code.
**Expected behavior**
<!-- Describe what the behavior would be without the bug. -->
ignore leading and tailing spaces
| feature,state: Needs Design,area: i18n,feature: under consideration | high | Critical |
191,968,209 | go | cmd/asm/internal/asm: add encoding tests for all architectures | At tip as of Nov 28, 2016: The end-to-end tests in cmd/asm/internal/asm/testdata are much weaker than they used to be. I have vague memories of a change someone (Russ?) made there, but now for most architectures all that is tested is the parse, not the result of the parse. These tests should be verifying that the assembler produces correct output, not just that it accepts valid input.
| NeedsFix | low | Major |
191,969,355 | neovim | :terminal - enable folding | - `nvim --version`: NVIM v0.2.0-1-g9956bee
- Operating system/version: macOS 10.12.1 (16B2555)
- Terminal name/version: iTerm2
- `$TERM`: screen-256color (tmux)
While searching for more uses for the terminal buffer I stumbled upon the fact that you can't use folds inside of it.
I'm currently running a watch command inside of a term buffer:
find . | entr -c sh -c 'python3 sun.py | json_pp'
It reruns my script if anything changes and pretty prints some json. With `:set filetype=json` I even get syntax highlighting while at the same time making it very easy to work with the output (neovim is amazing!).
Now I would like to fold the output of each run so I can easily find, distinguish and jump between them.
With `:set foldmethod=marker` and the default marker `{{{,}}}` something like:
find . | entr -c sh -c 'date | tr "\n" " "; echo {{{; python3 sun.py | json_pp; echo }}}'
Same output as before but wrapped in a fold with the current date and time as a label. I have tested it in a regular buffer and there it works as expected.
Another use case: If you add the marker to your shell's prompt you could even collapse the output of every single command.
Or you could change the foldmarker to `{,}` and fold json directly. | enhancement,terminal,folds | low | Minor |
192,093,521 | go | database/sql: support tracing queries | The database now supports passing context to query methods and to the drivers.
Look into supporting some sort of trace functionality for the sql package. | NeedsInvestigation | high | Critical |
192,095,812 | TypeScript | Provide Format Options for JSX/TSX End of Tag Placement | From https://github.com/Microsoft/vscode/issues/16018 @VanishingDante
For the following JSX/TSX code:
```jsx
<div
>
<img
/>
</div>
```
The current formatting settings do nothing. There does not seem to be a way to control how the ending `>` is placed on lines.
We would like an additional formatting setting so that we can format the above code as:
```jsx
<div>
<img />
</div>
```
This formatting option would be helpful for elements with many attributes. | Suggestion,Help Wanted,Domain: Formatter,VS Code Tracked | low | Minor |
192,179,562 | go | net/smtp: in smtp.go, c.cmd(501, "*") takes long for server to respond. |
### What version of Go are you using (`go version`)?
go version go1.7.3 linux/amd64
### What operating system and processor architecture are you using (`go env`)?
GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build126580691=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
### What did you do?
I tried to establish a tls connection to an smtp server and call client.Auth to authenticate, code may look like this:
```
conn, _ := tls.Dial("tcp", host+":"+port, nil)
client, _ := smtp.NewClient(conn, host)
err := client.Auth(smtp.PlainAuth("", user, password, host))
```
### What did you see instead?
When the incorrect username/password is provided the function Auth took 1 minute to return. I found it was due to this line:
https://github.com/golang/go/blob/master/src/net/smtp/smtp.go#L221
that the client tries to send "*" to server and expects "501" which is "Syntax Error", it took very long for server to respond. If I comment this line and rebuild. I can get the error very quickly.
Could anyone let me know why is this line necessary? And is it common the server took 1 minute to respond "*"? | help wanted,NeedsInvestigation | low | Critical |
192,202,725 | flutter | TextPainter.paint should talk about the offset and how it's affected by textAlign | ...and layout() should probably be more elaborate about what the minimum width does, again in particular with respect to textAlign. | framework,d: api docs,has reproducible steps,P3,team-framework,triaged-framework,found in release: 3.16,found in release: 3.19 | low | Minor |
192,232,144 | go | proposal: add Validate functions to image/jpeg, image/png etc. | (This is inspired by [this Russian StackOverflow question](http://ru.stackoverflow.com/questions/597009/%d0%9f%d1%80%d0%be%d0%b2%d0%b5%d1%80%d0%ba%d0%b0-%d0%b7%d0%b0%d0%b3%d1%80%d1%83%d0%b6%d0%b5%d0%bd%d0%bd%d1%8b%d1%85-%d1%84%d0%b0%d0%b9%d0%bb%d0%be%d0%b2-%d0%b2-golang) about image validation in Go.)
As of Go 1.7.3 there is no way to know if a file is actually a valid JPEG or PNG image without loading it into an `image.Image`, which causes a lot of unnecessary allocations. There are `DecodeConfig` functions, but they don't read the whole image, so a file might be valid in its first bytes but then containing either garbage or something malicious.
This proposal is for discussion about whether it's possible and practical to provide `Validate(r io.Reader) error` functions in `image/*` packages that would read the file, validate it, but not store it. | Proposal,Proposal-Hold | low | Critical |
192,282,868 | youtube-dl | windows 7 x64 problem? | hello
im using youtube-dl with sinusbot for teamspeak.
this worked very nice for a long time - until 2-3 months now?
so i updated to the lastest binaries and it gave me this error on windows 7 x64 if i try to run.

if also checked here some older versions..
http://www.videohelp.com/software/youtube-dl/old-versions
some of them dont give me this error on start but they seam to be outdated and does not download anything. the last ~15 binaries give me the same error on start ..
i read all the readme and faq, all win-updates and ddl incl. msvcr100 are up2date.
also ive checked on win10 x64.. the lastest binaries are working without any problem - so is there a win7x64 problem since the last ~15 binaries?
thanks!
| cant-reproduce | low | Critical |
192,298,159 | rust | `where` clause shadows information about higher `impl`s | It appears that the typechecker, on encountering a `where` clause, will assume the `impl` information given in the `where` bound and stop looking for `impl`s, thus missing additional information that may be available about the `impl` outside the item.
For example, this code doesn't typecheck:
```rust
pub trait Id { type Id; }
impl<T> Id for T { type Id = T; }
pub fn foo<A>(a: A) -> <A as Id>::Id
where A: Id
{ a }
```
giving the error:
```
hkt-mwe.rs:6:3: 6:4 error: mismatched types [E0308]
hkt-mwe.rs:6 { a }
^
hkt-mwe.rs:6:3: 6:4 help: run `rustc --explain E0308` to see a detailed explanation
hkt-mwe.rs:6:3: 6:4 note: expected type `<A as Id>::Id`
hkt-mwe.rs:6:3: 6:4 note: found type `A`
```
but the same code without the `where`-bound, which should be entirely redundant since it provides only information already known to the type-checker, compiles.
This makes putting emulated HKTs into traits difficult, as a type that depends on such a thing must have a `where` clause in the trait that, though redundant, must appear in the `impl` to avoid E0195.
Edit: Current error:
```
error[[E0308]](https://doc.rust-lang.org/stable/error_codes/E0308.html): mismatched types
--> src/lib.rs:6:3
|
4 | pub fn foo<A>(a: A) -> <A as Id>::Id
| - ------------- expected `<A as Id>::Id` because of return type
| |
| this type parameter
5 | where A: Id
6 | { a }
| ^ expected associated type, found type parameter `A`
|
= note: expected associated type `<A as Id>::Id`
found type parameter `A`
help: consider further restricting this bound
|
5 | where A: Id + Id<Id = A>
| ++++++++++++
For more information about this error, try `rustc --explain E0308`.
error: could not compile `playground` due to previous error
``` | A-type-system,T-compiler,C-bug,T-types | low | Critical |
192,305,199 | angular | valueChanges observable on AbstractControl emits events before its parent's value has changed. | **I'm submitting a ...** (check one with "x")
```
[x] bug report
[ ] feature request
[ ] support request
```
**Current behavior**
When subscribing to valueChanges, and then changing the value via the UI, the form control's PARENT's value is not up to date. For example, if my form control starts with a value of 0 and I input 25:
```ts
myFormGroup.get('length').valueChanges.subscribe(value => {
// value = 25
// myFormGroup.value = { length: 0 }
}
```
**Expected behavior**
I expect the emit event to occur after the value of the control has propagated to its ancestors:
```ts
myFormGroup.get('length').valueChanges.subscribe(value => {
// value = 25
// myFormGroup.value = { length: 25 }
}
```
Interestingly enough, adding a debounceTime(0) fixes the problem, but I feel that this should not be necessary.
```ts
myFormGroup.get('length').valueChanges.debounceTime(0).subscribe(value => {
// value = 25
// myFormGroup.value = { length: 25 }
}
```
**Minimal reproduction of the problem with instructions**
http://plnkr.co/edit/o8N09MfJQIOSacx0N7uI?p=preview
This plunker shows a demo of the problem. Notice that the forms value is always one step behind its child control.
**What is the motivation / use case for changing the behavior?**
I want to access the form group's value from other places after the valueChanges event occurs WITHOUT passing the emitted value around. Besides, the form as a whole should always be in sync with itself.
**Please tell us about your environment:**
<!-- Operating system, IDE, package manager, HTTP server, ... -->
Mac OS X El Capitan, VS Code, npm
* **Angular version:** 2.1.1
* **Browser:** [all]
* **Language:** [all]
| area: forms,forms: Controls API,P5 | medium | Critical |
192,388,526 | TypeScript | Standard package.json key for .ts files | A common TypeScript module structure looks like this:
```
src/index.ts
dist/index.js
dist/index.d.ts
```
and a `package.json` that looks like this:
```json
"main": "dist/index.js",
"types": "dist/index.d.ts",
```
There's a convention to [use the package.json key `jsnext:main`](https://github.com/rollup/rollup/wiki/jsnext:main) to point to a variant of `main` that uses ES2015 module syntax. Can we develop a similar convention to point at `.ts` files, e.g. `typescript:main`?
Consider a TypeScript project that is sharded across many microlibraries (e.g. `my-project-core`, `my-project-thing-plugin`, `my-project-other-thing-plugin`). I'd like to be able to configure my bundler to import from `src/*.ts` files for any module whose name starts with `my-project`. Otherwise, it will be looking in `dist/*.js` and I'll have to rebuild the plugins any time I make changes in them.
Of course, I could use `jsnext:main` for this purpose now, but any consumers who aren't using TypeScript would get syntax errors for any files that contained TS-specific syntax like types. Similarly, I could make up my own package.json key and configure my bundler to look there first, but it behooves the community to have a convention here. That will allow bundlers like Webpack, Browserify, Rollup, and Pundle to look in the right place by default. | Suggestion,Community Tooling,Awaiting More Feedback | medium | Critical |
192,429,417 | rust | Nested associated type projection is overly conservative | The following setup
```rust
trait OneTrait {
type Ty: AnotherTrait;
fn project() -> Self::Ty::Out;
}
trait AnotherTrait {
type Out;
}
```
produces the error
```
rustc 1.13.0 (2c6933acc 2016-11-07)
error[E0223]: ambiguous associated type
--> <anon>:3:17
|
3 | fn bar() -> Self::Bar::Out;
| ^^^^^^^^^^^^^^ ambiguous associated type
|
= note: specify the type using the syntax `<<Self as Foo>::Bar as Trait>::Out`
```
It would be great for the less explicit projection to work here.
cc @nikomatsakis | A-trait-system,T-compiler,C-bug | high | Critical |
192,536,832 | opencv | OpenCV 3 Windows Installer 32-bit | ##### System information (version)
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
##### Detailed description
I really like your distributed binaries, but need the 32 bit version. I would really like to see 32 bit versions distributed with your windows installer for OpenCV version 3 (as it was the case for version 2).
| RFC | low | Minor |
192,680,554 | go | plugin: using stdlib package plugin from c-archive package doesn't work as expected | Please answer these questions before submitting your issue. Thanks!
### What version of Go are you using (`go version`)?
`go version devel +5d1b53a Wed Nov 30 19:46:00 2016 +0000 linux/amd64`
### What operating system and processor architecture are you using (`go env`)?
```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/erwo/golang-plugin"
GORACE=""
GOROOT="/home/erwo/go-devel"
GOTOOLDIR="/home/erwo/go-devel/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build451133793=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
```
### What did you do?
Wrote a main package to be used as c-archive within a c host app, which uses stdlib package plugin to load other go plugins.
https://github.com/erwo42/golang-plugin
Just run from within a workdir of above repo
```
go build -buildmode=plugin testplugin
go build -buildmode=c-archive indirect_with_c
gcc -o indirect_with_c c_host_app.c indirect_with_c.a -ldl -lpthread
./indirect_with_c
```
### What did you expect to see?
```
Yay!
```
### What did you see instead?
```
fatal error: runtime: no plugin module data
goroutine 17 [running, locked to thread]:
runtime.throw(0x4a9ba3, 0x1e)
/home/erwo/go-devel/src/runtime/panic.go:596 +0x97 fp=0xc42003ca70 sp=0xc42003ca50
plugin.lastmoduleinit(0xebe420, 0xc42000e028, 0xebf460, 0x26, 0x766f00)
/home/erwo/go-devel/src/runtime/plugin.go:13 +0xc27 fp=0xc42003cba0 sp=0xc42003ca70
plugin.open(0x4a6a5f, 0xd, 0x0, 0x0, 0x0)
/home/erwo/go-devel/src/plugin/plugin_dlopen.go:72 +0x25f fp=0xc42003cde0 sp=0xc42003cba0
plugin.Open(0x4a6a5f, 0xd, 0x0, 0x2, 0x3)
/home/erwo/go-devel/src/plugin/plugin.go:30 +0x37 fp=0xc42003ce18 sp=0xc42003cde0
main.RunGoPlugin()
/home/erwo/golang-plugin/src/indirect_with_c/indirect_with_c.go:12 +0x52 fp=0xc42003cea8 sp=0xc42003ce18
main._cgoexpwrap_8c4bdecea134_RunGoPlugin()
indirect_with_c/_obj/_cgo_gotypes.go:45 +0x16 fp=0xc42003ceb0 sp=0xc42003cea8
runtime.call32(0x0, 0x7fff7c9c1108, 0x7fff7c9c11af, 0x0)
/home/erwo/go-devel/src/runtime/asm_amd64.s:501 +0x4a fp=0xc42003cee0 sp=0xc42003ceb0
runtime.cgocallbackg1(0x0)
/home/erwo/go-devel/src/runtime/cgocall.go:297 +0x1a1 fp=0xc42003cf58 sp=0xc42003cee0
runtime.cgocallbackg(0x0)
/home/erwo/go-devel/src/runtime/cgocall.go:184 +0x86 fp=0xc42003cfc0 sp=0xc42003cf58
runtime.cgocallback_gofunc(0x0, 0x0, 0x0, 0x0)
/home/erwo/go-devel/src/runtime/asm_amd64.s:754 +0x71 fp=0xc42003cfe0 sp=0xc42003cfc0
runtime.goexit()
/home/erwo/go-devel/src/runtime/asm_amd64.s:2184 +0x1 fp=0xc42003cfe8 sp=0xc42003cfe0
goroutine 18 [syscall, locked to thread]:
runtime.goexit()
/home/erwo/go-devel/src/runtime/asm_amd64.s:2184 +0x1
Aborted
```
### Other maybe related issues
#17928
#17150
#18120 | compiler/runtime | low | Critical |
192,683,286 | go | cmd/go: allow building non-main package with -buildmode=plugin | The plugin package currently requires a `main` package as an entry point to use `-buildmode=plugin`. I would like to use the plugin package to load library packages at runtime, which are only used for their initializers. Plugins usually look like:
```
package myPlugin
import "github.com/someApp/plugins"
func init(){
plugins.Register(myThing)
}
```
The current methodology is that these are compiled into the host with `import _ "myPlugin"` In order to support loading at runtime as well, each plugin needs a second main package that is literally:
```
package main
import _ "myPlugin"
func main(){}
```
This feels like unnecessary boilerplate. At [Ian's suggestion](https://groups.google.com/d/msg/golang-nuts/016jJIrIuM4/D0XaqBgJCgAJ) I propose modifying the go tool to generate such a main package when using `-buildmode=plugin` and a single non-main package is built.
I plan on working on this feature. | NeedsDecision | low | Major |
192,751,120 | rust | rustdoc: Don't distinguish structs and tuple structs with only private fields | For example, [`AddrParseError`](https://doc.rust-lang.org/std/net/struct.AddrParseError.html) shows up as `pub struct AddrParseError(_);` and [`Ipv4Addr`](https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html) shows up as `pub struct Ipv4Addr { /* fields omitted */ }`
I feel like all structs should show up as the latter form if all of the fields are private. It technically doesn't matter that the struct is a tuple struct if the fields are all private. It's not a *huge* deal but it's an inconsistency that looks off to me. | T-rustdoc,E-medium,C-feature-request | low | Critical |
192,783,050 | youtube-dl | Site Support Request for Esquire TV Network web site | ### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2016.12.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.12.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)
- [x] Site support request (request for adding support for a new site)
- [ ] Feature request (request for a new functionality)
- [ ] Question
- [ ] Other
---
### If the purpose of this *issue* is a *bug report*, *site support request* or you are not completely sure provide the full verbose output as follows:
Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```):
```
$ youtube-dl -v http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.01
[debug] Python version 2.7.12 - Linux-4.4.21-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.2
[debug] exe versions: ffmpeg 2.8.6, ffprobe 2.8.6, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 815232067537: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 815232067537: Downloading webpage
[generic] 815232067537: Extracting information
ERROR: Unsupported URL: http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/generic.py", line 1626, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/lib64/python2.7/site-packages/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/lib64/python2.7/site-packages/youtube_dl/compat.py", line 2515, in _XML
parser.feed(text)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 8, column 339
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/generic.py", line 2433, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537
```
---
### 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**):
- Episode (Free to Watch): http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537
- Episode (Requires TV Provider Authentication): http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-2-of-5/819488835643
---
### Description of your *issue*, suggested solution and other information
I would like support for tv.esquire.com videos.
Some of the videos require TV Provider Authentication and some don't require it. | site-support-request,geo-restricted,tv-provider-account-needed | low | Critical |
192,785,063 | go | x/mobile: gradle plugin uses same command-line flags for gomobile and gobind but thier flags are not same | Please answer these questions before submitting your issue. Thanks!
### What version of Go are you using (`go version`)?
go version go1.7.3 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/tenntenn/Documents/gopath"
GORACE=""
GOROOT="/usr/local/go1.7"
GOTOOLDIR="/usr/local/go1.7/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mq/m9_twy8j1vl9ppr6j5xqtfq80000gn/T/go-build520115728=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
### What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
gradle plugin uses same command-line flags for gomobile and gobind as `GOMOBILEFLAGS`.
But thier flags are not same.
if `-x` or `-v` would be given to `GOMOBILEFLAGS`, gradle reports errors:
```
:gobindDebug
flag provided but not defined: -x
Usage of /Users/tenntenn/Documents/gopath/bin/gobind:
-bootclasspath string
Java bootstrap classpath.
-classpath string
Java classpath.
-javapkg string
custom Java package path prefix used instead of the default 'go'. Valid only with -lang=java.
-lang string
target language for bindings, either java, go, or objc (experimental). (default "java")
-outdir string
result will be written to the directory instead of stdout.
-prefix string
custom Objective-C name prefix used instead of the default 'Go'. Valid only with -lang=objc.
:gobindDebug FAILED
```
### What did you expect to see?
`gomobile` and `gobind` flags should be given different variables such as `GOMOBILEFLAGS` and `GOBINDFLAGS`.
### What did you see instead?
gradle reports errors.
| mobile | low | Critical |
192,821,290 | youtube-dl | [1tv.ru] Missing videos | Hello dear coders !
Not a long time ago 1tv.ru has changed its web page video casting method, I'll explain:
Before each video was separated by different .mp4 files thus user has ability to get each .mp4 w/o using Y-DL, on that time, even by standard wget.
Now instead of one mp4 file I see many .ts chunks- as RTR, other video sites has - and Y-DL is downloading just _one_ video (yes, joining .ts chunks into one .mp4), although web page contains more than one video.
Please, take a look at this URL: http://www.1tv.ru/news/issue/2016-12-01/14:00
You can notice a playlist button at up-right corner, yet there are the same videos below main video.
I am asking about making Y-DL compatible with this new java-script method on 1tv.ru site - so user (as me) will be able to choose what video number to get - OR - to get all videos parts (different news that I mean) in one .mp4 file joined after getting whole playlist.
And please, do not miss different quality options on the site, also.
Thanks in advance!
-Viktor | bug | low | Minor |
192,869,481 | go | runtime: new goroutines can spend excessive time in morestack | ### What version of Go are you using (`go version`)?
`go version devel +41908a5 Thu Dec 1 02:54:21 2016 +0000 darwin/amd64` a.k.a `go1.8beta1`
### What operating system and processor architecture are you using (`go env`)?
```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/pmattis/Development/go"
GORACE=""
GOROOT="/Users/pmattis/Development/go-1.8"
GOTOOLDIR="/Users/pmattis/Development/go-1.8/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/qc/fpqpgdqd167c70dtc6840xxh0000gn/T/go-build385423377=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
```
### What did you do?
A recent [change](https://github.com/cockroachdb/cockroach/pull/11196) to [github.com/cockroachdb/cockroach](http://github.com/cockroachdb/cockroach) replaced a synchronous call with one wrapped in a goroutine. This small change resulted in a significant slowdown in some benchmarks. The slowdown was traced to additional time being spent in `runtime.morestack`. The problematic goroutines are all hitting a single gRPC entrypoint [`Server.Batch`](https://github.com/cockroachdb/cockroach/blob/master/pkg/server/node.go#L845) and the code paths that fan out from this entrypoint tend to use an excessive amount of stack due to an over reliance on passing and returning by value instead of using pointers. Typical calls use 16-32 KB of stack.
The expensive part of `runtime.morestack` is the adjustment of existing pointers on the stack. And due to the incremental nature of the stack growth, I can see the stack growing in 4 steps from 2 KB to 32 KB. So we experimented with a hack to pre-grow the stack. Voila, the performance penalty of the change disappeared:
```
name old time/op new time/op delta
KVInsert1_SQL-8 339µs ± 2% 312µs ± 1% -7.89% (p=0.000 n=10+10)
KVInsert10_SQL-8 485µs ± 2% 471µs ± 1% -2.81% (p=0.000 n=10+10)
KVInsert100_SQL-8 1.36ms ± 0% 1.35ms ± 0% -0.95% (p=0.000 n=10+10)
KVUpdate1_SQL-8 535µs ± 1% 487µs ± 1% -9.02% (p=0.000 n=10+9)
KVUpdate10_SQL-8 777µs ± 1% 730µs ± 1% -6.03% (p=0.000 n=10+9)
KVUpdate100_SQL-8 2.69ms ± 1% 2.66ms ± 1% -1.16% (p=0.000 n=10+10)
KVDelete1_SQL-8 479µs ± 1% 429µs ± 2% -10.43% (p=0.000 n=9+10)
KVDelete10_SQL-8 676µs ± 1% 637µs ± 1% -5.80% (p=0.000 n=9+9)
KVDelete100_SQL-8 2.23ms ± 5% 2.18ms ± 4% ~ (p=0.105 n=10+10)
KVScan1_SQL-8 216µs ± 5% 179µs ± 1% -17.12% (p=0.000 n=10+10)
KVScan10_SQL-8 233µs ± 1% 201µs ± 1% -13.76% (p=0.000 n=10+10)
KVScan100_SQL-8 463µs ± 1% 437µs ± 0% -5.64% (p=0.000 n=10+8)
```
`old` are benchmarks gathered using go1.8beta1 and `new` are on go1.8beta1 with the hack to pre-grow the stack. The hack is a call at the beginning of `server.Batch` to a `growStack` method:
```
var growStackGlobal = false
//go:noinline
func growStack() {
// Goroutine stacks currently start at 2 KB in size. The code paths through
// the storage package often need a stack that is 32 KB in size. The stack
// growth is mildly expensive making it useful to trick the runtime into
// growing the stack early. Since goroutine stacks grow in multiples of 2 and
// start at 2 KB in size, by placing a 16 KB object on the stack early in the
// lifetime of a goroutine we force the runtime to use a 32 KB stack for the
// goroutine.
var buf [16 << 10] /* 16 KB */ byte
if growStackGlobal {
// Make sure the compiler doesn't optimize away buf.
for i := range buf {
buf[i] = byte(i)
}
}
}
```
The question here is whether this is copacetic and also to alert the runtime folks that there is a performance opportunity here. Note that the `growStackGlobal` is not currently necessary, but I wanted to future proof against the compiler deciding that `buf` is not necessary.
Longer term, the stack usage under `server.Batch` should be reduced on our side. I'm guessing that we could get the stack usage down to 8-16 KB without too many contortions. But even with such reductions, being able to pre-grow the stack for a goroutine looks beneficial.
| Performance,NeedsDecision | high | Critical |
192,891,423 | opencv | Inconsistent HOG descriptor for non-continuous vs continuous Mat | <!--
If you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses.
If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).
This is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.
-->
##### System information (version)
<!-- Example
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
-->
- OpenCV => 3.1
- Operating System / Platform => Ubuntu 14.04 64 Bit
- Compiler => gcc 4.8.4
##### Detailed description
Computing HOG features using `HOGDescriptor::compute()` with a non-continuous matrix produces different results than doing it with a continuous matrix. If this behaviour is expected it would be nice to have a warning or at least some hint in the documentation.
##### Steps to reproduce
1. load an image with dimensions > 32x64 (w x h) into `cv::Mat image`
2. compute HOG features and pass the image like this: `image(cv::Rect(0, 0, 32, 64))`
3. copy region to `cv::Mat patch` using `image(cv::Rect(0, 0, 32, 64)).copyTo(patch)`
4. comput HOG features for patch
5. compare the two feature vectors (should be the same, but are actually different)
<!-- to add code example fence it with triple backticks and optional file extension
```.cpp
// C++ code example
```
or attach as .txt or .zip file
--> | RFC | low | Critical |
192,903,767 | youtube-dl | Site support request: StuffYouShouldKnow.com podcasts | ---
### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2016.12.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.12.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)
- [x] Site support request (request for adding support for a new site)
- [ ] Feature request (request for a new functionality)
- [ ] Question
- [ ] Other
---
### Full verbose output:
#### Single audio (http://www.stuffyoushouldknow.com/podcasts/banned-kids-advertising.htm):
```
$ youtube-dl -v "http://www.stuffyoushouldknow.com/podcasts/banned-kids-advertising.htm"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.stuffyoushouldknow.com/podcasts/banned-kids-advertising.htm']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.5.2 - Linux-4.8.10-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.2.1, ffprobe 3.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] banned-kids-advertising: Requesting header
WARNING: Falling back on generic information extractor.
[generic] banned-kids-advertising: Downloading webpage
[generic] banned-kids-advertising: Extracting information
ERROR: Unsupported URL: http://www.stuffyoushouldknow.com/podcasts/banned-kids-advertising.htm
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/generic.py", line 2433, in _real_extract
raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.stuffyoushouldknow.com/podcasts/banned-kids-advertising.htm
<end of log>
```
#### Playlist (http://www.stuffyoushouldknow.com/tags/animals.htm):
```
$ youtube-dl -v "http://www.stuffyoushouldknow.com/tags/animals.htm"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.stuffyoushouldknow.com/tags/animals.htm']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.5.2 - Linux-4.8.10-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.2.1, ffprobe 3.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] animals: Requesting header
WARNING: Falling back on generic information extractor.
[generic] animals: Downloading webpage
[generic] animals: Extracting information
ERROR: Unsupported URL: http://www.stuffyoushouldknow.com/tags/animals.htm
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/generic.py", line 2433, in _real_extract
raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.stuffyoushouldknow.com/tags/animals.htm
```
#### Playlist (http://www.stuffyoushouldknow.com/podcasts):
```
$ youtube-dl -v "http://www.stuffyoushouldknow.com/podcasts"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.stuffyoushouldknow.com/podcasts']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.5.2 - Linux-4.8.10-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.2.1, ffprobe 3.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] podcasts: Requesting header
WARNING: Falling back on generic information extractor.
[generic] podcasts: Downloading webpage
[generic] podcasts: Extracting information
ERROR: Unsupported URL: http://www.stuffyoushouldknow.com/podcasts
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/generic.py", line 2433, in _real_extract
raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.stuffyoushouldknow.com/podcasts
```
---
### Example URLs:
- Single audio: http://www.stuffyoushouldknow.com/podcasts/banned-kids-advertising.htm
- Playlist: http://www.stuffyoushouldknow.com/tags/animals.htm
- Playlist: http://www.stuffyoushouldknow.com/podcasts
---
| site-support-request | low | Critical |
192,906,121 | youtube-dl | Support embedded videos in Wordpress posts (was: Unsupported URL: http://www.vdrome.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.12.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.12.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)
- [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 http://vdrome.org
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://vdrome.org']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.01
[debug] Python version 2.7.10 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.1.4, ffprobe 3.1.4
[debug] Proxy map: {}
[generic] vdrome: Requesting header
[redirect] Following redirect to http://www.vdrome.org/
[generic] www.vdrome: Requesting header
WARNING: Falling back on generic information extractor.
[generic] www.vdrome: Downloading webpage
[generic] www.vdrome: Extracting information
ERROR: Unsupported URL: http://www.vdrome.org/
Traceback (most recent call last):
File "/Users/tbatters/homebrew/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1626, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/Users/tbatters/homebrew/bin/youtube-dl/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/Users/tbatters/homebrew/bin/youtube-dl/youtube_dl/compat.py", line 2515, 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: mismatched tag: line 498, column 71
Traceback (most recent call last):
File "/Users/tbatters/homebrew/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/Users/tbatters/homebrew/bin/youtube-dl/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/Users/tbatters/homebrew/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2433, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.vdrome.org/
### 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.vdrome.org
### Description of your *issue*, suggested solution and other information
youtube-dl has worked fine with http://www.vdrome.org in the past with the generic extractor. The page layout seems to have been changed recently and it is no longer functioning. | request | low | Critical |
192,911,590 | go | x/build: test whether Go core changes break external tools and debuggers | Changes to the Go core (compiler output, libraries, x/tools) can break tools and debuggers that build on them, such as gocode (@nsf), Delve (@derekparker), and Backtrace's ptrace (@abelmathew). While those tool authors can test for breakages against tip, it might be useful for us to know when CLs submitted to the Go core break tools that are important to the Go community. We should work with the authors to ensure the tools are fixed for each new Go release.
@bradfitz suggested we may be able to extend the builders to help with this testing. | Builders | low | Critical |
192,924,407 | youtube-dl | Add vidyard 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.12.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.12.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)
- [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**):
Vidyard homepage: https://www.vidyard.com/
- Single video: ~~http://play.vidyard.com/MYsNEfzgpaB4w8xGWL2g7A~~
- Same video embedded on another site: ~~https://www.purestorage.com/otb/ep1.html~~
- Downloadable link to the same video: ~~http://cdn.vidyard.com/videos/Tty5gmS1jK8gPPatNZSCRg/full_hd.mp4?5R1bEOiBmTPTd29ZHp6WJbAB2_2Ffz6As5zIVJlFfEBx5r0B6ZGGus0ZpcRiljHOZi7zRLk4BSgvU5-1SIv7pJHEfwz6XHojWyhk0kwVpPMqF94~~
- ~~Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc~~
Edit: These all 404 now, see link in the comment below.
| site-support-request | medium | Critical |
192,937,446 | TypeScript | Allow augmentation of re-exported module | I've sadly discovered that it not possible to augment a ES2015 module that is being re-exported. At least not without specifying the full path to the ES2015 that is then being re-exported.
This has significant implications, particularly for library authors and consumers.
An example would probably help clarify.
Suppose as an authored of a library I want to expose a simple surface area from which consumers should import from. I do this by creating an index.ts file that re-exports modules from nested sub-folders like so:
```ts
// index.ts
export { AClass } from './path/to/class-a';
export { BClass } from './path/to/class-b';
export { CClass } from './path/to/class-c';
```
Now a consumer can import like so:
```ts
import { AClass, BClass } from 'some-library';
```
The benefits of the above:
1. As library author I am *free to reorganise the modules* into sub-folders as the library code base grows without breaking consumers
2. As library consumer *I don't need to have intimate knowledge of how the library organises it's file on disk* - instead I have one path to import modules and this is the name of the npm package itself.
Once augmentation enters the picture all of the above benefits are now gone.
**This is really bad for everyone.**
What can be done about the situation?
Thanks
Christian
| Suggestion,Experience Enhancement | medium | Major |
192,983,382 | pytorch | Keyword arguments passed to module's __call__ aren't forwarded to the hooks | Our current signature of the nn forward hook is `(module, input, output)` (where `input` and `output` are tuples), so there's no good way to pass kwargs to them (can't append to input, because dicts are unordered, passing as kwargs seems quite inconvenient for the user).
cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345 | module: nn,low priority,triaged,enhancement | low | Minor |
192,983,850 | go | x/net/websocket: remedy neglect; merge with gorilla websocket? | It is not well maintained, and essentially everyone uses https://github.com/gorilla/websocket.
This was raised as a concern in #17244: because it is in the x/net repository, people attach greater value to it than it really ought to have.
/cc @dsnet
**EDIT 2016-12-02:** Copying in my better-phrased problem statement from later in the thread:
The problem I see is that the ownership/maintenance story of x/net/websocket is unclear. It may suit your needs, and that is fine! However, it's not getting the same level of support as the standard library or even gorilla/websocket; it has no established owner AFAIK.
Along the lines of #17244, there is concern that it elevates the status and visibility of the package. I've anecdotally heard of it confusing many new users whose needs were much better filled with gorilla/websocket. I have not heard of someone using gorilla/websocket and then deciding to use x/net/websocket instead. | NeedsDecision | high | Critical |
192,994,027 | electron | Cache data is written to `userData` dir instead of `cache` dir | * Electron version: 1.3.9 (via Atom 1.12.6) and unknown (via Slack 2.3.2)
* Operating system: Linux
### Expected behavior
Files stored by Electron on behalf of electron apps, should follow the XDG Base Directory specification and place only config files in $XDG_CONFIG_HOME/<App name> (default ~/.config/). cache and data files should be placed in XDG_CACHE_HOME (default: ~/.cache) and XDG_DATA_HOME (default: ~/.local/share) respectively.
https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html
### Actual behavior
As seen in Atom and Slack on Linux, they leave non-config files in ~/.config/Atom and ~/.config/Slack/ in particular, they leave folders such as "databases", "GPUCache", "Cache", "logs", and "Local Storage". Atom mention this as an Electron issue in https://github.com/atom/atom/issues/8281 ("where electron stores it's files").
Could still be it's not Electron's fault that the apps store non-config files in these locations, but hopefully you know more than me here. | bug :beetle:,10-x-y,11-x-y,12-x-y,13-x-y | high | Critical |
192,998,794 | vue | list rendering optimization fails in some cases | I have virtual scrolling list with a lot of rows. I only show a few of them at a time using
this.view = this.items.splice(position, position + 5)
If 'position' is incremented or decremented, you would expect that in the DOM one element gets added, and one gets deleted. In the 'up' direction, that is the case. But in the down direction, all elements get removed and added again. I have a couple of images in each row, and this hurts performance quite a bit.
### Vue.js version
2.1.3
### Reproduction Link
https://jsbin.com/netereyuxa/1/edit?html,console,output
### Steps to reproduce
press up / down, see that in the up direction one LI is removed and one added at each step, and in the down direction all LIs are replaced every time.
### What is Expected?
Only one LI added, one LI removed
### What is actually happening?
All LI's removed and added
| improvement | low | Major |
193,037,538 | go | runtime: latency in sweep assists when there's no garbage | `go version devel +ae9712c766 Thu Dec 1 22:20:31 2016 +0000 darwin/amd64`, and linux/amd64
I wrote a test case for the GC latency described by @WillSewell in https://blog.pusher.com/golangs-real-time-gc-in-theory-and-practice/ . I recorded the timestamps of when pauses (during allocation) were observed, and matched them against GODEBUG=gctrace=1 output.
The pauses come _after_ the GC cycle, during the concurrent sweep phase. Also, they happen as the heap grows and do not happen once the heap size is stable. And the pauses are often longer than the clock time of any single gctrace line.
A goroutine that needs to allocate memory right after a GC cycle is required to help with the sweep work. This means looking through the heap until suitable memory is found. If the heap is growing rapidly with little or no garbage created, this mutator goroutine will need to search for a long time: it can end up sweeping half of the heap (shared with the background sweep worker).
The GC is pretty good at controlling the mark assist burden on any single goroutine—and starting the GC cycle before the allowable heap growth is exhausted, allowing tradeoffs between assist burden and heap growth during the cycle. These protections don't seem to be in place for sweep assists.
The execution tracer's view of this is confusing since it emits events for each call to `runtime.(*mspan).sweep`, which is called in a loop from `runtime.(*mcentral).cacheSpan`. This makes it look like the user goroutine is making a lot of progress on sweep work, since a single call to runtime.mallocgc can lead to thousands of tiny "SWEEP" blocks.
Frustrated assists like this are perhaps more likely to happen in microbenchmarks than in production applications, but the way sweep work is shown in the execution tracer makes it hard to say for sure. This could be a contributing factor to #14812 — one of the goroutines in the [recent execution trace](https://github.com/golang/go/issues/14812#issuecomment-262276449) spent over 17ms in sweep assists.
The test is below, followed by some example runs.
```
package gc_test
import (
"flag"
"testing"
"time"
)
var (
start = time.Now()
allocSize = flag.Int("alloc-size", 1000, "Bytes per allocation")
retainCount = flag.Int("retain-count", 1000000, "Number of allocations to retain")
loopCount = flag.Int("loop-count", 10, "Number of times to execute loop")
preallocate = flag.Bool("preallocate", false, "Preallocate retention slice")
)
func TestHeapGrowthStalls(t *testing.T) {
var mem [][]byte
if *preallocate {
mem = make([][]byte, *retainCount)
}
var slowDelta time.Duration
for i := 0; i < (*loopCount)*(*retainCount); i++ {
// Allow the program's heap to start small, instead of pre-allocating
// the entire slice.
if len(mem) < *retainCount {
mem = append(mem, nil)
}
j := i % len(mem)
before := time.Now()
mem[j] = make([]byte, *allocSize)
delta := time.Since(before)
if delta > slowDelta || (delta > time.Millisecond && delta > slowDelta/2) {
slowDelta = delta
at := time.Since(start)
t.Logf("i=%-8d at=%.3fs delta=%.3fms",
i,
at.Seconds(),
delta.Seconds()*float64(time.Second/time.Millisecond))
}
}
}
```
On a darwin/amd64 laptop:
```
$ GODEBUG=gctrace=1 /tmp/gc.test -test.v
=== RUN TestHeapGrowthStalls
gc 1 @0.002s 1%: 0.035+0.14+0.019 ms clock, 0.10+0.047/0.12/0.12+0.059 ms cpu, 4->4->3 MB, 5 MB goal, 8 P
gc 2 @0.003s 2%: 0.003+0.63+0.028 ms clock, 0.024+0.054/0.17/0.14+0.22 ms cpu, 6->7->6 MB, 7 MB goal, 8 P
gc 3 @0.004s 3%: 0.003+0.29+0.034 ms clock, 0.026+0.16/0.16/0.095+0.27 ms cpu, 12->12->12 MB, 13 MB goal, 8 P
gc 4 @0.007s 4%: 0.004+1.2+0.048 ms clock, 0.033+0.94/0.059/0.29+0.39 ms cpu, 23->23->22 MB, 24 MB goal, 8 P
gc 5 @0.012s 3%: 0.005+0.59+0.024 ms clock, 0.044+0.054/0.59/0.58+0.19 ms cpu, 44->44->42 MB, 45 MB goal, 8 P
gc 6 @0.020s 2%: 0.005+5.9+0.033 ms clock, 0.040+0.093/1.1/5.7+0.26 ms cpu, 84->84->80 MB, 85 MB goal, 8 P
gc 7 @0.045s 2%: 0.006+1.7+0.036 ms clock, 0.051+0.25/2.2/2.3+0.29 ms cpu, 156->157->152 MB, 160 MB goal, 8 P
gc 8 @0.077s 1%: 0.006+2.1+0.027 ms clock, 0.055+1.0/2.9/7.3+0.21 ms cpu, 297->300->286 MB, 305 MB goal, 8 P
gc 9 @0.154s 1%: 0.008+4.4+0.044 ms clock, 0.070+2.3/4.6/18+0.35 ms cpu, 558->563->537 MB, 573 MB goal, 8 P
gc 10 @0.268s 1%: 0.008+7.5+0.044 ms clock, 0.067+3.7/12/32+0.35 ms cpu, 1047->1056->1004 MB, 1074 MB goal, 8 P
gc 11 @0.428s 1%: 0.008+7.8+0.043 ms clock, 0.070+1.9/13/36+0.34 ms cpu, 1959->1974->1018 MB, 2009 MB goal, 8 P
gc 12 @0.924s 0%: 0.008+8.6+0.17 ms clock, 0.071+1.8/15/38+1.3 ms cpu, 1985->2004->1022 MB, 2036 MB goal, 8 P
gc 13 @1.426s 0%: 0.006+9.0+0.034 ms clock, 0.053+1.8/17/41+0.27 ms cpu, 1993->2000->1010 MB, 2044 MB goal, 8 P
gc 14 @1.658s 0%: 0.008+9.4+0.026 ms clock, 0.070+1.8/15/45+0.21 ms cpu, 1969->1982->1015 MB, 2020 MB goal, 8 P
gc 15 @1.905s 0%: 0.015+9.5+0.075 ms clock, 0.12+1.9/18/41+0.60 ms cpu, 1980->1994->1017 MB, 2031 MB goal, 8 P
gc 16 @2.143s 0%: 0.016+11+0.045 ms clock, 0.12+1.8/21/54+0.36 ms cpu, 1983->1999->1019 MB, 2034 MB goal, 8 P
gc 17 @2.385s 0%: 0.015+10+0.066 ms clock, 0.12+2.4/20/49+0.53 ms cpu, 1987->2002->1018 MB, 2038 MB goal, 8 P
gc 18 @2.616s 0%: 0.015+11+0.077 ms clock, 0.12+2.4/15/59+0.61 ms cpu, 1985->2004->1021 MB, 2036 MB goal, 8 P
--- PASS: TestHeapGrowthStalls (2.85s)
gc_test.go:42: i=0 at=0.000s delta=0.000ms
gc_test.go:42: i=2 at=0.000s delta=0.001ms
gc_test.go:42: i=18 at=0.000s delta=0.002ms
gc_test.go:42: i=26 at=0.001s delta=0.002ms
gc_test.go:42: i=114 at=0.001s delta=0.003ms
gc_test.go:42: i=170 at=0.001s delta=0.004ms
gc_test.go:42: i=218 at=0.001s delta=0.014ms
gc_test.go:42: i=3226 at=0.002s delta=0.157ms
gc_test.go:42: i=12016 at=0.005s delta=0.385ms
gc_test.go:42: i=22534 at=0.009s delta=0.408ms
gc_test.go:42: i=41997 at=0.014s delta=0.797ms
gc_test.go:42: i=79541 at=0.028s delta=1.451ms
gc_test.go:42: i=152493 at=0.051s delta=3.489ms
gc_test.go:42: i=286213 at=0.084s delta=5.107ms
gc_test.go:42: i=286229 at=0.087s delta=2.922ms
gc_test.go:42: i=536053 at=0.169s delta=10.281ms
gc_test.go:42: i=1001709 at=0.295s delta=20.094ms
PASS
```
The `at=0.169s delta=10.281ms` line matches up with `gc 9 @0.154s 1%: 0.008+4.4+0.044 ms clock`. The GC cycle began at 0.154s and completed around 0.158s. The record-breaking allocation delay finished at 0.169s and began at 0.159s.
On a linux/amd64 server:
```
$ GOMAXPROCS=8 GODEBUG=gctrace=1 ./gc.test.linux_amd64 -test.v -retain-count=20000000 -preallocate=true -loop-count=3
=== RUN TestHeapGrowthStalls
gc 1 @0.045s 11%: 0.11+21+0.072 ms clock, 0.22+20/43/106+0.14 ms cpu, 458->459->458 MB, 459 MB goal, 8 P
gc 2 @0.068s 14%: 0.004+27+0.10 ms clock, 0.036+0.063/46/93+0.87 ms cpu, 459->513->513 MB, 917 MB goal, 8 P
gc 3 @0.172s 10%: 0.019+30+0.084 ms clock, 0.15+0.20/54/135+0.67 ms cpu, 739->785->784 MB, 1027 MB goal, 8 P
gc 4 @0.389s 6%: 0.014+33+0.039 ms clock, 0.11+0.71/64/161+0.31 ms cpu, 1315->1388->1388 MB, 1569 MB goal, 8 P
gc 5 @0.795s 4%: 0.026+33+0.044 ms clock, 0.21+1.6/62/164+0.35 ms cpu, 2486->2557->2557 MB, 2777 MB goal, 8 P
gc 6 @1.589s 3%: 0.025+84+0.046 ms clock, 0.20+2.3/159/406+0.37 ms cpu, 4780->4915->4915 MB, 5115 MB goal, 8 P
gc 7 @3.202s 2%: 0.015+63+0.041 ms clock, 0.12+4.3/126/313+0.32 ms cpu, 9377->9499->9499 MB, 9830 MB goal, 8 P
gc 8 @6.350s 1%: 0.018+204+0.091 ms clock, 0.14+55/395/998+0.72 ms cpu, 18438->18685->18685 MB, 18999 MB goal, 8 P
gc 9 @13.058s 1%: 0.019+300+0.066 ms clock, 0.15+112/565/1496+0.52 ms cpu, 36436->36706->20259 MB, 37370 MB goal, 8 P
gc 10 @34.001s 0%: 0.017+265+0.11 ms clock, 0.13+83/507/1313+0.91 ms cpu, 39506->39732->20215 MB, 40519 MB goal, 8 P
--- PASS: TestHeapGrowthStalls (53.37s)
gc_test.go:42: i=0 at=0.045s delta=0.581ms
gc_test.go:42: i=57055 at=0.097s delta=2.220ms
gc_test.go:42: i=331266 at=0.200s delta=2.323ms
gc_test.go:42: i=334871 at=0.221s delta=19.590ms
gc_test.go:42: i=952975 at=0.454s delta=32.232ms
gc_test.go:42: i=2150327 at=0.889s delta=61.852ms
gc_test.go:42: i=4564455 at=1.799s delta=126.545ms
gc_test.go:42: i=9258703 at=3.533s delta=268.414ms
gc_test.go:42: i=18664799 at=7.354s delta=799.231ms
PASS
```
/cc @aclements @RLH
| NeedsFix,compiler/runtime | medium | Critical |
193,066,190 | go | cmd/link: internal linking for GOOS=linux, -buildmode=plugin | Please answer these questions before submitting your issue. Thanks!
### What version of Go are you using (`go version`)?
(1.8beta1)
go version devel +41908a5 Thu Dec 1 02:54:21 2016 +0000 darwin/amd64
### What operating system and processor architecture are you using (`go env`)?
Darwin:
```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/urso/.gvm/pkgsets/go1.8beta1/global"
GORACE=""
GOROOT="/Users/urso/.gvm/gos/go1.8beta1"
GOTOOLDIR="/Users/urso/.gvm/gos/go1.8beta1/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/2s/38f_b6sj0mn6_14km12vyq0r0000gn/T/go-build255645567=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
```
Linux:
```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/urso/.gvm/pkgsets/go1.8beta1/global"
GORACE=""
GOROOT="/home/urso/.gvm/gos/go1.8beta1"
GOTOOLDIR="/home/urso/.gvm/gos/go1.8beta1/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build240993252=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
```
### What did you do?
Try to cross compile the plugin by setting GOOS=linux (darwin)
```
package main
import "fmt"
func F() { fmt.Println("Hello World!") }
func main() {}
```
### What did you expect to see?
plugin being build
### What did you see instead?
Darwin:
```
$ GOOS=linux go build -buildmode=plugin plugin.go
# command-line-arguments
warning: unable to find runtime/cgo.a
/Users/urso/.gvm/gos/go1.8beta1/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: unknown option: -z
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Linux:
```
$ GOOS=darwin go build -buildmode=plugin plugin.go
# command-line-arguments
warning: unable to find runtime/cgo.a
/home/urso/.gvm/gos/go1.8beta1/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: -f may not be used without -shared
collect2: error: ld returned 1 exit status
```
| compiler/runtime | low | Critical |
193,143,501 | TypeScript | Allow declaring properties inside class constructors | It's a little clunky setting up properties in classes right now.
Here's what I have to do at the moment to set a property value in the constructor:
```TypeScript
class Animal {
public interruptedSound: string;
constructor(public sound: string) {
this.interruptedSound = sound.substring(0, 3);
}
}
let dog = new Animal("woof");
console.log(dog.sound); // woof
console.log(dog.interruptedSound); // woo
```
Notice that `interruptedSound`'s setup is split over two lines, and I have to declare it as a string even though it could be inferred from the fact that `sound.substring` returns a string.
What I'd like to be able to do:
```TypeScript
class Animal {
constructor(public sound: string) {
this.interruptedSound = sound.substring(0, 3); // now a detectable property of type string
}
}
let dog = new Animal("woof");
console.log(dog.sound); // woof
console.log(dog.interruptedSound); // woo
```
This would avoid having to declare all properties at the top before being able to use them in constructors, saving a lot of boilerplate on complex classes. F# already does [something similar](https://fsharpforfunandprofit.com/posts/classes/) to make setting up types much quicker and simpler. There wouldn't be any JavaScript compatibility issues, because JavaScript already works this way.
In cases where the property _is_ declared separately, give precedence to the declaration.
The `private`, `public` or `readonly` keywords could even be used before the assignment to modify the property, e.g.
```TypeScript
class Animal {
constructor(public sound: string) {
private readonly this.interruptedSound = sound.substring(0, 3);
}
changeSounds() {
this.sound = "meow";
this.interruptedSound = "meo"; // error, interruptedSound is readonly
}
}
let dog = new Animal("woof");
console.log(dog.sound); // woof
console.log(dog.interruptedSound); // error, interruptedSound is private
``` | Suggestion,Awaiting More Feedback | low | Critical |
193,203,141 | rust | Iterator adaptors should allow unsized function fields | For example `::std::iter::Map<::std::ops::Range<u8>, Fn(u8) -> u32>` is fully technically possible type, except `Map` doesn't allow for unsized `F`, because it is not marked as such. | C-enhancement,T-libs-api,A-iterators | low | Minor |
193,222,573 | youtube-dl | Allow merging extracted tracks | Hello dear authors, gurus. I have small Q:
What we have here -
format code extension resolution note
249 webm audio only DASH audio 53k , opus @ 50k (48000Hz), 4.51MiB
250 webm audio only DASH audio 75k , opus @ 70k (48000Hz), 5.20MiB
171 webm audio only DASH audio 118k , vorbis@128k (44100Hz), 8.02MiB
140 m4a audio only DASH audio 128k , m4a_dash container, mp4a.40.2@128k (44100
Hz), 11.56MiB
251 webm audio only DASH audio 146k , opus @160k (48000Hz), 9.51MiB
160 mp4 256x144 DASH video 114k , avc1.4d400c, 30fps, video only, 10.11MiB
278 webm 256x144 DASH video 117k , webm container, vp9, 30fps, video only, 8
.69MiB
242 webm 426x240 DASH video 248k , vp9, 30fps, video only, 19.69MiB
133 mp4 426x240 DASH video 253k , avc1.4d4015, 30fps, video only, 22.33MiB
243 webm 640x360 DASH video 452k , vp9, 30fps, video only, 36.37MiB
134 mp4 640x360 DASH video 638k , avc1.4d401e, 30fps, video only, 53.72MiB
244 webm 854x480 DASH video 836k , vp9, 30fps, video only, 67.12MiB
135 mp4 854x480 DASH video 1165k , avc1.4d401f, 30fps, video only, 102.34MiB
247 webm 1280x720 720p 1717k , vp9, 30fps, video only, 134.38MiB
136 mp4 1280x720 720p 2344k , avc1.4d401f, 30fps, video only, 203.90MiB
302 webm 1280x720 DASH video 2915k , vp9, 60fps, video only, 232.22MiB
248 webm 1920x1080 1080p 3139k , vp9, 30fps, video only, 238.95MiB
298 mp4 1280x720 DASH video 3493k , avc1.4d4020, 60fps, video only, 289.88MiB
137 mp4 1920x1080 1080p 4623k , avc1.640028, 30fps, video only, 384.84MiB
303 webm 1920x1080 DASH video 5095k , vp9, 60fps, video only, 394.73MiB
299 mp4 1920x1080 DASH video 6001k , avc1.64002a, 60fps, video only, 510.46MiB
17 3gp 176x144 small , mp4v.20.3, mp4a.40.2@ 24k
36 3gp 320x180 small , mp4v.20.3, mp4a.40.2
43 webm 640x360 medium , vp8.0, vorbis@128k
18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k
22 mp4 1280x720 hd720 , avc1.64001F, mp4a.40.2@192k (best)
-- 299 is the best video-only track, yet 140 is audio-only track 128kbps, AND - 22 is the video+audio, with audio 192kbps. Please tell me, how to "rip" audio from 22 and combine it with 299 (as usual -f n+n) into one .mp4 ?
Thanks in advance ! | request | medium | Major |
193,253,462 | TypeScript | Improvement: Design metadata should contain property names and types | At the moment it's not possible to get all Properties of a Type with the corresponding design-type of the property.
It's only possible to get all properties of an object by using Object.keys() and this wouldn't return properties which haven't been set, of course the simply don't exist.
So it wold be a great feature, if a class which emits metadata because of a decorator would also emit a metadata called something like 'design:properties' which contains a list of all property-names with the corresponding type.
| Suggestion,Revisit,Domain: Decorators | medium | Critical |
193,264,540 | go | net: Dial should not conceal effective errors | https://go-review.googlesource.com/8768 changed to return the first detected error on consecutive or parallel dialing as opposed to the previous. Unfortunately this change makes debugging hard. Also it probably makes package developers using the net package confusing.
For example, assuming we need to fetch some resource from golang.org on the node which has IP dual stack functionality and IPv4-only connectivity to golang.org, the current implementation returns an error regarding IPv6 transport even when the IPv4 connectivity is lost in the middle of the path.
I guess that there are two options; a) returning all detected errors by either a nested OpError or new error type in OpError when the connection setup function fails, b) returning the most effective error by referring to information on IP routing and forwarding.
I'd prefer the former. @pmarks-net, What do you think? | NeedsInvestigation | low | Critical |
193,276,464 | youtube-dl | Site support request: mytv.tvb.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.12.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.12.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)
- [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 -o "C:/Video/test-a1" "http://mytv.tvb.com/video/281538" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-o', 'C:/Video/test-a1', 'http://mytv.tvb.com/video
/281538', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 281538: Requesting header
[redirect] Following redirect to http://mytv.tvb.com/tc/cat_lifestyle/ownsweetho
me/281538
[generic] 281538: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 281538: Downloading webpage
[generic] 281538: Extracting information
ERROR: Unsupported URL: http://mytv.tvb.com/tc/cat_lifestyle/ownsweethome/281538
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0yt5fyka\bu
ild\youtube_dl\YoutubeDL.py", line 694, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0yt5fyka\bu
ild\youtube_dl\extractor\common.py", line 357, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0yt5fyka\bu
ild\youtube_dl\extractor\generic.py", line 2433, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://mytv.tvb.com/tc/cat_l
ifestyle/ownsweethome/281538
```
---
### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included:
- Single video: http://mytv.tvb.com/tc/cat_lifestyle/ownsweethome/281538
---
### Description of your *issue*, suggested solution and other information
I believe most or all videos on this site require a Hong Kong IP address but do not require account credentials.
| site-support-request,geo-restricted | low | Critical |
193,277,000 | youtube-dl | Site support request: video.sport1.de | ## 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.12.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.12.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)
- [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 -o "C:/Video/test-a1" "http://video.sport1.de/video/petersen-wie-ein-schlechter-traum__0_vvr4wbjb" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-o', 'C:/Video/test-a1', 'http://video.sport1.de/vi
deo/petersen-wie-ein-schlechter-traum__0_vvr4wbjb', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[generic] petersen-wie-ein-schlechter-traum__0_vvr4wbjb: Requesting header
WARNING: Falling back on generic information extractor.
[generic] petersen-wie-ein-schlechter-traum__0_vvr4wbjb: Downloading webpage
[generic] petersen-wie-ein-schlechter-traum__0_vvr4wbjb: Extracting information
ERROR: Unsupported URL: http://video.sport1.de/video/petersen-wie-ein-schlechter
-traum__0_vvr4wbjb
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\YoutubeDL.py", line 694, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\extractor\common.py", line 357, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\extractor\generic.py", line 2433, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://video.sport1.de/video
/petersen-wie-ein-schlechter-traum__0_vvr4wbjb
```
---
### 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://video.sport1.de/video/petersen-wie-ein-schlechter-traum__0_vvr4wbjb
---
### Description of your *issue*, suggested solution and other information
Hopefully quite straightforward. May involve Kaltura Player? | site-support-request | low | Critical |
193,277,410 | youtube-dl | Site support request: wwos.nine.com.au | ## 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.12.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.12.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)
- [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 -o "C:/Video/test-a1" "http://wwos.nine.com.au/2016/12/02/17/47/pro-golfer-skims-ball-over-water-and-onto-green" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-o', 'C:/Video/test-a1', 'http://wwos.nine.com.au/2
016/12/02/17/47/pro-golfer-skims-ball-over-water-and-onto-green', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[generic] pro-golfer-skims-ball-over-water-and-onto-green: Requesting header
WARNING: Falling back on generic information extractor.
[generic] pro-golfer-skims-ball-over-water-and-onto-green: Downloading webpage
[generic] pro-golfer-skims-ball-over-water-and-onto-green: Extracting informatio
n
ERROR: Unsupported URL: http://wwos.nine.com.au/2016/12/02/17/47/pro-golfer-skim
s-ball-over-water-and-onto-green
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\YoutubeDL.py", line 694, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\extractor\common.py", line 357, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\extractor\generic.py", line 2433, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://wwos.nine.com.au/2016
/12/02/17/47/pro-golfer-skims-ball-over-water-and-onto-green
```
---
### 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://wwos.nine.com.au/2016/12/02/17/47/pro-golfer-skims-ball-over-water-and-onto-green
- Single video: http://wwos.nine.com.au/2016/12/02/16/17/mannequin-challenge-takes-place-during-match
- Single video: http://wwos.nine.com.au/video?videoid=36576de6-1111-4d7b-b06f-f20d185ae33f
---
### Description of your *issue*, suggested solution and other information
Site support request
| site-support-request | low | Critical |
193,294,711 | nvm | How to run the tests locally? | I tried the instructions as readme says, but there are always errors there like:
```
+ rm -Rf v* src alias
+ mkdir src alias
Aliases
✓ "nvm alias" should not accept aliases with slashes
✓ "nvm unalias" should not accept aliases with slashes
✓ Running "nvm alias <aliasname> <target>" again should change the target
✓ Running "nvm alias <aliasname>" should list but one alias.
✓ Running "nvm alias" lists implicit aliases when they do not exist
✓ Running "nvm alias" lists manual aliases instead of implicit aliases when present
✓ Running "nvm alias" should list all aliases.
circular
✓ nvm_resolve_alias
✓ nvm_resolve_local_alias
lts
N/A: version "N/A -> N/A" is not yet installed.
You need to run "nvm install N/A" to install it before using it.
mv: cannot move '/usr/bin/alias/lts' to '/usr/bin/alias/lts.bak': Permission denied
rm: cannot remove '/usr/bin/alias/lts/*': Permission denied
rm: cannot remove '/usr/bin/alias/lts/boron': Permission denied
rm: cannot remove '/usr/bin/alias/lts/argon': Permission denied
✗ "nvm alias" should ensure LTS alias dir exists
```
Tried on Ubuntu 12.04, 14.04 and 16.04, none of them can directly pass the test. Is there anything special need to be setup? I also tried to run travis ci with Ubuntu 14.04 (See https://travis-ci.org/PeterDaveHelloKitchen/nvm/builds/178530168), the tests also failed.
Thanks. | testing | medium | Critical |
193,306,658 | go | net: can {Conn,PacketConn}.Close block? | The documentation for `net.Conn.Close` is:
> Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
However, it does not mention anything about whether `Close` itself can block.
Some `net.Conn` implementations have an implicit write buffer. Thus, when `Close` is called, it still needs to flush the buffer before returning. This means that `Close` is effectively an operation that involves IO. Since it involves IO, this means that `Close` may have to wait until the recipient acknowledges the incoming data (which could potentially be forever if the receiver's read buffer is full).
If we extend the documentation for `net.Conn.Close`, would the following be reasonable?
> Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors. Close itself may block while it is flushing any internal write buffers, but must return an error and terminate the connection when a previously set write deadline is exceeded.
\cc @bradfitz @mikioh | Documentation,NeedsFix | low | Critical |
193,373,555 | youtube-dl | NoneType is not callable in utils.py | ```
Error Type: <type 'exceptions.TypeError'>
Error Contents: attribute of type 'NoneType' is not callable
Traceback (most recent call last):
File "ytdl_test.py", line 588, in <module>
yt_download()
File "ytdl_test.py", line 393, in yt_download
result = ydl.extract_info(url, download=False)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 357, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1436, in _real_extract
upload_date = unified_strdate(upload_date)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1118, in unified_strdate
upload_date = datetime.datetime.strptime(date_str, expression).strftime('%Y%m%d')
TypeError: attribute of type 'NoneType' is not callable
```
quick fix:
utils.py
---------
```
1116 for expression in date_formats(day_first):
1117 try:
1118 upload_date = datetime.datetime.strptime(date_str, expression).strftime('%Y%m%d')
1119 except ValueError:
1120 pass
1121 except: # added case for generic exception
1122 pass
```
| external-bugs | low | Critical |
193,380,666 | TypeScript | WebWorker and dom lib does not support transfers in the type for postMessage | <!-- BUGS: Please use this template. -->
<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->
<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->
**TypeScript Version:** 2.0.10
**Code**
```ts
// Create a 32MB "file" and fill it.
var uInt8Array = new Uint8Array(1024 * 1024 * 32); // 32MB
for (var i = 0; i < uInt8Array.length; ++i) {
uInt8Array[i] = i;
}
self.postMessage(uInt8Array.buffer, [uInt8Array.buffer]);
```
**Expected behavior:**
Compiled with `tsc --lib "es6, webworker, scripthost" worker.ts` a JavaScript file should be generated.
**Actual behavior:**
```
[14:04:55] ➜ Desktop tsc --lib "es6, webworker, scripthost" worker.ts
worker.ts(7,1): error TS2346: Supplied parameters do not match any signature of call target.
```
As documented in the [WhatWG Living Standard](https://html.spec.whatwg.org/multipage/workers.html#dedicated-workers-and-the-dedicatedworkerglobalscope-interface:dom-dedicatedworkerglobalscope-postmessage), postMessage on DedicatedWorkerGlobalScope should accept a list of objects to be transferred rather than cloned, but the current lib.webworker.d.ts defines postMessage with only a single parameter. postMessage on a MessagePort should also accept a list of transfers, which is not the case in either dom.generated.d.ts or in webworker.generated.d.ts. The postMessage in dom on the window object, however, does currently support transfers. | Bug,Help Wanted,Domain: lib.d.ts | low | Critical |
193,424,864 | neovim | word-wrap ("gq" or "gw") is not idempotent | - `nvim --version`:
```
NVIM 0.1.7
Build type: None
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-Rms3o8/neovim-0.1.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DDISABLE_LOG -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/build/neovim-Rms3o8/neovim-0.1.7/build/config -I/build/neovim-Rms3o8/neovim-0.1.7/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/build/neovim-Rms3o8/neovim-0.1.7/build/src/nvim/auto -I/build/neovim-Rms3o8/neovim-0.1.7/build/include
Compiled by [email protected]
Optional features included (+) or not (-): +acl +iconv +jemalloc +tui
For differences from Vim, see :help vim-differences
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
```
- Vim (version: 8.0 with patches 1-95) behaves differently? No, vim has the same bug.
- Operating system/version: Debian GNU/Linux sid
- Terminal name/version: GNOME Terminal 3.22.1 Using VTE version 0.46.1
- `$TERM`: xterm-256color
Given a file containing the following text (exact amount of whitespace significant, in particular the two spaces before `I'd`):
```
(1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 123456.) I'd
like to test wrapping
```
Pressing gqap moves the `I'd` to the next line. Pressing gqap again moves the `I'd` back to the end of the first line, but with a single space between it and the close paren.
Leaving aside what seems like incorrect wrapping (should have two spaces after the `.)`), it seems wrong for word-wrapping to not produce the final result after one word-wrap, and to change again with a second word-wrap. | bug-vim | low | Critical |
193,450,533 | TypeScript | Incorrect type definition for "ErrorEvent" in "lib.es6.d.ts" | **TypeScript Version:** 2.0.10
**Code**
This issue was first mention in Stackoverflow:
http://stackoverflow.com/questions/40935259/how-to-create-an-errorevent-in-typescript/
The question:
> According to this post
>
> http://stackoverflow.com/questions/26554607/how-to-properly-initialize-en-errorevent-in-javascript
>
> You should be able to create an `EventError` with this code:
>
> var error = new ErrorEvent('oh nose', {
> error : new Error('AAAHHHH'),
> message : 'A monkey is throwing bananas at me!',
> lineno : 402,
> filename : 'closet.html'
> });
>
> However, if you try this in the TypeScript playground:
>
> [https://www.typescriptlang.org/play/#src=var%20error%20%3D%20new%20ErrorEvent('oh%20nose'%2C%20%7B%0A%20%20%20%20error%20%3A%20new%20Error('AAAHHHH')%2C%0A%20%20%20%20message%20%3A%20'A%20monkey%20is%20throwing%20bananas%20at%20me!'%2C%0A%20%20%20%20lineno%20%3A%20402%2C%0A%20%20%20%20filename%20%3A%20'closet.html'%0A%7D)%3B][1]
>
> It says `Supplied parameters do not match any signature of call target.`
>
> Even this simple example does not compile:
>
> var error = new ErrorEvent('oh nose');
>
> I have tried to figure it out by looking at the Type Definition
>
> https://github.com/Microsoft/TypeScript/blob/master/lib/lib.es6.d.ts#L9612
>
> But can't figure it out.
>
> What is missing to create a perfectly legal `EventError` in TypeScript?
The answer:
>*lib.es6.d.ts* is not completely aligned with the [spec](https://www.w3.org/TR/html5/webappapis.html#the-errorevent-interface).
>
>You should log an issue on [TypeScript's github](https://github.com/Microsoft/TypeScript/issues), >but for the time being you can edit *lib.es6.d.ts* to include the fix:
>
> // add this interface
> interface ErrorEventInit {
> // ...put the properties here...
> }
>
> // edit this declare var's new signature
> declare var ErrorEvent: {
> new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;
> prototype: ErrorEvent;
> }
[1]: https://www.typescriptlang.org/play/#src=var%20error%20%3D%20new%20ErrorEvent('oh%20nose'%2C%20%7B%0A%20%20%20%20error%20%3A%20new%20Error('AAAHHHH')%2C%0A%20%20%20%20message%20%3A%20'A%20monkey%20is%20throwing%20bananas%20at%20me!'%2C%0A%20%20%20%20lineno%20%3A%20402%2C%0A%20%20%20%20filename%20%3A%20'closet.html'%0A%7D)%3B
**Expected behavior:**
`lib.es6.d.ts` should be updated
**Actual behavior:**
TSC `Supplied parameters do not match any signature of call target`.
| Bug,Help Wanted,Domain: lib.d.ts | low | Critical |
193,543,935 | angular | Binding on input [type] is broken | **I'm submitting a ...**
```
[x] bug report => search github for a similar issue or PR before submitting
```
**Current behavior**
Try to bind the `type` attribute of input:
```js
// in Class
inputType="number"
// in html
<input [type]="inputType" formControlName="integerB" />
```
Initially, the value is presented as number when doing `form.value`:
```js
{"integerB": 5}
```
Now, try to change the input's value.
**Its type has changed to string:**
```js
{"integerB": "5"}
```
while it seems the html attributes haven't changed:
```html
// chrome dev console
<input formcontrolname="integerB" ng-reflect-name="integerB" ng-reflect-type="number" type="number" class="ng-valid ng-dirty ng-touched">
```
**Expected behavior**
If we *are* able to bind to [type], the input type should have stayed "number", so does the value.
**Minimal reproduction of the problem with instructions**
http://plnkr.co/edit/kp0xoDbZmJnD5orOTZUj?p=preview
**What is the motivation / use case for changing the behavior?**
I'm dynamiclly generating forms from given JSON, so binding to [type] can save a lot of copy-paste code.
**Please tell us about your environment:**
Not sure this is relevant as it is reproducible in plnkr.
Thanks.
**Edit**: same goes if binding [type] to `inputType="checkbox"`.
**Edit2**: this is also broken in the Dynamic Forms demo if you change "email" type to number (for example) | feature,state: blocked,freq2: medium,area: forms,feature: under consideration | high | Critical |
193,547,262 | opencv | Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'nextEventMatchingMask should only be called from the Main Thread!' | I am seeing an exception on a macOSx Sierra when running the following line:
```
key = cv2.waitKey(1) & 0xFF
```
Any idea what could be the issue ?
```
2016-12-05 11:29:24.521 python[94697:4307308] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'nextEventMatchingMask should only be called from the Main Thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00007fffa813548b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffbc897cad objc_exception_throw + 48
2 AppKit 0x00007fffa644850c -[NSApplication(NSEvent) shouldBeTreatedAsInkEvent:] + 0
3 libopencv_highgui.2.4.dylib 0x000000010b8eb0a6 cvWaitKey + 402
4 cv2.so 0x000000010b0f2ce1 _ZL16pyopencv_waitKeyP7_objectS0_S0_ + 103
5 Python 0x000000010ac6c534 PyEval_EvalFrameEx + 14624
6 Python 0x000000010ac68a1e PyEval_EvalCodeEx + 1617
7 Python 0x000000010ac0e531 PyFunction_SetClosure + 826
8 Python 0x000000010abf075b PyObject_Call + 99
9 Python 0x000000010ac6c045 PyEval_EvalFrameEx + 13361
10 Python 0x000000010ac68a1e PyEval_EvalCodeEx + 1617
11 Python 0x000000010ac6f442 _PyEval_SliceIndex + 338
12 Python 0x000000010ac6beae PyEval_EvalFrameEx + 12954
13 Python 0x000000010ac68a1e PyEval_EvalCodeEx + 1617
14 Python 0x000000010ac0e531 PyFunction_SetClosure + 826
15 Python 0x000000010abf075b PyObject_Call + 99
16 Python 0x000000010ac6c045 PyEval_EvalFrameEx + 13361
17 Python 0x000000010ac6f4d5 _PyEval_SliceIndex + 485
18 Python 0x000000010ac6beae PyEval_EvalFrameEx + 12954
19 Python 0x000000010ac6f4d5 _PyEval_SliceIndex + 485
20 Python 0x000000010ac6beae PyEval_EvalFrameEx + 12954
21 Python 0x000000010ac68a1e PyEval_EvalCodeEx + 1617
22 Python 0x000000010ac0e531 PyFunction_SetClosure + 826
23 Python 0x000000010abf075b PyObject_Call + 99
24 Python 0x000000010abfb40c PyMethod_New + 1221
25 Python 0x000000010abf075b PyObject_Call + 99
26 Python 0x000000010ac6ee1b PyEval_CallObjectWithKeywords + 165
27 Python 0x000000010ac9bdae initthread + 2833
28 libsystem_pthread.dylib 0x00007fffbd38daab _pthread_body + 180
29 libsystem_pthread.dylib 0x00007fffbd38d9f7 _pthread_body + 0
30 libsystem_pthread.dylib 0x00007fffbd38d221 thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
``` | bug,category: highgui-gui,platform: ios/osx | low | Minor |
193,593,423 | angular | Support cold event streams in templates | # Requirements
* [R1] Observables must be cold (ie if there is no subscription then there should be no listeners.)
USE CASE: drag and drop. No need to listen on mousemove if drag has not been initiated.
* [R2] It must be possible to execute an expression which computes the action which will be next-ed into the observable.
- USE CASE: ngFor shows a list of todos with a remove button. Clicking the remove should notify the stream not with the DOM event, but with the item to be removed.
* [R3] It must be possible to set up observable recipes to run inside/outside of angular zone.
- USE CASE:
- drag and drop. Don't run CD on mousemove.
- Throttle; debounce; etc..: Only run CD on subscription which pass throttle, debounce; etc.
* [R4] It would be strongly preferable if there was something in the template which would indicate that an observable is listening at a given location.
- USE CASE: it should be easy for the developer/tooling to see where in the source code the event will be processed.
# Design
* Component will annotate fields which will represent Observable Streams which will be created by the Template's ViewFactory. [R4] (This will also determine the parameterization for the Observables. (ie `Observable<MyType>)`)
- The Framework will set those fields right after constructing the object. We need a new hook (`ngOnCreate`) which would be called right after setting the fields but before running first change detection (`ngOnChanges`, `ngOnInit`).
* Create new syntax which will describe [R4]:
- Which events should the template listen on [R4].
- How should the action be computed [R2].
- Which stream should receive the action
*Split Angular Zone into `NgErrorZone` for error handling and `NgChangeDetectionZone` for CD. [R3]
- Provide convenience method running code in `NgErrorZone` and `NgChangeDetectionZone`. [R3]
```ts
@Component({
template: `
<ul>
<li *ngFor="let user of users; let i = index">
{{user.name}}
<button (*click|remove)="{item: user, index: i}">X</button>
<li>
<ul>
`
})
class MyComponent implements OnCreate{
users: User[] = ...;
// Specify that this will have property injection.
@Inject()
remove: Observable<{item: User, index: number}>;
actions: Observable<Action>;
ngOnCreate() {
// An example of building up a recipe.
// Notice that we are making sure that Rx operators have no CD.
this.actions = noChangeDetection(() => remove.map(() => ...));
}
}
```
* ViewFactory creates an instance of Observable which then is property injected into component
- Observable names and types (Type parameters) are declared in the component
- `@Inject()` identifies that the observable has to be generated in the `ViewContainer`.
- Need a `ngOnCreate()` hook to create recipes.
* Need `noChangeDetection()` method for going in and out of CD. Separate Design Doc TBD.
* `(*click|remove)="{item: user, index: i}"` Placeholder syntax, see discussion later. This is used to generate cold event registration for DOM events. The expression is used to compute the value which will be next ed into the observable.
- Notice that even though there are zero or more instance of places where we listen into DOM events, there is always only one observable instance given that name.
# Syntax Discussion
NOTE: The above syntax is used only as a placeholder
The Syntax Requirements:
* The syntax needs to encode three items:
- `event`: The DOM event
- `stream`: The destination stream
- `actionExp`: The action object
* Given that we need to encode three things and that `key="value"` only takes two by default we have to figure out how to encode three things into two. The choices are:
- `event+stream="actionExp"`: [favorite]
- This format combines event and stream on the LHS.
- Both event and stream are just symbols (ie foo) not complex expressions (ie `{name: foo + 2}`) and so they can be on the LHS.
- Event is already on LHS in `(event)="stmt"` so it should stay there.
- There is already a precedence for compound LHS in `style.width.px="123"`.
- Example: `(*click|remove)="actionExp"`.
- The `*` is preferred (not necessary) as it hints that it is cold (not always listening)
- The `(...)` should be retained to be consistent with normal event listeners
- `event="stream+actionExp"`: [probably not]
- Micro Syntax has precedence for combining multiple formats on the RHS (but it requires special symbol on the LHS to activate it.)
- Microsyntax is shorthand for an expanded canonical form. Here there would be no canonical form.
- Example: `(*click)="actionExp into remove"`
- The `*` is required as it hints that it is cold (not always listening) and that it is different from normal listener.
- The `(...)` should be retained to be consistent with normal event listeners
* `stream-action="actionExp" stream-event="event"`: [strongly against]
- Require two key-value pairs.
- This format is just very wordy and cumbersome.
- Puts event on the RHS whereas it is on LHS in `(event)="stmt"`.
| feature,area: core,core: event listeners,cross-cutting: observables,feature: under consideration | high | Critical |
193,640,761 | TypeScript | Support @class in JSDoc | From https://github.com/Microsoft/vscode/issues/15168
For the following JavaScript code:
```js
/**
* @class
*
* @param {number} x
*/
function Foo(x) {
this.x = x
}
/**
* @param {Foo} foo
*/
const request = function(foo) {
}
```
The `@class` jsdoc annotation for `Foo` does not seem to be recognized, so the type of `foo` in `request` is `any`:

Changing the code to use `class` fixes the issue (you don't actually need the `@class` in this case):

| Suggestion,Help Wanted,VS Code Tracked,Domain: JSDoc,Domain: JavaScript,Has Repro | low | Major |
193,642,476 | opencv | VS2017: CMake files are put outside the build directory | ##### System information (version)
- OpenCV => GitHub master from today
- Operating System / Platform => Win 8.1
- Compiler => VS2015-U3
- CMake => 3.7.1
##### Detailed description & Steps to reproduce
If you do an out-of-source build and have the following directory layout:
```
opencv # sources
build
install
```
You do the usual `cd build` and `cmake-gui ..\opencv`, so "c:/...../build/" is the build dir and you set "c:/...../install/" as `CMAKE_INSTALL_PREFIX`, as well as "c:/...../install/bin" as `EXECUTABLE_OUTPUT_PATH`. Then generate the Visual Studio solution, start compiling. Suddenly a folder appears, completely outside the build directory (this should never happen!) with the following subfolders/content:
```
opencv # sources
build
install
x64/Release/ZERO_CHECK/ZERO_CHECK.log
```
This issue wasn't there a few months ago, and it really shouldn't happen. CMake has no business writing into that folder.
| bug,category: build/install | low | Major |
193,645,538 | youtube-dl | [Site Support Request] adsrcourses.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.12.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.12.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)
- [X] Site support request (request for adding support for a new site)
- [ ] Feature request (request for a new functionality)
- [X] Question
- [ ] Other
```
WITH USER-AGENT
PS C:\Users\Chris> youtube-dl --cookies "C:\Users\Chris\Downloads\cookies.txt" --user-agent "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/55.0.2883.75 Safari/537.36" -v "https://www.adsrcourses.com/media/01-introduction/50473/feature"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--cookies', 'C:\\Users\\Chris\\Downloads\\cookies.txt', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.3
6 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36', '-v', 'https://www.adsrcourses.com/media/01-introduction/50473/feature']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: none
[debug] Proxy map: {'https': 'https://127.0.0.1:8888', 'http': 'http://127.0.0.1:8888'}
[generic] feature: Requesting header
WARNING: Falling back on generic information extractor.
[generic] feature: Downloading webpage
[generic] feature: Extracting information
[download] Downloading playlist: None
[generic] playlist None: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on 'http://pivotshare-downloads.dcp.adaptive.level3.net/pivotshare-vod/CID-3978/50473_2c16044928adbb0892f26d6596631a97_TRAILER_3
60.mp4?nva=21161206032512&token=0d7254234c371a8d4542d'
[download] 01 Introduction _ Echo Sound Works _ Watch Online Free for 2 weeks _ ADSR Music Production Video Courses-feature.mp4
[download] 100% of 2.10MiB in 00:01
[download] Finished downloading playlist: None
DEFAULT USER-AGENT
PS C:\Users\Chris> youtube-dl --cookies "C:\Users\Chris\Downloads\cookies.txt" -v "https://www.adsrcourses.com/media/01-introduction/50473/feature"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--cookies', 'C:\\Users\\Chris\\Downloads\\cookies.txt', '-v', 'https://www.adsrcourses.com/media/01-introduction/50473/feature']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: none
[debug] Proxy map: {'https': 'https://127.0.0.1:8888', 'http': 'http://127.0.0.1:8888'}
[generic] feature: Requesting header
WARNING: Falling back on generic information extractor.
[generic] feature: Downloading webpage
[generic] feature: Extracting information
[download] Downloading playlist: None
[generic] playlist None: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on 'http://pivotshare-downloads.dcp.adaptive.level3.net/pivotshare-vod/CID-3978/50473_2c16044928adbb0892f26d6596631a97_TRAILER_3
60.mp4?nva=21161206032512&token=0d7254234c371a8d4542d'
[download] 01 Introduction _ Echo Sound Works _ Watch Online Free for 2 weeks _ ADSR Music Production Video Courses-feature.mp4
[download] 100% of 2.10MiB in 00:01
[download] Finished downloading playlist: None
```
---
### 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.adsrcourses.com/media/building-modular-synths-in-reaktor/25562/feature
- Single video: https://www.adsrcourses.com/media/-02-what-is-additive-synthesis/31149/feature
---
**ISSUE: youtube-dl only downloads the public-facing trailer videos**
Things to know:
1. adsrcourses.com requires credentials to login. I'm happy to provide them for the devs to investigate.
2. I can watch the videos just fine logged in from Chrome, but youtube-dl only downloads the teasers which are available to non-authenticated users.
3. I have tried to load in the cookies from Chrome and use the same Chrome user-agent as my browser. Passing the username and password also does not work.
4. It looks like from Fiddler that when in Chrome the client hello contains a session id and session ticket for the SSL handshake. youtube-dl does not send this information and is then sent the public video by the server.
How do I access the real videos from youtube-dl?
Below is also the dump file.
[feature_https_-_www.adsrcourses.com_media_01-introduction_50473_feature.zip](https://github.com/rg3/youtube-dl/files/632588/feature_https_-_www.adsrcourses.com_media_01-introduction_50473_feature.zip)
| account-needed | low | Critical |
193,754,635 | opencv | ORB OpenCL in opencv 3.1-dev is different with opencv3.1 release, and something is wrong there. |
<!--
If you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses.
If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).
This is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.
-->
##### System information (version)
<!-- Example
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
-->
- OpenCV => 3.1.0-1843-g37cbcf0-dirty
- Operating System / Platform => macos sierra 10.12.1 Darwin 16.1.0 x86_64
- Compiler => clang++ (ver 8.0.0.8000042)
##### Detailed description
<!-- your description -->
compare with opencv 3.1 release version's ORB:
the detected keypoint info has no difference with 3.1, both has same x, y, angle, and size,
but the extracted descriptor is different.
if I compile the latest 3.1.0-dev without opencl support, the extracted descriptor is same with 3.1 version's descriptor.
##### Steps to reproduce
the ORB feature can be test by this:
https://github.com/BloodAxe/OpenCV-Features-Comparison.
If I use the 3.1.0-dev with opencl support, the orb's precision and recall are very low:
Average Recall
ORB Brightness change 0.527154
ORB Gaussian blur 0.333556
ORB Rotation 0.0643926
ORB Scaling 0.101222
Average Precision
ORB Brightness change 0.672338
ORB Gaussian blur 0.490562
ORB Rotation 0.0712741
ORB Scaling 0.174263
If I use the 3.1.0-dev WITHOUT opencl support, the orb's precision and recall are much higher:
Average Recall
ORB Brightness change 0.622231
ORB Gaussian blur 0.419333
ORB Rotation 0.487047
ORB Scaling 0.393111
Average Precision
ORB Brightness change 0.802267
ORB Gaussian blur 0.608733
ORB Rotation 0.649895
ORB Scaling 0.63038
<!-- to add code example fence it with triple backticks and optional file extension
```.cpp
// C++ code example
```
or attach as .txt or .zip file
--> | wontfix,category: features2d,platform: ios/osx,category: ocl | low | Critical |
193,807,619 | youtube-dl | Site support request for 9jumpin.com.au | While trying to download a video, using the latest version of youtube-dl, it says that the url is unsopported. So this is a site support request for the website 9jumpin.com.au
This is a url example: http://www.9jumpin.com.au/show/today/today-takeaway/2016/december/is-benedict-cumberbatch-headed-for-australia/
From what I was able to make out this website uses brightcove which has in the past usually worked with youtube-dl. I was unable to obtain the direct brightcove url to the video though but usually youtube-dl obtains it iself.
[x] I've **verified** and **I assure** that I'm running youtube-dl **2016.12.01**
```
D:\ytdl>youtube-dl.exe -v http://www.9jumpin.com.au/show/today/today-tak
eaway/2016/december/is-benedict-cumberbatch-headed-for-australia/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.9jumpin.com.au/show/today/today-ta
keaway/2016/december/is-benedict-cumberbatch-headed-for-australia/']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-7-6.1.7600-SP0
[debug] exe versions: ffmpeg N-73696-g8250943, ffprobe N-73696-g8250943, rtmpdum
p 2.4
[debug] Proxy map: {}
[generic] is-benedict-cumberbatch-headed-for-australia: Requesting header
WARNING: Falling back on generic information extractor.
[generic] is-benedict-cumberbatch-headed-for-australia: Downloading webpage
[generic] is-benedict-cumberbatch-headed-for-australia: Extracting information
ERROR: Unsupported URL: http://www.9jumpin.com.au/show/today/today-takeaway/2016
/december/is-benedict-cumberbatch-headed-for-australia/
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\build\youtube_dl\YoutubeDL.py", line 694, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\build\youtube_dl\extractor\common.py", line 357, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\build\youtube_dl\extractor\generic.py", line 2433, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.9jumpin.com.au/show/today/today-takeaway/2016/december/is-benedict-cumberbatch-headed-for-austral
ia/
<end of log>
```
| geo-restricted | low | Critical |
193,847,551 | opencv | INSTALL target can't be re-run in VS2017RC | ##### System information (version)
- OpenCV => GitHub master from today
- Operating System / Platform => Win 8.1, 64bit, CMake 3.7.1
- Compiler => VS2017RC
##### Detailed description
The `INSTALL` target is somehow broken in VS2017. You can run it once, it installs all files, but then when you run the target again, nothing happens, you just get this build output:
`========== Build: 0 succeeded, 0 failed, 11 up-to-date, 0 skipped ==========`
Even when you delete files in the install directory, or recompile your solution again, you can't make the `INSTALL` target re-run.
To reproduce, just build OpenCV in standard (or minimal) configuration, open with VS2017RC, build, run INSTALL, (optionally delete some files from the install-dir), re-run INSTALL again, it won't do anything. | bug,priority: low,category: build/install | low | Critical |
193,893,732 | kubernetes | Expose enough information to resolve object references and label selectors generically | The API has a number of references to other resources that don't specify full details needed to construct API calls (e.g., `secretName`) without specific, detailed knowledge of the API. Clients need to be able to resolve dependencies generically.
There are a few possible approaches. One could be to augment the OpenAPI spec. Another could be to provide a subresource or alternative representation (#33900) to enumerate fully qualified dependencies.
See also #3676.
| area/app-lifecycle,area/extensibility,sig/api-machinery,lifecycle/frozen | low | Major |
193,899,367 | opencv | YUV/YCbCr conversions only support imagery using the SD colorspace | ##### System information (version)
- OpenCV => 3.1
- Operating System / Platform => All
- Compiler => All
##### Detailed description
Color conversions in OpenCV between YUV/YCbCr and color models like RGB only use the colorspace coefficients for SD/Rec.601. Therefore if you use imagery in the HD/Rec.709 or UHD/Rec.2020 colorspaces then the conversions will not produce correct colors.
##### Steps to reproduce
Easy! Do a code-wide search for 601, and in those same files you will not be able to find alternative coefficients for 709 or 2020
Examples:
https://github.com/opencv/opencv/blob/3.1.0/modules/imgproc/src/color.cpp
https://github.com/opencv/opencv/blob/3.1.0/modules/imgproc/src/opencl/cvtcolor.cl
| feature,category: imgproc | low | Minor |
193,923,015 | go | test: doesn't use GO_GCFLAGS for tests | GO_GCFLAGS only affects the compiler that is invoked directly by the `dist` tool (I think).
The compiler invoked by test/run.go doesn't have its command line modified by GO_GCFLAGS.
So all of the tests in test/ aren't actually testing what we think they are testing on the modified builders like noopt and ssacheck.
Maybe this is unfixable as a some of the tests in test/ provide their own flags to the compiler. But it surprised me that the ssacheck checks weren't actually running on the ssacheck builder in the test directory.
Maybe there's some way to propagate GO_GCFLAGS that makes sense.
See https://go-review.googlesource.com/c/33909/ for a hack I needed to make this work for randomized value order testing.
@bradfitz @cherrymui @dr2chase
| help wanted,Builders,NeedsFix | low | Minor |
193,932,400 | rust | `rustc -v` should print out linker output | If I compile something with `rustc -v`, it doesn't show the linker invocations or anything else:
```
$ echo "fn main() {}" > t.rs
$ rustc -v --crate-type bin t.rs
$ ls -l t
-rwxr-xr-x. 1 jsgf users 2052670 Dec 6 17:15 t
```
<!-- TRIAGEBOT_START -->
<!-- TRIAGEBOT_ASSIGN_START -->
<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"yanok"}$$TRIAGEBOT_ASSIGN_DATA_END -->
<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END --> | A-frontend,A-linkage,T-compiler,C-feature-request | medium | Critical |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.