Category Archives: Projects

Every Erlang Developers Best Friend: Dialyzer

While working on OSP some more, (I got global data storage using Mnesia and transactional server instances working) I got frustrated with Erlang letting me compile code then late binding to non-existent functions (whoops, typos) thus blowing up when I tried to run it. I knew there must be tools to solve this problem, so, searching around, and reading through my Erlang book, I came across Dialyzer, or (“a DIscrepancy AnalYZer for ERlang programs”). Basically, it does a static source code (or compiled byte code) analysis of your program(s) and tells you when there are unknown function calls, or places in the code that can’t be reached, etc… It’s very handle, and lets work on coding and testing the functionality of my code, rather than the runnability of my code. This tool is a must-have for Erlang programmers.

Peace and chow,

Ranok

Open Server Platform Update

    For those of you who don’t know, I’ve been working on a project making a server environment that only requires the server logic to be coded, the rest (high availability, load balancing, etc…) is all taken care of by my project. However, before I can start on the server itself, I need to make a redundant file-system that lets distributed nodes keep synced up. It’s almost at a prototype stage where I can demo to the world. I put up a website and a Google code project with a SVN repository.

It’s written entirely in Erlang, and using the Mnesia database for the meta-data storage. It’s licensed under the MIT license so it’s business friendly and open-source.

Peace and chow,

Ranok