December 3, 2014: Brute Force solves a class of problems that can be represented as equations with integer solutions. The solution must be from a predefined set of integers. As restrictive as that sounds, there a many problems that qualify. It recently occurred to me that not everyone will be entering new puzzles to Brute Force, but might want to solve some of the 42 sample problems included with the downloads. Brute Force Version 3.3 no longer displays the solution parameters and equations when a problem is loaded. Try to solve it on your own first! A new button allows saved solution stuff to be displayed if you need help or just want to see how I solved the problem.
November 24, 2014: Our popular CutList program underwent a fairly major update a month or two ago. A minor bug caused zoomed cutting diagrams to display across multiple screens but without a scrollbar to allow access. CutList Version 4.02 posted today fixes the problem.
November 22, 2014: It's been a busy month here on the mountain. The 1st deer is in the freezer but, as usual, the smart ones quickly become nocturnal when the shooting starts so hunting becomes a matter of waiting for "dummy" to show up. We do have "mama and the twins" visit us daily to pick at the turkey corn or whatever apple peelings we throw out, but she's been visiting us for so many years that she is like a family member and strictly off limits. I just finished a big woodworking project as a Christmas present for a daughter (photo coming soon), and I'm restocking the wood pile to replace the extra wood used during the recent cold snap. It is nice to keep our living space between 74 and 78 degrees with the only cost being gas and oil for the chainsaws and wood splitter with the added advantage of getting some daily exercise.
With family coming for Thanksgiving next week, today's posting of our Word Stuff program with one bug fix and one enhancement will likely be the only DFF change this month. Both changes were triggered while using the program to help solve Mensa daily calendar puzzles. See Word Stuff #2 page for details.
KenKen is a Sudoku like game with a little math involved, cages instead of 3x3 blocks, and allowing numbers to be repeated within cages so long as no number appears more than once in a column or row.
While solving a new puzzle the other day, I found a couple of
irritating program "features" when the user has filled all cells but errors
exist. First, automatic checking to produce error messages for every
change until the errors were corrected was awkward and just a bad idea.
Second, when I tried to fool the program by entering spaces in all of the error
locations, I found that space character was not honored as a valid key,
Both of those mistakes are corrected today with the posting of
KenKen Version 2,1.
October 11, 2014: Here is a program posted in our Delphi Techniques section which tests list creation and retrieval speed for standard TStringList and for the DFF integer list equivalent, TIntList. Times and rates can be compared under multiple Delphi versions using the same source code. My conclusion from testing with Speed Tests for Lists is that integer lists are much preferred if possible when performance is important.
October 5, 2014: DFF Newsletter #74 was sent last night to 853 subscribers. The newsletter is issued quarterly summarizing website postings for the previous quarter and is mainly intended for those who like the website but don't visit regularly. It is motivated by my personal experience of losing track of many interesting websites that I like but don't need to visit daily or weekly. There were only 7 invalid email addresses this time so the list has pretty much settled down to our group of "permanent" subscribers.
Brute Force Version 3.2.1 was posted today to fix a small problem when the image from the previous problem still displays after a new problem is started or an existing problem without an associated image is opened.
October 1, 2014: A small update the other day created CutList Version 4.01 to help resolve a printing problem when saved manual solutions are reloaded without first loading the case definition file. The requirement still exists, but I hope it is now better diagnosed for the user.
September 30, 2014: Here's a puzzle from Marilyn Vos Savant in this week's edition of Parade magazine.
Marilyn says that the other side is also
good 2/3 of the time, but I wrote this simple Beginner's level program to
simulate a million trials to prove it to myself. You can find the
downloads of source and executable at the bottom of our
September 28, 2014: We're back from a two week visit to four of the six countries which make up the former country of Yugoslavia: Croatia, Slovenia, Montenegro and Bosnia-Herzegovina. Beautiful country with reasonable prices, an interesting but complicated history, and more tourist crowds (and rain) than one would expect in September. We're glad we went, but also glad to be home.
created Brute Force Version 3.2 today to
let it successfully solve this Sept. 26 puzzle from our Mensa Day-by-day
September 6, 2014:
A "Cut List" shows woodworkers how to cut a set of parts from a set of available
stock. This program creates a diagram showing the stock pieces and how the
required parts may be cut from them. The original program was posted
in 2003 and has been the most downloaded program on DFF for many years. It is a
bit complex so I have avoided making changes, but recently added support for
Unicode characters in project files names at a user's request. He says it
is working for him, so here is CutList Version
4.0 with the Unicode feature and a new feature which will display multiple
solutions, not just the one that the program thinks is the "best".
Program changes required the use of a much newer version of Delphi than my old
favorite, which may
have introduced undetected errors. As always, please use the feedback link
to report problems.
Here's a simple Beginner's level program I wrote this week in
response to a user's email asking how to remove lines shorter than 199
characters and truncate lines longer than 199 in a text file. The
CopyTruncateStrings uses about 15 lines of code to accomplish this and a few
more lines to display the counts. Lots of room for adding features, but
hopefully it does the job for him. The link above is to our "Beginner's"
webpage; scroll to the bottom to find and download the program if you are
August 15, 2014: Sometimes the "never give up" attitude is more curse than blessing. The current puzzle is an example. This recent Mensa calendar puzzle is the 2nd example of this puzzle type and prompted me to create Square Word Grids, Version 2.0. allowing puzzles to be manually entered. (The original puzzle was hard coded to produce the default puzzle.) Version 2 of the program also adds the ability to save and restore puzzles.
However integrating creation of puzzles with the original solving functions turned out be much harder than I anticipated. I fought with it all week and I'm still not happy with the result. The puzzles are not likely to be very popular and I'm ready to move on to other projects.
The "PuzzleFile.ini" file included with the downloads contains this
puzzle for loading and solving yourself or letting program find the
solution. To add to the disappointment, it turns out that there are no
solutions using words in the included medium size dictionary but two solutions
using the large dictionary! "C'est la vie", I guess.
July 29, 2014:
Expressions From Integers Version 2 adds an extended version of the original puzzle. This one has multiple completed input figures and a single target figure with one value missing. The strategy for this one is to find an single expression template which will evaluate to the number position containing the "?". The same value positions and operations applied in the same order for each figure must equal the value in the "?" position for that figure. The successful template when applied to the incomplete figure will provide the required value.
Another puzzle programming exercise from my favorite source: the
Mensa Puzzle-A-Day Calendar.
July 23, 2014: Feedback from the May posting of our Logic Solver program and an unsolved Geocaching problem led to Logic Version 5.4 posted today. Bug fixes include:
July 13, 2014:
StarsOnAGrid implements solving and allowing users to create, modify and solve puzzles of the type defined as follows::
Given a square N x N grid divided into N sections, place a star in each section with no two stars in the same column or row, and no two stars diagonally adjacent to each other.
The program allows grid sizes from 2x2 through 10x10, although no solutions
exist for sizes less than 5x5.
The What's New Archives
(Click to expand)
July 7, 2014: Note: this "Collapsible" month by month list of postings since year 2000 is not collapsing for some reason, making this a very large home page. Until it gets fixed, you can reference the complete quarter by quarter list of postings on the Newsletter page.
Copyright © 2000-2014 , Gary Darby
All rights reserved.