Tonight: Busy, Busy, Busy
Morning weigh-in: 178#, 11.5% body fat
It was rainy last night, so I blew off riding & worked a little late, then played with the computer. Two miles running this morning, easy pace.
Computer: I started playing with Perl again, turning the little program, that I copied from Learning Perl, into a more useful tool. The program basically takes a bunch of files and renames them -- say, all the "*.new" files into "original_filename.old". This isn't too hard; the code snippet they provide uses regular expressions and string substitution on the filenames. Their example is hardcoded though, so you have to rewrite it for every new use; what I did was set it up to take the "old" and "new" patterns, and the files to change, from the invocation arguments. My next step I think is to add some switches to control behavior (more or less verbose output, confirm filename changes or not, copy rather than rename), plus more effective error handling.
In other news, I think I just need to get some kernel modules and I'll be able to get sound again. I still can't get the mouse wheel to work, messing constantly with XF86Config but no dice. Maybe I'll just buy a new mouse; the mouse I have is some cheap Chinese no-name brand, and that may be the cause of the problem.
Tonight I have to burn two CDs: one of my vacation photos for the parents, and one of my Mike photos for Joann. I will probably stop by her house & drop it off tomorrow. It'll be nice to see her, but I'm still not looking forward to this visit.
Bike: rear tire had a slow leak so I replaced the tube last night, which is when I noticed that the brake pads are pretty worn & need replacing. That plus generic Michaux prepping is tonight.
No comments:
Post a Comment