@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.
Eager to checkout new vgtk release, a gtk-rs wrapper. gtk-rs (and gtk) is so powerful but requires so much boilerplate. https://github.com/bodil/vgtk/releases/tag/vgtk-v0.3.0
1939: software doesn't exist
1949: software is limited
1959: software improves because faulty software costs a LOT of money
1979: software might start costing less, even faulty software
1989: we still care about optimized software, but say yer prayers, varmint.
1999: results of "it compiles; SHIP IT"
2009-: "stop being a cheap-ass; just buy more RAM, a faster CPU, a larger hard drive, a GPU from this century, and run software how developers TELL you to run it, you pleb."
Last night I was talking with my mom on the phone. She was telling me she wanted to share large files with my aunt, but wasn't keen on using Google Drive and the likes.
I bursted in laughter. "Mom", I said, "I just set up an account for you on my #Nextcloud instance. Here's your username and password." 🤓
We spent the next 20 minutes going over the thing. She was pretty excited. She'll turn 75 this year. I'm proud how she's embraced technology. 😄
For the naysayers about the importance of #rustlang's borrow checker, #dlang just added a prototype, #swiftlang is taking steps to add one and C++ is adding more and more features in that direction with each new standard.
Like it or hate it, hard to deny its influence, considering how young the language is.
#Tusky 11 is out since a few days. This time we did not make big changes, but quite a lot of polishing and some small new features, most of which can be toggled with a setting:
- Notifications about new follow requests when your account is locked
- disable swiping between tabs
- show a confirmation dialog before boosting a toot
- show link previews in timelines
🦀 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!