News for hackers. Stuff that matters.
Re:Show HN: gitdown - prevents you from coding drunk by eduardordm on Monday April 08, 2013 @10:00AM (#5511691)
What is the point of TDD if you are not allowed to code drunk? :D
Re:Show HN: gitdown - prevents you from coding drunk by koenigdavidmj on Monday April 08, 2013 @12:16PM (#5512607)
In light of Mr Kernighan's quote:

> Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

I was advised that one should code stoned, debug caffeinated, and document drunk.

Re:Show HN: gitdown - prevents you from coding drunk by pavel_lishin on Monday April 08, 2013 @01:49PM (#5513260)
Sure, but who wants to read the FAQ section of a manual whose every answer is "Because fuck you, that's why. Wanna fight about it?"
Re:Show HN: gitdown - prevents you from coding drunk by civilian on Monday April 08, 2013 @10:55AM (#5512040)
I was like: "huh, I wonder if there is a quote about the TDD workflow being so good that you can code drunk." so I googl'd for "TDD drunk".

Turns out TDD also stands for Teenage Drunk Driving. :-/

Re:Show HN: gitdown - prevents you from coding drunk by bnycum on Monday April 08, 2013 @11:34AM (#5512323)
I think TDD was suppose to stand for Tequila Driven Development. I had just heard the term this weekend from a random tweet.
Re:Show HN: gitdown - prevents you from coding drunk by HeyLaughingBoy on Monday April 08, 2013 @03:23PM (#5513889)
Hmmm. I once coded a tiny app for a bottle of Patron. Wonder if that counts?
Re:Show HN: gitdown - prevents you from coding drunk by eLobato on Monday April 08, 2013 @09:40AM (#5511575)
They demo'ed this with Listerine instead of real alcohol and it worked well. Honestly I'm tempted to buy a Drinkshield.
Re:Show HN: gitdown - prevents you from coding drunk by jstanley on Monday April 08, 2013 @09:47AM (#5511607)
Unless they drank enough Listerine to become drunk, I would suggest the opposite.

It isn't measuring BAC very well at all if it is easily confused by someone who has used mouthwash.

EDIT: That's not to say it isn't an awesome project, which it definitely is :)

Re:Show HN: gitdown - prevents you from coding drunk by danso on Monday April 08, 2013 @09:55AM (#5511673)
It's worth noting that swishing Listerine (which does contan real alcohol) will fool police breathalyzers, if you use it minutes before the test. This is why you do a long series of physical coordination tests before finally getting a breathalyzer test when being pulled over:

http://askville.amazon.com/Crest-mouthwash-make-fail-breatha...

Re:Show HN: gitdown - prevents you from coding drunk by gklitt on Monday April 08, 2013 @10:01AM (#5511694)
Indeed, this is exactly what we did in our demo! We just swished with Listerine and immediately breathalyzed on stage and it worked great.

We found that the Listerine effect seems to diminish quickly after several minutes.

Re:Show HN: gitdown - prevents you from coding drunk by volaski on Monday April 08, 2013 @02:05PM (#5513400)
can you get drunk by drinking listerine?
Re:Show HN: gitdown - prevents you from coding drunk by Houshalter on Tuesday April 09, 2013 @06:03AM (#5517173)
I looked it up and it is about 21% ethanol. Which is more than most drinks I think.

EDIT: On further research it seems that they put stuff into mouthwash to make it undrinkable, in order to prevent abuse and avoid taxes and regulation on alcohol. That doesn't prevent you from ingesting it however. It's just supposed to make it unpleasant.

Re:Show HN: gitdown - prevents you from coding drunk by RockyMcNuts on Monday April 08, 2013 @10:03AM (#5511707)
If it had worked maybe they wouldn't have committed this project in the first place.
Re:Show HN: gitdown - prevents you from coding drunk by ramseynasser on Monday April 08, 2013 @12:21PM (#5512643)
Geoffrey and Alex are super sharp hackers and awesome people. Here's a video of them demonstrating the project: http://www.youtube.com/watch?v=NnBb1wmHj5k
Re:Show HN: gitdown - prevents you from coding drunk by tterrace on Monday April 08, 2013 @11:52AM (#5512448)
This is awesome, there's just something that's inherently cool about building things that take physical input using hardware other than a mouse & keyboard.
Re:Show HN: gitdown - prevents you from coding drunk by mkrecny on Monday April 08, 2013 @10:04AM (#5511714)
Sensational, useless.
Re:Show HN: gitdown - prevents you from coding drunk by pc86 on Monday April 08, 2013 @10:40AM (#5511934)
Killjoy.
Re:Show HN: gitdown - prevents you from coding drunk by systematical on Monday April 08, 2013 @11:48AM (#5512421)
This is pretty cool, but why would anyone want to program drunk? Maybe I'll program for a few minutes over the occasional glass of wine as I am gearing down for bed, but full on drunk? No...
Re:Show HN: gitdown - prevents you from coding drunk by neilmiddleton on Monday April 08, 2013 @12:02PM (#5512509)
You program sober?
Re:Show HN: gitdown - prevents you from coding drunk by Hovertruck on Monday April 08, 2013 @10:30AM (#5511871)
Similar project from last year from my friend Adam: https://github.com/akdetrick/ballmer
Re:Show HN: gitdown - prevents you from coding drunk by gklitt on Monday April 08, 2013 @10:55AM (#5512035)
Well, looks like we weren't the only ones to have this idea!

I think our project fits more naturally into a standard git workflow because the script is automatically called as a git hook. His project does have us beat with displaying messages as rainbow ASCII art though.. :)

Re:Show HN: gitdown - prevents you from coding drunk by joeblau on Monday April 08, 2013 @12:00PM (#5512503)
When I read the name, I think of Arnold Schwarzenegger trying to say "get down"
Re:Show HN: gitdown - prevents you from coding drunk by sspiff on Monday April 08, 2013 @12:08PM (#5512560)
When I read your comment, I couldn't help but think of this: http://www.youtube.com/watch?v=Yn3Xp2jkTZQ&t=116
Re:Show HN: gitdown - prevents you from coding drunk by mholkesvik on Monday April 08, 2013 @12:43PM (#5512788)
I need something like this for my phone. Nice work Geoffrey and Alex!
Re:Show HN: gitdown - prevents you from coding drunk by rhokstar on Monday April 08, 2013 @02:34PM (#5513576)
This is genius.