Skip to content

Category Archives: programming

I just don’t get it. (An “I ♥ SQL” rant)

What’s so bad about liking SQL? About enjoying the beauty of a really damned well-written and concise query? Seriously, I just don’t get the hype about ORMs versus writing the queries yourself.
Don’t give me the “but it makes everything portable!” argument. How many times have you designed something, only to have to switch […]

Django snippet — Template tag: split list to n sublists

This is the code for a Django template tag I adapted (also posted here). It was based on this snippet, adapted to split a list into n number of sublists, e.g. split a list of results into three evenly-divided sublists to enable display of the results in three columns on one page with CSS.

Arrrrrrrrrrrgh.

I like CodeIgniter so far (I’ve been fiddling with it on and off for a bit), but I’ve run into an issue that is driving me insane, so if anyone sees a typo that’s causing the issue, I’d appreciate it if you’d let me know. *g*
I posted about the issue on the CI forums this […]

New work project up

Online school directory for El Paso and Teller counties, Colorado, USA (broken now). (The much better, non-corporate mush version is here on my site. [Also dead now, as I don’t want to update the code for newer versions of php and mysql.]) I have a ton of additions and improvements that I want to add […]

Google maps geocoder

Found a batch geocoder for Google maps a couple of weeks ago. It’s pretty simple, and returns accuracy and status codes to help weed out the addresses you might need to check by hand. (Yay for not having to write one’s own geocoding interface for Google!)
References: API docs for the status codes and address accuracy

Installing symfony on Dreamhost using PEAR

I tried to get all of the commands put down in this how-to, so that people of all skill levels could follow the instructions. Be sure to let me know if I missed any or something needs clarified. :) But as usual, use at your own risk, yadda, yadda.