Skip to content
Episode 33: How to Win a Hackathon episode artwork

Sep 23, 2016 28 min

Episode 33: How to Win a Hackathon

from How Your World Works Hosted by Popular Mechanics / Panoply

If you read the October 2016 issue of Popular Mechanics, you may have noticed a section of the Breakthrough Awards devoted to competitors from Major League Hacking, the competition circuit for college and high school-aged hackathons. And you may also have noticed that Danny Yim and Jake Kaplan of the Bergen County Academies in New Jersey took home a prize at their hackathon for making one soldering iron to rule them all. And then, if you're still with me, you probably found yourself wondering: What's a hackathon actually like? What's it like solving problems when you haven't slept and have nothing in your body but soft drinks and processed carbs? Well, on today's show, Danny and Jake drop by the studio to fill you in. Special musical thanks this week goes to Hackerblinks for their song "Eighth."

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Episode 33: How to Win a Hackathon

0:00 28:19
of matches

Transcript Auto-generated, may contain errors

Okay, picture this. You're a teenager again. It's the weekend. You've gotten a bunch of friends together, and you know you're going to have minimal adult supervision for 24 to 48 hours. What do you do?

Well, if you said code groundbreaking apps and invent new stuff, you're a liar. We all know the kinds of shenanigans you'd get up to. But today's kids, they actually do that, and kind of often. It's called a hackathon. You throw a bunch of kids in a room together, offer them some equipment, organize them into teams, and then see who makes the coolest things. In fact, in the October issue of Popular Mechanics, we gave out some of our breakthrough rewards to hackathon teams. And on today's show, I invited one of those teams, Jake Kaplan and Danny Yim of the Bergen County Academies in New Jersey, to tell us more about what the hackathon experience is like. I'm Kevin Dubstik, and this is how your world works.

For today's show, I've got two guests in the studio with me here. Danny M and Jake Kaplan. Guys, say hi. Hey, I'm Jake. I'm Danny. So you guys are juniors at Bergen County Academies, right? Yep. Now, the way I got introduced to you is that for our October Breakthrough Awards issue, we took a look at a couple of teams that participated in hackathons recently and had success with cool projects they were working on. You guys were a team that we wrote about. You put together what I think we called the Cadillac of soldering irons. And I thought it would be really interesting to hear from you guys about what a hackathon is like, what a team is like, how you work together, what kind of problems you face. So you're going to talk me through it, yeah? Yeah. Yep. So I guess actually the first thing I asked was just like...

You guys are generally interested in science, or do you have particular things you like, or is it computer science more than biology? So the school we attend, Berne County Academies, we're divided into seven sub-academies. So we've got engineering, culinary, medical, science. We have a computer science academy, and both of us are in engineering. So our original interest going to high school when we applied for this magnet school was to go into engineering, to more or less go into an engineering field once we grew up.

From our high school, there was a computer science, a couple computer science students started a hackathon. Our high school was one of the first successful high school hackathons to happen in this country. Those first ones were before you guys got there. Yeah. The second and third we both participated in. In complete honesty, coding really isn't my forte. I am pretty bad at it, not gonna lie. I have some interest in computer science. My brother is very interested in it. But my interest is more, I like working with electrical and mechanical, so more hands-on, you know, physically hacking. Okay. Neither of you guys wanted to do the Culinary Academy? I'm surprised. Well...

It was a hard decision not to, but since we're in the school with them, we can always mooch off with their food. Yeah, well, that's the way to do it, right? So you guys knew each other. Were you guys just like buddies in school first and then participating together? Did you meet at a hackathon? We met our freshman year. The week before school or two weeks before school starts, freshman year, some of the upperclassmen run an event called eCamp, engineering camp. And so it's for...

