Jeremy
banner
je12emy.bsky.social
Jeremy
@je12emy.bsky.social
Software Engineer
I was kinda lucky with my input, though. Getting ready for day 4, I'm still a bit behind.
a cartoon character is standing on a rock with his fist up in the air
ALT: a cartoon character is standing on a rock with his fist up in the air
media.tenor.com
December 8, 2024 at 8:41 PM
In my solution, I first extracted what I considered “enabled” commands, so, anything between a “do” and “don't”. I then retrieved the last possible command, "don't" until the end of the input and retrieved the enabled chunks.
December 8, 2024 at 8:38 PM
I'm finally done with part 2!

#aoc
December 8, 2024 at 8:36 PM
Shout out to Luke Smith's tutorial, I wonder where he is now

www.youtube.com/watch?v=77I4...
Regular Expressions (Regex): All the Basics
YouTube video by Luke Smith
www.youtube.com
December 5, 2024 at 4:08 PM
Code screenshots look kinda bat, maybe a GitHub gist would be better? Repo coming soon I guess.
December 5, 2024 at 4:26 AM
Here are my tests. I was doing most of my coding in nvim, but I had to switch to Rider in order to nicely debug each one.

So glad that Rider is now free for noncommercial use, thank you, @jetbrains.com !
December 5, 2024 at 4:24 AM
Part 2 is done. I'm actually happy with this one. The test input outputted the correct result, so I had to write as many tests as possible to figure out the edge cases.

#aoc
December 5, 2024 at 4:22 AM
Ok, part 1 was so bad, I couldn't even think about working on part 2.

Here is revised part 1.
December 4, 2024 at 4:04 AM
I'll gave to learn to comfigure NGINX, I wanted a more hand-off approach with frankenphp. I'll take my time with NGINX
December 2, 2024 at 1:42 AM
Thankfully, sorting wouldn't have caused trouble in part 2, but I should be careful with mutating the original array.
December 1, 2024 at 7:07 AM
I know there's mini.files, but give oil.nvim a try.
Do let us know how it went, I'm also interested on mini.
November 29, 2024 at 3:04 AM
I wish single-spa would migrate to Vite 😢...
November 28, 2024 at 3:00 AM