Sunday, July 4, 2010

Buzz and OAuth Then Go

This is a presentation I gave on Buzz and OAuth.

Buzz and OAuth

A special thanks to Robert Schwentker for reviewing the slides in advance and giving me valuable feedback.

The slides on OAuth are specific, but the Buzz portion was more a speakers reference for demonstrations. Look at the Buzz API libraries examples directory and OACurl cookbook to get an idea of what I demonstrated.

Check out the Buzz buttons here. You can select to follow the blog via Buzz or you can reshare (i.e., rebuzz) a particular entry. One side affect has been that since I have added the Buzz buttons, AdSense is displaying a lot of alcohol ads.

If you want to see OAuth in action and see what goes on behind the scenes:

1. Start Firefox
2. Install the Add-on Live HTTP Headers.
3. Start Live HTTP Headers from the Tools menu.
3. Go to
4. Register for the service via Twitter.

Once you have registered, switch your view to the Live HTTP Headers window and click Save All to will save all the HTTP traffic to a file. Search the file for "oauth" and you will see the HTTP requests and responses that we discussed at the last meeting and how they are intermingled with the rest of the HTTP packets.

I’m spending the next couple of days diving into Go. I’ve been playing with it on and off since last November, but every time I started to buckle down I was distracted by something new in App Engine, writing a Wave Robot, the new Push Down protocol, etc. This time I have an actual project in mind which will make it easier to stay the course.

Go changes so frequently, that I have a script called go_hg that I have been running once a day.  Thanks to @DeWitt Clinton for the suggestions:

cd ~/go
hg pull
hg update
cd src

If the build is unstable, I can always check their dashboard if I need to revert:

And this site helped me find the emacs mode files for Go:

If you have comments on the slides or any advice about Go, don’t hesitate to comment.