:snowflake: Day 9 of Advent of Code is here! Join ...
# advent-of-code
a
❄️ Day 9 of Advent of Code is here! Join @Sebastian Aigner and @kropp as they solve today’s puzzle in Kotlin. Tune into the livestream today at 17:00 UTC! 🔗 https://www.youtube.com/live/7ct8eBdpavQ
❄️ 1
☃️ 1
advent of code intensifies 3
kodee happy 1
a
I've reloaded a few times but I can't see YT chat
j
Please enable livestream in YT
a
ok, now chat is working\
e
it just came up in the stream but I think I'm not allowed to post links:
I did implement a Java agent which causes arithmetic overflows to throw exceptions, https://github.com/ephemient/kotlin-numeric/tree/main/agent
j
Yeah can be I just mentioned your agent @ephemient, not sure if it's visible
e
it's not really packaged up for public use though
j
I have a personal rule to always use Long and if that overflows you'll find out
still haven't looked into making a compiler plugin…
j
Now I remember why I remembered it
a
fwiw, I think I know why the descriptions are so "bad" - it's not by mistake. ppl who paste that into LLMs will fail until they break it down to a "real" problem
j
I think part2 works for Sebastian because he doesn’t join consecutive empty blocks together. Then his algorithm doesn’t consider that empty part long enough. See https://github.com/SebastianAigner/advent-of-code-2024-behind-the-scenes/issues/1
s
Whoa, thanks for the investigation @Jaap Beetstra! Appreciate you diving into this! 🫶🏼