Discover the best of the web!
Learn more about Digg by taking the tour.
William Shakespeare's Sonnet 18 Ported to ActionScript 2.0
heavyflash.com — This has to be the ultimate of literary and programming geekdom. William Shakespeare ’s Sonnet 18: Shall I Compare Thee to a Summer’s Day? As told in ActionScript 2.0 syntax.
- 872 diggs
- digg it
- brykken, on 10/12/2007, -0/+7Favorite part:
"summer.temperature = 98;
thee.temperature = 98.6;"
That is hilarious! lol- Gaiden, on 10/12/2007, -4/+1yeah that was my favourite part too :)
- dergachev, on 10/12/2007, -0/+4Doesn't "temperate" mean moderate, rather than hot? But my "ye olde english" is a bit rusty
- PaschalNee, on 10/12/2007, -0/+2@dergachev "ye olde english". - Shakespeare would have spoken Early Modern English. Middle english is difficult to read (Whan that Aprill with his shoures sote, The droghte of Marche hath perced to the rote,) but old english is near impossible (Fæder ure þu þe eart on heofonum, Si þin nama gehalgod. - that's the Our Father b.t.w.). More at Wikipedia.
- Thurloat, on 10/12/2007, -0/+21just incase anyone else has no idea wtf Sonnet 18 is ;)
Shall I compare thee to a summer's day?
Thou art more lovely and more temperate:
Rough winds do shake the darling buds of May,
And summer's lease hath all too short a date:
Sometime too hot the eye of heaven shines,
And often is his gold complexion dimm'd;
And every fair from fair sometime declines,
By chance or nature's changing course untrimm'd;
But thy eternal summer shall not fade
Nor lose possession of that fair thou owest;
Nor shall Death brag thou wander'st in his shade,
When in eternal lines to time thou growest:
So long as men can breathe or eyes can see,
So long lives this and this gives life to thee.
pretty funny! - ElectricGrandpa, on 10/12/2007, -1/+4"this.canBreath"
Aside from that little typo/mistake, it's pretty sweet :D- paladin33, on 10/12/2007, -0/+0actually, its not a typo:
"So long as men can breathe or eyes can see,..." is how its spelled originally - ghoppe, on 10/12/2007, -0/+0Breath = noun
Breathe = verb
Therefore canBreathe is correct, sir. - scanton, on 10/12/2007, -0/+1ElectricGrandpa was right. I had a typo in the poem (aparently I can't spell breathe). But I fixed it on the page after seeing this comment. Glad everyone liked it. I was surprised to see it on Digg.
- paladin33, on 10/12/2007, -0/+0actually, its not a typo:
- Lionhart, on 10/12/2007, -28/+5nerds
- unknowndomain, on 10/12/2007, -5/+8This is the geekiest thing ever! Nice submision though!
- TimRogers, on 10/12/2007, -18/+4That is sad. No offense to the maker :P
- Iriel, on 10/12/2007, -0/+5You have no idea what circumstances can lead to such creations as this. I have a large notebook filled with an amazing sketch-anatomy study which was spawned from listening to someones college-class speech on the scientific rationalization of god. No offense to religion (honestly, it was just a terribly written piece), but when the mind wanders, strange and wonderful things can result.
- phalston, on 10/12/2007, -8/+8I dated a female programmer once that I recited this poem to (orig. version, of course), and if she were not dead to me, I would send her the link. Thanks for the memory. Excellent post...:-
- DisposableRob, on 10/12/2007, -0/+5"and if she were not dead to me"
Went that bad, huh. - reidypeidy, on 10/12/2007, -0/+20did she break up with you like this?
bool StillWantToDate()
{
return false;
}
thats what happened to me :'(. - DJNewStyle, on 10/12/2007, -0/+2Shakespeare doesn't always work. Next time, try Reznor:
http://www.lyrics007.com/Nine%20Inch%20Nails%20Lyrics/*****%20You%20Like%20An%20Animal%20Lyrics.html - cathode, on 10/12/2007, -0/+1Man, thanks for the laugh
- DisposableRob, on 10/12/2007, -0/+5"and if she were not dead to me"
- briangig, on 10/12/2007, -13/+7Shakespeare...what a fruitcake.
- dergachev, on 10/12/2007, -4/+1The real question is, if Shakespeare were alive today, would he have written this in ActionScript?
- Urusai, on 10/12/2007, -2/+3I think Shakespeare might favor Perl over ActionScript.
- GeneHACKman, on 10/12/2007, -1/+3Ruby on Rails sounds so much more poetic though, yes?
- LoungeActx, on 10/12/2007, -2/+4i think the funniest part is that this script actually validates...lol...
- timsco, on 10/12/2007, -4/+1This is not ActionScript 2.0. It is ActionScript 1.0. ActionScript 2.0 is class based and looks more like java than javascript.
- NGliam, on 10/12/2007, -4/+4I'm an actionscripter and I can definitly say this is AS2.
1. AS1 did not have the && operator (it used the word and instead)
2. AS1 didn't have strict data typing
3. etc, etc.
Dugg just because it's about AS, it's quite impressive though.
I would have been more impressed if it was done in AS3 but thats not mainstream enough yet I'm guessin' :P - GeneHACKman, on 10/12/2007, -1/+1Wow, talk about a geek reply.
You're kind of missing the point of all this, aren't you? - BryanTheCrow, on 10/12/2007, -0/+3@ngliam
You must be a ***** ass "ActionScripter" because you're completely wrong!
This is both valid ActionScript 1.0, and improperly used ActionScript 2.0 (it's poor practice to dynamically add methods to Objects in ActionScript 2.0. You should declare them in your class).
1. ActionScript 1.0 DOES have the "&&" operator.
2. ActionScript 1.0 will ignore strict data-type declarations, but will still compile.
Oh, and timsco, ActionScript 2.0 looks nothing like java... - rysolag, on 10/12/2007, -0/+1I'm also an actionscripter. This is more 2.0 than 1.0. If someone's using the :datatype syntax, then they're obviously trying to use 2.0.
- scanton, on 10/12/2007, -0/+1I assure you that it is ActionScript 2.0 (I wrote the poem and I'm a writer at ActionScript.com). But it also correct that it's poor practice to dynamically add methods to Objects in ActionScript 2.0 while writing Shakespeare. It shows I have no class. LOL
- NGliam, on 10/12/2007, -4/+4I'm an actionscripter and I can definitly say this is AS2.
- rderveloy, on 10/12/2007, -0/+2Very elegant and beautiful.
- barbobot, on 10/12/2007, -0/+8http://shakespearelang.sourceforge.net/report/shakespeare/shakespeare.html
now this is impressive - farhadG55, on 10/12/2007, -11/+3dork alert.
- joebrent, on 10/12/2007, -0/+3With each laugh, I felt myself getting geekier and geekier...
But I don't care. That's funny. - habenneas, on 10/12/2007, -0/+3Now let's see that in assembler. :)
- jczer68, on 10/12/2007, -0/+3hmmmmm....
mov summer_temp, eax
inc eax
mov eax, thee_temp
inc kekekekeke
- jczer68, on 10/12/2007, -0/+3hmmmmm....
- ke4roh, on 10/12/2007, -0/+1Forget not those creations of others
done in the name of the Bard.
O proud left foot, that ventures quick within
Then soon upon a backward journey lithe.
Anon, once more the gesture, then begin:
Command sinistral pedestal to writhe.
Commence thou then the fervid Hokey-Poke.
A mad gyration, hips in wanton swirl.
To spin! A wilde release from heaven's yoke.
Blessed dervish! Surely canst go, girl.
The Hoke, the poke -- banish now thy doubt.
Verily, I say, 'tis what it's all about.
-- by "William Shakespeare"
(Jeff Brechlin composed this one in about 10 minutes.)
http://www.phantomranch.net/folkdanc/articles/hokeypokey.htm - devilshark, on 10/12/2007, -14/+1lame. no digg.
- flashape, on 10/12/2007, -3/+3yeah..not AS2, but decent.
- CreativeBush, on 10/12/2007, -1/+4Ultimate flash geekdom!
- plugitin, on 10/12/2007, -6/+4Here it is in binary. I just though, what the hell, why not?
01010011011010000110000101101100011011000010000001001001001000000110001101101111011011010111000001100001011100100110010100100000011101000110100001100101011001010010000001110100011011110010000001100001001000000111001101110101011011010110110101100101011100100010011101110011001000000110010001100001011110010011111100001101000010100101010001101000011011110111010100100000011000010111001001110100001000000110110101101111011100100110010100100000011011000110111101110110011001010110110001111001001000000110000101101110011001000010000001101101011011110111001001100101001000000111010001100101011011010111000001100101011100100110000101110100011001010011101000001101000010100101001001101111011101010110011101101000001000000111011101101001011011100110010001110011001000000110010001101111001000000111001101101000011000010110101101100101001000000111010001101000011001010010000001100100011000010111001001101100011010010110111001100111001000000110001001110101011001000111001100100000011011110110011000100000010011010110000101111001001011000000110100001010010000010110111001100100001000000111001101110101011011010110110101100101011100100010011101110011001000000110110001100101011000010111001101100101001000000110100001100001011101000110100000100000011000010110110001101100001000000111010001101111011011110010000001110011011010000110111101110010011101000010000001100001001000000110010001100001011101000110010100111010000011010000101001010011011011110110110101100101011101000110100101101101011001010010000001110100011011110110111100100000011010000110111101110100001000000111010001101000011001010010000001100101011110010110010100100000011011110110011000100000011010000110010101100001011101100110010101101110001000000111001101101000011010010110111001100101011100110010110000001101000010100100000101101110011001000010000001101111011001100111010001100101011011100010000001101001011100110010000001101000011010010111001100100000011001110110111101101100011001000010000001100011011011110110110101110000011011000110010101111000011010010110111101101110001000000110010001101001011011010110110100100111011001000011101100001101000010100100000101101110011001000010000001100101011101100110010101110010011110010010000001100110011000010110100101110010001000000110011001110010011011110110110100100000011001100110000101101001011100100010000001110011011011110110110101100101011101000110100101101101011001010010000001100100011001010110001101101100011010010110111001100101011100110010110000001101000010100100001001111001001000000110001101101000011000010110111001100011011001010010000001101111011100100010000001101110011000010111010001110101011100100110010100100111011100110010000001100011011010000110000101101110011001110110100101101110011001110010000001100011011011110111010101110010011100110110010100100000011101010110111001110100011100100110100101101101011011010010011101100100001110110000110100001010010000100111010101110100001000000111010001101000011110010010000001100101011101000110010101110010011011100110000101101100001000000111001101110101011011010110110101100101011100100010000001110011011010000110000101101100011011000010000001101110011011110111010000100000011001100110000101100100011001010000110100001010010011100110111101110010001000000110110001101111011100110110010100100000011100000110111101110011011100110110010101110011011100110110100101101111011011100010000001101111011001100010000001110100011010000110000101110100001000000110011001100001011010010111001000100000011101000110100001101111011101010010000001101111011101110110010101110011011101000011101100001101000010100100111001101111011100100010000001110011011010000110000101101100011011000010000001000100011001010110000101110100011010000010000001100010011100100110000101100111001000000111010001101000011011110111010100100000011101110110000101101110011001000110010101110010001001110111001101110100001000000110100101101110001000000110100001101001011100110010000001110011011010000110000101100100011001010010110000001101000010100101011101101000011001010110111000100000011010010110111000100000011001010111010001100101011100100110111001100001011011000010000001101100011010010110111001100101011100110010000001110100011011110010000001110100011010010110110101100101001000000111010001101000011011110111010100100000011001110111001001101111011101110110010101110011011101000011101000001101000010100101001101101111001000000110110001101111011011100110011100100000011000010111001100100000011011010110010101101110001000000110001101100001011011100010000001100010011100100110010101100001011101000110100001100101001000000110111101110010001000000110010101111001011001010111001100100000011000110110000101101110001000000111001101100101011001010010110000001101000010100101001101101111001000000110110001101111011011100110011100100000011011000110100101110110011001010111001100100000011101000110100001101001011100110010000001100001011011100110010000100000011101000110100001101001011100110010000001100111011010010111011001100101011100110010000001101100011010010110011001100101001000000111010001101111001000000111010001101000011001010110010100101110- rysolag, on 10/12/2007, -0/+1psycho.
- PirateFSM, on 10/12/2007, -0/+1Sadly, don't get it.
- the_d, on 10/12/2007, -0/+1http://www.turdhead.com/2005/02/25/trace-contestpoetryannual0-announce-first-as-poetry-contest/
- MissCheever, on 10/12/2007, -0/+1This is actually a submission to Turdhead's ActionScript Poetry Contest. The other entries and poems can be found here: http://www.turdhead.com/2006/02/08/announcing-the-2006-actionscript-poetry-contest/
And let's not forget the Jabberwocky:
http://www.turdhead.com/2004/08/16/the-actionscript-jabberwocky/ - cathode, on 10/12/2007, -0/+2Nerdiest thing ever... funny and Lame at the same time.
- EEMeltonIV, on 10/12/2007, -0/+0I shared this with my fellow 9th grade English teachers. They don't get it. In truth, this is probably a good thing ;-)
- NGliam, on 10/12/2007, -0/+1@BryanTheCow
I've never used AS1, only ever 2 and 3.- BryanTheCrow, on 10/12/2007, -0/+1Fair enough. I retract my earlier comment.
*** Can't wait for Flex to be released! AS 3.0 r0x0rz! ***
- BryanTheCrow, on 10/12/2007, -0/+1Fair enough. I retract my earlier comment.
- firehydra2k, on 10/12/2007, -0/+1Alright, a way to hit those hot programming girls with some coded poetry.
I gotta see this in action (if possible). - B0jangles, on 10/12/2007, -2/+2This is so pointless
- mrkoje, on 10/12/2007, -0/+2Maybe pointless but I have thought of doing things like this. Taking British Literature and programming classes at the same time seems to yield such thinking.
- mrkoje, on 10/12/2007, -0/+2Maybe pointless but I have thought of doing things like this. Taking British Literature and programming classes at the same time seems to yield such thinking.
- tagawa, on 10/12/2007, -0/+2Because geeks have feelings too...
- EEMeltonIV, on 10/12/2007, -0/+1Unfortunately, with this format, we lose the pun on "lines" -- in the original, "lines" also refers to the lines of actual poem, but it could just as easily refer to these lines of code. Oh, well.
Digg is coming to a city (and computer) near you! Check out all the details on our