WordPress Hacks: Nested Paths For WPMU Blogs

Situation: you’ve got WordPress Multi-User setup to host one or more domains in sub-directory mode (as in site.org/blogname), but you want a deeper directory structure than WPMU allows…something like the following examples, perhaps:

site.org/blogname1
site.org/departments/blogname2
site.org/departments/blogname3
site.org/services/blogname3

The association between blog IDs and sub-directory paths is determined in wpmu-settings.php, but the code there knows nothing about nested paths. So a [...]

iPhone 3G Camera Hacks And Deets

Those unwilling to open of their iPhone to adjust the camera focus might take a look at Griffin’s Clarifi, a case with a built-in close-up lens that can slide in our out of place as needed.
Flickr user Meine Ideenecke, meanwhile, has figured out the iPhone camera specifications. He says it’s about 37MM (35MM equivalent), though [...]

iPhone Earbud + Business Card Hacks: Speakers and Cord Winder

Two interesting submissions to the Core77 Business Card Hacks Challenge: earbud speakers and a cord winder.

Hacking Cellphones For Public Health

Using only an LED, plastic light filter and some wires, scientists at UCLA have modded a cellphone into a portable blood tester capable of detecting HIV, malaria and other illnesses.
via Wired.

Yet Another Encryption Crack

Those kwazy kids will quack anything now. Stream ciphers may never have been expected to be that secure, but Adi Shamir’s cube attack breaks them like so many, um, bits of data.

Google Minus Google

From The Register:
Inspired by a recent New York Times piece that questioned whether the Mountain View search monopoly is morphing into a media company — which it is — Finnish blogger Timo Paloheimo promptly unveiled Google minus Google. Key in the word “YouTube,” and the first result is Wikipedia.

Axiotron modbook: Cool, but bad timing?

The Axiotron modbook is cool, I gotta admit, but with so many rumors of a MacBook Touch due this fall, I suspect that potential buyers might be holding their breath. But, on the other hand, those people have been waiting for a Mac tablet since Jobs killed the Newton, and rumors of a tablet are [...]

Wiimote (Wii Remote) + Projector + Computer = Homebrew Multitouch Display

You’ve got the hardware, you’ve got the skills, go build a multi-touch electronic whiteboard with your Wiimote and a data projector.

WordPress Strips Classnames, And How To Fix It

WordPress 2.0 introduced some sophisticated HTML inspecting and de-linting courtesy of kses.
kses is an HTML/XHTML filter written in PHP. It removes all unwanted HTML elements and attributes, and it also does several checks on attribute values. kses can be used to avoid Cross-Site Scripting (XSS), Buffer Overflows and Denial of Service attacks.
It’s a good addition, [...]

WordPress Baseline Changes To Support WPopac

I’ve whittled things down to the point where the only baseline change from WordPress 2.0.2 is in the next_posts_link function of the wp-includes/template-functions-links.php file. The change is necessary because WPopac rewrites the SQL search queries in a way that’s incompatible with a piece of this function, but necessary for performance reasons.