I have been having some fun.
I use the word fun purely in the sardonic sense.
I had a little problem.
I use the word little in the trivial sense.
I have been using my Kindle on a daily/nightly basis. As a result I have been fairly hammering my reading list. I no longer have to ration myself in case I run out of books, because of course that isn’t a problem any more. The problem now is that I can’t remember all the authors I have enjoyed in the past, and can no longer just browse the library shelves.
The library does have a neat function in their on-line thingy: I can download a list of all the books I have borrowed in the past. However, this list includes all sorts of shit such as the location of every copy in every library in the country along with information on the publisher and stuff like that. The list is huge and if I were to print it off it would give me 146 pages of mostly crap.
Now the thought crossed my mind that it should be a simple enough job to write a little program to sort the wheat from the chaff. Basically all I was looking for was a list of my authors and preferably a list of books by each author. No sweat? After all, in the past I have written an entire e-commerce website from scratch for a major Irish company [in the days before WordPress] and also wrote a whole series of programmes to extract the Anna Raccoon information from a load of different types of file into one database. Manipulating one little file should be easy peasy?
I had forgotten how to code!
Fuck me but I had to look up every single command and function to remind myself how things work. It was like writing a story where I had to look up every word in the dictionary. My head was in a mess. I had forgotten everything even down to the most basic level.
I managed it in the end after a major struggle. It’s just a wee program with a mere 30 lines of code but it took a lot of sweat. The output has reduced my printout from 146 pages to just 4, with a simple list of each author and their books.
This growing old lark brings new challenges every day.