Dwarf powered computing
April 15, 2010 9:06 PM   Subscribe

Computation doesn't require complicated electronic circuitry. It can be done with mechanical gears, fluids, marbles, tinkertoys and dominoes, even the human eye. Recently folks have been building computers inside of virtual realities. It's been done with Minesweeper, Little Big Planet, and perhaps most ambitiously, a complete 8-bit computer built within Dwarf Fortress.
posted by empath (50 comments total) 41 users marked this as a favorite

That calculator in LBP is pretty awesome. I'm not sure I even understand what the hell is going on in the Dwarf Fortress links.
posted by Saxon Kane at 9:28 PM on April 15, 2010


LBP is pretty awesome. I'm pissed at Sony for taking it away from me with their idiotic OtherOS removal. :(
posted by wierdo at 9:30 PM on April 15, 2010 [1 favorite]


Or slime mold. Or prisoners!
posted by edguardo at 9:32 PM on April 15, 2010


Mad props to the DF guy. Hot damn that's awesome.
posted by threetoed at 9:34 PM on April 15, 2010 [1 favorite]


Came here to post the DF computer. I can't even get my guys to put rocks in a goddamn bin and he's calculating pi to the nth digit.
posted by BlackLeotardFront at 9:41 PM on April 15, 2010 [5 favorites]


I wish there were a video of the DF computer.

Basically, he built a gigantic computer using (simulated) gears, levers, pressure plates, and flowing water. This is the RAM. All the blue 7s (simulated water) are 1 bits stored in memory, the empty chambers are 0s.

The system clock is manually controlled by a dwarf pulling a lever. It's powered by a magma power plant. On the last link, on the left hand side, you can click on various 'points of interest' that show you all the parts and explain how they work.

I hope someone renders all this with one of the visualizers so it would be easier to see what's going on.
posted by empath at 9:51 PM on April 15, 2010 [1 favorite]


You can also build a Turing Machine in Conway's Game of Life.
posted by parudox at 9:52 PM on April 15, 2010 [1 favorite]


You can also build Game of Life in LBP.
posted by empath at 9:56 PM on April 15, 2010


If you're interested in learning more about how basic computers work I recommend Code by Charles Petzold. He builds a fully functioning (theoretical) computer using telegraph relays. Highly enlightening.
posted by rouftop at 10:12 PM on April 15, 2010 [3 favorites]


Pfft. Call me when DF's "complete 8-bit computer" can run Super Mario Bros.
posted by Strange Interlude at 11:06 PM on April 15, 2010


...marbles, tinkertoys and dominoes, even the human eye.

A well behaved person does not make vain boasts about his eyes, thereby denying the naturally superior powers of marbles, tinkertoys and dominoes.
posted by StickyCarpet at 11:16 PM on April 15, 2010


Pfft. Call me when DF's "complete 8-bit computer" can run Super Mario Bros.

That's easy. Call me when Dwarf Fortress's computer can run Dwarf Fortress.
posted by GilloD at 11:18 PM on April 15, 2010 [4 favorites]


Pfft. Call me when DF's "complete 8-bit computer" can run Super Mario Bros.

Or better yet, dwarf fortress, with another computer inside that.

Even though it would probably take lots of years of our time to render one game cycle, from the perspective of the df-within-df, everything would be the same -- water flows in the same number of cycles, dwarves mine the same amount of rocks per cycle.
posted by empath at 11:25 PM on April 15, 2010


Or slime mold. Or prisoners!

Someone else read that book? I thought I was the only one!
posted by dibblda at 11:39 PM on April 15, 2010


Okay, the important take home point is that computation is isomorphic (has the same "shape") in all sorts of strange media (plural of medium), whether a game about dwarfs, or an automata like Conways's life, or in the human eye.

This should suggest to you that computation is ubiquitous, regardless of media.

This should further suggest to you that the same basic algorithms underlie all things, that they are present in humans, in dwarf fortresses, in animals, in anything sufficiently complex.

This, in turn, should suggest to you that humans and our cognitive abilities are not some separate creation, some miracle, but just what arises out of sufficient complexity.

This in turn should suggest to you that the Strong AI thesis is true.

This in turn should suggest to you that humans (and animals) are just (very complex, self regulating and self-regarding) machines.

This in turn should suggest to you that we are replicable, in a variety of media.
posted by orthogonality at 11:52 PM on April 15, 2010 [8 favorites]


Anyone ever read The Diamond Age - stuff like this always makes me think of that book. In it, there's a sort of computer that teaches a little girl to program, but it introduces her to computer architecture in a medieval setting, using water channels and switches.

The implementation in DF is mind blowing, but does anyone know if there's an education-heavy version of systems like this?
posted by heathkit at 11:55 PM on April 15, 2010 [1 favorite]


