domm

@domm@social.linux.pizza
279 Followers
333 Following
792 Posts
I'm currently spending my time as a father of 2 grown-up sons, Perl hacker who is not afraid to touch other tech (mostly Postgres and vue), sort-of DJ, bicyclist, cook, taker-of-pictures.
Webhttps://domm.plix.at
Githubhttps://github.com/domm
CPANhttps://metacpan.org/author/DOMM
Today, instead of the last day of #AdventOfCode, I will finish our MAB2-to-MARC21 converter (handling depended works), which in fact feels quite similar to working on Advent of Code puzzles.

Be insufferable this holiday season by pointing out to everyone that the Χ in Χmas is a capital χ (chi), the first letter of Χριστός (Khristós), and anyone writing 'xmas' rather than 'χmas; is spelling it wrong.

https://en.wikipedia.org/wiki/Xmas

Xmas - Wikipedia

Now I finished #AdventOfCode Day 8 (I needed to remove some of my tangled-up data structures to get a clear view again...). Still not in the mood for Day 9 part 2.
While I did not even finish part 1 of day 8 of #AdventOfCode (it was a holiday in .at and I had some weird bug which I did not want to spend any more time on), day 9 part 1 was very easy. Part 2 probably needs some smart math, which I'm currently not inclined to think about.
#potd An old tradition: burning sugar with 80% rum, aka Feuerzangenbowle. Only authentic if "Leahkastin" by Mari Boine plays in the background (originally a copied audio cassette, but I've switched to MP3s years ago). https://domm.plix.at/potd/2025-12-06.html
#AdventOfCode Day 6: Part 1 was easy, for part 2 it was obvious what to do (after I read the instructions a few times to figure out what is considered a cephalopod number), but it took me a while to properly rotate my arrays. At least I got to finally use `for my ($i, $val) (indexed @array) { .. }` (which I failed to use (properly) on day 3). #Perl
#AdventOfCode Day 5: My stupid part 1 solution was too slow (because I checked each ingridient instead of compare the ranges). After fixing that it was fast and correct. I have a plan for part 2, but $job to do, so let's see when I get a round tuit (to quote an old #Perl saying).
#AdventOfCode day 4 was quite easy (though my solution is not very performant (1sec))
For day 3 of #AdventOfCode I outsmarted myself by using `each` on an array to get the index and the value, but forgot that #Perl does not reset the counter when you exit the loop early. (It worked for part 1, though..). After switching to a stupid c-style for loop it was easy (because I again avoided my Lattenzaun-weakness with some overly verbose code). https://github.com/domm/advent_of_code/blob/main/2025/03_2.pl
For Day 2 of #AdventOfCode I did a stupid and slow solution for part 1 and an even slower and extremly stupid solution for part 2 (using autogenerated and some handcrafted(!) regex).
×
#potd An old tradition: burning sugar with 80% rum, aka Feuerzangenbowle. Only authentic if "Leahkastin" by Mari Boine plays in the background (originally a copied audio cassette, but I've switched to MP3s years ago). https://domm.plix.at/potd/2025-12-06.html