Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

My April Fools Prank is

by vroom (Pope)
on Mar 31, 2001 at 03:44 UTC ( #68566=poll: print w/ replies, xml ) Need Help??

vote on My April Fools Prank is

Probably going to get me arrested
[bar] 25/9%
Probably going to require me to update my resume
[bar] 38/13%
Better than yours
[bar] 8/3%
Lamer than yours
[bar] 32/11%
So top secret
[bar] 32/11%
Nonexistent
[bar] 138/47%
Gonna be on CowboyNeal
[bar] 21/7%
294 total votes
Comment on My April Fools Prank is
Re: My April Fools Prank is
by nop (Hermit) on Mar 31, 2001 at 03:55 UTC
    April Fool's silliness
    Below is some code that formats tables -- shades alternate rows -- used in an intranet application internally...
    yeah, yeah, yeah, I know the code is ugly, but it works, and I didn't know much perl when I wrote it... so please be gentle on this old code!....
    Anyway, on April Fools, I set  $silly to true using  rand about 1 in 10 times.... truly horrible.

    nop
    sub table { my $html = shift; my $i=1; $html =~ s{<\s*(t\w+)}{ if (lc($1) eq "tr") {$i++; "<tr";} elsif (lc($1) eq "td") { (($i%2) == 1) ? '<td bgcolor="#F4FAFF" align="center"' : '<td bgcolor="#E1f1FF" align="center"';} elsif (lc($1) eq "th") { (($i%2) == 1) ? '<th bgcolor="#F4FAFF" align="center"' : '<th bgcolor="#E1f1FF" align="center"';} else {"<$1"} }iegm; if (!$silly) {return $html;} my $dir; $html =~ s{<td.*?>(.*?)<\/td>}{ $dir = (qw(left right up down))[rand()*4]; if (rand()<.2) { "<td><marquee direction=\"$dir\" behavior=\"alternate\" height +=\"40\" vspace=\"2\">$1</marquee></td>"; } else { "<td>$1</td>"; } }ieg; return $html; }
Re: My April Fools Prank is
by z0d (Hermit) on Mar 31, 2001 at 03:58 UTC
    Maybe I'll link /usr/bin/python to /usr/bin/perl to help chaos research. :-)
Re: My April Fools Prank is
by Anonymous Monk on Mar 31, 2001 at 04:18 UTC
    I really want to do this, but geing a non green carded brit (for a while longer anyway) I'm not so sure.

    Billboard down the road has white on black text saying, "Your kids do what you do. Buckle Up!"

    spray, spray, le go away and B -> F

Damn government conspiracies!
by $CBAS (Scribe) on Mar 31, 2001 at 14:31 UTC

    I voted nonexistent because I don't have school now and where's the fun in pranking at home?

    I'm pretty sure it's a government conspiracy to keep kids home one april first :-(
    Dammnit, I want to be old enough to vote so I can elect funnier politicians ;-)

    hmm ... I can't remember an april first where I had school ... strange ... well, maybe my memory is just crapped up.

    Merry Christmas and a happy New-Year!
    CBAS

Re: My April Fools Prank is
by sutch (Curate) on Apr 01, 2001 at 19:33 UTC
    Ok, I'm not sure what the prank is, but I've noticed messages about losing XPs even though I'm gaining XPs. I also found a link that went to the incorrect node. And the link on the top of the page for "Newest Nodes" changed to my last visited node. Are the pranks changing by the moment?

    Maybe I should have voted "Probably going to get me arrested".

    Update: No, I'm not going crazy! I see now that this node displays:

    in reply to My April Fools Prank is
    in thread Re: Re: decode jpg header

    (at least at this moment)

Re: My April Fools Prank is
by brainpan (Monk) on Apr 02, 2001 at 09:24 UTC
    I don't know that this counts, as it was genuinely an accident, and it was only happened to coincide with april fools day, but earlier today I got bored and decided to try cutting my own hair (don't you love stories that start out in the format "I was bored so I did {something with a high chance of turning out wrong}"?). As one may infer from the context, my haircut didn't quite turn out the way I intended. Now, I didn't have anything spectacular in mind in the first place, I just wanted to make it a little shorter. Somewhere along the way I managed to take a conspicuously large slice out of the back of my hair. "Not a problem", I thought. "I'll just make everything around it a little shorter to try and make it blend in." To those of you who have had the sense not to try this, you are justified in your abstention. It turns out that the only way to make something "blend in" with an area that has been shaved down to the scalp is to shave the surrounding area. And, as the goal is still to make everything "blend in", this process has to be done for one's entire head.

    I keep trying to convince myself that this was a good April Fools joke on everyone who will see me, but the voices in my head keep snickering and acting like it was their doing. As long as no one else can hear them laughing no one will ever know the truth...

    And no, I don't own 27 pairs of sweatpants.
Re: My April Fools Prank is
by Albannach (Prior) on Apr 02, 2001 at 22:38 UTC
    Oh, April Fool's Day! That explains it! Everyone around here is trying to tell me that it's an hour later than it really is, but I won't fall for it. Pretty elaborate gag too, they changed all the clocks and everything. I don't know how they spoofed my morning radio show yet...

    --
    I'd like to be able to assign to an luser

View List Of Past Polls


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-08-30 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls