Categories
Uncategorized

Snow

A light dusting of snow provided a beautiful end to the day. Watching it dance around the street from my office window was highly entertaining. Snow is something of a rarity in these southerly, coastal climes so it’s a rare treat.

Categories
Uncategorized

Config::Setting

After picking up XML::Genx again, I reorganised my SVN repository and noticed all the other old projects in there. So I’ve started playing around with Config::Setting again. It was originally written to attempt to provide a “better solution” than a hard coded global hash for work. But it turned out that people liked having a hard coded global hash. Oh well. It may well yet turn out to be useful for some other purpose.

Regardless, it’s interesting to look inside it and see how my code has changed in the last few years. And looking back, I have this itch to change things, just make it a little better. So I’ve started working on it again. There’s no clear purpose in mind, I’m really just playing. But it’s fun! Hopefully, I’ll end up with something I can throw on CPAN.

Categories
Uncategorized

Module::Build command line

For reference, this is how to override things on the Module::Build command line.

perl Build.PL --config optimize='-g -pipe'

I seem to recall discussion on the list that it’s going to be better documented in future releases (more end user specific). This will be greatly appreciated.

Categories
Uncategorized

XML::Genx

After months of neglect, I’ve picked up on XML::Genx again. One “A. Pagaltzis” wrote to me and made two suggestions. Firstly, why didn’t I wrap genxScrubText() and secondly why didn’t have a method for automatically creating XML output as a string since that’s such a common use case.

Well, I tried the first one and got very frustrated by XS and its little foibles. So I left the whole project alone for a while.

But last night, I started working on the string appender. And it was actually much easier than I thought. Not only that, it gave me the idea for making the internals much better and cleaner. At the moment I have an internal global hash, because I can’t store things in $self like normal Perl OO code (because $self is a blessed scalar point at a genxWriter instead. But genxWriter takes a user pointer, so I can just stick the hash in there. I shoulda thought of that ages ago.

So, one new release today and a cleanup release RSN to rework the internals around user data a bit better. And then I’ll get back to genxScrubText().

Categories
Uncategorized

Subclipse

I tried running subclipse a little while ago when I first started looking at Eclipse. I couldn’t make it work. It would just hang on commit. However, this morning, I ran the automatic update in Eclipse and noticed that a new version of subclipse was available (0.9.27). I upgraded, and tried it out.

And it works, beautifully! Full subversion integration inside Eclipse. It’s lovely! Although by now I’ve gotten used to ow the CVS integration works, so it feels a little clunky to have to use the SVN Browsing perspective instead of simply saying “new project; checkout from cvs.” But that’s a minor quibble.

Categories
Uncategorized

Pancakes

Yummy. Today I was surprised by pancakes upon my return home. Thanks to the good old BBC, we even knew how to make the batter. 🙂

Surprisingly, I even noticed that they had Delia recipes in there.

Categories
Uncategorized

Fiat Lux

Today is the first day that I’ve cycled home with some sunlight for company. Just a little, but it’s definitely starting to creep in.

As an added bonus, no rain! Sadly, that means I don’t get to try out my new jacket. I don’t recall wanting it rain so much before.

Categories
Uncategorized

Verity Stob

Now there’s a compendium of Verity Stob. She is to programmers what the BOFH is to sysadmins.

Categories
Uncategorized

PostgreSQL Upgrade

I’ve just upgraded to PostgreSQL 8.0, which as expected, didn’t go entirely smoothly. The config file format has changed a bit, although ediff soon took care of that. The dump-and-restore rigmarole is still there, but then that’s what nightly backups are for.

The main trouble was that I had been playing with SSL certificates some time ago and that’s changed a little bit in 8.0 (hopefully due to my prompting). Turning that off made things go better. It’s not a problem because the new default is to listen to the localhost interface only instead of all IP addresses.

What’s nice is that wordpress-pg appears to work without any problems. I wasn’t expecting any, but it’s always pleasant when it works out like that.

Anyway, now that it’s there, I can start playing with it to see what’s changed. Even though I don’t use the database much at home, it’s all good experience.

Categories
Uncategorized

subversion crash, redux

After much fiddling, upgrading, dumping, restoring, I’ve realised that I don’t have a clue what the problem in subversion is. What’s really irritating is that when I compile it with debugging, the problem goes away. So, I’ve accepted that as a solution for a moment, disconcerting as it may be. At least I’ll be able to checkout without crashing.