Monthly Archives: February 2005

Does everything in the world require debugging?

This morning I’m try to cross off six or seven niggly tasks that require concentration but relatively little time. I didn’t bring my iPod, so I’ve decided to fire up xmms with some of the mp3s that I ripped last year before I discovered podcasting. And it sounds terrible! Argh! Distraction!

What’s the deal? I don’t remember it being this crappy. Are my speakers crappy? Bad player? Is it just bad rips? Doh! I recorded them at 96kbps for some reason, and that is apparently not good enough.

And now, that’s replaced whatever I had on the top of my priority stack. Well, damnit, I’m not going to rip CDs. I’m just going to work in silence.

I’ll rerip ’em tomorrow.

Back!

Sorry about the lack of updates yesterday, I took the wife off to a whirlwind 1-day Reno vacation. Got a spa suite at the Silver Legacy, caught Bill Cosby in a show, ate too much, and then a long drive home that involved passing lightning, rain, and a couple of tornados outside Sacremento.

Had a great time, but probably no more for the rest of the day. I’ve got to wash the smell of cigarette smoke out of my clothes.

Brainwagon Radio: Upgrading to WordPress 1.5

Where your host describes his mostly good experience in upgrading from WordPress 1.2 to WordPress 1.5.

Links from the show:

  • You can get WordPress 1.5 from wordpress.org.
  • I’m enjoying Build Your Own All Terrain Robot. I’ll probably be ordering some windshield wiper motors for my robotics project in the next week, maybe from bgmicro.
  • Still loving my Dell Axim x50v. I like reading the web on the small screen. I’ll probably work up some better templates for WordPress so you can read (and listen to!) Brainwagon wherever you are, and whatever limited device you have.

That’s it for this week. Sorry for the sparse episode. Still have gmail accounts available, drop me an email to get one!

Enclosures in the new WordPress 1.5

Well, there is some support for enclosures right out of the box in the new release of WordPress, but it could still handle a bit of help. The way I hacked this into the old version was to insert two special custom fields and then wire the templates to scan for these and output the right bits of HTML and RSS when each post was printed.

WordPress 1.5 handles things a bit differently: it will scan the post for links to urls which appear to be audio files, and then inserts a custom enclosure field in the database with the url, size and type included as a string. But since it already thinks that the URL is linked in the post, it does nothing to make the link stand out in any way.

When I updated from 1.2, I converted each of my custom fields into a format which was compatible with the new scheme, but I was then left with a dilemma: go back and patch the text of all 52 entries so that it included a link (ugly) or go ahead and modify the templates to include a customized link. I chose the latter. I found out with a bit of work that code that looks like the following works. I include it just after any template emits the_content for a post.

[php]
$encs = get_enclosed($post_ID) ;
if ($encs) {
echo ‘

‘ ;
foreach ($encs as $enc) {
echo ‘Click here to listen to the podcast.’ ;
}
echo ‘

‘;
}[/php]

Nothing too exciting, but might prove useful to you in your work.

On Blogging and Marketing…

Ah, another rant about Scoble. He’s got a fresh “rant” (rant is in parenthesis because it’s pretty mild by my standards) about a group in Microsoft that created a website to market a product, but (to Scoble’s way of thinking) missed the boat as to how to go about it.

He’s got a point.

I use the Web in two quite different ways that might result in me spending money on our products. The first is just to find information. What are you selling? What does it do? Where can I buy it? How muh will it cost? As long as I can do a simple websearch and your information page pops to the front, I’m probably happy.

The second kind of marketing is a bit subtler. Microsoft’s Channel 9 pages are a good example. They are more informal, less structured pitches, presented in a conversational style, and often as a result of actual discussions with developers and to some extent, consumers. Currently in the Channel 9 Video Forum, I see tours of Microsoft facilities guides to developing on bluetooth and CLR programming, and descriptions of new technologies like Avalon 3D. These aren’t so much to get me to buy products, but to understand and buy into the Microsoft Brand.

And they are effective. There is little doubt that I have a more positive view of Microsoft and their products by actually watching this stuff.

So, what’s my beef?

To my mind, it’s the intermixing of marketing and conversation. I guess that you could say I’m a bit of a skeptic about the whole Cluetrain idea. It’s not that it’s wrong or bad, it is just one of those seductive ideas that goes from keen insight to useless cliché in a very short time.

