The power of Underscore.js

Underscore.js is a powerful JavaScript library that provides useful functional programming helpers. Why useful? Let see in a couple of examples below but in a few words it allows you to make your code more clear and compact.

Eight queens (N-queens) solution in Clojure

I have been interested in learning functional programming language during last months. My current choice is Clojure language because this is a dialect of Lisp based on JVM. So it seems to be good candidate for usage in real projects.

How to install Scala and sbt to Ubuntu 12.04 LTS

Scala is a really nice JVM based programming language. This post explains how to install it to Ubuntu 12.04 LTS system. If you don’t just play with Scala console but want to start a project, then you need Simple Build Tool (sbt) installed as well.

Treating files as sets: comm utility

Sometimes during administration work with real system you can have a simple task: get list of strings and find subset of this list missing in other list. Seems to be trivial but if you have thousands of values, then it’s time to use some automated solution.