Made of Everything You're Not

If you're a stalker I'd prefer if you didn't kill me. Thanks.
  • Home
  • Projects
  • Portfolio
  • Resume

Posts Tagged ‘diff’

How Do You Diff?

Posted in Brain Dump, Programming on May 20th, 2009 by Eric Lamb – Be the first to comment

The other day I was working on a page that made heavy use of JavaScript. I’d been cool about it actually; I was using Prototype and Scriptaculous as the framework. I was even testing with virtual machines and everything!

DiffMerge

DiffMerge

Then, mysteriously, the page stopped working in IE. Really frustrating because, well, fuck man, it WORKED. Why it happened doesn’t matter; I did something pretty stupid.

What is important is that it was fixed. For that, I went through my source (SVN) repository and found the file that worked. Easy really.

This still left the issue of why it happened though.

Quick aside: I don’t understand people who just accept that something works (ie; it broke, I fixed it, I’m done). How can you not need to figure out what happened? How will you prevent this from happening again?

To solve that little mystery I busted out my trusy diff tool; SourceGear’s DiffMerge.

I’ve tried a bunch of diff tools, on both Windows and Linux, but at this point I’m really digging DiffMerge. According to the site:

  • Diff. Graphically shows the changes between two files. Includes intra-line highlighting and full support for editing.
  • Merge. Graphically shows the changes between 3 files. Allows automatic merging (when safe to do so) and full control over editing the resulting file.
  • Folder Diff. Performs a side-by-side comparison of 2 folders, showing which files are only present in one file or the other, as well as file pairs which are identical or different.
  • Configurable. Rulesets and options provide for customized appearance and behavior.

It’s a really great diff tool totally worth checking out.

Bookmark and Share
  • Subscribe: Entries | Comments
  • About Me

    Email Email
    Twitter Twitter
    310.739.3322
  • Categories

    • Brain Dump
    • Business
    • Code
    • IT
    • Programming
    • Rant
    • Servers
  • Archives

    • October 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • February 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008

Copyright © 2008 - 2012 Eric Lamb - All rights reserved