Drawing the Mandelbrot set in Ruby and Haskell
Generating the wonderful Mandelbrot set in Ruby and Haskell – it’s amazing how simple math can give birth to such a sophisticated shape. It’s elegance fits Ruby and Haskell well. Come closer and see the wonders!
On the road to being a better developer
Functional ruby – a simple example
Today I’d like to present the implementation of the quicksort algorithm, starting from a naive imperative solution and improving it for elegance and clarity.
Ruby vs. Haskell – project Euler #25 deathmatch
What is the first term in the Fibonacci sequence to contain 1000 digits?
This is the quesion I’m answering, comparing the Ruby and the Haskell solutions.
Top posts on blog.mostof.it as of 2010.feb.13.
* Top 5 trends and technologies in software development
In this ever-changing world of software development it’s extremely important to keep up with current technologies, methodologies and trends.
* Top 5 mac tools for web development
See my recommendations for web development tools on macs
* Ruby blocks and closures 101
Let’s go on with diving into the beauties of ruby – this time check out how elegant blocks and closures and their first-class support in ruby can make our codes.
* Ruby class system introduction and teaser
This is part one of a forthcoming series about ruby – and why I love it. This first episode focuses on general ideas, concepts and philosophy about ruby and a gentle introduction to its class system.
* Of PHP, Facebook’s HipHop and C++
My thoughts on Facebook’s new PHP to C++ translator
Top 5 trends and technologies in software development
In this ever-changing world of software development it’s extremely important to keep up with current technologies, methodologies and trends. It can easily get out of hand though – simply there’s not enough time for anyone to learn all new stuff, work and live a normal life simultaneously. Selection is thus the key, being smartly selective about new things to learn so we won’t miss important stuff but also keep ‘junk’ or unimportant trends out.
I created this small and ever-incomplete list of things I feel we all should pay attention to and practice. Some items could be considered ‘old’ (read: more than a few months old) but still not grasped enough yet.
Of PHP, Facebook’s HipHop and C++
Facebook announced its brand new code transformer, boosting php’s performance by a factor of 2 and also reducing memory consumption (their measurements).
This new beast is called HipHop. According to the announcement:
“Overall, HipHop allows us to keep the best aspects of PHP while taking advantage of the performance benefits of C++. In total, we have written over 300,000 lines of code and more than 5000 unit tests. All of this will be released this evening on GitHub under the open source PHP licence.”
Dissecting the web with ruby and hpricot
Let me introduce you to an old friend of mine: Hpricot
Hpricot has saved my life many times when I had to parse (x)html documents and extract information programatically. It features a very nice ruby-ish syntax and a blazingly fast xpath-based parser. Combine it with open-uri, and you’re in for a fun ride creating a data-extracting web spider.
Top 5 mac tools for web development
Let me show you my ‘must-have’ list for development-related tools on Mac.
A nice example of continuations in ruby
A nice example of using continuations in ruby: exception-continue – related to my post “Continuations and ruby“.

