Archive for September, 2005

Guilty Raiding Party Photographed

Friday, September 9th, 2005

Five Deer in Neighborhood

I can’t say for certain if these are the deer that have been eating our plants, but I’m sure they’re guilty of eating somebody’s plants. I got this photo this morning after they crossed through our yard into a neighbors, perhaps on a trip to the nearby lake. Or maybe just looking for more hastas.

Resourceful Deer

Wednesday, September 7th, 2005

Eaten HastaI thought I outsmarted the deer this year by laying plastic mesh fencing over our vulnerable plants. Occasionally, a leaf would grow through the mesh and get eaten, but generally it worked pretty well.

Until now, that is. The recent dry spell must have made the deer more resourceful, as it looks like they learned to push the mesh aside and get to the protected hasta. Oh well, I guess it’s back to spraying Deer Off.

JDBC Providers Updated

Tuesday, September 6th, 2005

I actually got some feedback from a couple of users of my JDBC Providers contribution to JSPWiki, and I’ve updated the page provider accordingly.

There is some question about the overall design, which I adopted from an earlier database page provider. The page provider keeps two tables. VERSIONS has every version of every page, and PAGES has only the most recent version of every page. PAGES is unnecessary and basically serves as a cache for VERSIONS, and I don’t know how much that helps. Further, if one does find it valuable to keep a separate PAGES table, is it worthwhile to keep all versions in VERSIONS?

It would be possible to store all-but-the-latest version in VERSIONS, but the redunancy has some advantages. It means you only have to look in one table to get the page history. And it makes updating a page a little simpler. Without redundancy, it would be a copy from PAGES to VERSIONS and an update of PAGES. With redundancy, its an insert in VERSIONS and an update of PAGES.

Rather than worry about table layouts, I think the next step is to move all the SQL statements into the properties file so they could be customized for other databases. Eventhough the code is generic JDBC, some of the SQL is not universal and it’s only been tested with MySQL (though one user is using MS SQL Server).

Blue Variegated Hydrangea

Thursday, September 1st, 2005

[This entry is from the spring, but I never got around to publishing it until now.]

Blue Variegated Hydrangea in BloomHere’s a variegated hydrangea with blue blooms. It doesn’t really come through in the photo, but the satellite sets of four white-looking petals are actually pale blue. I’ve heard that it’s the soil pH that determines whether the blooms with be pink or blue, but we’ve got a pink one right next to this one.