Benchmarking sorting algorithms in Ruby

For some time now, I wanted to try the implementation of some simple sort algorithms in Ruby. So I did! I’ve implemented 4 sorting algorithms: – Quick sort – Merge sort – Bubble sort – Binary tree sort Quick sort It’s one of the most efficients. In average, it makes O(n.log(n)) comparisons to sort n items. […]

First steps with Elixir

Functional programming languages (FPL) are becoming more and more popular. Not sure if they are more and more used but at least they are more and more discussed on the web. I’ve finally decided to take the time to learn one of these FPL. And there was the problem, which one to choose! There is so […]

Install Rmagick on Mac OS X

I like to use the standard ruby tools when developing with Rails. So if I have a gem to install, I won’t use ‘apt-get install’ or ‘port install’, I will use ‘gem install’. To install Rmagick the command is: sudo  gem install rmagick And the result is : Building native extensions.  This could take a […]