Oct 02

Channel 4 + 1: The brits way of dealing with time shifting

British, TV / Movie, Tech 4 Comments »

I couldn’t quite believe it when I saw an ad in the tube announcing a new channel: Channel 4 + 1:

channel4 1.png

That’s right. It is the SAME channel, with a one hour delay. I guess we have kinda the same thing in the US with HBO East and West, but that is a touch different. The entire UK is on the same timezone!

I love how instead of using something like TiVo, you should have another channel that gives you ONE more chance to watch a show. Of course, many people have Sky+ which has PVR functionality. I can’t wait for Channel 4 + 2.

It was also funny to see a couple of yanks taking pics in the tube…. and then take a second look and realize it was Matt Mullenweg and Om Malik (who are both speaking at the Future of Web Apps).

Oct 01

Rails 2.0 and the iPhone

Tech No Comments »

Rails is making it simpler to implement an iPhone specific site using a fake mime-type:

# should go in config/initializers/mime_types.rb
Mime.register_alias "text/html", :iphone

class ApplicationController < ActionController::Base
before_filter :adjust_format_for_iphone

private
def adjust_format_for_iphone
if request.env["HTTP_USER_AGENT"] && request.env["HTTP_USER_AGENT"][/(iPhone|iPod)/]
request.format = :iphone
end
end
end

class PostsController < ApplicationController
def index
respond_to do |format|
format.html   # renders index.html.erb
format.iphone # renders index.iphone.erb
end
end
end

There are plenty of other nice RESTie features too.

Oct 01

Power outlets in foreign lands…

British, Personal, Travel 1 Comment »

I am enjoying my time back in London. I am staying next to the Google London office in Victoria for now, and move to the Docklands tomorrow to speak at the Future of Web Apps which looks like a great show.

Back to the hotel…. you know it is international when you get this power to plug into:

powersockets.png

As per usual I got in early in the morning. Victoria is great if you fly into Gatwick, as you can get the express train right there. Painless.

However, I was knackered after a non-sleep flight and wanted to shower and crash. They didn’t have my room ready though so I was told to hang in the lobby and they would grab me as soon as they got a room. I waited, and waited, and … When I finally went up again: “Oh yeah, we have your room”. Thanks.

After some clean up I hit the local store to top up my uk mobile. It is painful using a 5 year old beast when I have my iPhone in the other pocket (I know, I could have jailbreak-ed and put in another SIM….).

I was really happy to see a Nandos as soon as I walked outside. The peri-peri chicken + sauce is fantastic, and I think it will do great in the states.

I also knew I was back home when:

  • It rained… a lot
  • The trains went down

Anyway, it is fun to hang in the Google office here (very open plan), and I am looking forward to meeting interesting people at Sam Sethi’s bash (Sam does Blognation).