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 |
---|---|---|---|---|---|---|
33,107,532 | youtube-dl | Add support for www.tele-task.de | Example URL: http://www.tele-task.de/archive/video/real/129/
| site-support-request | low | Minor |
33,217,916 | rust | rustdoc doesn't substitute type parameters | This comes up when you're looking at something like an instantiation of a generic trait. For example, the `CharOffsets` structure implements `Iterator<(uint, char)>`, but lots of the default methods refer to an `A` type parameter, where in this case `A = (uint, char)`.
http://static.rust-lang.org/doc/master/core/str/struct.CharOffsets.html
I'm not sure if we want to go all-out and to type substitution everywhere, perhaps it's good enough as-is?
| T-rustdoc,C-bug,S-has-mcve | low | Major |
33,237,875 | youtube-dl | Remove trackers by default | For tracking purposes google adds unique fields at container level to mp4 files downloaded from youtube:
```
$ mediainfo -f _video.mp4 |grep '^g'
gsst : 0
gstd : xxxxxx
gssd : yyyyyyyyyyyyyyyyyyyyyyyyyyy
gshh : zzzzzzzzzzzzzzzz.googlevideo.com
```
https://superuser.com/questions/503868/how-i-can-remove-all-google-data-from-youtube-video-downloads
I think youtube-dl should by default create reproducible downloads: if several people from different countries using different platforms execute at different time same youtube-dl commands for same urls they should get _exactly_ the same files. Now md5sum for mp4 files from youtube changes after simple redownloading file from same system and location, because gs\* entries are changed.
The most obvious and trivial workaround is to simply remux:
`avconv -i _video.mp4 -c copy -flags bitexact video.mp4`.
`-flags bitexact` is required, because else info about ffmpeg/libav versions will be added to file
```
$ mediainfo -f video.mp4 |grep -i lavf
Writing application : Lavf55.12.0
```
P.S. With matroska files bitexact option works fine too.
| request | low | Minor |
33,269,145 | youtube-dl | add support for bild.de videos | ```
> youtube-dl http://www.bild.de/regional/hamburg/gewalt/nach-pruegel-video-sitzt-17-jaehriger-in-u-haft-35920328.bild.html -v
```
[debug] System config: ['-t', '--restrict-filenames']
[debug] User config: []
[debug] Command-line args: ['http://www.bild.de/regional/hamburg/gewalt/nach-pruegel-video-sitzt-17-jaehriger-in-u-haft-35920328.bild.html', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.30
[debug] Python version 2.7.5 - Darwin-13.1.0-x86_64-i386-64bit
[debug] Proxy map: {'http': 'http://127.0.0.1:8228', 'https': 'http://127.0.0.1:8228'}
[generic] nach-pruegel-video-sitzt-17-jaehriger-in-u-haft-35920328.bild: Requesting header
WARNING: Falling back on generic information extractor.
[generic] nach-pruegel-video-sitzt-17-jaehriger-in-u-haft-35920328.bild: Downloading webpage
[generic] nach-pruegel-video-sitzt-17-jaehriger-in-u-haft-35920328.bild: Extracting information
ERROR: Unsupported URL: http://www.bild.de/regional/hamburg/gewalt/nach-pruegel-video-sitzt-17-jaehriger-in-u-haft-35920328.bild.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 421, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1392, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 2, column 40
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 514, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 683, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.bild.de/regional/hamburg/gewalt/nach-pruegel-video-sitzt-17-jaehriger-in-u-haft-35920328.bild.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
33,418,099 | youtube-dl | [fc2] 403 error | ```
youtube-dl http://video.fc2.com/en/content/20130113eqtNRAv5 -v
[debug] System config: []
[debug] User config: ['--age-limit', '17']
[debug] Command-line args: ['http://video.fc2.com/en/content/20130113eqtNRAv5', '-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.13
[debug] Git HEAD: 1800eee
[debug] Python version 2.7.6 - Linux-3.13-1-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[fc2] 20130113eqtNRAv5: Downloading webpage
[fc2] 20130113eqtNRAv5: Downloading info page
ERROR: Error code: 403; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "youtube_dl/extractor/fc2.py", line 50, in _real_extract
raise ExtractorError('Error code: %s' % info['err_code'][0])
ExtractorError: Error code: 403; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
```
It looks like the problem is the missing PHPSESSID cookie. We should fix cookie handling in fc2.
| broken-IE | low | Critical |
33,492,158 | youtube-dl | py2exe execution fails if cwd contains Cyrillic characters | ```
C:\Users\ะะธะฝะบะฐ\Desktop>youtube-dl
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\py2exe\boot_common.py", line 92, in <module>
ImportError: No module named linecache
Traceback (most recent call last):
File "<install zipextimporter>", line 1, in <module>
ImportError: No module named zipextimporter
Traceback (most recent call last):
File "__main__.py", line 15, in <module>
ImportError: No module named youtube_dl
```
| bug | low | Critical |
33,747,211 | youtube-dl | [site-support-request] movie.naver.com | <pre>C:\rtmp>youtube-dl --verbose http://movie.naver.com/movie/bi/mi/mediaView.nhn?code=57278&mid=22567
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://movie.naver.com/movie/bi/mi/mediaView.nhn?code=57278']
[debug] Encodings: locale cp949, fs mbcs, out cp949, pref cp949
[debug] youtube-dl version 2014.08.29
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] mediaView: Requesting header
WARNING: Falling back on generic information extractor.
[generic] mediaView: Downloading webpage
[generic] mediaView: Extracting information
ERROR: Unsupported URL: http://movie.naver.com/movie/bi/mi/mediaView.nhn?code=57278; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 530, in _real_extract
File "youtube_dl\utils.pyo", line 1469, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: mismatched tag: line 84, column 2
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 521, in extract_info
File "youtube_dl\extractor\common.pyo", line 178, in extract
File "youtube_dl\extractor\generic.pyo", line 869, in _real_extract
ExtractorError: Unsupported URL: http://movie.naver.com/movie/bi/mi/mediaView.nhn?code=57278; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
'mid'์(๋) ๋ด๋ถ ๋๋ ์ธ๋ถ ๋ช
๋ น, ์คํํ ์ ์๋ ํ๋ก๊ทธ๋จ, ๋๋
๋ฐฐ์น ํ์ผ์ด ์๋๋๋ค.
</pre>
| site-support-request | low | Critical |
33,755,200 | youtube-dl | Please support http://fhp.nu/Hem/lanksidor/Hearing-om-kultur--och-filmpolitik/ | $ youtube-dl --verbose http://fhp.nu/Hem/lanksidor/Hearing-om-kultur--och-filmpolitik/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://fhp.nu/Hem/lanksidor/Hearing-om-kultur--och-filmpolitik/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.16.1
[debug] Python version 2.7.6 - Linux-3.14-trunk-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[generic] Hearing-om-kultur--och-filmpolitik: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Hearing-om-kultur--och-filmpolitik: Downloading webpage
[generic] Hearing-om-kultur--och-filmpolitik: Extracting information
ERROR: Unsupported URL: http://fhp.nu/Hem/lanksidor/Hearing-om-kultur--och-filmpolitik/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 418, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1406, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 102, column 24
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 687, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://fhp.nu/Hem/lanksidor/Hearing-om-kultur--och-filmpolitik/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
33,757,188 | youtube-dl | [NBCNewsIE] Broken IE - doesn't work for full episodes | Falls back to the generic extractor. I opened a separate issue to #2946 due to the sufficiently different URL structure. I suspect a new IE will be needed in this case.
Example URL: http://tve-nbcnews.nbcuni.com/tve/show/Meet%20the%20Press#show/Meet%20the%20Press/239227971771/0/Meet%20the%20Press%2C%20April%2027%2C%202014
```
$ youtube-dl -v http://tve-nbcnews.nbcuni.com/tve/show/Meet%20the%20Press#show/Meet%20the%20Press/239227971771/0/Meet%20the%20Press%2C%20April%2027%2C%202014
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://tve-nbcnews.nbcuni.com/tve/show/Meet%20the%20Press#show/Meet%20the%20Press/239227971771/0/Meet%20the%20Press%2C%20April%2027%2C%202014']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.13
[debug] Python version 3.4.0 - Linux-3.14.1-1-ARCH-x86_64-with-arch
[debug] Proxy map: {}
[generic] Meet%20the%20Press%2C%20April%2027%2C%202014: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Meet%20the%20Press%2C%20April%2027%2C%202014: Downloading webpage
[generic] Meet%20the%20Press%2C%20April%2027%2C%202014: Extracting information
ERROR: Unsupported URL: http://tve-nbcnews.nbcuni.com/tve/show/Meet%20the%20Press#show/Meet%20the%20Press/239227971771/0/Meet%20the%20Press%2C%20April%2027%2C%202014; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/generic.py", line 687, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
youtube_dl.utils.ExtractorError: Unsupported URL: http://tve-nbcnews.nbcuni.com/tve/show/Meet%20the%20Press#show/Meet%20the%20Press/239227971771/0/Meet%20the%20Press%2C%20April%2027%2C%202014; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
```
| site-support-request | low | Critical |
33,947,925 | youtube-dl | Support promodj.com as another web resource for downloading audio/video | http://promodj.com/ contains media content that also could have been collected with youtube-dl tool. Could you guys please support this web-site as well. There are both audio and video data there, so that would be helpful if you could handle downloading both from there.
Say, if I used this URL with youtube-dl - http://promodj.com/oakenfold/tracks/1735283/Paul_Oakenfold_The_Harder_They_Come, I would be supposed to get an audio track. This one - http://promodj.com/Fonarev/videos/4751405/Fonarev_Connection_2 - would get me a video file.
| site-support-request | low | Minor |
33,981,098 | youtube-dl | Can't download from http://www.fm94.rj.gov.br/index.php/main | $ youtube-dl --verbose http://www.fm94.rj.gov.br/index.php/controladorprograma/visualizar/3433/21
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.fm94.rj.gov.br/index.php/controladorprograma/visualizar/3433/21']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.19
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.5
[debug] Proxy map: {}
[generic] 21: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 21: Downloading webpage
[generic] 21: Extracting information
ERROR: Unsupported URL: http://www.fm94.rj.gov.br/index.php/controladorprograma/visualizar/3433/21; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 418, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1406, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 42, column 30
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 687, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.fm94.rj.gov.br/index.php/controladorprograma/visualizar/3433/21; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
34,233,072 | youtube-dl | Unsupported URL: http://www.funshion.com/vplay/m-56999/ | When trying to access the above url, I got:
```
youtube-dl "http://www.funshion.com/vplay/m-56999/" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.funshion.com/vplay/m-56999/', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.19
[debug] Python version 2.7.6 - Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[generic] m-56999: Requesting header
WARNING: Falling back on generic information extractor.
[generic] m-56999: Downloading webpage
[generic] m-56999: Extracting information
ERROR: Unsupported URL: http://www.funshion.com/vplay/m-56999/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 418, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1406, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 45, column 2
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 687, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.funshion.com/vplay/m-56999/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
```
Thanks,
| site-support-request | low | Critical |
34,280,977 | youtube-dl | Download YouTube playlists in order if the URL specifies a starting video | Example: https://www.youtube.com/watch?v=3Fz-X9dV2yc&list=PL0F37DF458A2AFFF8
This should start with 3Fz-X9dV2yc and loop around.
| request | low | Minor |
34,318,952 | nvm | Run correct npm completion script | I have the following line in my .bash_profile:
```
source ~/.nvm/v0.10.28/lib/node_modules/npm/lib/utils/completion.sh
```
That seems kind of fragile. Is there a better way, or could a better way be written?
| feature requests | medium | Major |
34,424,108 | rust | rustdoc: provide summary views | When viewing a specific type, rustdoc currently spreads out information about the applicable methods, arranging them by trait and including documentation per method.
While this is an important view to have, it would often be very useful to see a single summary list of method signatures that apply to a given type. Something close to what you see currently when you view a trait.
These methods could be listed as a separate summary section, or through some kind of slide out (see the "synopsis" button at http://hackage.haskell.org/package/vector-0.10.9.2/docs/Data-Vector.html for example). They can be hyperlinks to more detailed documentation.
| T-rustdoc,C-feature-request | medium | Major |
34,443,407 | youtube-dl | Add an option to show just the progress. | At the moment, you can use `--quiet` to show no output, and you can use `--verbose` to show lots of output, but there are no options to show just the progress.
| request | low | Minor |
34,602,736 | rust | replace the implementation of inline functions | Rust's implementation of `#[inline]` functions is far from ideal. It's a major contributor to both slow compile times and bloated binaries.
There are an enormous number of `#[inline]` functions in the standard libraries, and most have far more than one layer of inner `#[inline]` function calls. The work to convert these functions to LLVM IR, optimize and translate to machine code is duplicated for every single crate. The `inline` pass is not used at `--opt-level=0` and `--opt-level=1`, so the result is wasted time and duplicated code without any benefits.
It is possible to implement `#[inline]` functions without duplicating the work of converting to LLVM IR and optimizing. The compiler can also _entirely_ avoid any duplicated function bodies when the optimization level is not high enough for `inline`, the function is used as a function pointer or it is above the threshold.
Before compiling all of the functions in a library crate, Rust should create an LLVM module with all of the externally reachable inline functions in the crate. It will run the optimization passes on this LLVM module before continuing to compile, and it end up stored as metadata in the `rlib` or dynamic library in the bytecode format.
The compiler will then continue on with the compilation of the _other_ functions in the crate. The work to generate optimized LLVM IR from the externally reachable `#[inline]` is already complete and can be reused. These functions will _not_ be marked internal, because other crates will be able to call through to these.
Now, when Rust is compiling another crate, it can start by fetching the LLVM bytecode for the required inline functions. These functions will be marked `available_externally` and use the original symbol from the source library, so that if inlining does not occur there will be _no duplicate code_. At `--opt-level=0` and `--opt-level=1`, it can simply generate an external call immediately and ignore the bytecode blob.
It would also be possible to leverage this for instantiations of generic functions, by making the instantiations already done by the library available externally as LLVM bytecode blobs in the metadata.
| I-slow,C-enhancement,A-codegen,I-compiletime,T-compiler,C-optimization | low | Major |
34,705,924 | youtube-dl | Unable to extract from: http://www.frogtoon.com | youtube-dl --verbose http://www.frogtoon.com/Track/Horus/Peregrination+016+(February+2014)
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.frogtoon.com/Track/Horus/Peregrination+016+(February+2014)']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.19
[debug] Python version 2.7.5 - Darwin-13.2.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] Peregrination+016+(February+2014): Requesting header
WARNING: Falling back on generic information extractor.
[generic] Peregrination+016+(February+2014): Downloading webpage
[generic] Peregrination+016+(February+2014): Extracting information
ERROR: Unsupported URL: http://www.frogtoon.com/Track/Horus/Peregrination+016+(February+2014); please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 418, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1406, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 21, column 312
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 687, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.frogtoon.com/Track/Horus/Peregrination+016+(February+2014); please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
34,971,722 | neovim | Improve output messages | While working on #780, I found that the output messages could be improved in some respects, e.g.:
- Format string parameters (file names, variable names, ...) are sometimes at the end of a message ("Too many arguments for function: %s"), sometimes inline ("Argument of %s must be a List").
- Format string parameters are sometimes put in quotes.
- Some messages are split into multiple parts, e.g. [message for E325](https://github.com/neovim/neovim/blob/master/src/nvim/memline.c#L3180). It's harder to translate such partial strings because some context is missing.
- For error messages, words are sometimes capitalized after colons ("E682: **I**nvalid ..." vs "E363: **p**attern ...")
- Minor wording differences, e.g. "cscope" is sometimes written "Cscope".
- All-caps messages, e.g. "(NFA) COULD NOT OPEN %s !"
Fixing such issues should be pretty easy if there's an agreement on a "message style". The big downside, however, is that changes in the messages would probably require manually updating all existing translations afterwards (although the old translations might be recognized as "fuzzy" translations). If it is possible to create an `en.po` "translation", this could be circumvented while still improving at least some messages.
| documentation,localization | low | Critical |
35,193,279 | You-Dont-Know-JS | "es6 & beyond": great proxy example | https://mail.mozilla.org/pipermail/es-discuss/2014-June/037445.html
| for second edition | medium | Minor |
35,261,840 | three.js | CSS based size by default? | I'm just curious but have you considered making CSS based sizing the default? If you did less code would have to change for various use cases
For example many samples do stuff like this
```
camera = new THREE.PerspectiveCamera(
50, window.innerWidth / window.innerHeight, 1, 1000 );
```
And or they set
```
renderer.setSize( window.innerWidth, window.innerHeight );
```
But if instead you based the size of the canvas off its `clientWidth` and `clientHeight` then it would just always work. The user can make container and set it's CSS to any size. For example
```
<style>
html, body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
overflow: hidden; // make sure no scrollbar
}
#c {
width: 100%;
height: 100%;
}
</style>
<body>
<canvas id="c"></canvas>
</body>
```
And it just works. If they change the canvas to be some specific size like
```
#c {
width: 400px;
height: 300px;
}
```
Then it still just works.
If they put the canvas inside some other containers (say they are making an editor and there's a side tab) it all just works. Whereas the way three is now you always have to go muck with the code for a different use cases.
You'd have to stop mucking with `style.width` and `style.height` inside three but as it is it seems like three is fighting the web platform instead of embracing it.
Thoughts?
To be clear see these samples. They all use exactly the same JavaScript (in fact they're all pointing to the same JavaScript file). Because they use CSS and `clientWidth`, `clientHeight` nothing needs to change
Full size window with user created canvas
http://greggman.com/downloads/examples/three-by-css/three-by-css-01.html
80% size with user created canvas (size the window)
http://greggman.com/downloads/examples/three-by-css/three-by-css-02.html
Inline for article with user created canvas
http://greggman.com/downloads/examples/three-by-css/three-by-css-03.html
Full size window using container div where three.js makes the canvas
http://greggman.com/downloads/examples/three-by-css/three-by-css-by-container-01.html
80% size with using container div where three.js makes the canvas (size the window)
http://greggman.com/downloads/examples/three-by-css/three-by-css-by-container-02.html
Inline for article using container span where three.js makes the canvas
http://greggman.com/downloads/examples/three-by-css/three-by-css-by-container-03.html
No container div, uses the body, three.js creates the canvas
http://greggman.com/downloads/examples/three-by-css/three-by-css-body-only.html
This one is same as inline but uses `box-sizing: box-border;` which mean even though the container is set to 400px/300px the border is subtracted from the inside so the canvas needs to be 390/290 and again it just works because that's what `clientWidth` and `clientHeight` are.
http://greggman.com/downloads/examples/three-by-css/three-by-css-by-container-04.html
| Enhancement | medium | Critical |
35,645,417 | neovim | remove B0_FNAME_SIZE_CRYPT | based on original vim source, seems B0_FNAME_SIZE_CRYPT and B0_FNAME_SIZE_NOCRYPT were for encryption, which was removed. Investigate if these are needed now. Maybe @schmee can look into it?
| refactor | low | Minor |
35,662,333 | youtube-dl | Request to show xMiB instead of percentage downloaded | This is a feature request to show:
[download] 36.4MiB of 333MiB @...
as alternative to:
[download] 20.5% of 213MiB @...
| request | low | Minor |
35,999,155 | youtube-dl | request: Per service configuration | I love having the option to configure youtube-dl globaly, but it would be great to be able to specify options per service, so like one directory for YouTube, another for SoundCloud and another for Twitch.
I would presume it should look something like this:
```
[all]
--no-part
[youtube]
-o "%(uploader)s\%(title)s.%(ext)s"
[youtube:playlists]
-o "%(uploader)s\%(playlist)s\%(title)s.%(ext)s"
--ignore-errors
[soundcloud]
--audio-format m4a
[udemy]
--username MyUsername
--password MyPassword
[twitch]
--username MyUsername
--password MyPassword
```
I hope you get the basic gist.
Thank you :)
| request | low | Critical |
36,039,932 | rust | Better temporary lifetimes (tracking issue for RFC 66) | Tracking issue for rust-lang/rfcs#66: better temporary lifetimes.
Some unresolved questions to be settled when implementing:
1. This implies that the lifetimes of temporaries is not known until after typeck. I think this is ok but it is a phase change which can sometimes be tricky (currently temporary lifetimes are known before typeck).
2. We have to specify the precise rules over when a temporary is extended. There are various subtle cases to be considered:
- Clearly we must consider whether the parameter type is a reference with a lifetime that also appears in the return type. Does the variance in the return type matter? (I think: no, too subtle and not worth it.)
- When do we decide what the type of the parameter is? Do we consider the _declared type_, the _type after inference_, or a hybrid?
Some examples where this matters:
```
fn identity<T>(x: T) -> T { x }
// Are these the same or different?
foo(&3);
foo::<&int>(&3);
```
My take: Probably we should just consider the fully inferred type.
### Unresolved questions
* [ ] Resolve the concern about semantic changes described in [comment](https://github.com/rust-lang/rust/issues/15023#issuecomment-635464546).
| A-lifetimes,B-RFC-approved,T-lang,T-compiler,C-tracking-issue,S-tracking-design-concerns | medium | Critical |
36,259,284 | youtube-dl | Unsupported URL: http://www.fifa.com/worldcup/videos/highlights/match=300186483/index.html | site-support-request | low | Minor |
|
36,379,404 | react | Support asynchronous server rendering (waiting for data before rendering) | It would seriously ease the process of building something isomorphic if componentWillMount could return a promise and that react would delay rendering until that promise is resolved. I have seen attempt of doing something like that in react-router and rrouter, however giving this responsibility to each component instead of a router module would make more sense for me.
| Type: Feature Request,Component: Server Rendering,Component: Component API,Resolution: Backlog | high | Major |
36,385,814 | youtube-dl | Add support for ligonier.org (was: ERROR: Unsupported URL:) | Here is the verbose output:
~$ youtube-dl --verbose http://www.ligonier.org/rym/broadcasts/video/why-god-man-june-2014/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.ligonier.org/rym/broadcasts/video/why-god-man-june-2014/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.24.1
[debug] Python version 2.7.6 - Linux-3.13.0-29-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[generic] why-god-man-june-2014: Requesting header
WARNING: Falling back on generic information extractor.
[generic] why-god-man-june-2014: Downloading webpage
[generic] why-god-man-june-2014: Extracting information
ERROR: Unsupported URL: http://www.ligonier.org/rym/broadcasts/video/why-god-man-june-2014/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 451, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1406, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 196, column 2
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 167, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 741, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.ligonier.org/rym/broadcasts/video/why-god-man-june-2014/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
36,391,553 | youtube-dl | Veehd - downloads don't work for long videos | Hi
Veehd downloads do not work for long videos.
Throws error of '**Unable to extract config json**'
It seems that a "link expired" page is served instead of the desired player page with the <object>.
The proper page is only served after sending a POST request which I believe creates a cookie.
I do not have the technical ability to implement this but below is a detailed analysis.
---
Two sample videos:
short -> http://veehd.com/video/4686958
long -> http://veehd.com/video/1901703
When visit the respective player pages:
short -> view-source:[link to short vid player](http://veehd.com/vpi?h=NDY4Njk1OHw0ODB8ODQ4LjM1fGZsYXNofDF8MTgtMjExfDE0MDM1NDc4ODF8OTV8MXxhZGY4ODNmZmMxNWNlMDRmZjQ1N2UyMzI4Mjc3YTQxYg==&nsfw=0&do=s&s=95.34&vt=VGltZSBMYXBzZSBWaWV3IGZyb20gU3BhY2UgKCBJU1Mp)
long -> view-source:[link to long vid player](http://veehd.com/vpi?h=MTkwMTcwM3w0ODB8ODQ4LjM1fGZsYXNofDN8MjEtMjExfDE0MDM1NjI5Njd8NDMyfDB8Y2FkZDhkZWNjZTdiNDI4NGUwZTFmMTRhNzE4MWM4MmU=&nsfw=0&do=s&s=431.85&vt=TkFTQSBBU1RST05BVVQgTEVBRFMgVE9VUiBPRiBTUEFDRSBTVEFUSU9OIElOIEhE)
You can see that the long video serves a page with the text "link expired"
whereas the short video serves a page with the desired player <object>.
See 'player_path' in [veehd.py](https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/veehd.py)
##
Looking through the inline javascript of the original video page,
it becomes apparent that a POST request is sent.
Specifically through the function 'prepare_server'.
The function executes the following line:
```
$[_0x3c5a[4]](_0x3c5a[2],{p:1,ts:ts,sgn:sgn,v:_0x3c5a[3]});
```
Which translates to:
```
$["post"]("/xhrp", {p:1,ts:ts,sgn:sgn,v:"c"} );
```
The global variables 'ts' and 'sgn' vary with each video and can be found in the inline javascript.
Once the post request is manually sent, the player page for the long video now returns the desired player <object> rather than the "link expired" text.
Below is a sample of the response
##
```
Request URL: http://veehd.com/xhrp
Request Method: POST
Status Code: HTTP/1.1 200 OK
Request Headers **:**:**.000
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0
Referer: http://veehd.com/video/1901703
Pragma: no-cache
Host: veehd.com
DNT: 1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 58
Connection: keep-alive
Cache-Control: no-cache
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: */*
Sent Cookie
PHPSESSID: fbqn1en1okhn3b00wuiok5329
Request Body
p=1&ts=1403562967&sgn=bff481f6488fc50b9ba2ff1cd3c319b1&v=c
Response Headers ฮ539ms
Vary: Accept-Encoding
Server: nginx
Pragma: no-cache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Date: Wed, 18 Jun 2014 06:34:21 GMT
Content-Type: text/html
Content-Length: 21
Content-Encoding: gzip
Connection: keep-alive
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Accept-Ranges: bytes
Received Cookie
plugin: 1
Response Body ฮ0ms
1
```
| broken-IE | low | Critical |
36,607,716 | neovim | Drop support for various :execute cmd/:UserCmd variants | Variants in question:
1. Commands that change execution flow in cycles:
```
execute 'break'
command UserBreak continue
```
I do not know why these may be used.
2. Return statements. Examples:
```
execute 'return' expr
```
may be used as a replacement for `return eval(expr)`,
```
command -nargs=1 LoggedReturn :let __r=<args> | call LogReturnValue(expand('<sfile>'), __r) | return __r
```
may be used for logging returns. One may also use this variant to implement one kind of function decorators: those that modify return value after function was run (note: commands have full access to function scope).
3. (Already discussed?) partial function definition:
```
execute 'function Abc()'
" Function body
endfunction
```
. This may be used for things like decorating functions, but it is very hard to implement, especially given that `:execute` may actually be `:UserCommand`.
4. (Already discussed AFAIR) Incomplete block entry commands:
```
execute 'if' expr
execute 'while' expr
execute 'for x in' expr
```
5. (Already discussed, just adding here for completeness) Incomplete `:append`-like commands.
Discussed 3, 4 and 5 were discussed because they are not supported by parser and thus are very hard to implement. New 1 and 2 are much easier to implement, but I think that code with 1. smells and 2. is hacky enough I never saw it in the wild (untested BTW) and thus is not worth supporting. I probably have not seen 2. due to `&verbose` option. Or because those who know that this is possible (there should not be too much people knowing about this hack) consider this solution too hacky. Due to the variety of possible uses of 2. I am asking here whether anybody have seen it actually used.
| vimscript,compatibility | low | Major |
36,693,435 | bitcoin | Transactions in TCP FIN packets appear to be ignored | # Problem description:
On June 21, sending transaction 43f1c3e735560f7b1e4c396a55a2e62d2e83b7c4ed1efc5a7d29358c84ca7807 using "sx sendtx-node" to my bitcoin node running Bitcoind 0.9.1 _~~0.9.2~~_ failed. The log showed the connection, but no errors (default log level) **Update:** _enabling 'net' debuging also showed no errors (included below)_
The transaction was considered valid by both "sx validtx" and my bitcoin node when I used bitcoin-cli to send it manually.
I came up with 3 possibilities: 1. bug in sx sendtx 2. bug in Bitcoind 3. ISP using DPI to selectively block transactions (but allow initial connection) **Update:** _It appears that option 3 is out (not that it was ever likely) (packet capture: Linked in the first comment.)_
Edit: Bitcoin reported version: "version" : 90100
Package: bitcoin-daemon-0.9.1; FreeBSD 9.2-RELEASE-p3
Sx reported version: ??? "/libbitcoin:2.0.0/: version 60000" pulled from log below.
# Experimental design:
My plan is to run tcpdump on both hosts while I try to resend the transaction. If the transaction is truly being blocked, it won't matter that it was sent already. If it goes through, bitcoind should log it as a duplicate.
Because my Bitcoin node has many connections, I will want to filter as many packets as possible. Because the computer with the sx tools also has several network connections, a similar filter should be used to capture only Bicoin-related packets.
# TCPdump options:
## On Casey (Bitcoin node)
```
tcpdump -i rl0 -p -w jun2014_bc_recv_1Bitcoin.pcap \(host 70.74.233.146 and port 8333\)
```
## On Torchlight (sx client)
```
tcpdump -i eth1 -p -w jun2014_sx_send_1Bitcoin.pcap \(host 66.18.211.158 and port 8333\)
```
# Logs:
Approximate end-time:
Wed Jun 25 11:57:04 MDT 2014
## Bitcoind log
```
2014-06-25 17:56:47 receive version message: /libbitcoin:2.0.0/: version 60000, blocks=0, us=10.0.0.1:8333, them=10.0.0.1:8333, pee8
2014-06-25 17:56:48 CreateNewBlock(): total size 170007
```
--note: no errors, libbitcoin line cut-off
## sx sendtx log
```
james@torchlight:~/coinjoin$ sx sendtx-node blocked.tx casey.economicprisoner.com
DEBUG [network]: s: version (103 bytes)
DEBUG [network]: r: version (101 bytes)
DEBUG [network]: s: verack (0 bytes)
DEBUG [network]: r: verack (0 bytes)
sendtx: Sending 43f1c3e735560f7b1e4c396a55a2e62d2e83b7c4ed1efc5a7d29358c84ca7807
DEBUG [network]: s: tx (291 bytes)
sendtx: Sent 1403719007
```
## Repeated test with more bitcoind debuging:
Approx start time:
Wed Jun 25 19:05:32 MDT 2014
Approx interesting time:
2014-06-26 01:05:45 accepted connection 70.74.233.146:37540
Approx end time:
Wed Jun 25 19:05:55 MDT 2014
(trimmed a bit)
```
Bitcoind log:
2014-06-26 01:05:45 accepted connection 70.74.233.146:37540
2014-06-26 01:05:45 received: version (103 bytes)
2014-06-26 01:05:45 send version message: version 70002, blocks=307843, us=66.18
.211.158:8333, them=70.74.233.146:37540, peer=70.74.233.146:37540
2014-06-26 01:05:45 sending: version (101 bytes)
2014-06-26 01:05:45 sending: verack (0 bytes)
2014-06-26 01:05:45 receive version message: /libbitcoin:2.0.0/: version 60000,
blocks=0, us=10.0.0.1:8333, them=10.0.0.1:8333, peer=70.74.233.146:37540
2014-06-26 01:05:45 Added time data, samples 18, offset +0 (+0 minutes)
2014-06-26 01:05:45 received: verack (0 bytes)
2014-06-26 01:05:45 socket closed
2014-06-26 01:05:45 disconnecting node 70.74.233.146:37540
2014-06-26 01:05:46 received: ping (8 bytes)
2014-06-26 01:05:46 sending: pong (8 bytes)
2014-06-26 01:05:46 received: inv (37 bytes)
2014-06-26 01:05:46 got inventory: tx db59504348dcbb6e7c5be759e80e1120997461d7
aee06f774f980f26657b4a64 new
2014-06-26 01:05:46 askfor tx db59504348dcbb6e7c5be759e80e1120997461d7aee06f774f
980f26657b4a64 0 (00:00:00)
2014-06-26 01:05:46 sending getdata: tx db59504348dcbb6e7c5be759e80e1120997461d7
aee06f774f980f26657b4a64
2014-06-26 01:05:46 sending: getdata (37 bytes)
2014-06-26 01:05:46 received: inv (37 bytes)
2014-06-26 01:05:46 got inventory: tx db59504348dcbb6e7c5be759e80e1120997461d7
aee06f774f980f26657b4a64 new
2014-06-26 01:05:46 askfor tx db59504348dcbb6e7c5be759e80e1120997461d7aee06f774f
980f26657b4a64 1403744745000000 (01:05:45)
2014-06-26 01:05:46 received: inv (37 bytes)
2014-06-26 01:05:46 got inventory: tx db59504348dcbb6e7c5be759e80e1120997461d7
aee06f774f980f26657b4a64 new
2014-06-26 01:05:46 askfor tx db59504348dcbb6e7c5be759e80e1120997461d7aee06f774f
980f26657b4a64 1403744865000000 (01:07:45)
2014-06-26 01:05:47 received: tx (761 bytes)
2014-06-26 01:05:47 received: inv (37 bytes)
```
Note the size of the first received tx does not match the tx under test (761 bytes > 291 bytes)
Edit: finally found the comment edit button!
| Bug,P2P | low | Critical |
36,903,651 | youtube-dl | upgrade improvement | instead of just saying:
> youtube-dl.exe -U
> Updating to version 2014.06.26 ...
the output could include the version which it is upgrading **from**
"Updating from version 2014.06.01 to latest version 2014.06.26 ..."
| request | low | Minor |
37,005,176 | youtube-dl | Is user-login possible with escapistmagazine.com? | The escapist has just put its HQ videos behind a membership wall, and so I signed up and paid the $20. Sadly though, the normal login/password tags for youtube-dl, don't interact properly to log me in. Is it possible to make a change to allow for this? Happy to help with testing on it if you want to work on it.
BTW, the setup basically seems to be looking for a login cookie and when it sees it, automatically redirects users to the HQ versions of each page. BUT without it, will only send them to the SD page.
| account-needed | low | Minor |
37,201,374 | react | Add api for focus management | There are currently a couple of problems with focus management in React.
## current problems
- `this.getDOMElement().focus()`
does not guarantee the node is on a document/visible. visibility can be hard to detect due to other components firing render().
- `this.refs.x.getDOMElement().focus()`
does not guarantee that x has finished any pending renders. if `x` renders, focus is lost.
- `componentDidUpdate`
this fires on the child nodes before parents so in the case of:
```
<ul style="display:none">
<li><button>can't focus</button></li>
</ul>
```
if we want to show the `<ul/>` and focus the button.
the component of the `<button/>` focusing during componentDidUpdate has no affect because the `<ul/>` is still hidden.
## discussion
if looks like some of the PRs to react are using raf or timeouts to achieve fixes to the problems listed. This can cause race conditions, and can be fixed with a lifeCycle addition, or just a hidden lifeCycle purely for focus management.
The issue comes down to not having a lifecycle able to fire a function after _all_ rendering is done, not just an individual component.
I would suggest we add a simple API of component.blur()/component.focus() that queues the requests and fires them after all rendering is done. The fix is fairly simple, but I wonder how people feel about this.
| Type: Feature Request,Component: DOM,Resolution: Backlog | medium | Major |
37,231,482 | nvm | nvm uninstall fails due to permissions/globally installed modules via sudo | Steps to reproduce:
1. `nvm ls` lists: `.nvm`, `v0.10.26`, `-> v0.10.29`
2. `nvm uninstall v0.10.26`
What happens: `v0.10.26` is not removed. `nvm ls` still lists: `.nvm`, `v0.10.26`, `-> v0.10.29`.
What should happen: `v0.10.26` should be removed.
Platform:
```
node v0.10.29
grunt-cli v0.1.13
grunt v0.4.5
```
| uninstalling,pull request wanted | medium | Major |
37,298,631 | youtube-dl | Support for German national parliament TV (bundestag.de) | Video-Page: http://dbtg.tv/fvid/3594346
URL for video is provided through HTML element `<input type="hidden" name="data-downloadUrl" value="โฆ" />`
The trailing param `?fdl=1` should be removed from the URL, otherwise a mimetype to enforce a file download in browsers will be set.
| site-support-request | low | Minor |
37,895,065 | nvm | Update install to install from release tarball instead of a git repo | Now that we switched to using releases, instead of a simple clone/pull of the master branch, we should think of switching to simply downloading a release tarbal
``` bash
curl https://github.com/creationix/nvm/archive/v0.10.0.tar.gz | \
tar -xzC ~/.nvm --strip-components=1
```
| installing node,feature requests | low | Minor |
37,903,583 | TypeScript | Suggestion: Generate doc comments in emitted JS | Support some level of automatically generating doc comments for non-TypeScript JavaScript consumers.
Need more details on what exactly people would like to see generated.
| Suggestion,Needs Proposal,VS Code Tracked | high | Critical |
37,933,340 | rust | Tracking issue for stmt_expr_attributes: Add attributes to expressions, etc. | This is the tracking issue for https://github.com/rust-lang/rfcs/pull/16
The feature gate for the issue is `#![feature(stmt_expr_attributes)]`
### About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
### Steps
- [x] Implement the RFC
- https://github.com/rust-lang/rust/pull/29850
- [ ] https://github.com/rust-lang/rust/issues/127436
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Formatting for new syntax has been added to the [Style Guide] ([nightly-style-procedure])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])
[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
[nightly-style-procedure]: https://github.com/rust-lang/style-team/blob/main/nightly-style-procedure.md
[Style Guide]: https://github.com/rust-lang/rust/tree/master/src/doc/style-guide
### Unresolved Questions
-
### Implementation history
- https://github.com/rust-lang/rust/pull/29850
- https://github.com/rust-lang/rust/pull/134661 | A-grammar,T-lang,B-unstable,B-RFC-implemented,C-tracking-issue,S-tracking-design-concerns,S-tracking-needs-summary,F-stmt_expr_attributes | high | Critical |
38,009,283 | rust | rustdoc: do something about reexported items | **Update:** This issue was first filed with the title "rustdoc shouldnโt document reexports separately", but that might not be the desired solution.
---
For example, the `StrSlice` trait is currently documented in three different places:
http://doc.rust-lang.org/std/str/trait.StrSlice.html
http://doc.rust-lang.org/collections/str/trait.StrSlice.html
http://doc.rust-lang.org/core/str/trait.StrSlice.html
It really is the same trait, but in the documentation they appear as distinct.
I think that, when module `A` contains a `pub use B::C;` statement:
- rustdoc should not create a new documentation page for `A::C`
- Instead, the documentation for `A` should link to the original documentation for `B::C`
- In addition, the documentation for `B::C` should list all the known name it is re-exported as (in this case `A::C`).
It gets more complicated when `A` and `B` are not in the same source repository, but IMO still worth pursuing. Sphinx does [support cross-references to other repos](http://sphinx-doc.org/ext/intersphinx.html).
| T-rustdoc,C-feature-request | low | Major |
38,106,770 | three.js | Remove target from DirectionalLight and SpotLight. | As far as I'm aware, we should be able to get the same results by just adding a `distance` property to those light types. By removing the target we'll then fix the problems that those lights have in the editor.
@gero3 any interest on tackling this one?
| Enhancement | low | Major |
38,117,861 | youtube-dl | Downloading from aber.ac.uk fails | $ youtube-dl --verbose http://www.aber.ac.uk/en/graduation/video/2014/2/
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.aber.ac.uk/en/graduation/video/2014/2/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.15
[debug] Python version 2.7.5 - Linux-3.15.5-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
[debug] Proxy map: {}
[generic] 2: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2: Downloading webpage
[generic] 2: Extracting information
ERROR: Unsupported URL: http://www.aber.ac.uk/en/graduation/video/2014/2/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 456, in _real_extract
doc = parse_xml(webpage)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1409, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 17, column 830
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 168, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 751, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.aber.ac.uk/en/graduation/video/2014/2/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
38,255,846 | rust | rustdoc: reexported type aliases are not preserved in function signatures | The recently added `iterate` function uses the `Iterate` type alias as its result type. It is correctly displayed in http://static.rust-lang.org/doc/master/core/iter/fn.iterate.html but not in http://static.rust-lang.org/doc/master/std/iter/fn.iterate.html.
| T-rustdoc,C-bug | medium | Major |
38,458,518 | three.js | Picking in a PointCloud with variable size points | Thanks so much for adding PointCloud support for RayCasting in r.61! Unless I am missing something, the current implementation assumes that the points are all of the same size. Is it possible to make the raycaster aware of the gl_PointSize of each point, rather than uniformly using params.PointCloud.threshold?
Thanks,
Mike Cantor
| Enhancement | low | Major |
38,467,435 | TypeScript | Support some non-structural (nominal) type matching | Proposal: support non-structural typing (e.g. new user-defined base-types, or some form of basic nominal typing). This allows programmer to have more refined types supporting frequently used idioms such as:
1) Indexes that come from different tables. Because all indexes are strings (or numbers), it's easy to use the an index variable (intended for one table) with another index variable intended for a different table. Because indexes are the same type, no error is given. If we have abstract index classes this would be fixed.
2) Certain classes of functions (e.g. callbacks) can be important to be distinguished even though they have the same type. e.g. "() => void" often captures a side-effect producing function. Sometimes you want to control which ones are put into an event handler. Currently there's no way to type-check them.
3) Consider having 2 different interfaces that have different optional parameters but the same required one. In typescript you will not get a compiler error when you provide one but need the other. Sometimes this is ok, but very often this is very not ok and you would love to have a compiler error rather than be confused at run-time.
Proposal (with all type-Error-lines removed!):
```
// Define FooTable and FooIndex
nominal FooIndex = string; // Proposed new kind of nominal declaration.
interface FooTable {
[i: FooIndex]: { foo: number };
}
let s1: FooIndex;
let t1: FooTable;
// Define BarTable and BarIndex
nominal BarIndex = string; // Proposed new kind of nominal declaration.
interface BarTable {
[i: BarIndex]: { bar: string };
}
let s2: BarIndex;
let t2: BarTable;
// For assignment from base-types and basic structures: no type-overloading is needed.
s1 = 'foo1';
t1 = {};
t1[s1] = { foo: 1 };
s2 = 'bar1';
t2 = { 'bar1': { bar: 'barbar' }};
console.log(s2 = s1); // Proposed to be type error.
console.log(s2 == s1); // Proposed to be type error.
console.log(s2 === s1); // Proposed to be type error.
t1[s2].foo = 100; // Gives a runtime error. Proposed to be type error.
t1[s1].foo = 100;
function BadFooTest(t: FooTable) {
if (s2 in t) { // Proposed to be type error.
console.log('cool');
console.log(t[s2].foo); // Proposed to be type error.
}
}
function GoodBarTest(t: BarTable) {
if (s2 in t) {
console.log('cool');
console.log(t[s2].bar);
}
}
BadFooTest(t1); // Gives runtime error;
BadFooTest(t2); // No runtime error, Proposed to be type error.
GoodBarTest(t1); // Gives runtime error; Proposed to be type error.
GoodBarTest(t2);
```
| Suggestion,In Discussion | high | Critical |
38,594,578 | TypeScript | Issue a more useful error when attempting to construct non-newable type | Inspired from http://stackoverflow.com/questions/24923772/raphael-with-typescript-call-signatures-used-in-a-new-expression-must-have-a
``` TypeScript
interface NotNewable {
(n: number): string;
}
var n: NotNewable;
var t = new n(10);
```
New compiler says
> Only a void function can be called with the 'new' keyword
Old compiler says
> Call signatures used in a 'new' expression must have a 'void' return type.
This error is written as if it's the .d.ts author's fault, not the calling code's fault. A more useful error would be something like "Specified type does not have a signature that can be called with 'new'"
| Bug,Help Wanted,Domain: Error Messages | low | Critical |
38,634,678 | neovim | scroll without cursor move (or: remember mark when scrollbar is used?) | A common complaint is that cursor always must be onscreen. The use-case for this could be satisfied by leaving a ~~jumplist entry~~ special mark at the cursor position before it is scrolled out of view using the scrollbars.
This feature is in Bram's todo.txt:
```
- STICKY CURSOR: Add a way of scrolling that leaves the cursor where it is.
Especially when using the scrollbar. Typing a cursor-movement command
scrolls back to where the cursor is.
```
| enhancement | medium | Critical |
38,671,659 | TypeScript | Don't widen return types of function expressions | This change courtesy @JsonFreeman who is trying it out
(context elided: widening of function expression return types)
The problem with this widening is observable in type argument inference and no implicit any. For type argument inference, we are prone to infer an any, where we should not:
``` ts
function f<T>(x: T, y: T): T { }
f(1, null); // returns number
f(() => 1, () => null); // returns () => any, but should return () => number
```
So after we get to parity, I propose we do the following. We do not widen function expressions. A function is simply given a function type. However, a function declaration (and a named function expression) introduces a name whose type is the widened form of the type of the function. Very simple to explain and simple to implement.
Iโve been told that this would be a breaking change, because types that used to be any are now more specific types. But here are some reasons why it would be okay:
- In the places where you actually need the type to be any (because there are no other inference candidates), you would still get any as a result
- In places where there was a better (more specific) type to infer, youโd get the better type.
- With the noImplicitAny flag, youโd get fewer errors because there are actually fewer implicit anys
### Questions:
> Is a principle of design changes going forward to not switch from 'any' to a more precise type because it can be a breaking change?
Going with 'not a breaking change' here because this is unlikely to break working code, but we need to verify this.
> Would this manufacture two types?
In essence, we already have two types: The original and the widened type. So by that measure this is not really a change
> Has someone tried it?
Jason willing to try it out and report back
| Suggestion,Experimentation Needed,Fix Available | high | Critical |
38,692,958 | TypeScript | External interfaces included in IDE symbol space | #### Overview
Interfaces defined in `.d.ts` files (even if they are not part of the Visual Studio project) are nonetheless included in the IDE symbol space; i.e. they appear in the Navigate To search results.
#### Repro
Add the NuGet package `underscore.TypeScript.DefinitelyTyped` to a project. Ensure that `underscore.d.ts` is not included in the project; however, do put a reference to it in a TypeScript file in the project, e.g.
```
/// <reference path="../Scripts/typings/underscore/underscore.d.ts"/>
```
In Visual Studio, press <kbd>Ctrl</kbd> + <kbd>,</kbd> and type `reduce`. Notice you get lots of listings for methods defined in the underscore interface.
#### Commentary
The repro steps are analogous to adding a reference to `System.Web.Mvc`, hitting <kbd>Ctrl</kbd> + <kbd>,</kbd>, typing `file`, and seeing the `File` methods for `System.Web.Mvc.Controller`, plus who knows what else. Of course, for assembly references this doesn't happen; it would be noise, polluting the IDE symbol space with stuff you rarely want to try to navigate to. Libraries have lots of symbols, often more than our own apps. Those symbols get in the way of navigating quickly within our own app. That's why there's a switch to turn off external items. The same situation applies to JavaScript libraries with TypeScript annotations - not at the same scale as the .NET Framework, but still at enough scale to be a problem.
The bug is that for TypeScript, interfaces and their members in `.d.ts` files always show up. Ideally, they shouldn't show up regardless of whether the `.d.ts` file is referenced with an XML directive or by including the file in the project.
The main use case where it would be helpful to include the identifiers in the IDE symbol space is when developers are actually writing `.d.ts` files. To serve that need, it would be reasonable to include the symbols if the "Search within external items" option is enabled.
| Suggestion,Help Wanted,API | low | Critical |
38,723,525 | neovim | plugin-specific modes (custom / user-defined modes) | From https://github.com/neovim/neovim/issues/51#issuecomment-50134195:
> Each new mode has the following properties:
> 1. Identifier of some kind. Should be used to create mappings.
> 2. A set of built-in commands.
> 3. A function that is responsible for processing all input that was not caught by some command from 2. E.g. in insert mode it is โwrite to bufferโ, in normal it is โbellโ, etc. Defaults to bell.
>
> One word about 2.: there is `<C-\><C-n>` command in all modes that allows escaping to normal mode from any other mode. I think that this command should be forced in 2. (i.e. not allowed to be redefined), but still remappable (as it is now).
>
> Reasoning: there is a number of plugins like Command-T that create their own mode, but they use more or less hacky solutions. And yet they run completely in Vim: no external jobs. They also do not require escaping to normal or command mode.
To make life for Conque_Term easier there also may be fourth point: allow replacing existing modes with newly defined modes buffer-wise, API should use a function that accepts a number of arguments (e.g. for insert mode `start(count=v:count, mode_type : ('insert', 'replace', 'vreplace')='insert')`).
---
Also ref #421: it is not required for implementing this feature, but it will make โsupporting plugin-specific modesโ be โcreate a set of bindings for library from #421โ.
| enhancement,input,gsoc,mappings | low | Major |
38,942,689 | TypeScript | cloneNode should return sub type, not Node | When I do `someElement.cloneNode()`, I want the returned element to be the same type as `someElement`, but right now it's returning type `Node`.
| Bug,Help Wanted,Domain: lib.d.ts | high | Critical |
38,976,021 | youtube-dl | Request for URL support: http://swrmediathek.de | [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://swrmediathek.de/tvshow.htm?show=b3700e63-9bdc-11df-b44d-00199916cf68']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.25.1
[debug] Python version 2.7.5 - Darwin-13.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] tvshow: Requesting header
WARNING: Falling back on generic information extractor.
[generic] tvshow: Downloading webpage
[generic] tvshow: Extracting information
ERROR: Unsupported URL: http://swrmediathek.de/tvshow.htm?show=b3700e63-9bdc-11df-b44d-00199916cf68; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 456, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1418, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, 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 58, column 6
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 169, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 751, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://swrmediathek.de/tvshow.htm?show=b3700e63-9bdc-11df-b44d-00199916cf68; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
38,984,497 | TypeScript | Request to change currentTarget in Event interface for lib.d.ts | When using the Event interface from lib.d.ts, and attaching a listener, the callback will get an object of type Event. However, the Event's currentTarget property is of type EventTarget (whereas it's should be of type Element/HTMLElement).
| Suggestion,Help Wanted,Domain: lib.d.ts | high | Critical |
39,044,004 | neovim | remove 'shelltemp' | Followup of https://github.com/neovim/neovim/pull/978#issuecomment-49671122 .
In Neovim we are mostly using pipes instead of temp files for reliability and [performance](https://github.com/neovim/neovim/pull/978#issuecomment-50092527).
But there's an edge that mentioned in Vim `:help 'shelltemp'`:
```
The advantage of using a temp file is that the file type and encoding
can be detected.
```
We need to verify that this edge is not present in Neovim, or find a workaround, or update the documentation. [A vim-sensible issue](https://github.com/tpope/vim-sensible/issues/73) gives a couple examples of plugins that seem to be affected by this edge case.
Vim source and [unanswered question on vim_dev](https://groups.google.com/forum/#!msg/vim_dev/EHMfNBsdvrg/vVth0Wv90QcJ) do not give any more explanation about the edge case.
However [this SO post](http://stackoverflow.com/a/17177904/152142) gives insight into the behavior of encodings on Windows.
> if a string is not in the UTF-16LE encoding to begin with, a Win32 program must pass the correct codepage to MultiByteToWideChar. Also, WriteConsoleW will not work if the programโs output is redirected; more fiddling is needed in that case.
That post and the vim-sensible issue report suggest that this issue may be Windows-only, and possibly specific to cmd.exe.
Next steps:
- reproduce edge case in Vim, then try the same steps in Neovim
- these plugins were [reported](https://github.com/tpope/vim-sensible/issues/73#issuecomment-49541650) to mess up with `set noshelltemp` and [`chcp 850`](https://github.com/tpope/vim-sensible/issues/73#issuecomment-50536097):
- https://github.com/mileszs/ack.vim
- https://github.com/dyng/ctrlsf.vim
- is it Windows-only?
- if so, is it specific to cmd.exe?
- if so, perhaps we can avoid the issue entirely by using syscalls instead of building shell commands (@aktau's work achieves this [except for `do_filter`](https://github.com/neovim/neovim/pull/978#issuecomment-49699155)).
---
The more I stare at the help text, the more I think this is related to Vim autocmds rather than some mysterious OS behavior.
- Detecting the file type is _almost certainly_ a reference the `ftdetect` Vim mechanism.
- Detecting the encoding _could_ refer to some feature of Vim that tries to infer the encoding based on the BOM or the presence of UTF8 sequences.
---
Notes on Windows:
http://blogs.msdn.com/b/oldnewthing/archive/2005/03/08/389527.aspx
- there are typically two 8-bit code pages active, the so-called "ANSI" code page and the so-called "OEM" code page
- cmd.exe `/U` forces Unicode for piped/redirected output
| compatibility,needs:design,encoding,tui,system | low | Major |
39,201,724 | TypeScript | Consider adding a module level visibility modifier. | Currently to protect integrity of data one can only use classes with private or protected fields. Classes are harder to work with compared to object literals. Being able to specify that certain fields are invisible to outside modules would be a valuable addition to support programming in functional style in TypeScript.
So what I am suggesting is to be able to specify whether a field of an interface is exported from a module or not. This also means that the instance of such interface can only be created within the module it is declared.
The similar features can be found in:
- F# called `signature files`: http://msdn.microsoft.com/en-us/library/dd233196.aspx
- Haskell called `export lists`: http://www.haskell.org/onlinereport/modules.html
| Suggestion,Needs Proposal | high | Critical |
39,341,404 | youtube-dl | Feature request: Summary for batch downloads | Individual downloads have summary like that:
```
[download] 100% of 643.4MiB in 04:01
```
It would be convenient if in the end of the batch download there was a summary like that:
```
video-list.txt : [download] 100% of 3.41GiB in 01:14:07
```
| request | low | Minor |
39,364,479 | neovim | Better repeat | Quoting `:help cw`:
> If you prefer "cw" to include the space after a word, use this mapping: >
> :map cw dwi
That makes me love vim, because that makes so much sense. Make a new command just by simply combining a few others!
Then comes what makes me not so happy about vim anymore. The above mapping does not work with <kbd>.</kbd> repeat, because only the `i` part of the command will be repeated. Thatโs not what you expect as a user. Especially since undo works as expected.
Instead, we have to write like 20 lines of vimscript to accomplish what we want (https://github.com/ap/vim-you-keep-using-that-word).
Similarly, after playing back a macro Iโd also expect the _whole macro_ to be repeated.
Itโs a shame that something like https://github.com/tpope/vim-repeat needs to exist.
Could neovim possibly sometime in the future repeat the whole last command, instead of just the last part of it?
<bountysource-plugin>
---
Want to back this issue? **[Place a bounty on it!](https://www.bountysource.com/issues/3460140-better-repeat?utm_campaign=plugin&utm_content=tracker%2F461131&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F461131&utm_medium=issues&utm_source=github).
</bountysource-plugin>
| enhancement,multicursor | medium | Critical |
39,380,555 | neovim | Remove 'Press ENTER or type command to continue' | I'm not very familiar with C or else I'd do it myself, but it would be great if the 'Press ENTER or type command to continue' line didn't print every time you ran an external command. It's something you only need to see once, and seeing it every time gets rather annoying. I think this message should just be removed and the behaviour it describes (hitting a key to go back to vim after running a shell command) be folded into the documentation (if it's not there already).
| enhancement,ui,ux | medium | Major |
39,543,112 | neovim | breadth-first search for :find, findfile(), etc. | Vim searches directory structures using a depth-first algorithm. For example, let's say you have the following directory structure:
```
~/
- apps/
- (tons of stuff)
- ...
- barsoft/
- licenses/
- programs/
- bazfest/
- versions/
- 2014/
- foo
- projects/
- foo
```
If your current directory in vim is `~/` and you try to `:find foo` or put your cursor over the word `foo` and enter the normal command `gf`, it will (1) take forever, and (2) end up finding `~/apps/barsoft/programs/bazfest/versions/2014/foo`, which is probably not what you were after, because `~/projects/foo` is much "closer". This is a result of depth-first searching (meaning vim looks at children of a directory node before looking at siblings), and is dumb.
I implore you to use breadth-first searching instead (meaning vim should look at sibling nodes before child nodes), which is much better.
| enhancement | medium | Critical |
39,567,277 | TypeScript | Suggestion: Units of measure | This feature request is similar to [units of measure in F#](http://msdn.microsoft.com/en-us/library/dd233243.aspx).
For example:
``` typescript
const metres = 125<m>;
const seconds = 2<s>;
let speed: number<m/s>;
speed = metres / seconds; // valid
speed = metres / seconds / 10<s>; // error -- cannot convert m/s**2 to m/s
```
(Moved from [work item 1715 on Codeplex](https://typescript.codeplex.com/workitem/1715).)
# Proposal
**Last Updated:** 2016-06-09
**Copied from:** https://github.com/dsherret/Units-of-Measure-Proposal-for-TypeScript
---
## Overview
Units of measure is a useful [F# feature](http://msdn.microsoft.com/en-us/library/dd233243.aspx) that provides the optional ability to create tighter constraints on numbers.
TypeScript could benefit from a similar feature that would add **zero runtime overhead**, increase type constraints, and help decrease programmer error when doing mathematical calculations that involve units. The feature should prefer explicity.
## Defining Units of Measure
Units of measure should probably use syntax similar to type aliases (#957). More discussion is needed on this, but for the purpose of this document it will use the following syntax:
``` typescript
type measure <name> [ = measure expression ];
```
The optional measure expression part can be used to define a new measures in terms of previously defined measures.
### Example Definitions
``` typescript
type measure m;
type measure s;
type measure a = m / s**2;
```
Units of measure can be defined in any order. For example, `a` in the example above could have been defined before `m` or `s`.
### Circular Definitions
Circular definitions are NOT allowed. For example:
``` typescript
type measure a = b;
type measure b = a; // error
```
## Use with Number
Units of measure can be defined on a number type in any of the following ways:
``` typescript
type measure m;
// 1. Explicitly
let distance: number<m> = 12<m>;
// 2. Implictly
let distance = 12<m>;
// 3. Using Number class
let distance = new Number(10)<s>;
```
TODO: Maybe we shouldn't use the `<m>` syntax because it might conflict with jsx files.
## Detailed Full Example
``` typescript
type measure m;
type measure s;
type measure a = m / s**2;
let acceleration = 12<a>,
time = 10<s>;
let distance = 1/2 * acceleration * (time ** 2); // valid -- implicitly typed to number<m>
let avgSpeed = distance / time; // valid -- implicitly typed to number<m/s>
time += 5<s>; // valid
time += 5; // error -- cannot convert number to number<s>
time += distance; // error -- cannot convert number<m> to number<s>
// converting to another unit requires asserting to number then the measure
time += (distance as number)<s>; // valid
acceleration += 12<m / s**2>; // valid
acceleration += 10<a>; // valid
acceleration += 12<m / s**2> * 10<s>; // error -- cannot convert number<m/s> to number<a>
```
### Use With Non-Unit of Measure Number Types
Sometimes previously written code or external libraries will return number types without a unit of measure. In these cases, it is useful to allow the programmer to specify the unit like so:
``` typescript
type measure s;
let time = 3<s>;
time += MyOldLibrary.getSeconds(); // error -- type 'number' is not assignable to type 'number<s>'
time += MyOldLibrary.getSeconds()<s>; // valid
```
## Dimensionless Unit
A dimensionless unit is a unit of measure defined as `number<1>`.
``` typescript
let ratio = 10<s> / 20<s>; // implicitly typed to number<1>
let time: number<s>;
time = 2<s> * ratio; // valid
time = time / ratio; // valid
time = (ratio as number)<s>; // valid
time = 2<s> + ratio; // error, cannot assign number<1> to number<s>
time = ratio; // error, cannot assign number<1> to number<s>
time = ratio<s>; // error, cannot assert number<1> to number<s>
```
## Scope
Works the same way as `type`.
## External and Internal Modules
Also works the same way as `type`.
In addition, if an external library has a definition for meters and another external library has a definition for meters then they should be able to be linked together by doing:
``` typescript
import {m as mathLibraryMeterType} from "my-math-library";
import {m as mathOtherLibraryMeterType} from "my-other-math-library";
type measure m = mathLibraryMeterType | mathOtherLibraryMeterType;
```
TODO: The above needs more thought though.
## Definition File
Units of measure can be defined in TypeScript definition files ( `.d.ts`) and can be used by any file that references it. Defining units of measure in a definition file is done just the same as defining one in a `.ts` file.
## Compilation
The units of measure feature will not create any runtime overhead. For example:
``` typescript
type measure cm;
type measure m;
let metersToCentimeters = 100<cm / m>;
let length: number<cm> = 20<m> * metersToCentimeters;
```
Compiles to the following JavaScript:
``` typescript
var metersToCentimeters = 100;
var length = 20 * metersToCentimeters;
```
## Math Library
Units of measure should work well with the current existing [Math object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math).
Some examples:
``` typescript
Math.min(0<s>, 4<m>); // error, cannot mix number<s> with number<m> -- todo: How would this constraint be defined?
let volume = Math.pow(2<m>, 3)<m**3>;
let length = Math.sqrt(4<m^2>)<m>;
```
| Suggestion,Needs Proposal | high | Critical |
39,693,673 | neovim | restore 'ttyfast' | default 'ttyfast' to ON, for reasons here: https://github.com/neovim/neovim/pull/1015#issuecomment-50975716
also remove:
vim_is_fastterm
vim_is_vt300
Edit: Vim later also did this. https://github.com/vim/vim/issues/11549#issuecomment-1314509323
| defaults,refactor | low | Major |
39,748,764 | rust | rustdoc: Allow customizing the crate list sidebar. | http://doc.servo.org/servo/index.html is the rustdoc documentation for Servoโs own crates, those of all dependencies (submodules), and Rustโs (for the version used by Servo, which is usually a few weeks behind Rust master.)
Currently, this is a total of 69 crates that are listed in alphabetical order. Instead, I would like the sidebar to have three sub-sections (Servo, submodules, and Rust) each listing the corresponding crates. The sidebar is generated by a copy of [`src/librustdoc/html/static/main.js`](https://github.com/rust-lang/rust/blob/8a02304a44/src/librustdoc/html/static/main.js#L682-L698), and therefore is not easy to customize.
Could rustdoc help with this? Perhaps, rather than adding a feature for exactly what Servo wants, enable arbitrary behavior by providing a hook for overriding the bit of JS that generates the sidebar?
| T-rustdoc,C-enhancement,A-rustdoc-ui,T-rustdoc-frontend | low | Major |
39,853,501 | TypeScript | JSDoc for methods with multiple signatures | First I've thought about union types but they can solve only part of the problem. Original discussion started [here](https://typescript.codeplex.com/discussions/470744). In case codeplex had been abandoned, I copy my question here.
Please take a look at this function. https://github.com/digitalbazaar/forge/blob/master/js/rsa.js#L802-L885 As you can see from comments there are a lot of ways to use it. If I need to make a type definitions for it (actually I do) with JSDoc Intellisense support, then I have to copy general function description like 10 times. This will make my definition 3 times longer than source function and also very hard to modify. In libraries like forge almost all functions have being made that way.
Can you give me some tip about making definitions in such circumstances?
| Suggestion,Awaiting More Feedback,Domain: JSDoc | medium | Critical |
39,874,965 | youtube-dl | can't watch xfinity.com video from Canada | Tried to watch http://www.tv.com/redir?url=http%3A//xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos%3Fcmpid%3Dsyn_rss .
midori said I have old version of Adobe Flash Player.
Tried youtube-dl. Here is my console output:
"youtube-dl --verbose 'http://xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos?cmpid=syn_rss'
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos?cmpid=syn_rss']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2014.07.25.1
[debug] Python version 2.7.5 - Linux-3.14.15-100.fc19.x86_64-x86_64-with-fedora-19-Schrรถdingerโs_Cat
[debug] Proxy map: {}
[generic] videos?cmpid=syn_rss: Requesting header
WARNING: Falling back on generic information extractor.
[generic] videos?cmpid=syn_rss: Downloading webpage
[generic] videos?cmpid=syn_rss: Extracting information
ERROR: Unsupported URL: http://xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos?cmpid=syn_rss; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 456, in _real_extract
doc = parse_xml(webpage)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1418, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 37, column 139
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 169, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 751, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos?cmpid=syn_rss; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
39,905,560 | TypeScript | Allow a module to implement an interface | It would be useful when a module can implement an interface using the `implements` keyword. Syntax: `module MyModule implements MyInterface { ... }`.
Example:
``` typescript
interface Showable {
show(): void;
}
function addShowable(showable: Showable) {
}
// This works:
module Login {
export function show() {
document.getElementById('login').style.display = 'block';
}
}
addShowable(Login);
// This doesn't work (yet?)
module Menu implements Showable {
export function show() {
document.getElementById('menu').style.display = 'block';
}
}
addShowable(Menu);
```
| Suggestion,Help Wanted | high | Critical |
39,915,718 | nvm | npm man pages not accessible | Problem:
npm man pages are not working for me when I run:
$ man npm
Reason:
npm man pages path (~NODE_PATH/npm/man) is not in $MANPATH
Solution:
npm man pages path (~NODE_PATH/npm/man) needs to be added to $MANPATH at:
https://github.com/creationix/nvm/blob/master/nvm.sh#L586
| feature requests,needs followup | low | Major |
39,958,639 | nvm | "npm command not found" on ARM arch | Ubuntu 14, node v0.10.3 (arm7), chromebook with crouton.
Nvm installed without issues.
Terminal restarted
nvm use 0.10.3
npm install (anything)
command not found.
Am I missing something?
If node is installed and in my path does that mean that npm is too?
Sorry if this is a dumb question.
Thanks in advance.
| shell: zsh,OS: ubuntu,installing node,needs followup | low | Major |
39,991,467 | youtube-dl | Support for downloading HLS manifest files for the same videoid on iOS devices for youtube. | The tools gets most of the file format correctly by combining url_encoded_fmt_stream_map and adaptive_fmts based on a youtube video-id.
I would also like to get a list of file format when youtube playing back on iPhone/iPad which I believed it's using Http Live Streaming format, if we can enhance the tool to at least getting the manifest files used when playback youtube on iOS devices based on the same video-id that would be great.
| request | low | Minor |
39,994,511 | youtube-dl | SWR Mediathek (German TV Broadcaster) not supported | The "Mediathek" of the German Broadcaster SWR isn't supported by youtube-dl.
Example link: http://www.swr.de/nachtcafe/nachtcafe-demenz-wie-damit-leben/-/id=200198/did=12840152/nid=200198/nykr9o/index.html
| site-support-request | low | Minor |
40,053,415 | youtube-dl | [site-support-request] redflagnews.com | ```
D:\youtube-dl>youtube-dl.exe --update
youtube-dl is up-to-date (2014.08.10)
D:\youtube-dl>youtube-dl.exe --verbose http://www.redflagnews.com/headlines/nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-s
tunned-by-what-the-officer-says-to-the-reporter
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.redflagnews.com/headlines/nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-b
e-stunned-by-what-the-officer-says-to-the-reporter']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.08.10
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned-by-what-the-officer-says-to-the-reporter: Requesting header
WARNING: Falling back on generic information extractor.
[generic] nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned-by-what-the-officer-says-to-the-reporter: Downloading webpa
ge
[generic] nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned-by-what-the-officer-says-to-the-reporter: Extracting inform
ation
ERROR: Unsupported URL: http://www.redflagnews.com/headlines/nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned-by-what-
the-officer-says-to-the-reporter; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include i
ts complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 457, in _real_extract
File "youtube_dl\utils.pyo", line 1426, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 516, in extract_info
File "youtube_dl\extractor\common.pyo", line 170, in extract
File "youtube_dl\extractor\generic.pyo", line 752, in _real_extract
ExtractorError: Unsupported URL: http://www.redflagnews.com/headlines/nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned
-by-what-the-officer-says-to-the-reporter; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
```
| site-support-request | low | Critical |
40,140,609 | rust | Expected type for closure arguments not inferred through two nested func calls | Test case:
```
struct Foo;
struct FooClosure<'a>(Option<|&mut Foo|:'a>);
fn foo(closure: |&mut Foo, &int|:'static, inputs: &[int]) {
for input in inputs.iter() {
FooClosure(Some(|f| closure(f, input)));
}
}
fn main() {}
```
This yields an error:
```
/home/nmatsakis/tmp/foo.rs:7:20: 7:47 error: mismatched types: expected `core::option::Option<|&mut Foo|>` but found `core::option::Option<|&mut Foo|>` (expected concrete lifetime, but found bound lifetime parameter )
```
which occurs because we did not propagate the expected type and thus instantiated the type of the closure parameter with a fresh variable, rather than using a bound region. Another solution to this issue would be finding a better way to decide when we can generalize lifetimes in closure parameters, rather than relying on the closure type.
There is a workaround: just manually annotate the parameter type.
| A-closures,A-inference,C-bug | low | Critical |
40,160,655 | youtube-dl | [site-support-request] artistdirect.com | ```
D:\youtube-dl>youtube-dl.exe --update
youtube-dl is up-to-date (2014.08.10)
D:\youtube-dl>youtube-dl.exe --verbose http://www.artistdirect.com/video/cledus-t-judd-how-do-you-milk-a-cow/42719
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.artistdirect.com/video/cledus-t-judd-how-do-you-milk-a-cow/42719']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.08.10
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] 42719: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 42719: Downloading webpage
[generic] 42719: Extracting information
ERROR: Unsupported URL: http://www.artistdirect.com/video/cledus-t-judd-how-do-you-milk-a-cow/42719; please report this issue on https://yt-dl.org/bug
. Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U
to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 457, in _real_extract
File "youtube_dl\utils.pyo", line 1426, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: mismatched tag: line 41, column 2
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 516, in extract_info
File "youtube_dl\extractor\common.pyo", line 170, in extract
File "youtube_dl\extractor\generic.pyo", line 752, in _real_extract
ExtractorError: Unsupported URL: http://www.artistdirect.com/video/cledus-t-judd-how-do-you-milk-a-cow/42719; please report this issue on https://yt-d
l.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type yout
ube-dl -U to update.
```
| site-support-request | low | Critical |
40,203,848 | TypeScript | Support conditional compilation | On codeplex this was a popular feature request:
https://typescript.codeplex.com/workitem/111
https://typescript.codeplex.com/workitem/1926
Personally I think preprocessor directives like #if, #elif, #else #endif with possibility to specify symbol to compiler would be very useful.
And a way to mark function (or ambient function declaration) as Conditional (something like [ConditionalAattribute](http://msdn.microsoft.com/en-us/library/system.diagnostics.conditionalattribute%28v=vs.110%29.aspx) in C#) would be great improvement too.
I have lot's of `console.log` like function calls that decrease performance of my application and ability to easily remove all calls to this function would be great.
| Suggestion,Needs More Info | high | Major |
40,321,567 | youtube-dl | Add support for vaughnlive.tv | Hi, first please remove the Justin.tv plugin as the service has shutdown. Second, can you add Vaughnlive.tv?
| site-support-request | low | Minor |
40,331,923 | rust | make use of LLVM's scoped noalias metadata | Rust could pass along lots of aliasing information to LLVM via the new metadata.
http://llvm.org/docs/LangRef.html#noalias-and-alias-scope-metadata
<hr/>
**UPDATE**(@eddyb): Currently blocked on an Unsafe Code Guidelines decision, regarding the exact cases we can treat as UB, and optimize - see https://github.com/rust-lang/rust/issues/16515#issuecomment-377742892 below, and further comments.
While LLVM can and will convert `noalias` *attributes* in function signatures into *scoped `!noalias` metadata* on instructions, when inlining, we never *emit* any such metadata ourselves.
Furthermore, the LLVM conversion is conservative (i.e. scoped to the entire callee) in a way that can't easily be generalized intra-function, without deciding on what to define and what to leave as UB. | A-LLVM,I-slow,C-enhancement,A-codegen,T-compiler,WG-llvm,C-optimization | medium | Critical |
40,395,401 | youtube-dl | Possible to add sox support (for mp3) [Request] | Hi,
Was wondering whether you guys would beable to add the ability to remove "silence" from the downloaded mp3 file as a flag? so we can get rid of the annoying few seconds of silence at the end that accompanies most youtube video mp3's?
This can be achieved using a tool called sox with a command like
sox "music\Shaggy - Intoxication\6 - Woman Scorn.mp3" "music\Shaggy - Intoxication\6 - Woman Scorn.mp3" reverse silence 1 0.1 0.1% reverse ... Would be nice if you could add it as a flag and youtube-dl will do itself
| request | low | Minor |
40,515,546 | rust | MinGW's linker does not create a reloc section for DYNAMICBASE executables | This issue exists to track the necessity of a workaround for this bug in the compiler.
| A-linkage,A-security,O-windows-gnu,C-bug | low | Critical |
41,190,232 | nvm | `nvm install 0.6.21` installs `v0.6.21-pre` | Related to #509, `nvm install 0.6.20` installs a node which reports the right version, but `nvm install 0.6` or `nvm install 0.6.21` installs a node which reports `v0.6.21-pre`.
| installing node,bugs,pull request wanted | low | Minor |
41,218,409 | TypeScript | Improve error messages for duplicate identifiers | We need to split the "Duplicate identifier" error in to a suite of more detailed errors about various types of illegal merges. "Duplicate identifier" is too general. Some examples of cases that warrant their own message:
- Would be a legal merge (like module & module) but exports don't match
- Fundule in the wrong order
- Clodule in the wrong order
- Fundule in different files
- Clodule in different files
- Interface and enum can't merge
- Interface and class can't merge
- Class and enum can't merge
- Function and enum can't merge
Basically every illegal cell in the matrix of merges should have a separate error message (or some of them can be grouped together in terms of value/type/namespace space). For example:
Class cannot merge with any other type
| Bug,Help Wanted | low | Critical |
41,219,443 | TypeScript | Widening after inferring null or undefined for a type parameter should be an implicit any | Courtesy of @JsonFreeman
```
function f<T>(t: T): T { return null }
f(null);
```
When compiling with -noImplicitAny, we don't get an error here, even though T is implicitly inferred to be any when we call f
| Bug,Help Wanted,Effort: Moderate | low | Critical |
41,285,423 | rust | Unused assignment warning should trigger for structs | This code should ideally trigger warnings about unused assignments, but it doesn't.
``` rust
struct Pos {
x: i32
}
fn foo() -> Pos{
Pos{x: 2}
}
fn main() {
foo().x += 1; // Unused assignment
let mut f = Pos { x: 2 };
f.x = 2; // Unused assignment
}
```
It could be useful in situations like this:
``` rust
struct Property {
x: i32
}
struct Foo {
prop: Property
}
impl Foo {
fn prop(&self) -> Property {
self.prop
}
fn mut_prop(&mut self) -> &mut Property {
&mut self.prop
}
}
fn main() {
let mut foo = Foo{prop: Property{x: 2}};
foo.prop().x += 2; // Oops, accidentally called prop() instead of mut_prop()
foo.mut_prop().x += 2;
}
```
<!-- TRIAGEBOT_START -->
<!-- TRIAGEBOT_ASSIGN_START -->
<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"LeSeulArtichaut"}$$TRIAGEBOT_ASSIGN_DATA_END -->
<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END --> | A-lints,T-compiler,C-bug | low | Minor |
41,570,501 | TypeScript | Convert HTMLElement and friends to classes to support Web Components/Custom elements | Please model HTMLElement and its subclasses as classes instead of interfaces in lib.d.ts to make it possible to subclass them.
My motivation is custom elements and web components. To create a custom element you need to create a subclass of HTMLElement and register it with the browser. Currently, HTMLElement etc are interfaces and can't be subclassed. I've been using a hacked lib.d.ts in my pet TypeScript project which uses web components.
Tutorial and info about how to use custom elements is here: http://www.html5rocks.com/en/tutorials/webcomponents/customelements/
| Suggestion,In Discussion,Domain: lib.d.ts | medium | Critical |
41,654,789 | youtube-dl | I'm failing to download d video from kanal2 website | $ youtube-dl http://kanal2.ee/pluss/video/\?id\=22216 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://kanal2.ee/pluss/video/?id=22216', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.09.01.1
[debug] Python version 2.7.5 - Darwin-13.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] ?id=22216: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ?id=22216: Downloading webpage
[generic] ?id=22216: Extracting information
ERROR: Unsupported URL: http://kanal2.ee/pluss/video/?id=22216; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 530, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1472, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 16, column 91
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 521, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 178, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 869, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
| site-support-request | low | Critical |
41,977,332 | TypeScript | Don't allow falsely discarded parameters when determining overloaded signature compatibility | # Motivation
Libraries such as Knockout use overloaded functions, for example:
``` ts
var x = new MyKnockoutModel();
console.log(x.customerName()); // string
x.customerName('bob'); // OK
x.customerName(42); // Error, 42 is not a string
```
We can model these in TypeScript:
``` ts
interface KnockoutElement<T> {
// Getter
(): T;
// Setter
(value: T): void;
}
```
However, these overloads turn out to not be safe when used in callbacks. For example:
``` ts
function readFile(finished: (contents: string) => void) { /*... */ }
var ko: KnockoutElement<number>;
readFile(ko); // No error, but passes a string to a number-expecting setter!
```
This is because we look at all the candidate source signatures, reject the `(x :number) => void` signature for having an incompatible type, and accept the `() => T` signature because it has fewer parameters (an acceptable variance).
This behavior does not map to any actual runtime behavior. The invoker's side might check the `.length` property of the function to determine what kind of arguments to pass, and the invokee's side might check `arguments.length` to determine which overload was intended, but the invoker cannot tell what the expected parameter _type_ of the function is, and the invokee reasonably expects to be called with the correct _type_ given a certain _arity_.
# Proposal
As an example, if a callback declaration says itโs going to invoke `f` with two parameters, we should not consider overloads of `f` which take zero arguments if an overload with one or two arguments exists.
In 3.8.3 / 3.8.4:
> M is a non-specialized call or construct signature and Sโ contains a call or construct signature N where [โฆ]
Change to
> M is a non-specialized call or construct signature and Sโ contains a call or construct signature N where no other call or construct signature in Sโ has more parameters than N but not more than M, and [โฆ]
# Analysis
A sample implementation of this rule breaks no existing tests. Check `stopParameterNeglect` branch for code/tests.
| Suggestion,Help Wanted | low | Critical |
42,145,523 | neovim | Use standard `x` functions on platforms that support them. (strlcpy/stpcpy/etc) | The use of `x` functions inhibits compiler optimizations by hiding the implementation in isolated compilation units. For example, the compiler can theoretically turn
``` c
strcpy(dst, a);
strcat(dst, b);
strcat(dst, c);
```
into
``` c
strcpy(stpcpy(stpcpy(dest, a), b) c);
```
but not if `xstpcpy` (as we use) has external linkage. The result is that `strlen` must be called on `dst` for every `cat`. Attributes help, but not in this specific instance.
There has been some prior discussion on this:
@aktau said (https://github.com/neovim/neovim/pull/1134#issuecomment-54714027)
> we should try to define stpcpy on platforms where it doesn't exist, and use the platfrom-supplied stpcpy if possible. It's faster and the compiler knows what these functions do (same for mempcpy, for example).
>
> One "way" of doing that would be:
>
> ``` c
> #ifndef HAVE_STPCPY
> char *stpcpy(...)
> {
> // ...
> }
> #endif
> ```
@ZyX-I said (https://github.com/neovim/neovim/pull/1134#issuecomment-54724403)
> > But I'm not sure how this would interact with the automatic declarations generator, if at all. Any reason to believe changes are necessary, @ZyX-I?
>
> For a number of reasons (one of them is that I use lots of macros for defining functions) declarations generator is run on a preprocessed file, so it is fine as long as HAVE_STPCPY is defined either with -D argument known by cmake at the makefile generation stage or in some included file.
>
> AFAIR we already have some config.h file generated by cmake, that includes some similar things. Just listing the possibilities: generated Makefile will embed all globally enabled -D definitions known to CMake (except for INCLUDE_GENERATED_DECLARATIONS), as well as -I arguments so that preprocessor works, thus both locations are fine; even though I have strong opinion about where it will actually land without my advice.
Obviously this does not apply to the `xmalloc` family, nor `xmemdup(z)`, but it does to `stp(n)cpy`, `strlcpy`, `strlcat`, and at least one function I'd like to add to `memory.c`, `strchrnul` (https://github.com/splinterofchaos/neovim/commit/9a2cd2e4a417c2f52023d31eba792ceab656d2bd). In some cases, when `BACKSLASH_IN_FILENAME` is not defined, we could use [`strcasecmp`](http://linux.die.net/man/3/strcasecmp).
Glibc actually ships with BSD functions, even on linux. For example, to get access to `strchrnul` requires this:
``` c
#define __USE_GNU
#include <string.h>
#undef __USE_GNU
```
So, the question is: How could we modify the build system to detect these functions and how do we modify the source to take advantage of them, and is it worth the trouble?
| enhancement,build,performance | low | Minor |
42,491,853 | rust | Improve error messages involving type aliases | ``` rs
extern crate libc;
fn main() {
let a: libc::ssize_t = 0;
let () = a;
}
```
```
$ rustc show-typedef.rs
show-typedef.rs:4:17: 4:19 error: mismatched types: expected `i64`, found `()` (expected i64, found ())
show-typedef.rs:4 let () = a;
^~
error: aborting due to previous error
```
It would be great if `rustc` could show `libc::ssize_t` as well as `i64` in the error message. Compare it with GCC 4.9
```
$ g++49 show-typedef.cpp
show-typedef.cpp: In function 'int main()':
show-typedef.cpp:3:28: error: invalid operands of types 'void' and 'const size_type {aka const long unsigned int}' to binary 'operator+'
(void)0 + std::string::npos;
^
```
``` cpp
#include <string>
int main() {
(void)0 + std::string::npos;
}
```
| E-hard,C-enhancement,A-diagnostics,T-compiler,T-types | low | Critical |
42,507,175 | youtube-dl | Support format fallback (was: ERROR: giving up after 10 retries) | ```
youtube-dl -f 137+140 -v https://www.youtube.com/watch?v=USzA8aBaRNc
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '137+140', '-v', 'https://www.youtube.com/watch?v=USzA8aBaRNc']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.09.10.1
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.5
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Confirming age
[youtube] USzA8aBaRNc: Downloading webpage
[youtube] USzA8aBaRNc: Downloading video info webpage
[youtube] USzA8aBaRNc: Extracting video information
[debug] Invoking downloader on u'https://r1---sn-aiglln7d.googlevideo.com/videoplayback?sver=3&nh=IgpwcjAxLmxocjA3KgkxMjcuMC4wLjE&gir=yes&mm=31&signature=BE80A45DD6089031F21DD3F38F3467391E96B3E0.58497AD778D0AE7F8DD467E4D8BDD09A6068E990&key=yt5&id=o-AD9cD6UbVG6OKDOp9GVs-sZZVw-paoVpe1UUFYGwjEhd&dur=273.273&ipbits=0&initcwndbps=11841000&mv=m&ms=au&ip=88.150.175.147&clen=130976906&sparams=clen%2Cdur%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmm%2Cms%2Cmv%2Cnh%2Crequiressl%2Csource%2Cupn%2Cexpire&mt=1410428969&source=youtube&lmt=1410169303233178&expire=1410450636&fexp=900223%2C901082%2C904843%2C905024%2C927622%2C931983%2C932404%2C932623%2C934024%2C934030%2C946023%2C947209%2C951900%2C953801&itag=137&requiressl=yes&upn=-wkNkGrw3fw&ratebypass=yes'
[download] Got server HTTP error. Retrying (attempt 1 of 10)...
[download] Got server HTTP error. Retrying (attempt 2 of 10)...
[download] Got server HTTP error. Retrying (attempt 3 of 10)...
[download] Got server HTTP error. Retrying (attempt 4 of 10)...
[download] Got server HTTP error. Retrying (attempt 5 of 10)...
[download] Got server HTTP error. Retrying (attempt 6 of 10)...
[download] Got server HTTP error. Retrying (attempt 7 of 10)...
[download] Got server HTTP error. Retrying (attempt 8 of 10)...
[download] Got server HTTP error. Retrying (attempt 9 of 10)...
[download] Got server HTTP error. Retrying (attempt 10 of 10)...
ERROR: giving up after 10 retries
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 66, in real_download
data = self.ydl.urlopen(request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1244, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 407, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 445, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
```
| request | medium | Critical |
42,613,245 | TypeScript | Refactoring support: Reorder parameters | I would really like something like reorder parameters as a refactoring option, like C# already has: http://msdn.microsoft.com/en-us/library/5ss5z206.aspx
edit:
This might be a bit hard when the info comes from a .d.ts file, though.
| Suggestion,Visual Studio,Domain: Refactorings | medium | Critical |
42,676,280 | TypeScript | External modules with AMD always requires "exports" even when it is not used | Here's a small external module that explicitly exports a module:
``` ts
module Foo {
export var foo = 42;
}
export = Foo;
```
The code generated for this is:
``` js
define(["require", "exports"], function(require, exports) {
var Foo;
(function (Foo) {
Foo.foo = 42;
})(Foo || (Foo = {}));
return Foo;
});
```
This feels like bad AMD since you are requiring the "exports" magic dependency, but then not using it and instead returning Foo directly.
It's annoying for minimal AMD loaders since they can't assume the object return of your module is your "exports" object and have to guess that you really meant to return something that overrode the "exports" object you asked for.
Furthermore, why bother declaring a dependency on 'require' when it's not used?
| Suggestion,Help Wanted | low | Major |
42,688,528 | youtube-dl | obizgo.tv | fails to download video from this user pays site. I was already logged in and authenticated, copied the URL and pasted it next to the command line to download the video.
laptop is running latest ubuntu 14.04, completely updated and running latest version of youtube-dl
here is the error message
PC:~/Videos$ youtube-dl --verbose http://obizgo.tv/VoIrC/13851/468895
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://obizgo.tv/VoIrC/13851/468895']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-35-generic-i686-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[generic] 468895: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 468895: Downloading webpage
[generic] 468895: Extracting information
ERROR: Unsupported URL: http://obizgo.tv/VoIrC/13851/468895; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 158, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 380, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://obizgo.tv/VoIrC/13851/468895; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
| site-support-request,account-needed | low | Critical |
42,710,024 | youtube-dl | [Feature Request] parallel downloads feature using a batch file | Is there a way to enable parallel download session fed in by a --batch-file.
Some sites have very slow band width per video, therefore instead of waiting to finish previous file, it is much efficient to run parallel downloads.
| request | medium | Major |
42,741,069 | react | getEventKey implementation inconsistent with DOM3 spec / Firefox implementation | There are some inconsistencies between `getEventKey` and the DOM3 keyboard event spec (as well as what Firefox has implemented):
- `key` property is not correctly set for printable characters on `keydown` and `keyup` events. This works properly in Firefox, and my interpretation of the standard is that Firefox's behaviour is correct here. From the spec: _If the key generates a printable character, and there exists an appropriate Unicode code point, then the KeyboardEvent.key attribute must be a string consisting of the char value of that character._
- Enter key only fires keydown in Firefox, but fires both keydown and keypress in Chrome. This should be consistent across browsers
- CapsLock key only fires keydown when it is toggled on. When caps lock is toggled from on to off, no keydown event is fired (this may be a browser limitation in Chrome)
Repro: Test this page in Firefox and compare the result to Chrome: http://jsfiddle.net/63ycmLhe/1/
| Type: Bug,Component: DOM | low | Major |
42,745,490 | neovim | enhanced session/shada; shared (p2p) state | This ticket/discussion accidentally covers two different (but related) goals:
- Enhance shada as a general store for plugins to persist things like cached data, session settings, etc. https://github.com/neovim/neovim/issues/984#issuecomment-49879240
- Standard/convenient mechanism to share state between Nvim peer instances.
---
~~Embedding SQLite?~~ http://www.sqlite.org/whentouse.html | enhancement | medium | Major |
43,017,447 | youtube-dl | pitchfork advance support | It would be nice if youtube-dl would support pitchfork advance, see http://pitchfork.com/advance/
for instance: http://pitchfork.com/advance/544-a-place-to-stand/
These new album previews are always available for one week only.
| site-support-request | low | Minor |
43,041,495 | rust | program without libc (without std lib) leads to cryptic error | The code at http://doc.rust-lang.org/guide-unsafe.html#avoiding-the-standard-library requires libc. It isn't possible to remove this line or to replace it with the platform independent rlibc. The following error occurs (playpen: http://is.gd/GWl8YT):
```
error: linking with `cc` failed: exit code: 1
note: cc '-m64' '-L' '/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib' '-o' 'out' 'out.o' '-Wl,--whole-archive' '-lmorestack' '-Wl,--no-whole-archive' '-nodefaultlibs' '-Wl,--gc-sections' '-pie' '-Wl,--as-needed' '-Wl,-O1' '-L' '/home/rust/.rust' '-L' '/home/rust' '-Wl,--whole-archive' '-Wl,-Bstatic' '-Wl,--no-whole-archive' '-Wl,-Bdynamic' '-lcompiler-rt'
note: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../lib/Scrt1.o: In function `_start':
(.text+0x12): undefined reference to `__libc_csu_fini'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../lib/Scrt1.o: In function `_start':
(.text+0x19): undefined reference to `__libc_csu_init'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../lib/Scrt1.o: In function `_start':
(.text+0x25): undefined reference to `__libc_start_main'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
```
I want to use libcore, that doesn't require libc (http://doc.rust-lang.org/core/). The libcore code example in the guide (http://doc.rust-lang.org/guide-unsafe.html#using-libcore) has no libc dependency, but the playpen link in the top right of the code example reinserts it and removing it leads to the same error as above (http://is.gd/sxVAr0).
| C-enhancement,A-diagnostics,T-compiler | medium | Critical |
43,073,082 | kubernetes | Reverse lookup by labels | LIST queries can be filtered by label selector.
It should also be possible to filter LISTs of replication controllers and services by _labels_. What this would do is return objects whose label selectors matched the specified labels. This would make it straightforward to figure out which service(s) targeted a particular pod, for instance, without creating a single label applied to both, which kubecfg currently does for its simple use case, but is an anti-pattern in the general case. Clients should apply the same labels to services as to the pods they control, but pods likely will carry a superset of the service labels.
Note that this functionality (though not the same API) is also needed in order to implement Watch of pods filtered by a label selector, since newly created pods need to be matched against outstanding Watches. It would also be useful to validate that there's at most one replication controller targeting a given pod at a time.
This may be a bit confusing right now, because label selectors look like sets of labels, and even use the parameter name "labels" in LIST queries, but really aren't labels, esp. once selectors are generalized (#341). I suggest we change that parameter to "selector" and use "labels" for this proposal. The "labels" parameter would only be valid for API objects containing selectors.
/cc @lavalamp
| area/api,priority/awaiting-more-evidence,sig/api-machinery,kind/feature,lifecycle/frozen | low | Major |
43,132,028 | youtube-dl | video from "skynet.be" (silverlight .ism/manifest stream) | [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.skynet.be/fr/festivals/graspop-201
4/concerts-videos/30588']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.09.16.1
[debug] Python version 2.7.8 - Windows-XP-5.1.2600-SP3
[debug] Proxy map: {}
[generic] 30588: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 30588: Downloading webpage
[generic] 30588: Extracting information
ERROR: Unsupported URL: http://www.skynet.be/fr/festivals/graspop-2014/concerts-
videos/30588; please report this issue on https://yt-dl.org/bug . Be sure to cal
l youtube-dl with the --verbose flag and include its complete output. Make sure
you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 545, in _real_extract
File "youtube_dl\utils.pyo", line 1509, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: mismatched tag: line 127, column 2
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 524, in extract_info
File "youtube_dl\extractor\common.pyo", line 178, in extract
File "youtube_dl\extractor\generic.pyo", line 890, in _real_extract
ExtractorError: Unsupported URL: http://www.skynet.be/fr/festivals/graspop-2014/
concerts-videos/30588; please report this issue on https://yt-dl.org/bug . Be su
re to call youtube-dl with the --verbose flag and include its complete output. M
ake sure you are using the latest version; type youtube-dl -U to update.
| site-support-request | low | Critical |
43,160,102 | kubernetes | Generic field selectors | We need a general policy for listing based on object's fields. Something quick 'n dirty has been implemented for pods to allow for scheduling, but no implementation exists for other resource types, and it's not clear that we want to do this (as opposed to making synthetic labels or something).
EDIT, May 2019: It remains incredibly inefficient in our system to select objects this way, O(N); we can't even consider this until we have a technical solution (e.g., indexes). Additionally, it's very tricky to make an API with exactly the right amount of expressiveness. For these reasons, this is actually mostly an anti-goal at the moment. | area/api,area/usability,priority/awaiting-more-evidence,sig/api-machinery,kind/feature,lifecycle/frozen | medium | Critical |
43,178,997 | neovim | Restore ACL as much as possible (POSIX, ...) | As was discovered in PR #1186 by @splinterofchaos: some ACL handling was removed during the initial Neovim import, and it would seem better to include that again as it's a useful thing to do.
Quoting @justinmk:
> In the Vim source, `os_get_acl()` (FKA `mch_get_acl`) only has logic for HAVE_POSIX_ACL HAVE_SOLARIS_ZFS_ACL HAVE_SOLARIS_ACL HAVE_AIX_ACL.
>
> Only HAVE_POSIX_ACL would interest us (?), and here's its logic:
``` c
#ifdef HAVE_POSIX_ACL
ret = (vim_acl_T)acl_get_file((char *)fname, ACL_TYPE_ACCESS);
#else
```
> HAVE_POSIX_ACL was removed in the initial Neovim import. There isn't much logic associated with it, but we should make a ticket to restore it using libuv.
So, the plan is that anyone interested takes a look at the vanilla Vim source and see if anything from libuv matches. Report back here with a plan and/or submit a pull request with the changes.
| system,filesystem | low | Minor |
43,312,016 | youtube-dl | Unable to download ScrewAttack's 5 Fun Facts Videos | Example:
$ youtube-dl http://www.screwattack.com/shows/partners/five-fun-facts/five-fun-facts-halo
[generic] five-fun-facts-halo: Requesting header
WARNING: Falling back on generic information extractor.
[generic] five-fun-facts-halo: Downloading webpage
[generic] five-fun-facts-halo: Extracting information
ERROR: Unsupported URL: http://www.screwattack.com/shows/partners/five-fun-facts/five-fun-facts-halo; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
$ youtube-dl --verbose http://www.screwattack.com/shows/partners/five-fun-facts/five-fun-facts-halo
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.screwattack.com/shows/partners/five-fun-facts/five-fun-facts-halo']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.09.19
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.6
[debug] Proxy map: {}
[generic] five-fun-facts-halo: Requesting header
WARNING: Falling back on generic information extractor.
[generic] five-fun-facts-halo: Downloading webpage
[generic] five-fun-facts-halo: Extracting information
ERROR: Unsupported URL: http://www.screwattack.com/shows/partners/five-fun-facts/five-fun-facts-halo; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 545, in _real_extract
doc = parse_xml(webpage)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1509, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 96, column 52
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 524, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 180, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 890, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.screwattack.com/shows/partners/five-fun-facts/five-fun-facts-halo; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Thank you in advance. :)
| site-support-request | low | Critical |
Subsets and Splits