2013年9月24日火曜日

Hacker Olympics

I joined Hacker Olympics during Twiliocon 2013. In fact, I went to watch and take photos and report about it, but the staffs told me I must join and it's fun, so joined as participant ;)

Twiliocon


What is Hacker Olympics? 

From their website:
Hacker Olympics is a new, interactive spin on the basic hackathon. Hackers participate in a tournament, where diverse knowledge and skills help them to conquer a wide range of challenges. Accumulate points in a race to Hacker Olympics supremacy.


Hacker Olympics from Twilio on Vimeo.

The challenges 

The challenges list can be seen here, but a shorter summary version below. So it's a mixture of software programming, hardware programming, trying out new services, having fun with games, etc.

-BOMBS AWAY!
10-minute Bomberman tournament on wii

Twiliocon

-STARTUP CHARADES
Charades is a game of pantomimes: you have to "act out" a phrase (in this case, a startup company name) without speaking, while the other members of your team try to guess what the phrase is. The objective is for your team to guess the phrase as quickly as possible.

-STACK OVERFLOW
Each team gets 100 Cups. The objective is to stack cups as high as possible using only each other and the cups to create a structure that will stand tallest.

Twiliocon

-WORLD BENDING - LEAP MOTION
Game using Leap Motion. You're an alien race attempting to save Earth from destruction. You must race your spaceship across the world hitting all checkpoints, in sequence to diffuse the RedMatter explosives as fast as you can before detonation. Bend the world to your will to shrink the distance between you and the next checkpoint.

-ASCII OLYMPICS - SENDGRID
Build an application that can receive incoming emails with image attachments to {address}@{your team name}.asciiolympics.co using the SendGrid Parse API. Your application should respond with an ASCII representation of the image.

-CATCH ME IF YOU CAN - GOOGLE
You're Edward Snowden on the run. Plan your escape plan starting from Honolulu International Airport (HNL). Luckily, you have the power of BigQuery and a flights dataset at your disposal. So what's your plan? Avoid being on the ground as long as possible? Travel the longest distances? Travel to countries with no extradition agreements? Deploy your application to App Engine. It should be able to calculate 3 potential escape routes with at least 4 destinations each. Use the BigQuery dataset "airline_ontime_data.flights" in the dataset "bigquery-samples" for this challenge.

-DEVELOPERS, DEVELOPERS, DEVELOPERS, DEVELOPERS - BOX
Build an application where the user can provision a new Box account using their e-mail address. Upon completion of the provisioning, upload the following image to a new folder on their account: http://i2.cdn.turner.com/cnn/dam/assets/130823121452-02-steve-ballmer-horizontal-gallery.jpg

-ESCHER’S LOGIN - PLANTRONICS
Build a user authentication system that utilizes no form fields or input fields. Your system must not accept a username or password from the user. Be creative and come up with a unique authentication system using alternative verification methods (ex. Voice verification, key-press detection, bluetooth , etc.)

-HACKER RELAY RACE - ATLASSIAN
Create a new Atlassian Bitbucket git repo. Give each of your team members access to it. One of your team members should create the first portion of an application that utilizes the Hacker Olympics leaderboard.json API. Each of your team members must then create their own branch of the application on Bitbucket and merge their code via a Pull Request.

-PHONE NUMBER DISCUS - WHITEPAGES
Go to http://thehackerolympics.com/phonenumbers.html to find a comma-delimited list of phone numbers, Use the WhitePages Phone Number Lookup API to find the correlation between all of these numbers. There may be multiple correct answers to this challenge! You will need to use your powers of observation (not just your elite hacker skills) to solve this one.
API Key: 6f4e7b7245c1edc46efa00f1d5000f6c

-RETRO SMS - TWILIO
Check out an Arduino Uno and a USB cable from the registration desk. Use the Twilio API and your Arduino in order to build a system that receives incoming SMS messages and blinks them out in Morse code on your Arduino using the built-in LED.

-RUBE GOLDBERG CHALLENGE - PARSE
Build a code-powered Rube Goldberg chain reaction machine that begins and ends with a Parse API. The data must stay intact throughout the chain! You must transfer the following JSON object through the entire chain intact: {'data':'TwilioCon', 'foo': {'bar':'baz'}}
Example: Enter data in a web form which POSTs to Parse. Parse fires off an SMS with the user’s input which is received by another Twilio phone number, and is then sent via e-mail to an address that is based on Sendgrid, which then sends the data back to Parse to be stored in a database. Be as creative as possible!

-SONGS AS CODE
Go to http://thehackerolympics.com/songsascode.html – here you will find a list of code snippets that each represent a song. Guess what song each snippet represents and write down your answers. Call over a judge to verify them and submit your score!

-THE ANTI-OPTIMIZER - AMAZON WEB SERVICES
Set up an AWS instance. On that instance, write a script in your language of choice that has a runtime of as close to 42 seconds as possible as determined by the `time` command. You may not use any time-based delays or waits to achieve this runtime. You may achieve the runtime through inefficient code, unwise server configurations, or any other creative means.

-THE GIFINATOR - WINDOWS AZURE
We love lists and animated GIFs almost as much as Buzzfeed and tumblr. Craft a web-based animated GIF generator on a Windows Azure Web Site, Cloud Service, or VM so that it can be shared with the world.

The Winners

Twilio team congratulating the winning teams!

Twiliocon

Tons of awards including Leap Motion, Nexus7 tablet, Google cloud platform credits, Amazon Web Service credit, etc.

Twiliocon

Twiliocon

The Team!

This is my teammates, our team couldn't win, but we had a great time!

Photo by +Allen Kwok 

Special thanks to Renee Chu and Eric Anderle from Twilio for teaching me a lot...!

In the far back of this photo, Renee and me struggling with Arduino- didn't even realize that they were shooting a photo :P

Photo by +Allen Kwok

Disclaimer: The opinions expressed here are my own, and do not reflect those of my employer. -Fumi Yamazaki