Kafkas Elixir

Posted on Sat 27 April 2024 in english

This is my first successful Elixir project that was actually released. I've been following Elixir for a while now and I'm in the wider diaspora, so it was time to do something productive besides solving Elixir koans and the Elixir track at Exercism.

If you run Kafka like we do …


Continue reading

Distributed systems course

Posted on Tue 23 February 2021 in english

Lately I've been watching the Distributed Systems Course on Youtube and really enjoy the teaching style.

If you skip the lessons on Blockchain (I'm not really interested in that) it roughly takes you 2 laid-back evenings or one tour de force evening.

Also while I watched the lesson on the …


Continue reading

A simpler way to generate an incrementing version for elixir apps - Mercurial version

Posted on Wed 18 January 2017 in english

Maybe you've read this article about how to create incrementing versions for your Elixir apps with the help of Git tags. The Git tag is used as the release version Distillery uses.

This is the way you would it with the help of Mercurial:

1. Commit your new version and …


Continue reading

Got C.H.I.P.?

Posted on Thu 20 October 2016 in english

Some months I received my C.H.I.P. - a 9$ computer with a 1 GHz CPU, 512 MG RAM and built-in WiFi. My plan was to run distributed tasks with Elixir on it. But how did I get there?

Open up C.H.I.P. flasher tool with Chromium …


Continue reading

Foundation for Phoenix

Posted on Tue 31 May 2016 in english

Intro

OK, so you've decided to use another framework instead of Phoenix's default bootstrap. Foundation is one of the biggest competitors to Twitter's bootstrap (currently over https://github.com/zurb/foundation-sites[23.000 stars on GitHub]) and was created by Zurb, which offer a wide variety of so-called http://zurb …


Continue reading

UIKit and Phoenix

Posted on Fri 20 May 2016 in english

To be honest, I'm no big fan of using the default Bootstrap framework provided by Phoenix. The basic version isn't even the problem, it's just I think that Bootstrap-y sites look boring and all the same. There are so many frameworks out there, why don't use another one?

UIKit may …


Continue reading

Clean Code in Elixir

Posted on Fri 29 April 2016 in english

If you've ever read "Uncle Bob" Martin C. Fowler's Book Clean Code: A Handbook of Agile Software Craftsmanship there's an example in chapter 2 of what good (or bad) use of context means.

It reads as follows:

private void printGuessStatistics(char candidate, int count) {
  String number;
  String verb;
  String pluralModifier …

Continue reading