This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: Links for 2009-02-23 [del.icio.us]
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
WebKit DOM Programming Topics: Using the Pasteboard From JavaScript
"You can provide handlers for the oncut, oncopy, and onpaste events if you want to define custom behavior for the corresponding operations. You can also provide handlers for the onbeforecut, onbeforecopy, and onbeforepaste events if you want to manipulate the target data before it is actually cut, copied, or pasted.
If your oncut, oncopy, and onpaste handlers do the actual work of cutting, copying, or pasting the data, your handler must call the preventDefault method of the event object. This method takes no parameters and notifies WebKit that your handler takes care of moving the data to or from the pasteboard. If you do not call this method, WebKit takes responsibility for moving the data. You do not need to call preventDefault if you simply want to be notified when the events occur."
HTML5 Canvas Cheat Sheet - Nihilogic
"There are cheat sheets for just about anything out there but I couldn't find one for the HTML5 canvas element, so I decided to do something about that, mostly for my own sake but if other people find it useful that's just all the better."
Optimizing your Application with Shark 4
"If your application could benefit from improved performance—and let's be honest, most can—you need to know about Shark 4, the latest update to Apple's remarkable performance optimization tool. Shark enables you to very quickly identify where your application's performance problems lie, down to the specific functions on which you should concentrate your optimization efforts. You can then focus on the fixes that will yield the maximum benefits. Developers using earlier versions of Shark have found and fixed problems that improved performance dramatically, in a matter of hours."