Slashdot Mirror


Linux Toys

Alex Moskalyuk writes "Remember those 'how-to' and 'home improvement' books that you enjoyed reading as a little kid? In the first half of the last century there was a variety of books, with names like 'Boy Mechanic' or '1,000 Projects for a Boy,' which would give a teenager a variety of projects to work on productively. Building bird houses, creatively reusing helmets from World War I, and later different projects that had to do with radio and transistors - in the pre-television age all that guaranteed some creative time for geeks (whether kids or adults) and allowed them pick up skills, necessary perhaps in real life." Alex reviews below a book that fills a similar niche for the present day, outlining all 13 projects in Linux Toys: 13 Cool Projects for Home, Office and Entertainment. Whether you'd consider all of the projects toys is up to you. Linux Toys: 13 Cool Projects for Home, Office and Entertainment author Chris Negus. Chuck Wolber pages 360 publisher John Wiley & Sons rating 9/10 reviewer Alex Moskalyuk ISBN 0764525085 summary Variety of Linux-based projects for home, business or just for fun

Things changed in 21st century, so what's a geek to do? As for the household products, you can probably always get stuff cheaper at Wal-Mart than build it yourself. Radio-related projects just don't seem that much fun anymore, since there's little sense of discovery.

Linux Toys is just the book that fills that void.

