Back in 1984, I did some basic genetics research on drosophila melanogaster, aka fruit fly. Fruit FlyMostly this involved looking at them under a microscope while they were anaesthetized with ether and breeding them in different combinations to see how various characteristics got passed down to children.

I though it was all innocent enough — they were just fruit flies. Obviously I was wrong, as this year the fruit flies have finally gotten around to exacting their revenge by reproducing in great numbers and spreading their armies throughout Charlottetown.

This summer you cannot mention the species in this city without sighs of tired resignation from all around. The fruit flies have taken over, and there doesn’t appear to be anything we can do about it.

Catherine has tried these gizmos from Lee Valley Tools. They work, but they simply can’t keep up with the exploding population.

No matter of cleaning, putting everything remotely attractive to fruit flies in the fridge or in sealed canisters, or any other maneuver we’ve taken has had any effect at all.

Much of the problem extends, no doubt, from the hundreds of these compost containers that now populate the city. Alas the Island Waste Management System has a waste video game, but no advice on their website as to how to control the raging drosophila.

The Old Farmer’s Almanac has this advice:

You may want to try trapping the flies by inserting a paper or metal funnel into the mouth of a quart jar baited with bits of overripe fruit. The flies will get into the jar, but they will not be able to get out. To decrease the number of fruit flies outdoors, promptly get rid of any “dropped” fruits or vegetables and keep all garbage cans tightly closed.

Perhaps that’s what we’ll try next.

Speaking of the Internet Archive, here’s another of their great projects: the International Children’s Digital Library.

Here’s a page from archive.org site that shows The IslandCam — the “live” online digital camera photo we put in place for the PEI Government website — seven years ago, on March 19, 1997.

The design in place for the site at that point was almost the first one. I think it holds up, albeit in a “Netscape 1.0” sort of way. Here’s the home page that was in place at that point. And what was perhaps my favourite project over the years I worked with the Province: A Bag of Rubber Hammers.

Even though Fiddles and Vittles closed several years back, Captain Bart’s didn’t open for the season, and the tourism world is drenched in “golf product,” there are still some classically Island tourist attractions — things that, by all rights, shouldn’t exist in a sensible universe, but that have delightfully squeaked through.

King’s Castle Provincial Park is one example: a free, giant children’s playground created and maintained by the Province of PEI.

The latest addition is the Elmira Miniature Railway, a new addition to the Elmira Railway Museum.

Leaving aside that the project cost $237,000, which seems, well, insane, the resulting little railway through the forest is wonderful: Oliver and I visited on Saturday, paid our fare, got our tickets, and had the train to ourselves as we sped through the wilds of rural Elmira. This is no carnival ride: there’s a mile of tracks through the woods, and the ride takes about 20 minutes to complete. It’s perfectly child-sized, and because this is PEI and not Orlando, there are no superfluous seatbelts or roll cages: you just sit in an open carriage and enjoy the ride.

This is one of those great times when political need — funnel money into Eastern Kings — results in a crazy hare-brained scheme that is probably doomed to fail (great as it is, I don’t see the railway as the key to the revitilization of Eastern PEI) but that also results in something that is actually a lot of fun, and will become, I think, a favourite destination for Island families.

CBC is reporting that Superior Sanitation applies for city wind turbine. Mark this day, for it’s the day that wind power reached a tipping point.

Thanks to this very helpful comment, I’ve found that my local OPAC speaks XML. And not just for search results, but for every page in the OPAC! This is truly amazing, and will enable some fantastic tools. Kudos to Dynix and the Provincial Library; I’ll modify the script I created earlier today to take advantage of this capability shortly.

All of this library fun reminded me of my first foray into the world of PEI, libraries and the Internet.

When we first arrived in Prince Edward Island in the early 1990s, the Provincial Library was automated with a custom-designed, mainframe-based system. As any librarian who was there back in the day will attest, it was an evil beast of a system; if I recall correctly, for example, I don’t believe there was any way to search by author or title. I was once told the process for bringing a new book into the system: it involved a complicated set of operations, some of them in Charlottetown (where the mainframe was) and some of them in Morell (where the Provincial Library is headquartered; the victim of an since-aborted plan to decentralize government operations that also saw the road-sign shop move to Tignish and Vital Statistics to Montague).

Needless to say, the system was neither public (in the branches) nor online.

When I started working with the province on their website, I brought up the idea of making the library catalogue searchable on the provincial website, and by some miracle was able to convince the mainframe operators to export the entire list of holdings (about 400,000 records) as an ASCII text file. I use the word “export” here loosely, as the mainframe had no “export” feature per se and they actually had to “print to a file” to get me what I needed.

The state of Linux database technology at the time was very primitive — this was before MySQL, PostreSQL and the like. If you wanted to have a Linux-based webserver use databases, you had to roll your own (early versions of the Vistors Guide search, for example, used Berkeley DB and Perl.

As a result, making the library catalogue searchable required a hand-stitched system. What I ended up with was a Perl wrapper around grep, a general-purpose UNIX text search tool. Users would enter a keyword, we would grep the 400,000-line ASCII file, and display the results. Because the file was somewhat structured, we could even provide automatic hyperlinks to other works by the same author, other books on the same subject and so on.

I can’t recall how long this system was in place — it was eventually replaced by the current web-based OPAC with the Provincial Library converted to Dynix — but it fulfilled a useful role for a while. Those were the days.

While the Provincial Library web OPAC does allow for a search by ISBN — on its advanced search page — there’s no easy way to link directly to a particular book from another website simply by its ISBN.

So I created one.

If you go to a URL in the following form:

http://ruk.ca/isbn/XXXXXXXXXX

Where you replace XXXXXXXXXX with the actual ISBN you’re linking to, you’ll automatically get redirected to the record for that ISBN (if there is one) in the PEI Provincial Library web OPAC.

Here’s an example:

http://ruk.ca/isbn/0596003838

That’s a link directly to the record for Content Syndication with RSS by Ben Hammersley.

Note that this will obviously only be of value if there actually is an item for the ISBN in question in the library’s collection. Note as well that it looks like the library only started entering ISBNs into their OPAC recently, so this is missing for earlier items.

Following from this script to create an RSS feed of items checked out of the library, I’ve created another little tool: dvd2rss.pl is a Perl script to extract a list of DVDs from the Provincial Library OPAC, sorted so that the newest DVDs are listed first.

Like the earlier script, this one is designed to work with the web-based Dynix OPAC (and is probably to some degree dependent on the way the PEI catalogue works, and how results are rendered). It should be easy, however, to modify it to work with other Dynix installations, and to display other sorts of searches (new books, new kids books, etc.).

Here is the RSS feed that the script generates. I’d like to enhance it a little to pull the description of the DVDs from the OPAC too. As it is, though, each RSS item links to the DVD in question in the catalogue, so you can easily check its status, and put it on hold if you like.

Here’s what the result looks like in NetNewsWire:

Screen Shot

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, listen to audio I’ve posted, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). 

You can subscribe to an RSS feed of posts, an RSS feed of comments, or a podcast RSS feed that just contains audio posts. You can also receive a daily digests of posts by email.

Search