49pctber
49pctber
@49pctber.bsky.social
practically random guessing
I have only used Rust for a few hours maybe a year ago, but I really like how you can put unit tests directly in each file with `#[cfg(test)]`. This is especially handy during #AdventOfCode for the example inputs.
December 3, 2025 at 7:21 PM
My first internship in college involved programming a microcontroller using VBA. Why that even exists, I'm not sure...I wish I could see what I had written now. It was probably horrible.
December 3, 2025 at 5:42 PM
Which kind of algorithm did you use?
December 3, 2025 at 5:39 PM
New "language" each day? (Quotes for Excel)
December 3, 2025 at 4:41 AM
Yeah, these puzzles are harder than the typical first few days imo
December 3, 2025 at 4:35 AM
Is "low-allocation" a general term for reducing system calls to allocate memory, or is that a C# specific term?
December 3, 2025 at 4:34 AM
How did you implement it?
December 3, 2025 at 4:31 AM
How do you like typer? How does it compare to argparse?
December 3, 2025 at 4:30 AM
Amazing.
December 3, 2025 at 4:27 AM
I got a 404 from your repo :(
December 3, 2025 at 4:26 AM
What sort of runtime did you get operating on strings directly?
December 3, 2025 at 4:25 AM
I would be surprised if strong manipulation would be faster, but let me know if you find out otherwise!
December 3, 2025 at 4:18 AM
I appreciate how flexible the puzzles are to experiment with new languages, techniques, algorithms, etc.
December 3, 2025 at 4:15 AM
What sort of runtime did you get using the hash set? I generated every possible invalid id, sorted the list, and ignored identical adjacent numbers. I would like to try a hash set to compare
December 3, 2025 at 4:13 AM
Any tips for learning functional programming? I am curious to learn a functional language, but I haven't really had a reason to yet
December 3, 2025 at 4:09 AM
How do you measure runtime?
December 3, 2025 at 3:54 AM
A really aggressive butterfly net
May 15, 2025 at 6:02 PM
As I understand it, there is quite a variety of thought within the flat earth community. Some think the earth is semi-infinite, so there is just more earth with no other side. Some people think it's a flat disk with nothing but rock or dirt. Others think it's a snow globe with nothing outside.
February 25, 2025 at 4:33 AM
Oh, maybe I misunderstood. I would like seeing the diagram on the left if it weren't presented as a way to solve the problem, just as a way to illustrate what's happening on the right.
February 19, 2025 at 10:05 PM
My main concern is if x is negative, 2x will be to the left of x, and there isn't a way to know that a priori. So from a student's perspective, they'd be really confused half the time when trying to think in terms of the diagram.
February 19, 2025 at 10:01 PM
If I were a student learning this for the first time, I would find this incredibly confusing for 2x+4=-4. Start at -4, move left four to -8, then... right back to -4? Shouldn't I be at -16 or -12 or something? This assumes you know the relative sizes and positions of things, but you generally don't.
February 19, 2025 at 9:46 PM