home.social

#aoc2024 — Public Fediverse posts

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

fetched live
  1. During this week's Data Science team CPD session I realised that a bit of old R code I wrote could be streamlined, and the base R to Python Polars comparison continued.

    jimgar.github.io/posts/cpd-jul

    #rStats #Python #Polars #AoC2024

  2. During this week's Data Science team CPD session I realised that a bit of old R code I wrote could be streamlined, and the base R to Python Polars comparison continued.

    jimgar.github.io/posts/cpd-jul

    #rStats #Python #Polars #AoC2024

  3. Joe Marshall started a blog post series about solving the 2024 Advent of Code problems in Common Lisp. Why now? Some of his motivations:

    "I wanted to take my time and focus on code quality rather than on how fast I can write it."

    [...]

    "I want to show how to effectively use the rich set of Common Lisp library functions to write concise, readable, and efficient code."

    funcall.blogspot.com/search/la

  4. Want to (at least) end up with all part1s done. (Not unexpectedly) Day21 is giving me heart-burn. Com’on Roland … you can do it … #scala #aoc2024

  5. I didn’t manage to wrap up #AdventOfCode #AOC2024 before Christmas, so I’m filling in the gaps. With style. #clojure

  6. I didn’t manage to wrap up #AdventOfCode #AOC2024 before Christmas, so I’m filling in the gaps. With style. #clojure

  7. Advent of Code with Deno is over!

    Thanks to all who have participated. If we haven't contacted you about stickers, then please let us know (or email [email protected]).

    Finally, one lucky winner will get the elite, special edition, hyper exclusive Deno sticker. (Here's Phil seeing it for the first time.)

    More details 👇️
    deno.com/blog/advent-of-code-2

  8. Advent of Code with Deno is over!

    Thanks to all who have participated. If we haven't contacted you about stickers, then please let us know (or email [email protected]).

    Finally, one lucky winner will get the elite, special edition, hyper exclusive Deno sticker. (Here's Phil seeing it for the first time.)

    More details 👇️
    deno.com/blog/advent-of-code-2

    #deno #AOC2024 #aoc #nodejs #javascript #typescript #webdevelopment

  9. Finally got to doing 25th day of #AdventOfCode today and thus collected all 50 stars of this year. 🎉

    Now I just need to get back to day 24 and write a proper solution (as I only did it partly in code, partly eye-balling and manually composing the answer; I used not-so-AI, I guess).

    My Rusty solutions: gitlab.com/silmeth/advent-of-c

    #AdventOfCode2024 #AOC2024 #RustLang #Rust

  10. CW: AOC 2024 day 24

    I just completed "Crossed Wires" - Day 24 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/24

    Got back to #AoC2024 yesterday after Christmas. Part 2 of day 24 took me quite a while… and I still don’t have the code that’d do it automatically. I have only code that detects which bit paths are wrong (so I know which outputs I need to check) and then I manually found the wires in said outputs…

    Now off to doing day 25, and in the meantime I’ll think on how to automate 24.2.

  11. There, I solved day 24 (github.com/Balise42/AoC2024/bl), including a non-zero part by hand, and I had solved day 25 (github.com/Balise42/AoC2024/bl) yesterday, so that's another year done, and 500 stars in total :)

    #dart #AdventOfCode #AoC2024

  12. On a nerdier note, my #adventofcode repo powers a GitHub Actions workflow which auto-updates my number of #AoC2024 stars in the README.md. 🤓

    github.com/fxnn/adventofcode20

  13. On a nerdier note, my #adventofcode repo powers a GitHub Actions workflow which auto-updates my number of #AoC2024 stars in the README.md. 🤓

    github.com/fxnn/adventofcode20

  14. Some review/recap/stats on this year's #adventofcode #aoc2024

    - Programming language: Rust
    - Number of parts 1 completed on the day: 24/25
    - Number of parts 2 completed on the day: 20/25
    - Libraries used: regex, rayon, rustc-hash, itertools, num.
    - Number of days where parallelisation was used: 9/25.
    - Fastest solution: 7 us
    - Slowest solution: 319 ms

  15. Some review/recap/stats on this year's #adventofcode #aoc2024

    - Programming language: Rust
    - Number of parts 1 completed on the day: 24/25
    - Number of parts 2 completed on the day: 20/25
    - Libraries used: regex, rayon, rustc-hash, itertools, num.
    - Number of days where parallelisation was used: 9/25.
    - Fastest solution: 7 us
    - Slowest solution: 319 ms

  16. #AdventOfCode 2024 day 25, in #RustLang.

    And that's a wrap! All of the #AOC2024 done! And I even finished on the 25th! This was a remarkably easy challenge for the final day. I never completed a full AOC while it was running, so this is pretty exciting. Looking forward to the future years!

    github.com/teotwaki/aoc/blob/m

  17. #AdventOfCode 2024 day 25, in #RustLang.

    And that's a wrap! All of the #AOC2024 done! And I even finished on the 25th! This was a remarkably easy challenge for the final day. I never completed a full AOC while it was running, so this is pretty exciting. Looking forward to the future years!

    github.com/teotwaki/aoc/blob/m

  18. #AdventOfCode 2024 day 24, in #RustLang.

    This is the first time I solved an issue on paper alone, without writing code for it. Well, I wrote a lot of code for part 2, but none of it worked. Part 1 was trivial, though.

    github.com/teotwaki/aoc/blob/m

    #AOC2024

  19. #AdventOfCode 2024 day 24, in #RustLang.

    This is the first time I solved an issue on paper alone, without writing code for it. Well, I wrote a lot of code for part 2, but none of it worked. Part 1 was trivial, though.

    github.com/teotwaki/aoc/blob/m

    #AOC2024

  20. #AdventOfCode 2024 day 23, in #RustLang.

    Seems I forgot to post about the last few days. Not my cleanest code, but I'm happy with the results.

    github.com/teotwaki/aoc/blob/m

    #AOC2024

  21. #AdventOfCode 2024 day 23, in #RustLang.

    Seems I forgot to post about the last few days. Not my cleanest code, but I'm happy with the results.

    github.com/teotwaki/aoc/blob/m

    #AOC2024

  22. I have solved my nemesis for this year, namely 21b: github.com/Balise42/AoC2024/bl

    And my solution executes more or less instantly, which feels nice, considering the amount of "let's try and wait for 10 minutes and oh look it OOM'd" I got on this problem :D

    But I kept trying and I kept progressing until I found the last insight and that actually feels good.

    #AdventOfCode #AoC2024 #dart

  23. I have solved my nemesis for this year, namely 21b: github.com/Balise42/AoC2024/bl

    And my solution executes more or less instantly, which feels nice, considering the amount of "let's try and wait for 10 minutes and oh look it OOM'd" I got on this problem :D

    But I kept trying and I kept progressing until I found the last insight and that actually feels good.

    #AdventOfCode #AoC2024 #dart

  24. #AdventOfCode 2024 day 22, in #RustLang.

    Man, I am continuously astonished with the elegant complexity that AoC manages to find in these challenges. I'm sure I'll read in a few weeks about someone finding a way to do this in under 100us by using a universal constant that factorises all of these numbers or something. In the mean time, I'll take the W, considering my time constraints, and because I'm clocking in at under a millisecond! (for part 1)

    github.com/teotwaki/aoc/blob/m

    #AOC2024

  25. #AdventOfCode 2024 day 21, in #RustLang.

    Okay this was a very tough one to do while driving. So tough I didn't manage yesterday. I did manage to get part 1 done, however part 2 eluded me and I was too tired. Today I found a few minutes to finish it. 8 and 17us for each part respectively is a result I'm happy with! (Picture is from an earlier version of the code until I decided to hardcode the movements)

    github.com/teotwaki/aoc/blob/m

    #AOC2024

  26. I have spent more or less the day (apart from making a large batch of Christmas cookies this afternoon :P ) on Advent of Code day 21, I finally got part 1 working... and part 2 blows up, obviously.

    This is probably going to be a "after Christmas" solve, unless we get a much easier problem before then.

    #AdventOfCode #AoC2024

  27. ALL RIGHT, I did get day 17b just now, after spending some hours on it on the train yesterday: github.com/Balise42/AoC2024/bl

    I have no idea what I did, except "look at the data quite intensely, testing things, and suddenly things start to fall into place"... I'm pretty sure I can kiiiind of understand why, but that's very much on the "throw things at it until it sticks" kind of solution.

    I'm going to go and need to look at what other people did :D

    #AdventOfCode #AoC2024 #dart

  28. #AdventOfCode 2024 day 20, in #RustLang.

    This was a fun exercise, not overly challenging considering the past few days. The real challenge, today, was the fact that I'm currently on a road trip across Europe, again. I had to do most of my programming in my head, and then just write the code to the computer during a pit stop, run a test and then debug in my head for the next 200km. Fun!

    github.com/teotwaki/aoc/blob/m

    #AOC2024

  29. #AdventOfCode 2024 day 19, in #RustLang.

    I spent way too much time trying to "simplify" the patterns to reduce the problem space. I'm still very convinced it is possible and should yield pretty decent performance improvements. Ended up going for the "obvious" approach.

    github.com/teotwaki/aoc/blob/m

    #AOC2024