Quantcast
Channel: magpiebrain
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Clojure editor/IDE options – IntelliJ v Emacs

So all the cool Clojure kids keep wanting me to use Emacs. The problem is that I haven’t used Emacs for the last 10 years – since, in fact, I had to support a C application on about 7 different...

View Article



Image may be NSFW.
Clik here to view.

Clojure on App Engine – my take

I’ve been working on a couple of spare time projects, both of which I hope to release more formally in the next few weeks. One of them involves development of a simple web application for deployment on...

View Article

Image may be NSFW.
Clik here to view.

Struggling with Test Driven Clojure

I’ve recently been working on a Clojure application that I hope to open source soon. It’s been my first experience of using Clojure, and is almost certainly one of the most thought provking things...

View Article

Image may be NSFW.
Clik here to view.

In Clojure, Those Parenthesis Really Matter

Posted in the “I hope no-one else has to go through this” category in the hope that Google surfaces this for some other poor soul. Picture a rather trivial split function: (defn split [str delimiter]...

View Article

Image may be NSFW.
Clik here to view.

Clojure, Partially Applied Functions And Java Interop

I’ve been playing around with partially applied functions in Clojure, and have hit an interesting snag when dealing with Java interop. First, lets examine what partial does in Clojure, by cribbing off...

View Article


Image may be NSFW.
Clik here to view.

Executing A Command Line Program With Clojure

Updated to reflect some feedback and one example of using commons-exec as an alternative to the plain old Runtime.exec Second Update to reflect use of shell-out – thanks Scott! Basic Making use of...

View Article

Image may be NSFW.
Clik here to view.

Creating Sparse Tabular Data With Clojure

In the spirit of making my mistakes in public – something which I have a long history of on this blog – I thought I’d post up a solution I came up with for a relatively simple problem. I’m not unhappy...

View Article

Image may be NSFW.
Clik here to view.

Graphing Hits Per Minute Using Clojure & Incanter

Continuing in a re-occurring series of posts showing my limited understanding of Clojure, today we’re using Clojure for log processing. This example is culled from some work I’m doing right now in the...

View Article


Image may be NSFW.
Clik here to view.

Graphing Unique Users With Incanter

In a previous post, I showed how we could use Clojure and specifically Incanter to process access logs to graph hits on our site. Now, we’re going to adapt our solution to allow us to to show the...

View Article


Image may be NSFW.
Clik here to view.

lein-gentags: Generate TAGS file for your Clojure code

Some yak shaving while playing around with Riemann resulted in me creating my first leiningen plugin, lein-gentags. It uses etags based on instructions from Nurullah Akkaya’s original blogpost –...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images