Django and really big numbers

I ran into a problem in Django that I'd never encountered before this morning: I had a really huge number to store. Tens of billions huge. Postgres and MySQL's integer fields won't store a number that big. They have a field type of bigint, but if you're writing Django models, there's no corresponding bigint field type. There's just an integer.

Turns out, it's really simple to make your own bigint field type. I found out how buried deep in a Trac entry on this. I post it here to help anyone else out ...

By: Matt Waite | Posted: March 10, 2009 | Tags: Django | 3 comments

Build something or STFU

This blog has been quiet of late because I've been working in every spare moment I have on a couple of projects that are going to launch soon, good lord willing and the creek don't rise. Given that I'm sleep deprived, stressed and generally ground down to a nub, it's a bad, bad time for me to read my media-heavy RSS feeds.

Before I get myself into trouble, I just want to say this: If all these people who know so much about journalism on the web spent less time on waving their arms in hysterics ...

By: Matt Waite | Posted: March 2, 2009 | Tags: Journalism | 17 comments