Front Page News

I saw this photo on the front page of Yahoo! today:

thumb.1062117329.mtv_awards_nyr132.jpg

“The MTV Video Music Awards turned into a red-hot, all-girl smooch-fest last night as Madonna, Britney Spears and Christina Aguilera performed a raunchy, bump-and-grind dance routine that ended in explicit, open-mouth kisses.”

I’m glad to see we still have our editorial integrity. :-)

Sascha the Cat

We adopted a cat a couple of weeks ago.

sascha-the-cat.jpg

She’s grey tiger-striped, about 3 years old. A very sweet cat.

We have a מחלוקת about whether her name is spelled Sascha or Sasha. So we’ve taken to calling her by her nickname “Sushi.”

My blog is functional again

One week after disaster struck, Glenn (the friendly neighborhood admin for my ISP) has restored my MT database files from backup tape. I’m running again.

A quick post-mortem: what happened to me was similar to what is described here. However, running db_dump -r did not successfully recover the data, which is why I needed to go to tape backup.

Now I need to spend some energy getting the data into MySQL so I don’t get burned by this again…

My blog is h0zed

MovableType databases got corrupted yesterday, and now everything has gone to hell. I am editing this file by hand.

Waiting for my ISP to do a tape restore, which means I can’t really update the blog until Sunday… :-(

PHPCon West 2003

phpcon_125x125_speaker.gif I will be speaking at PHPCon West 2003 on October 23 in Santa Clara, CA.

I’ll be giving an updated version of my One Year of PHP at Yahoo! talk. If you didn’t make it to Portland this summer, you can hear me live in the Bay Area this fall.

Here’s the abstract:

Running a high-performance dynamic website is a daunting task. The short development cycles needed to stay ahead of the competition demand a web-centric scripting language that is easy to maintain and update. After a year of using PHP, Yahoo! will discuss its findings about PHP’s strengths and weaknesses.

We will present 5 general techniques for optimal performance PHP in an enterprise environment, 6 ways to harden your PHP applications, and 4 techniques for managing a diverse PHP installation on thousands of web servers.

We’ll also look at some open problems, such as the difficulty in maintaining clean separation of content, presentation, and business logic.

From the perspective of a PHP developer, this talk will is more interesting than my PHPCon 2002 talk because this one gives some concrete suggestions on how to do large-scale PHP. My “Making the Case” talk was very introspective, which was interesting to the slashdot crowd because they got to learn about Yahoo!, but didn’t teach PHP folks anything new.

I also went about 10 minutes over my 45 minute budget at OSCON, so the fact that PHPCon is giving me a 60-minute block of time means I don’t need to cut anything out. :-)

XML for Makefiles?

ant.jpg XML hasn’t cured our ills or saved the world, but people keep using it for absurd purposes anyways.

I finally took a quick look at Apache Ant today to see what all the fuss is about. Apparently with some additional components you can actually get Ant to build C/C++ code.

However, compare this build.xml for Ant:


<?xml version="1.0"?>

<project name="Hello" default="hello" basedir=".">

<taskdef resource="cpptasks.tasks"/>

<taskdef resource="cpptasks.types"/>

<target name="hello">

<cc name="gcc" outfile="hello">

<fileset dir="." includes="hello.c"/>

<compilerarg value="-O2"/>

</cc>

</target>

</project>

with this Makefile for gmake:


hello: hello.c

gcc -O2 $< -o $@

I think I’ll stick with gmake for now.

Camejo for Govenor

Peter-Miguel-Camejo.jpg Although I didn’t vote for Davis in the last election, I will be voting “no” on the recall this October. He may not be the most charismatic guy in the world, but we Californians elected him.

In case the recall succeeds (which it looks like it probably will), I will once again be voting for the Green party candidate. Camejo is pro-choice, pro-gun control, against the death penalty, and pro-workers’ rights.

The rest of the world may be having a jolly good time with the Arnold vs. Arnold campaign, but I’m not laughing.