-
A Word of Wisdom
Word of Wisdom: Never create an infinite loop which writes data to a file.
Reasons:
Within 5 seconds it fills up 30 MB of HD space...
Within a couple hours or less your entire HD will be full.
Yeah....i had a fun experience with that today...huge 30 MB files just by letting my program run for 5 seconds...totally by accident too. I was just trying to get a guy to ANIMATE walking!!!! Stupid DirectX....#&#%^%^....on the other side...i have accidentally created a small type of trojan/virus....wow....good thing i changed the code so it doesnt do that anymore...it could have given me some problems...heh heh.
-
Ouch. That happened to me before too.
-
never put pixel plotting into an infinite loop either, it quickly shut down the computer I was working on, playing with directx. (forgot to check for screen bounds)
I'm pretty sure I ran through all the video memory in no time.
Luckily it wasn't my computer.
he he.
-
There's loads more like this waiting for you to fall into. That is what makes a good programmer!
-
Words of Wisdom: mixing curry powder in milk is not a good idea.
-
*laughing* I pulled one of those the other day. It wrote a whole gigabyte in about 8 seconds. Woops.