development

Getting benchmarking right

getting-benchmarking-right

Several times on this blog, I’ve dealt with issues where some kind of benchmarking was required. The method, implementation, environment all play a role and has subsequently been the object of much discussion. In this post let’s see if we can agree on some way of benchmarking.


More >

Haskell,Ruby,Scala,Clojure — Tweaked!

haskellrubyscalaclojure-tweaked

Last night I did very small superficial comparison, of 3 ways of getting the first fibonnaci number consisting of 1000 digits. This attracted a lot of attention from Rubists, Haskaloonies and Clojurians alike, here I’ll share their contributions.


More >

Clojure, Haskell & Ruby Vs Euler 25

clojure-haskell-ruby-vs-euler-25

Haskell is a mature, statically typed, functional language which was recently compared to Ruby in an attempt to solve Euler #25. In this post I’ll share the code, the benchmark and add a Clojure version for those interested.


More >

My tribute to Steve Ballmer

my-tribute-to-steve-ballmer

These days Microsoft is often being hammered in both the news and in Open Source communities across the globe, so on behalf of the Clojure community I would like to submit a small tribute to the man at the wheel, Steve Ballmer.


More >

Reddit Clone — Now accepting registrations!

reddit-clone-now-accepting-registrations

About 1 week ago I wrote a small Reddit Clone in about 90 lines of Clojure. The amount interest and feedback was unexpectedly high so I’ve decided to extend the example to a whopping 160 lines as well as echo some of the chatter.


More >

Simplicity on Steroids

simplicity-on-steroids

Today I had a lot of fun reading about a for-constructs on steroids. The author of that post explores the possibilities which come with the built-in pattern matching in Scalas for-construct, so I’ll do the same with Clojure.

More >

Reddit Clone in 10 minutes and 91 lines of Clojure

reddit-clone-in-10-minutes-and-91-lines-of-clojure

Recently I had the good pleasure of reading this blog post, which demonstrates how to build a Reddit Clone in 100 lines of Common Lisp. I thought it might be interesting to see a port to Clojure, contrasting a couple of idioms and core functions of both languages.


More >

Global Warming Vs Clojure!

global-warming-vs-clojure

Nobody who’s connected to the rest of the world, either via TV or the Internet is unaware of Global Warming — This phenomenon which threatens to destroy us all if we don’t collectively assume responsibility for the globe. Here’s my contribution to a solution in 98 lines of heavy computational Clojure! More >

Hadoop — Feeding Reddit to Hadoop

hadoop-feeding-reddit-to-hadoop

With Hadoop installed on our lean mean Arch machine, we’re ready to fire up the first computations. Hadoop opens a world of fun with the promise of some heavy lifting and in order to feed the beast I’ve written a Reddit-scraper in just 30 lines of Clojure. More >

Hadoop — Installation

hadoop-installation

Since we’ve had so much fun with multiple cores running at once, how about upping the game to play with multiple servers? Hadoop is a framework for distributed computing, which lets us process jobs on multiple servers at once giving more power *grunt*. In this first post I’ll run through how to set up your first Hadoop server running in a VirtualBox using Arch.

More >