December 2011
1 post
On Christmas
merlin:
There’s a shameful relief in admitting you feel a little sad around Christmas. You think about the people who aren’t around anymore, and the memories that get a little dimmer each year, and you watch as everything around you changes without regard to how it fits into your bulleted Holiday Plan. Man. It can be rough.
Revisiting a post that meant a lot to me last year from the great...
August 2011
1 post
January 2011
1 post
April 2010
1 post
3 tags
jQuery Timeago and Django DateTimeFields
Here’s a (relatively) quick one, kids.
I love Django and its humble ORM. We’ve been casually dancing for the past five or so years, and it seems like things could be getting serious between us.
I also love timeago, a jQuery plugin that replaces ugly date/time strings with fuzzy approximations that humans (like myself) can understand.
I’ve always found date/time programming...
May 2009
1 post
Store Binary Data in Twitter with Tootfiles
Sometimes a man’s worst ideas lead to his finest moments: Ben Franklin decides to fly a kite in a storm and we get electricity (I’m paraphrasing that story), Alexander Graham Bell shacks up with his 15-year-old apprentice (who was deaf) and we get the telephone (paraphrasing again).
Now, I don’t fly kites and my wife is neither 15 years old nor deaf, but I feel you and I might...
April 2009
1 post
4 tags
Coloring Sprites with Cocos2d-iPhone
As someone who enjoys finding better ways to do things, I wanted to share a new tip I learned this weekend. Do you find yourself wrangling a handful of all too similar sprites, only varying by color? A useful pattern in game development is to keep the number of sprites in your project to a minimum by performing what’s called a palette swap of the colors in the images. Fortunately for us,...