September 1st, 2008
Skip raileurope.com if you’re in the US and buying rain tickets for travel within the UK. Their prices are outrageously marked up. For a Saturday, second class ticket from Newcastle to Edinburgh in October, their quote is $96.00. Get a quote from one of the many web sites based in the UK, and its 9 and a half Pounds. That’s about $17.
The problem is many sites in the UK don’t let you purchase tickets with a non-UK billing address. If you’re going to be at a major station where you can pick up tickets from a machine, check out thetrainline.com. They’re cool with US billing addresses, and much cheaper as well.
Posted in Travel by James Kebinger | 1 Comment »
August 21st, 2008
I’ve been pretty pleased so far with the popup window control from LivePipe. It plays nice with Prototype and is easy to style with regular CSS. We had considered using Prototype Window but I was put off that all their default styles looks like operating system windows and restyling their windows required a table and 9 images.
I’d recommend anyone looking for a popup window solution at least consider Livepipe. There are downsides however, chiefly that the project is pretty immature – technically I suppose this is an alpha release since Beta One is being worked on, so the community remains small. While there are some folks already submitting patches, progress on merging the patches is alarmingly slow, as one can see from their lighthouse page.
If you’re doing RESTful stuff in Rails however, you will need the contents of ticket #10 which modifies the popup window to accept an option to use different HTTP verbs.
Posted in Javascript by James Kebinger | No Comments »
August 21st, 2008
For all the complaining I often do about the poor documentation of the scriptaculous project, I finally did something to help that today, creating (very thin) documentation for their new (if released in January is new) Effect.Tween function here on their github wiki.
I was creating a method to scroll the viewport so that the contents of an AJAX-loaded div would be fully visible on the screen – the (still undocumented) Effect.ScrollTo doesn’t quite do it because it doesn’t consider the height of the element it scrolls to, but in doing so I stumbled over Tween in the code. Once the math to figure out how much scrolling is needed, its easy to use Effect.Tween to smoothly scroll the window by repeatedly calling window.scrollBy();
This certainly isn’t rocket science, but here’s an outline of how to do it (this code only deals with downward vertical scrolling):
var elementHeight = element.getHeight();
var screenHeight = document.viewport.getHeight();
var elementScreenPos =element.viewportOffset()[1];
var amountToScroll = elementHeight - (screenHeight - elementScreenPos);
if (amountToScroll > 0){
var scrollPos = document.viewport.getScrollOffsets().top;
new Effect.Tween(null,scrollPos,scrollPos+amountToScroll,{},function(n) { window.scrollTo(0,n);});
}
}
Posted in Javascript, Programming by James Kebinger | No Comments »
August 18th, 2008
Every now and then my iPhone has this issue where it can’t tell time properly. I wake it up, and it shows me a time several hours ago, then as if waking from a drunken stupor, slowly tries to catch up to reality, moving the clock forward by a small, random number of minutes. During these episodes the whole UI is sluggish, and it apparently doesn’t even accept phone calls. When “phone” is 5/6 of your name one would think at least that would work all of the time!
Check out this screenshot from the missed call sheet. It recorded 3 missed calls that arrived over the course of an afternoon all with the exact same arrival time, 9:40 AM. The phone never rang.

That was with v2.01, so I sure hope this is fixed in the future.
Update: to Frank’s comment – this wasn’t a matter of the phone bouncing between time zones. The phone’s time isn’t a whole number of hours behind.
Posted in Rants, Technology by James Kebinger | 3 Comments »
August 18th, 2008
I think the New York Times application for the iPhone is pretty good. My chief complaint (other than the random crashing) is that the head shots of the authors are too damn big.

Posted in Rants by James Kebinger | No Comments »
August 18th, 2008
The building I work in threw a building BBQ last week. There were hot dogs that were actually pretty tasty, there were tough hamburgers that made me think of beef recalls, and there was Tropicana “Lemondade” Juice Drink that made me rethink all the connotations that Tropicana had for me.
It used to be that the Tropicana brand meant some combination of pure, natural, and juice. Indeed if you go to their web site, there are real people who make their juice talking to you about how great it is, and I think everything there is 100% juice. Unfortunately there’s a seamy underside to the brand. I present to you, Tropicana Brand Lemonade Flavored Juice Beverage.

