If your web service only provides one, first-class API through which all access flows, then you’ve only got one point to secure, you’re likely to have feature parity across interfaces, and the risk of marginalizing one interface is dramatically decreased. [Well put Daniel!]
Author: Daniel
Sunday’s ride

Sunday morning’s bike ride with Jenni (shown) and Maria. 24 miles. Nice!
GemStone Seaside
GLASS Virtual Appliance beta9 (~780 MB) [Really cool stuff.]
A quick Ruby hack to steal some OS X goodness
I really like the open command on OS X, but I was too lazy to look for its Linux equivalent.
Actually, my solution probably took less time than sifting through a google search:
system(case ARGV[0]
when /\.pdf/
“epdfview”
when /\.html/
“firefox”
when /\.(rb)|(pl)|(pm)/
“vim”
end + ” #{ARGV[0]}”)
Source: O’Reilly Ruby
SOLAS Marine Reflective Tape
Source: Cool Tools
Nuclear Elephant: iPhone Wipe
Title Case for Ruby
There’s been a great response to my request to convert Title Case, Gruber’s nifty perl-based title-casing tool into Ruby so the rest of the world (just kidding, Perl people!) can make use of it.
Here are the initial responders:
- http://frankschmitt.org/projects/title-case
- http://github.com/caius/titlecase.rb/tree/master/
- http://github.com/h3h/rb-title-case
- http://github.com/infovore/titlecase/tree/master
- http://github.com/jlindley/title_case
- http://github.com/justinfrench/string_extensions/tree/master
- http://github.com/samaaron/titlecase-rb/tree/master
- http://mucur.name/posts/ruby-title-case
- http://pastie.caboo.se/201181
- http://vengefulcow.com/titlecase/
- http://www.unfitforprint.com/articles/2008/05/21/gruber-style-title-case-in-ruby
Source: The Hivelogic Narrative
Free Rails 2.1 Book
[Cool.]
Source: Riding Rails
Jack Brown Green’s… a little Hampsten for my commute
Amongst my other chores today was replacing the skinny, fast, tires on the fixie with something a bit more plush. Now there’s lot’s more cush and they’re smooth rolling. It’s a commute, not a race (mostly :~)
I love that the tire dimensions are listed on the package as 622 x 33.33333… you can see the continuation line on the tire itself (below). They make a “Brown” version that is slightly heavier and reinforced.
On the right is my Salsa Casserole in it’s current minimalist config, now with the JB Greens. I got mine through Rivendell, a bastion of practical cycling.
Below is Andy Hampsten’s Strada Bianca Ti. Same tires… but I’ve never won the Giro. Make of that what you will. Credit for the picture of Andy’s bike credit goes to the irrepressible James Huang of Cyclingnews.com.
[Update: I did 15 miles on this setup. As nice as I could hope for. Onward!]
Snowy Mountains
There’ll come a time when the pictures friends send me from their epic vacations (mountain climbing, skiing, frozen biking) will once again appeal. Their crisp blue skies, the carapaces and undulations of the mountain wearing a mantle of whitest snow, the gray, almost smoky clouds hovering low over a brilliant orange or yellow tent, bike wheels packed with snow, and water bottles frozen solid all meant to inspire a longing for a road less traveled. But for now even the notion of cold is entirely lacking in merit in my eyes.
Seriously. I get up fairly early every day. Generally 5AM somethin’. And all autumn, winter and through most of spring that means it’s at least chilly outside if not cold as a witches elbow. It makes it hard to get up, hard to get out, and it’s really demotivating when what you have to do is not fun. Getting up that early in the cold to go skiing? Doable. Getting up that early to get ready for work and take out the garbage? An effort of will. I rode my bike throughout the winter regardless of temperature or precipitation. I hustled my little family out the door t the ridiculous hour we leave for jobs and school. But I’ve kinda had it with the cold for now.
So for the time being, if you live in Alaska, or climb in the Himalayas, or are running some program in the Arctic, or Antarctica, please spare the snowy, cold pictures. No matter how beautiful. Wait ’till maybe the end of August or September when the oppressing humidity of a New York summer has kicked in with sufficient strength to cause even the staunchest of summer folks to wilt. By then I’ll be toast. Then bring them on!
As always your support is appreciated. (wink)
