Show newer

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

if java stops working on your computer, that just means someone else has installed java,and yours had to be sacrificed to maintain the 3 billion figure

The 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? πŸ€¦β€β™‚οΈ


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 πŸ’™

When brushing your teeth, do you

I keep changing my VPN server's location, but wherever I go, the same horny housewives follow me around!

Stop it, Karen (32) from Nottinghamshire!

@mdszy I'm still mad about 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.

Show thread

So I installed 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 and it can handle 300,000 lines/sec on 1 cpu core in first tests.

I blogged! πŸ“

"Shipping Rust CLIs with docker"

A guide on how you can build Rust binaries, package them in docker, and then distribute and run them as if they were "normal" CLI tools.

#rust #devops #dev #programming #cli #docker

A dog tried to fight my dog.

My dog sat on them.

I'm pretty proud of her, tbh.

I applied for a grant that would allow me to work full time on @Tusky. Wish me luck.

Show older
Mastodon for Tech Folks

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!