Piers Cawley

A quick Javascript formatting tip


almost 4 years ago by Piers Cawley on Just A Summary :.
IE’s a pain. The particular pain I want to write about is its pickiness about Javascript object literals. Consider the following Javascript object: ...

Rails tip: Dealing with out of sync migrations


almost 4 years ago by Piers Cawley on Just A Summary :.
Sometimes, for one embarrassing reason or another (usually involving chaotic branch merges…) a database migration can get leapfrogged. When this happens...

git is the monads


over 3 years ago by Piers Cawley on Just A Summary :.
When, in the course of learning about Haskell, I reached the point where I thought I understood what Monads were for, I wrote about it. In the comments...

Announcing Announcements for Ruby


over 3 years ago by Piers Cawley on Just A Summary :.
I’ve just pushed a just about usable (but horribly untested) port of Vassili Bykov’s very lovely Smalltalk Announcements framework onto github. Itâ...

Work with us


over 3 years ago by Piers Cawley on Just A Summary :.
If the last post about our Javascript issues didn’t put you off, then you might be interested to know that we’re hiring. If you’re an experienced...

Usability testing (throws) rocks


over 3 years ago by Piers Cawley on Just A Summary :.
Usability testing is wonderful. But wow, its humiliating. I’ve spent the last few weeks working on the Amazingtunes in page player. Amazingtunes is...

Get sophisticated


over 3 years ago by Piers Cawley on Just A Summary :.
Ruby’s primitives (Strings, Hashes, Arrays, Numbers – anything that has a literal syntax) are fine things. But that doesn’t mean you should use them...

Oh. Bugger


over 3 years ago by Piers Cawley on Just A Summary :.
If you asked me to name my favourite radio and TV comedy, the odds are very good that Geoffrey Perkins had a hand in most of them. When I found his obituary...

If you're going to add a hook, make it a big one


over 3 years ago by Piers Cawley on Just A Summary :.
Jay Fields responds to on Ola Bini’s Evil Hook Methods? about the common ruby idiom that lets us write: class Fruit include DataMapper::Resource ...

Arguments you wouldn't make in Alabama


over 3 years ago by Piers Cawley on Just A Summary :.
I spent the weekend at the UK Sacred Harp Convention, singing blood curdling hymns to the glory of god, very loudly with a hundred or so others. Great fun...