Morton Fox (mortonfox) wrote,
Morton Fox

A little off the top

Cow Meadow Park Marina

After about six months of hair growth, I finally decided to get a haircut two evenings ago. As an interim measure, I'd been cutting my own hair just to get the annoying parts out of the way but that eventually proved insufficient. What prompted my decision was the 70-degree weather over the weekend, so it was ironic that the temperature went down to around 50°F on the day I went for the haircut. That's the weather mocking me! This was the fastest haircut I've ever gotten at Supercuts in Ramsey. There was no wait and the superfast hairdresser finished in less than five minutes! (Of course, it helped that I didn't care how it looked and basically just asked for a #4.)

TwitVim is semi-stable, and by that I mean I haven't thought of a thing that I'd like to tweak or enhance in this plugin for over a day now. :) What's gratifying is it actually has a few users now and they've contacted me over Twitter to say that they're using it. One problem I ran into is Vim script's lack of time-handling functions. While you can parse time strings using Vim's regular expressions, there is no support for time calculations and time zones. My solution is to use if_perl to embed a piece of Perl code in the Vim script to perform the time functions. I did that in a way that degrades gracefully, so if the user's Vim installation does not have the Perl interface enabled, TwitVim will simply use Twitter's raw timestamps, which are ugly but better than nothing.
Tags: haircut, supercuts, twitter, twitvim, vim, vim script

  • 2011 - Year in Review

    Yes, it's already the second week of the new year but I was busy the first week and 2011 was such a busy year that it was hard to distill the…

  • (no subject)

    It's a sign I'm getting on in years. This morning, it actually took some time for my right leg to start working after I woke up. Except I wasn't…

  • Happy Jack

    Did two more after-work geocaches this evening. These were in the town of Bethel, just across the state line. The first one was Happy Jack in Jack…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded