Playing around with VOX

mike.greiner November 3rd, 2007

I came across Vox today and started a test blog to give it a whirl. I like it's security / privacy options, and that's one of the areas that's always plagued me with WordPress. One plugin after the other has bitten the dust as WordPress versions march on. There are definitely limitations to VOX, but simplicity might win out for me.

Update WordPress using subversion

mike.greiner October 17th, 2007

I followed the instructions in the WordPress Codex to upgrade to WordPress 2.3 using subversion. Nifty, and next time should be even smoother.

24 Hours of Moab article from the Aspen Daily News

mike.greiner October 17th, 2007

Aspen Daily News | Aspen, Colorado “When I woke up at 4 a.m.,” remarked Cunningham on preparing for his 5:30 a.m. ride, “there was not one part of me that wanted to go out there and ride. I was completely miserable. But then I realized that there is nothing in the world like this, and that was motivation enough for me.”

First pictures from the 2007 24 Hours of Moab

mike.greiner October 16th, 2007

Yep, it’s wet in Utah

mike.greiner September 26th, 2007

Just to follow up yesterday's Moab, Utah rain news from Steve, Dave Harris uploaded a set of ride pictures from the St. George, Utah area. Here's one with his friend crossing a low spot carrying his bike. Steve also mentioned that the Colorado River was very full, as were irrigation canals, etc. along the western slope of Colorado. C'mon Utah -- think sun, think sun, think sun...

Moab: Back of Behind road Impassable (again)

mike.greiner September 25th, 2007

My buddy Steve just returned from a weekend of hiking slot canyons in the Moab area and emailed to say that the road leading to the start/finish area for the 24 Hours of Moab is (again) washed out and impassible (to non-adventerous 4x4 traffic).

Fingers crossed for some hot, Moab weather over the next three weeks so we don't "enjoy" a repeat of last year's 24 Hours of Rain/Mud/Mist/Chainsuck.

Mike rides the stairs on the Westridge Trail

mike.greiner July 26th, 2007

Another little riding video, this time shot by my friend Joel on his cell phone. This is a zig-zag set of railroad tie stairs on the Westridge Trail in Horsetooth Mountain Park just west of Fort Collins, Colorado.

Mike rides the The Nosedive in Moab

mike.greiner July 26th, 2007

This is a short video of me riding "The Nosedive," a cool 4x4 / mountain bike obstacle in Moab, Utah. It's also part of the 24 Hours of Moab course in the Back of Behind area. I was out riding the 24 Hours course with friends and we stopped to play at have lunch at the Nosedive. I made it on the third attempt, and is usually the case when you make it, it looks pretty easy in this video. It's so easy I've never managed to ride it again. ;-)

  • KennettNet - Music Rescue Music Rescue is a tool that copies music from an iPod onto a computer, a Mac in my case. Handy for recovering from a catastrophic loss of your iTunes music library or just transferring tracks to a computer at work or elsewhere using your iPod.
    (0) | #

Managing Tasks with OmniOutliner via Applescript

mike.greiner July 16th, 2007

I have almost no Applescript experience, but here's a script I wrote to do some task-related calculations that may let me use OmniOutliner for simple project management. I want to enter a task estimate and days worked, and have OmniOutliner calculate the rest -- days remaining, completion percentage, and to compare the eventual amount of effort required to complete the task vs. my original estimate so I can improve my estimates over time. Here's my first attempt:

-- Updates the Days Remaining, Percentage Complete and Estimation Error columns in an OmniOutliner document
--
-- TODO: * Deselect all cells to prevent interference w/the script
-- TODO:    * highlight changed cells (update background color)
--
-- Mike Greiner, mike@thegreiners.com 

tell front document of application "OmniOutliner"
    -- TODO Want to deselect all somehow
    -- set cellSelection to null
    repeat with oneRow in rows
        set currentEstimate to value of cell "Current Estimate" of oneRow
        set daysWorked to value of cell "Days Worked" of oneRow
        set originalEstimate to value of cell "Original Estimate" of oneRow
        
        if (daysWorked > 0) then
            set value of cell "Days Remaining" of oneRow to (currentEstimate - daysWorked)
            set value of cell "Percentage Complete" of oneRow to ((1 - (value of cell "Days Remaining" of oneRow) / currentEstimate) * 100)
            if (value of cell "Percentage Complete" of oneRow = 100) then
                set daysEstimationOff to originalEstimate - daysWorked
                set value of cell "Estimation Error in Days" of oneRow to daysWorked - originalEstimate
                -- Where's Applescripts abs() function?
                if (daysEstimationOff < 0) then
                    set daysEstimationOff to daysEstimationOff * -1
                end if
                set value of cell "Estimation Error" of oneRow to ((daysEstimationOff / originalEstimate) * 100)
            else
                delete value of cell "Estimation Error" of oneRow
                delete value of cell "Estimation Error in Days" of oneRow
            end if
        else
            set value of cell "Days Remaining" of oneRow to currentEstimate
            delete value of cell "Percentage Complete" of oneRow
            delete value of cell "Estimation Error" of oneRow
            delete value of cell "Estimation Error in Days" of oneRow
        end if
    end repeat
end tell

It expects an outline with the following columns (Type / Summary / Format):

  • Topic (Rich text / None)
  • Current Estimate (Number / Total / 10000)
  • Days Worked (Number / Total / 10000)
  • Days Remaining (Number / Total / 10000)
  • Percentage Complete (Number / None / 9999.99%)
  • Original Estimate (Number / Total / 10000)
  • Estimation Error (Number / None / 9999.99%)
  • Estimation Error in Days (Number / None / 10000)

Of these you need hand-edit only:

  • Topic
  • Current Estimate
  • Days Worked
  • Original Estimate

The rest of the columns are calculated by the script.

To use, just fill in your estimates, update days worked and invoke the applescript to see completion numbers and percentages calculated. I'll give it a try for awhile and follow up here with improvements. I'm sure there are other scripts out there almost just like this, but I didn't find 'em with a quick Google and it was good to look at a little Applescript anyway.

Saved my script into ~/Library/Scripts/Applications/OmniOutliner/ooCalcPercentComplete.scpt

And you can change the script's icon as in this tip from MacWorld.

...and when you customize the OmniOutliner toolbar and drag the icon for your new script into the toolbar it'll retain the custom icon.

Next »