April 1st, 2016

Is it really a prank if the victim doesn’t realize there’s a prank going on?

One of my friends pranked a colleague by surreptitiously putting a program in the Startup group. This program opened a network socket and awaited further instructions.

Things you could tell the program to do:

  • Create a thread and put it into a 100% CPU loop.
  • Allocate a megabyte of memory (hey, that was a lot back in the day) and go into a loop accessing every byte of memory over and over again.
  • Display a message on the screen.
  • Play a beep.
  • Perhaps some other pranky things, I forget.

My friend told the program to create a thread and peg the CPU, and his colleague didn’t notice.

Create a second thread.

Still no reaction.

Allocate a megabyte of memory.

Two megabytes.

Four megabytes.

Still nothing.

Beep a few times for no apparent reason.

No reaction.

My friend now decided to pull out all the stops. Create eight threads, each in a CPU spin loop. Allocate another 16 megabytes of memory. Beep five times in a row. Display a message box with a nonsensical error message. (I forget exactly what it was. Let’s say it’s “Printer out of bamboo. Get more bamboo. MOAR!”)

My friend’s colleague shrugged and dismissed the error message.

I think my friend had to display a message box that said “Look behind you” before his colleague finally clued in that he was being pranked.

So you tell me. Was this a successful prank or not, if the victim didn’t even realize that he was being pranked?

Topics
History

Author

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

0 comments

Discussion are closed.