Friday, August 14, 2009
June beetles
Wikipedia says "Junebug is a common nickname for men who are juniors born in the southern United States." I don't think I've ever met anyone nicknamed "Junebug". Maybe it's a local thing.
Monday, August 10, 2009
I'm back
(Another memorable thing about that trip to the beach was that 50 miles into the trip my right front disc caliper seized up with the brake ON. I was in the middle of nowhere, so I drove the next 100 miles with the brake on. I had 220 horses and 4-wheel drive - one locked up brake had zero chance of stopping me. But when I got to the beach and found an auto shop, that wheel was smoking hot, and I mean that literally.)
There's something about August. I recall driving
into Helena, Montana, one sunny August day. The air was hot and the sun was blistering. I remember thinking, "this is the hottest place I've ever been", and maybe it was. I've never been to Death Valley, but if it's hotter than central Virgina in August, then no thank you.Tuesday, July 7, 2009
Seeing The Space Station
The last time I saw it, I was living in Roanoke. I had left my apartment and was walking to my car and just happened to look up. Like just now, the ISS was high in the sky. Unlike just now, there were two points of light traversing the sky, one following the other. The trailing point of light was sunlight reflecting off the Space Shuttle, which was in the process of docking with the ISS. Or maybe it was undocking. I watched them until the earth eclipsed their sun and they suddenly switched off; first the ISS blinked out, then the shuttle blinked out.
I didn't get up early to see the ISS fly over. Rather, I haven't gone to bed tonight. Or, I didn't go to bed last night. Is tonight already last night at 5:30 AM? Yeah, tonight is in the future over 12 hours away.
It's strange to see the Space Station go overhead. Moving so fast, so quietly. Knowing there are people up there riding on that point of light in the sky. Knowing that in about 90 minutes they'll be up there again in the very same spot - relative to planet Earth, that is. I certainly won't be in the same spot to see them again. Earth's rotation is carrying me eastward at 1000 miles per hour. When the shuttle is again directly above the spot I was in at 5:07, I'll be about 1500 miles to the east.
The ISS is not a spectacle, but it's definitely worth seeing.
Sunday, July 5, 2009
RxReminder
I also upgraded the program icon. The old icon looked like this:

That design has evolved and now it looks like this:
The to-do list is getting short. The main thing I have to do now is add error-handling code in critical spots.
Stay tuned.
Friday, June 26, 2009
VirtualBox and Windows 7
I'm writing this from a Windows 7 computer. It's running on Sun's VirtualBox, a free, open-source virtualization product that is installed on my Vista box. I can put Vbox into fullscreen mode, and then there's no hint that it's running on a virtual box. It looks and feels like you have a pc with Win7 installed. Or... I can put Vbox into seamless mode, and then I'm back at my Vista desktop, but I can still run Win7 apps and they appear on my desktop as if they were Vista apps. Pretty cool.
I tried using the Microsoft Virtual PC 2007, and it did work, but I think the Sun product works better, and it definitely gives me access to more of the physical machine's resources. Sun's Vbox required me to go into the BIOS and enable the iVT setting (Intel Virtualization Technology®) before I could successfully install Vbox. Windows 7 is a free download from Microsoft until August 2009. It expires in July 2010, but until then it's a free preview of Microsoft's next OS.
I just tried to upload a screenshot - and totally forgot that the pictures are on my "real" computer. That's how good the illusion is. I'll publish what I have and switch back to the real computer where my photos are located. (Back in Vista now.) This is my Windows 7 desktop before I began installing applications. (Click image to enlarge.)
(Back in Windows 7.) Now, check this out. I wanted to post a picture of the Windows 7 desktop in fullscreen mode. So I went back to Windows 7, put it in fullscreen mode, hit "Print Scrn", opened Paint, hit Ctrl-V, saved the image to my Win7 pictures folder, started up Firefox and now I'm writing from Win7 again. Here's the desktop in fullscreen mode. (You'll notice I've added a few icons to the desktop.) Notice, also, the desktop is no longer in a "box" as in the above photo. There's no way to know that this Windows 7 desktop is really just a process running on a Vista machine.

