Author Archives: Stephen

I’m just a simple hyperchicken from a backwood asteroid…

…but I don’t think ORM is very useful. I would say that for hacking together a very simple crud interface in rails/django/whatever its really nice. But in the end, if your app has a database you ought to be writing your own queries.
UPDATE: This is a great answer to this post.

Run-time Code Generation

I was speaking with my colleague Matt about refactoring Javascript. One of the most common “smells” in code, or at least in my code, is duplication. A really common one for me to see several event handlers or callback functions that all do the same thing, but in ever so slightly different cases. This came [...]

Timepicker on the YUI blog

I have a post up on the YUI blog. Check it out.

Automatically Erase Data from your iPhone

(This is in response to the rash of iphone thefts)
People like to steal iphones. Its a fact of life. For the most part they just want to sell the phone without your sim card or your data. However, if you are like me you keep a lot of stuff on your phone…a contact list of [...]

Learning Python

I’m taking the time to pick up python right now. So far I like it, very straightforward, has everything I want in a language. One of the things I do when I pick a new language is re-implement the very first program I wrote when learning how to program my calculator in High School. Its [...]