Подтвердите e-mail

Для публикаций, комментариев, реакций и сообщений подтвердите адрес.

Профиль

James Munns

Профиль Vively

Notable 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

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.

3362

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 Munns

24 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.

1260

"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 :)

3294

Just found an available crate name so perfect I *have* to build something for it now.

2161

My e-bike app is entirely in metric, but the section for "how far in total have you traveled on the bike" is still called "Mileage".

4100

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 Chalmers

i'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.

6754

You know the unsafe code is good when you see &mut *(__ref as *mut _ as *mut _) inside of a macro

3634

TIL that `addr_of(_mut)!` and `&raw (const|mut)` in Rust to create raw pointers *must* only be used on pointers of valid allocations when projecting to a field, following the in-bounds pointer arithmetic rules. This means that you cannot use *either* with a pointer derived from `ptr::dangling()`

2260

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...

Enterprise Restaurant Computeby the CFA Enterprise Restaurant Compute Teammedium.comTechnology Brobdingnagian

This is like learning McDonald’s is based on quantum chromodynamics and the taco truck chef is Adele blog.haskell.org/enterprise-h...

2445

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

2162
Показать ещё