GHC 2017-04-01

8 comments.

, https://git.io/vSl4N in Homebrew/homebrew-core
```
                                   ..'''''...                                   
                               ..';llclcclccll:'.                               
                              ,llcclcll:clcclclll;                              
                             :oll::lcllccll:::::lo:                             
                            ;oooolooclccc:ccoc,cllo;                            
                           .lo:llcoocol;;cocloclllol.                           
                           'olclololcooclooclocclcod'                           
                           ,ddodololcll:clccclccoccc'                           
             .,,''''.      ,ooloololcoo::c;:clcclcod;                           
            'ccc::::cc,    ,docoololcooccoocclc:ccco;                           
          .ollcc::ccccl,   ;ddodolc:;loccllc:l:c:,co;                           
          cxdllllcc,ccl:   ;ddodoldl:ooccll:,;:coloo;                           
          dxlclllloclll:   ,ddodololclc:':lc;ccclloo,                           
          oxolollllclll:   ,ddodllolcol;;ll:cl:c:;co'                           
          :xdollc;:clc:c   .cloolllccllccllccl:cc,:o'          ..               
          .xxl:looolllll;  .odooc;;:cllccll:cl:l:.co.     ',',;;:,.             
           ;kxxooolc:clllc;:oo::lclccllccol:::colcld.   .:::::::cc:.            
            ;xoldooolllllc::odllcclccll:lolcoolooccd.   ,lcccccclloo.           
             .cdxxdoclooooolodl:cclccccclolcooloodxo.   :cccllllooll.           
               .;lxxlddddocoddoolclcco;,'colddlcoddl.  .clcoooloddxd.           
                   .';:clodxxdooololldocldolddoxddlc..,:cldooddloxkc            
                           .ldolclolldoldxdoxdoxdxkxxxxddddoodxkkOl             
                            cxdooodooddldxdoxddkxxkxkdodxxxodkxdd,              
                            :dxxddddoxdodxdl:oxkxkkkOOkkkkkOko;'                
                            lkxxxdxddxddodxdkxxkxkkkkdooc:,..                   
                            ckkkxxxxdkd::xkxkkxkkkkl                            
                            ckkkddkxxkkxkOkxkkxxxkkc                            
                            ,kkkxxkdookxkkkxkkddkkk,                            
                             .':coooodxxkxxxdooc:'.                             
                                    .  ,,  .                                    
```

, https://git.io/vSl4A in Homebrew/homebrew-core
youtube-dl 2017.04.02
=====================

Created with `brew bump-formula-pr`.

, https://git.io/vSl4x in jarun/nnn
By the way, mind reminding me why create an `config.h` when it's just a copy of `config.def.h`? 😅 

, https://git.io/vSl4p in jarun/nnn
Add .gitignore to ignore compilation products
=============================================

I'm allergic to dirty worktrees...

, https://git.io/vSl4h in jarun/nnn
👍 

, https://git.io/vSl4j in jarun/nnn
The changes to Makefile are totally not portable. Not sure why a 28K binary needs to be stripped to 20K with non-portable flags; it's not like busybox users will ever use this...

Also, `dprintf` (which is most likely already declared in `stdio.h`) should not be made static. For some reason (inlining?) gcc does not error out when optimization is on. You can see the error by dropping the `-O3` flag:

```
$ make
cc -march=native -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -Wl,--gc-sections   -c -o nnn.o nnn.c
nnn.c:123:1: error: static declaration of ‘dprintf’ follows non-static declaration
 dprintf(int fd, const char *fmt, ...)
 ^
In file included from /usr/include/curses.h:171:0,
                 from nnn.c:6:
/usr/include/stdio.h:415:12: note: previous declaration of ‘dprintf’ was here
 extern int dprintf (int __fd, const char *__restrict __fmt, ...)
            ^
<builtin>: recipe for target 'nnn.o' failed
make: *** [nnn.o] Error 1
```

clang spots the error regardless of optimizations.

, https://git.io/vSll3 in soimort/you-get
Sure, plenty of examples can be found on vip.youku.com. Just find a VIP-only episode of a TV show, e.g.,

```
$ you-get --debug https://v.youku.com/v_show/id_XMjY0Mzk0Mzk2MA==.html
[DEBUG] get_content: http://play.youku.com/play/get.json?vid=XMjY0Mzk0Mzk2MA==&ct=10
[DEBUG] get_content: http://play.youku.com/play/get.json?vid=XMjY0Mzk0Mzk2MA==&ct=12
you-get: Skipping 24 out of 24 segments due to paywall
site:                优酷 (Youku)
title:               热血长安 第一季 24 千年太岁
stream:
    - format:        hd3
      container:     flv
      video-profile: 1080P
      size:          1209.7 MiB (1268423229 bytes)
    # download-with: you-get --format=hd3 [URL]

audio-languages:
    - lang:          国语
      download-url:  http://v.youku.com/v_show/id_XMjY0Mzk0Mzk2MA==

you-get: [Failed] Cannot extract video source.
```

, https://git.io/vSlf7 in jarun/googler
I won't judge you for wanting to run a single Python script with Docker (though I find it amusing), but this doesn't belong to the repo. I mean, just look around, I've yet to see a comparable project to include a Dockerfile. It's also rather trivial for anyone who knows Docker to put one together.