What's covered Chris Negus (author of the Red Hat Linux Bible) and Chuck Wolber (from Tacoma LUG) came up with 13 different projects that one can do at home. All of them require a PC running Linux (the authors use and recommend Red Hat Linux 9, since that's the environment where the projects have been tested) and a variety of hardware (including none besides the PC), depending on which project you decide to go with. What are the projects? The entire listing is at the book's Web site, but here's a list of all thirteen with short descriptions of what's accomplished in the end (not necessarily in the same order as the chapters):
  1. Digital Picture Frame: excellent endeavor if you have an old useless laptop with nice LCD screen lying around. The book has detailed step-by-step guide with pictures on how to turn an old laptop into a fancy picture frame playing a slideshow of digital images stored on the hard drive locally or uploaded from network (in case the old laptop has a network card and you decide to keep it when assembling the picture frame). By the way, these things do cost a lot commercially, while P200 and lower laptops are virtually free.
  2. Arcade Game Player: how to turn an old computer with a good monitor into the arcade game player running XMame. Your house guests can then use joystick to play Donkey Kong, Pac-Man, Asteroids at your next Blast from the Past party.
  3. Digital Answering Machine: using the Red Hat Linux box as an answering machine that listens for incoming telephone calls (via vgetty), converts the voice messages into digitally compressed sound files and notifies the receiver about new voice message via e-mail.
  4. Home Music System: have an old PC with fairly large hard drive and some good home entertainment speakers? This project allows the reader to build a jukebox used to play Ogg Vorbis files. The authors use ltJukebox and freedb for music management and information retrieval. The ltJukebox software (which comes with the book's CD) automatically rips the music CDs into .ogg files, though digitizing your collection (if you haven't done it yet) might take a while. After that, however, a standalone computer nicely tucked somewhere in the room behind the speaker system can provide for hours of music. And if you plug it into the network, you'll have the ability to change settings and playlists via telnet.
  5. Home Video Archive: ever wanted to digitize your VHS collection? This chapter uses ffmpeg and nvrec for capturing and xawtv for adjusting television input. The authors then use Hauppauge WinTV Go and WinTV Theater TV capture card and then record the videos off the TV input into an AVI file. The resulting file is then burned to a CD/DVD (still using Linux tools) as well as into the VCD format that's recognized by most DVD players.
  6. Personal Video Recorder: ever dreamed of cutting TiVo's market share with your own devices? Well, perhaps, maybe within just one market -- your house. The authors use the same nvrec utility to record the TV input, XmlTV and WebVCPlus for downloading the data on television shows and using Web interface to choose the ones you would like to record. Unlike TiVo though, this home-built digital PVR can only play the recorded shows on a Linux PC in AVI format, but if you followed the previous project, you can burn the resulting file into VCD format.
  7. Providing dial-up access: this basic project is perhaps familiar to all those who bear the title Network Administrator or used to work for an ISP, but for beginners in the field (and especially for beginners with Linux) it provides a detailed step-by-step plan on how to setup your own dial-up server and become a small ISP. A computer permanently connected to the Internet with a static IP is required for this project.
  8. Web hosting business: assuming that a computer with static IP address from the previous project and a domain name are available, this project takes the reader through the details of becoming a Linux hoster. This project is especially interesting, since it's applicable to those who have pretty good knowledge of the OS. Numerous online how-to's and manuals take you through separate processes, like adding user accounts, configuring Apache, setting up disk quotas, but few are "turnkey" solutions, where after closing up the book on the last page you can start the hosting business right away.
  9. Home network with a Linux box: rather detailed description of properly configuring iptables, NAT, as well as DHCP and Samba servers to run the home network with a Red Hat Linux 9 box as a server with the firewall and various Linux/Windows clients connecting to it.
  10. Video streaming server: set up a camcorder, Web cam or security camera to broadcast the video to the Internet. The authors use a camcorder and ffserver software to stream the video.
  11. Temperature Monitor: here a temperature sensor kit from DigiTemp needs to be purchased and connected to the telephone cable, which, in turn, will connect to the parallel port. Apparently the ordering page is down as of writing this review, but DigiTemp developer uses Dallas Semiconductors temperature sensors. Then the software provided with the book (ltweather) allows you to look at the current temperature, log it consistently and display it on a Web page if needed.
  12. Linux and some games on a single floppy: re-using that 3.5'' drive for something practical is the purpose of this project. Although the result - single-floppy with some essential Linux and character-based games on it, can be hardly practical in the modern world, perhaps it's worth playing with just to see how little you need to get the whole OS going from scratch.
  13. Controlling RC cars from Linux: if you have a large collection of RC cars (and according to the spam messages I am getting, they're the hottest trend this Christmas), there's a variety of things you can do when suddenly instead of using the remote control you engage a Linux PC. Unattended races, testing your AI algorithms for entering DARPA autonomous vehicle challenge, writing some complex artificial life, where species of all sorts can see how well they can survive in a crowded world. The authors use a LynX-PORT board, a fairly expensive, but according to the authors, quite useful I/O board that could be re-used for all sorts of projects.

The Book With 274 pages of useful information (excluding the cover pages), the book creates a very favorable impression. The writing is clear and succinct; each chapter follows the same structure with an overview of the project first, the list of things needed for the project second, a step-by-step guide third, some additional information for those willing to go further fourth, and summary of the project fifth. Each step that requires interaction with a Linux box has the exact command-line instructions spelled out, no matter how basic. (On page 44, for example, the authors provide the mount /mnt/cdrom command, even though knowledge of this step is expected of a Linux user at the command line). Where interaction with the GUI is required, a screenshot is provided. The Troubleshooting section explains what might go wrong with a Red Hat Linux 9 box and how to react to it.

Furthermore, there is no dependence on previous chapters, making each project independent. You will not be told to "start up the video capturing as you have learned in the previous chapter" or refer to "previously described procedures". Theoretically, you could rip out the pages for a single project and give them to someone with no previous knowledge of the project and expect them to complete it.

Pictures are indispensable. Granted, they wouldn't be very useful for the Linux on a Floppy project, but for something like a digital picture frame, where you're required to disassemble an old laptop and play with the parts, it's essential. The pictures are all black-and-white, and by "pictures" I mean real photographs, not diagrams explaining how things should be done in theory.

The authors' sense of humor permeates the book, which makes it an enjoyable read. For example, on page 255, when completing the Linux RC toy car project, the photo of the race has a caption about every Linux car crossing the "Finnish" line. (Tip: Linus didn't always live in California). The layout of the book also makes it convenient to read and follow. A bar across the top of the page always tells you which project you're on. When enumerating the things required for the project, the authors use bulleted lists with clear explanations.

