Russell (zimzat) wrote,
Russell
zimzat

  • Mood:
  • Music:

Good News / Bad News / Other News

The good news is that I remember how to drive a car. It was just a steadily dying battery that finally couldn't hold enough charge to get it started.

The bad news is that I'm being lazy despite my burst of productivity. I think it was that the heating blanket I just put on the bed had a cracked control/power hookup, so it has to go back.

In other news, I love programming. It can be very formal and precise, or just completely crazy. Like this:
echo 'T-', floor(($x = strtotime('2009-12-18 18:05:00') - time()) / ($y = 24*60*60)), 'd', str_pad(floor(($z = $x % $y) / 60 / 60), 2, '0', STR_PAD_LEFT), 'h', str_pad(floor($z / 60 % 60), 2, '0', STR_PAD_LEFT), 'm', str_pad($z % 60, 2, '0', STR_PAD_LEFT), 's';

T-8d21h03m38s


heheheheh
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments