Archives for September 2011

September 2011 (2)
SMTWTFS
« Aug Oct »
123
45678910
11121314151617
18192021222324
252627282930

Like this Archive Calendar widget? Download it here.


360 degree panoramas with the iPhone

About a month ago (I was at the DevLink conference), I heard about an iPhone app called 360 Panorama that takes panoramic pictures. The way it does it is quite intuitive once you realize that it takes a series of pictures and then stitches them together in software to produce a single JPG. In essence, to use it you get a grid-like field of view that you fill with photos. In good light, you can let the program do its thing as you slowly sweep your field of view, holding the phone upright; there’s...

READ MORE

Stability in Insertion Sort

There are two types of sort algorithm: those that are stable and those that are not. Stable sorts maintain the order of items that are deemed equal, whereas unstable sorts make no such guarantees. So if we have a small set of unordered cards, and we’re sorting on pip value, ignoring suits, the following unordered list: 3♠ 2♣ 3♦ 2♥ 3♣ would be stable sorted as: 2♣ 2♥ 3♠ 3♦ 3♣ since the 2 of clubs appeared before the 2 of hearts in the original list, and the 3s are maintained in the original order...

READ MORE