March 24, 2010
Game of Life Implementation in Erlang

This is a Game of Life implementation written in Erlang. Each cell is handled by a single process and each process talks to nearby cells via message passing to figure out state. At the end of the simulation the cells send their final state back to the root node i.e. the process that spawned them. I tried to stick with Erlang conventions for recursion and whatnot, but there are some rough edges, aesthetically speaking around the array handling. Still it works, as far as I can tell.

February 22, 2010
Works as intended

See[Mike]Code is a nifty tool for conducting remote programming interviews. One of the comments on the site bemoans the potential downsides of asking real programming questions during interviews:

The problem is often with the interview questions, for example:

“Write a loop that counts from 1 to 10” or “What’s the number after F in hexadecimal?”

As a web developer who has 5 years experience and build a number of large web applications for satisfied clients, I have never had to do anything with hex and simply would not know the answer in an interview.

However if I needed to do it in a job I would reference the API’s and be able to answer this in less than 2 minutes….

— ProgrammerJ

I don’t doubt that the commenter is a successful web developer, but no amount of API documentation would fix not knowing what hex notation is. Some basic computer science knowledge is required to capably consume technical documentation.

Liked posts on Tumblr: More liked posts »