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.

39 of 156 comments (clear)

  1. Ugh by DrMrLordX · · Score: 2, Funny

    No more Romulan Ale at diplomatic functions! Jeez.

  2. 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.

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

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

    1. Re:Uhh by essreenim · · Score: 2, Funny

      Flash. An archaic 21st century tool designed to cripple the speed of the most powerful machine

    2. 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. Re:Uhh by maxwell+demon · · Score: 2, Funny

      Of course they can be The Onion, at least in C:

      #define they The Onion

      --
      The Tao of math: The numbers you can count are not the real numbers.
  4. The original... by Black+Parrot · · Score: 5, Insightful

    ...made more sense.

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

    surely 'brillig' should be set to true?

  6. 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"
    1. Re:Okay, but does it compile? by FoboldFKY · · Score: 2, Interesting

      Perhaps, but this is an ActionScript programmer. If he had the requisite skills to munge the C preprocessor to produce poetry in code (that love letters one being my favourite), then he wouldn't be programming in ActionScript!

      ...he'd be programming in Perl :P

      --
      We're geeks... We're the sorcerers of the modern-day world. --
  7. free time... by zxflash · · Score: 2, Funny

    ah the benefits of having lots of free time on your hands :)

    --

    All the torrents you could want.
  8. 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
    1. Re:The original by lahi · · Score: 2, Informative
      And obviously the Flash programmer didn't understand a word of it, otherwise he would have written
      mome.outgrabe(raths)
      rather than
      mome.raths(outgrabe)
      -Lasse
    2. Re:The original by mad.frog · · Score: 2, Interesting

      Depends. I always assumed that "mome" was an adjective describing "rath", presumably a noun, in which case

      raths['mome'].outgrabe()

      might be more appropriate...

  9. 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.

  10. 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... ;)

  11. Naw - I'd rather see ActionScript Wumpus by Zawash · · Score: 2, Funny

    I'd rather see a nice, fancy Hunt the Wumpus ActionScript - but I'm not sure a graphical interface would do the game justice..
    It would have to be the Doom III engine, then. :)

    --
    File not found. Fake it(Y/N)? _
  12. 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.
  13. 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
    1. Re:Bragging about Flash on Slashdot? by mr_z_beeblebrox · · Score: 2, Funny

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

      Why is everyone so jealous of my PC!

  14. Perl Poetry by Rufus211 · · Score: 3, Informative

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

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

    What idiot greenlighted this? Oh...

  16. Flash is good by Jeppe+Salvesen · · Score: 2, Funny

    to some degree. The player is widely distributed, so if you have the creativity and talent to make something richer than plain ole web pages - why not?

    Just make a really plain html version - those people who have either disabilities or an anti-flash bias will appreciate the simplicity as their browsers or minds respectively will not be able to process all that pretty design anyhow.

    --

    Stop the brainwash

    1. 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!"
    2. Re:Flash is good by Fred_A · · Score: 2, Insightful

      And *oh surprise* all Windows users can also run Flash player without trouble. I know it runs on MacOS, don't be silly.

      However all users of odd combinations of hardware and software end up making quite a lot of people in the end. And the point of the web actually *is* to make documents device independant. Using Flash for navigation or vital content breaks that.

      --

      May contain traces of nut.
      Made from the freshest electrons.
  17. Can't be worse than Vogon! by tod_miller · · Score: 2, Funny

    Computing magazine (UK) has a back-bytes page which showcased some funny computer language based lyrics and poems.

    Jabberwocky is a fantastic piece of work, it is the picasso of text, the lurid incandecent imagination of profound insanity.

    I think it should be in Python, Perl and php (sic) now.

    Lets not forget JavaWocky...

    --
    #hostfile 0.0.0.0 primidi.com 0.0.0.0 www.primidi.com 0.0.0.0 radio.weblogs.com
  18. 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)

  19. 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
    1. Re:Actually ActionScript has grown up by FuzzyBad-Mofo · · Score: 2, Insightful

      Too bad there's no free tools to make Flash. Sorry but I'm not paying Macromedia $500 to develop for their format. At least the J2SDK is freely available.

  20. 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...

  21. 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.
  22. Flash = Thin Client by truffle · · Score: 2, Informative

    Flash has grown up. What it represents (to me) is a potentially really solid thin client for building remote applications.

    Why not use Java? Well compare the amount and quality of flash games to java games, that's my metric for my belief that at least for gaming, that flash is probably a better dev environment.

    But the huge problem right now is the lack of quality documentation/tutorials/books on actionscript 2.0 (released last november). It's not completely backwards compatible. Most of the books are oriented towards dumbasses, and they are just actionscript 1.0 books with the code tweaked so it works on 2.0 (i.e. not OOPy).

    If anyone has a good recommendation in terms of actionscript 2.0 books, I'd appreciate it. I have this one, which is a good book, but is very oriented towards AS1.0 programmers moving to AS2.0. It's hard to find a book that is geek friendly, example oriented, and designed from scratch for actionscript 2.0.

    --

    ---
    I support spreading santorum
  23. State of Flash by jaaron · · Score: 2, Insightful

    Flash is alive and well. It's increasingly used for games, ads, online cartoons, and what are often called "rich internet applications."

    Like any other technology, Flash has its place. It can be abused (like javascript) but also fills a niche and solves many problems very well (IMHO much better than Java Applets). I doubt you'll find someone writing up technical documentation in it, but for a web based interactive game or animation, it's a good choice.

    --
    Who said Freedom was Fair?
  24. 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.

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

    BeWARE, dammit. Time for a new username.

  26. Correct! by overunderunderdone · · Score: 2, Interesting
    Correct, at least as far as it can be. Carroll has Humpty Dumpty give an explanation:
    "And then 'mome raths'?" said Alice. "If I'm not giving you too much trouble."

    "Well a 'rath' is a sort of green pig, but 'mome' I'm not certain about. I think it's sort for 'from home'--meaning that they'd lost their way, you know."

    "And what does 'outgrabe' mean?"

    "Well, 'outgribing' is something between bellowing an whistling, with a kind of sneeze in the middle: however, you'll hear it done, maybe--down in the wood yonder--and when you've once heard it, you'll be quite content. Who's been repeating all that hard stuff to you?"

    "I read it in a book", said Alice.
    Then again Carroll contradicts Humpty Dumpty's interpretation in other explanations he gave elsewhere (though AFIAK this particular line wasn't part of that other explanation).