Grace Hacker

IMG_2674.JPG

Last Saturday, a few of my classmates and I decided to attend the Clarifai Artificial Intellegence Hackathon. Due to a bit of week-4 exhaustion, I am just now writing about it, and it’s going to be a pretty short post. One of my teammates from the hackathon wrote a really great article about it on her blog, and I recommend checking that out as well!

A hackathon is an event where developers (or sometimes non-developers) come together and create a project in a fixed amount of time, usually with presentations and prizes at the end. This hackathon was 12 hours, and the prizes were lighthearted (most secretly evil, most likely to slow human progress). My team took home the latter prize for a project called miss-direction, a chrome extension that you can sneakily download on your friend’s computer, and every time they try to get directions on google maps, they will instead get directions somewhere a few blocks away. I was lucky to have a very strong team, one of my classmates and one Grace Hopper alumna, who kept me grounded around hour 6 of straight coding when I started to hit a wall.

Some cool things about the hackathon:

  • There was almost too much free food
  • We got close to doing something that I would actually call hacking – manipulating the Google Maps API to do something it wasn’t intended to do. Turns out google is really good at preventing you from messing with its stuff. But we beat it!
  • We were in the General Assembly (another bootcamp) offices, which are beautiful. They use ipads for things that we use post-it notes for at Grace Hopper. Plus, they have a giant chalk drawing of Bill Nye.
  • The guy sitting next to us was using virtual reality goggles for his project and we got to try them on.

Advertisements

Computer-Generated Haiku

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.

STRANGE INAUDIBLE

MINISUPERCOMPUTER

DISSERVICE THORO

~~~

FRIEND DECOMPRESSION

UNPROFITABLITY

INNOCENT FORK-LIFT

~~~

ENDEAVOR DODSWORTH

PATRONIZES PATIOS

PROLETARIAN

~~~

HATMAKER COWARD

INCONSTANCY INDERAL

IMMEASURABLY

~~~

DERMATOLOGISTS

UNILATERALISM

IRRESPONSIBLE

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

SERIOUS PEOPLE

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.