How to fix Clojars all commits point to HEAD.

November 26, 2015

Recently I noticed an issue with one of the projects I deploy to Clojars. The "Pushed by with this commit" link was only ever linking back to HEAD on the GitHub repo.

Before

Continue reading →

A request for a Clojure code review!

November 24, 2015
Tags: clojure clova

So, I've gradually been spending more time looking at and writing Clojure. I've read plenty of books and looked at useful blog posts and articles. I've coded afew things and tried to writeafewblog posts. I'm still a newb though and the thought of ever writing Clojure for a living is far far away. I love the language, and the interactions I've had with the community so far have been great but the market for remote (or local) Clojure work is pretty slim.

Most recently I've started to look at ClojureScript a bit more and also started working on a minimal Clojure(Script) validation library.

Continue reading →

Introducing clova, a small validation library for Clojure and ClojureScript.

November 17, 2015

TL;DR

I wrote a small validation library for Clojure and ClojureScript. It's "alright" and it's called clova, I'd appreciate any feedback over on GitHub.

Continue reading →

Event sourcing in Clojure.

May 4, 2015

Recently I came across a blog post by James Nugent that described some example patterns for implementing event sourcing in Go. I'm no expert, I've not studied much Go code before and I've never written any but I'd certainly have to agree with the observation James made, there is much less code than some C# implementations.

James made available the code for his post on GitHub, so I thought it would be interesting to have a look and come up with a Clojure implementation based on the same domain. I'd suggest reading James post as this one will follow the same structure.

Continue reading →

Using New Relic to monitor non web based Clojure applications.

February 25, 2015

Recently I wanted to use New Relic to monitor and profile a Clojure application. This specific application was a "sentiment agent" running as a daemon and calculating the sentiment of various URLS.

The rest of this post assumes that you've already created a New Relic account and installed the New Relic agent for your platform of choice.

Continue reading →

Things I learnt about Vim this week: Joining lines of text.

February 21, 2015
Tags: vim

I've been using Vim now for over a year but I'm still increasingly amazed how little I know.

This week I've been writing some documentation in markdown. Working with text that isn't a programming language like C#, Clojure or JavaScript helped me to discover a few cool Vim commands I should have known already.

Continue reading →