nihohit.bsky.social
@nihohit.bsky.social
Well, I'd appreciate a writeup explaining this, if/when you have the time and inclination 🙂
December 21, 2025 at 8:34 PM
Your answer make it sound like places are always on the stack? The heap isn't a place?
December 21, 2025 at 7:09 PM
That's not intuitive to me, sorry. I don't understand how this relates to something that can be passed between threads, because it is SOMEthing, so there must be a place that contains it.
IMO the lifetime metaphor fits static better. "It's valid, because it's always alive" is easy.
December 21, 2025 at 7:08 PM
Fair enough, but what's the intuitive explanation for static, in this POV?
December 21, 2025 at 7:02 PM
Mockito is a rust crate that creates actual http servers, that run mocked logic.

share.google/h6PKe6Dzs6QW...
mockito - Rust
Mockito is a library for generating and delivering HTTP mocks in Rust. You can use it for integration testing or offline work. Mockito runs a local pool of HTTP servers which create, deliver and remov...
share.google
December 19, 2025 at 5:05 AM
I'm not exactly sure what you're asking here, but it sounds like a problem that mockito solves.
December 18, 2025 at 2:55 PM
That's roughly our solution, too.
December 16, 2025 at 5:38 PM
Joined AWS just when they started sanctioning new projects in Rust, and our team started a new project.
November 24, 2025 at 9:22 PM
Shamanic versioning, where you choose a version according to your spirit animal.
October 20, 2025 at 8:25 PM
Thank you for all the good work!
Selfishly hoping that your project will be another great book.
September 29, 2025 at 1:08 PM
Succeed. If you want to force an at least 1 condition, it should be defined in the attribute argumenta.
September 10, 2025 at 4:15 PM
After reviewing, feedback, and more review, I gave up. It was frustrating to harangue claude to REPLACE ALL THE STRINGS, YES THAT ONE TOO, and also to ensure that it should keep `Result`s, instead of finding "clever" ways to avoid returning errors.
Claude just wants to have strings, I guess.
July 15, 2025 at 11:44 AM
On the journey, it deleted the whole test suite of one class, and as mentioned, got completely stuck once, which required a manual edit of the code.
On the other hand, after 2 hours the change was complete - I just need to review the change.
July 15, 2025 at 9:47 AM
Claude just moved the logic around, but still used the combined string throughout the code, until I explicitly told it to delete / change the inputs on every function that takes a string.
July 15, 2025 at 9:45 AM
The change isn't very complex - the code splits addresses to host + port, but then saves those addresses as `format!("{host}:{port}")`, only to split them again when the address is used. I just wanted to save the split value, instead of combining and splitting again.
July 15, 2025 at 9:45 AM
well, this is going to slow me down
July 15, 2025 at 9:35 AM
Claude added this change, but couldn't trace back the open quotes to the offending line.
July 15, 2025 at 9:25 AM
The code didn't compile, with the error
```
error[E0765]: unterminated double quote string
--> path/to/file.rs:464:57
```
and Claude just couldn't fix the issue, probably because it originated on the other side of the file, in line 130:
`if let Some(bracket_end) = addr.find("]:') {`
July 15, 2025 at 9:25 AM
Really impressive. Any plan to have named enum variants, like Rust has? Relying on unique types per variant is a pain point of std::variant that exists here, too.
July 14, 2025 at 7:58 PM
The twist: the single argument is a tuple.
July 3, 2025 at 12:30 PM
Are you interested in feedback on the video?
July 1, 2025 at 12:38 PM
I used it 3 years agothrough iai_callgrind, which was fairly easy to setup IIRC.
July 1, 2025 at 12:35 PM
Somewhat less realistic when discussing the indexing operator for hashmaps without knowledge of keys. You created a map from a deserialized JSON - don't make assumptions on its contents.
June 16, 2025 at 6:12 AM
it's what happens when developers allow `usize`s to misbehave.
June 15, 2025 at 10:52 AM