Profile avatar
paolobarbolini.bsky.social
CTO & Co-founder m4ss.net - Secure, Reliable and Open Source IIoT. lettre.rs, deps.rs and others when I can.
177 posts 124 followers 204 following
Regular Contributor
Active Commenter

Things are very slowly moving forward...

We have an internal project consisting of 2 services. After all of the PRs I've sent to our downstream dependencies will have been released, the first service will go from 599 to 536 dependencies, the second one will go from 351 to 286. Don't give up on your dependencies github.com/search?q=is%...

bytes may finally be getting a string type 👀 github.com/tokio-rs/byt...

15 more indirect dependencies that I didn't need, removed.

Status update: it's incredible how much less tedious it is to write SQL queries in Diesel

De-censoring a video's never been easier. Check out how quickly people were able to undo the pixelization in one of my YouTube videos: www.youtube.com/watch?v=acKY...

I've just discovered repo.rs/[crate-name] to redirect fast to crate repositories. I've long used crates.io/crates/[crate-name]/repo, which honestly I don't even know why it exists.

Really nice ~3x performance improvement for String::push - and String::insert technically - when char::len_utf8 > 1 and the len is unknown at compiletime, all by avoiding memcpy. github.com/rust-lang/ru...

The tariffs have just led an innovative U.S. company to scale back sales of its own goods in its home market. Who does this help? What sort of “medicine” is this?

LinkedIn suggesting I should follow myself and like one of my posts 🤦‍♂️

Not quite the same scale, but if tech communities such as Rust are purporting to be global, then they shouldn't hold their marquee conferences in the USA either. Tech conferences there are expensive (plus American are most able to afford to other places) and are now even harder to get to.

Manuel and me have just bought the tickets for EuroRust. I hope to see you there in October.

🦀 #rustlang 1.86.0 has been released! ✨ This one has a few very nice new things, including trait upcasting, Vec::pop_if, and get_disjoint_mut! blog.rust-lang.org/2025/04/03/

Yesterday we released a new crate, inspired by an internal build.rs and then written by @thinkerdreamer.bsky.social, for embedding static files to be served by axum. It handles: - File precompression - HTTP conditional requests - Axum Router integration Check it out: github.com/M4SS-Code/st...

The Rust 2024 drop order change warnings look like an idea for a diagnostic, which I saw in rust-lang/rust some time ago, that didn't end-up being implemented/merged. Anyway one of the bigger occurrences printed 461 lines of warnings all by itself. It so beautiful and incredibly readable 💯

Maybe another case of bots written by people as smart as the AIs they're trying to build?

According to Apple’s amazing accounting I used my iPhone and Mac for an average of 71 hours a day this week. Yesterday I used them for 262 hours even. I unlocked superdays.

Haha! Not sure if I'd agree on 'expert' (though dressing up as a bird on an international flight maybe qualifies me?)? Source: www.youtube.com/watch?v=4pz2...

Thanks to all the helpful replies I found a way to solve my issue. If anyone else runs into it, here is how you can efficiently use FromStr on a String with a no-op path for String to String: lucumr.pocoo.org/2025/3/23/fr...

British broadcaster Jeremy Clarkson has reignited a feud with carmaker-turned-political figure Elon Musk that started in 2008 with a bad review of a Tesla car on motoring show Top Gear.

Why did I decide to do this? Do I really have to wait 3 hours???

Does unsafe undermine #rustlang 's guarantees? steveklabnik.com/writing/does...

🚀 #1 on Hacker News! 🚀 The open source and collaborative document editor we're building with the French and German governments just hit the top of HN. Proud to be part of this with BlockNote (www.blocknotejs.org)!

I've never though of this optimization. Spotted in github.com/rust-lang/ru...