Posts from: June, 2008

13 Jun 2008

Physics engine in Sketchup

I knew Sketchup was a great modeling tool, but apparently it’s also scriptable via a Ruby API and embedded web browser. At Google’s IO conference, Scott Lininger showed off some of this awesomeness. 20 min into the video below we see Scott capturing keystroke events within the browser instance and using them to control a [...]

3 Jun 2008

Pre-encoding vs. mod_deflate

Recently I configured Apache to serve pre-encoded files with encoding-negotiation. In theory this should be faster than using mod_deflate, which has to re-encode every hit, but testing was in order. My mod_deflate setup consisted of a directory with this .htaccess: AddOutputFilterByType DEFLATE application/x-javascript BrowserMatch \bMSIE\s[456] no-gzip BrowserMatch \b(SV1|Opera)\b !no-gzip and a pre-minified version of jquery-1.2.3 [...]