Whoops!

Software development is a process. One thing about a process is that it offers an endless series of opportunities to screw up. So today as I was going over my server logs I noticed an inordinate amount of traffic coming from the Nappy notifier widget. Way too much, unless hundreds of people had purchased it in the twelve hours since I launched it. A quick check of my paypal account confirmed my suspicions - a bug in the program, not a flood of customers.

And lucky for them, too!

Here’s what I learned: when you set a “timeout” in Javascript, you create a timeout object by passing in a string. But to destroy it (that is, to get it to stop repetitively calling the same update server every few seconds) you call clearTimeout() on the object. This makes sense once you think about it.

The widget is updated on the server now … any of the handful of you who downloaded it last night, you might want to grab the latest version.

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: