Get a Grep

I noticed scripts like the WordPress “Press It” scriptlet bring in non-ASCII text in a funky format that always starts with a u% and then returns the hexadecimal number for that character. I wanted to just quickly find a way to convert those guys into an HTML character entity, and found this thing helpful: BBEdit Grep Tutorial

I’m working on my final pattern to strip out all the u%s and add &#x to the beginning and a ; to the end. Then I suspect I’ll try to bake it into the scriptlet itself, or at least the PHP page on the receiving end of it…

Mother Nature Strikes Back

This begins to sound much like the film The Day After Tomorrow:

CNN.com – Scientists: Global warming is real – Feb 18, 2005

Ruth Curry of the Woods Hole Oceanographic Institution found that melting ice was changing the water cycle, which in turn affects ocean currents and, ultimately, climate.

As the Earth warms, its water cycle is changing, being pushed out of kilter,” she said.

Ice is in decline everywhere on the planet.

A circulation system called the Ocean Conveyer Belt is in danger of shutting down, she said.

The last time that happened, northern Europe suffered extremely cold winters.

Could this be Mother Nature’s way of exacting revenge?

When the flooding and/or freezing begins, history will remember the one that pulled the U.S.A. out of the Kyoto Treaty…

Change is Coming

Change is coming:

WordPress » Development Blog » Announcing WordPress 1.5

I have been using WordPress at work for some collaboration and info sharing projects and it has been a huge hit. I found the thing very easy to install and customize. I like it so much that I’ve been considering switching this very weblog here at sanbeiji.com to WordPress. Today that conversion process begins.

The basics of WordPress are very compelling: PHP/MySQL foundation, valid XHTML out of the box, a dead simple installation process, and very tweakable under the hood. It’s a nice lump of clay to work with.

A desired new feature is how it handles the comment process:

First we’ve made everything much more secure by default using a new option we call “emergent registration” or “automatic whitelisting.” What it does is the first time someone comments they are automatically held in moderation unless you’ve approved something from them before. This means that your regular visitors don’t have to wait for you to manually approve each comment they make, thus slowing down the conversation, but you still can ensure that a drive-by comment vandal will never show up on your site.

I’ve never liked using comments or trackbacks. The one flirtation I had with this yielded nothing but comment spam, and I turned it off almost as soon as I had activated it. This new feature in WordPress may bring comments to this weblog finally.

Probably my favorite new feature is this:

In addition to all of the features above, we made significant improvements and optimizations to core pieces of WordPress code, following our “Code is Poetry” mantra. Amazingly, if you remove the extra templates we ship with now, this release of WordPress is actually smaller than 1.2, despite adding dozens of new features. Our testing team gave the code a thorough workout too — hundreds and hundreds of bugs have been fixed since 1.2.2. WordPress is now leaner, faster, and more secure then ever before, and we’re committed to continuing that trend.

二二八紀念音樂會

This coming February 26th I am playing bass in the 228 Memorial Concert (二二八紀念音樂會)!

Where:

East Bay Formosan United Methodist Church/East Bay Taiwanese American Community Center
1755 Sunnyvale Avenue, Walnut Creek, California

When:

February 26, 2005, 2PM

I am only playing on one piece, but the entire program seems very interesting and I’m looking forward to doing this. We did a similar program last year doing a number of Taiwanese folk songs scored for a Trout-style quintet plus voices for a New Year’s performance and it was also a lot of fun.