home.social

#aoc2023 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #aoc2023, aggregated by home.social.

fetched live
  1. New Hacking the Grepson podcast episode is out!

    Hacking the Grepson 060: Advent of Code 2023 Wrapup - Part 2

    We finish the remaining days (17-25) in our Advent of Code 2023 Mega Discussion!

    Episode Link: podbean.com/eas/pb-niheh-156de
    Show Feed: feed.podbean.com/hackingthegre
    Show Home: hackingthegrepson.com

    #HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023

  2. New Hacking the Grepson podcast episode is out!

    Hacking the Grepson 060: Advent of Code 2023 Wrapup - Part 2

    We finish the remaining days (17-25) in our Advent of Code 2023 Mega Discussion!

    Episode Link: podbean.com/eas/pb-niheh-156de
    Show Feed: feed.podbean.com/hackingthegre
    Show Home: hackingthegrepson.com

    #HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023

  3. New Hacking the Grepson podcast episode is out!

    Hacking the Grepson 059: Advent of Code 2023 Wrapup - Part 1

    Matt and Mike and a special guest discuss Advent of Code 2023, Days 11 - 16.

    Episode Link: podbean.com/eas/pb-xevqk-155a5
    Show Feed: feed.podbean.com/hackingthegre
    Show Home: hackingthegrepson.com

    #HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023

  4. New Hacking the Grepson podcast episode is out!

    Hacking the Grepson 059: Advent of Code 2023 Wrapup - Part 1

    Matt and Mike and a special guest discuss Advent of Code 2023, Days 11 - 16.

    Episode Link: podbean.com/eas/pb-xevqk-155a5
    Show Feed: feed.podbean.com/hackingthegre
    Show Home: hackingthegrepson.com

    #HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023

  5. New Hacking the Grepson podcast episode is out!

    Hacking the Grepson 058: Advent of Code 2023 - Day 4 to 10

    More discussion about (the now ended) Advent of Code 2023. This time, days 4 through 10.

    Episode Link: podbean.com/eas/pb-af35f-15447
    Show Feed: feed.podbean.com/hackingthegre
    Show Home: hackingthegrepson.com

    #HackingTheGrepson #podcast #programming #development #aoc #aoc2023 #AdventofCode

  6. New Hacking the Grepson podcast episode is out!

    Hacking the Grepson 058: Advent of Code 2023 - Day 4 to 10

    More discussion about (the now ended) Advent of Code 2023. This time, days 4 through 10.

    Episode Link: podbean.com/eas/pb-af35f-15447
    Show Feed: feed.podbean.com/hackingthegre
    Show Home: hackingthegrepson.com

    #HackingTheGrepson #podcast #programming #development #aoc #aoc2023 #AdventofCode

  7. As with all #AdventofCode years, I did not finish #aoc2023. Not even close. I _did_ do better than 2022, so that's something.

    I also built a Ruby on #Rails 7 web app to show off my progress, and will be backfilling it with my progress in previous years...eventually.

    aoc.neb.host

  8. As with all #AdventofCode years, I did not finish #aoc2023. Not even close. I _did_ do better than 2022, so that's something.

    I also built a Ruby on #Rails 7 web app to show off my progress, and will be backfilling it with my progress in previous years...eventually.

    aoc.neb.host

  9. I might be a bit behind, but I've finally completed day 3 of 2023 Advent of Code.

    It's slow going, and at times frustrating, because I’m using it as an opportunity to learn a bit of Rust. But at the same time, it is great fun, because I actually feel like I’m slowly getting more comfortable with Rust.

    #AoC2023 #RustLang

  10. I might be a bit behind, but I've finally completed day 3 of 2023 Advent of Code.

    It's slow going, and at times frustrating, because I’m using it as an opportunity to learn a bit of Rust. But at the same time, it is great fun, because I actually feel like I’m slowly getting more comfortable with Rust.

    #AoC2023 #RustLang

  11. CW: AoC day 24

    Whew, finally got a proper solution for part 2 (ie. not just getting the result from wxMaxima).

    I tried rounding the result – but that got me a number too high by 1 (my solution produced a float ending in .8). Not sure if that’s some numerical precision problem on f64 or the “official” solution uses floor-rounding.

    Anyway, the exercise made me remember some linear algebra and allowed me to learn nalgebra crate basics.

    gitlab.com/silmeth/advent-of-c

    #RustLang #AoC #AdventOfCode #AoC2023

  12. CW: Still catching up with some later AoC puzzles

    So I’ve just solved day 24 part 2… by writing out 9 equations for the first 3 hailstones in #wxMaxima and letting it solve them for me.

    Now I just need to figure out how to write a solver for this kind of equations system myself in #RustLang

    #Maxima #AoC2023 #AdventOfCode2023 #Aoc #AdventOfCode

  13. New Hacking the Grepson podcast episode is out!

    Hacking the Grepson 057: Advent of Code - Day 1 to 3

    Matt and Mike discuss their experiences with Day 1 to 3

    Episode Link: podbean.com/eas/pb-ug8ch-15362
    Show Feed: feed.podbean.com/hackingthegre
    Show Home: hackingthegrepson.com

    #HackingTheGrepson #podcast #programming #development #aoc #aoc2023 #AdventOfCode

  14. New Hacking the Grepson podcast episode is out!

    Hacking the Grepson 057: Advent of Code - Day 1 to 3

    Matt and Mike discuss their experiences with Day 1 to 3

    Episode Link: podbean.com/eas/pb-ug8ch-15362
    Show Feed: feed.podbean.com/hackingthegre
    Show Home: hackingthegrepson.com

    #HackingTheGrepson #podcast #programming #development #aoc #aoc2023 #AdventOfCode

  15. I did it! I thought there’d be a second part of Day 25’s puzzle after all the remaining stars are collected, but there isn’t; all that remains is to press the Big Red Button.

    #AOC2023 is the first #AdventOfCode I’ve completed. Thanks so much,
    @ericwastl!

  16. I did it! I thought there’d be a second part of Day 25’s puzzle after all the remaining stars are collected, but there isn’t; all that remains is to press the Big Red Button.

    #AOC2023 is the first #AdventOfCode I’ve completed. Thanks so much,
    @ericwastl!

  17. Feeling Advent of Code burnout. I’ve 5 stars missing (parts 2 of days 21, 23, 24, and the whole 25th day) and can’t get around to doing any of that.

    (Also honestly I’ve never done any graph algorithms so not even sure how to approach 25th)

    #AdventOfCode #AdventOfCode2023 #AoC #AoC2023

  18. CW: I cheesed AoC day 23 part 1

    I wrote Dijkstra distance-like function, but choosing nodes with longest distances first; and the order of considered candidates with equal distance depends on the internal state of the HashMap (which in #RustLang is randomized). So it’s not guaranteed to actually always find the longest path, but sometimes it does. I ran it ~10 times and chose the largest result. Seems I got lucky (or the input is simple enough).

    #AoC #AoC2023 #AdventOfCode #AdventOfCode2023

  19. The thing I don't like about AoC is that the example inputs are a bit too simple. In this case, my code works fine for both example inputs, but it fails for the actual input which is so big that it's practically impossible to debug to find out what is going on. #aoc #aoc23 #aoc2023

  20. The thing I don't like about AoC is that the example inputs are a bit too simple. In this case, my code works fine for both example inputs, but it fails for the actual input which is so big that it's practically impossible to debug to find out what is going on. #aoc #aoc23 #aoc2023

  21. Advent of Code Day 22 — Sand Slabs

    I almost gave up on this one. Then I started playing around with it in a 3D render package and I found the issue.

    chasingdings.com/2023/12/22/ad

    #AdventOfCode #aoc2023 #babylonjs #jenga #pygame #python

  22. CW: AoC days 20–21

    I failed to solve 2nd parts of those two puzzles myself. I looked at other people’s code/write-ups and I know how to approach them now (and I’ll try to finish them today).

    But I don’t like those puzzles since it’s basically “let’s look at the input and try to get the answer for it specifically” rather than doing a “proper” general solution to the problem as outlined in the puzzle’s description.

    #AdventOfCode #AoC #AdventOfCode2023 #AoC2023

  23. Since the puzzles in #aoc2023 have gotten harder and more involved, I think it's time to go back to trying past years. I only started in 2021, and have since dabbled in years before that, but there's so many puzzles to try still!

    #AdventOfCode #aoc

  24. Since the puzzles in #aoc2023 have gotten harder and more involved, I think it's time to go back to trying past years. I only started in 2021, and have since dabbled in years before that, but there's so many puzzles to try still!

    #AdventOfCode #aoc

  25. Small update on #AdventOfCode progress: my ability to solve puzzles has dwindled quite a bit for Days 11-21, but at the current moment I have *1* more star than last year, and that's progress!

    #aoc #aoc2023

  26. Small update on #AdventOfCode progress: my ability to solve puzzles has dwindled quite a bit for Days 11-21, but at the current moment I have *1* more star than last year, and that's progress!

    #aoc #aoc2023

  27. #aoc2023 has turned into data analysis problems... what happened with the programming?!

  28. CW: Advent of Code day 19 - Rust solution

    Nice puzzle 😃

    I ended up with a lot of code because I wanted to write my custom parser and avoid repeated allocations 😇

    It could have been much less code with the winnow parser 😅

    Time (including parsing):
    Part 1: 16µs
    Part 2: 21µs

    codeberg.org/mo8it/advent-of-c

    #RustLang #Rust #AdventOfCode #AOC2023 #AOC

  29. Advent of Code Day 20 — Pulse Propagation

    First, you find the right answer using pencil and paper. Then, you write code to produce that answer. Right? No? Just me?

    chasingdings.com/2023/12/20/ad

    #AdventOfCode #aoc2023 #circuits #python

  30. CW: Advent of Code day 18 - Rust solution

    I worked on an algorithm for about 1.5 days 💡

    I felt like a mad scientist with my neat algorithm 🤓
    Then I found out that it can be solved more easily using the shoelace formula and Pick's theorem which I didn't know about 😐️
    That made me demotivated for a couple of hours 🥲

    Then I benchmarked my algorithm against the shoelace + Pick method and it turns out that my algorithm is slightly more efficient 🤩

    1/n

    #RustLang #Rust #AdventOfCode #AOC2023 #AOC

  31. I developed an algorithm to solve day 18 in Advent of Code in under 5µs 🤯🚀

    All what I need are two scans of the instructions to deliver the answer!

    This means that the time complexity is O(n) where n is the number of instructions.

    The space complexity is also O(n).

    The implementation is in #Rust :ferris:

    EDIT: I optimized it to use a single scan. It has a constant space complexity now :D
    See fosstodon.org/@mo8it/111608821

    #AdventOfCode #AOC2023 #AOC #RustLang

  32. Today’s #AdventOfCode #AOC2023 part 2 took me a while, but I got a lot of satisfaction out of it. :)

  33. AoC23 be like: “Part 1 works, I think I did a pretty good job at making this efficient”. Part 2: "Nope” #AdventOfCode #aoc2023 #aoc23 #aoc

  34. Well, I wished I knew #Scala PriorityQueue is implemented as _max_ priority queue before wasting a number of hours scratching my head 😭 #aoc2023

  35. CW: Advent of code day 18 spoiler

    I did a brute force flood-fill solution on day 10, but that won't fly today (not without trying, but I got OOM just by allocating the grid).

    Now I learned fantastic things, such as the Picks theorem.

    #aoc #aoc2023

  36. CW: Advent of Code day 16 - Rust solution

    Kind of fun, but too time intensive… ⌛️

    Optimizing it introduced a lot of complexity. It could be easier, but then it wouldn't be efficient.

    Time (including parsing):
    Part 1: 47µs
    Part 2: 6.7ms 😐️

    Part 2 could be parallelized, but I didn't want to spend more time on it 😅

    codeberg.org/mo8it/advent-of-c

    Since I read that day 17 is hard, I will skip it until I find time for it.

    #RustLang #Rust #AdventOfCode #AOC2023 #AOC