HNHacker News
TopNewBestAskShowJobs

cron

29 karma · joined March 17, 2010

submissionscomments
cron··on Foreign Linux: Run Linux binaries on Windows without drivers or modification
`select-string` or it's alias `sst`. I find myself filtering collections of objects far more frequently then grepping lines when using powershell.
cron··on Did English ever have a formal version of “you”?
In Ireland it's fairly common for people to use "you" as the singular and "ye" as the plural. It's less ambiguous but definitely not considered proper.
cron··on 'StarCraft' Gameplay Boosts Mental Flexibility, Says Study
I'd say levelling (getting inside a players head, understanding how they'll react to a situation and staying one step ahead) is important for higher level play in both games.
cron··on Linux computer shop closing
It's right and proper that microsoft receive a payment for every pc laptop sold?
cron··on A New Vaccine For Drinking Could Keep Alcoholics Sober
So a bit of internet sleuthing later...

The creator, Dr. Juan Asenjo, is speaking at the World Vaccine Congress and Expo [1]. He also refers to the drug as a vaccine [2].

[1] http://www.terrapinn.com/2013/world-vaccine-congress-washing...

[2] http://www.ibtimes.co.uk/articles/430928/20130203/alcoholism... (unfortunately the original source of this quote seems to be behind a paywall [3])

[3] http://www.santiagotimes.cl/chile/science-technology/25637-w...

cron··on A New Vaccine For Drinking Could Keep Alcoholics Sober
Could someone explain to me how this is a vaccine? In school we were taught inoculations boost immunity and a vaccine is a form of inoculation which works by introducing enough of a bacteria or virus to make a person build antibodies.
cron··on Util-linux cheat sheet
I'm guessing this was generated by running `man -f` on the list of executables provided by util-linux.

    descriptions() { xargs -I '{}' man -f '{}' ; }
    executables() { pkgfile -bl $1 | cut -f 2; } # Arch Linux specific
    executables util-linux | descriptions 2> missed | sort | less
cron··on Louis C.K. sees ticket scalping drop over 96% by selling tickets himself
Building hard core, committed fans is probably more valuable in the long term rather than maximizing profits from ticket sales.
cron··on Arch Linux turns 10
IMO, minimalism is as much a defensive strategy as it is an aesthetic for Arch users.
cron··on Preprocessor magic: Default Arguments in C
The Linux kernel `container_of` and `offset_of` macros can be pretty handy when writing generic containers.
cron··on Forgotten C: The comma operator
Cute way to reverse a string, taken from the K+R:

    for (i = 0, j = strlen(s)-1; i < j; i++, j--) 
           c = s[i], s[i] = s[j], s[j] = c;
cron··on Why Erlang? - In-A-Gist Blog
I'm also coding an Erlang websocket app. In my implementation a simple_one_for_one spawns a new gen_server when a connection is accepted. It looks a little prettier because all the spawning, sending and receiving is now handled by the OTP. I also use active sockets, but I'm a bit worried about flood protection, what's your strategy?