SemButtons: My First WordPress PlugIn

April 16th, 2007

I have written a WordPress plugin to rearrange the buttons in the post editor (the regular one, not the fancy WYSIWYG one) in a way more to my liking. It changes the names of some buttons, removes others I rarely use, and adds a few more I do use.

The code involves some really awful hacks and is a confusing mix of CSS, JavaScript, and PHP. I use CSS to hide the buttons I don’t like, and JavaScript to change the names of existing buttons and add new ones. PHP integrates this whole mess into WordPress. WordPress wasn’t really designed to support this level of customization. That’s why I have to use JavaScript to change the buttons after the page is loaded.
Read the rest of this entry »

Where to Bird in San Francisco

April 15th, 2007

I’m going to have two days to bird in the Bay Area the weekend of May 12 and 13. Plus I may have an afternoon the previous weekend. I’ll be staying downtown, and probably don’t want to bother renting a car. I haven’t done any birding in this area and this time of year before, so there should be some good stuff locally. What’s recommended?
Read the rest of this entry »

6 Woodpeckers and a Loon

April 15th, 2007

The weatherfolk are saying that today starts a three-day Nor’easter, so I decided that I better get any birding I planned to do done yesterday. Thus I joined Starr Saphir’s Saturday walk in the Central Park North woods. We met at 103rd and Central Park West, and almost immediately got Downy Woodpecker and Red-bellied Woodpecker, as well as four great Blue Herons flying over and an Eastern Towhee that was singing up a storm, but really didn’t want to be seen.

Before we left the Great Hill area, we’d tallied all the other regular local woodpeckers including Northern Flicker, Yellow-bellied Sapsucker, and Hairy Woodpecker. Northern Flicker and Yellow-bellied Sapsucker are usually only seen during migration and Hairy Woodpecker can be hard to find unless you know where one is hiding or you can distinguish the call from the Downys (Starr can. I can’t.)

Any day you get all five woodpeckers is a good day, but usually that’s it. Even that’s good. The rampant European Starling population do their best to drive out any hardy urban woodpeckers so they can steal their holes. Most woodpeckers can’t even think about breeding here until the starlings have finished for the season. There just aren’t any other woodpeckers that are remotely likely to be seen in New York City, even during migration; but not yesterday.
Read the rest of this entry »

No Common Gull

April 12th, 2007

Yesterday I took the B41 out to Marine Park to look for the European Common Gull that had been spotted there on Sunday and Monday. There were hundreds of Ring-billed Gulls, at least a couple of Herring Gulls, one or two Great Black-backed Gulls, but the Common Gull was not found; or if it was found nobody recognized it. It looks a lot like this much more common Ring-billed Gull:

Ring-billed Gull at Marine Park
Read the rest of this entry »

WordPress Meetup Wrapup

April 12th, 2007

Had a good time at the WordPress meetup in NYC last night. Finally met Matt Mullenweg and various other people. It was surprisingly reminiscent of the early days of the Web, circa 1995. Most of the user group meetings/meetups/conferences I’ve been going to lately are very heavily weighted toward techies and programmers. This one was a real mixed group of programmers, artists, writers, sysadmins, VCs, and business folks. I haven’t run into a group like that for a while.
Read the rest of this entry »

QuickTime API Overhaul?

April 11th, 2007

ThinkSecret is reporting that Apple is revising the QuickTime APIs in Leopard:

A new Application Programming Interface (API) for video, which may feature a “Core” moniker akin to Apple’s Core Image, Core Audio, and Core Animation components, will deliver most of the improvements to QuickTime. While QuickTime from a end-users perspective is not expected to undergo any substantial improvements, the new API will take years of legacy QuickTime code and replace it with a more modern and efficient architecture to deliver improved performance and maintainability.

This is long, long overdue. If I ever get around to writing my API Design book, I was planning to use QuickTime as a classic example of how not to design an API. Now if only they’d rev QuickTime for Java too.

Currently Reading