(#s7b6peq) That second photo is from our local pond. See all those tracks in the snow? Those are from the ducks and the other birds that stayed here.
This video is from a couple of days ago – just frozen, no snow yet:
(#zkjovca) @firstname.lastname@example.org I can try to explain, if you want to know. 😅 Or maybe this guy’s visualization will help (if you can see it, not sure): https://old.reddit.com/r/adventofcode/comments/18af47j/2023_day_4_scratchcard_counting/
A couple centimeters of snow today. 😊 And I’ve got a loooooooong vacation coming up. Time to relax. 😃
This is my favorite time of the year – by far. Even if it means the snow will freeze in my beard. 😂
Today’s puzzle was one of those where I immediately knew that there must be a solution that does not require actually copying anything. AoC often has these kinds of problems that make it look like you have to create lots of duplicates, multiply objects, stuff like that. That’s often a sign that you can solve it by doing something simple. 😅 (If only that was true in real life as well. 😂)
Today’s #AdventofCode #2023 was a bit of a whoozie 🤣 Not only did I have to work today (today being Monday et all), but also had to deal with a minor incident, then have dinner, etc and by the time I got back to my half-finished day 4 puzzle, I got a bit stuck with the 2nd part 🤦♂️ I guess I don’t really like array manipulation, it’s so easy to get lost 🤣
My solution to the 2nd part is really, really slow 😢 But it works so oh well 🤷♂️
This day one advantage of code was pretty neat looking.
(#msw64qq) Ahh I see how someone did it.
(#6oq4ywq) I could have made my search smarter using a prefix search rather than scanning the full buffer for each iteration.
@email@example.com I didn’t have to do much backtracking. I parsed into an AST-ish table and then just needed some lookups.
The part 2 was pretty easy to work into the AST after.
(#qwm7hha) A little “visualization” / “progress bar” of day 3 part 2:
Running in a DOS box under OS/2 Warp 4, including some of OS/2’s silly sound effects. 🤣
(#apnoyca) @firstname.lastname@example.org Hah 😅 Hmm 🤔 Yeah all I had to do in the 2nd part was store the YX coordinate of the Symbol for the part, then transpose all the parts into a map of
SymbolYX -> Part(s) Note that I call it
YX and not
XY because the usual way of dealing with this in code, is rows first, then columns, ro Y then X 😅
I messed up on the date. That’s the corrected link: https://lyse.isobeef.org/morgensonne-2023-12-03/
Did I write too much code again? 😅
I don’t know. 😅 My solution is rather long as well:
Still happily runs on DOS.
(#qwm7hha) @email@example.com Yeah! Tell me about it. Grid searching, looking around, backtracking uggh I hate this stuff, this is why I’m not really a true Software Engineer, because in reality you almost never write this stuff yourself from scratch 🤣
Day 3 of #AdventOfCode puzzle 😅
Let’s go! 🤣
Come join us! 🤗
👋 Hey you Twtxters/Yarners 👋 Let’s get a Advent of Code leaderboard going!
1093404-315fafb8and please use your usual Twtxt feed alias/name 👌
It’s quite surprising to see (imho) how many people on reddit started substituting strings (
1 etc.). That makes the puzzle much harder by introducing nasty corner cases.
(Maybe I was just lucky this time to pick the correct approach right from the start. 🤣 Or maybe it’s a bit of experience from doing past AoC events …)
$ wc -l day2*.go 270 day2.go 69 day2_test.go 339 total
(#wg7xx5q) Day 2 used lots of Cut and Split.
(#mldneoa) Oof. Its quite everywhere here in my area. Hope its not too bad there.
I rotated June to September into their own archive feeds. I hope I didn’t mess up. There’s still one or the other manual step involved. I should write a few tests and automate it fully. It might also be a good idea to write a validator program which can check all the feeds for consistency.