Uncategorized

Werewolf countdown?

Just an idea, using a cool Inkscape/SVG trick AndyFitz taught at LGM last May :)

update: wrote some python to do the updating, just not sure how to proceed now.

Discussion

10 thoughts on “Werewolf countdown?

  1. oohh. i likey :)

    That is nice one. but if you can post some tangy bluesh background and if this can be PUT at Fedora main-page, Would rock :).

    And if there is nice embed script for users to put it on blogs/sites (where it will change days automagically) would rock.

    Just some thoughts.

    Happy Fedora user,
    Anshuman.
    linuxtruthiness.blogspot.com

    Posted by Anonymous | October 21, 2007, 8:19 am
  2. Good idea !

    Good idea… We are to add it on fedora-fr.org website. How are you going to manage it? Are you planning to update it every day, then pointing to it, nobody but you would have to update it? :)

    Then, isn’t Fedora8 supposed to be released on November the 8th ?

    Cheers,

    MrTom

    Posted by Anonymous | October 21, 2007, 9:38 am
  3. svg file

    Can you give a link to the svg file.

    I can’t get it through the mailman archive.

    Posted by Anonymous | October 21, 2007, 11:58 am
  4. I love it!

    Posted by jkeating | October 21, 2007, 12:13 pm
  5. it’s tw2113

    So “Werewolf” won for codename voting? I heard kvass did originally

    Posted by Anonymous | October 21, 2007, 4:15 pm
  6. Ah-ooooo, werewolves of Fedora

    I saw a werewolf with a Compviz menu in his hand
    Walking through the streets of Boston in the rain
    He was looking for a place called Fed Ho Ro’s
    Going to get a big dish of packages Yum mein

    Ah-ooooo, werewolves of Fedora
    Ah-ooooo
    Ah-ooooo, werewolves of Fedora
    Ah-ooooo

    If you hear him howling around your Server door
    You better not let him in
    Little old admin got mutilated late last night
    Werewolves of Fedora again

    {Refrain}

    Their the hairy-faced gents who ran amok in Swansea,
    Lately they’ve been overheard in Raleigh
    You better stay away from them
    They’ll rip your deb’s out, Mark
    Ha, I’d like to meet his lawyer

    {Refrain}

    Well, I saw David Jones walking with the DVD
    Doing the werewolves of Fedora
    I saw Jesse Keating walking with the DVD
    Doing the werewolves of Fedora
    I saw a werewolf making a Respin at Trader Vic’s
    His LiveCD was perfect

    Ah-ooooo, werewolves of London
    Ah-ooooo, werewolves of London

    Original Lyrics by LeRoy Marinell, Waddy Wachtel, and Warren Zevon
    Mutilated as a Parody by Stephen Smoogen

    Posted by Anonymous | October 21, 2007, 6:07 pm
  7. I have to type it in by hand? Lame!

    And not only do I have to type it in by hand, *and* run a script, I have to do it *every day*. Screw that. The whole reason I got into computers is because I’m exceptionally lazy.

    Change the > that closes your <svg> tag into this, and open it in Firefox:

       onload="init()">
    <script><![CDATA[
    function init() {
      var ship = new Date(2007, 10, 8);
      var today = new Date();
      var diff_ms = ship.getTime() - today.getTime();
      var diff = Math.ceil(diff_ms/(1000*60*60*24));
      document.getElementById("count-text").childNodes.item(0).nodeValue = diff;
    }
    ]]>
    

    Laziness maintained: no more work for weeks!

    Posted by Anonymous | October 22, 2007, 1:12 am
    • Re: I have to type it in by hand? Lame!

      um, no, you don’t have to type it by hand. if you looked at the link i gave in the original post you would see that i meant for a python script to modify the value. my idea was to have a cron script that at midnight every night would update the value and use the inkex library to export a new png using inkscape. sites that wanted to display the counter could simply use the image from the host where the script was running.

      the problem with embedding a script in the svg is that this svg has features that firefox can’ render (eg the blur) so it’ll look funky, plus it relies on fonts that most people won’t have…

      Posted by mairin | October 22, 2007, 2:40 am
      • Re: I have to type it in by hand? Lame!

        any link we can use on our homepages referring to an up2date image?

        Posted by Anonymous | October 23, 2007, 2:26 pm
Follow

Get every new post delivered to your Inbox.

Join 55 other followers

%d bloggers like this: