@email@example.com Great now I can start using twtxt and reply.
@firstname.lastname@example.org What are you stuck on? 🤔
@email@example.com Yes it does ! 😁
literally cannot get past day one. what’s the trick?
@firstname.lastname@example.org Does putting the hash in my reply work?
@email@example.com At the very least you can copy/paste the subject and hash in your reply 😆
@firstname.lastname@example.org @email@example.com Don’t think I can reply to the thread in twtwt. Right now Jenny is not working for some reason. I wonder if @firstname.lastname@example.org has any ideas. Anyway I am happy to be back and will see if I can get jenny working. Though my following list is gone now. Plus I can’t see when someone mentions me if I am not follwing them so I should work on that.
@email@example.com Welcome back buddy! 🤗
@firstname.lastname@example.org if you do see this.. Welcome back! 👋🏼
I am back on twtxt for now. I am using twtwt client. Don’t think that it does replies so I should try jenny with mutt again.
This day one advantage of code was pretty neat looking.
Ahh I see how someone did it.
I could have made my search smarter using a prefix search rather than scanning the full buffer for each iteration.
@email@example.com haha! I’m sure they had fun working around stuff like
@firstname.lastname@example.org Dang. Really going overboard with this!
@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.
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. 🤣
@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 😅
@email@example.com Yours is more clever and cleaner, I think. 🤔 You were able to reuse more code for the second part. I, instead, wrote a different search logic for part 2. 😅
@firstname.lastname@example.org Hah looks like your logic is quite similar to mine actually and we wrote similar amounts of lines of code 🤔
@email@example.com Nice! 👌 But you still beat me 😆
@firstname.lastname@example.org Oh boy, that’s too hot, I’m not gonna trade you. :-D
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.
@email@example.com Meanwhile we’re sitting outside in 28C 🥵 ‘Twas a top of 34 😱
@firstname.lastname@example.org I’m pretty sure it’s experience from doing past AoC puzzles 😅
@email@example.com I don’t even think I notice 😅
@firstname.lastname@example.org 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 🤣
@email@example.com Don’t worry, plenty of time to catch up 😅
@firstname.lastname@example.org now i just need to actually start solving the problems lol
@email@example.com Oof, it’s already getting a bit tricky. 😬
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 👌
@firstname.lastname@example.org All I can say is: My client didn’t report any errors. :-) (Does that mean anything? 😅)
@email@example.com Ah, you went with the “scanning” approach as well. I did that, too.
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 …)
@firstname.lastname@example.org Interesting 🤔 I mean I only wrote ~3x more code, not too bad considering:
$ wc -l day2*.go 270 day2.go 69 day2_test.go 339 total
My code is here. https://git.sour.is/xuu/advent-of-code-2023
@email@example.com Yeah or in my case a lot of
strings.Split() because I hand-built a custom parser 🤣
Day 2 used lots of Cut and Split.
Oof. Its quite everywhere here in my area. Hope its not too bad there.
@firstname.lastname@example.org Actually my wife and I are fine so far 🤞 Maybe we’ll get lucky and not catch the nasty shit™ ?! 🤣
joining the twtxt aoc leaderboard..
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.
@email@example.com Oh crap, hope you get well soon!
@firstname.lastname@example.org Ta! Of course this happens after I got a second battery for the camera. Maybe I gotta have to bring it to a photo shop. Probably costs me a fortune.
Hope you all are doing well :)