It turns out that if you put a String in an Error type of the Result for a hot function, say, deserializing 125k f32s, making that Error type 24 bytes instead of 1 will make your entire deserialization process 15% slower. I might put serde custom error support behind an opt-in flag for postcard v2.
Профиль
James Munns
Профиль VivelyNotable Protocol Enjoyer. Doing stuff, mostly in Rust and on Embedded systems. Co-host @sdr-podcast.com DMs (matrix): @jamesmunns:beeper.com DMs (signal): jamesmunns.255 he/him Kein Ort für Nazis
30 weeks into the year: still about 2kg behind, but not *more* behind. Started making good progress again! This one was a bit more like the first ~5 months, though there were some annoying plateau weeks. Down a total of 14.3kg/31.5lbs, and 50.3% done! See you in 6 weeks :)
James Munns24 weeks into the year: a little behind, and mostly flat (but still down!) This 6 week stretch had a lot of "cheat" weeks: a 1w work trip to the US, family coming to visit me, and 1w+ in Prague (and a lot of Czech food and beer!) Down a total of 11kg/24 lbs, and 38.8% done. About 2kg behind now.
"We have generic parameters from outer item at home" play.rust-lang.org?version=stab... I feel like I keep re-discovering that this works, and forgetting why it's more limited than I actually want it to be in the general case, but it does print what you'd expect it to print :)
It is such a ridiculous reality that to be an effective engineering lead/manager/CTO, you really ought to: * Be fairly good at engineering, to make reasonable decisions, understand all the choices in front of you * *Never* do active engineering as it takes too much of your time away from overseeing
Adam Chalmersi'm tired of "founder mode". it's time to go "engineering lead who still codes a lot and reports to the CEO but should probably spend more time building cross-team consensus" mode.
And chick-fil-a runs a kubernetes cluster on a stack of NUCs in every restaurant (or at least did as of a few years back): medium.com/chick-fil-at...
This is like learning McDonald’s is based on quantum chromodynamics and the taco truck chef is Adele blog.haskell.org/enterprise-h...
For @lauramunns.bsky.social's birthday weekend, we made a 28.5km bike tour to 10 of the top ice cream places from www.the-berliner.com/food/berlins... All shop names and flavors in the alt text because it's too much :D