One of the highlights of my week was being a team leader for this round of the tessel hackathon, helping to bring in another victory for Grace Hopper.
The project, called Stop, Teaf! is designed to help to protect the user against the rampant herbal tea theft in the Grace Hopper kitchen. Simply slip a discrete tessel into one of your tea bags, and the accelerometer module will sense a thief trying to snatch it. This sets off an alarm on your computer, and you will receive a command line prompt, into which you can type a stern message to the thief. Back in the kitchen, the tessel’s audio module will then robotically shout this message to the thief using text-to-speech technology. And if that’s not enough to scare them, there is also a little flag waving that says “Stop, thief!”
This time I wasn’t doing any of the coding or planning (although the result had some things in common with my first tessel project). Instead, I spent my time running around trying to help my team of four debug and refine the plan to fit the time constraints. We ultimately got the project fully functional about 5 minutes after the judges came by, but nonetheless we took home the “Best Campus Solution” award.
Better watch out. The machines can write poetry now, which means the next step is world domination.
To clarify, the final project from foundations last week was to write a program that randomly generates haiku. I thought I would share some highlights here. Luckily, computers are still pretty bad at poetry, although the first one seems a bit too accurate.
The program can also find haiku naturally occurring in a text. Here are a few from The Importance of Being Earnest.
ON A SALVER ALGERNON
INSPECTS THEM TAKES TWO AND SITS
DOWN ON THE SOFA
FURNISHED THE SOUND OF
A PIANO IS HEARD IN
THE ADJOINING ROOM
BEING EARNEST A
TRIVIAL COMEDY FOR
And here are two from my senior thesis!
CAT RENOIRS ONLY
MALE NUDE IS AN INTRIGUING
PAINTING YET IT IS
OVER HIS SHOULDER
IS INSCRUTABLE IS IT
SADDENED DREAMY COY
Let me know if you have a text that you need to find haiku in. If you would like to see the code behind it, I posted my project on GitHub.