Note to self: Don't fuss with programming before bed.
Last night, I dreamt up a new sorting algorithm that's O(1). It was called a "Professor Sort" and it used a void shift (or something) in which all it needed to do was compare one item and the list was sorted. The algorithm was developed for some program that was being used by the Daleks in some fiendish plot to exterminate damn near everything but themselves.
If I dreamt in code, I'd be a genius. But the only code I dream in is Wiki markup and the dream was vague.
Posted on: February 15, 2009, 02:54:28 AM
Had a strangely-cohesive plotline for a naptime dream earlier.
I dreamt that my brother and I decided to take his crappy Plymouth Reliant K out for a joyride, something he'll never do due to the car being crappy. We sped down Route 30 between McKnightstown and Gettysburg, ramping off of snowdrifts, driving through parkinglots to ramp off of speedbumps, and anything else that would be hell on the suspension. About a half-mile outside of Gettysburg, I notice something hovering above General Lee's Headquarters (resturant, hotel, and brewery, right on the edge of town). I tell my brother about it, and he says he'll drive up to get a closer look.
The traffic gets just god-awful as we drive into town. Cars are stopped in the middle of the road and people are running from 'em. Behind us, above General Lee's, caught in searchlights, was a flying saucer. My brother gets out to look, I get out to look, then we both run back to the car, realizing some crazed person might steal it and make a getaway, and meet some red-head girl with glasses named "Trina." She gets us up to speed on what's going on: something has invaded Gettysburg.
Meanwhile, on a rooftop, a Dalek patrol squad are conversing with each other, the Dalek Supreme (via comm unit), and surrounding this big mobile weapon station-thing. The Dalek Supreme tells the commanding Dalek to deploy the weapon. The commanding Dalek, who apparently has a speech impediment, stutters and is hesitant to do so, but finally obeys under penalty of extermination.
Down towards the square in Gettysburg, another squad unleashes a patrol of Special Weapons Daleks on the populace. My brother, Trina, and I try to get the car turned around and attempt escape. 'Cept I wake up to my dog going nuts.
Perhaps I should take a looooong break from listening to Dalek Empire IV...