Category Archives: Development

Enumerables, Yield and Fibonacci

I’ve been reading Vazirani’s Algorithms last night – quite an entertaining book considering the dry subject and similar books on the topic.  Vazirani’s website has a draft of the book as PDF too. While the book is very much language-agnostic, I … Continue reading

Posted in Development | Leave a comment

Riak Core And Decentralized Node Management

Been reading a lot of code in the riak core framework.  Powerful stuff. Fits lots of questions about managing big distributed systems in Erlang – answered a question up on StackOverflow about just such a scenario: Starting remote Erlang nodes

Posted in Erlang | Leave a comment

Great Erlang Secrets : Inheritance (1 of ?)

A little discussed capability of Erlang is module inheritance: Example: -module(basemod). -export([foo/0]). foo() -> ok. The module can be subclassed by the using the attribute “-extends(atom())” as follows. -module(submod,[]). -extends(basemod). -export([bar/0]). foo() -> fail. bar() -> BASE:foo(). As a result, submod exports … Continue reading

Posted in Erlang | Leave a comment

Erlang Activities

Tonight I’ve been thinking about a couple of different Erlang problems. The first was injecting a supervisor to manage session processes.  Pretty straight-forward just needed a little more reading on my part. Second was a broader, more tricky question – … Continue reading

Posted in Erlang | Leave a comment