all the freshmen come and they can meet everyone before school starts and get to know each other and how the school works in the academy. And so I met Danny there, and that's where I first met him. And throughout school, I've had classes with him. And so we've gotten to know each other better, and we've worked on projects prior to the hackathon project. Yeah. You know, I'm sure a lot of our audience won't have been to a hackathon. I haven't actually been to one. Just explain what a hackathon is.

I guess the whole hackathon's purpose is kind of a competition. It's to encourage people on the spot to build whatever they can within that 24 hour or 36 or even 12 hour period in order to, what is it, develop a useful app, develop something fun. Nowadays, I've heard that they have something called game bashes where people develop games, like full-fledged, like PC games that you can download within 24 hours. And I think it's an environment that you can really encourage to, what is it, see what you can put together within 24 hours. They're definitely projects that you can take.

out of them and then really run with it to even make a startup company if we wanted to. Something we got suggestions for was we could probably take this straight to Weller, which was the original soldering iron company, and see if we can try to market it to them. But we're high schoolers. Hey, you'd be surprised. Typically, the hackathons, they're mainly focused on computer science-related hacks. You could develop a web app or something entirely on the computer. But the thing that we pursued at our hackathon and something that's becoming a bit more popular, especially at our school hackathon, is something called hardware hacking. And that's where the main focus of your hack.

isn't really in the code. It's got a lot to do with, you know, physically making something and using hardware and electronics. And you can also have a code to back it up. You can have a mix between the two, like what we did. There are new novices or amateurs who can come start learning how to code, or there are other members who come who fully have that experience with coding. So they compete within that 24 hours to create a project that works.

There is usually a competition element, and I know the hackathon that we covered your project for in the magazine was part of Major League Hacking, where they actually do a full season of competitions, but can you just talk a little bit about what's, you know, you said that you've had friends who've learned to code on the spot, put together a project, and then still been able to place. So how do the competition aspects usually work? It's kind of like whatever project stands out to the judges. For the last two years for high school, we just kind of found our own sponsors. And let's say we'd have Intel sponsor a few prizes. We'd have other companies sponsor a few prizes. And they'd get different prizes. Let's say Best Actimino hacked, Best Mobile App hack, Best Overall, Second Best Overall. The sponsors walk around and they see what you have and they see what they like. A large group is selected, like, I don't know, maybe. Yeah, well, there's a panel of judges, but then they select, like, a large group of hacks, maybe.

20, 30 that they bring on to the next round and the sponsors and judges just walk around and they just look at your projects and see what you have to offer and if they like what you've got then they take the top five and they bring them on stage and then you give a presentation about it. I think one of my favorite presentations I've ever seen that went on stage after the initial round of presentations was this hackathon that we were just at. There was a guy who built an RC plane, routed on stage, took off. and then crash it into the audience. I'm pretty sure, like, everyone was pretty sure that he was going to be the one to win first, because his project was insane. Yeah. It was like, he carved the entire plane out of, like, foam board, and he put motors on himself. It was insane. And it would have been probably a clear winner if it wasn't for him crashing it into a kid. I think that might have been a... Yeah. Was the audience okay? Like, the audience was shocked, I guess. Yeah. So then we kind of laughed it off afterwards. I think his goal was to build...

a functional RC plane that was cheap and had first-person view that didn't stream on his phone. Wait, so was he streaming when it crashed into the kid? I think so. I'm not exactly sure where the video went, though. That's a shame. I think he was playing the video on the screen. He was playing it on the screen as it crashed? Yeah. I guess we can look for that eventually. One for the record books. So, okay, so what time of day do you usually go to start the hackthons? Like, after school on Friday? Like, set the scene for me. So...

It starts Saturday. We start checking kids in around 12 o'clock. We start the hackathon around 3. You're not allowed to start working on your project beforehand, so we all brought, like, raw material as in just, like, straight out of Home Depot. It's just stolen their sheets. But what is it? Once the hackathon starts, you can start working on it. So some people choose to bring their own materials for hardware hacks. Like, they bring their own breadboards and electrical components to breadboard software. What is it? Circuit if they want to. Or in our case, we brought a whole bunch of materials. And then once the hackathon started, we started working on it. Yeah. So do you have, like, everybody kind of has their own little, like, station set up?

