I've realized that I don't use any dependency injection in #Rust, and I don't miss it.
Cargo makes dependencies and workspaces so easy, that I break code up into small libraries instead. They are testable individually, and bigger things that would be unit tests with DI become more of integration tests instead.
Firefox Send is being discontinued. I guess Mozilla doesn't want to build services around the Firefox brand anymore? 🦊
Currently writing on a report about different VCS and how they are different from #git. Initially I thought it's an interesting topic... but Git is the most popular one for a reason and I feel a little like "why explaining other (mostly older) systems, instead just use Git and call it a day" 😅
My motivation to continue this report is respectively low...
The yearly state of #Rust survey is out.🎉 You can take part until the 24th of September.
Please help the Rust community improve the Rust ecosystem by taking part in the survey. It should take less than 15 minutes:
The #rust community is so big now that you stumble over awesome crates with thousands of stars on github, and you don't stumble over them because someone mentioned them to you, but because they just "appear" on your way through the internet.
This is awesome.
Can we please, please – PLEASE! not make the nonsensical US date format month/day/year the default in applications? 🤦♂️
PRE 👏 TTY 👏 PLEASE
And to all users of that format: it makes no sense, it's counter-intuitive, it makes collaboration frustrating, it introduces inconsistencies and errors... Just stop. Please. Use international standards.
(And don't get me started on your other units of weights, volumes and distances. Bloody hell.)
Boost if I'm right.
#Tusky 12.1 is out with a new setting to remove the top app bar, bug fixes and improved translations!
Thx to everyone reporting bugs and translating the app 💙
@mdszy I'm still mad about command.com being a home utility product site instead of a shell interpreter
To be clear I'm not sure actually python is the problem here just it is not really known for performance.
I used fail2ban with ufw as backend. Recently found out when calling ufw from rust that it's super slow and maybe that was actually the problem. Now using iptables and ipset as backend for my mini clone.
Maybe it was just a bad choice to use ufw and not fail2ban's fault but it's still fun to write a mini clone in rust so I'll continue on it.
So I installed #fail2ban the other day on my small vps and during a load test I found out that it takes up more than 60% of the CPU during high load. I use(d) it to block annoying attempts to open random php admin pages (I don't even use PHP).
Figured out it's written in python and actually expected such a popular basic tool to be written in C for best performance...
So I started writing a mini clone in #rust and it can handle 300,000 lines/sec on 1 cpu core in first tests.
🦀 Rust, 🐹 Go and 🍵 Kotlin enthusiast
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!