But I think there is something slightly more disturbing about companies who are trying to apply the Cluetrain ideas. Take, for example the Microsoft Presspass site that Scoble recommends as an example of “the right way to do it”. The thing that I find disturbing is just how much it looks like a real news site, with real journalists asking real questions. But it’s not. It’s just the Microsoft marketing department, asking their own company softball questions. Look carefully at the Q&A articles. Look carefully at the formatting. The fact that you can get an RSS feed to have these scarefully sculpted press releases delivered into your mailbox.

Color me skeptical, but I see this site as perhaps more effective than the site which angered Scoble, but no better for me. I should be skeptical of virtually every claim made on such a website, because it is so obviously the work of strong, vested interests. Their products might indeed be just what I need, but to really evaluate the needs I need access to unbiased information, and this ain’t it. It is really just the same old marketing recast into the guise of the new trendy “conversation”.

Having an RSS feed and making your press release look like news doesn’t establish a conversation.

Sometime soon: companies don’t converse. At best two individuals do. Using the term “conversation” to describe an interaction between a company and an individual is a demeaning use of the word “conversation”.

Scientists find tsunami produced 90-foot wave

San Francisco Ferry BuildingI was reading this article from the San Francisco Chronicle, which says that last December’s tsunami create a wave 90 feet high. They said that the wave would have reached the clock of the San Francisco Ferry Building (not the top, which is 248 feet, but the lower edge of the clock face). Here is a picture of the building from 1898. I reckon that entire scaffolding would have been underwater.

Ouch.

Build Your Own All-Terrain Robot

Today’s book recommendation is Brad Graham and Kathy McGowan’s Build Your Own All-Terrain Robot. Brad and Kathy are the authors of a book which was highly recommended to me, Atomic Zombie’s Bicycle Builder’s Bonanza. I’m not all that interested in building strange bicycles, but robots, hey, that seems like more up my alley.

I’ve got quite a few books that concentrate on making robots which are little more than toys, but I was beginning to think of a bit grander project: a robot that could navigate outside over realistic if not rugged terrain. And this book delivers! It gives detailed descriptions of two different robotics projects, and tells you what you really need to know to get going. You won’t find chapters entitled “how to solder” or “PIC assembly code”, but you will find lots of information on finding the right motors, batteries, how to design and fabricate a welded steel frame, how to get it all working with remote control, and how to mount cameras and even a FRS radio to allow you to see what your ROV is doing.

Great book, highly recommended.

WPVI.com: If It Ain’t Broke….

Not all things which are new should be construed as progress.

WPVI.com: If It Ain’t Broke….

The “reimagined” Bugs Bunny is going to be renamed “Buzz” and star in a new series called “Loonatics.” The series will be set in the future and will feature a tough-talking rabbit with laser eyes and who is a martial arts expert. Even Daffy Duck will get a techno-update with built-in sonar.

It’s… just…

I’m speechless.

Porter Garden Telescope

Want to own a tiny bit of telescope making history? Check out the Porter Garden Telescope, which according to an email from the owner will be up for sale shortly. There is one currently on display at the Chabot Science Center as well, in case you don’t have the means to pick one up.

It is certainly possible to own a larger telescope, but it would be difficult to own one that’s cooler.

More information about the Garden Telescope.

Some of Porter’s drawings of the 200″ telescope

First Try at WordPress 1.5

Well, I cloned this weblog and tried out the newest release of WordPress on the clone. Basically I used mysqldump to save everything out in the current database, then created a new database and reloaded the contents, changing all occurrances of brainwagon.org to brainwagon.net. Then, I modified my httpd.conf file to route brainwagon.net to a different directory, installed it there, ran the upgrade.php script, and voila!

Overall, I think it went very smoothly. I like the new templates and the new templating system. It will take me a bit of work to make them look more brainwagon-y, but I didn’t really have that much going on that I really feel like I need to preserve (mostly just the color scheme and the use of floating images). I did make some really crufty modifications to support enclosures in WordPress 1.2.1, so I’ll have to do some minor bits of database surgery to get all the old enclosures inserted into the database so that they will continue to be available. I also use various spam preventing plugins, I’ll have to check to see whether these are still needed. The RSS feeds are also renamed, I’ll have to either fix that or insert appropriate rewrite rules to get them to be the same, I wouldn’t want all my subscribers to end up with broken feeds.

Overall though, I am pretty happy, and should be able to move the main site over this weekend. Congratulations to the WordPress team, it looks like a nice improvement!