Home | Introduction | Newsletters | Programs | Feedback
|
|
January 30, 2014: I have been spending break time for the past week or so fixing an irritating problem introduced high screen resolutions. Delphi by default tries to rescale displayed text for different resolutions to keep it at about the same size as it was on the computer that compiled the program. The page also indentifies 9 programs reposted recently to improve readability.
Some controls automatically resize to accommodate text size changes. Those that don't may truncate text for high resolutions, Thos that do resize may expand controls enough that they no longer fit on the main form. January 27, 2014: A change at our host site prevented DFF site updates and taken me several days to recover site formatting. If you run across format errors or missing or erroneous links, please drop me a line using the feedback link. January 15, 2014: It didn't take long for a user to find a scaling bug in the MatchStick Puzzle for screen resolutions that don't match mine. It is always a problem when the program draws things (like match sticks) directly on the screen, especially when that fact slips the programmer's mind. I believe I have it fixed for most screens with today's posting. If not, let me know. January 12, 2014:
We're
back to the Mensa Page-A-Day calendar this year and the problems are much
more program-worthy than last year's puzzle calendar. Here's a
Matchstick Puzzle from the
January 2 page requiring you to "burn" segments of matches on a grid in
such a way that the number of burned segments in each column and row matches
given target values. The program makes it easier than pencil and paper
to burn and "unburn" match segments to solve the puzzle. January 6, 2014: We visited our son and family in Alabama for Christmas and spent some time playing games including Scrabble. I'm a fairly smart guy, but most males, including me, are genetically handicapped when it comes to language skills and the girls (wife and granddaughter) beat my son and me soundly. Their Scrabble set includes a large book with all valid words and a 3 minute timer. We used most of our 3 minute turns frantically trying to verify that potential words were actually in the book. That led to today's Scrabble Search helper program. Given a set of available letters and information about where they might connect to words on the board, the program will list legal words to choose from. As the author, I claim the right to use it during games with family and to extend usage to other males in the game. Now if the girls will only agree J. December 24, 2013: Here's wishing a Merry Christmas and Happy New Year to all !!! December 18, 2013: I'm trying to resolve outstanding questions before taking a holiday break. Today's involved generating large floating point numbers that someone wants to use as a source of random numbers. I'm not convinced he's on the right track but the effort was worthwhile because my test program revealed a problem introduced with the November update to our Big Integers unit. Big Float uses the Integers unit but is not compatible with the "Operator Overload" operators implemented on November 17. Changes were made to our BigFloatTest program and and a special Big Integers unit were posted today.
December 16, 2013:
The small How Many Cubes program answers (or verifies your answer) to the question:
"How many cubical
arrangements of the small cubes are embedded in this 4x4x4 cube?"
December 13, 2013: I had added a Delphi 7 - XE5 Differences page last month to document considerations, but neglected to announce its availability. I added items to the page today documenting the "Subrange Violation" error described yesterday and it's fix. Also some information the size differences between executable files created by the two compilers. XE5 files are several times larger than D7 files for no reason that I have been able to identify so far but I will be posting Delphi 7 executables whenever possible. December 12, 2013: A viewer recently asked if other click sound files could be used in our Metronome program. Metronome Version 2.1 posted today allows users to select up to 5 sound files of their choice by right clicking on an existing file and browsing for a replacement. Changes are remembered for future runs. For programmers: Metronome would not compile under Delphi XE5 because it uses the DFFUtils library unit which contains a number of utility routines. XE5 throws a "subrange violation" error in the LineNumberClicked function even though the parameter is valid. A workaround version has been included in the DFFLibV14 library zip file and reposted today. December 5, 2013: Thanksgiving, 2013 is history, the 1st deer is in the freezer, and the front deck has a full load of firewood in preparation for the major ice storm heading our way this weekend. I've filled the free time for the past couple of weeks educating myself about random number generators (RNGs) and how to test them. Thankfully, the result is the Chi-Squared RNG Testing program posted today. November 24, 2013: ComboTest Version 2.0, our combinatorial calculator; posted today has a minor, but significant, change to allow larger, 64-bit, sample sizes to be analyzed. The change was motivated by request from a college professor simulating a draw of 5 items from a set of 500 values with replacement. There are more that 285 billion ways to do this. The built in Random function in Delphi tops out around 4 billion so I implemented a 64 bit Random Number Generator to allow generating random samples from the 285 billion possibilities. Changes to several DFF library programs were required to implement this. November 17, 2013: BigIntsTest V2.2 and UBigIntsV4 posted today include the first significant use of features not available in Delphi 7. "Operator overloads" allow us to write arithmetic and comparison operations for big integers much the same as we write for normal integers. The best news is that both old and new versions are supported in single source code images for the unit and the test program. November 10, 2013: I purchased my XE5 upgrade last week so the learning curve is taking an upward turn. Two postings this week implement the first updates. Testing Delphi Versions now includes the conditional Version names through XE5 and suggests and even better way to automatically change the source code based on compiler version. (Hint: it uses the global constant "computerversion".) BigIntsTest V2.1 is the big integers test program I was working on to display the internal representation of digits of large integers at the request of a user trying to understand how it works. The download includes a new version the big integers unit which should compile successfully for any Delphi versions after Delphi 5. November 2, 2013: I received three emails in October which have led me to consider upgrading from Delphi 7 to the current version, Delphi XE5. See 2013 Delphi Upgrade Plans for details.
October 22, 2013: Many have worked on those Logic Puzzles
whose goal is to determine "who sold
what for how much", or "who rode which ride and won what kind of toy".
Solutions are based on
clues and usually include diagonal grids containing true/false sub-grids to enter
help match items across categories. Here's a Logic Grid Print
program which allows the user to print multiple copies of such grids after
entering "Categories" (Names, Rides, Prizes, etc.) and the "Items" within
those categories (Joe, Roy, Sam, etc.). Now you can preserve
those grids in the puzzle magazine for others' use, or create grids for puzzles
which do not include them, or try multiple search paths where a "guess" may be
required to find the solution.
Drop me a line if you would like the text and clues
for this sample puzzle. Have fun!
October 14, 2013: Our ReactionTimes programs measure human response times to various stimuli and save experimental results for further statistical analysis. Changes were implemented today to better handle analysis of results for countries which use comma as a decimal separator in floating point numbers (Europe and others) instead of the decimal point used in North America. ReactionTimes V4.2 and ReactionStats V3.2. should now generate and process response summary files correctly.
The What's New Archives2013
2012 2011 2010 2008 2007 2006 2005 2004 2003 2002 2001 2000 |
|