A Turing Machine Built With Lego, And a Place To Put It 74
New submitter Otis_INF writes "To honor Alan Turing, two researchers at the CWI built a simple LEGO Turing Machine, to show everyone how simple a computer actually is. Primary goals were to make every operation as visible as possible and to make it using just a single LEGO MINDSTORMS NXT set."
And if a simple Turing machine gets old, Reader miller60 adds a link to this Lego data center "that recreates all the major features of an IT facility, assembled from 5,772 pieces, 28 figures, and 1 meter of fiber optic cable. The builder, Tanaka, has uploaded details to the Lego Digital Designer Gallery so others can build and adapt their own."
Melted (Score:1)
Distinctions adding up (Score:2)
The very first Lego device to be slashdotted
Re: (Score:3)
The very first Lego device to be slashdotted
Waiting for the first Lego Botnet...
Re:Distinctions adding up (Score:5, Funny)
Gives a new meaning to "my smartphone's been bricked!"
Re: (Score:3)
It's not... there's no infinite tape!
Hmm... (Score:3)
My personal opinion: I don't like their implementation.
I would prefer to see a version which uses a long "tape" which is covered in a thin film and the data recorded using different coloured dots from whiteboard markers.
Just my 2.
Re: (Score:2)
whiteboard markers will dry out too quickly. Been there, thought of that.
Re: (Score:2)
Re: (Score:2)
Might work, might be a bit fumbly. The closest "solution" I could come up with involved something that looks like a magnetic chess piece with a little neo-magnet on the bottom and a gripper on top. Given a decent gripper/mover I could implement something like that on my milling machine table right now. This brings up my really weird idea of a robot arm making QR codes using black square magnets on a steel sheet. But this is getting pretty far off from the original "mostly-electromechanical" design.
It's an LBA, not a TM (Score:5, Insightful)
Re: (Score:3)
Re: (Score:2)
Re: (Score:3)
Except for those that modded me up.
Re: (Score:1, Flamebait)
Re: (Score:1)
http://slashdot.org/comments.pl?sid=2925839&cid=40373297 [slashdot.org]
http://slashdot.org/comments.pl?sid=2925839&cid=40373333 [slashdot.org]
http://slashdot.org/comments.pl?sid=2925839&cid=40373365 [slashdot.org]
Samefag detected. Go back to
Re:It's an LBA, not a TM (Score:4, Informative)
Look, I may be an annoying aspie too here, but the project isn't cool because it uses a fucking computer to simulate a computer.
"Therefore, to avoid limiting the instruction size and to protect the running program, we chose to write the instructions to a file on the NXT brick and uses the simplest interpreter to run these instructions."
so the point is just to be a pointless cool looking device. it's not implemented in lego.
Re: (Score:2)
Re: (Score:2)
Obviously they hadn't heard of Georg Cantor. He would have had no trouble representing an infinite matrix using an infinite list.
Lego data center is the future! (Score:2)
Turing machine emulation using physical memory (Score:5, Informative)
As has been (kinda harshly) hashed out on hackernews, this is really a turing machine emulated on a NXT using lego as a physical memory display. This is still cool, but its not "turing machine built out of lego" except by the extreme interpretation that a NXT computer is sold by the lego corporation.
There have been some genuine mechanical turing machines built with varying level of success.
Its pretty easy to make an electromechanical relay based turing machine if for no reason other than price (well, price compared to when I was a kid, its still gonna be a chunk of change)
When I was a teenage kid a simple DPDT 12 volt relay at radio shack cost me something like two HOURS of labor income, and now as a "highly" paid jack(-ass) of all computational trades I can buy a simple DPDT from Mouser for something like two MINUTES of labor income. I've got a bitslice ALU design (admittedly not a turing machine) down to about 22 relays per bit. Latching relays are about 50% more money than non-latching. Also QPDT relays are "cheap" and commercially available.
large PCBs are expensive. Yet sockets and hand wiring is not cheap either (although it looks cool)
I'm stuck on (electro-)mechanical memory storage devices. There was a single bit core memory design from a 1970s electronics magazine that used simple steel washers as cores, terrible magnetic properties but cheaply and widely available. However I don't want an electronic design. Latching relays are cheap enough for registers and ... surprisingly enough ... latches ... but they're a bit expensive for main memory. For example an Altair size of memory made of latching relays would cost me about 256 bytes * 8 bits * 3 bucks per latching relay equals $6.1K just for storage not to mention decode logic. Until I can figure out a way to get below $1/bit purely electromechanically I think I'm stuck.
The history of computation, since the 1940s (before even my time) has always been "computation is cheap, memory is expensive"
it's like a fairtale come true! (Score:3)
Lego is a corporation.
In America, that makes him a REAL boy!
Careful, that's totally different than a Real Doll.
Re: (Score:3)
You allude to an important point: Lego is a corporation. It is NOT a mass noun for the the bricks they sell. Those are Legos.
Wrong, according to the company that makes them they are "Lego bricks". There is no such word as "Legos".
Fortunately, companies don't get to dictate our language.
I get that they're afraid of trademark dilution. So what?
They're still Legos.
You can call them that if you like. Many other people (particularly in Britain and outside the US) *do* use the mass noun "Lego" and "Legos" just sounds stupid to us.
The point being since neither term is officially endorsed, they're both equally valid or invalid despite your protestations. BTW, I like how you pompously declare imply that "Legos" is the *correct* term, then- when it's pointed out that this has no official status- change things round and say that "companies don't get to dictate our language
Re: (Score:2)
According to the video (which is now working) it reads the state of those lego pieces using an optic sensor. So they are not just used for display, they are used as actual memory. There is no requirement as to how you implement the state machine of a turing machine
Re: (Score:2)
If you're talking about my 22 relay bitslice ALU assuming I could magically energize all 22 relays simultaneously (unlikely) on a 8 bit CPU design the entire ALU could only draw 22 * 8 * .1 = about 20 * .1 * 8 = 2 * 8 = 16 or so amps. Compared to ham radio gear that's nothing. I have a HF transceiver that draws something like 25 amps at 100 watts out on ssb voice peaks and that is not unusual at all in the hobby.
If you're talking about my insane $6000 relay based memory unit yeah the current draw is why I
Re: (Score:2)
The history of computation, since the 1940s (before even my time) has always been "computation is cheap, memory is expensive"
That may have changed now with 2TB for $99....
I/O bandwidth on the memory is still a little more expensive than the CPUs it connects to, but 2TB is a pretty infinite storage pool if you've got the patience to wait for it.
Hell, even 2GB of DRAM, or 256MB of cache feels infinite in terms of pre-1980s computers.
That has been done before (Score:5, Informative)
Re: (Score:2)
Before you ask: (Score:1)
In theory it actually can run Linux (if you are really really patient)
Re: (Score:2)
Re: (Score:3)
Re: (Score:2)
I'll bet this isn't a real Turing Machine (Score:2)
Otherwise, how the heck did they come up with an infinitely long tape?
Re: (Score:2)
For an infinitely long tape you need an infinite number of LEGOs.
I guess LEGO will be glad to sell them to you (subject to their maximium production rate) and they could probably keep up to the needs of the machine.
Any billionaires want to fund such a project?
Re: (Score:3)
Wouldn't they have to be aleph-nullaires? I.e., the infinitesimal percent?
Re:I'll bet this isn't a real Turing Machine (Score:5, Funny)
Turing's Revenge (Score:1)
If Professor Turing patented a TM these days, he could sue for royalties on every computer, big and small. I almost wish he had as revenge for the crappy way the British gov't treated him.
Great stuff... (Score:2)
...but I'd like to see how they'd implement the lambda calculus in Lego.
Maybe this is how one finally proves, after decades of bickering and argument, which model of computation is better- by seeing which one looks prettier when you make a visualiser for it out of brightly coloured snappable bricks.
Re: (Score:1)
Not really a Turing machine, but no surprise (Score:2)
A Turing machine is defined by a tape and a manipulator, and a state machine defining how those tape symbols are manipulated. The former is visible in the video. The latter is not. It appears they're using a mindstorm (itself a microcomputer) to perform the function of the state machine. I think this is cheating.
In fact, the whole state machine part of the Turing machine has always been rather nebulous to me. Yes, I understand the state transitions, but no physical mechanism is described (in CS theory
Re: (Score:2)
The implementation of the state machine is of less interest because it is finite. The aim of the exercise is to reduce the the notion of computability to a machine-like process. The most simple conception is that only one part of the machine is infinite and variable. That is why Turing needed to show how to implement a Universal Machine as a single Turing Machine, so that the transition table could be made fixed in size (and after that point, uninteresting in implementation). It would have been sufficient t
Re: (Score:1)
Besides, you don't need a fully mechanical state machine and an infinite tape to show the interested public some of Turing's highly important computer science work (as opposed to impressing the Slashdot crowd, or showcasing the Engima code breaking work, which seems to be what most 'normal' people associate with him these days).
With that goal in mind, I think the project has been highly successful – it has been reported in major Dutch newspapers and generated a lot of interest in the Netherlands.
Re: (Score:2)
The mindscrew is that every physical machine, including the microcomputer (as well as this "Turing machine" itself, with its finite tape), is technically a finite state machine. The theoretical model of a true Turing machine requires the availability of infinite memory.
You could say that the deterministic finite state machine can be any (deterministic) physical device conceivable, while the infinite tape is the one part that cannot be built in reality.
The only reason it's "simple" (Score:2)
The only reason it's "simple" is that one of its parts is a full computing device.
I'd have preferred a "hardware" implementation...
Ruting would have been 100 on Saturday (Score:2)
slowest computer ever. (Score:1)