#adventofcode — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #adventofcode, aggregated by home.social.
-
#adventofcode 2015 in C, day 17.
A very quick one here. Mostly brute forcing, and some probably unnecessary right-shifting, just because it looks nice.
-
oh my god I finally have arbitrary precision math AAAAAAAAAAA IT'S TAKEN OVER 2 YEARS to get time and motivation for this
here, have 30 factorial using uint128, in #forth on #hp200lx
so now I can FINALLY do the #AdventOfCode puzzles that need >=64 bit math, without falling back to something like Lua.
-
oh my god I finally have arbitrary precision math AAAAAAAAAAA IT'S TAKEN OVER 2 YEARS to get time and motivation for this
here, have 30 factorial using uint128, in #forth on #hp200lx
so now I can FINALLY do the #AdventOfCode puzzles that need >=64 bit math, without falling back to something like Lua.
-
oh my god I finally have arbitrary precision math AAAAAAAAAAA IT'S TAKEN OVER 2 YEARS to get time and motivation for this
here, have 30 factorial using uint128, in #forth on #hp200lx
so now I can FINALLY do the #AdventOfCode puzzles that need >=64 bit math, without falling back to something like Lua.
-
oh my god I finally have arbitrary precision math AAAAAAAAAAA IT'S TAKEN OVER 2 YEARS to get time and motivation for this
here, have 30 factorial using uint128, in #forth on #hp200lx
so now I can FINALLY do the #AdventOfCode puzzles that need >=64 bit math, without falling back to something like Lua.
-
oh my god I finally have arbitrary precision math AAAAAAAAAAA IT'S TAKEN OVER 2 YEARS to get time and motivation for this
here, have 30 factorial using uint128, in #forth on #hp200lx
so now I can FINALLY do the #AdventOfCode puzzles that need >=64 bit math, without falling back to something like Lua.
-
#adventofcode 2015 in C, day 16.
The puzzle was easy enough, and then I spent waaaay too long hunting down a dumb malloc/free error. In the spirit of being transparent about my process, which is kind of the point of this series, I'll leave my flailing around in the blog post.
-
#adventofcode 2015 in C, day 16.
The puzzle was easy enough, and then I spent waaaay too long hunting down a dumb malloc/free error. In the spirit of being transparent about my process, which is kind of the point of this series, I'll leave my flailing around in the blog post.
-
#adventofcode 2015 in C, day 16.
The puzzle was easy enough, and then I spent waaaay too long hunting down a dumb malloc/free error. In the spirit of being transparent about my process, which is kind of the point of this series, I'll leave my flailing around in the blog post.
-
A strange package has arrived. Received for my outstanding performance on last year's #AdventOfCode. Except the year is wrong on the shirt :) I suppose it's a prediction for this year's event ;-p
-
A strange package has arrived. Received for my outstanding performance on last year's #AdventOfCode. Except the year is wrong on the shirt :) I suppose it's a prediction for this year's event ;-p
-
A strange package has arrived. Received for my outstanding performance on last year's #AdventOfCode. Except the year is wrong on the shirt :) I suppose it's a prediction for this year's event ;-p
-
A strange package has arrived. Received for my outstanding performance on last year's #AdventOfCode. Except the year is wrong on the shirt :) I suppose it's a prediction for this year's event ;-p
-
#adventofcode 2015 in C, day 14
Once again, "reading the puzzle incorrectly" is the main source of error here, otherwise very straightforward. We get to add a bit to our parsing toolbox along the way, as a bonus.
-
#adventofcode 2015 in C, day 14
Once again, "reading the puzzle incorrectly" is the main source of error here, otherwise very straightforward. We get to add a bit to our parsing toolbox along the way, as a bonus.
-
#adventofcode 2015 in C, day 14
Once again, "reading the puzzle incorrectly" is the main source of error here, otherwise very straightforward. We get to add a bit to our parsing toolbox along the way, as a bonus.
-
One of my fondest memories when doing #AdventOfCode was a time that I just said YOLO and decided to read the input at compile time (w/ macrolet 💅) convert the line into a plist and then expand the plist into the body of a defmethod each rule mapped to a different implementation using eql specifiers.
Yes, it was a bad idea.
Yes, it was inefficient.
But #CommonLisp doesn't care, so I wrote it anyway! -
One of my fondest memories when doing #AdventOfCode was a time that I just said YOLO and decided to read the input at compile time (w/ macrolet 💅) convert the line into a plist and then expand the plist into the body of a defmethod each rule mapped to a different implementation using eql specifiers.
Yes, it was a bad idea.
Yes, it was inefficient.
But #CommonLisp doesn't care, so I wrote it anyway! -
One of my fondest memories when doing #AdventOfCode was a time that I just said YOLO and decided to read the input at compile time (w/ macrolet 💅) convert the line into a plist and then expand the plist into the body of a defmethod each rule mapped to a different implementation using eql specifiers.
Yes, it was a bad idea.
Yes, it was inefficient.
But #CommonLisp doesn't care, so I wrote it anyway! -
One of my fondest memories when doing #AdventOfCode was a time that I just said YOLO and decided to read the input at compile time (w/ macrolet 💅) convert the line into a plist and then expand the plist into the body of a defmethod each rule mapped to a different implementation using eql specifiers.
Yes, it was a bad idea.
Yes, it was inefficient.
But #CommonLisp doesn't care, so I wrote it anyway! -
One of my fondest memories when doing #AdventOfCode was a time that I just said YOLO and decided to read the input at compile time (w/ macrolet 💅) convert the line into a plist and then expand the plist into the body of a defmethod each rule mapped to a different implementation using eql specifiers.
Yes, it was a bad idea.
Yes, it was inefficient.
But #CommonLisp doesn't care, so I wrote it anyway! -
#adventofcode 2015 in C, day 13 again. Copy-pasting from day 9 was working, but a bit too ugly for my taste. So we refactor a bit, make it marginally less ugly, and finish the puzzle easily thanks, for once, to good design choices made at the beginning.
-
#adventofcode 2015 in C, day 13 again. Copy-pasting from day 9 was working, but a bit too ugly for my taste. So we refactor a bit, make it marginally less ugly, and finish the puzzle easily thanks, for once, to good design choices made at the beginning.
-
#adventofcode 2015 in C, day 13 again. Copy-pasting from day 9 was working, but a bit too ugly for my taste. So we refactor a bit, make it marginally less ugly, and finish the puzzle easily thanks, for once, to good design choices made at the beginning.
-
#adventofcode 2015 in C, day 13.
Another graph-like structure, leading to a lot of copy-pasting from day 9.
-
#adventofcode 2015 in C, day 13.
Another graph-like structure, leading to a lot of copy-pasting from day 9.
-
#adventofcode 2015 in C, day 13.
Another graph-like structure, leading to a lot of copy-pasting from day 9.
-
#adventofcode 2015 in C, day 12: lots of parsing, but also an opportunity to implement a basic stack structure. Nice little puzzle overall.
-
#adventofcode 2015 in C, day 12: lots of parsing, but also an opportunity to implement a basic stack structure. Nice little puzzle overall.
-
#adventofcode 2015 in C, day 12: lots of parsing, but also an opportunity to implement a basic stack structure. Nice little puzzle overall.
-
#adventofcode 2015 in C, day 10 and 11
Both quick and easy, which means that either I've become reasonably good at this C thing, or I'm being lured into a false sense of confidence.
-
#adventofcode 2015 in C, day 10 and 11
Both quick and easy, which means that either I've become reasonably good at this C thing, or I'm being lured into a false sense of confidence.
-
#adventofcode 2015 in C, day 10 and 11
Both quick and easy, which means that either I've become reasonably good at this C thing, or I'm being lured into a false sense of confidence.
-
#adventofcode 2015 in #C, day 9. A very quick solution for part 2. An unexpected bug in my file reading function lead me to discover that the most upvoted solution on StackOverflow for "how to get the size of a file to copy its content to a string" is, in fact, incorrect and unsafe, because fseek and ftell are not guaranteed to work as we'd expect them to work.
As usual, the docs do warn about it. This combination of "well documented but extremely unintuitive" keeps tripping me up.
-
#adventofcode 2015 in #C, day 9. A very quick solution for part 2. An unexpected bug in my file reading function lead me to discover that the most upvoted solution on StackOverflow for "how to get the size of a file to copy its content to a string" is, in fact, incorrect and unsafe, because fseek and ftell are not guaranteed to work as we'd expect them to work.
As usual, the docs do warn about it. This combination of "well documented but extremely unintuitive" keeps tripping me up.
-
#adventofcode 2015 in #C, day 9. A very quick solution for part 2. An unexpected bug in my file reading function lead me to discover that the most upvoted solution on StackOverflow for "how to get the size of a file to copy its content to a string" is, in fact, incorrect and unsafe, because fseek and ftell are not guaranteed to work as we'd expect them to work.
As usual, the docs do warn about it. This combination of "well documented but extremely unintuitive" keeps tripping me up.
-
#adventofcode 2015 en C, day 9, suite. Où l'on s'y remet doucement après une pause, en résolvant la première partie mais en découvrant au passage qu'on a probablement un gros bug dans le fond du programme quelque part...
-
#adventofcode 2015 en C, day 9, suite. Où l'on s'y remet doucement après une pause, en résolvant la première partie mais en découvrant au passage qu'on a probablement un gros bug dans le fond du programme quelque part...
-
#adventofcode 2015 en C, day 9, suite. Où l'on s'y remet doucement après une pause, en résolvant la première partie mais en découvrant au passage qu'on a probablement un gros bug dans le fond du programme quelque part...
-
I just completed all 25 days of Advent of Code 2018! #AdventOfCode https://adventofcode.com/
-
I just completed all 25 days of Advent of Code 2018! #AdventOfCode https://adventofcode.com/
-
Happy easter everybody! Today is the final day of my little #AdventOfCode inspired coding challenge, and it's my favourite one this year.
Head over to https://easters.dev/2026/easter-sunday if you want to try it out. Or just head over to see the gorgeous @prahou art. -
Happy easter everybody! Today is the final day of my little #AdventOfCode inspired coding challenge, and it's my favourite one this year.
Head over to https://easters.dev/2026/easter-sunday if you want to try it out. Or just head over to see the gorgeous @prahou art. -
Happy easter everybody! Today is the final day of my little #AdventOfCode inspired coding challenge, and it's my favourite one this year.
Head over to https://easters.dev/2026/easter-sunday if you want to try it out. Or just head over to see the gorgeous @prahou art. -
Happy easter everybody! Today is the final day of my little #AdventOfCode inspired coding challenge, and it's my favourite one this year.
Head over to https://easters.dev/2026/easter-sunday if you want to try it out. Or just head over to see the gorgeous @prahou art. -
Happy easter everybody! Today is the final day of my little #AdventOfCode inspired coding challenge, and it's my favourite one this year.
Head over to https://easters.dev/2026/easter-sunday if you want to try it out. Or just head over to see the gorgeous @prahou art. -
And a good #HolySaturday to everybody; coincidentally the holy saturday problem of my little #AdventOfCode inspired website just went live: https://easters.dev/2026/holy-saturday
-
And a good #HolySaturday to everybody; coincidentally the holy saturday problem of my little #AdventOfCode inspired website just went live: https://easters.dev/2026/holy-saturday
-
And a good #HolySaturday to everybody; coincidentally the holy saturday problem of my little #AdventOfCode inspired website just went live: https://easters.dev/2026/holy-saturday
-
And a good #HolySaturday to everybody; coincidentally the holy saturday problem of my little #AdventOfCode inspired website just went live: https://easters.dev/2026/holy-saturday