Category Archives: Erlang

Rebar + Common Test + Jenkins

Testing is always important. This fact cannot be questioned. For Erlang, we have two excellent frameworks: EUnit and Common Test. I’m always using the latter, just because I’m used to it. I don’t know if it’s superior or inferior to … Continue reading

Posted in Development, Erlang | Tagged , , , , | Leave a comment

R16+ and CentOS 6.4

Because of disabled cipher suite, currently it’s not possible to compile Erlang R16 under CentOS 6.4 with up-to-date OpenSSL (1.0.1e-16.el6_5.7). The solution can already be found on erlang-questions but I thought it might be useful to store it somewhere else … Continue reading

Posted in Development, Erlang | Tagged , , , | Leave a comment

Mnesia migration from noname node

We have a task of complete rewrite of an old system and as you might guess, one of the challenges awaiting us is database migration. This means double challenge, since we’re not only migrating to new, heavily changed schema, but … Continue reading

Posted in Databases, Development, Erlang | Tagged , , , | 2 Comments

How to run a system command in Erlang?

Originally posted on Piotr Gabryanczyk's Blog:
Problem I would like to be able to run ie. ls -al / from erlang and process the results using erlang. ie. Files = cmd:run(“ls -al /”). Solution -module(cmd). -export([run/1, run/2, test/0]). run(Cmd)…

Posted in Development, Erlang | Tagged , , , | 1 Comment

Groupchat for Your WordPress website

Hello kids, in this episode of Sesame Street we learn the letters ‘M’ for MongooseIM, ‘G’ for GroupChat and ‘X’ for XMPP. We assume you should already know letters ‘W’ for WordPress and ‘S’ for (My)SQL and you are just … Continue reading

Posted in Erlang, MongooseIM, XMPP | Tagged , , , , | 1 Comment

Erlang Factory is coming.

Finally! My first talk submitted and accepted for Erlang Factory. Perhaps it’s a bit strange that I’m going to Budapest instead of presenting something during Krakow Erlang Factory Lite but the reason is simple: the topic of my talk matured … Continue reading

Posted in Development, Erlang, XMPP | Tagged , , | 2 Comments

WordPress, MongooseIM and Websocket-based chat

Yeah, it’s almost certain that someone will say that this post is just a one, big MongooseIM advertisement. Maybe in small part it is, but my main goal here is to not let my effort remain undocumented. Yes, it’s been … Continue reading

Posted in Erlang | Tagged , , , , | 1 Comment

Load testing with Tsung

Please note that this post is based on experiences with Tsung version from (about) November 2012. As far as I can see, most commits added since then are bugfixes or minor changes. Perhaps one of them would make some conclusions … Continue reading

Posted in Development, Erlang | Tagged , , , | 2 Comments

Board generation for CitadErl

When playing Citadel of Blood, it seemed to be quite trivial to just pick random pieces and check if they match existing board. Maybe checking adjacent fields is easy for computer but there are certain conditions where more distant blocks … Continue reading

Posted in CitadErl, Erlang | Tagged , , | Leave a comment

Munctional!

I suppose many Erlang users came across this video but I just can’t resist urge to share it. For me, it’s just one of the best Monday-mood-eliminators. Even though it’s Friday, let it help us survive last hours before weekend. … Continue reading

Posted in Erlang | Tagged , | Leave a comment