Slashdot Mirror


Play GNU Chess On Your Scanner

leighklotz writes "Debian developer and Internet Mail Archive founder Jeff Breidenbach of PARC has made GlyphChess, a chess-playing copier using Python, GNU Chess and DataGlyphs attached to the bottom of the pieces. DataGlyphs are cool 2D barcodes made out of / and \ marks for ones and zeros that use the coding from CDs for error coding. If you don't happen to have a Xerox machine at home, it also works with SANE..."

45 of 157 comments (clear)

  1. Award winning... by Omicron32 · · Score: 5, Funny

    And the "Most pointless thing ever" award goes to...

    1. Re:Award winning... by HornyBastard77 · · Score: 5, Interesting
      Maybe not.

      From the article:

      Why

      Like many fun hacks, GlyphChess has paid off in unexpected ways. First, testing DataGlyph software and algorithm changes is a lot more engaging. It is hard to get excited about 99.98% vs. 99.97% decode rates in testsuite #73, but if a rook disappears, well that is simply unacceptable! We've found GlyphChess an excellent diagnostic and quality assurance motivator that inspires rapid bug hunting and closure. Second, it turns out some of the software technology refined for GlyphChess is applicable to more boring, but commercially important domains. Finally, GlyphChess is a compelling demonstration vehicle for DataGlyph Toolkit technical capabilities, including our DataGlyph location routines, our ability to decode arbitrarily rotated DataGlyphs, and our very high tolerance of variation in scan resolutions and positioning. GlyphChess works and it works well.

      We also gained valuable experience about DataGlyph application building.

    2. Re:Award winning... by curne · · Score: 5, Funny

      Nah, the Most-Pointless-Thing-Ever award still goes to inventor of the Helicopter Catapult Seat.
      :-)

      --
      All interpreted languages are abstractions over Lisp
    3. Re:Award winning... by autocracy · · Score: 4, Informative

      Helicopters with eject seats do exist and work... Just cut the blades loose from the rotor right before loosing the seat.

      --
      SIG: HUP
    4. Re:Award winning... by swordboy · · Score: 4, Funny

      Maybe not.

      This actually just jogged my hamster into "what if" mode...

      Wouldn't it be really cool if the chess pieces used RFID chips to identify themselves to a board (not a scanner, but a real chess board). Said board could move the players around with magnets. It wouldn't be too complicated if you designed it properly. The board would have to be large enough for the players to move in between each other... Actually, on a somewhat more complicated level, make it small so the other players have to *move* out of the way when the computer takes a turn.

      Not only would it be fun for hours, but you could probably start a psychic chess network and charge people to play chess with their dead grandmother's.

      --

      Life is the leading cause of death in America.
    5. Re:Award winning... by Idarubicin · · Score: 5, Interesting
      A Russian company (Zvezda) developed helicopter ejection seats. They have been installed on Ka-50 helicopters. Here's a link.

      On the same page you'll note that they also designed and tested an ejection system for Buran (Soviet Space Shuttle) cosmonauts.

      --
      ~Idarubicin
    6. Re:Award winning... by graveyhead · · Score: 4, Interesting

      what, like this?

      I had that idea a couple years ago too, except you forgot: network chess becomes amazingly fun when your friend is in your house as a ghost! They should build this & bundle with Chessmaster ?000 with network capability, so friends without the board can play on their PC!

      --
      std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
    7. Re:Award winning... by roman_mir · · Score: 2, Funny

      ...right, so it goes like this:
      1. Design chess that uses RFID chips for identification to the board.
      2. Design bord that could move chess pieces with magnets.
      3. Start a psychic chess network.
      4. Profit.

      FINALLY!!! The step 3 has been described!!!

  2. Chess playing copier? by grub · · Score: 5, Funny


    How do you undo a move, tear up the last page of paper?

    --
    Trolling is a art,
    1. Re:Chess playing copier? by tomhudson · · Score: 4, Funny

      nah, just put dots between the \'s and /'s. Now you can /. (slash-dot) and ./ (dot-slash), or .\ (dot-backslash) or \. (backslash-dot) your opponent.

  3. soar losers by frieked · · Score: 5, Funny

    Do you get to send the winner a photocopy of your ass when you lose?

    --

    I have often regretted my speech, never my silence.
    -Xenocrates
    1. Re:soar losers by Go+Aptran · · Score: 2, Funny
      Won't the winner wonder why he's getting a photocopy of two hairy loaves of bread?

      --

      "Under the spreading chestnut tree, I sold you and you sold me."

  4. Solomon-Reed Article text (slashdotted) by stratjakt · · Score: 5, Informative

    The Ubiquitous Reed-Solomon Codes
    by Barry A. Cipra

    Reprinted from SIAM News, Volume 26-1, January 1993

    In this so-called Age of Information, no one need be reminded of the importance not only of speed but also of accuracy in the storage, retrieval, and transmission of data. It's more than a question of "Garbage In, Garbage Out." Machines do make errors, and their non-man-made mistakes can turn otherwise flawless programming into worthless, even dangerous, trash. Just as architects design buildings that will remain standing even through an earthquake, their computer counterparts have come up with sophisticated techniques capable of counteracting the digital manifestations of Murphy's Law.
    What many might be unaware of, though, is the significance, in all this modern technology, of a five-page paper that appeared in 1960 in the Journal of the Society for Industrial and Applied Mathematics. The paper, "Polynomial Codes over Certain Finite Fields," by Irving S. Reed and Gustave Solomon, then staff members at MIT's Lincoln Laboratory, introduced ideas that form the core of current error-correcting techniques for everything from computer hard disk drives to CD players. Reed-Solomon codes (plus a lot of engineering wizardry, of course) made possible the stunning pictures of the outer planets sent back by Voyager II. They make it possible to scratch a compact disc and still enjoy the music. And in the not-too-distant future, they will enable the profitmongers of cable television to squeeze more than 500 channels into their systems, making a vast wasteland vaster yet.

    "When you talk about CD players and digital audio tape and now digital television, and various other digital imaging systems that are coming--all of those need Reed-Solomon [codes] as an integral part of the system," says Robert McEliece, a coding theorist in the electrical engineering department at Caltech.

    Why? Because digital information, virtually by definition, consists of strings of "bits"--0s and 1s--and a physical device, no matter how capably manufactured, may occasionally confuse the two. Voyager II, for example, was transmitting data at incredibly low power--barely a whisper--over tens of millions of miles. Disk drives pack data so densely that a read/write head can (almost) be excused if it can't tell where one bit stops and the next one (or zero) begins. Careful engineering can reduce the error rate to what may sound like a negligible level--the industry standard for hard disk drives is 1 in 10 billion--but given the volume of information processing done these days, that "negligible" level is an invitation to daily disaster. Error-correcting codes are a kind of safety net--mathematical insurance against the vagaries of an imperfect material world.

    The key to error correction is redundancy. Indeed, the simplest error-correcting code is simply to repeat everything several times. If, for example, you anticipate no more than one error to occur in transmission, then repeating each bit three times and using "majority vote" at the receiving end will guarantee that the message is heard correctly (e.g., 111 000 011 111 will be correctly heard as 1011). In general, n errors can be compensated for by repeating things 2n + 1 times.

    But that kind of brute-force error correction would defeat the purpose of high-speed, high-density information processing. One would prefer an approach that adds only a few extra bits to a given message. Of course, as Mick Jagger reminds us, you can't always get what you want--but if you try, sometimes, you just might find you get what you need. The success of Reed-Solomon codes bears that out.

    In 1960, the theory of error-correcting codes was only about a decade old. The basic theory of reliable digital communication had been set forth by Claude Shannon in the late 1940s. At the same time, Richard Hamming introduced an elegant approach to single-error correction and double-error detection. Through the 1950s, a number of researchers began experimenting with a variety of error

    --
    I don't need no instructions to know how to rock!!!!
  5. Analog Chess by OmniVector · · Score: 5, Funny

    Amazingly enough, it's possible to play chess using these strange "pieces" and a "board." Although the idea is novel i suppose.

    --
    - tristan
    1. Re:Analog Chess by toxcspdrmn · · Score: 2, Funny

      What's more, there's a two player version available.

      --
      "E pur si muove!" - attributed to Galileo Galilei, 1564-1642
    2. Re:Analog Chess by Captain+Large+Face · · Score: 4, Funny

      Ah-ha! You have made a beginner's mistake there! You have failed to take into account the cardinal rule of the S.A.M. (Slashdot Audience Member). That is, when faced with an opportunity to socialise -- to use your example, play chess against a human opponent -- one must first try to find if the same opportunity can be synthesised by a non-human, and should that be possible and have more than one option, to take the option of the greatest complexity.

  6. Misleading by binaryDigit · · Score: 3, Insightful

    Heck, I thought that they programmed one of their advanced copiers to play chess. Not just simply using it as a hohum input device. I agree it is a cool way to test their glyphs, but not very interesting beyond that. The thought of programming your scanner/copier in python scratches that nerdy itch much nicer.

  7. Their web server by dereklam · · Score: 5, Funny

    Clearly, they're running their web server from the copier, too. Paper jam!

  8. Just great! by Eberlin · · Score: 4, Funny

    A new and innovative way to get my arse whipped by a computer. As if losing umpteen times on the standard chessboard wasn't enough.

  9. It's a cheap trick! by American+AC+in+Paris · · Score: 4, Funny
    He's hosting the page on his own system so he can rob the computer player of precious cycles!

    It's all a ploy to give him an unfair advantage over GNU Chess!

    --

    Obliteracy: Words with explosions

  10. talk about a long time to play by chadamir · · Score: 2, Insightful

    I think it would be much more productive and fun to scan your butt and draw a face on it. On a much more serious note, chess already can take upwards of 2 hours to play, especially if you're playing one of those super careful people. Playing it like this would have to be a weekend event. It is an interesting technical feat though, but really provides no advancement for current technology. I sat here for 5 minutes trying to think how it might help further a current idea or help people with disabilities, but it doesn't -- at all. The purpopse of new technology should be to do things quicker/cheaper. When technology becomes more advanced and provides less functionality, we might as well bundle it with windows.

  11. Wow! by lostchicken · · Score: 3, Funny

    We've /.ed PARC. They must still be using an Alto to host the site.

    --
    -twb
  12. Paper Jam by ArchStanton · · Score: 5, Funny

    "PC Load Letter"? WTF does that mean?

  13. DataGlyphs are proprietary by Larthallor · · Score: 5, Informative

    DataGlyph techology is patented by the Xerox corporation. The DataGlyph toolkit is a binary only library that you must license to include with your "product". Despite the use of Python and GNU Chess in this example, I doubt very much that DataGlyphs are going to be of much use to the open source community.

    1. Re:DataGlyphs are proprietary by POPE+Mad+Mitch · · Score: 2, Interesting

      There is an excellent list of 2 dimensional bar codes of this style, some of which are public domain.

      I have always wanted to work on an opensource project to put business card info in a standardised format into a 2d barcode you can print on the back of your business cards. Someone can then just slap the card in a scanner and have correct information put straight into their address book.

      Yet another item on the ever increasing 'cool ideas if i ever get some spare time' stack.

  14. misleading title by magarity · · Score: 3, Insightful

    It seems from reading the article that the copier does NOT play chess. The copier inputs the positions into the computer, which then plays chess.

    While you can buy pressure sensitive boards to attach to the computer, these are pretty expensive. It's a lot easier to play chess on a real board instead of the screen. Notice that when grandmasters play computers there is a person who runs the computer and moves the pieces. So overall, this is a pretty cool hack if you happen to be a serious chess player who also has a sufficient copier already sitting around.

  15. Concerning cool uses of a scanner... by SharpFang · · Score: 3, Funny

    We're setting up a PC. Some hdd conflict, won't boot. CD drive broken, doesn't work. Floppy drive okay but not a single bootable floppy around. Let's see what it provides more, maybe some network boot... I look through BIOS options. Oh well, SCSI. What do we have attached to SCSI? A scanner?! Hey, come on, get a pencil and write some startup code on that sheet of paper, maybe we'll succeed booting it from the scanner! ;)

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  16. Big deal by stratjakt · · Score: 5, Funny

    I can run Duke Nukem on a Cue Cat.

    --
    I don't need no instructions to know how to rock!!!!
  17. Re:Picture by easychord · · Score: 2, Informative
  18. Wouldn't you prefer a nice game of chess? by MarkGriz · · Score: 5, Funny

    No, let's play global thermonuclear war.

    --
    Beauty is in the eye of the beerholder.
  19. Archeologic Implications... by Tsali · · Score: 4, Funny

    So all those glyphs from the Egyptians was really some sort of primitive multiple-player shoot-em up game?

    --
    This space for rent.
  20. Finally! by zsazsa · · Score: 4, Funny

    Finally, after more than 30 years and being spun off of Xerox, PARC finally comes up with a product involving copiers. And it's absolutely useless.

    1. Re:Finally! by c0dedude · · Score: 2, Funny

      Don't worry. We're sure, like all other big ideas from PARC, it'll leave within a few days and start its own company.

      --
      Since when has this country used intellectual elite as a pejorative term?
    2. Re:Finally! by metamanda · · Score: 2, Informative
      Uh, for what it's worth, PARC developed this.

      For those who are too lazy to click on the link, here is the relevant info:

      Integrate critical business information into electronic workflows with FlowPort. Enable the integration of paper documents with groupware, e-mail/messaging and document management systems. Leverage network digital devices, such as digital copiers and Internet fax machines.

      FlowPort(TM) features a unique user interface that gives users the capability to access and control documents without using a PC. FlowPort(TM) is Xerox's answer to being limitless, not paperless.

      Oh, and blue lasers were also developed at PARC. Excerpt from the page: The shorter wavelengths of blue lasers are ideal for achieving high resolution in printing systems and high density in optical storage.

      It's a cute myth that PARC never did anything relevent to Xerox's core business. But it's a myth.

  21. Playing chess on your scanner by Alomex · · Score: 2, Funny

    In a scale from 0 to Geek, he get's a 100.

  22. Re:This is the problem with Linux by tomhudson · · Score: 4, Funny
    You have all these (admittedly talented) programmers spending all this time on worthless projects</quote>

    ... like Microsoft BOB? Clippy? DOS 4.0? Windows Millenium? IIS? (Well, maybe they weren't so talented after all).

  23. Yeah...but what would be REALLY cool... by taradfong · · Score: 2, Interesting

    ...would be if a controllable electromagnet was attached to the scan head. Then, the scanner could actually move the pieces around too. You'd have to do some 'move blocking pieces into a holding area temporarily' stuff, but that would make the project even more fun, no?

    --
    Does it hurt to hear them lying? Was this the only world you had?
  24. Webcam would be better, and Go instead of chess! by Wesley+Everest · · Score: 2, Interesting
    Now what I've been envisioning is a setup where you aim a webcam down at a Go board, and it automagically figures out the full board position as you go. After the game is done, you have a record of the game in the digital SGF format so you can step through and analyze the game.

    Some more details -- the software would constantly grab images of the board and process them in realtime. It should be able to use the redundancy to correct for errors and also to know when a move is done (since you'll move your hand away from the board for at least a dozen frames or so, even if you play fast). The board is a nice regular rectangle, and pieces are black and white circles -- even at an odd angle, it should be easy to determine the full board position.

    I feel confident I could do it, but it would take me tens of hours of coding/testing, and I don't have the time, but I bet someone would love to do this for a senior project and opensource the code... please... :)

  25. Re:Resources by metamanda · · Score: 3, Informative
    Is this an appropriate use of resources?

    Well, first of all, he started the project over christmas since he was laid up with a broken leg, and not actually expected to do any useful work.

    Second of all, his manager seemed to think so.

    Thirdly, most research looks "useless" at first glance. PARC is a research place. If people like you were running it, I guess ethernet and GUIs would never have been invented.

    Now if only we could figure out how to profit on any of those cool useless inventions.

  26. Re:This is the problem with Linux by mr_luc · · Score: 2, Interesting

    You have all these (admittedly talented) programmers spending all this time on worthless projects

    In a way, of course, he's right. By it's very nature, the Linux community is somewhat fractuous, and not nearly as efficient as it could be. Old news, even if the problem isn't solved. (what, everyone doesn't use KDE? oh)

    But it doesn't apply here.

    This is a case of brilliantly applied science, and if you don't think that it is useful, consider a few of the implications. This is EXACTLY the type of technology that is going to be highly useful in the coming years, because they are coming up with ways to bridge the visual gap, and in developing the best ways to represent data visually in a form that a computer can read, and that will handle error-correction gracefully.

    That is the kind of applied research that needs to be done before all of the cool, non-'worthless' stuff can happen. Before you get your car that can navigate on its own, you need a Xerox chess set -- that's how this stuff works.

  27. Source code for Reed-Solomon encoder/decoder by hqm · · Score: 2, Informative

    For people who want to play with error correcting codes, you can get the source code for a Reed-Solomon decoder/encoder I wrote here:

    https://sourceforge.net/projects/rscode/

  28. Re:Resources by Unregistered · · Score: 2, Funny

    I guess ethernet and GUIs would never have been invented.

    Bah who needs 'em. I've got a CLI(and it even runs at 1280x1024 in framebuffer mode) and ethernet is overrrated. What does it do that i couldn't do with some hi-tech cans and string. Don't even have to deal with shitty construction cable breaking that way.

  29. Re:Resources by metamanda · · Score: 2, Insightful
    The salient part was not so much the leg as that it was done over christmas when everyone else was watching Charlie Brown specials. The glyphchess thing was supposed to be just gravy. Besides, someone posted a comment further up detailing some of the actual useful stuff they got out of it... it actually helped them debug the dataglyphs toolkit, and makes a nice demo to show to people who might want to give us money for that toolkit.

    I don't get why people get pissy about cool hacks like this being "useless". Art is also useless. Sitting around watching The Bachelor is useless. Getting a PhD in math is useless. People do this kind of thing because it's fun to them. What's the big deal?

  30. What if the glyphs are upside down? by Mafiew · · Score: 2, Interesting

    if / meant 1 and \ meant zero then a glyph that is /\ would be 10 right? So what if the glyph was upside down so that it looked like \/, 01? It looks like the chess scanner program tries to match the pattern with a reference so even if it is upside down it should work, but how is this "glyph" system used to encode information if the slash order become backwards when turned upside down?

  31. DataGlyphs predate the PARC spinout by alispguru · · Score: 2, Interesting

    By quite a bit, actually. Look here down around 1989.

    Also, on the same history page, in the Mid 80's section, you'll see an entry for an expert system named Pride developed at PARC. Pride helped Xerox design their first line of desktop copiers, and is quite famous within the company.

    I worked for (long lamented) Xerox AI systems from 1986-88, and consulted for them off and on through 1994, which is how I know about this.

    --

    To a Lisp hacker, XML is S-expressions in drag.