Archive for the 'Erlang' Category

Ungoogleable Erlang Documentation

« 20 February 2008 | 1:16 | Computing, Erlang | No Comments »

While I’m complaining about Erlang: why doesn’t Google ever return any hits on the documentation? If I google “perl sprintf” the first hit is the documentation page http://perldoc.perl.org/functions/sprintf.html. The same thing happens if I Google “python array” or “lisp map” or “php echo.” If I type “erlang supervisor” I don’t get anything [...]



Erlang PostgreSQL Roundup

« 20 February 2008 | 0:56 | Britain, Computing, Erlang | No Comments »

Like just about everything to do with Erlang, database driver support appears to be in total disarray. I’d like to be able to store data in a PostgreSQL database and access it reasonably well. Options appear to be

Erlang psql driver that is a fork or something of the code by Erlang Consulting. [...]



XML Stream Parsing in Erlang, II

« 19 February 2008 | 22:37 | Computing, Erlang, Gaming, General | No Comments »

In my previous post, I complained a lot about trying to get XML stream parsing working. Ultimately, I just decided to rip the guts out of ejabberd, rather than reinvent the wheel. The relevant files are xml_stream.erl, xml.erl, and expat_erl.c. You can see how to use it in ejabberd_receiver.erl. Frankly, these [...]



XML Stream Parsing in Erlang

« 18 February 2008 | 23:53 | Computing, Erlang, Gaming | No Comments »

There’s a lively debate out there about how one should communicate with clients in a game, in particular UDP vs TCP. I won’t go into details about it, but you can read a lively debate here. The choice for my ridiculous game is TCP+UDP. I want to use TCP for various communications [...]



Starting an Erlang Project, Part III

« 24 January 2008 | 21:44 | Computing, Erlang | No Comments »

I’ve posted twice now about starting an Erlang project (one and two). I now have a directory structure and a Makefile that I’m happy with, plus some odds-and-ends from my first attempt at stubbing out an OTP application. I’m now going to begin again, with a healthy dose of Chapter 18 from Joe [...]



Starting an Erlang Project, Part II

« 24 January 2008 | 19:28 | Computing, Erlang | No Comments »

Continuing on with the previous Erlang post, there have been a couple of developments: 1) Programming Erlang arrived from Amazon, 2) trapexit.org came back online, and 3) I found this awesome blog.
To remind you of my immediate goal: I want to figure out how to organize a large-scale Erlang project. I want to learn [...]



Starting an Erlang Project, Part I

« 23 January 2008 | 5:05 | Computing, Erlang, Gaming, General | No Comments »

Per my previous post, I’m going to start a little Erlang project. I’ll call it “North Zulch,” or “NZ” in reference to the tiny little place where the family ranch is located.
There are three things that I’ve had to solve over and over (or at least cut and paste over and over), in [...]



Off On an Erlang Adventure

« 22 January 2008 | 23:57 | Computing, Erlang, Gaming | 1 Comment »

I have decided for some reason that it would be fun to play with massively scalable systems. In particular, I thought it would be a hilarious waste of time to work on an MMO engine. I’m not sure why this seems like a good idea, given that I have more than enough on [...]