News for hackers. Stuff that matters.

aablkn

Re:Go Lang: Comments Are Not Directives on Monday May 11, 2015 @05:27AM (#9523522)
Oh don't forget the good old

    // +build !linux
build constraints feature. It's been there since go 1.0 afaik.
Re:Hashpipe – Pipe iff the hash matches on Friday April 03, 2015 @08:43PM (#9319416)
You might want to `set -o pipefail` on your bash because a failing process does not stop things from getting piped:

`echo OK | false | echo OK2` --> this command returns zero exit code even though false does return non-zero exit code. If you do `set -o pipefail` entire pipe will fail with non-zero exit code (of `false`).