Slashdot Mirror


Jabberwocky In ActionScript

VeryVito writes "You can tell Flash programming is beginning to grow up: It's not just for designers anymore, but for real, honest-to-goodness tech geeks. As evidence, I present The ActionScript Jabberwocky. Enjoy!" It's almost as good as reading it in the original Klingon.

23 of 156 comments (clear)

  1. Oh My by MikeDX · · Score: 4, Funny

    Jabberwocky in actionscript.. What's next may I ask? Shakespeare in perl?

    1. Re:Oh My by ESqVIP · · Score: 5, Funny
      Ohh, that's old. At least in regular expressions:
      /bb|[^b]{2}/
      I remember seeing that in a ThinkGeek t-shirt.
    2. Re:Oh My by WebMasterP · · Score: 3, Funny

      To add a little geek to this, my friends and I have long discussed that isn't actually correct.

      To be or not to be implies an exlcusive or (known to some as XOR). That regular expression matches both 2-b's or not 2 b's.

      I know, we have to much time on our hands.

  2. Uhh by lightdarkness · · Score: 5, Insightful

    I'm a tad confused, are we supposed to find this funny?

    1. Re:Uhh by DNS-and-BIND · · Score: 3, Insightful
      Much of the homemade "humor" on the internet is like this. Someone's good idea that doesn't really fly. It would have been good for a faint smile if it had been aimed at a much, MUCH narrower audience instead of at Slashdot.

      Everyone thinks they can be The Onion, and they can't. Sorry guys.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
  3. The original... by Black+Parrot · · Score: 5, Insightful

    ...made more sense.

    --
    Sheesh, evil *and* a jerk. -- Jade
  4. bug? by osmethnee · · Score: 3, Funny

    surely 'brillig' should be set to true?

  5. Okay, but does it compile? by Vo0k · · Score: 5, Insightful

    And if so, what does it do? I guess not much of an useful thing.
    I think the Obfuscated C Code Contest poems in C were better, as they at least had to compile to something useful.

    --
    Anagram("United States of America") == "Dine out, taste a Mac, fries"
  6. The original by Hew · · Score: 5, Informative

    Lewis Carroll

    'Twas brillig, and the slithy toves
    Did gyre and gimble in the wabe;
    All mimsy were the borogoves,
    And the mome raths outgrabe.

    "Beware the Jabberwock, my son!
    The jaws that bite, the claws that catch!
    Beware the Jubjub bird, and shun
    The frumious Bandersnatch!"

    He took his vorpal sword in hand:
    Long time the manxome foe he sought--
    So rested he by the Tumtum tree,
    And stood awhile in thought.

    And, as in uffish thought he stood,
    The Jabberwock, with eyes of flame,
    Came whiffling through the tulgey wood,
    And burbled as it came!

    One two! One two! And through and through
    The vorpal blade went snicker-snack!
    He left it dead, and with its head
    He went galumphing back.

    "And hast thou slain the Jabberwock?
    Come to my arms, my beamish boy!
    O frabjous day! Callooh! Callay!"
    He chortled in his joy.

    'Twas brillig, and the slithy toves
    Did gyre and gimble in the wabe;
    All mimsy were the borogoves,
    And the mome raths outgrabe.

    --
    /cj
  7. The tide has changed by larsl · · Score: 3, Insightful

    I think it's been two years since I've had to email a webmaster and ask, "Flash only--WTF?" There are still some rubes in non-tech industries that load up on Flash crap, but isn't Flash mostly an anachronism these days?

    1. Re:The tide has changed by PhoenixFlare · · Score: 4, Insightful

      but isn't Flash mostly an anachronism these days?

      Only if you hold to the attitude that if you don't like or find something useful, then nobody else could possibly get any value out of it.

      Which seems to be all too common around here, sadly.

      Flash can be a great tool for animation, games, and even site navigation if used properly.

  8. True geeks? by dmayle · · Score: 5, Insightful

    You can tell Flash programming is beginning to grow up

    Quite the contrary. I'll believe it's beginning to grow up when I see a non-Macromedia plugin, and someone's ported DeCSS to it... ;)

  9. The Hunting of the Snark by panurge · · Score: 3, Insightful
    To be proper Flash, this needs massive load times. What about doing the Hunting of the Snark?

    Actually, Dodgson needs to be encoded in a seriously object oriented language. The various characters have methods and properties...it'll look better after I've slept on it.

    --
    Panurge has posted for the last time. Thanks for the positive moderations.
  10. Bragging about Flash on Slashdot? by DeComposer · · Score: 4, Funny

    Isn't that like bragging about your Packard Bell 486SX-25 running Windows 95 on a 14" grayscale monitor? With no mouse?

    --


    Karma
  11. Perl Poetry by Rufus211 · · Score: 3, Informative

    I personally think that most Perl Poetry is far more interesting and original.

  12. WTF? by jonr · · Score: 3, Funny

    What idiot greenlighted this? Oh...

  13. Re:Dodgy URLs on Slashdot? by mr_z_beeblebrox · · Score: 5, Insightful

    May I please ask, for the benefit of those of use whose web URLs are logged at work

    Might I ask that to avoid being a luser you look to see what you are clicking on and don't depend on the admins to hold your hand? Seriously, that attitude is WHY viruses and trojans spread (albeit different circumstances)

  14. Actually ActionScript has grown up by Qbertino · · Score: 4, Informative

    Because MM ignored Linux, I ignored Flash for two years after having finished some large projects with it (and thus noticed it's shortcomings), but earlier this year a client aproached me with a large Flash / ActionScript job and after looking into it I took the challange.
    The MM Flash IDE is as crappy as ever, but ActionScript 2 is a full range PL, very similar to Java. With proper exception handling, OOP and all that stuff.
    as. files can be imported and compiled in meaning you don't have to use MMs shoddy AS editor anymore. Despite the utter crap that's said about AS and Flash on /., it is a powerfull technology with some very cool and unique features. And it's powerfull VM is *very* small by modern standards. Due to the fact that Flashers usually can't programm very well it isn't catching on that good, but I expect Flash/AS 2 to gain serious foothold in other territories than 'flashy websites' very soon. Ming and Xical, for instance, are good examples for serious OSS projects using Flash/ActionScript.

    --
    We suffer more in our imagination than in reality. - Seneca
  15. Re:Actionscript login systems by Jotham · · Score: 5, Insightful

    So basically...

    Flash allows me to use if statements
    Some people use this to write if (answer=="Password") {...
    therefore I should be wary of flash

    And this is modded as Insightful?

    Just another, "You can do stupid things in Flash, therefore Flash is bad", post. Wouldn't the better lesson to be learnt be, don't trust client-side code as security.

    PS. Drag a C/C++ program in notepad and you can see all it's ASCII strings too...

  16. Click to View is better... by FooAtWFU · · Score: 3, Insightful

    I prefer the Flash Click to View extension for Firefox (although I haven't seen a version for 0.9! WHERE'S MY VERSION FOR 0.9?!?!?!). This replaces the Flashiness with abig grey button I can click if I want it to show for some reason (the inane web site). I find that WITHOUT the plugin, I get message boxes complaining about the lack of the plugin far too often.

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  17. Re:Flash is good by edremy · · Score: 4, Funny

    The player may be widely distributed but it won't run on Linux on my AMD64 machine (or a Mac, or a number of other architectures)

    That's funny- my (OSX) Mac runs Flash just fine. It also runs Flash fine in Classic emulation mode Not only that, I've got the MX development kit for it, which is indistinguishable from the PC version.

    Or do you mean Flash isn't available for Linux running on a Mac? I'm sure all 3 of you must be very unhappy. If you're using odd combinations of hardware, don't expect to get much commercial support.

    --
    "Seven Deadly Sins? I thought it was a to-do list!"
  18. Bah by xenostar · · Score: 4, Informative

    All the Flash-bashing on Slashdot has got to stop. Macromedia has done an outstanding job with Flash. They developed an extremely efficient file format (take a look at the SWF file format specification, it's truly beautiful), they opened it for everyone to use. They developed a powerful language, that, although of course interpreted, compiles into something as close to a binary as you can get. Yes, their IDE costs money, and there's no native linux version, but i see people who paid money for MSVS bitch about it, and i dont have to explain the irony here. And as far as a native linux version, well, that is for the same reasons that no other major company ported their software, because not enough people would buy it. So, please, stop harping on it so much, it's a result of many people's hard work and cudos to them for making it so popular.

  19. barely brillig ... by jabberwock · · Score: 3, Funny

    BeWARE, dammit. Time for a new username.