• #AdventOfCode day 4: Still very easy in #Perl, first part just checking min/max, for the second part I was too lazy to think of the proper if/or/min/max combis so I just ticked of the contents of the ranges and count a hit if a section was already seen: https://github.com/domm/advent_of_code/blob/main/2022/04_2.pl Abigal has the smart solution here: https://www.reddit.com/r/adventofcode/comments/zc0zta/comment/iyv2bvt/
    2022-12-04 11:59
  • For #AdventOfCode day 3 a very easy solution immedatily formed in my mind, but typing it in #Perl out took a bit longer (~10min). And I still need to find a smarter way to read `<>` and remove the newline... https://github.com/domm/advent_of_code/blob/main/2022/03_2.pl
    2022-12-03 13:38
  • For #AdventOfCode day 2 I just manually precalulated the values for the 9 combinations into a lookup table and then went through the input to calc the sums: https://github.com/domm/advent_of_code/blob/main/2022/02_2.pl
    2022-12-02 08:43
  • Achievement of the day: Reduced size of a docker container from 1.6GB to 258MB
    2022-12-01 17:28
  • Day 1 of #AdventOfCode was (expectably) easy enough to do right before the #Koha D-A-CH Usergroup meeting: https://github.com/domm/advent_of_code/tree/main/2022
    2022-12-01 09:10
  • Currently working on a script to import/migrate a bunch of weird data into an old application of ours, which feels a lot like #AdventOfCode (at about day 10)
    2022-11-29 11:32
  • It seems that my workload in December will be so high that I won't be able to participate in https://adventofcode.com/ :-( Still looking forward to it, and maybe I'll have some time next year.
    2022-11-25 13:08
  • More annoying / hateful than smart: https://garrit.xyz/posts/2022-11-24-smart-move-google Oh, and I've checked this in a private session using Firefox, I did not get the share-location dialog at all
    2022-11-24 12:19
  • TIL: English speakers originally proposed CUT (for "coordinated universal time"), while French speakers proposed TUC (for "temps universel coordonné"). The compromise that emerged was UTC.
    2022-11-23 12:50
  • Implemented a few minor changes to how my blog is built: I can now have RSS feeds per tag, and only write the most recent file (and parents and siblings). Both was very easy to add :-)
    2022-11-11 21:23
  • Wow, just discovered by accident that gitlab will not only render OpenAPI Spec files nicely, but also provide a nice mini-app including auth and sending test reqs to whatever servers are defined in the spec.
    2022-11-07 14:54
  • Ouch: https://www.smbc-comics.com/comic/internet-5
    2022-11-06 20:39
  • Ugh, who came up with this: A field "catgeory" which can include multiple catgegories as one big string, separated by comma; Categories can include commas; so we have easily parsable crap like "Advent und Weihnacht, Blas, Country, Volks- und Weltmusik, Chor, Gospel und Kirchenmusik"
    2022-11-04 13:23
  • TIL: City of Vienna uses "Gauß-Krüger M 34 MGI Austria GK East" aka EPSG 31256 for their geo data: https://digitales.wien.gv.at/open-data/geowebservices/#koordinatensysteme
    2022-11-03 15:16
  • I had a very nice Berlin.pm #Perl meeting yesterday evening (after #pgconfeu) at a cosy Biergarten with an amazing chestnut tree, good food and a slightly strange combination of drinks (Fassbrause because Berlin, Amldudler because I never had it in Germany). Lots of nice chats with old and new friends, discovered that "https://metacpan.org/author/ANDK":ANDK is a big fan of oe1.orf.at, learned about f4map.com and an interesting Critical Mass app (and that there will be a ride today), and finally had a nice bike ride home, escorted by ANDK and sorry-forgot-your-name.
    2022-10-28 08:24
  • My new varifocal glasses (yes, I'm that old) don't work well with the setup in the smaller rooms at #pgconfeu (flat floor and low hanging monitors) because I have to tilt my head to see above the heads in front of me, which results in me viewing through the "near" zone of the multifocals, which makes the slides (which are not near..) hard to read.
    2022-10-27 12:47
  • Currently in Berlin for Postgres Conf EU with lots of attendees (600!) and very few masks...
    2022-10-27 11:46
  • Corona-Vax-Level: 4
    2022-09-18 12:10
  • This looks very interesting: https://github.com/jonasbn/ebirah - pack Dist::Zilla into a docker container #Perl
    2022-09-07 08:25
  • I suffer from latitude/longitude dyslexia.
    2022-08-10 10:18
  • Wasted another 2h of my life with encoding issues, in the end the culprit was that Template::Toolkit INSERT behaves differently than PROCESS. I should really check out that potato farmer job again..
    2022-08-05 13:28
  • "Seriously, imagine if 20 years later the authors of Winnie the Pooh came back with a trilogy of books about how Piglet and Rooh were dragged into a world-ending contest of good versus evil that gave them PTSD and then they got on a boat to heaven-America with a bunch of heffalumps. That’s how LOTR feels to me." - https://featherlessbipeds.substack.com/p/why-didnt-gandalf-own-a-colt-45
    2022-06-28 12:29
  • My stupid OS only comes with git 2.25, so my `git start` alias now looks like this: start = !git init && git commit --allow-empty -m \"Initial commit\" && git branch -M main which lets me use `main` as the default branch name
    2022-06-17 09:57
  • "Everyone has a test environment, not everyone is lucky enough to have a separate production environment." - https://github.com/DavidBrightSparc/Tenets-of-IT
    2022-05-31 11:48
  • Perl 5.36 released, lot's of nice new features: https://metacpan.org/release/RJBS/perl-5.36.0/view/pod/perldelta.pod
    2022-05-28 11:30
  • That's a very weird claim for a mouse: "SCROLL 1,000 LINES PER SECOND" - https://www.logitech.com/en-us/products/mice/mx-master-3s.910-006557.html
    2022-05-24 15:02
  • Nice: I finally managed to set up gmail via offlineimap/mutt/smtp, so I'll never have to user their ugly webmail again!
    2022-05-18 13:43
  • Listening to "Let us play" (Coldcut) again for the first time in years - what a great album!
    2022-05-02 12:32
  • Rechtsstaat & Anti-Korruptionsvolksbegehren: https://antikorruptionsbegehren.at/ - diese Woche unterschreiben, geht ganz easy mit Handysignatur
    2022-05-02 07:42
  • Yes, it does! Yay #Perl (and #SQLite, #git and the rest of the stack...)
    2022-05-01 20:09