April
10th 2008
The Superest

Tags: , , ,

This is a great site. They frequently update with made-up superheroes that defeat the prior hero. Start at the first hero and work forward through time to see the battle as it wages on.

The Superest

1 Comment »

April
8th 2008
Google App Engine SDK Bug

Tags: , , , ,

There’s a bug in the way the windows version of the Google App Engine SDK handles static directory handling. Basically, the way the SDK figures out the request URL and path to map it to don’t handle the backslashes properly. Single backslashes are left in the variable that is later used in a regular expression match. Here’s what you can do to modify the code to escape the path and make the SDK work on windows:

Open up this file in your favorite editor: C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py

Search for this code block: (line 2369)

regex = os.path.join(re.escape(regex), '(.*)')
path = os.path.join(path, '\\1')

Replace it with these lines:

# urls should always have forward slashes
regex = re.escape(regex) + '/(.*)'
# be careful turning paths into regex strings
path = re.escape(path + os.sep) + '\\1'

1 Comment »

April
8th 2008
Google App Engine

Tags: , , , ,

Google announced a new product yesterday called Google App Engine.  It looks very interesting.  The jist of it is, you can write your own dynamic web application and have it run on Google’s servers, using their fancy software.  This means you get to use GFS and BigTable as well as a bunch of other proven Google technologies.

The current offering is only a preview, which was limited to 10,000 users.  I didn’t read about it until this morning, so I missed the preview window by a long shot.  If you try to sign up now you can have them notify you when a spot is open.

They have a SDK available to write and test applications locally.  It has a stand-alone webserver so you can have a development environment similar to what you’ll see when you upload your application to Google.  Speaking of uploading, the SDK contains the tools to upload your code to Google.  The configuration is done with YAML files.  You set your application’s name, version, runtime, and the version of the App Engine API you’d like to go against.

Though they claim the underlying framework is runtime agnostic, the only currently available runtime is Python.  They’ve got the full core language and a neutered version of its standard libraries.  They’ve even made Django available in their hosted environment.

This seems like it will be a pretty cool option for future web applications.  The scaling and redundancy is what interests me the most.  Not to mention the cost: free.

No Comments »

April
4th 2008
More Golf Handicaps

Tags: , ,

Okay so I’m reading the latest Golf Digest and I ran into a Q&A about handicaps. I recently tried to explain to a friend that handicaps aren’t what you should be expected to shoot above par.  This sums it up nicely:

Q: How often should you beat your handicap?

A: Not often. In fact, you should average about three shots higher than your handicap.

For example, if you have a course handicap of 16, and the Course Rating is 71.2, you should average 90, not 87. The USGA Handicap System is based on 96 percent of the best 10 differentials (corrected for Course and Slope ratings) of your last 20 rounds. More than half of your scores should be within three strokes of three over your handicap (87 to 93 in this example). Most golfers beat their handicap (86 or better in this example) only 20 percent of the time and beat it by three strokes one out of every 20 rounds.

For a person with a course handicap of 16 to break 80 (beat his handicap by eight strokes), the odds are 1,138 to 1. To do it twice, it would take the average golfer more than 700 years. In other words, it ain’t happening.

Source: Golf Digest, May 2008

Comments Off

January
31st 2008
Life after Sopranos

Tags: , , ,

Paulie went from busting kneecaps to advertising for Denny’s.

Comments Off

January
20th 2008
Jeffy plays the piano

Tags: , ,

This is drunk Jeff playing the piano on New Years Eve this year.

Comments Off

December
17th 2007
Candidate Endorsements

Tags: ,

So the local rag has officially endorsed a couple candidates for the election. Surprise! They chose Bill Clinton’s wife and the 71-year-old John McCain. This actually got national press because for some damn reason we now have to have our caucuses on January 3rd for an election that happens 10 months (that’s 306 days) later.

Bill Clinton’s Wife John McCain

Does anybody actually like Bill Clinton’s wife? I think her idea of “progressive” is the new way of saying “socialist”. She just seems way too calculating and focus-group oriented to actually be a likable person. Who knows what her actual convictions are (if she has any)?

And John McCain? The dude is 71. He’ll be 72 by the time the election rolls around. I don’t care if a guy with a very similar name can kick a F-35’s ass in hand-to-aircraft combat. McCain needs to throw in the towel here. Yippie-kay-yay …

I think this election cycle will prove just how useless these endorsements are.

2 Comments »

December
8th 2007
We’ve got a new puppy

Tags: , , , ,

Jessica and I got a new miniature dachshund puppy.  Her name is Caddie and she is 8 weeks old.  Jessica has chronicled our adventure to pick her up over at her blog. 

1 Comment »

November
28th 2007
Mr. T and WoW

Tags: , , , ,

Looks like Mr. T has hit a new career low.

Comments Off

November
27th 2007
iPhone + Gmail + IMAP = Bliss

Tags: , , , ,

I’ve been using IMAP over Gmail since the kind folks at Google enabled it for all of us.  This is exactly what I wanted in a Gmail IMAP interface.  Here’s how it works.

There is a special folder called [Gmail] that has the following subfolders: All Mail, Sent Mail, Spam, Starred, Trash.

    These map directly to the folders as you see them on gmail.com.   To mark something as spam from my iPhone, I just have to move it to the Spam folder.  To add a star to an item, you just flag it.  Brilliant.

    Along with those special folders, you also have a Drafts folder and a folder per label.  I use many labels to stay organized so this is great.  You can copy an item to multiple folders to apply multiple labels or if you move an item from your inbox to a label it has the same effect as labeling it and archiving it on the website.

    When configuring the account for the iPhone, here are a couple things you should do in the advanced settings for your account:

    1. Your Drafts Mailbox should be the Drafts mailbox on the server.  This way, all your draft messages are synced in every mail client.
    2. Your Sent Mailbox should be on your iPhone.  When you send a message using Gmail’s SMTP server (smtp.gmail.com) it will auto-magically create a copy of the message in your special [Gmail]\Sent Mail folder.
    3. Your Deleted Mailbox should be on your iPhone.  Since deleting a message from the inbox archives it when you’re using IMAP, you probably don’t want to do without that feature.  To actually move a message to the Trash on your gmail account, go ahead and move it to the [Gmail]\Trash folder.  To archive, just tap delete.

    My Mail.app setup is very similar except I don’t use Gmail’s Drafts folder for my drafts.  There is some kind of Mail.app/Gmail bug where the auto-saved drafts that are created as you type each create a new message on Gmail.  This is super annoying… if you type a longer message you may have a dozen messages on the server by the time you’re done.

    Comments Off

    Next »