June 2009
2 posts
Erlang Factory and RainUp Project - Phase I
All I can say is: I am AMAZED by the Erlang community! Sadly here in Greece there isn’t an active Erlang community (but if your are interested in starting one, give me tweet at jonromero) even though there are some crazy Erlang projects (tidier/HiPE/Dialyzer) and some crazy researchers/developers. All the presentations were inspiring (and most of them uplifting) but what was very strange...
Jun 30th
A quick hack for random numbers in Erlang
It seems that you can’t get random numbers in Erlang when you are in different processes. I am building a distributed Monte Carlo simulation and I wanted two random numbers for the x and y (of the dart). So, the only way to do it (if you want it to run in a cluster) is this (at least that’s what I’ve found). {Seed1, Seed2, Seed3} = erlang:now(), X = random:uniform(), ...
Jun 11th