Geek Side Blog‎ > ‎Archives‎ > ‎2007-vftgs‎ > ‎

Bugfree code

posted Jul 24, 2011, 5:13 PM by Boyce Crownover   [ updated Jul 24, 2011, 5:14 PM ]
Monday, November 12, 2007, 07:41 PM
Posted by Administrator
Okay, so now my site is up for public review. It did not however get here as smoothly as I expected. First, I noticed that there were a lot of files not being uploaded and I've been using age controls so it turns out that many files have not been modified in a long time. I fixed that with find ./ -exec touch '{}' ';' and of course, now it had to upload every thing. That took me to the next step of setting an undocumented argument so that it could skip to the number of the file that it left off on. Finally, I finally had a timeout problem, and sure enough, it was not working correctly since I was not resetting the disconnected flag after reconnecting, essentially making a new connection for each file after a disconnect.

Now of course, it's bug free... this time. For those of you who don't recognize my phrase, it's what I now commonly use to indicate that while I've done my best to write a good program, I haven't tested it well enough to find out where the problems are, and there are always problems.
Comments