Features Podcasts Family Video Comics Music Tech Science Books Film & TV Games ✚

Jill

Universal Turing Machine in 100 punchcards

Cory Doctorow at 6:00 pm Sat, Jun 23, 2012

— FEATURED —

THE LATEST

Guatemala: Archive of documents from Rios Montt genocide trial, overturned 10 days after guilty verdict

THE LATEST

Guatemala: Nation's highest court throws out Ríos Montt genocide trial verdict and prison sentence

Feature

Eurovision 2013: An American in London

Book Review

The Twelve-Fingered Boy - mesmerizing YA horror novel

Book Review

Black Code: how spies, cops and crims are making cyberspace unfit for human habitation

— FOLLOW US —

Boing Boing is on Twitter and Facebook. Subscribe to our RSS feed or daily email.

 

— POLICIES —

Except where indicated, Boing Boing is licensed under a Creative Commons License permitting non-commercial sharing with attribution

 

— FONTS —

Tweet
Kindle

SE Peeze Binkhorst sez, "100 years ago today, Alan Turing was born. To celebrate, I wrote a Universal Turing Machine in 100 Punchcards. I've uploaded a video to explain a small part of the read head (the Jacquard). One needle is shown out of a total of 28. The needle and anything else in the animation is not part of the Turing Machine, but is part of a machine that reads and executes the program, i.e. a computer I am working on, which is in part explained in this schematic. As the turingloom website is about a program for a Turing Machine and not about a physical Turing Machine, I hope to be excused from the requirement of infinite tape."

I write books. My latest is a YA science fiction novel called Homeland (it's the sequel to Little Brother). More books: Rapture of the Nerds (a novel, with Charlie Stross); With a Little Help (short stories); and The Great Big Beautiful Tomorrow (novella and nonfic). I speak all over the place and I tweet and tumble, too.

MORE:  computer science • happy mutants • makers • turing • videos • youtube

More at Boing Boing

Eurovision 2013: An American in London

The technology that links taxonomy and Star Trek

  • ryuthrowsstuff

    Surprised you guys haven’t posted on the current Google Doodle. Its some sort of Turing machine based puzzle game. And I am entirely incapable of figuring it out. 

    • http://twitter.com/beep54orama B E Pratt

       Interesting. I am sorta able to get the binary numbers to match (at least at first), but I really am not quite sure what I am doing….  Thanks for pointing this doodle out

    • Mark Dow

      It appears to be a simple puzzle — program his machine to give a desired output, which is his encoded name (there is another layer of complexity I don’t grok, the relationship between input and output). 10 minutes of debugging gets you to “Alan Turing” search results. Thanks, Alan, for showing us how to search any term, automagically. Thank FSM for high level formal languages.

    • eviladrian

       The hardest part for me was realising that there was a puzzle.

      • ryuthrowsstuff

        I actually looked it up.

  • nixiebunny

    Now, imagine the fate of the free world resting on your ability to solve that puzzle. Welcome to Bletchley Park.

    • http://www.nathanhornby.com/ Nathan Hornby

      What’s funny is that I know significantly more about Bletchley Park and Turing as an adult. I grew up and went to school in Bletchley.

    • semiotix

      Yes, yes, welcome to Bletchley Park! Now strip down to your knickers. Oh yes, it’s for the war effort, you see. Quite essential, really.

      • Antinous / Moderator

        It’s like a heterosexual version of Moby Dick.

  • http://twitter.com/digitalArtform Joseph Francis

    Reminds me of a great episode of James Burke’s ‘Connections’
    Episode 4:Faith in Numbers.
    http://www.youtube.com/watch?v=ORY-mXXgJg4

  • http://www.facebook.com/yehuda.berlinger Yehuda Jonathan Berlinger

    Ok, guys, PLEASE. A Turing machine requires an INFINITE sized tape. A Turing machine is theoretical and CANNOT EXIST.

    A finite machine – a machine with a finite tape or finite memory – is a non-deterministic finite automata. NOT a Turing machine.

    Thank you and good day,
    Yehuda

    • Tynam

      Now you’re just nitpicking.  In non-formal conversation, finite state-based automata are frequently referred to as ‘Turing machines’, and for very good reasons.  (For all programs not exceeding the available tape capacity, there’s no difference.  While infinite tape is impossible, ‘large enough’ is a reasonable approximation for many purposes.)

      • http://www.facebook.com/yehuda.berlinger Yehuda Jonathan Berlinger

        …
        Maybe it’s nitpicking. But the difference between a Turing Machine and a finite state automaton is like the difference between infinite and finite, or between the alphabet and the entire works of Shakespeare (times infinity) i.e. Really Big.

        The whole point of a Turing Machine being infinite was that it could theoretically simulate the responses of a human being (i.e. ANY response to ANY input) and therefore pass the Turing Test. A finite automaton is little more than a version of Eliza; a finite series of responses to a finite series of inputs. It’s a nifty calculator.

        Finite automata are cool in their own right. Ones with really big tapes are cooler. But seeing them presented as Turing Machines is just painful.

        Yehuda

        • Tynam

          All that is true, but I stand by my claim.  The English language has evolved to contain (outside of mathematical contexts, where I agree with you totally) the idea of ‘Turing machine’ as a synonym for any such state-based automaton.  And this isn’t a harmful development – it’s a useful, compact phrase.  Even if it does make the logician part of me wince for a second.

          Nor is this a problem for Turing’s original discussion point.  At least one machine which we *know* would pass the Turing test – an exact simulation of a human brain – is a finite machine.  We know that an infinite-capacity-tape Turing Machine is not actually necessary for the test.  I concede that a finite automaton is ultimately nothing more than a nifty version of Eliza, but then… so are we.  (Unless you’re claiming to possess an infinite number of neurons, in which case I will have little choice but to bow to your superior intellect.)

          After all, an awful lot of maths is based on us pretending that there’s no meaningful difference between finite-but-arbitrarily-large and countably-infinite.

        • http://profiles.google.com/blaisepascal Buddha Buck

          I think a couple of things should be kept in mind:

          1) The definition of a Turing Machine (TM) works perfectly well with an unbounded tape, not an infinite tape. 

          2) The only TMs which need an infinite tape are non-halting TM.  Every halting TM only uses a finite tape.

          3) Nearly every (if not every) computational class (e.g., P, NP, PSPACE, EXP, etc) only uses a finite tape who’s length can be bounded before running; Even NP-Complete problems only take a tape proportional to a polynomial of the input size.

          So if you give me a computable problem, plus it’s input, I can give you a TM with a finite tape than can solve it.

          And the point of a TM was not to pass the Turing Test, it was to prove that the set of computable numbers is countable.

    • theclockworkcomputer

      The 100 punchcards merely define the rule table of a Turing Machine, it is software. The machine itself is a computer, not a Turing Machine. The program thinks the memory is the tape and uses that.

    • nixiebunny

      If the tape is longer than the machine is physically capable of indexing through in a lifetime, it’s for all practical purposes infinitely long.

    • knappa

      Er, it is a finite automata but a deterministic one, not a non-deterministic one.