Monday, July 9, 2007

Obsessive compulsive at work

So this evening at around 6:30 I was trying to get something to work, and needed to remove a couple of conflicting function definitions. The next thing I found myself writing a series of sed routines to replace every ACE CString in the codebase with STL strings [simultaneously converting fast_rep() method calls to c_str() and removing redundant c_str() calls where the result was just being converted to an STL string anyway]. Well, it's 11:14pm and I committed 6439 lines of changes across 19 commits. Not quite what I had in mind. Ouch. What the hell was I thinking??

Need food. No money. Have to stop at ATM so I can buy bread on the way home.