twincityhacker: hands in an overcoat's pockets (Default)
twincityhacker ([personal profile] twincityhacker) wrote2004-11-22 06:25 am

Yeah, this weekend I slept. And I'm still tired.

Saw The Incedibles last night. The movie was good, though the service left a little somthing to be desired. Mostly because they They kept flashing the florestent lightes in the theater on and off before the credits had finished (Pixar has the best credits!).

And I finnaly figured out you have to put zeroes infront of the single digit numbers for the computer to correctly put things in numerical order.

[identity profile] ludditerobot.livejournal.com 2004-11-22 05:54 am (UTC)(link)
It depends on how you're doing the sort. If you roll your own, then you can correct for that, but adding zeroes is the easiest way. In perl, I find myself writing $var = sprintf "%04d" , $var ; over and over again.