April 9, 2015
Delphi For Fun Newsletter #76
After a few false starts, spring may have really arrived at last. The lawn is greening up, buds are swelling up and allergies are acting up. "Mama and the twins", our three regular deer visitors all winter, stare at the house accusingly if I am late putting out their winter daily corn ration, but it's part of the weaning process. Mama deer looks mighty fat around the middle and is increasingly leaving the yearling twins on their own as she gets ready for her new family.
As mentioned in our previous newsletter, I'm spending more time away from programming these days. Particularly, for the past month, I have 3 stalled projects that are getting maybe an hour a day on a rotating basis as the other two percolate in the shadows of my mind.
January 18, 2015:
Last month's update to our Brute Force program stopped automatically displaying the equations and parameters I used to solve each puzzle. It accidentally flagged the puzzle as changed when the button to display that information was clicked. As a result, when the puzzle was closed users were always asked if they wanted to save changes. Brute Force Version 3.4 corrects that problem. It also corrects a scaling problem which occurred in the "Change Title" dialogs for lower resolution screens. Finally, the program also now allows removing images associated with puzzles if no longer wanted. Formerly, they could be added or changed but not removed.
These problems were found when I was solving yesterday's Mensa Calendar puzzle displayed at right. It is included with the current downloads and, surprisingly, can be solved with only two equations!
February 2, 2015: Two small updates this week. If you already have these programs but haven't seen the problems fixed, it's probably not worth the time to download.
Logic Problem Solver V5.5 fixes a problem a user was having saving a new logic case. Making the automatic backup copy of the existing file with that name failed under some conditions.
The Unscramble V2.2, program, part of our Wordstuff collection, corrects range of maximum and minimum word lengths to find. It now keeps them within the valid range based on the length of the current scrambled word.
February 10: The RSA Key algorithm is well known to those involved with securely exchanging data electronically. I implemented my demo version because I wanted to see how it worked and "just for fun". RSA Public Key Demo V2.1 was posted today fixing a subtle bug which occasionally generated RSA keys so secure that the encrypted data could never be decrypted! I had never encountered the error myself, but a sharp user did and even provided a program to replicate the error.
February 15, 2015: Having survived Friday the 13th, I resurrected this Friday the 13th program to check for other occurrences this year and discovered that we have two more (in March and November). That's the maximum that can occur in a year and we won't see three in a year again until 2026, then 2037. It's an interesting mental exercise Cartier Replica Watch to understand why there are 11 year gaps going forward but only 6 years since the last occurrence when I first posted this program in in 2009. The program is also useful for finding occurrences of specific days and dates, e.g. when is the next time your birthday falls on your birth day?
February 18, 2015: Several years ago I was attracted to the problem of locating objects from sensors which could measure distance to a target but had no idea about its direction. Your GPS is an example of such a target which does the calculation by reading satellite signals containing timestamps allowing the device to calculate how far it is from each satellite. It takes 4 such satellite signals to determine a location using mathematics similar to those contained in my program, Point from 4 Sensors. A viewer recently reported an error in a sample sensor equation in the web page description, although the implementation in the program was correct. In the process of verifying (and correcting) the web page error, I cleaned up a couple problems with program displays caused by my use of text scaling on my monitor. Since I had the program open anyway, I fixed those and posted the update today as Version 5.1.
March 3, 2015:
This puzzle type requires the player to find the word for the missing row of a 3-row grid such that every column is a valid 3-letter word. WordGrid_3LetterWords Version 2.0 posted today reflects changes required to solve the 7 column Mensa Calendar puzzle for February 13, 2015 (shown at right). As usual when I revisit a program, a couple of additional enhancements are included.
March 8, 2015: Windows makes it's time zone information available to programs in a "TimeZoneInformation" record. Several years ago I wrote a program to illustrate how to access this information in Delphi, the namesake programming language for this site. TimeZoneDemo Version 2 corrects the Daylight Saving time start and end date displays from that record which requires an undocumented "trick" to display correctly. The system "Day of Month" value in these fields does not contain day of month but rather acts as a template defining which occurrence of the "Day of Week" value defines Daylight Savings starts and ends (1st Sunday, 3rd Wednesday, etc). The supplied values are now converted to the correct "Day of Month" in the program display.
Albert Einstein quotes
306,000 site visits and 302092 program downloads in the past 12 months!