2026-02-01 17:51:15
The year is 2026 and I just fixed some broken Perl code. Living in the future, baby.
#perl
“Perl’s early success was its own undoing. It became the default tool for the first web boom, and in doing so, it took the brunt of that era’s chaos. Then, just as it began to mature, its versioning story confused the industry into thinking it had stalled.” #Perl
RE: #PERL to the
I did it guys... i used chatgpt in a productive way.
I've been banging my head against the wall trying to get some perl XPath stuff to work... I asked it a specific question with the XML i had, and what it produced works. And it's reasonably succinct.
I stand ready to be flogged.
#AI #coding #Perl #LLM
#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).
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 agai…