• Shell Magic: Globally Find/Replace Text Using RegExps Within Many Files

    Here’s one of my favorite Perl-based one-liners which I whip out when I need to find a bunch of files and replace text based on regular expressions at the command line. find . -iname ‘*.js’ -exec perl -pi.bak -e ‘s/2006/2007/g’ {} \; This example first finds all JavaScript files (using a case-insensitive file extension) in…

  • Convince Your Manager You Need A Wiki

    Sometimes the pointy-haired manager just doesn’t “get” the wiki concept. Here’s something to email him/her.. The business benefit of a wiki is two-fold. First, project members and team have a single, common platform for managing documents which is easy to reference (in email, IMs etc), cross-platform, accessible, and perhaps most importantly, searchable. Second, it gives…

  • Please Stop Saying "Google Simple"

    It should be generally assumed that designs should be as simple as possible. So if you’re working directly with a competent designer, you need not say so. If your designer does not hold this as a core working principle, get a new one. Client: “We’d like you to design a next-generation car dashboard for our…

  • Why Outlook Sucks: Part 2 of 900,000

    Note: Yes, this is still on an older version of Outlook because that’s what I’ve had to use. Please feel free to contribute to this series in your own blog via trackback/ping, and I’ll post links en mass to the front page when I get enough! Let’s delete a folder to which messages are directed…

  • Advice For The Telecommuter

    If your laptop has a fan on the bottom, don’t use it when you’re naked. Update: Stop looking at me like that. It’s never happened. Honest. 🙂

  • Why Outlook Sucks: Part 1 of 900,000

    Let’s find an email from Toni regarding her party next weekend. There appears to be a search box in the toolbar. Wait.. that seems to be only for contacts. Nevermind. There’s a find button to the left which brings up a toolbar, but it appears to search only the Inbox. Unfortunately I have a bazillion…

  • Conspiracy Theory: Blue Man Group Recruits Seth Godin

    When I saw Blue Man Group at the Venetian I knew one of them looked familiar. It was none-other than entrepreneur Seth Godin! Ok, probably not. But there is a resemblance, no? Seth Godin Blue Man

  • Configuring Rails To Use Gmail's SMTP Server

    OpenRain.com uses Google Apps For Your Domain, and all email flows throw Google’s servers. Unfortunately, Rails 1.2.2 can’t send via smtp.google.com out of the box. As originally pointed out by Anatol Pomozov there is a solution. Here’s the simple version tested with Rails 1.2.2.

  • DSLR Camera Body vs. Lens: Where To Put Your Money

    Absolutely put more of your cash into the lenses. As much as it hurts to think about, you’re probably going to trash the body long before an equally priced lens. A good lens will also hold its value relatively well, even when the lens model is updated. (Nicer used Canon EF lenses aren’t easy to…

  • ..But *Should* You Fix That Bug?

    We have a natural desire to fix things. As engineers we find satisfaction in resolving technical problems and, if you’re following test-driven practices, keeping them resolved. These thoughts flow through our minds as the primitive keyboard-wielding code monkeys we evolved from. What distinguishes us from our fecal-flinging counterparts, however, is our ability to question these…

Got any book recommendations?