As I find myself moving away from PHP

No Comments
I find myself writing more C++ apps. There has been a very long time since I have written some major C++ apps. A long time ago I was heavy into Direct X game development and even had my first article published a long time ago (http://www.gamedev.net/reference/articles/article1309.asp). This is when COM interfaces were cool! So digging back ...

MongoDB deb package.

4 Comments
With some help from people @ #mongodb on irc.freenode.net I have built a MongoDB deb package. You can get it here: http://hash.anthonyw.net/mongodb/mongodb_1.3.1_i386.deb Edit, just got the x64 version done but haven't been able to test it: http://hash.anthonyw.net/mongodb/mongodb_1.3.1_amd64.deb

Quicksort.

No Comments
Here is a quick look at quick sort. // Pre: valid array // Post: returns an array sorted with the quick sort algorithm function quick_sort($values = array()) { if(count($values) $pivot) { $greater[] = $values[$j]; } else { $less[] = $values[$j]; } } return array_merge(quick_sort($less), array($pivot), quick_sort($greater)); }

Craigslist gems...

No Comments
As I was searching on Craigslist for a quick contract here or there to pay for my video game addictions and found some very angry people that made me laugh. I share:

An even quicker look at insertion sort.

No Comments
While I was on the ye old college try I went ahead and ripped the guts of bubble sort and inserted insertion sort. It is very similar to bubble sort: /* Author: Anthony Wlodarski Created On: 1/18/10 Insertion Sort Function */ // Pre: valid array // Post: returns an array sorted with the bubble sort algorithm ...