Richard S. Crawford's World
  • Home
  • Bloginomicon
  • Writing
  • Stuff
  • Contact
  • About Richard
  • Bloginomicon

    « Twitter Updates for 2008-01-04 Twitter Updates for 2008-01-07 »

    Print This Post Print This Post

    The Penguin and the Python

    Posted 11 months, 0 days ago., on Sunday, January 6th, 2008, at 12:43 pm

    the-penguin-and-the-python
    For my birthday, the CWW (Coolest Wife in the World, which is how Jennifer will be referred to in my journal from here on out, if I remember to do so) got me one of these:

    It’s one of these, a Tux Droid from Kysoh.  Basically it sits next to your computer and Does Things.  Its eyes can blink and glow, its wings flap, it can spin.  It hooks up to your Linux computer via USB, and your system will even see it as a USB sound device, so you can play music through it.  Of course, the sound quality isn’t that good, so its sound card is much more fun when you run a voice synthesizer through it.  In brief, it spins, talks, glows, flaps its wings and moves its beak.  Oh, and it has sound sensors, light sensors, and a number of push buttons on it, so it be more or less interactive as well.  Bring some voice recognition software onto your computer, hook up a microphone, and you can even have a conversation with it.

    You program it in Python, which is a programming language I don’t actually know.  Remember how I said that this year I was going to focus more on my geekery?  Well, here’s the perfect opportunity.  I did a little reading and picked up a book and this morning I wrote up a little application that I’ve been intending to build for awhile now: a little timer that tells you to get off your computer for ten minutes every hour.  So it counts down for fifty minutes (during this time you can poke its head button to make sure it’s still awake — it says, "Yes, I am awake, stop hitting me!"), then spins around and flaps its wings and tells you to go play outside.  In ten minutes you get to come back, though during that ten minutes you can press the button on its head to get another five minutes.  It’s a pretty simple program, but for my first Python project, I think it’s pretty cool.  I’ve got some ideas for extending it, too.

    At some point I will take a video of it doing a little dance that I programmed, but that requires a little more time, and I’m feeling pretty lazy this morning.

    RSS feed | Trackback URI

    1 Comment»

    Comment by infixum Subscribed to comments via email
    2008-01-06 13:39:11

    A bunch of people got one of these at OSCON in Portland last summer. Cool little invention. There were so many at the airport that the security folks didn’t even blink an eye when they saw another one coming.
    Learning Python will probably prove useful in your job. There are a lot of libraries (modules) that make different tasks easier.
    Go Tux Droid!

     

    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

    Subscribe without commenting

    Tags


    Archives

    January 2008
    S M T W T F S
    « Dec   Feb »
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
    Full Archives

    Last 10 Entries

    Story of the Week #19: Thanksgiving with my Family

    On Living in the Future

    Story of the Week #18: Terrible Tales for Tiny Trolls - Creepy Beauty

    Using the Creative Zen X-Fi with Linux

    World Philosophy Day

    More on prop 8 (I can’t help myself)

    Story of the Week #17: Little Fluffy Wiggletoes and the Big Revenge

    Proposition 8: The Aftermath

    Story of the Week #16: Terrible Tales for Tiny Trolls - Moldylocks

    Speechless


    Subscribe


    Meta


    Log in
    Valid XHTML
    XFN
    WordPress

    All original content on this site copyright ©1994 - 2008 by Richard S. Crawford. Unless noted otherwise, all content is protected by a
    Creative Commons Attribution/NonCommercial/NoDerivatives 3.0 license.


    Creative Commons License

    Powered by WordPress