Simon Willison’s Weblog

Subscribe

July 2004

July 12, 2004

Why Mac OS X is Better. Pure, unadulterated advocacy.

# 3:45 pm

Improved Search. Getting the most out of search built on LIKE queries.

# 3:45 pm

Spotlight on Spotlight. Spotlight re-indexes every time you create, modify or move a file.

# 11:32 pm

July 14, 2004

PHP 5 is out!

It’s finally here! Unfortunately PHP.net, while a great site in most respects, fails miserably when it comes to permalinks for news items and/or new software releases. You can grab it from their downloads page, and read more about it in the changelog. Now all it needs is widespread adoption. Unfortunately, something tells me PHP 4 is going to stick around for a long, long time.

MSNBC.com sees surge in video ads. With thoughts from Cory Bergman on the role of video in local news sites.

# 12:22 am

Migrating from PHP 4 to PHP 5 (via) A migration guide from the PHP manual.

# 5:35 am

Fuck You And Your H2 (via) 845 photos of people flipping off hummers.

# 5:53 am

Rock, Paper, Saddam! (via) Outstanding.

# 3:37 pm

allmusic.com—Standards-based Rebuild. It took Tim Murtaugh two hours.

# 3:49 pm

Cheap debugging trick: inspect + pprint. Easy python stack tracing.

# 7:29 pm

Tutorial: Creating a Mozilla Extension (via) I spent nearly an hour looking for this the other day with no success.

# 8:17 pm

Picking apart Allmusic.com. Echos my thoughts exactly.

# 9:49 pm

July 15, 2004

Instant authentication against an existing web application

I was thinking today about the problem of querying an existing authentication database from a new application—exactly the kind of thing web services are useful for. Then I realised that any web application protected by HTTP Basic authentication already provides a standard API against which queries can be run. Here’s the Python code to do exactly that:

[... 187 words]

How to write Firefox extensions. Somone emailed me a link to this.

# 12:47 am

Wikalong Firefox Extension. I got an email tip off about this one too!

# 12:48 am

Per-site user stylesheets

I’ve been thinking a lot about per-site user stylsheets recently. Eric Meyer’s CSS signatures are great for sites that support them (as this site does), but the sites that really need altering are highly unlikely to carry them. I posted a comment to that effect on photomatt.net a while ago, and thankfully it was spotted by Ryan Tomayko who has published a simple brilliant hack that uses XBL in Mozilla’s user stylesheet to execute JavaScript which adds a CSS signature to every site you visit.

[... 261 words]

July 16, 2004

PHP 5 Object References. Mind the gotchas!

# 3:58 am

Processing XML with JavaScript. My notes on Sarissa and Mozilla’s XML Extras.

# 5:08 am

Iraqi women beg to be killed as American soldiers sodomize their children. The most upsetting MetaFilter thread I’ve ever read.

# 6:12 am

Learning Python As You Go. Ryan Tomayko on language learning approaches.

# 7:49 am

News site registration

The single hottest topic in the online news industry at the moment is that of required registration. A number of large news sites (the New York Times, the Washington Post, the Chicago Tribune) have moved to this model, and many local newspapers are following suit.

[... 660 words]

Wired News: Searching for The New York Times. Opinion piece on how registration and paid archives are crippling the New York Times.

# 9:12 pm

July 17, 2004

Version 2 | Blog | 1976design.com. Plenty of entertaining little details—be sure to dig around.

# 7:24 pm

July 19, 2004

Jeffrey Veen: Damage in Web Design. Users route around damage.

# 7:17 am

Rock, Paper, Saddam! Beware the awesome tiger hand.

# 7:17 am

Indispensable Mac OS X products. I’ve been having some fun with MenuMeters as a result of this post.

# 7:25 am

TheyWorkForYou Full Source Code Published. Open source political hackery.

# 7:26 am

Fred Durst Has a Blog. And it’s even worse than it sounds.

# 7:28 am

Clickable Link Backgrounds. With a twist to avoid the IE6 flicker bug.

# 5:19 pm

Apple: Lithium-ion Batteries (via) Tips for improving your battery’s lifespan.

# 8:41 pm

2004 » July

MTWTFSS
   1234
567891011
12131415161718
19202122232425
262728293031