30 comments

[ 3.9 ms ] story [ 60.0 ms ] thread
Hilarious. This should be built-in to all of those error-reporting systems that software developers use so they can really feel their users' pain when something in their software breaks :)
At first I started thinking "well this sounds kind of silly" ... and then I scrolled down far enough to see his results and saw the perfect expression of what it feels like when this happens!
I just sent that to our team that is getting used to using Git/Github as opposed to msft VSS and were just asking about merging fails. :)
Amazing. I was expecting some theoretical dissertation about productivity and coding and instead, got a heaping spoonful of awesome.
Well, this is a good example of a hook that you can add to your distributed revision control systems. Something that could never be added to a set of hooks that are run on the server. And local hooks can cause productivity boosts.
No, you got the tech equivalent of a lolcat.
Too bad this wasn't hooked up to a hashtag when it twitters so that we can search for them.
You could just search for the message itself ('Another merge failed.').
Hashtags have nothing to do with search, and everything to do with drawing attention to bandwagon-hopping.
Haha, and the picture comment by his daughter :-D ("you look soo silly") g
I like how you can tweak the timing of the camera with the EMOTIONAL_SLUGGISHNESS_RATE
This was my first thought before I looked at the code. The constant name is perfect and intuitive. Great work.
The constant name is perfect and intuitive

I might have gone with DELAY_BETWEEN_DETECTION_AND_PICTURE, because it describes what the constant is used for and does not describe it as a "rate", which suggests some sort of x / t measurement where t is a unit of time.

Yes, but it wouldn't have made me laugh...
Sure, if you have no sense of humor...
Gotta ruin everyone's fun?

However correct you are! Maybe EMOTIONAL_DELAY?

(oh the implications!)

OS X users can use this instead if you install "isightcapture" (available through MacPorts: "sudo port install isightcapture")

    def grab_image(fname):
      os.system("isightcapture "+fname)
Anyone know how to do the same for git? AFAIK the merge hook isn't run if the merge fails.
Genius. Just genius. I wonder if you could do something similar, with a picture on every check-in to indicate code quality...
Don't code naked!
I also thought the straight to Twitpic feature could lead to some embarrassing moments.
Hilarious! I laughed out loud more at this than anything else online I've seen in the last year. Imagine hooking it up to a mic to also snap a pic when a certain volume threshold is exceeded; i.e. when you curse at your computer.
That's just beautiful. Thanks for making my afternoon!
Someone should commit an equivalent patch to Subversion and have it auto-email their developer mailing list.
* Subversion's developer mailing list, that is:)
If only I used HG. If someone made this for darcs it would be a movie of watching a merge fail though.
Ouch. I was expecting something about corporate image after a failed merger/acquisition, but I was pleasantly surprised.