Daniel Terhorst-North · @tastapod
2546 followers · 166 posts · Server mastodon.social

Solving day 15 in with An Algorithm I Found on the Internet™ runs in 1700ms. Simplified based on the specific case (biggish change) -> 900ms. Split work into goroutines (easy) -> 300ms. Moved array allocation out of loop (easiest) -> 170ms. That'll do!

#adventofcode2022 #golang

Last updated 2 years ago

Sir Jelle · @SirJelle
287 followers · 218 posts · Server mastodon.online
Redfire · @redfire
41 followers · 44 posts · Server mastodon.online

My To-Do list has grown so much in December, but I haven't actually managed to do anything.

Rough To-Do list for January and February (in no particular order):
1. Spiderfire Rewrite Merge + Lots of Documentation
2. Upgrade to Iced 0.5 for die-yield-calculator
3. Finish Day 21 to 25 of
4. Try SvelteKit out for silicon.redfire.dev/ (Currently using Gatsby)
5. Improve the UI and UX of a (private) GUI software
6. Learn some HDL, either Verilog or (higher-level) Chisel

#adventofcode2022

Last updated 2 years ago

Sir Jelle · @SirJelle
285 followers · 207 posts · Server mastodon.online

My solution for day 18...
Solved by refactoring Dijkstra-algorithm from day 12 to count where all empty spots in a path in an enclosing cube, starting outside the droplet, have sides touching the droplet. Part 2 in 1,5 sec.

github.com/sukes13/adventOfCod

#kotlin #adventofcode2022

Last updated 2 years ago

Sir Jelle · @SirJelle
285 followers · 207 posts · Server mastodon.online

My solution for day 17...
Solved by using a tower of lists of booleans. Solved part 2 by looking for a pattern and using that to calculate the total height after 1 trillions rocks. Part 2 in < 100ms

github.com/sukes13/adventOfCod

#kotlin #adventofcode2022

Last updated 2 years ago

po̊lættïx · @polettix
47 followers · 1217 posts · Server octodon.social

/19 reddit.com/r/adventofcode/comm - with a little help from .

In hindsight, it was not that hard. But... hindsight is 20/20.

#rakulang #adventofcode2022 #perl

Last updated 2 years ago

Anisse :unverified: · @aissen
273 followers · 379 posts · Server octodon.social
po̊lættïx · @polettix
47 followers · 1214 posts · Server octodon.social

I finally made it to the end... with a little help from (@Perl), day 19 was very hard and I wanted to address it with something I feel a bit more confident with!

#adventofcode2022 #rakulang #perl

Last updated 2 years ago

Hiromasa Kato · @butakun74
12 followers · 71 posts · Server mstdn.social

working on the last problem of the year. after having skied all day at

#Norway #trysil #adventofcode2022 #adventofcode

Last updated 2 years ago

Jari Komppa 🇫🇮 · @sol_hsa
221 followers · 351 posts · Server mastodon.online

That's it for Advent of Code gifs from me for this year.
If you want to check them all out, they're all here: cohost.org/sol-hsa

#wtfbbq #hashtag #motiongraphics #visualization #animation #gif #adventofcode2022 #adventofcode

Last updated 2 years ago

Jon Williams · @shovemedia
24 followers · 127 posts · Server triangletoot.party

meta post-game thoughts:
I’d hoped to solve all the puzzles, but I’m glad they were hard enough to provide a challenge. Proud of myself for giving it a shot every day and not giving up. Apologies for nerd-sniping a couple friends who had other things they needed to be spending time on.

#adventofcode2022

Last updated 2 years ago

Jon Williams · @shovemedia
24 followers · 126 posts · Server triangletoot.party

coded up the snafu-to-decimal function with no problem. Did the final decimal-to-snafu in my head after struggling to code it for a bit. That gave the correct answer for part 1, leaving me at 40 stars – 9 short of what I need for the part 2 reveal 😩

#adventofcode2022

Last updated 2 years ago

Anisse :unverified: · @aissen
270 followers · 373 posts · Server octodon.social

- day 16: I really struggled with those dual-elephant valves, and finished it multiple days later. I had to rewrite my solution to be much simpler after reading how others did it.
- day 19: again, the part 2 here was quite complex and I would have struggled much longer without a colleague's tip on how to cut branches (which was very obvious in retrospect, but hey, hindsight is 20/20)
- day 22: making and rotating that cube was fun but cumbersome. Lots of inputting with my solution. Wondering if I shouldn't have hard coded the 7 cube edges for speed.
- day 18: I missed the obvious flood fill for part 2, so I iterated over the adjacent cube surfaces and counted those. Oops.
- day 20: that circular list should have been trivial, but I had to rewrite my working part 1 solution because it did not pass a test. But the test did not take the circularity into account, so the code was correct ! So in the end I had two different but correct solutions for something that should have been a relatively simple to solve.

#adventofcode2022

Last updated 2 years ago

Jari Komppa 🇫🇮 · @sol_hsa
219 followers · 341 posts · Server mastodon.online
Jon Williams · @shovemedia
23 followers · 122 posts · Server triangletoot.party

I read the puzzle description this morning and closed my laptop. Feel like the correct approach here is to nail puzzle 16, then 19, then 24. I’d gone back to number 16 last night, and found a flaw in my distance function but didn’t manage to fix it.

#adventofcode2022

Last updated 2 years ago

Jari Komppa 🇫🇮 · @sol_hsa
219 followers · 341 posts · Server mastodon.online
Jon Williams · @shovemedia
23 followers · 116 posts · Server triangletoot.party

found a couple run-of-the-mill common “oops” bugs plus one “maybe you should re-read the instructions “bug”. Part 2 way simpler than most days

39/46 stars

#adventofcode2022

Last updated 2 years ago

Jon Williams · @shovemedia
23 followers · 115 posts · Server triangletoot.party

Another puzzle that *should* be easy but I’ve got a bug somewhere and I’m not getting the expected output past the first iteration. I think I’ll get this one eventually 😅

#adventofcode2022

Last updated 2 years ago

Heute gibt es Teil 2 vom Advent of Code Spezial Stream. 4 Aufgaben 4 unterschiedliche Programmiersprachen! Sei dabei ->  twitch.tv/reinventorofwheel​​​

#twitch #twitchde #twitchdeutschland #streamer #smallstreamer #adventofcode #adventofcode2022

Last updated 2 years ago

po̊lættïx · @polettix
47 followers · 1204 posts · Server octodon.social

/23 reddit.com/r/adventofcode/comm

More relaxing than previous days, I'm really worrying about tomorrow.

And yes, I still have to solve day 19!

#adventofcode2022 #rakulang

Last updated 2 years ago