326 private links
Instead of asking: I’m hungry, let’s go to McDonald’s
Why not: I’m hungry, let’s go eat: McDonald’s?
A “no, because” statement instead of a plain “no” moves the problem from a blocker into an opportunity.
A comparison of thiserror, anyhow and custom errors.
- In Rust, this struct is 16 bytes (on x86_64, again) and in C, it is 24. This is because Rust is free to reorder the fields to optimize for size, while C is not.
- Social factor: it is more convenient to write a bite more dangerous code than in the equivalent C. Firefox failed two times to parallelize Firefox's style layout twice. They get it right the third time with Rust. Does a junior write faster production code in Rust than in C?
- Compile time vs runtime: Rust provides a bit of safety at runtime (index access)
If C is the fastest language, is there any inherent reason why Rust could not do the same things? At the fundamental level, the answer is “there’s no difference between the two.”
But projects does not work only on the fundamentals, "We’re usually talking about something in the context of engineering, a specific project, with specific developers, with specific time constraints, and so on. I think that there are so many variables that it is difficult to draw generalized conclusions."
A website list of dumb password rules.
Contributing is easy on https://github.com/duffn/dumb-password-rules/issues
Rust is a language for building foundational software. - https://smallcultfollowing.com/babysteps/blog/2025/03/10/rust-2025-intro/
What all clients have in common, however, is that the services they build with Rust are foundational to their core business. Rust is used for building platforms: systems which enable building other systems on top.
This mindset takes away the focus from Rust as a C++ replacement and also explains why so many teams which use languages like Python, TypeScript, and Kotlin are attracted to Rust.
What is less often talked about is that Rust is a language that enables people to move across domain boundaries: from embedded to cloud, from data science to developer tooling.
Rust serves as a catalyst: companies start using it for critical software but then, as they get more comfortable with the language, expand into using it in other areas of their business.
What interests me more is how normalized this has become.
My motivation is much different now than it was then: then I was terribly discontent and dreaming of being a classical composer, a writer, or basically anything that I wasn’t; now I just want to enjoy my life and do the responsible thing—graduate. Rivers Cuomo, Letter For Readmission To Harvard--2005
A no-code database
CoMaps is a for of OrganiMaps which is a fork of Maps.me
A collection of apps useful for smartphones.
Personal opinion about why Nuxt is on Github:
codeberg is great! I love it.
but I think @github is a great home for us.
for me, the most important thing is community. I'm pragmatic about a lot of other things. while a fully open source stack is ideal, I'd rather have the people (+ network effects apply to code hosting too).
Proton said the company would leave the country.
Infomaniak stays.