Tuesday, July 24, 2007

Working Ferrari 312PB 1:3 Scale Model

I found this amazing video of Pierre Scerri who built a scale model of a Ferrari 312PB. Perhaps not so amazing except everything works - it has a scale 12 cylinder engine with fuel injection, dry sump and 24 valves, a working gearbox with 5 gears and reverse! It took Pierre 15 years because he made every part from scratch and it really sounds like a Ferrari 312. Here is a longer article with some detailed pictures.

Wednesday, July 18, 2007

REVIEW: RESTful Web Services

Sam Ruby and Leonard Leonard Richardson have written an excellent introduction to the world of RESTful Web Services - web services that work like the rest of the Web. While I was reading this book several people commented that the books "is just the HTTP Standard" so clearly there is a need for this book. REST is an architectural model for designing web services within the HTTP specification and maintaining the spirit of the Web by keeping the focus on resources. By contrast, SOAP complies with the HTTP specification but uses it as a generic transport layer because SOAP was designed to be used by other transports like SMTP or Messaging Queues - this approach has it's pluses and minuses (mostly minuses).

The book begins with an overview of how HTTP works with an emphasis on the resource aspects of the web and how the different verbs (GET / PUT / POST / DELETE) operate on resources. This is followed by an analysis of various commercial services (del.icio.us, flickr, S3) and how they measure up to the RESTive ideals - the book does a reasonable job of defining REST thru counterexample without being too preachy.

The real meat of the book is the chapter on Resource Oriented Architecture which defines concrete rules for designing a resource centric API and how the uniform interface (the standard HTTP verbs) act open them. The authors make the point that one of the primary reasons that remote procedure call interfaces (like SOAP and XMLRPC) are so seductive is that they make it easy to take an existing legacy system and web service enable it. By contrast, Resource Oriented Architecture requires that the entire system be designed around resources and the manipulations on them - and it's hard for vendors to sell tools that do this sort of thing. However, it's a lot more likely that a service that has been designed around resources will work well on the web. The book goes through some examples of applying this architecture in various scenarios, covering some common problems like how to model transient resources for things like transactions.

One of the parts of the book I really liked are the appendices which cover all of the HTTP response codes and request / response headers. While all of this is covered in various specifications, the book goes into some detail of all the codes, when (if at all) they are likely to be seen and common pitfalls.

Overall the book is excellent - it is very much a practical guide to web services rather than an academic book. Like practicing Feng Shui, producing a perfectly RESTful application may not always be possible but applying the principles to any extent will result in better web services. One of the key points is that the web sites that end users interact with are also RESTful web services and many of the design principles of resource oriented architecture will also result in better web sites.

Fast TextMate project search

I use TextMate as my primary editor (and VIM for everything else). But I really hate the project search which is slow (like "computer grinds to a halt" slow). However TextMate is extensible so Henrik wrote a UI that uses GREP to do the project search so it's fast.

Friday, July 13, 2007

Victory by Design - Ferrari

I found this on Google Video - Alain de Cadenet hosts a series that explores the classic vehicles (for racing and the road) made by different high end manufacturers. And by "explores" I mean he drives them around closed roads at a very high speed. In this case, he drives various classic Ferrari cars and talks about how they came about. The 250 GTO would probably be my favorite - designed by Pininfarina with a body built by Scaglietti, it's the perfect Ferrari.

Here's a list of other cars he drives / discusses in the show:

  • 166 MM
  • 250 MM
  • 375 Plus
  • 121 LM
  • 250 Testa Rossa
  • 250 TR 60
  • 246S
  • 250 SWB
  • 250P
  • 250 GTO
  • 275 LM
  • 275 GTB
  • 330 P3
  • 312 PB
  • 375 Daytona
  • 333 SP
  • 550 Barchetta

Wednesday, July 04, 2007

Mountain View Kwik-E-Mart

As I mentioned, the 7-11 in Mountain View has been turned into a real life Kwik-E-Mart. It seems like someone put a lot of effort into designing the store as a lot of the references to the show are fairly subtle (although sadly no Chutney Squishee). The store was packed when I went and they were also out of Krusty-O's and Buzz cola so I guess I'll have to go back.
IMG_5758.jpg IMG_5756.jpg
IMG_5757.jpg IMG_5755.jpg
[Photos Here].

Monday, July 02, 2007

Real World Kwik-E-Mart

As a promotion for the upcoming Simpsons movie, several 7-11 stores have been turned into the fictional Kwik-E-Mart stores featured in the show. I'll report back once I check out the one in Mountain View.