Is Fox News Evil or Stupid? The Daily Show’s John Oliver and Wyatt Cenac engage in the most cogent media criticism I’ve see on cable TV in a while.
via Matt Thomas
Is Fox News Evil or Stupid? The Daily Show’s John Oliver and Wyatt Cenac engage in the most cogent media criticism I’ve see on cable TV in a while.
via Matt Thomas
According to the AniWeather Firefox extension, it’s rather hot here right now:

Thankfully it refreshed a few minutes later and went down to 75F because I was really hot!
Check out these great time-lapse videos by photographer Henry Jun Wah Lee. I just had to share them.
This is a video of the Perseid Meteor Shower and the core of the Milky Way. A good write-up of what you’re looking at in this video can be found at the most excellent Bad Astronomy blog.
Timelapse video of the Perseid Meteor Shower and the galactic core of the Milky Way as seen from Joshua Tree National Park.
These were taken between August 12 and August 15, 2010.
For more photos and words: photography.evosia.com/2010/08/13/under-the-milky-way-in-joshua-tree-national-park/
Gear: 5D Mk II, EF 16-35mm L. Settings: f/2.8, 6400 ISO, 20 second exposures.
Music is Samskeyti by Sigur Ros
A preview of a new video project I am working on: an urban timelapse tour of Los Angeles! This is still a work in progress.
Timelapse tour of Yosemite National Park. See one of my favorite places in the world. I was there mid to late May of 2010.
Tunnel view, Vally View, Cook’s Meadow, Bridalveil Falls, Nevada Falls, Mist Trail, El Capitan, Yosemite Falls, Half Dome, and much more.
Enjoy!
A great little short film.
How it was made:
Check out this great video of Pikes Peak International Hill Climb world record holder Nobuhiro “Monster” Tajima racing up the mountain earlier this year.
(best watched fullscreen and in HD)
Just listen to those turbos whine…
John Gruber of Daring Fireball fame wondered “[…] why WP Super Cache (or some other caching solution) isn’t part of the default WordPress installation” in a recent blog post, so I thought I’d write a blog post explaining why.
First though, a bit of background. When you visit a WordPress-powered website, WordPress asks the database software for some details such as the post contents, details about the authors of the posts to be displayed, the comments for that post (if you’re in a single post view), and so forth. The database is really good at this kind of thing, but if you ask too much of it (too many queries), it will start slowing down and eventually start not replying in time before the webserver software (Apache, etc.) gives up on it. For the vast, vast majority of WordPress sites, this never happens. The database chugs happily along responding to queries and you never have any problems.
However if you get linked to from a popular site such as Daring Fireball, Digg, or Reddit, the high number of page requests will soon overload your database software. This is because most people host their sites on what’s called shared webhosting where you and a bunch of other people share a server. The server doesn’t have much spare CPU power as hosts want to make the most out of the servers. It’s a case of you get what you pay for.
To help avoid this, WordPress does actually have a built-in cache called the object cache. It was introduced way back in 2005 and it basically caches database query results. When displaying a post for example, WordPress usually asks the database for information about the author of that post (name, etc.). When another post is displayed by that same author further down the page, instead of asking the database for the information again, WordPress fetches this data out of it’s internal cache. This simple little feature greatly cuts down on the number of queries required to generate a webpage for a visitor.
However as soon as the page is done being generated, that object cache is discarded. Initially the object cache cached these little chunks of data to the filesystem so that they could be reused on subsequent pageviews. While great in theory, the concept turned out to be terrible in practice. You see WordPress has to be able to run on countless different types of server configurations. One common enough configuration that had trouble with this file-based type of caching was where all of your files were network based. Rather than your website’s files being stored on the server that was generating the webpage for the visitor, they were stored on a different server elsewhere in the datacenter. Having to fetch all of these little cache files over the network was a slow and resource intensive exercise. And that’s only one example of many configurations that the file-based caching had trouble with.
What’s worse is that many sites were actually slower with a persistent object cache enabled. Databases are actually quite fast (as they’re designed to store lots of little chunks of data), often faster than fetching that data from the filesystem and decoding it. So for the vast majority of sites, the ones that get relatively low traffic, having a persistent cache was a lot more trouble than it was worth. Just having a temporary object cache is enough.
While the same issues don’t really apply to WP Super Cache and other plugins total caching plugins because they caching each page to a single file instead of multiple little files, as with a persistent object cache, it simply isn’t needed for most sites due to lack of traffic. More importantly though, they require setup and there’s a tradeoff as your blog is no longer dynamic. Things like “latest comments” will be out of date for example.
So the WordPress developers have instead decided that the best course of action is to make it really easy to use a caching plugin, both behind the scenes and from the user perspective. You can install a plugin in just a couple of clicks directly from the admin interface.
Infact this is how WordPress development is done as a whole — include things that the majority of users will want and make it easy to install a plugin to do the rest. The core of WordPress should stay as slim as possible — bloat is bad!
I hope that clears up the decision why not to include persistent caching by default in WordPress. 🙂
TL;DR: Persistent caching isn’t needed for most sites and is a pain to get working in all hosting environments. Instead WordPress makes it really easy to install a caching plugin if you need it.
If you’re a coder and are interested in the direction I am going with the next version of my popular Viper’s Video Quicktags plugin, I have committed what I have so far to the WordPress.org plugin SVN repository.
Please note that this is not production ready code. It’s still a proof of concept at this point basically where I am just writing ugly code in an effort to get the functionality there so I can test it. Large portions of it aren’t even coded yet (FLV support for example).
I’m only sharing it for anyone who builds on top of my plugin or whatnot with their own code. Everyone else shouldn’t bother looking at it. 🙂
If you haven’t heard, comex released a jailbreak for iOS 4 (iPhone 4), iPads, and more today. Even more amazing is that it’s an in browser jailbreak that makes use of a PDF exploit. I just finished jailbreaking my iPhone 4 and it worked like a charm!