I'm so glad I'm writing the solutions in both #nim and Python because I tend to find ways to improve the Python solution with the Nim one and vice versa. Today was one of those days. The biggest thing I learned though is that solving these damned puzzles exhausted will never lead to good things quality-wise.
Solution:
"Finnish Town Pioneers Renewable Energy Storage Solutions with World’s Largest Sand Battery"
#Finland #Energy #Renewables
ChatGPT head says screenshots of ChatGPT ads are "either not real or not ads"; OpenAI's research head says "anything that feels like an ad" is now turned off (Matthias Bastian/The Decoder)
https://the-decoder.com/openai-insists
Inflection Risk Solutions provides false information when employers seek background checks on prospective new hires.
I know because I was a victim of their criminal negligence. I got my class action settlement check this week.
FUCK Inflection Risk Solutions, for all the opportunities they cost me, and everyone else who was erroneously listed as a criminal sex offender.
weekly climate solutions digest #8! https://www.forpeopleandpla.net/weekly-climate-solutions-digest-8/
Once I pulled my head out of my ass this wasn't horrible. Part 1 was straightforward, decided to do some set stuff and managed to get it right the first time. Part 2 made my brain hurt a bit because all of the ideas that came to me were very, very slow and memory intensive. Then decided to scrap it and just do what the directions told me to do: count the paths...so I replaced the dumb with a dictionary which was so much better as an idea.
Solution:
This one took a smidge more thought as I can't abuse `zip` to rotate 2D sequences. However, just rewrote the rotation as a proc and used that. Instead of `reduce`, it was all `foldl`, and I fought with `char` vs `string` due to some of the processing operations between the normal and cephalopod problem processing.
Overall, definitely a fun solve.
Solution:
A quick comparison using `hyperfine` for some benchmarking on the #adventofcode 2025 Day 1 solution. Not too shabby for any of the solutions, and its interesting to compare them.
#rust #nim
This took waaaay too long because I kept overlooking a glaring mistake at the range reduction algorithm, but once I saw it things went much more smoothly.
The #nim solution actually optimizes the range reduction step and comes in under a millisecond to execute which was nice.
Solution:
This one was disturbingly easy for Part 1, then got more fun on Part 2. The name of the game is rotations, and rotating the input was the key to getting it done without too much bother.
Solution: https://git.jamesthebard.net/jweatherly/advent-of-co…