This reminds me of an awesome site my friend Ben Howdle built called moviesascode. Users would contribute tiny code snippets that summarised a whole movie. As an example:<p>.titanic{
float:none;
}<p>Unfortunately he lost the site when he switched hosts, I've been badgering him for years to restart it.
Hmm, I agree with Rick on this one:<p><pre><code> Rick: Boy, you're really gonna flip your lid over this one.
Morty: Oh, w-wh... what is it?
Rick: It's a device, Morty, that when you put it in your ear, you can enter people's dreams, Morty. It's just like that movie you keep crowing about!
Morty: You're talking about Inception?
Rick: That's right, Morty! This is gonna be a lot like that, except y'know, it's gonna me-beh... make sense.
Morty: Inception made sense!
Rick: You don't have to try and impress me, Morty!
</code></pre>
and<p><pre><code> Rick: "It's been six hours. Dreams move one one-hundredth the speed of reality, and dog time is one-seventh human time. So, you know, every day here is like a minute. It's like Inception, Morty, so if it's confusing and stupid, then so is everyone's favorite movie."
</code></pre>
I still bugs me that they float in one layer because the fall in another (or the other way around) then one layer deeper this is not a problem at all. It seems so arbitrary. Like they based in on a novel but ignored all the parts where they actually put in an effort to help you suspend your disbelieve.
While we're here, can someone explain how a "dream within a dream" works in Inception ? Presumably someone has to "fall asleep" inside their (or someone else's) dream and go into a dream state again on another level so to speak. The only way I can see the brain implementing that is to dream of its own state so completely that it can run itself as a virtual machine, and fall asleep inside that VM. I haven't read the code, but I doubt the C implementation includes a VM that can run inside itself, Smalltalk-style.
I briefly glanced at the code and was expecting a game like clock to emulate the time dilation that the dream within a dream caused.<p>I can't remember in the movie what was the deepest dream possible but you could pick a large base ticker value in case whatever you decide as the lowest dream is not (I remember the movie leaving that as an open question).
Hmm, something's broken on x64 OS X (10.11), in the last line:<p>> [Fischer] exiting back to reality from level [1] with the THOUGHT:<p>> Illegal instruction: 4