What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 122 Stack Exchange communities.

Please read this through before voting to close. There's method in my madness....

April 1st is rapidly approaching, and I suspect many Stack Overflow regulars will have been considering what to ask as a "prank" question. I have nothing against good humour, but I think it makes sense to concentrate it in one place, rather than seeing SO turn into the white noise that Slashdot usually becomes on April 1st. (I'm sure it won't completely eradicate prank questions, but every little bit helps.)

So, what question would you have asked on April 1st? Or rather, what question would you have liked to ask as an April Fool? (I'm sure many people would have restrained themselves... no need here!)

Silly answers to the questions can take the form of comments, of course.

I'll accept the highest voted "answer" at the end of April 1st (or rather, at about 5.15am UTC on April 2nd when I get up).

share|improve this question
1  
Thanks for moving this, Jeff - I can't believe it was actually deleted on SO (and nobody but me wanted to undelete it). –  Kyle Cronin Jul 24 '09 at 4:57
1  
@Jon skeet you have never followed through with "I'll accept the highest voted "answer" at the end of April 1st (or rather, at about 5.15am UTC on April 2nd when I get up).".... I guess that was your April Fool's joke ;) –  Andrei Aug 17 '09 at 11:18
show 3 more comments

migrated from stackoverflow.com Jul 24 '09 at 4:54

This question came from our site for professional and enthusiast programmers.

closed as not constructive by Lance Roberts, mmyers Feb 11 '11 at 18:03

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

87 Answers

is there a tool that provides Code metrics such as Turing Completeness?

share|improve this answer
show 1 more comment

A hundred prisoners are each locked in a room with three pirates, one of whom will walk the plank in the morning. Each prisoner has 10 bottles of wine, one of which has been poisoned; and each pirate has 12 coins, one of which is counterfeit and weighs either more or less than a genuine coin. In the room is a single switch, which the prisoner may either leave as it is, or flip. Before being led into the rooms, the prisoners are all made to wear either a red hat or a blue hat; they can see all the other prisoners' hats, but not their own. Meanwhile, a six-digit prime number of monkeys multiply until their digits reverse, then all have to get across a river using a canoe that can hold at most two monkeys at a time. But half the monkeys always lie and the other half always tell the truth. Given that the Nth prisoner knows that one of the monkeys doesn't know that a pirate doesn't know the product of two numbers between 1 and 100 without knowing that the N+1th prisoner has flipped the switch in his room or not after having determined which bottle of wine was poisoned and what color his hat is, what is the solution to this puzzle?

Courtesy of Coding Horror

share|improve this answer
4  
It's a trick question! Monkeys can't paddle a canoe! –  mmyers Mar 31 '09 at 21:30
1  
Red, 5 and so don't do that. –  notandy Apr 1 '09 at 18:57
show 3 more comments

"I can't print."

share|improve this answer
7  
"How do I get my cup holder back?" –  belgariontheking Mar 30 '09 at 19:45
add comment

If I sit in a motorboat and put its prop in a bucket of water, will I propel forward?

share|improve this answer
7  
I may be wrong here, but don't you also need the prop to be spinning? –  Brad Gilbert Mar 31 '09 at 15:44
4  
Hmmm, what colour is the bucket? –  rism Mar 31 '09 at 22:01
show 6 more comments

OMG, I really, like, need you know, a program to count ponies...

share|improve this answer
1  
does it have a pink GUI? –  gbjbaanb Mar 31 '09 at 9:00
4  
It's built on BPF (Barbie Presentation Foundation) so it has a pink GUI by default. –  Neil Aitken Mar 31 '09 at 15:17
show 3 more comments

What's the easiest way to get a gold badge on StackOverflow?

share|improve this answer
4  
Answer a lot of subjective questions ;-). –  Gamecat Mar 30 '09 at 20:29
11  
If you want this question not to be closed, you have to add "programmatically" in it... –  mouviciel Mar 31 '09 at 13:54
add comment

