A Model Railroad That Computes 198
tri44id writes "Several blogs have noted an Austrian team that has built a model train set that is a primitive computer. I have to point out, though, that it's actually only a Finite State Machine, like a pocket calculator, not a general-purpose device. Their plan for a general purpose layout is for an infinite-state machine, not a FSM+tape that Turing envisioned in his original paper. Turing took the concept a further step, by presenting a Universal Turing Machine that embodies a special set of states and transitions that allows its tape to be programmable to emulate any other TM. Do Slashdot readers know of any mechanical implementations of a truly Universal Turing Machine? (Danny Hillis' famous tinkertoy tic-tac-toe machine has neither infinite tape nor programmability, and is thus yet another FSM. It shouldn't be hard to elaborate the Austrian model train FSM to use a series of cars carrying movable magnets to represent Turing's tape cells writable with different symbols, and thus become a true TM or even UTM."
Sorry... (Score:2)
Re:Sorry... (Score:3, Informative)
Re:Sorry... (Score:3, Insightful)
In that sense, if you add all the bytes of the processors registers plus all the bytes of the RAM, plus all the bytes of hard drives, you get a really, really big natural number. That number would represent the state of the machine.
You could easily extend that to a network of computers, aggregating all individual states to form a big network state.
On the other
Re:Sorry... (Score:2)
Re:Sorry... (Score:2)
Given the users I'm forced to deal with, I'd have to agree.
Although sometimes I'm tempted to make them non-infinite using decidedly violent methods.
Re:Sorry... (Score:5, Informative)
A Universal Turing Machine is a Turing Machine that takes, as its input, an encoding of another Turing Machine, then simulates it. As such, you can prove that with a Turing Machine, you can compute anything that any other Turing Machine can.
By contrast, Finite State Machines [wikipedia.org], or Finite Automata, are far less complex models of computation. If you treat them as language acceptors (i.e., everything that they compute is whether or not a string is valid in a language) they are only as powerful as simple regular expressions. They can be modelled very quickly by computers, though, since they are deterministic and require no lookahead.
Re:Sorry... (Score:2, Redundant)
Explanation for dummies (Score:1)
It's about making computer from model railway system where computation is expressed in trains moving along rail. Think about trains as bits and rails as wires. If it's Turing equivalent you can port Linux in it.
Not wery practical.
Re:Explanation for dummies (Score:1)
Re:Sorry... (Score:2, Funny)
Just another dog-gone Slashdot typo.
Just state machine? (Score:5, Insightful)
Re:Just state machine? (Score:3, Funny)
Re:Just state machine? (Score:5, Funny)
Re:Just state machine? (Score:2)
Re:Just state machine? (Score:2)
Results 1 - 50 of about 41,400 for 64K enough everybody
And before you start, you said popular, not correct (if indeed either of them is). Finally, whoosh!
Re:Just state machine? (Score:2)
Microsoft thinks of everything!!!
And then there's the cover-all clause: While the preferred embodiment of the invention has been illustrated and described, it will be appreciated that various changes can be made therein without departing from the spirit and scope of the invention.
Re:Just state machine? (Score:4, Interesting)
Re:Just state machine? (Score:1)
I'd like to see you try to construct an infinite tape.
Re:Just state machine? (Score:1)
You do get space-bounded TMs, though, and they're more sensible things to be dealing with when working with results about computation. Although making a space-bounded UTM implementation with a train set that actually accepted usefully-sized programs would be completely impractical...
Re:Just state machine? (Score:2)
Re:Just state machine? (Score:2, Informative)
I believe that in order to model "any physical computation device" you're going to need many many more states
(1KB RAM == 2^8192 states == ~1e2466 states).
Re:Just state machine? (Score:2)
A state-machine is much more than just states. It's also the logic that dictates state-transitions. So for the FSM to be complex enough to be useful, the state transition logic will take up much more space than the actual state itself.
30 bits may very well be enough to store the state of a system. But depending on how the bits represent the states, the transition logic may be more or less compl
Re:Just state machine? (Score:1, Funny)
Incorrect (Score:2)
Re:Incorrect (Score:3, Interesting)
Linear-bounded automata are not as powerful as Turing Machines, but are still quite powerful.
Re:Incorrect (Score:2)
The classic problem not solvable by a DFA is recognizing {0^n 1^n : n in N}. A PC can solve this by writing its output to tertiary storage via an output port, and as soon as it reads the first 1, it begins reading back what it wrote to the output port, comparing that to its input. Tertiary storage isn't bounded in size, because it can be freely modified during execution.
Re:Incorrect (Score:2)
Re:Incorrect (Score:2)
2.) An individual particle may be able to store arbitrarily complex information, by encoding that information as a real number equal to its position in space (which can be determined with arbitrary precision if you accept that its intertia becomes undetermined). I'm not aware of any scientif
Re:Incorrect (Score:3, Insightful)
You're missing the point here -- a modern computer is not a closed device. Its ability to interact with the outside world via I/O of various kinds gives it the full range of a TM's power. A computer
Re:Incorrect (Score:2)
Re:Incorrect (Score:2)
Re:Just state machine? (Score:2)
Re:Just state machine? (Score:2, Insightful)
Re:Just state machine? (Score:2)
For funny side of things. Now that we know that we 10E90 bits will be enough for everyone. 299 bits will be enough to address every bit in the universe. 296 bits if we want to access 8-bit bytes.
It also seems evident that universe wasn't compiled with full optimizations. There is no input or output so all this computation could have been optimized out. Let's have silent moment for this tought [amazon.co.uk].
What to do with it... (Score:4, Interesting)
Re:What to do with it... (Score:3, Insightful)
Re:What to do with it... (Score:2)
Too much time (Score:5, Funny)
But still, I feel even I have the authority to say that some people just have too much time.
Re:Or maybe you're just slow (Score:2, Funny)
The bullet trains are much better at hard tasks like compiling kernels, but watch out if they derail. Gives new meaning to the term "system crash".
--
oxray mortum docrutia foodrum
Old Idea (Score:5, Informative)
Re:Old Idea (Score:2, Informative)
Re:Old Idea (Score:2)
Re:Old Idea (Desmond Bagley) (Score:4, Interesting)
You were right the first time. Desmond Bagley wrote "The Enemy" and it featured a model railway that computed genetic manipulations.
It was bought by the main character at an auction, for 31000 pounds. When his boss heard that he had bought a train set for such an ungodly amount of money he said "You expect me to be able to clear that through Expenses?" To which the character replied "Call it by its real name, a computing device."
'Twas a fine yarn that story. Nearly as good as Running Blind.
MIT's Model Railroad Club (Score:5, Interesting)
The hackers who loved switches, relays, automation systems and doing beyond-tomorrow stuff with all of it irritated the hell out of the guys who liked collecting little models of trains, and eventually went on to be the Midnight Hackers of fame.
SoupIsGood Food
Re:MIT's Model Railroad Club (Score:1)
In EDUCATION, he says:
Re:MIT's Model Railroad Club (Score:5, Interesting)
That's where everything _you_ find weird and wonderful about computers comes from.
If I had to pick a well-defined culture and declare that I belonged to it, as so many
And when I say sprite graphics, I mean all 15 sprites!
Note for socially-undeveloped Lisp programmers from MIT: The point of the last sentence was that there were only 8 sprites on the main sprite graphics platform, the VIC chip, but you could produce 15 (and probably more) by confusing it sufficiently. Hacking, you see. Like with the trains. It's an analogy. C'mon, we can be freinds.
Re:MIT's Model Railroad Club (Score:2)
Finite State Machines? Don't knock-em (Score:5, Informative)
Yes, and your desktop computer is also another example of a finite state machine. Granted, all those little silicon switches have an enomorous number of possible states, but rest assured, the total number is indeed finite.
Re:Finite State Machines? Don't knock-em (Score:3, Funny)
Re:Finite State Machines? Don't knock-em (Score:2, Insightful)
You're trying to be clever but I hope you do know that having a "finite number of states" is not in and of itself a definition of a FSM.
You could use your general purpose computer as a finite state machine but it would be an enormous waste of power. Let's imagine for a second that you take your computer with its 4GB of RAM and 100GB of hard disk and invent state names for every possible state. You then write a program in terms of transitions between these states (this is what FSMs do, after all). Now you
Re:Finite State Machines? Don't knock-em (Score:5, Informative)
Bounded-tape TM? (Score:2)
Re:Finite State Machines? Don't knock-em (Score:2, Funny)
Re:Finite State Machines? Don't knock-em (Score:2)
Mine was derailed... (Score:5, Funny)
Babbage Engine (Score:1)
http://www.sciencemuseum.org.uk/on-line/ba
But can it beat a horse? (Score:1, Funny)
Re:But can it beat a horse? (Score:2)
Re:But can it beat a horse? (Score:3, Funny)
Except in Soviet Russia, where the dead horse beats
True mechanical implementations? (Score:5, Funny)
Given the requirement for an infinitely long tape, I suspect the answer to this question might be no.
Re:True mechanical implementations? (Score:2)
Quantum Computer (Score:4, Interesting)
Re:Slashdot Quantum Theorem (Score:2)
D'uh! (Score:5, Insightful)
Do Slashdot readers know of any mechanical implementations of a truly Universal Turing Machine?
Of course not. A truly Universal Turing Machine needs an infinite amount of tape. Or RAM. Or HDD. Or Spaghetti. Or any other infinite amount of storage device. Hell, the submitter makes this clear in their spiel, just after they ask the vacuous question above. I guess they should read what they write a little closer; or stop prancing around like a tit, trying to sound profound and knowledgable.
Surely they must exist (Score:3, Funny)
Of course not.
I'm sure there must be some... they'll be in a backroom somewhere, stacked next to the perpetual motion machines and the random noise compression algorithms.
Re:Surely they must exist (Score:2)
Try The Ideal Scientific Equipment Company catalogue [lhup.edu] for some of the above, but sadly they seem out of stock when it comes to Universal Turing Machines...
;-)
I even tried Ebay [ebay.co.uk], but no luck. Any ideas?
Re:D'uh! (Score:5, Interesting)
No need to be a jerk. The poster's meaning was clear enough. "Has anyone built a mechanical (non-electronic) computer which has the capacity to deal with an arbitrary amount of simulated tape and therefore run arbitrary computer programs up to the limits of the tape available at any particular time." If we all spent our times being as literal as you are, computer science would be quite impoverished. "No need to discuss Turing machines in CS class because Turing machines and computers are totally different things: one depends on infinite tape and the other on finite hard disks. Computer languages can therefore never be Turing-complete." It's a pet peeeve of mine and a way for pedants to try to sound "profound and knowledgable."
The question is not vacuous and in fact someone has created a mechanical Turing machine [wikipedia.org].
Re:D'uh! (Score:2)
Re:D'uh! (Score:3, Insightful)
A universal Turing machine has nothing to do with the size of the tape; it is a Turing machine whose FSM supports the emulation of any other Turing machine, when that machine's FSM is written in some format on the tape. That is, it's a computer that runs programs out of storage, rather that having them hardwired in (or, rat
Awake for 29 hours, what do I see..... (Score:3, Funny)
I'm English . . . . (Score:5, Funny)
Maybe I'm showing my geekier side... (Score:1)
Very very slow, of course, but still - a way to make a computer out of a model railroad.
Old news (Score:4, Funny)
infinite is BIG (Score:1)
in order to implement an UMT storage has to have the potential to ->infinity.
obviously !? its rather difficult to build infinite storage in a finite universe ;-P
Not entirely original ! (Score:4, Informative)
Investigators found that he had a large model railway which was controlled by a computer and the answers to calculations were reported by numbered wagons being arranged in certain orders and locations.....
It wasn't a very good book, actually.
Sure... (Score:4, Funny)
No, but I have an infinite tape lying around in my shed, so if you know how to do the logic stuff, we can team up.
Re:Sure... (Score:2)
I call it the universe.
ObComment (Score:1)
Re:ObComment (Score:3, Funny)
Editor asleep again? (Score:2, Informative)
That means that if you want to build one, before you get into how you are going to have the thing operate, you at least have to find a way of coding infinitely many discrete states using some finite amount of matter. Which is not possible: even if you could manipulate matter to the point of using every individual subatomic particle to store a bit of data, there are only finitely many particles and you will have a finite
Not mechanical, but... (Score:2)
Not a computer? (Score:2, Insightful)
Re:Not a computer? (Score:2)
Re:Not a computer? (Score:2)
Thank God for model trains (Score:4, Funny)
MS Windows On Board . . . (Score:3, Funny)
So, does that means it runs Windows? Perhaps it is a special version Windows: Windows RR (as opposed to Windows 958MeNTXP2000CE). Of course, unlike other versions of Windows, it does not crash--it derails.
Thank you. I'll be here all weekend. Please tip your kelnerino.
Happy Valentine's Day! (Score:2, Funny)
Finite State Chicken (Score:3, Interesting)
Forget the computer thingy... (Score:4, Funny)
A great example (Score:2)
1) Demonstrate micro-level computing to people.
2) Stretch one's imagination as a programmer.
I recall many fun hours spent building contraptions with legos, lincoln logs, erector sets, and more. Nothing of this complexity, but the understanding of interactions on a physical level really did help me relate to things on a code level.
Is there any online museum or page summarizing such contraptions?
Halting (Score:2, Funny)
Doodley doot, doodley doot, doodley doot... (Score:2)
What a stupid question (Score:2)
Since a universal TM by definition requires an infinitely long tape, uh... no, I don't think there are any mechanical implementations. What a dumb question.
If I remember my Comp. Theory correctly... (Score:2)
Search engines take on a whole new meaning (Score:2, Funny)
Lego (Score:2)
mechanical implementations (Score:3, Informative)
The resulting computers are nondeterministic. They are computers in the sense that, given a Turing machine and a given input, you can construct a corresponding sliding-block puzzle that is solvable if and only if the Turing machine would eventually print YES. The catch is that this only works when the Turing machine is allowed to use only an amount of tape polynomial in its input size (but then, the same is effectively true of real computers). Technically, this means that sliding-block puzzles are PSPACE-complete - that's the next complexity class up from NP-complete.
Anyway, the construction does involve building logic gates out of sliding-block components, so the things are rather like actual computers. The constructions are based on the earlier result that you can build computers out of Rush Hour puzzles.
More info here:
No infinite tapes even on ebay (Score:2)
Steam Powered Turing Machine (Score:2, Interesting)
Am I the only one who thought (Score:2)