Author Archives: craiget

Half-baked Objects and 10% ORM

I’ve used Object Relational Mapping (ORM) libraries on a few projects in the past. Without getting into the many, many details, ORM bridges the gap between data storage in a relational database and Object-Oriented Programming. Simply, instead of writing SQL … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Worse Is Better

Some interesting essays from computer history: Worse Is Better. The original essay considers the success of C against the arguably superior Lisps, which failed to gain widespread popularity. It seems hard to predict whether a particular product will succeed using … Continue reading

Posted in Random Links | Leave a comment

Random Links

This is super old and super cool – an article from 2007 in the New York Times about using Amazon/EC2/S3/Hadoop to produce static PDFs from 71 years (4TB) of NYT archives. I don’t think I had even heard of Hadoop … Continue reading

Posted in Programming, Random Links | Leave a comment

A Little Trick For Dealing With Lots Of View Files

I’ve been messing around with the Kohana Framework a lot lately. The simplicity of using the View Factory has led me to have a ton of little view snippets and it gets tricky remembering where they all live. So I … Continue reading

Posted in Programming | Tagged | Leave a comment

… And We’re Back

Sorry about the delay folks. I meant to take the site offline for a day or two, but it ended up being a couple of months! You know how it goes – you get distracted working on other stuff and … Continue reading

Posted in Uncategorized | Leave a comment

Ranking Blogs by Readability

Further proof that I’m a dork: this afternoon, instead of working on my apps, I was screwing around with pydot and matplotlib making visualizations of user engagement (on another blog). At one point it occurred to me that it might … Continue reading

Posted in Programming | Tagged | Leave a comment

Automatically Converting PNGs to JPEGs in WordPress

This took me entirely too long to figure out.. The goal was to reduce the load page and server load by converting PNGs to JPEGs. This method may be lack a bit of subtlety, as it *always* converts PNGs to … Continue reading

Posted in Programming, Wordpress | Tagged , | Leave a comment

An Easy Munin PHP Plugin

I’ve been playing sysadmin lately, which is not my favorite thing in the world. Anyway, while trying to read up a bit on monitoring, I came across Munin – one of those apps I’ve heard of but never really gotten … Continue reading

Posted in Programming | Tagged , | Leave a comment

Making My Own WordPress Chartbeat Plugin

Instead of doing something useful this morning, I made my own little plugin using the Chartbeat API to display the most popular posts on a WordPress blog. Note: There is really no reason to do this. The Chartbeat Plugin does … Continue reading

Posted in Programming, Wordpress | Tagged , , | Leave a comment

Fetching Android Market Stats with Selenium RC

Finally.. I’ve got a reasonably decent way to pull Android Market stats. For some reason I keep coming back to this topic. This time, the way forward is to use Selenium RC, part of the Selenium browser testing suite. My … Continue reading

Posted in Programming | Tagged , | Leave a comment