Where can I find Stack Underflow? :-(

share|improve this answer
add comment

YO JON I'M REALLY HAPPY FOR YOU AND IMM'A LETCHA FINISH BUT I JUST GOTTA SAY THAT JEFF ATWOOD'S QUESTION WAS THE BEST APRIL FOOL'S QUESTION OF ALL TIME. OF ALL TIME!

share|improve this answer
add comment

I have a C# project that includes the following snippet of code

public void PrintDefinition(Dictionary<string, Definition> dict, string word)
{
    Defintion d = dict[word];
    Console.WriteLine(String.Format("{0} - ({1}) {2}", word, d.Pronunciation.ToString(),
        d.PrimaryDefinition.ToString()));
}

The problem is that when I call it like this:

PrintDefinition(_oed, "gullible");

it throws an exception. What am I doing wrong?

share|improve this answer
10  
Oh, that's easy. You mispelled Definition on line 3. –  rampion Apr 1 '09 at 11:40
show 1 more comment

I wrote a Windows program that is small. When I try to deploy it won't run. Keeps saying it requires "Windows". How do I make it run without installing Windows? I don't want to make all my users download "Windows" just to run my little program.

share|improve this answer
show 1 more comment

When I was coding python last night, I feel very tied and fell asleep.

And I get up this morning, and found that when I was unconscious, I typed a lots of strange code like:

class StalkBuffer():
    def __init__(self):
        pufsut the be () 
        sellfff .but ()
        fdis = 2234 fd in [f,d,s]
def rem(sellf,dir):
    dataa = map(self.buffor)dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd

it is easy to write this code again,

but the question is , how can I found what I was thinking when I was unconscious by look though this code?

share|improve this answer
add comment

Yo, dawg, sup?

I would have posted something about how emacs was actually written in vi. Or how C# was actually written in Java.

Peace out.

share|improve this answer
show 1 more comment

I was wondering if someone could do my homework for me?

share|improve this answer
2  
Sure, just find someone in India, and then pay them. –  Brad Gilbert Mar 31 '09 at 15:55
show 2 more comments

!'/\/\ +|2!|\|6 +\/\/0 /\/\4|<3 J4\/4 /\/\0|23 |-|!|>, |3|_|+ /\/\'/ <0|>3 \/\/0|\|+ <0/\/\|>!|_3.

<|_4$$ |=00
{
     |>|_||3|_!< \/0!|> /\/\4!|\|($+|2!|\|6[] 4|26$)
     {
         $'/$+3/\/\.0|_|+.|>|2!|\|+|_|\|("|-|3|_|_0 \/\/0|2|_|>");
     }
}

Can anyone figure out the real error I wonder? Also, this 1337 was written by hand, and based off memory. no converting program was used.

share|improve this answer
1  
You left out $+4+!< in the definition of /\/\4!|\|. –  mmyers Mar 30 '09 at 20:17
2  
You should really specify what language your code is in. At first I thought it might be Perl, then I realized it must be Python. –  Brad Gilbert Mar 31 '09 at 15:58
8  
@Brad: Now I'm tempted to see if it's valid Perl. I think I've seen less readable Perl before... ;) –  mmyers Mar 31 '09 at 16:09
show 3 more comments

Dear StackOverflow,

Will Rich B. be taking the day off work today to focus full time on quashing April Fools posts?

(Sorry Rich, I just couldn't resist)

share|improve this answer
add comment

I'm having some issues with the production release of Perl 6...

share|improve this answer
4  
I'm sorry, you have to wait until Christmas. Which Christmas, I'm not sure. –  Brad Gilbert Mar 31 '09 at 16:00
add comment

What is the maximum number of seconds in a minute? Is it possible to have 62 seconds in a minute, and was there a 70-second minute in January 1, 1972?

share|improve this answer
show 1 more comment

How do I automatically add captions to my pictures of cats?

share|improve this answer
show 1 more comment

Why am I getting this warning (stack overflow at line 105) all of a sudden? What does it mean? I've never even heard of Stack, Is there somewhere I go on my computer to delete old Stack? I have Windows Vista. I don't want to download any unknown programs if I can just remove old Stack that is stored on my computer. I just don't know where to find it.

share|improve this answer
1  
Do you see an orangish substance oozing out from your DVD drive? If not, I think your stack has not overflow and the computer must be lying to you. –  Greg Apr 1 '09 at 15:42
add comment

Is there a REST API available for Google Tisp? (bounty +100)

share|improve this answer
add comment

How do you use the Abstract Singleton pattern

I have a case here where I would like to apply this pattern but I just cant get my head around it. I mean Visitor Command Factory was bad enough but I finally got it.

So... How do you create an Abstract Singletong and where is it the most usefull

share|improve this answer
add comment

I reed the interscope is a series of tubes and tweets, how add a new tube? Will make Facespace faster?

share|improve this answer
add comment

How do I move the turtle in LOGO?

( Asked June 16 09 )

share|improve this answer
show 1 more comment

What would you do if you had a million dollars?

I, like Peter Gibbons, would do nothing. Lawrence has a good idea though.

share|improve this answer
show 6 more comments

I'm a prog newb and dk the prog to rite. Plz tell me the prog and send me the codez.

share|improve this answer
show 1 more comment

Is there a way to downvote my own comments?

share|improve this answer
1  
Yes, just keep trying, you'll figure it out eventually. Of course by then Satan will have learned how to ice skate. –  Brad Gilbert Mar 31 '09 at 15:52
add comment

What web framework should I choose for my next project?

share|improve this answer
add comment

What.....is your favorit color?

...Blue...NO! Aaaaah!

share|improve this answer
add comment

How do you triforce?!?

When ever I try to do it, it just comes out wrong.

<pre>

▲ ▲

</pre>

It should just be right ontop of it I don't know why the spaces don't work?

share|improve this answer
show 3 more comments

What computer manufacturer builds the most durable cup-holders?

share|improve this answer
show 1 more comment

protected by Lance Roberts Feb 11 '11 at 17:54

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .