Home | Photography | Flickr | LiveJournal | Get Firefox

Archive for August 19th, 2003

PHP has set_error_handler(), trigger_error() and friends. But they aren't exactly up to par for handling massively abstracted code. So… how do you handle errors? Here's an example. It's overly complicated for something so simple, but… that's because it's merely a simple example.
Imagine you have a block of PHP code like this:
$res = add_two_numbers(15,27);
print $res;

Now let's [...]

Read the rest of this entry »

best. SPAM. ever.

I've just received one of the most amusing pieces of SPAM ever.
If you and your spouse can't wait to be apart, then this is for you!
At FREE DIVORCE we understand how expensive it can be to get a divorce,
but with our do-it-yourself divorce kit, we have taken away the time,
hassle and expense. It's fast [...]

Read the rest of this entry »

phish out of water

Mike Gordon, basist for Phish, was caught in a secluded area after a Dead show with a 9-year old girl. He wasn't caught doing anything "bad", per se, but he there's really no reason for him to be in a private area at 1am with a 9-year old girl that isn't a friend or a [...]

Read the rest of this entry »

lobster

My dad just called to invite me to have all-you-can-eat lobster with him and my mom this evening at 6:45pm. It's at a place called Le Port (which, in American, is pronounced "lee port"). Should be fun.

Read the rest of this entry »