Thursday, June 25, 2009
Dog Zoe
Wednesday, June 24, 2009
Dog Zack
I don't have a picture of Zoe; however, through the magic of Photoshop
(actually, Paintshop) the picture below represents my impression of Zoe when I got a little too close to her. I imagine this is the last thing you would see as Zoe lunges for your jugular and bites your head clean off.Carey, her owner, says she's going to train Zoe not to do that.
Windows 7
I downloaded Windows 7 RC (release candidate). The only pc I have with enough horsepower to run Windows 7 is my home pc with Vista Home Premium. I certainly don't want to upgrade my Vista system to a release candidate of unknown stability that will expire next year, and making a dual-boot system offers ample opportunity to screw up my computer (recall Murphy's law: If anything can go wrong, it will go wrong.).
I decided to install Windows 7 on a Virtual Machine. I would have liked to use VMWare Workstation, but that costs $189. Microsoft Virtual Machine 2007 is free, and I already have it installed on my pc. I use it to test software in a Windows XP environment. So I created a new virtual machine and started the Windows 7 installation. Even though I have a 64 bit computer, I had to install the 32 bit version of Windows 7. The Microsoft Virtual PC program apparently can't handle 64 bit code, but that's a minor detail.
(Time passes...)
It's done. The installation went quite smoothly and took about 20 minutes, then came the setup (account name, time zone, product key, etc.) which took about 5 minutes.
Here is a screenshot of the Windows 7 default desktop after a clean install. This is the default desktop background - Windows 7 comes equipped with a number of images from which you can choose your desktop background.
(More time passes...)
At this point I am writing this blog from the new Windows 7 machine in full screen mode. I had to reboot my computer before I was able to install VMAdditions. I probably only needed to reboot Windows 7, but rebooting the host covers all the bases. If you install VPC you will definitely want the VMAdditions. And, when I tested a program I had written primarily for Vista, it didn't function properly until I rebooted.
Here's the desktop background photo I decided to use - for a while, anyway.
Tuesday, June 23, 2009
RxReminder tested again / Zack and Zoe
New task scheduler interface runs aground
I entered med Alerts for 8 AM and 8 PM. Here's what the revised scheduler should have done. At 12 midnight, the computer should awaken and run RxReminder. RxReminder would have looked for the first Alert time (8 AM) and put it into the scheduler. Actually, there is a factor called WakeAnticipate: a lead time subtracted from the wakeup time to allow the system time to wake up; the default is one minute. RxReminder should therefore schedule itself to run at 7:59 AM. I checked the computer shortly after 10 AM. I was hoping to see a red X on the reminder's status, indicating the Alert was issued but there was no response. Instead, I saw a question mark, meaning the Alert was not issued. This was disappointing and puzzling.
I looked at the program's log file, and this excerpt was very interesting:
Stopped : 11:26 PM, Monday, June 22, 2009
Started : 12:00 AM, Tuesday, June 23, 2009
Resuming: 12:00 AM, Tuesday, June 23, 2009
Stopped : 12:00 AM, Tuesday, June 23, 2009
Started : 12:00 AM, Tuesday, June 23, 2009
Stopped : 12:00 AM, Tuesday, June 23, 2009
Started : 8:00 AM, Tuesday, June 23, 2009
Resuming: 10:10 AM, Tuesday, June 23, 2009
I stopped the program at 11:26 PM; I wanted a full test of the scheduler, meaning that the program should start itself. At 12 AM it did. Here, something strange happened. The program shut down (not logged), resumed, stopped, started, and stopped again, all at 12 AM. It apparently did schedule the 8 AM Alert, but it should have awakened at 7:59 AM. Instead, it awakened at 8 AM. The Alert is issued at the moment when 7:59 AM changes to 8 AM


