Just saw this community and it looks cool even though I’m probably not capable of solving most of the puzzles. But having looked through the community, I can only really find solution threads. Where are the actual puzzles posted so I can give it a go?
https://adventofcode.com/2023 The first question is public, login to get your test data and submit your answers and unlock part 2.
I have hacked together the ugliest of solutions and got my two stars but at what price?
genuinely dont understand why people spend their christmas doing extra unpaid work
I’m curious how many programmers encounter these sort of silly challenges during work.
It’s as much work as crosswords are for linguists from my point of view. It’s just a fun brain teaser, and a good excuse to try out new languages.
Doing puzzles with friends is better than doing puzzles (or, god forbid, monopoly) with family.
fair enough I find if I make programming a hobby as well as a job I burnout and implode
unpaid work
This is like whining that a journalist doing a crossword puzzle is “unpaid work” because they use words at their day job.
None of these puzzles are remotely like actual work. It’s for fun. Can’t you just have fun for a couple hours?
I think I just don’t understand how people can have their hobby be related to their work without imploding. I had a cousin who became a proffessional chef and he cooked for fun. That job almost overwhelmed him because he had no escape from its stresses.
I would worry about that happening to me with coding
My solution was worse than most: replace one -> one1one You are only going to do the replace all for each number and if the “e” is also in eight it is still there for the next set of replace.
A better quick and dirty solution from Mastodon was to just add the common character first: twone -> twoone
The problem is that 21 is not the only problematic combination.
That’s an esthetic abomination, but very clever
I just check every substring haha