Yeah, when you walk in, there's just rows upon rows of tables, and you kind of just find an open spot and start working there. Some people, I'm not even kidding, they'll bring their full desktop computer to the event, and I've seen someone who brought their entire desktop and two 20-inch monitors, and that's people, you know, LAN parties? Yeah, yeah. Do people still do that? I think so, yeah. I was going to say that. I don't know if you guys would know what that was. That was when I was in college before doing that. But people will set up their gaming stations, and we've got the kids who code, you've got the kids who do homework, and you've got the kids who play video games for 24 hours straight. And the kids that sleep.

Yeah. Because, I mean, another thing that the Hackathon has is boxes upon boxes of chips and soda. So, you know, it is a great event if you just want to, you know, chill and eat. Like, go record yourself on potato chips and fall asleep. We got a lot of food sponsors. Yeah. So, you got a free meal. You got, what is it, dinner, lunch, and breakfast out of it. And cookies with milk. Yeah. We have midnight pizza. Oh, come on. Dippin' Dots. Do you ever have to, like, muscle people out of your space? Not really. Not really. I mean, occasionally you'll have the heavy sleeper under your desk.

What? Explain. So, like you said, it is a 24-hour event. And so you've got people sleeping anywhere they can find. And occasionally you'll have students who, you know, just want to lie down for a brief few minutes. So they'll put down a pillow under the desk and just sleep there. Yeah. But then they...

It will turn from a few minutes to a few hours, and they'll wake up disoriented, very confused, maybe bump their head on the table. Like, where am I? Why am I underneath the table? Are the teams always preformed? Do some people form teams on the spot? Or is it always you register and you know who your team is? There's a number of people that form teams on the spot. There are a lot of people that are coming from outside the school that don't have a group. Because when you're coming from the school, a lot of the students that go there tend to form their group beforehand because we see each other, and it's easy to form a group.

but many of the people who are just coming from not from our school, they'll come alone or with one other person. They'll meet up with some other people and be like, hey, you guys want to start a project? And there's also the people that, like Danny said, that start, they go to a workshop, learn how to code, and now they know how to code something and they have an idea, but they don't have any group because they came not even know how to code. So you'll have some people that were at a workshop together. Maybe they'll come together and start working on a project. Yeah. What do you think makes a good team? I mean...

A very big thing that makes a good team, or at least that prevents a bad team, is having someone who's... If you're going to work, that's also going to work. They have a similar work ethic because you don't want to ever really be working with someone who just came to, you know, check out other people's projects, eat food, play video games and sleep. Because then you're going to be slaving away at your project and you got to make up for all the slack that they're given. And then you can't, it's not as fun and then you're not as productive. And so one of the things that helped Danny and I work so well together is that we both, we spent the whole time just, you know, working away on our project. And we did take, you know, an occasional break to, you know.

let off some steam, you know, cool down from working on the project for a while to get food, to check out some of the nearby projects. But for the most part, the two of us, we both had the same mindset to, you know, keep working and get it done. And we finished in time and everything, which is important. Does it help to have like, I'm just thinking of like movies where like the team of... criminals, joins up to rob the bank, and there's, like, the lockpick, and there's the guy who's, like, good at sleight of hand, there's the guy who's, like, the smooth talker, and there's the guy who, like, knows the bank manager. Does it help to have, like, a different set of skills? Like, do you guys each have things that you focus on? Yeah, it does help a lot. So, as Dayi said before, he's not, he doesn't really specialize in coding, not by any means. Like I said, my brother codes a lot, so I picked up some from him, and so I know a bit of Java, I know a bit of Arduino, and so I was able to, you know, work on the code, and then he's, he has a good idea of, you know, electronics setting up.