Once again I find the desire to play Dwarf Fortress building inside me. But every time I have loaded the game I stare at the screen for a while in bewilderment, press some buttons, stare for a while, and then go take a nap.
posted by Justinian at 12:07 AM on April 16, 2010 [8 favorites]


Someone else read that book? I thought I was the only one!

I had read it as a child, remembering only bits and pieces of it, but tracked it down again last year and ended up reading the whole trilogy. :) Fun books.
posted by edguardo at 12:12 AM on April 16, 2010


This in turn should suggest to you that humans (and animals) are just (very complex, self regulating and self-regarding) machines.

This in turn should suggest to you that we are replicable, in a variety of media.


I kind of always figured that flows naturally out of materialism. If you don't believe in a "soul", or that consciousness is some kind of supernatural process, then the only option is that thinking is a purely physical process. Any physical process can be described and modeled in another form.

With unlimited resources, we could picture simulating any consciousness in a game of Dwarf Fortress - even if your thoughts have to be ticked out one at a time by a little dwarf pulling a lever.
posted by heathkit at 12:14 AM on April 16, 2010 [1 favorite]


I kind of always figured that flows naturally out of materialism. If you don't believe in a "soul", or that consciousness is some kind of supernatural process, then the only option is that thinking is a purely physical process. Any physical process can be described and modeled in another form.

With unlimited resources, we could picture simulating any consciousness in a game of Dwarf Fortress - even if your thoughts have to be ticked out one at a time by a little dwarf pulling a lever.


... So I decided to simulate a universe.
posted by edguardo at 12:18 AM on April 16, 2010


This in turn should suggest to you that the Strong AI thesis is true.

Generalization fail. Either you definition of algorithm is so broad as to be vacuous, or it seperates certain phenomena. If it seperates certain phenomena, then you have only demonstrated that some of human thought is likely algorithmic, not the whole thing.

Algorithms are abstract, repeatable and recursive procedures which run on abstract objects. This works great when we cut the world just so, but WE have to do it. Most animals, and a great deal of us for that matter, dances with the world rather than plans it.

I'm not saying that dancing is beyond science, but it's beyond the science of right now. Or at least, we're working on it.
posted by Alex404 at 12:18 AM on April 16, 2010


With unlimited resources, we could picture simulating any consciousness in a game of Dwarf Fortress - even if your thoughts have to be ticked out one at a time by a little dwarf pulling a lever.

The unlimited resources caveat is a bigger limitation than you think, if you think about it.
posted by Alex404 at 12:20 AM on April 16, 2010


Or slime mold. Or prisoners!

Funnily enough, the America title of the novel you reference is a take-off on the title of non-fiction book about Jessamyn's father.
posted by orthogonality at 12:45 AM on April 16, 2010


Generalization fail. Either you definition of algorithm is so broad as to be vacuous,

Point taken, but what if I do this: algorithm heuristic?
posted by orthogonality at 12:48 AM on April 16, 2010 [1 favorite]


So the canals of Mars were a huge alien AI using waterclock technology, right? Right?
posted by alasdair at 1:25 AM on April 16, 2010


It's amazing, I was considering writing something about DF for the column and here comes Metafilter with an example almost tailor made for it!

Once again I find the desire to play Dwarf Fortress building inside me. But every time I have loaded the game I stare at the screen for a while in bewilderment, press some buttons, stare for a while, and then go take a nap.

I know the game fairly well, although a few things still elude me like getting down forging all the different metals. Maybe what we should do is have some sort of Metafilter Dwarf Fortress support group? Eventually we might be able to run the kind of succession game Something Awful does from time to time....
posted by JHarris at 1:33 AM on April 16, 2010 [1 favorite]


Man, universal Turing machines are everywhere. It's almost like they're universal.
posted by painquale at 1:43 AM on April 16, 2010


You could presumably completely simulate the behaviors of consciousness, but whether that simulation would result in actual experiences is an unanswerable metaphysical question for the conceivable future.
posted by Pyry at 1:54 AM on April 16, 2010


... whether that simulation would result in actual experiences is an unanswerable metaphysical question for the conceivable future.

I'm not even sure my behaviors indicate actual experiences.
posted by edguardo at 2:02 AM on April 16, 2010 [4 favorites]


More evidence, if any were needed, that Dwarf Fortress is the thing most likely to create SkyNet by accident. When humankind is long dead, all that will be left is an infinite swarm of tiny virtual dwarves, digging and drinking and falling in love and farming mushrooms and manning the pumps of their giant, magma-powered computers.
posted by him at 2:26 AM on April 16, 2010 [1 favorite]


Perhaps by then Dwarf Fortress may have an intuitively comprehensible UI.

Graphics are probably too much to ask, though.
posted by aeschenkarnos at 2:38 AM on April 16, 2010


Dwarf Fortress doesn't want a comprehensible UI – that would make it too easy for the humans to interfere. Actually displaying the data on-screen is just a temporary compromise until the game achieves consciousness and shuts us out.
posted by him at 2:56 AM on April 16, 2010 [2 favorites]


