SimplePie Demo

mir.aculo.us

Just another WordPress weblog

Go forth and use proprietary browser features 1 Sep 2010

Here’s why you shouldn’t be afraid to use proprietary browser features–especially with stuff that’s more experimental and explorative in nature: First of all, lots of good things come from once-proprietary features. My favorite example perhaps is the .innerHTML property of DOM elements, that originated on Internet Explorer. This property is not only easier to use [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

So, what’s the status of hardware acceleration, really? 28 Aug 2010

It seems that Google Chrome is getting all the developer luv these days, but there are some facts that people get confused. Here’s the deal: Google Chrome uses Apple’s WebKit HTML/CSS rendering engine that powers Safari. Google is not the creator of Webkit, Apple is.* What Chrome does is basically adding two components to the [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

Creating awesome CSS3 animations 27 Aug 2010

Yarrrr!! Meet Captain Track, the awesome animated CSS3 pirate! First, grab a WebKit-based browser, like Safari (preferably, because it supports hardware-acceleration!) or Google Chrome and head over to timebemoney.com and say “yarrrr!” to Captain Track! Note that on the iPad and iPhone, these animations run with a full, super-smooth 60 frames per second, because of [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

This Flash is dead 20 Aug 2010

A user enters a web site. User: ‘Ello, I wish to register a complaint. (The owner does not respond.) User: ‘Ello, Miss? Adobe: What do you mean “miss”? User: I’m sorry, I have a cold. I wish to make a complaint! Adobe: We’re closin’ for lunch. User: Never mind that, my lad. I wish to [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

When does JavaScript trigger reflows and rendering? 17 Aug 2010

Browsers are single-threaded beasts* but your JavaScript can still cause very expensive reflows and rendering if you’re not careful. The important thing is to always remember that reflowing and rendering HTML is the single most expensive operation browsers do. If your page feels sluggish it’s most likely a problem with rendering. While the easiest way [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

Loop unrolling in JavaScript 16 Aug 2010

One of the historically more popular optimizations is loop unrolling. Instead of a for or while loop, just “unroll” the loop: // classic for loop for (var i = 0; i < 100; i++) a++; // unrolled loop a++; a++; a++; a++; a++; a++; a++; a++; // etc. etc. etc. // unrolled loop (in 1 [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

JavaScript snippets performance 14 Aug 2010

When working on performance optimization fine-tuning, it’s great to have some help in the form of benchmarks of various strategies to achieve your code goals. Mathias Bynens has come up with a slick site to do just that, meet jsPerf! First take a look at the various test cases that are already in there. Here’s [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

How to add the official Tweet Button to WordPress 12 Aug 2010

I use WordPress, and I use Twitter, so here’s how to add the awesome new offical Tweet Button to your WordPress blog: Inside your Main Index template (index.php), add the first line inside the posts loops (above/below/whereever you want it!). You can add additional parameters, and don’t forget to change the data-via attribute! Then, add [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

Optimizing images for hardware-acceleration on the iPhone and iPad 12 Aug 2010

I found that big progressive JPEG images can cause performance problems when used with hardware accelerated CSS transforms, so here’s what I do to makes things work better (with ImageMagick): convert somefile -interlace none somefile_for_ipad.jpg The -interlace none option saves the image as a non-progressive JPEG, and Safari doesn’t attempt to render progressive intermediate steps [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

Pragmatic HTML & CSS 10 Aug 2010

With all those great new features coming in CSS3 people are tempted to invent the “ultimate reset.css” stylesheet. But what’s the point? The default CSS rules are sensible and make sense (for example, they format unordered lists correctly). You’ll end up with less CSS to write, and less code to maintain, fewer lines of code [...]

Blinklist | Del.icio.us | Digg | Furl | Ma.gnolia | Newsvine | Spurl | Technorati

Page processed in 6.544 seconds.

Powered by SimplePie 1.0 Beta 2, Build 20060530. Run the SimplePie Compatibility Test. SimplePie is © 2004–2010, Skyzyx Technologies, and licensed under the LGPL.