systematics and PCBs and working that out. So we designed our own Arduino shield for this, so I spent a lot of time soldering all the components to the board, and then the physical fume extractor that was on there, I spent some time designing. Both of us learned CAD, so we went back and forth between rapid prototyping with 3D printer and designing it on CAD at the event itself. Yeah, well, so let's go back, because we haven't ever, we've talked about it a few times, we haven't actually said what your project was, so what's the project? Well, the project was, it's a smart soldering line, and so we added a few functionalities to it that improved it.

so that it you know would be better than just a regular cider iron and first of all uh there's the whole problem with um temperature adjustments and being able to you know adjust your temperature of the iron so if you buy like a cheap soldering iron for like 10 bucks uh you plug it straight into the wall and it you can't change the temperature it just goes you know full power into the iron but if you buy like a more expensive one these can go up from like 70 or more uh now you have temperature control but of course it's much more expensive and so we wanted to uh take one of these cheap ones and incorporate our own temperature control so yeah so we use something called um pulse with modulation and we use a hardware pulse with modulation using a um a solid state relay they're really cheap soldering irons like the ten dollar ones they're really appealing because you're you're looking at the ones that cost 70 and up 60 70 and up and you're thinking wow that's really out of my budget and then you look at one that's 10 bucks and you're saying hey i can get that yeah so um they work well if you take care of them i've managed to have one of them last me a year now but the general problem with those are is that you kind of get your money's worth they work well for however short period of time you have them some have them last year some have them last a few months and the main problem overall is just because you are putting full power through it constantly

when you overheat the heating element, there's no set way the soldering iron fails. Like, there's dozens of ways you can start underheating, you can start overheating, the tips corrode pretty quickly. So there's, like, dozens of ways those fail. So we're thinking... if you add temperature control to it, that can prevent most of those problems, because by controlling the temperature of the soldering iron, then you're preventing the main, more or less the main problem of overheating. So, what is it? We were looking to find a cheap way to add temperature control to the soldering iron itself. So you knew that you wanted to, because it sounds like sometimes people will show up and not necessarily know what their project will be, right? But in this case, you guys knew, you brought the soldering iron with you, you knew that you wanted to work on the soldering iron project, but you didn't know, aside from temperature control, you kind of knew you wanted to tackle that problem, but you didn't really know what else exactly you wanted to do. Yeah, like, for example, the fume extractor, we said...

We want fume extraction on it, but we really didn't know what to do execution-wise, so we bought a whole bunch of random pieces of piping and said, we'll figure it out on the spot. So his computer can run CAD on it. So we designed a few, we had a few prototype clips, and then we managed to design a clip that can fit over the soldering iron to hold the tube in place. So that, what is it? And fume extraction, just to be clear for anybody who's not familiar, so that's when you're soldering, it sort of gives off stuff that's not healthy. So you have to get something to suck that up and keep it from you breathing it in, or that kid sleeping under the table breathing it in. Since it creates toxic fumes, it's always highly recommended that you're either in a highly ventilated area or you have fume extraction. I mean, like...

I spent most of my earlier years sticking a box fan out my window hoping for the best. But the proper way to... do fume extraction is have a room that's actively ventilated so a lot of workshops have actively ventilated rooms or they have these fume extractors that look like miniature box fans with a carbon filter in front of them and those filter out any of the toxins in the smoke and the problem we didn't like with those the problem is and what we don't like with those fume extractors are because they're such small fans you have to literally be like three or four inches up against it with a soldering iron to have enough suction around it to pull the smoke through it. You said you guys knew you wanted to tackle this but didn't quite know how so you just brought a bunch of raw materials. Can you kind of walk me through the process of sort of figuring out what you actually should make and then kind of the trial and error it took to get it working?

