Phone Number Challenge update


I’m back from a month sabbatical/paternity leave.


 


Due to popular demand, here’s an update of the phone number problem, with a web site from which you can try the algorithm



A while ago, I posted a blog about a sort of informal programming contest at Microsoft.

The idea was to write a program that finds phrases that represent a given phone number, like 642-394-6369 is NiceWinFox using a normal touch tone phone keypad (ABC = 2, DEF =3,etc.)

It turns out my submission was the first entry, and the contest moderator was quite impressed that it was written in VFP.

Just after, I wrote a more efficient version of the algorithm and wrote a VFP PRG to host it on a web site. I thought I’d share the algorithm and code.

At the time I used an internal Microsoft only web site because my web server was too old to handle a lot of traffic.

I’ve since bought a new machine, so my old machine is now my web server, and so I thought I’d share the phone number program on my public site. The site is run by a Visual FoxPro DLL

You can type in a phone number or English word and see the results. The source code is also on the site.

Keep in mind that this algorithm is computationally intensive.


 


18570

Comments (9)

  1. I took my family to Whistler for some great skiing. Because our cell phones didn’t work too reliably…

  2. Many years ago (1985) I wrote a C program to play Hangman. I had decoded a word processor spelling dictionary

  3. I was using a program that was yet another TLA and I wanted to create a mnemonic to help me remember

  4. Several years ago, my wife and I were walking through a local shopping mall. At the time, there was some