Compiled Templates for Go

Cote is a compiled templating language for Go.

Template languages fall roughly into two criteria: template specific language or the same language your system uses, and a custom markup language or they don’t care. Cote falls into the second of both criteria, it uses pure Go for logic and the content can be anything. Your output can be anything text based.

Read more »

Go Slice Visualiser

I’ve been learning Go recently; it’s been fun.

An interesting aspect of Go is Slices, which are lightweight views of an array. Why these are useful and necessary makes more sense when you understand Go’s pass-by-value semantics.

Whilst playing with slices, I put together a little visualiser to help understand their behaviour (the act of building it was probably more useful than the end result).

Read more »

Rails production 500 error page showing in dev

We’re sorry, but something went wrong!

I’ve been seeing some strange behaviour on the development environment for On the Game recently. I’ve just spent an hour combing through every line of code that varies from a standard Rails app, and I’ve finally found the issue. I’m putting it here for posterity.

Read more »

Learning. It ain't hard.

“I don’t have enough free time to learn a new language!”, or tool, or framework, etc. I hear this often. I appreciate we all handle things differently, but here’s my take on it.

Read more »

Rhino Licensing

Rhino Licensing is an open-source licensing framework by Ayende Rahien, and it grew out of his frustration with other license providers while creating NHibernate Profiler.

Read more »