programming

I don't know if JavaScript 2 (aka ECMAScript Edition 4) is going to be the Next Big Language, but it's certainly going to be a Next Big Language.

Steve Yegge, on the future of an underrated language.

snippet of the day: trim a string (the smart way) with php

i reworked the feed reading signature images i made a while back and added something to trim the strings to a decent length without breaking words. so here you go. a one-liner that'll trim a string to a decent length, and break it on whitespace:

if (strlen($blog_title) > 35) $blog_title =
array_shift(explode("|||", wordwrap($blog_title,
35, "|||"))) . "...";

feature creep == sleep deprivation

I worked on a project a while back that never quite solidified into a clear design plan or development goals. This was my first real experience with "feature creep," or the tendency of a project to increase in scope and requirements beyond those originally foreseen. In this case, we were making changes to the project requirements up to the day before the product was released. Feature creep delayed the release by several weeks. Feature creep cost me six consecutive nights of sleep.