Getting (and keeping) it together

May 3, 2009

I’m sure that a lot of people, as I do, use both desktop and laptop computers.  One of the things that is always a potential problem with this is that, without some kind of file management strategy, the version you want of the file you want is sometimes going to be on a machine other than the one you’re using.  There are a few different approaches to dealing with this:

  • You can identify “master” and “slave” machines for each type of data, and always update the slave from the master whenever possible.
  • You can use an on-line service (like to make your important files available on the Internet, and use only Web or IMAP mail services.
  • You can use a software tool (such as rsync(1) in Linux/Unix) to keep files on the different machines up to date.

The first approach is difficult to implement and stick with, unless perhaps you are a lot more organized than I am.  The second works, but has potential limitations on the amount and kind of data that can be stored; there may also be confidentiality issues with sensitive data.  The tools available for the third approach have, like rsync, historically been focused on the situation where one wants to distribute common information (e.g., software configurations) from a central point to a number of client machines.

For the last few months, I have been using a file synchronization program called Unison, which gets around many of these issues.  The program is open source, and licensed under the General Public License of the Free Software Foundation.   It has some features from version control systems, like Subversion or CVS, and some from software like rsync.  It keeps track of the state of files and updates within specified directory sub-tree(s) on one or more machines; it can automatically propagate unambiguous changes, and present potentially conflicting ones to the user to resolve, at that time or later.  Multiple profile (configuration) files can be set up for different synchronization jobs.

I’ve been using it for a few months now to synch files on my laptop and desktop machines, and it works like a charm.  It does require a little pre-planning to set things up for the easiest and best results.  There is one important caveat: you need to make sure you have the same version of Unison on all the machines you are using,

The program was developed by some folks at the University of Pennsylvania, comes with excellent documentation, and is available for Linux, Windows, and Mac OS/X at the Unison project site.  Ubuntu and many other Linux distributions have Unison packages already available through the usual package management mechanisms.

The next Ken Jennings ?

May 3, 2009

Many of you may remember that IBM’s Deep Blue supercomputer managed to beat Garry Kasparov in a chess match in 1997.   (Kasparov disputed the fairness of the match, and played the program to a draw in a later match.)

The New York Times recently carried a report that IBM is planning to take on a new “machine thinking” challenge: putting together software that can compete on the TV game show, Jeopardy!.  As a long-time fan of the show, I am most interested to see how this works out.  Of course the program has to have a large database of facts available, but it also has to be able to interpret the clues:

The way to deal with such problems, Dr. Ferrucci said, is to improve the program’s ability to understand the way “Jeopardy!” clues are offered. The complexity of the challenge is underscored by the subtlety involved in capturing the exact meaning of a spoken sentence. For example, the sentence “I never said she stole my money” can have seven different meanings depending on which word is stressed.

The planned test of the program, called Watson (after Thomas, not Dr. John H.), will have some elements similar to a Turing test:

Under the rules of the match that the company has negotiated with the “Jeopardy!” producers, the computer will not have to emulate all human qualities. It will receive questions as electronic text. The human contestants will both see the text of each question and hear it spoken by the show’s host, Alex Trebek.

According to the article, they are thinking of inviting Ken Jennings to participate.  It should be interesting.

Hello, world !

May 3, 2009

After thinking about this for far too long, I am finally taking the plunge, and starting this blog.  I hope that, at least occasionally, something here will make you smile or make you think, even if it’s just, “Man, that is one crazy dude.”

%d bloggers like this: