-->

Tuesday, February 14, 2006

Flowers

Stardate 59021.4
Bit of a bug fix for the calendar code. Actually, it was in the function that builds the star date from the date. I have to manipuulate the day to get the filename, since for the most part I can't have a file with a dot and them a dot htm. So for 2/13/2006, it would take the 13 and divide by 10, store the integer value (1), then strip that off (0.3), multiply by 10 to get 3, then use PHP's sprintf to put all the pieces together to get the log file name, sd59021_3.htm. Unfortunately, if I did the same with 2/14/2006, sprintf says the .4 times 10 is reeealllyyy close to 3, so make it 3 (the floor() function, for anyone familiar with programming). The calendar then showed the log entry for the 13th on both the 13th and 14th. I went about splitting the day without doing the times ten step.

I ordered a dozen roses to be sent to April's work for Valentines today. FTD states on the site that they cannot guarentee a delivery time, and sure enough, they arrive after she left. Oh, well, it is the thought that counts. FTD also has some nice wine baskets, but Utah law says you cannot deliver alcoholic beverages, so that was a no go.

I watched "Sharpe's Company". I thought these were a BBC TV series, but each is about 90 minutes, so they are more like a full movie. It was good, except I had some trouble with accents. I added the rest of the movies to the queue. The weird thing is that I sent it back to Blockbuster, and the next movie in the queue is "Cool Runnings" with John Candy. They sent us "Corpse Bride", which was third on the list. Maybe the other movie was not available, but it usually says as much. "Alien vs. Predator" had a short wait status for a couple of weeks, and April put "The Best of American Idol" in the queue, and it has had the "short wait" status for the last couple of months.

I hope everyone has a happy Valentine's Day.

End of Entry

No comments: