this post was submitted on 01 Dec 2023
18 points (100.0% liked)
NotAwfulTech
384 readers
1 users here now
a community for posting cool tech news you don’t want to sneer at
non-awfulness of tech is not required or else we wouldn’t have any posts
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Back to a more straightfoward day, do they make them harder on the weekends?
Day 4 Scratchcards
Part 1
Very suited to JQ, extra trick learned using:
[ match("\\d+"; "g").string | tonumber ]
as a parse all ints in line.Part 2
Not too much of an edit compared to part one, being able to easily do operations on range of indices is convenient.
Historically problems on Sat/Sun have been more challenging than weekdays. However given that the first 7 days are usually “warmup” problems, I’d say this years edition of AoC is more challenging than at least since 2019.
I liked today's puzzle. It was meaty but not frustrating.