Your grandma is an awesomely endowed paperweight!

Oct 21, 2012 12:51


I’ve posted before about the random insult generator that I wrote back in college. If you don’t remember, you can read the backstory here, here, and here.

After starting with only a couple dozen possible sentence fragments, it now relies on a database of 43,000 data items from 28 different parts of speech.

Having recently gotten bored and installed a perl interpreter on my phone, I decided to see how easy it would be to port Insult to Android. To be honest, it was a piece of cake. I didn’t even have to alter the data files, just make a couple small tweaks to the main program.

The fun part is that the scripting engine provides ridiculously easy access to Android’s text-to-speech synthesizer. So not only can I generate random insults with a single touch, but the phone will also read them aloud!

Isn’t technology marvelous?

image Click to view

programming, insult, android, humor, perl

Previous post Next post
Up