If in doubt, use brute force
When it comes to the history of computing I'm not an atheist - Ken Thompson is the main man, king of beards, hacker god. This is what a proper hacker should look like:
Even Garth finds Unix hot!:
This is a blog about me, Seinfeld, okonomiyaki, japanese toilet seats, and other things of interest
When it comes to the history of computing I'm not an atheist - Ken Thompson is the main man, king of beards, hacker god. This is what a proper hacker should look like:
Nice run tonight from Victoria Rise to Tate Modern and back. I didn't run that fast - about 19.5km in 102min - but it was nice to do a proper long run again. I've started logging my training on shapelink together with da_sealboy and da_slope from da_clan.
No one can make geeky films like Ericsson! Check out this Erlang film from 1990 or so (starring the four main developers of Erlang):
So I've finally written my first Erlang program:
diaspora:~/projects/erlang lars$ cat test.erl
-module(test).
-export([fac/1]).
fac(0) -> 1;
fac(N) -> N * fac(N - 1).
diaspora:~/projects/erlang lars$ erl
1> c(test).
{ok,test}
2> test:fac(5).
120
3>
sum([H|T]) -> H + sum(T);
sum([]) -> 0.