Blog
permalinkFix for GWT Hosted mode crash with Safari 4.0.4
My local tests started failing soon after upgrading my machine to Safari 4.0.4. Some research and pointers from the GWT folk pointed me at the root cause, a WebKit bug which is now fixed.
Kelly Norton pointed me at a quick fix:
-
Download the latest WebKit nightly from here
-
Save it locally
-
Add the following environment variable to your testing .launch targets (using the path to your new WebKit.app, of course). Tests run from Ant or the command line will need to use the appropriate tasks or shell commands:
Name: DYLD_FRAMEWORK_PATH Value: /Applications/path-to-your-local-webkit/WebKit.app/Contents/Frameworks/10.5 -
Snow Leopard users will need to use 10.6 in the path above.
Packing Chrome extensions in Python
We’re just about to release our DotSpots extension for Chrome and I’ve been working on integrating the CRX packaging into our build process. CRX files are basically ZIP files with an RSA signature and public key tacked on to the front of it. Generating these files requires you to use the Chrome –pack-extension argument (which in turn requires you to deploy the 100MB+ Chrome binaries to your build machine).
Javascript primitive conversion quick-reference
Javascript has three primitive types: number, string and boolean. You can quickly coerce values between the primitive types using some simple expressions.
There are a few different coersion expressions, depending on how you want to handle some of the corner cases. I’ve automatically generated a list below:
Time for Atom to Put RSS Out to Pasture?
Is it time to the world to move on from RSS and to its successor, Atom? Some considerations:
Atom has an IETF standard for syndication. Atom has an IETF standard for publication. Atom was designed for modularity. Atom supports rich, well-defined activities within feeds.
RSS is effectively frozen at 2.0:
Real-time Search and Frnégtttrdre
Robert Scoble’s accidental tweet (“Frnégtttrdre”) earlier tonite caused a minor ripple: people wondering if he was announcing a secret project, under the influence of alcohol or wandering around with an unlocked iPhone in his back pocket.
It also makes for an interesting test for real-time search.
An hour after his tweet: