Welcome to MSDN Blogs Sign in | Join | Help

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

Published Tuesday, August 03, 2004 1:19 PM by Calvin_Hsia

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Phone Number Word Games part 2 (by CalvinH)

Tuesday, August 03, 2004 4:33 PM by VS Data Team's WebLog

# re: Phone Number Challenge update

Tuesday, August 03, 2004 1:45 PM by Amit
Check out www.phonespell.org
:)

# re: Phone Number Challenge update

Thursday, September 02, 2004 12:18 AM by mangala kumarasinghe
i need

# What is an index anyway?

Wednesday, January 05, 2005 9:40 PM by Calvin Hsia's WebLog

# Windows SmartPhone can run my Web Apps

Thursday, March 02, 2006 7:29 PM by Calvin Hsia's WebLog
I took my family to Whistler for some great skiing. Because our cell phones didn’t work too reliably...

# Write your own hangman game

Monday, October 09, 2006 8:28 PM by Calvin Hsia's WebLog

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

# Use a dictionary to help create a mnemonic

Sunday, February 15, 2009 1:01 AM by Calvin Hsia's WebLog

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

# Unorthodox chopsticks

Saturday, February 28, 2009 4:50 AM by Calvin Hsia's WebLog

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

# Calvin Hsia s WebLog Phone Number Challenge update | Uniform Stores

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker