Okay that was a slog. Took my time to make a nice convex hull algorithm that turned out to be basically unnecessary--part 2 depended on a *convex hull* hacky pile of code. Yuck
Okay that was a slog. Took my time to make a nice convex hull algorithm that turned out to be basically unnecessary--part 2 depended on a *convex hull* hacky pile of code. Yuck
Oh! That would be a cool texture!
Oh! That would be a cool texture!
Better late than never!
After being discouraged by reading the question wrong, I took some time to refactor things & regroup.
Better late than never!
After being discouraged by reading the question wrong, I took some time to refactor things & regroup.
Had to adjust the part 2 algorithm dramatically from part 1. First try took 13 minutes to eat all 32GB on my system. 😆
Implemented a fixed array & it completes in milliseconds.
Had to adjust the part 2 algorithm dramatically from part 1. First try took 13 minutes to eat all 32GB on my system. 😆
Implemented a fixed array & it completes in milliseconds.
That was a fun one.
That was a fun one.
Today I learned that Zig expects you to be smart about allocating memory. Be prepared to wait a long time if you do that in an inner loop...
Today I learned that Zig expects you to be smart about allocating memory. Be prepared to wait a long time if you do that in an inner loop...
Anyone else playing? I'm using this as an excuse to try out Zig.
First major takeaway is all the churn in Zig has resulted in AI suggestions being complete crap for the most part.
Anyone else playing? I'm using this as an excuse to try out Zig.
First major takeaway is all the churn in Zig has resulted in AI suggestions being complete crap for the most part.
rogerallen.itch.io/tailgunner
rogerallen.itch.io/tailgunner
Used gemini-cli to get it mostly working, then used github copilot for code review & a bit of refactoring. I really didn't do much coding at all...
Used gemini-cli to get it mostly working, then used github copilot for code review & a bit of refactoring. I really didn't do much coding at all...
The Wobbly Stones
U1
The Wobbly Stones
U1