Via the always excellent Datachurch
Monthly Archives: March 2011
March 28, 2011 – 4:48 pm
So, in looking around at some nifty solutions to speed up page rendering and web serving in general, I came across mod_pagespeed and smush.it, both claiming to provide all sorts of wonderful optimizations, specifically
, losslessly compressing images. A ll of their other claims aside, the particular claim regarding lossless image optimization is a lie. A damned lie. The “optimized” images look like washed out crap, at least using the default optimization settings for both systems.
Smush.it claims it’s optimization is lossless, which is clearly not true. Mod_pagespeed lists lossy compression as a risk in their documentation. Points off for me for failing to RTFM.
Mouse over the images below to see just how bad the optimized versions are.
From Smush It:
Update from @jmarantz: Try ‘ModPagespeedDisableFilters rewrite_images’ or ‘ModPagespeedDisallow *.jp*g’ to turn off lossy compression.
Will do. Thanks for the note.
March 25, 2011 – 4:51 pm
Reminds me of playing speed chess in Washington Square: Chess Without Turns.
Essentially the strategy against newbs is get the queen in action as soon as possible and go on the offensive. Against more advanced players, you have to play defense, attempting to take out their powerful players until all they have is pawns.
March 25, 2011 – 4:20 pm
I’m an ardent futurist. I believe that prodigious improvements that technology has provided humanity over the course of our existence will continue indefinitely into the future, much like the inevitability of evolution and entropy.
That said, I’m a pragmatist as well. “If it ain’t broke, don’t fix it” are wise words to live by.
So, when I see an old standard, the preferred method of long distance locomotion for billions of human beings supplanted by new technology I start to take notice.
For the past year, after having moved out to brooklyn, I’ve noticed a trend among the deliverymen of our neighborhood: one by one they are moving to electric bicycles. At first, I thought it was a fad. Someone figured out that by spending a little bit more on their bike, they wouldn’t have to peddle all night long. I thought, surely this new technology, when faced with the rigors of delivery service would soon succumb to the more robust traditional human powered bike, with it’s easily repaired mechanical systems. But the fleet of electric bikes has only grown and surprisingly one model seems to have won out the in the selection of the fittest: the green power classic bike, which can be purchased for something on the order of 4 to 5 times the street value of a huffy.
Essentially, the benefits of an electric bike outweigh the total costs of ownership for delivering food, perhaps the most rigorous use case for a bike. This is a watershed moment for electric personal transportation revolution.
Here they are, in action:
March 23, 2011 – 7:52 pm
How do you programmatically find someone’s name in text if there is no generally agreed upon spelling? Moamer Kaddafi present a unique challenge for those of us who like to parse our news before reading it. Several solutions are presented at StackOverflow
The regex, which basically brute forces several well known spellings:
March 20, 2011 – 11:15 am
Handy chart explaining radiation exposure from xkcd.
March 17, 2011 – 2:57 pm
NAVI – Navigational Aids for the Visually Impaired: Hacking together the Kinect, a vibrotactile waist belt, and a blue helmet to help blind people navigate. Also Vibrotactile is my new favorite word.
March 11, 2011 – 12:10 pm
Beautiful abstract animation from Silke Sieler
March 11, 2011 – 12:03 pm
March 3, 2011 – 4:15 pm
Stevie Wonder and the Clash: Uptight Vs. The Casbah