Not So Random Software #4 – The one about Gratefulness

With the festivity season kicking-in, I have been thinking about gratefulness. As technologists, we are one of the luckiest professionals in the world. To be grateful is an important reminder that helps us feel fulfilled, happy and helps us define our purpose — even when you are just fixing an obscure bug no one else […]

To raise or not to raise exceptions, and the art of designing return values

Each time we call a function that’s meant to perform some operation that could succeed or fail we are always left with the same dilemma. What should be the return value? Should I return nil if a failure happened? Or I should throw an exception? What does failure means anyway? Like every interesting question, the answer is […]

Dockerized Rails Capybara tests on top of Selenium

If you use Docker to deploy your Rails application you may want to use the same infrastructure to run your tests. However the setup of your Selenium browser tests is far from obvious with Rails and Docker and may generate some confusion . The short answer is available in this repository on Github. For the long answer keep reading this blog post […]