Only after drinking a third of the bottle did I stop to ponder the label. 260 Calories per bottle (cleverly divided up into 8oz servings that no one ever actually drinks), lots of high fructose corn syrup, and my favorite: glycerol ester of wood rosin. If that doesn’t quench your thirst, I don’t know what will. Oh there’s some lemon juice in there too, just one of thirteen ingredients.
The tropicana web site fails to acknowledge this line of delicous and nutritous beverages, which is a real shame. There’s only an entry here at a PepsiCo FAQ.
I just think its a shame when companies whore out their relatively good name like this.
Posted in Random, Rants by James Kebinger | No Comments »
August 8th, 2008
It finally comes out that John Edwards cheated on his wife who had cancer at the time. His official statement about it since don’t do much for me but dig the whole deeper. From his official statement:
Although I was honest in every painful detail with my family, I did not tell the public. When a supermarket tabloid told a version of the story, I used the fact that the story contained many falsities to deny it. But being 99% honest is no longer enough.
I don’t think denying an affair because some of the details are inaccurate is being 99% honest. More like 1% honest.
The other gem of a comment from the Times’ coverage is this:
The network said that Mr. Edwards “made a point of telling Woodruff that his wife’s cancer was in remission when he began the affair with Hunter.”
I guess cheating on your wife is cool if her cancer is in remission.
Posted in Politics by James Kebinger | No Comments »
August 8th, 2008
Just called RCN to ask when their vaunted “analog crush” all-digital upgrade is going to arrive (so we get more HD channels). Turns out Somerville is last on the list in Massachusetts, with an ETA of Jan 2009.
The backstory is that Somerville is apparently a really antiquated system so we already get less HD channels than RCN subscribers in Boston, who pay the same amount as we do across the river.
And we’re not getting the special NBC Olympics Basketball and Soccer channels.
Posted in Uncategorized by James Kebinger | No Comments »
August 2nd, 2008
All of a sudden, the Boston area is lousy with teams creating web-based applications to allow people to review all kinds of products based on not only the quality of the product itself, but various facets of the corporate social responsibility shown by the manufacturers of the product as well.
Listed by order in which I heard about them
- Buy it like you mean it (non-profit) covers the full spectrum of corporate responsibility from the environment to labor relations. The content is generated by the community, and they allow consumers to weight the different areas so the site can offer tailored scores based on ones interests. Looks like their current plan is depth-first, so the community’s focus is specifically on the chocolate industry.
- IzzitGreen (for-profit) Consumer-created reviews on products and services specifically focused on (as you might expect from the name) environmentally friendly products.
- Zeer (for-profit) More consumer related content. This one seems focused more on does it taste good/work well/good for me type reviews than the others. Impressive population of product images and names, they stated this was a “core competency” of theirs in their presentation at the last webinno conference.
- Citizen’s Market (non-profit). Seems very similar to buy it like you mean it, but with a broader focus. Looks to be the newest of the group (heard about them on the Boston ruby group list where they’re looking for volunteer programmers) Strangely enough, the founder of buy it like you mean it is an adviser of Citizens Market
I think these are all great ideas, especially the ones focused on the global impacts of the products. I just wonder how much room there is in the market for all of these operations to succeed.
Posted in Uncategorized by James Kebinger | 1 Comment »
July 29th, 2008
I got a kick out of a quote from the NYT magazine article on up and coming F1 race driver Lewis Hamilton. He moved to Geneva for “tax reasons” and so the author mentions that Geneva seems like a tough place to live for a single young man.
“I wouldn’t say I have much of a life here,” he said. “You can’t have millions of people come over. Who do you invite?” He went on: “I can’t just wake up on Sunday morning and go golfing with my dad and my uncle. I have to get up really early here and fly over to England for the day, and then come back. So that’s more traveling.”
I guess that’s tough, moving to evade taxes and then having to fly your private jet over to play golf with your family. boo hoo.
Posted in Uncategorized by James Kebinger | No Comments »