Yeah, so we did want to attach some sort of fume extraction method. And so we were thinking, you know, we'd use this tubing to extract the fumes directly from the tip of the iron, and then it would go and be filtered somehow. But we weren't really sure how we wanted to filter it. We weren't really sure, you know, what type of fan we wanted to use or anything. So Danny had some of his old big box fume extractors. And so originally we designed on the CAD software on my laptop, we designed a mount that would, you know, funnel from the tubing and then attach directly onto the big fume extractor. And so...

you could just mount it onto the fume extractor that he had and that it sort of worked but the suction was so limited it just wasn't enough to really pull the fumes through the tubing especially if there was any like sort of wind at all even from like a fan you know 20 feet away it would just not go through the tubing and so we met someone that uh was a regular attendee of our local makerspace and he just happened to have in the back of his van in the parking lot. That sounds sick. A bunch of computer fans. Yeah, high power PC fans. And they were, he called them super fans because they were so high power. So there were, what is it, there were 40mm high suction fans for big server units because server units, they can go over here. This guy just had his van hanging out in your parking lot? No, he was one of the chaperones at the event. He knows we were struggling with the fans. Since it was designed for high suction.

It turned out well for us. So we redesigned that cone, we 3D printed it, and we attached it to the tubing. I think we got it working 20 minutes before the judges came around. Yeah, so since we were trying with the original fan idea, you know, and we spent a bit of time, we were working on the other aspects of the project, but we kept going back to it and we couldn't get it to work. And then he offers us the fan maybe an hour, an hour and a half before the end of the event. And we're like, awesome, but now we need to design a new funnel and be able to mount and everything. And so we luckily, because we, you know, new CAD and stuff, we could just design, change a few.

parameters on the original funnel so it could be redesigned and fit over the fan. And then we had to 3D print it and the print itself was like an hour. And so by the time it was done printing and we assembled it and everything, it was like 20 minutes before the event. And so we were like, you know, all crowded, you know, us and the guy who brought us the fan and a few of our friends were like crowded around the soldering station. And we were just like, you know, waiting for it to heat up so we could test it with some solder and see if it set it up. Yeah. The minute the fumes went into the iron.

It works. Eureka. Is it pretty frantic the whole time, just with the pace of work and stuff? First, you're always calm, right? Yeah, you're always calm. You're like, ah, 24 hours, easy. I'll just get some chips, get some soda. Time to sit back and relax. And then it's 2 in the morning, and that's when it really starts to hit you. Because not only are you really tired now, and you've got to work through the tired phase before you get to the, I've been up for 10 hours in the early morning, I'm never sleeping again phase. But you also know that you're starting to run out of time.

Was there a point during this project or during other projects he's worked on where you just like thought like all hope is lost? The fan. The fan, definitely. And then while I was working on the software, I could not get it to work because a simple error, pretty much I was saving the current time. Well, to wait for the standby mode, we had to wait either 15 or 30 seconds. And so saving, you know, when the iron was docked, I saved the time as an integer. And then I compared the current time to that saved time until it was 15 or 30 seconds apart. Well, what I didn't account for was an integer is only, you know, so many...

bits and the current time is set in milliseconds and so that takes up a lot of bits and so it only lasts about 65 seconds until it resets and so I was having problems where after a minute it would just stop working and so it was working at first and that wasn't working so I was going like insane I had to walk away from it like twice over the span of like two hours and this was around like two in the morning because I just couldn't figure out what this error was because you know it would work and then all of a sudden we just stop working like what is that and so finally I figured it out and I used some method where it would check how many sets of 65 seconds or whatever it would be and then it would add a counter to that to check for that. So I was able to sort it out. But I was going insane with that one bug. Was Danny helpful? Was he just making fun of you or what? Half and half. I always make fun of him for everything he does. So how does it feel to actually finish? Like when everything was working and it was done, how does that feel? It's very like, you know, you have a brief period of, we made it. And it's like, hallelujah, we're done. But then, of course, we got called for the second set of judging. And so then it was kind of like, well, we just finished. And now we have about five minutes left to prepare what we're going to talk about at the judging session.

