Settings

Theme

How Do You Look When Merging Fails

andialbrecht.wordpress.com

269 points by aristoxenus 16 years ago · 30 comments

Reader

ryanwaggoner 16 years ago

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 :)

dschobel 16 years ago

Amazing. I was expecting some theoretical dissertation about productivity and coding and instead, got a heaping spoonful of awesome.

  • axod 16 years ago

    No, you got the tech equivalent of a lolcat.

  • icefox 16 years ago

    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.

gcheong 16 years ago

I like how you can tweak the timing of the camera with the EMOTIONAL_SLUGGISHNESS_RATE

  • dasil003 16 years ago

    This was my first thought before I looked at the code. The constant name is perfect and intuitive. Great work.

    • patio11 16 years ago

      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.

tlrobinson 16 years ago

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.
xenonite 16 years ago

Haha, and the picture comment by his daughter :-D ("you look soo silly") g

ErrantX 16 years ago

This guys projects are worth checking out too.[1]

If it does everything claimed (not tried it out yet) Crunchy Frog [2] looks prettyy useful.

1. http://andialbrecht.wordpress.com/projects/

2. http://code.google.com/p/crunchyfrog/

brown9-2 16 years ago

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!

mrcharles 16 years ago

Too bad this wasn't hooked up to a hashtag when it twitters so that we can search for them.

  • stevelosh 16 years ago

    You could just search for the message itself ('Another merge failed.').

  • blasdel 16 years ago

    Hashtags have nothing to do with search, and everything to do with drawing attention to bandwagon-hopping.

quellhorst 16 years ago

Don't code naked!

  • gruntruk 16 years ago

    I also thought the straight to Twitpic feature could lead to some embarrassing moments.

donw 16 years ago

Genius. Just genius. I wonder if you could do something similar, with a picture on every check-in to indicate code quality...

zitterbewegung 16 years ago

If only I used HG. If someone made this for darcs it would be a movie of watching a merge fail though.

Pistos2 16 years ago

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.

colbyolson 16 years ago

I cant find any documentation on installing CVTypes, could someone who knows some python help me out? I would love to play around with this and share it on github.

tibbon 16 years ago

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. :)

mahmud 16 years ago

Ouch. I was expecting something about corporate image after a failed merger/acquisition, but I was pleasantly surprised.

fretlessjazz 16 years ago

Someone should commit an equivalent patch to Subversion and have it auto-email their developer mailing list.

gills 16 years ago

That's just beautiful. Thanks for making my afternoon!

timinman 16 years ago

Love it. Love it. Love it.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection