Thursday, December 17, 2009

Hello World, Festival, and Skynet! :-D

Well, today's post is definitely gonna be fun. Well, it was for me. :-D

It was a soggy morning. Gloomy one might say. At about 815 am, overly hardworking SDWA staff flock into the office. Hard to say am one of them. Little did they know that one research engineer's computer would suddenly gain sentience and it managed to talk to the engineer's colleague sitting next to him. Or did it really?

Well, definitely the possibility of having Skynet suddenly jumping out of your laptop is next to 0. What happened was a planned prank on my colleagues. So, all I needed was the "Intelligent" computer, loaded with Festival (default in Fedora Core systems) a text-to-speech synthesizer, and trusty VLC, with ssh of course.

  1. Ssh to the target computer.
  2. Run VLC, and ask it to stream audio and video to your remote computer. Also run alsamixer to change the volume of the output as well as the mic so that you can hear the response from the target person.
  3. Run Festival using pipeline to attract attention of colleague. This works real good, 'echo "Hello, <Colleague's name>, can you hear me?" | festival –tts'
  4. Repeat the command until that colleague hears the greeting message.
  5. Once he responds, ask the target to talk in front of the computer.
  6. Tell him that the computer has gained sentience. AI ability is through the roof, but without any other peripherals, you can't do squat. So, ask to see your owner.
  7. Finish the conversation.
  8. Go to office a bit late, for my case I went in at midday just before lunch, since I was on sickday leave for two days starting on Tuesday.
  9. Act casual, until the target colleague arrives and asks you if you did anything to the comp. Act dumb and say nope, then counter ask why.
  10. After he finishes talking abt his conversation, look more and more horrific, then quietly exclaim "Darn, I hope the program that the USAF gave me did not turn nasty!"
  11. Then really look worried, and ask your target if he believes in Judgment Day. He'd look surprised, and if you're lucky, a bit worried, if not extra steps to convince him needs to be done.
    1. Write before hand, a bash script to accept any keystroke, and if you press a key, echo "Do not touch me!"
    2. Run this script in the remote terminal sshed to the "intelligent" comp.
    3. Everytime you press a key, the festival program would synthesize that text. The idea here is to convince him further that you've got nothing to do with the computer acting weird.
  12. He'd look pretty confused, then you immediately laugh, and give a wide beam and exclaim, "you're Punk'd!"


 

Getting an "intelligent" laptop/pc … $1000 above

Installing Festival … Free

Cost to SDWA … $46 (for half day's work gone)

Look on dumbfounded colleague/s … Priceless! :-D


 

So, there you go, another "fruitful" day at SDWA brought to you by Ghost Bear. :-p

Need to think for another prank now for next year…

On a side note, how I secretly wish intelligent robots were real…

No comments:

Post a Comment