halloween ride

Bloged in MoBlog, cycling by sean Monday October 31, 2005

Photo_103005_001.jpg

Took advantage of some unseasonably nice weather today and went for a spin on the bike.  Came upon this exceedingly well decorated house in Boxford. 

wtf? h4x

Bloged in MoBlog by sean Friday October 21, 2005


lion.jpg

WTF H4X is a term used in multiplayer online video gaming when one suspects another of cheating.  Cheating is something that is often accused by folks who are just plain getting beaten by a better player, so you will often see swarms of accusations of cheating around players who are just good. 

blustery ride

Bloged in MoBlog, cycling by sean Sunday October 16, 2005

Club ride around north shore. Fun to finally get out with around 20 clubmates.  Winds were blowing pretty good which made it a bit more interesting. Still achy from MIYE500.  Lots of debris on the roads.  All and all a good time.

Photo_100105_001.jpg

Had my gps plotting the action.  Check the reports here. 

sweet ragtop mercury

Bloged in MoBlog by sean Saturday October 15, 2005

Photo_101505_001.jpg

i love america

Bloged in MoBlog by sean Friday October 14, 2005

FB32722S.jpg

emma dilemma

Bloged in MoBlog by sean Monday October 10, 2005

That being the nickname for C&C’s new mischevious but very lovable black lab puppy ‘emma’ (pictured far right). We’ve been babysitting her for the long weeekend while they took off for seattle for xto’s wedding. Harrison, Shea and emma took to being great friends after much play, hiking and fetch. Will miss having the young pup around.

Photo_100805_010.jpg

2005 Topsfield Fair

Bloged in MoBlog by sean Monday October 10, 2005

Sadly another fair comes to an end. I am a huge fan of the fair, even though I’ve noticed a lot of locals are pretty jaded by it. I’m guessing its because they haven’t had their fair turned into a shopping mall yet.  Be warned!!

 Photo_100105_002.jpg Photo_100105_003.jpg

2005 mud in your eye 500

Bloged in MoBlog by sean Sunday October 9, 2005

The 2005 ‘mud in your eye’ mountian bike race did not dissappoint. Hadn’t raced off road in several years but the proximity of this race and the legendary stories I’ve heard from friends have made it infamous in my mind.  Being tied up on Colombus day weekend has kept me away in years past, but last minute I was free so I decided to give this on a shot.  Hubris put me in the ‘expert’ category doing 4 laps.  Here is the breakdown:

Lap 1: I fought the bike: Had trouble with the lack of control over the super slick roots and rocks.   Don’t mtn bike enough for my chops to be sharp so paid for it this lap.  Also unfamiliar with the course had be riding conservatively.
Lap 2: Tried to embrace the lack of control of the bike in a zen kind of way. This kinda worked and this ended up being my best lap
Lap 3: Started to get tired and this caused me to make silly mistakes and crashes.
Lap 4: An ecv guy started to gain on me, this gave me new motivation and purpose. Rode strong to the finish. One of the hardest events ofany kind i’ve done in a long time.

Results will be linked in once they’re posted; for now, some pix from after the race  (sorry no action shots):

Photo_100905_001.jpg Photo_100905_002.jpg Photo_100905_004.jpg

movable type to wordpress migration

Bloged in blog, geek-out by sean Saturday October 8, 2005

Wrote a small ruby script to migrate the ‘Langford Enterprises’ ™
 hosted blogs from movable type entries to wordpress.  I could not find another solution on the net which I liked so I wrote my own.  Mainly because I was at the same time migrating from postgres to mysql.   Ruby makes this whole migration trivial.  Posting to the world.  You will likely  need to modify the db connection information.  If this is any use to you, drop me a comment.

#!/usr/bin/ruby
#
# Migration of posts from mt to wp 1.5.1.3
#
# Copyright 2005 Sean Langford Enterprises

require "rubygems"
require "active_record"

ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Base.pluralize_table_names = false

class WPPost < ActiveRecord::Base
    set_primary_key "ID"
    set_table_name "wp_posts"
end

class MTPost < ActiveRecord::Base
    set_primary_key "entry_id"
    set_table_name "mt_entry"
end

WPPost.establish_connection(
    :adapter => "mysql",
    :host => "localhost",
    :username => "XXXX",
    :password => "XXXX",
    :database => "wordpress"
)

MTPost.establish_connection(
    :adapter => "postgresql",
    :host => "localhost",
    :username => "postgres",
    :database => "mt"
)

mtPosts = MTPost.find_all()

mtPosts.each do |mtPost|

  wpPost = WPPost.new

  # my author ids between mt and wp were the same; ymmv
  wpPost.post_author = mtPost.entry_author_id
  wpPost.post_date = mtPost.entry_created_on
  wpPost.post_date_gmt = mtPost.entry_created_on
  wpPost.post_content = mtPost.entry_text
  wpPost.post_title = mtPost.entry_title
  wpPost.post_excerpt = mtPost.entry_excerpt
  wpPost.post_modified = mtPost.entry_modified_on
  wpPost.post_modified_gmt = mtPost.entry_modified_on

  wpPost.save

end

bsf part3

Bloged in blog by sean Wednesday October 5, 2005

Had a great ride w/CL in the BSF last night.  Perfect weather.  Fast ride, did most of the park.  Found some new trails and a great climb.