Jan 29
In the many nights of hanging out on the IRC channel for www.donationcoder.com, I have had the chance to learn a new quote that helps me to be more efficient at things, mostly programming. The quote is this: “Premature optimization is the root of all evil.” The whole quote is: “We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.” This is a wonderful quote that I try to follow anytime I’m coding.
I have known of this quote but never knew its origin, until tonight. Ewemoa, from DonationCoder.com, shared the quote with mouser who recommended it be shown to me. Thanks to both of them, I can now effectively quote its origin as well. Long story short, I wanted to include this quote, and the page that was referenced to me, on my website. Here is the link: http://shreevatsa.wordpress.com/2008/05/16/premature-optimization-is-the-root-of-all-evil/
Enjoy
Jan 26
So, I have been wanting to learn how to save data into a binary file so that I can load massive amounts of data extremely quick. I figured that the best way to go about this would be creating an example program that could do exactly that. So I started with this program originally to get binary reading and writing working correctly… The most confusing part at first was how to store the dynamic array of integers I was using. I didnt know whether or not we could write the whole block of memory into the binary file or if we had to read through each record and store it individually (which ended up being the case.) After a little playing around, I was able to figure out that this was an extremely easy task because I could set up the template for reading/writing. Continue Reading »
Jan 09
I have an abundance of files that have the same prefix ie 123.xx1, 123.xx2, 456.xx1, 456.xx2 ect that need to be sorted and then placed into a directory with the name of the prefix ie c:\123, c:\456.
I only need to define the location of the resulting directory that the files will be placed.

Features:
- Simple Drag and Drop interface to make life easier!
- Click Sort and watch as your files are sorted into folder’s according to their filenames!
- After File’s are sorted into folders, FileSorter cleans up after itself (deletes the now empty folders)!