Better HN
topnewbestaskshowjobs
Log inSign up

cron

29 karma · joined Mar 17, 2010 (16y ago) · 16 submissions

Submissions

comment 11y ago · link · parent

`select-string` or it's alias `sst`. I find myself filtering collections of objects far more frequently then grepping lines when using powershell.

comment 12y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

It's right and proper that microsoft receive a payment for every pc laptop sold?

comment 13y ago · link · parent

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...

comment 13y ago · link · parent

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.

comment 14y ago · link · parent

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

comment 14y ago · link · parent

Building hard core, committed fans is probably more valuable in the long term rather than maximizing profits from ticket sales.

comment 14y ago · link · parent

IMO, minimalism is as much a defensive strategy as it is an aesthetic for Arch users.

comment 14y ago · link · parent

The Linux kernel `container_of` and `offset_of` macros can be pretty handy when writing generic containers.

comment 15y ago · link · parent

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;

comment 15y ago · link · parent

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?