Programming for fun

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (24 of them)

7 days into this year's Advent Of Code where you get two little tasks to write code for everyday, all 14 stars so far

using Ruby, which means i have to look up about 50% of the code i write, and the nature of it is that none of it will be reused so it's as scrappy as all hell but...

https://adventofcode.com/

koogs, Saturday, 7 December 2024 19:01 (two months ago) link

spent the weekend catching up on the two i'd dropped. and today's was a bitch. but 30/30 so far.

koogs, Sunday, 15 December 2024 21:53 (one month ago) link

three weeks pass...

46/50 and counting. the 50th is apparently a freebie if you have the other 49 so three more to do...

(
16b - union of multiple minimum paths
19b - count the (millions of) ways to parse some strings
21b - 25 robots in a chain
)

koogs, Sunday, 5 January 2025 12:36 (one month ago) link

silently applauding anyone who ventures that far - similar kind of minor awe when you see someone completely destroy a og video arcade game

Elvis Telecom, Monday, 6 January 2025 06:16 (one month ago) link

Literally one of my favorite Christmas traditions. This year I did all 50 points in modern C++. It ruled.

Allen (etaeoe), Monday, 6 January 2025 14:22 (one month ago) link

I've been using ruby in an attempt to get better at ruby. i have got better at the kind of scrappy ruby you use to do these puzzles (which, luckily, is the same kind of ruby that i use for component tests). but i have missed strong typing.

koogs, Monday, 6 January 2025 17:41 (one month ago) link

and proper 2d arrays

koogs, Monday, 6 January 2025 17:41 (one month ago) link

16b done

got the cost of the minimum path quite quickly, but getting the ROUTE of ALL the paths with that value took, well, weeks. adding enough information to each step to remember where it came from, and then more code to use that data. redid it in Processing so i could see it working, ended up saving the final frame and counting the pixels as a check...

koogs, Friday, 17 January 2025 20:04 (three weeks ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.