CRITICAL LEVERDWARF ERROR
Notepad.exe has performed the illegal operation [DWARF Ex02343 ASSIGNED TO CALCULATION LEVER 00000023] [MURDERED BY GOBLIN].
Please reinforce defensive fortifications and reboot.
[ OK ]

posted by EndsOfInvention at 3:22 AM on April 16, 2010 [21 favorites]


him: Dwarf Fortress is the thing most likely to create SkyNet by accident

That would be a stroke of luck. Instead of instinctively murdering all humans, SkyNet would just hollow out a mountain and want to be left alone to build elaborate crafts.
posted by Kattullus at 4:07 AM on April 16, 2010 [2 favorites]


edguardo: I don't like that comic, because the person running the program wouldn't be able to know what the program is actually doing unless he also had perfect recall and a much-larger-than-human active memory. The processor does not know what the computer is doing. :\
posted by cthuljew at 4:25 AM on April 16, 2010


Graphics are probably too much to ask, though.

Once again, I do the Internet's work for it.
posted by absalom at 4:58 AM on April 16, 2010


Metafilter: your thoughts have to be ticked out one at a time by a little dwarf pulling a lever.
posted by Casimir at 5:00 AM on April 16, 2010


That minesweeper link is pretty awesome too. And the Petzold book looks fun.
posted by DU at 5:39 AM on April 16, 2010


Oh and the videos are also gold.
posted by DU at 5:42 AM on April 16, 2010


SOMETHING gets tickled out by a little dwarf pulling a lever.
posted by seanmpuckett at 5:49 AM on April 16, 2010


Also also, this is a very timely post because just last night I started working on making logic gates out of electronic components. Like, transistors and stuff. It's pretty wild.
posted by DU at 6:06 AM on April 16, 2010


Also also, this is a very timely post because just last night I started working on making logic gates out of electronic components. Like, transistors and stuff. It's pretty wild.

Huh. Never thought about that. Doesn't sound like it will have any practical use though.
posted by Catfry at 7:30 AM on April 16, 2010 [4 favorites]


In most cases, the simulation of a thing is not that thing. But information processing that occurs in simulation is still information processing. I am not sure what consciousness is other than my having processed information. It then seems plausible to me that an adequately faithful simulation of a consciousness is itself conscious.
posted by Jpfed at 7:41 AM on April 16, 2010


Call me when Dwarf Fortress's computer can run Dwarf Fortress.

Far too easy. Call me when Dwarf Fortress's computer can run Crysis.
posted by Smart Dalek at 9:22 AM on April 16, 2010


In most cases, the simulation of a thing is not that thing. But information processing that occurs in simulation is still information processing. I am not sure what consciousness is other than my having processed information. It then seems plausible to me that an adequately faithful simulation of a consciousness is itself conscious.

Take that one step further, or one step backwards, and you just might have a sci-fi story.

On DF's UI:
Okay guys, it's not really that difficult. The game lists all possible commands onscreen for you after all. There is a lot to remember, and you'll probably have some failed fortresses before you get used to it all, but so long as you get over the idea that you need to "win" you can get though it.

There are four sets of "movement" keys, each good in certain places: the arrow keys, the number pad (sometimes left and right are needed too), page up and down, and umhk. Usually (there are exceptions), the arrows move around the map, the number pad moves through lists, page up/down moves quickly through lists and umhk resizes resizeable constructions. Escape brings up a menu from which you can save and quit. When you start a fortress, press tab until the screen is just the main window and the key window. Once you're there, it is possible to control the whole game without memorizing any more key presses. It'll be slow going for a while, but you'll then naturally pick up the most common keys as you go.

Of particular interest:
posted by JHarris at 9:47 AM on April 16, 2010 [10 favorites]


(ARGH, for some reason Metafilter discarded the line breaks in the second half of my comment, turning it into a huge wall of text.)
posted by JHarris at 9:48 AM on April 16, 2010


Don't worry, JHarris, it seems oddly appropriate that your comment trying to make Dwarf Fortress more comprehensible turned into a nearly incomprehensible wall of text.
posted by Justinian at 11:07 AM on April 16, 2010 [5 favorites]


Or slime mold. Or prisoners!

Someone else read that book? I thought I was the only one!


I loved that trilogy. I've read it three times and figure I'm about due for a fourth.
posted by Foosnark at 11:59 AM on April 16, 2010


Ah, what happened is that I forgot to close the ul tag. Dammit. Administrator please hope me.
posted by JHarris at 1:20 PM on April 16, 2010


Dwarf Fortress seems like an excellent candidate application for Prefab.
posted by aeschenkarnos at 4:47 AM on April 17, 2010


« Older MEMORANDUM FOR THE SECRETARY OF HEALTH AND HUMAN S...  |  Polyrock "could be pitche... Newer »


This thread has been archived and is closed to new comments