Coffee and Code

The Life and Times of Jeff Woodman

Home >> 6,608 Ways to Abuse your PC

6,608 Ways to Abuse your PC

Posted: 12/12/2007 06:00 PM | permaLink

Tags: development humor asp.net

Wow, I've gone a whole month without posting anything to this blog. I am LAZY.

I'm currently well-caffeinated and happy, other than having to deal with some minor gastrointestinal misery for the past couple of days. Oh, our telephone line is on the blink (again). This tends to happen when we get a lot of snow; last winter we went through 5 or 6 days without a phone line. Oddly enough, my internet connection still works sometimes. Time to call the landlady!

So I've been [helping] a friend out with an ASP.Net knowledge base application for the past few days. A couple of nights ago I was working on a module that uploads Flash-format tutorials to the application. Anyway, at one point when I was testing the module, I did an upload and waited for the response.... After about 10 seconds I figured something was screwed up; No page was coming back and I had to Ctrl+Alt+Delete out of Firefox.

I fixed the problem that night, but didn't find out until the next day what had actually happened: due to some hasty coding and inadvertent recursion, my application had created 6,608 copies of an uploaded SWF, nearly filling up my hard drive...

I am a danger to myself and to my computer.