Thomas Klausner - domm

Chopping UTF-8

2024-06-04, Perl

While researching a very weird bug0 in Koha I had to figure out a way chop a string to a specific maximum length. In bytes and not in characters, because in that case the horrible format USMARC is used, whose spec starts with two red flags: It's from January 2000, and it's an "implementation of the American national standard", so you can bet that ...
more ]

Picture of the Day: Hegemony, 2024-06-02

Code Nuggets - Perl: Schwartzian Transform

2024-05-15, Talks

I was invited to talk about a nice Perl code nugget at the new Code Nugget Meetup. I decided to show the old but still nice Schwartzian Transform: Slides ...
more ]

Explicit vs Implicit Hooks

2024-04-22, Perl

At the Koha Hackfest I had several discussions with various colleagues about how to improve the way plugins and hooks are implemented in Koha. I have worked with and implemented various different systems in my ~25 years of Perl, so I have some opinions on this topic. What are Hooks and Plugins? When you have some generic piece of code (eg a ...
more ]

Things I learned at the Koha Hackfest in Marseille

2024-04-19, Perl

Last week we (aka HKS3) attended the Koha Hackfest in Marseille, hosted by BibLibre. The hackfest is a yearly meeting of Koha developers and other interested parties, taking place since ~10 years in Marseille. For me, it was the first time! Things I learned (and other notes) While I still don't like traveling by plane, the route Vienna - ...
more ]