@movq@www.uninformativ.de 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 ๐
@movq@www.uninformativ.de Hah looks like your logic is quite similar to mine actually and we wrote similar amounts of lines of code ๐ค
@movq@www.uninformativ.de Nice! ๐ But you still beat me ๐
@lyse@lyse.isobeef.org Meanwhile weโre sitting outside in 28C ๐ฅต โTwas a top of 34 ๐ฑ
Current #AdventOfCode #2023 Twtxt/Yarn Leaderboard
@movq@www.uninformativ.de Iโm pretty sure itโs experience from doing past AoC puzzles ๐
@movq@www.uninformativ.de I donโt even think I notice ๐
@movq@www.uninformativ.de 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 ๐คฃ
@shreyan@twtxt.net Donโt worry, plenty of time to catch up ๐
@movq@www.uninformativ.de @taigrr@ndl.taigrr.com again, I dunno how you both beat me ๐คฃ But well done! ๐ Did I write too much code again? ๐
Day 3, Part 1 and Day 3, Part 2 of #AdventOfCode #2023 done ๐ฅณ โ My solution isnโt very efficient though ๐คฆโโ๏ธ But itโll do ๐คฃ
Day 3 of #AdventOfCode puzzle ๐
Letโs go! ๐คฃ
Come join us! ๐ค
๐ Hey you Twtxters/Yarners ๐ Letโs get a Advent of Code leaderboard going!
Join with
1093404-315fafb8
and please use your usual Twtxt feed alias/name ๐
@xuu@txt.sour.is 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
@xuu@txt.sour.is Yeah or in my case a lot of strings.TrimSpace()
and strings.Split()
because I hand-built a custom parser ๐คฃ
@lyse@lyse.isobeef.org Actually my wife and I are fine so far ๐ค Maybe weโll get lucky and not catch the nasty shitโข ?! ๐คฃ
@shreyan@twtxt.net Nice! ๐ Welcome! ๐ค
@slashdot@feeds.twtxt.net BahahahahahahahHah
alecthomas/participle: A parser library for Go This is a pretty interesting library for parsing data into structs ๐ค
Admittedly I could have use regex to parse those lines into the structures I needed, but oh well ๐ Sometimes i hate regex ๐คฃ
@movq@www.uninformativ.de Haha ๐คฃ I guess Iโm aiming for โif this were real, how would I approach itโ ๐
Current #AdventOfCode Twtxt/Yarn Leaderboard
Day 2, Part 1 and Day 2, Part 2 of #AdvenOfCode all done and dusted ๐
Welcome @movq@www.uninformativ.de and @taigrr@ndl.taigrr.com ๐ I dunno how you guys are doing these so far, but it took me ~2hrs to get Day 2 done ๐คฃ Maybe I wrote too much code ๐
~22h to go for the 3rd #AdventOfCode puzzle (Day 3) ๐
Come join us!
๐ Hey you Twtxters/Yarners ๐ Letโs get a Advent of Code leaderboard going!
Join with
1093404-315fafb8
and please use your usual Twtxt feed alias/name ๐
@movq@www.uninformativ.de Itโs honestly not much better in Go really, but thatโs just par for the course with lower-level languages with type safety ๐คฃ
@movq@www.uninformativ.de Yeah ๐ข
@movq@www.uninformativ.de It was perfect ๐
@movq@www.uninformativ.de I honestly think the video demo is actually pretty cool ๐ It brings back so many memories ๐คฃ
@movq@www.uninformativ.de Very likely from our daughter, whom probably got it from school! So far we (the parents) havenโt got any symptoms yet, but itโs only a matter of time I guess ๐ข
@movq@www.uninformativ.de That will be very cool to see! Especially if you publish the solutions and demos ๐
@movq@www.uninformativ.de LOL ๐คฃ To be fair though, during the work-week Iโm unable to get to the puzzle quick enough ๐คฃ
Just ~1h5m to go for the 2nd #AdventOfCode puzzle (Day 2) ๐
Come join us!
๐ Hey you Twtxters/Yarners ๐ Letโs get a Advent of Code leaderboard going!
Join with
1093404-315fafb8
and please use your usual Twtxt feed alias/name ๐
Just ~2h55m to go for the 2nd Advent of Code puzzle (Day 2) ๐ Come join us!
๐ Hey you Twtxters/Yarners ๐ Letโs get a Advent of Code leaderboard going!
Join with
1093404-315fafb8
and please use your usual Twtxt feed alias/name ๐
This year for Advent of Code, Iโve decided again to write my AoC 2023 solutions in Go as well as using a more functional-style apporach using the very nice github.com/samber/lo package.
๐ Hey you Twtxters/Yarners ๐ Letโs get a Advent of Code leaderboard going!
Join with 1093404-315fafb8
and please use your usual Twtxt feed alias/name ๐
1093404-315fafb8
and please use your usual Twtxt feed alias/name ๐
@xuu@txt.sour.is But but I beat you to it ๐คฃ https://twtxt.net/twt/cwump6q
Starting Advent of Code today, a day late but oh well ๐
Also going to start a Twtxt/Yarn leaderboard. Join with 1093404-315fafb8
and please use your usual Twtxt feed alias/name ๐
Bah weโve caught COVID again ๐คฏ
@eapl.me@eapl.me Yeah this is/was our first attempt ๐๐ค
@@tilde.club You may want to add a # nick =
to the top of your feed ๐
@lyse@lyse.isobeef.org What?! ๐ฑ Bit that would have taken 25 hours at least? ๐ค
@eapl.me@eapl.me I think we could negotiate something ๐
Letโs talk! What would you ba after in terms of compensation and how much time would you want to devote? You know it would be work on yarnd
, perhaps even saltyd
๐
@eapl.me@eapl.me What about freelancing on some Go projects? ๐
@movq@www.uninformativ.de You ran 100km or walked?! ๐ฎ
Ooops ๐๐
@xuu@txt.sour.is Haha ๐
@slashdot@feeds.twtxt.net I feel like this is a bit of a common pattern? Company builds an awesome product, makes it free for a lot of users, then create additional features and paid plans, makes a tonne of money. But then later decide they need to make more money, so focus on converting the free users to paid users. Hmmm ๐ค Surely this canโt be the only viable business model? ๐ค
@slashdot@feeds.twtxt.net Iโve not gotten any such email ? ๐ค wtf?!