Jabberwocky In ActionScript 156
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.
Ugh (Score:2, Funny)
Oh My (Score:4, Funny)
Re:Oh My (Score:5, Funny)
Re:Oh My (Score:3, Funny)
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.
Re:Oh My (Score:1)
Re:Oh My (Score:1)
Re:Oh My (Score:1)
Re:Oh My (Score:1)
How about... (Score:1)
I failed "Fundamentals of Computer Science" the first time, you insensitive clod!
Oh wait... this isn't a poll. Carry on then.
Re:Oh My (Score:1)
Re:Oh My (Score:2)
2b || !2b
I'm hard pressed to think of a language (at least a modern one) where that ISN'T correct syntax wise.
Re:Oh My (Score:2)
is valid where a variable does not need a special character ($ToBe or the like).
(2*B) || !(2*B)
Has the same problem. Variables sometimes need something special to make them variables, and sometimes not. You're kind stuck.
Although...
#define $B B
(2*$B) || !(2*$B)
Passes languages that use the CPP and also PHP (unary comment). (Just tested in gcc)
--
Evan
Re:Oh My (Score:2)
A feeble effort (Score:1, Offtopic)
Shakespeare in Perl in Journal [slashdot.org]
Re:Oh My (Score:1)
The Dead Parrot Sketch [humorlinks.com] in Python?
Been there, done that :) (Score:2)
First scene from Macbeth [perlmonks.org]
cLive ;-)
Uhh (Score:5, Insightful)
Re:Uhh (Score:2, Funny)
Re:Uhh (Score:2)
Re:Uhh (Score:3, Insightful)
Everyone thinks they can be The Onion, and they can't. Sorry guys.
Re:Uhh (Score:2, Funny)
#define they The Onion
Re:Uhh (Score:2)
The original... (Score:5, Insightful)
...made more sense.
Re:The original... (Score:1)
bug? (Score:3, Funny)
Okay, but does it compile? (Score:5, Insightful)
I think the Obfuscated C Code Contest poems in C were better, as they at least had to compile to something useful.
Re:Okay, but does it compile? (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
turdhead.com??? (Score:1, Funny)
free time... (Score:2, Funny)
The original (Score:5, Informative)
'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.
Re:The original (Score:2, Informative)
Re:The original (Score:2, Interesting)
raths['mome'].outgrabe()
might be more appropriate...
Correct! (Score:3, Interesting)
Re:Correct! (Score:2)
16. The opening stanza of " Jabberwocky" first appeared in Mischmasch, the last of a series of private little "periodicals" that young Carroll wrote, illustrated and hand-lettered for the amusement of his brothers and sisters. In an issue dated 1855 (Carroll was then twenty-three), under the heading "Stanza of
Carroll then proceeds to interpret the words as follows:
BRYLLYG ( derived from
Re:Correct! (Score:2)
Re:The original (Score:1, Funny)
Jabberwacky
Twas Brillo and G.E. Stoves
Did Proctor-Gamble in the Glade
All Pillsbury were the Tasty Loaves
And in a Minute Maid
"Beware the Station Break, my son,
The voice that lulls, the ads that vex,
Beware the Doctor's Claim and shun
That horror called Brand-X!"
He took his Q-Tip swab in hand,
Long time the Tension Headache fought,
So Dristan he by a Mercury,
And Bayer break'd in thought.
And as in Bufferin Gulf he
Humpty Dumpties interpretation (Score:2)
Re:The original (Score:2)
The tide has changed (Score:3, Insightful)
Flash is good (Score:3, Funny)
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.
Re:Flash is good (Score:2, Insightful)
Click to View is better... (Score:4, Insightful)
Re:Click to View is better... (Score:2)
Re:Click to View is better... (Score:2)
Re:Flash is good (Score:2)
And the (smallish) AMD64 crowd is at least at an advantadge since we can at least setup a 32 bit subsystem and use that hack to run 32 bit binaries. It does require installing a second copy of most of the OS though. So you end up with the regular 64
Re:Flash is good (Score:5, 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.
Re:Flash is good (Score:3, Insightful)
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.
Re:The tide has changed (Score:1, Informative)
Uh, no. What makes you think that? Flash is *everywhere*. Hell, even Slashdot show Flash ads.
So the player isn't open source. Big deal. Macromedia provide specs so you can write your own player and embrace it.
Re:The tide has changed (Score:1)
If you spent some rube time surfing, you would know that there are only too many Flash only sites still around.
Re:The tide has changed (Score:5, Insightful)
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.
State of Flash (Score:3, Insightful)
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.
Re:The tide has changed (Score:2)
Re:The tide has changed (Score:1)
Re:The tide has changed (Score:1)
That's a rather colourless comment.
Re:The tide has changed (Score:1)
True geeks? (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... ;)
Re:True geeks? (Score:2)
Here is the plugin.
When will you have the DeCSS port done?
Er, HERE is the plugin. (Score:2)
Actionscript login systems (Score:1, Insightful)
Re:Actionscript login systems (Score:5, Insightful)
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...
Naw - I'd rather see ActionScript Wumpus (Score:2, Funny)
It would have to be the Doom III engine, then.
Re:Naw - I'd rather see ActionScript Wumpus (Score:1)
The Hunting of the Snark (Score:4, Insightful)
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.
Re:The Hunting of the Snark (Score:1)
Huh? How is ActionScript not "seriously object oriented"?
ActionScript 2 (which is nearly identical to ECMAScript 4) is a dynamically-typed object-oriented language that's really a joy to work in... much more pleasant, IMHO, than, say, Python, since it also allows for compile-time type checking without compromising the dynamic typing
Bragging about Flash on Slashdot? (Score:5, Funny)
Re:Bragging about Flash on Slashdot? (Score:3, Funny)
Why is everyone so jealous of my PC!
Re:Bragging about Flash on Slashdot? (Score:2)
Re:Bragging about Flash on Slashdot? (Score:1)
I ran that exact setup (with 12M RAM on a 106 Meg [yes, MEG] hard drive) and it ran '95 fine.
Running applications other than notepad or the solitaire games made for some fun load times, but they still ran fine.
Re:Bragging about Flash on Slashdot? (Score:1)
I was hurting until I ran dblspace and put RAM Xtender (or some other shitty program of that nature) on there.
Perl Poetry (Score:4, Informative)
What about Shockwave/Director (Score:1)
WTF? (Score:4, Funny)
Faust (Score:1)
Re:Faust (Score:1)
Actually it is "Goethe" not "Göthe"
Re:Faust (Score:1)
Goethe[sic] might agree (Score:2)
I like the ? thing (Score:2)
Can't be worse than Vogon! (Score:3, Funny)
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...
... That's the question! (Score:1)
|_[NOT]___[ ]
Couldn't draw logic gates in ASCII art, but if you follow it, it reads "Two 'B' or not two 'B'"
Re:... That's the question! (Score:1)
get a blue one, coz theyre cooler.
Dodgy URLs on Slashdot? (Score:2)
For those that don't know, the link is to "turdhead.com"
Sheesh!
Re:Dodgy URLs on Slashdot? (Score:5, Insightful)
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)
Re:Dodgy URLs on Slashdot? (Score:2)
Of course, the admins hold our hands very nicely with links like this [google.com] because of something to do with goats, I understand. Just never expected them to post one themselves.
Oh, and thanks for the pointless flame [winternet.com]; been ages since I had one of those.. reminds me
Re:Dodgy URLs on Slashdot? (Score:2)
I am a sysadmin and was removing a stupid trojan from a users account when I posted that, so more venting than was necessary. Uh...regarding flames, usenet etc...I am uh...chronologically advanced
Re:Dodgy URLs on Slashdot? (Score:2)
I figured it sounded a bit like that.. I'm a VB programmer (bad enough in itself) and my machine has decided that it likes doing its own thing this week, thank you. So I'm pretty tetchy myself
Re:Dodgy URLs on Slashdot? (Score:1)
turdhead is about the equivelent of "doodoo-head", which is something the 3 yr olds call eachother. Maybe it's not all
Re:Dodgy URLs on Slashdot? (Score:2)
So do I, but I knew a guy whose job it was to go through every single link everyone in the company had visited. They checked everything. It was a client site, and I'm very glad I don't work there any more, thank you. Had great fun making up outrageous URLs on my last day, though..
It happens. There are plenty of paranoid/anal companies out there to work for.
turdhead is about the equivelent of "doodoo-head"
Not in th
Actually ActionScript has grown up (Score:5, Informative)
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
huuurrahhh (Score:1, Interesting)
after all - lets be honest - its a hell of a lot nicer to look at than anything acheivable in HTML (And a lot more reliable not so much of that browser difference issue to worry about).
and yes this is from experience - i use flash as The tool for the front end side of projects.
eg,
a net based multi player quiz (- xmlsocket comms back to server)
interactive educational tools.
data reporting front end (loading xml data and graphically displaying it).
Re:Actually ActionScript has grown up (Score:3, Insightful)
Re:Actually ActionScript has grown up (Score:2)
Flash = Thin Client (Score:3, Informative)
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 [oreilly.com], 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.
Bah (Score:4, Informative)
Re:Bah (Score:2)
Using the Flash Player to solve problems (Score:1)
DENG is a browser written in Actionscript 1 (zero install deployment of latest web standards to the vast majority of web users that have the Flash Player 6 VM installed). Partly supports CSS3, XHTML, XForms, XFrames, SVG, SMIL, ..
barely brillig ... (Score:3, Funny)
I don't know what's more sad (Score:1)
The fact that I know the entirety of Jabberwocky by heart or the fact that I understood exactly how every step of the ActionScript code related to the poem.
I've never felt like as much of a nerd as I did while reading that :(
I'm still waiting... (Score:2)
Lewis Padgett (Score:2)
Re:Three words "Sony Sonicstage Sucks" (Score:1)
1. Program "X" is poorly written
2. Program "X" is written in Language "Y"
3. Therefore, Language "Y" is incapable of producing anything but poorly written programs
Sigh...