um and so it's like you get right back into it and then it's not until uh it wasn't really until for us uh that when we made our presentation we kind of sat down and i think we were like the second presentation so we listened to the remaining presentations um and we could really relax then um and it we were so relaxed at that we were like so you know tired and just like oh it's finally over When they called us up for first place, we didn't even register. We didn't register, so we're sitting there. We're clapping. We're like, oh, nice. I wonder whose project that is. Her friend's just looking at us. Oh, you go home. We're like, oh. Yeah, it's you. It's your turn. But I think, have you ever done the spaghetti tower challenge before? No, I have no idea what that is. So for team building activities, what they do is there's a spaghetti tower challenge where they give you 20 pieces of spaghetti, one yard of string, one yard of tape, and a marshmallow. And you have to build the tallest tower you can out of all the materials you have and have the marshmallow on top. And that's how it's measured. Oh, okay.

I want to liken hackathons to building the spaghetti tower because it's really cobbled together a lot. And not even for our own hacks, but even for codes, there's a lot of glitches, there's times when it crashes. So that moment when you get it working, you've also got that, like... thought in the back of your head saying will this run for a second time will this be reliable for the what is it time in front of the judges and the thing about spaghetti tower challenges is that you've you build a tower you think all right we got it like time's up you put the marshmallow on top tower stays up for like a good 20 seconds and then it collapses over because most people don't take into account the weight of the marshmallow because they're so busy building the spaghetti tower so then by the time you put the marshmallow on top it's like that rush of enjoyment because like oh my god i've got a tower that's standing with a marshmallow on top yeah and afterwards you really don't expect it but it just collapses on you so yeah it's always like that fear of like you've made it but also like will this tower collapse on me at the same time yeah It was like fingers crossed for us. Yeah. Lucky for us, our tower didn't collapse. Yeah, you didn't crash your marshmallow in the audience. What did you say in your presentation, by the way? I really don't remember. We were in that delirious phase where after 24 hours we didn't sleep and they put us on stage with the microphone and we're like... Personally, I was talking and talking about the pulse width modulation and I didn't think I could have sounded more boring. And the audience is just sitting there like, they're drooling almost. They're already tired. I had to put at least half of them to sleep. And so we really weren't expecting, you know, that they would be...

as pleased with their project as they were right i think what was really funny for like i think the both of us too because like we i don't know i don't really remember much from the presentation just because of how delirious i was but i think apparently we presented the whole issue with soldering irons the really cheap ones as a very like dire issue to like engineers all around the world because like when the judges came up to present the reason why we didn't think it was like us that won first place was because they said oh like like this group managed to tackle such a large issue at hand and we're thinking that can't be honest it's just a Really? It's not really that big of an issue. Yeah, immigration, poverty, sovereign iron. Yeah, more or less. Awesome. Well, guys, thanks for coming in. This was really fun. Yeah, it was. And good luck with next year. Thank you. Thank you so much. So that's our show. How Your World Works is produced by the staff of Popular Mechanics and edited by Jesse Wright Mendoza. We'd like to thank Sarah Bentley and Andy Bowers from Panoply and Popular Mechanics Editor-in-Chief Ryan D'Agostino.

Please subscribe to our show on iTunes. And while you're there, leave us a comment. We'd love to know what you think. And by the way, don't forget to check out our other show, The Most Useful Podcast Ever. If you want to read more about hackathons, check out our website, popularmechanics.com slash podcasts. And while you're there, remember that you can subscribe to the print and digital editions of our magazine for just $13.99 for one year. I'm Kevin Dubsek. Thanks for listening.

Frequently asked questions

How long is this episode of How Your World Works?

This episode is 28 minutes long.

When was this How Your World Works episode published?

This episode was published on September 23, 2016.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this How Your World Works episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.