Another thing worth mentioning is the book's integration with the Web. The book's Web forums allow you to post questions and impressions from each specific project. The authors are also accepting submissions for new Linux Toys from the readers. The Web site in this sense is remarkable, as with too many technical books the so called "companion Web site" is not truly a companion, but a marketing pitch followed by a bookstore link.

Overall, I think Chris Negus and Chuck Wolber have done a very nice job. If I had more time, I would explore more of the projects personally (so far I am started on rebuilding my home network, but I do want to try out the digital picture frame, being a proud owner of Compaq LTE P100 laptop). The book would be a good read for anyone looking for some cool hobby projects, and perhaps would be a good gift for technically inclined kids, who are interested in technology.

Speaking from a different perspective, Linux Toys is the book needed by the open source community. While the usual arguments of being able to look at the OS's source code and concepts of Free software only vaguely interest most individuals, a book like this would spark interest in Linux OS as providing the opportunities to create a variety of cool toys and have fun doing it.

Read more of Alex's reviews of technical and tech business books. You can purchase Linux Toys: 13 Cool Projects for Home, Office and Entertainment from bn.com. Slashdot welcomes readers' book reviews -- to submit a review for consideration, read the book review guidelines, then visit the submission page.

28 of 226 comments (clear)

  1. Mp3elf by Anonymous Coward · · Score: 4, Interesting

    mp3elf is pretty cool. Open source design documents / diagrams, too.

  2. meh by Anonymous Coward · · Score: 5, Funny

    "it provides a detailed step-by-step plan on how to setup your own dial-up server and become a small ISP."

    how 1994.

    1. Re:meh by Total_Wimp · · Score: 3, Funny

      Not to mention setting up your home broadband connection to allow you dial-up from your grandma's house when you go to visit her.

      Why would you want to download porn on your g-ma's AOL account? Isn't she in trouble enough from all those MP3s you downloaded?

      TW

  3. age? by Savatte · · Score: 5, Funny

    Remember those 'how-to' and 'home improvement' books that you enjoyed reading as a little kid? In the first half of the last century...

    I think you vastly overestimate the average age here on /.

    1. Re:age? by A55M0NKEY · · Score: 5, Interesting

      I don't think he does overestimate the average /.-er age. Think about it: the project books that you read probably came from a dusty old bookshelf or from your local public library and were written pre-1960. Any new project books had crappy projects because they didn't want to get sued. The books from the first half of the 20th century had the really neet Van-Der-Spark generators and the X-Ray machine plans ( COOL! I can make my own X-Ray machine! All I need is copper pipe - check, tons of wire - check, a vacuum tube - check, tin foil - check, a distributer cap from a Model T - Bummer.. )

      --

      Eat at Joe's.

  4. Re:free laptops? by kryliss · · Score: 3, Funny

    Yeah, if you find out let me know...
    Just imagine a beow...... er ehem.....

    --
    --- If the bible proves the existence of God, then Superman comics prove the existence of Superman.
  5. Much more expensive now... by malfunct · · Score: 4, Informative
    The key to making the first books listed interesting to the parents of the geeks was that the projects were quite cheap to work on and used scraps from around the house. Unfortunately the linux projects use very expensive scraps that a majority of people don't have. I think that its very cool stuff but it is the sort of thing that I think most kids will only get to read and drool over because thier parents won't have the supplies to complete the projects.

    As far as buying the supplies surplus it seems that the people that have them readily available think they are gold and want around $100 to $500 for the apparant junk. It would be cool if you could collect the stuff on its way to the landfill however and use it. Thats where I got a lot of my computer pieces before I had money.

    --

    "You can now flame me, I am full of love,"

  6. Modern version of the book... by Anonymous Coward · · Score: 5, Funny

    SCO Toys: 13 Cool Lawsuits for Home,Office, and Entertainment.

    With Backward by Darl McBride

  7. Evolution by TimTurnip · · Score: 5, Insightful

    What I find most catching is the comparison between this book (more or less, toys for uber geeks), and books of last century that taught kids how to build things like birdhouses. Sure, they both let kids do fun things...but the former title encouraged kids to do something OTHER than sit on their asses. Yes, I'm a geek...but I'm comfortable with tools and physical labor; I owe that to my parents who FORCED me to go outside as a kid. I know too many guys and gals my age, who share my interests in computers, whose legs would have atrophied if the pizza delivery guy actually came IN the house. I bet the book is fun. But I'll also bet that it's no substitute for teaching "geeks" how to build birdhouses...

    --

    Chicks dig my good /. karma.

  8. It's Wolber by chuckw · · Score: 4, Informative

    My last name is spelled *WOLBER*, not *WOBLER*...

    --
    *Condense fact from the vapor of nuance*
  9. plenty of things lying around by manganese4 · · Score: 3, Interesting

    Given what I have seen dropped off on days when the local recycler let people bring in used electronics for proper disposal (you would be surprised as to amount of hazardous waste in a computer or dvd player) there should be plenty of boxes sitting in people's garages. Put those local scout troops to good use. phase out the pinewood derby and see who could build the fastest single floopy version of lunar lander or that old star trek game. If we let them use a 64 mb usb drive, they could make it networkable.

    --
    I make my face look like this and concerned words come out.
  10. Re:arcade cabinets by Anonymous Coward · · Score: 3, Funny

    Get yourself a pickup, a length of chain, and a ski mask. Contact me when this is together. I will tell you how to use it to get your very own free cabinet, at no cost to you.

  11. BSD has a similar book: by Anonymous Coward · · Score: 5, Funny

    Here are the projects:
    1. Managing graveyards
    2. Payroll for gravediggers
    3. Computerized coffins
    4. Email from beyond the grave
    5. Epitaph generators

  12. $2200.00 for a digital picture frame? by futuresheep · · Score: 4, Insightful
    The Ceiva digital picture frame is $149.95 with a $25.00 rebate.

    Product Page

    The frame dials into the Cieva site and gets it photos from there based on the ID of the Frame. Charges for this are about $3.00-$8.00 per month or so. It's 5x7 frame, and works great for any of you that want your tech-unfriendly grandmother to see new photos of her grandkids.

  13. Thanks for the review! by chuckw · · Score: 4, Informative

    Thanks Alex for the nice review. I'm glad you liked the book and that you find it useful. I'm also happy that you received the book in the hacker spirit that it was written.

    We spent a lot of time working on the projects to get them just right for nearly every situation, so the instructions are very accurate. If you find a variation that doesn't work, be sure to submit it to us over at the website.

    If you don't mind, I have two corrections to your review:

    1) My last name is spelled WOLBER (as noted in a previous post).
    2) (SHAMELESS PLUG) I spend the majority of my time at my business rather than the LUG :)

    --
    *Condense fact from the vapor of nuance*
  14. Hijack this picture by manganese4 · · Score: 3, Funny

    Could you imagine the shock granny would get when your kid's punk friends deciede to upload something besides the picture of your xmas tree?

    --
    I make my face look like this and concerned words come out.
  15. RE: Digital Answering Machine by Eberlin · · Score: 3, Interesting

    TechTV did a bit a while back on some form of digital answering machine. Leo was designing a Linux box with vgetty to replace They Might Be Giants' "Dial-A-Song" machine.

    For those that don't know, some public libraries offer a Dial-A-Story function for kids where they call up a local number and a recording plays a story that gets changed weekly or so.

    I was trying to follow it as we are looking to implement something similar for an aging system that uses 8-track. I figure a low-cost, stable, low-maintenance, little-fuss system should do the trick for a public library.

    Leo's hangup (apologies for the bad pun) was on tracking down a compatible voice modem to work with vgetty. I lost the trail since then.

    Does any retail outlet sell compatible stuff or is it really a treasure hunt for one of those voice modems that work well with vgetty?

    I figured it could be a cool thing to introduce Linux to a library that has seen nothing but MS products (thanks to a grant from the B&M Gates Foundation).

  16. Linux Answering Machine by chickenwing · · Score: 3, Interesting

    I wasted a couple weeks setting up a Linux voice mail system at work. Looking at the VOCP website, it seemed like an easy proposition, but it was quite a challenge to find a modem that actually worked with vgetty. In the end the Zoom 2949C and some hacking on the vgetty tools got the system working.

    The system is kind of cool though. You can set it up to email an ogg or mp3 to the voicemail box owner.

    It also seemed to confuse the telemarketers too, before installing the system, we got several calls a day, now we get one or two a week.

  17. My own Linux toy project by nathanroberts · · Score: 4, Interesting

    I'm a bit of a talk radio junkie. A couple years back I put together something that would record a local talk radio station 24/7. Basically it was a radio plugged into the soundcard of an old P120, which recorded it into 16kbps MP3s.

    I wrote a quick-and-dirty program that would record from the soundcard, pipe the output into LAME, and break it up into 1-hour chunks. Later versions were a bit more sophisticated, using liblame instead of piping to a separate LAME process, and using libshout to send the output to a shoutcast server on localhost live.

    There were also a couple cleanup shell scripts that would delete old files when the drive began to fill.

    But probably the most interesting part was, it was web-accessible. I had a few quick-and-dirty CGI scripts that would make an HTML index of the files, and provide links to the files, and also links to .m3u files that would stream in WinAmp or whatever when you clicked on them.

    Rather than create an .m3u file for each mp3, I just wrote a CGI script that would automatically generate an .m3u file on the fly, and scriptaliased it to an appropriate regex that would call it when an .m3u file was requested. That way the browser really thought it was downloading an .m3u file, instead of a .cgi file or something.

    Of course, I find out much later that mod_rewrite would probably have been a cleaner way to do it.

    Naturally it had NFS and SMB access as well, so I could just pull up a show from any of my Linux or Windows machines over the network.

  18. Re:1000 projects for a boy by zakezuke · · Score: 3, Funny

    How very sexist to assume only boys are wired to do mechanical or technical shit. What's on the girls shelf? "How to Get a Boy to Build You a Bird House"? "How to Get a Boy to Fix Your Toyota and Save a Bundle"? "How Suferage for Women Was a Bad Idea and That's Why You Must Fix Your Own Damn Car"?

    --
    There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
  19. Re:Whee! by pavon · · Score: 4, Insightful

    Since when did this site become News for Consumers, Stuff that's Easy? There is an imposter among us - someone call the geek police!

    Seriously if you don't concider building things (electronics, software, whatever) fun, then you are not a nerd.

  20. Boy Mechanics were deadly by mr_lithic · · Score: 3, Funny
    The machines and projects in The Boy Mechanic: 700 Things for Boys to Do were fun to read but no one with an ounce of sense would ever try to construct them.

    Some classics:

    Fourth of July Fun - aka Pipe Bombs for the Feeble of mind

    Classic Glider - They don't tell you that the original model killed the inventor Otto Lilienthal in 1896

    How to manufacture Hydrogen or Acetylene for more explosive fun!

    Thankfully today we only have idiots with the Anarchists CookBook in pdf format.

  21. Re:free laptops? by JVert · · Score: 3, Funny

    I'm going to add you to my friends list... But only because I expect a gift from you this christmas...

  22. Re:DVR by cayenne8 · · Score: 3, Informative
    Oh...and I have heard some people have problems with all the different dependencies with MythTV and all. I might recommend you give it a try with Gentoo as your Linux distro. I figured the custom compiling on my older machine would help squeezing all the power I could out of it...and just doing an emerge mythtv...downloaded everything I needed, and compiled it with my custom flags. Not to mention, that I have installed on this box, only what I need for network connectivity, my media applications, and X.

    Just a suggestion, and so far it has worked out pretty good for me...

    --
    Light travels faster than sound. This is why some people appear bright until you hear them speak.........
  23. Re:Question for answering machine fans by CrazyWingman · · Score: 3, Informative

    Check out The Speech Recognition HOWTO. It covers a variety of speech recognition systems that may be able to do what you want.

  24. Re:Do you remember by GigsVT · · Score: 3, Insightful

    I was born in the 70s and still read such books. Older books of experiments and projects for kids are much much better than the modern stuff. I guess people are too afraid of being sued to publish anything exciting.

    --
    I've had enough abrasive sigs. Kittens are cute and fuzzy.
  25. FLAC Jukebox by ratamacue · · Score: 3, Funny
    I did the jukebox, but I used FLAC instead of lossy compression. Why? Because with lossless compression, you will always have the master digital copy, bit for bit. If the original CD is lost or damaged, you still have the master copy. Not so with lossy compression. Once you go lossy, you're stuck. If you compress a WAV file into FLAC, and then uncompress back to WAV, you will have the original WAV file bit for bit. Not so with ogg or mp3.

    The jukebox is killer, but the main reason I did all this was to permanently archive my CD collection. In the event it was destroyed or stolen, I would still have the master digital copies.

    I don't think you need to use all that fancy database-driven jukebox software that he suggests in the article. I use plain old XMMS in random/repeat mode, usually with every song from every CD in the playlist (this is guaranteed to impress the guests). If you structure your directory tree by music category (rock, jazz, new age, etc) then you can easily select playlists by category.

    Of course, you will need a large hard disk in order to do this. I have one 120GB main disk, and another one for backup (yes I know it's not the most reliable backup solution), but large disks are getting so cheap that I'll probably buy another one for redundancy.

    Anyone want to buy a 5-disc CD changer?

  26. Re:Whee! by swillden · · Score: 3, Interesting

    What are the best ways to skin a cat?

    While I've never applied it to cats, here's a very slick way to skin most animals.

    Note: If you've never been exposed to the realities of gutting, skinning and butchering animals, what follows may be somewhat disturbing to you. If this describes you, I recommend skipping this post. Reading it might interfere with your next juicy steak.

    Start by cutting the skin from the genitals to the throat -- generally this is part of the gutting/cleaning process. Then cut through the skin forward of the ears, down around the side of the head and around the neck, taking care to make sure the cut around the front of the neck intersects the cut up the front. All of these cuts should go all the way through the skin to the subcutaneous fat, but not into the flesh underneath, obviously. Then cut all four legs off at the "knee", and slit the skin up the remaining stumps, connecting the cuts to the long cut up the belly/breast. Next, using the standard skinning technique of slicing the fat that connects skin to flesh, separate the skin of the top and back of the head from the head. The goal is to free a good flap of fur that includes the ears.

    Preparation complete, here's the nifty part: Tie a rope (chain for larger animals, like mule deer) around the ears. A slipknot should allow the rope to tighten quite securely around the lump created by the cartilage in the ears. Tie another rope around the head (for deer, hook it to the antlers). Attach the rope on the head to some solid object (trees work well) and the other rope to some object that can pull. For small animals, a person or two can apply enough force. For large animals, a truck is recommended.

    Next step: Pull. As long as you've got it cut in all the correct places, and as long is the animal's neck is intact (if it has been weakened by some sort of damage, it may separate) the skin should peel right off of the body.

    This is a very quick and easy way of skinning a cat, but it can fail in various ways. In particular, it may damage or rip the pelt. If you just want the skin off, or if you just want some cat leather, but don't particularly need it all in one piece, this is a good approach. Most of the time it will come off cleanly, but there are exceptions, and if it matters, you should probably stick to a more manual approach. Obviously, if the neck or the pelt do break, you'll have to fall back on the manual process anyway.

    I have a feeling that no matter what way I used, my daughter would be really, really pissed at me, though. :-(

    Very true. Try it on the neighbor's cat.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.