php composer, WordPress, and plugins

This entry is part 5 of 5 in the series php features

At the request of a user I configured the Index WP MySQL For Speed plugin to use php’s composer package manager for installation. That plugin has a mu-plugins component because it sometimes needs to intervene in core and plugin updates. Ordinarily, activating it puts the the code into the mu-plugins/ directory. But some WordPress installations … Read more

Barroom Messiah 2025

Every December, midcoast-Maine impresario and musician Charles Brown Jr organizes an event called the Barroom Messiah. Musicians professional and amateur take over a local taven or other venue for a Saturday afternoon and sing a good part of the Messiah oratorio by G.F. Handel. That’s the one with the famous Hallelujah Chorus and many other … Read more

In php, empty arrays are falsey, not truthy

This entry is part 4 of 5 in the series php features

Maybe I should have known this. But I didn’t, to my detriment. Empty arrays are falsey. Like so. The rule that an empty array is falsey bit me when doing this sort of thing. Many SQL queries can return an empty result set, that is, a result set with zero rows in it. That’s a … Read more

Randall Thompson’s Alleluia

Our choir director, Charles Brown Jr., has programmed Randall Thompson’s Alleluia for early November. I guess I need to learn to count. A performance. Here are some YouTube practice tracks. This track has a female singing the TENOR line, and sometimes she makes a couple of rhythmic mistakes.  So…just remember to be in the same … Read more

Gravity Forms tables

The good people at Gravity Forms were kind enough to give me a developer license to their plugin, to allow me to analyze their indexes on request from a user of Index WP MySQL For Speed. These are the tables. All of them look like they have OK indexes, except wp_gf_entry_meta, which has a couple … Read more

APCu in php — some notes

This entry is part 2 of 5 in the series php features

I’ve been working on the SQLIite Object Cache plugin for WordPress. I’m using the APCu User Cache, php’s RAM cache subsystem, to accelerate cache lookups — specifically to support wp_cache_get() and wp_cache_get_multiple() operations. I’ve had to figure out a few things about this php feature. Here are some notes. Its documentation is not as comprehensive … Read more

Whose tribe is holiest? Wrong question.

A sermon for Nativity Lutheran Church in Rockport, Maine. Text: Paul’s letter to the Galatian’s 3 1-9, 23-2 Other texts, from previous weeks in the Narrative Lectionary: Controversy about conversion of the nations, Acts of the Apostles, Chapter 15:1-18 Amos 9:11-12 quoted by James in Acts 15.Philip and the Ethiopian courtier. Acts of the Apostles, … Read more

Gathering diagnostic data for plugin support

What’s this problem? WordPress plugins run on a variety of sites running on a variety of server configurations, and a variety of other plugins. It’s common for unexpected configurations to cause trouble for plugin users. Then, users open support threads saying “something went wrong.” The plugin authors then need to ask for configuration information to … Read more