News for hackers. Stuff that matters.
Re:How Do You Look When Merging Fails by ryanwaggoner on Friday January 08, 2010 @12:56PM (#1040017)
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 :)
Re:How Do You Look When Merging Fails by dschobel on Friday January 08, 2010 @01:29PM (#1040088)
Amazing. I was expecting some theoretical dissertation about productivity and coding and instead, got a heaping spoonful of awesome.
Re:How Do You Look When Merging Fails by axod on Friday January 08, 2010 @06:09PM (#1040673)
No, you got the tech equivalent of a lolcat.
Re:How Do You Look When Merging Fails by icefox on Friday January 08, 2010 @01:56PM (#1040144)
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.
Re:How Do You Look When Merging Fails by gcheong on Friday January 08, 2010 @02:01PM (#1040151)
I like how you can tweak the timing of the camera with the EMOTIONAL_SLUGGISHNESS_RATE
Re:How Do You Look When Merging Fails by dasil003 on Friday January 08, 2010 @05:34PM (#1040602)
This was my first thought before I looked at the code. The constant name is perfect and intuitive. Great work.
Re:How Do You Look When Merging Fails by patio11 on Friday January 08, 2010 @07:50PM (#1040824)
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.

Re:How Do You Look When Merging Fails by gcheong on Friday January 08, 2010 @07:59PM (#1040834)
Yes, but it wouldn't have made me laugh...
Re:How Do You Look When Merging Fails by kelnos on Saturday January 09, 2010 @01:07AM (#1041106)
Sure, if you have no sense of humor...
Re:How Do You Look When Merging Fails by alttab on Saturday January 09, 2010 @05:43PM (#1042107)
Gotta ruin everyone's fun?

However correct you are! Maybe EMOTIONAL_DELAY?

(oh the implications!)

Re:How Do You Look When Merging Fails by tlrobinson on Friday January 08, 2010 @02:30PM (#1040223)
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.
Re:How Do You Look When Merging Fails by xenonite on Friday January 08, 2010 @01:46PM (#1040128)
Haha, and the picture comment by his daughter :-D ("you look soo silly") g
Re:How Do You Look When Merging Fails by ErrantX on Friday January 08, 2010 @02:55PM (#1040273)
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/

Re:How Do You Look When Merging Fails by brown9-2 on Friday January 08, 2010 @01:00PM (#1040026)
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!
Re:How Do You Look When Merging Fails by mrcharles on Friday January 08, 2010 @01:41PM (#1040112)
Too bad this wasn't hooked up to a hashtag when it twitters so that we can search for them.
Re:How Do You Look When Merging Fails by stevelosh on Friday January 08, 2010 @01:42PM (#1040115)
You could just search for the message itself ('Another merge failed.').
Re:How Do You Look When Merging Fails by blasdel on Friday January 08, 2010 @10:33PM (#1040973)
Hashtags have nothing to do with search, and everything to do with drawing attention to bandwagon-hopping.
Re:How Do You Look When Merging Fails by quellhorst on Friday January 08, 2010 @04:49PM (#1040522)
Don't code naked!
Re:How Do You Look When Merging Fails by gruntruk on Friday January 08, 2010 @11:57PM (#1041051)
I also thought the straight to Twitpic feature could lead to some embarrassing moments.
Re:How Do You Look When Merging Fails by donw on Friday January 08, 2010 @02:35PM (#1040235)
Genius. Just genius. I wonder if you could do something similar, with a picture on every check-in to indicate code quality...
Re:How Do You Look When Merging Fails by zitterbewegung on Friday January 08, 2010 @11:00PM (#1040992)
If only I used HG. If someone made this for darcs it would be a movie of watching a merge fail though.
Re:How Do You Look When Merging Fails by Pistos2 on Friday January 08, 2010 @06:55PM (#1040745)
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.
Re:How Do You Look When Merging Fails by colbyolson on Friday January 08, 2010 @03:21PM (#1040329)
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.
Re:How Do You Look When Merging Fails by monological on Friday January 08, 2010 @05:29PM (#1040592)
Re:How Do You Look When Merging Fails by tibbon on Friday January 08, 2010 @01:03PM (#1040034)
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. :)
Re:How Do You Look When Merging Fails by mahmud on Saturday January 09, 2010 @12:33AM (#1041081)
Ouch. I was expecting something about corporate image after a failed merger/acquisition, but I was pleasantly surprised.
Re:How Do You Look When Merging Fails by fretlessjazz on Friday January 08, 2010 @07:57PM (#1040832)
Someone should commit an equivalent patch to Subversion and have it auto-email their developer mailing list.
Re:How Do You Look When Merging Fails by fretlessjazz on Friday January 08, 2010 @07:57PM (#1040833)
* Subversion's developer mailing list, that is:)
Re:How Do You Look When Merging Fails by gills on Friday January 08, 2010 @06:55PM (#1040747)
That's just beautiful. Thanks for making my afternoon!
Re:How Do You Look When Merging Fails by timinman on Friday January 08, 2010 @02:38PM (#1040245)
Love it. Love it. Love it.