paul.j.fenwick
Freedom Loving Scientist
Welcome to my home on the internet! Everything here is free
under the Creative Commons Attribution 3.0 license unless marked
otherwise.
This site contains various pieces of writing across my various
interests, and spanning several years. You can
fork this site
on github if you wish.
Finance::Quote/GnuCash
A question came up on the GnuCash mailing list asking how
difficult it would be to convert stocks listed on foreign
exchanges into local currency when the stock-prices are
updated. I thought it was an excellent question and an
issue well worth addressing.
After a bit of hacking, I managed to clobber out a very
rough (but working) currency converter for Finance::Quote.
It's going to be changed to make it nicer, but I managed to
write a trivial application which can convert between two
currencies on the command-line.
Did lots of tidy-up work on Finance::Quote. Added testing
scripts and fixed the documentation and made a few code
optimisations. I'll probably release a new version shortly,
with currency-conversion support due for the version after
that.
The joy of coding has kept me up past midnight. I must be
getting to sleep.
(read more...)
Work
The bug is still dead. Testing says it's dead. Everybody's
happy.
Now that I've fixed a problem (with Dancer's help) on this
particular product, I've now been forwarded the other bugs
with it. I don't want the other bugs. I don't know the
code. I have other bugs outstanding in my main line of
work. I've even gained a new nickname based upon a typo of
the product's name -- I'm now being called 'Lover Boy'.
People with competing bugs are trying to get me off the
project. I hope they succeed.
(read more...)
Work - The bug is dead. Hurrah! Hurrah!
The final bug in a project that had been repeatedly coming
back to bite me has died at last. The bug has been causing
many people (including myself) grief for many months -- and
would only show itself at the most inappropriate times. I
think the bug is gone for good, and hopefully exhaustive
testing should back me up there.
Finance::Quote
Cooper Vertz submitted a patch to extend the Yahoo! quote
facilities somewhat. Patches always make me happy, and I've
integrated Cooper's change into the CVS source.
Ben's also been bugging me to spiff-up one of my example
programs so he can easily see how his share portfolio is
going. It was an easy request that I made while waiting for
the world's slowest toaster, one of the quality
pieces of kitchen equipment we have here at work.
(read more...)
Finance::Quote
Looks like my playing with PAUSE this morning worked.
Finance::Quote is now available on CPAN.
(read more...)
Advogato
Well, I've gone from Apprentice, down to Observer, and now
I'm up to Journeyer. At least I can post comments now, and
that makes me happy. Thanks to everyone who's been taking
the time to certify me.
Rockclimbing
Went rockclimbing today with Ian, Ben and Daniel. It's good
to be well enough to go climbing again, as I haven't been
for some time. I climbed a few new walls until my tummy
started hurting whenever I used upper-body strength. I hope
this isn't the first sign of a herina (spel?).
Sofie (Ian's SO) has had her operation and is now allowed to
drink alochol again. She's planning on getting pished next
week. It should be fun. She has a little jar of what the
doctors pulled from her when she was under the knife. The
results look like little green teeth. I'm sure this will be
a great conversation piece for her in the years to come.
We had mexican afterwards (the traditional food of
rockclimbers everywhere), and I brought some back for
Jacinta, who's caught my cold. She seems a lot better now,
although I worry that she's read too many Larry Wall quotes
for her own good.
Work
None, because it's been a weekend. However, my work account
does get my e-mail, and I don't seem to have been getting
many recently in my mailbox. I have been getting
errors from fetchmail about POP3 failing. I'm not happy.
My outgoing e-mail seems to be fine.
Finance::Quote/GnuCash
Brent's
patch for Finance::Quote has found it's way into GnuCash. I
should probably e-mail him and let him know.
Mojotoad
has also released a perl module to fetch historical quotes
and looks like he's thinking of adding it to GnuCash. This
is a Good Thing.
Played with PAUSE (Perl Author's Upload Server) a
little, although I'm still not used to it yet. I'm sure
I'll manuver Finance::Quote onto CPAN soon. :)
(read more...)