This has got to be the most hilarious experiences of all. My recent hackathon experiences haven’t been all that great. For some, we just went unprepared, while in some, we experienced difficulties, while learning valuable lessons. So I, with 3 other friends attended a hackathon just for fun. In fact, we made the plan of attending the hackathon just 4 hours prior to actually attending.
Titled Hack-the-Dot, the participants were supposed to create a hack for the domain name crunch.club over a period of 3 hours. Now, our first thought was to go by the literal meaning of ‘crunch’, and decided to create a twitter trend analysis of crunchy food (chips, celery etc). On second thoughts, we headed over to urban dictionary, and found the following definition:
Adjective. Used to describe persons who have adjusted or altered their lifestyle for environmental reasons. Crunchy persons tend to be politically strongly left-leaning and may be additionally but not exclusively categorized as vegetarians, vegans, eco-tarians, conservationists, environmentalists, neo-hippies, tree huggers, nature enthusiasts, etc.
A hilarious idea clicked with this definition. A simple web application, which based on what you are tweeting about, tells you whether you are a crunchy person or not. We split into groups of 2, and hacked on both ideas.
For the first hack(Mahesh and Abhijit worked on this), we used Python, Twitter API’s, MongoDB, and Highcharts to display the trend analysis for the specified crunchy food. The results were mostly justifiable, with most people tweeting about Chips, Fried food, rather than the usual healthy food like carrots, celery etc. The visualizations were pretty good to look at, and the judges were impressed.
For the second hack (I, and Karen worked on this), we used Flask, Twitter API’s, Bootstrap, and jQuery to create a barebones web frontend, which takes in a Twitter handle, and tells you whether you are crunchy or not. For determining crunchiness (I can’t believe I am typing this :D ), we gathered a set of 70 keywords, which denote crunchiness, and checked for their presence in the most recent 1000 tweets, and assign a score based on it. A score of 10 onwards is defined to be crunchy. It’s a pretty simple implementation, and was done in about 1 hour. The results were pretty hilarious. We were able to show that Donald Trump is definitely NOT CRUNCHY, whereas Bernie Sanders is CRUNCHY. We put the floor open to the audience to give in Twitter handles, to hilarious results. Overall, the audience, and the judges were mightily impressed with our hack.
And did I mention that we won the hackathon?🙂
Here is our winning team picture. Mahesh, Abhijit, Karen…It was a great team effort🙂
Kudos to name.com, QuickLeft for organizing such an awesome, humorous, fun event🙂