Posted in 2010/03/04 ¬ 10:30h.Peter
This is a note to self and any others that may find themselves in a similar situation. Should you happen to one day start your computer, wait for your linux distro to boot up and then see the following message
swap: waiting for UUID=xxxxxxxx-xxxx-xxxx
without anything else happening, then don’t panic! At least not yet. Before you [...]
Read the rest of this entry »
Posted in 2010/02/26 ¬ 16:41h.Peter
After great holidays on the Canarian Islands I’m now back in front of the trusty computer. The trip was super, resulting in some much needed extra energy and motivation for … well, lots of things, really :) The first bigger thing I’ve done after coming back is moving plphp.dk from a server I have at [...]
Read the rest of this entry »
Posted in 2010/01/10 ¬ 21:00h.Peter
The next sorting algorithm in this series is the Merge Sort. Of the algorithms covered so far, this algorithm comes closest to the Shell Sort algorithm. The reason for this lies in how the comparisons are done in both algorithms: instead of working on the entire array, both the shell sort and the merge sort [...]
Read the rest of this entry »
Posted in 2010/01/07 ¬ 13:12h.Peter
1000 elements to sort.
Sanity check. PHP native sort() algorithm took: 0.002461 seconds. Memory used: 48264 bytes
Running SelectionSort sort. Algorithm took: 0.273260 seconds. Memory used: 48272 bytes
1000 elements to sort.Sanity check. PHP native sort() algorithm took: 0.002461 seconds. Memory used: 48264 bytesRunning SelectionSort sort. Algorithm took: 0.273260 seconds. Memory used: 48272 bytesNext in line of this [...]
Read the rest of this entry »
Posted in 2010/01/05 ¬ 13:26h.Peter
I’ve been looking for a while for a good, easy to use, easy to install, no fuss alarm clock. Just something I can set to go off in 10 minutes. Or at 2 o’clock. Or tomorrow. I haven’t found any apps that did that in a nice and easy fashion. I have found several that [...]
Read the rest of this entry »