Author Archives: piotrnosekpl

Intel RST, parition table recovery and GPT support in Windows

Recently Windows 7 on my laptop suddenly refused to recognise some USB devices. Mice nano-transcievers, to be more precise. Funny thing is, I have used one of them before with the same Windows instance. It was a mouse made by … Continue reading

Posted in Hardware | Tagged , , , , , , , | Leave a comment

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

KnockoutJS: making JavaScript a bit less crappy

If you are JavaScript fan, let me explain myself before you tie me to the pole in the middle of stack and start the fire. I just rather don’t feel this language. Perhaps if I had to write more projects … Continue reading

Posted in Development, Webdevelopment, XMPP | 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