21 karma · joined May 10, 2020 (6y ago) · 13 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
Vegeta, the tool I used for benchmarking, iterates through all those targets round-robin style while attacking the server and then averages the results when reporting the average response size in bytes (and it only measures the size of the response body, it doesn't include other things like headers).
Even using the same library and same compression algorithm not all 200px by 200px QR code PNGs will compress to the same size. How well they can be compressed depends a lot on the encoded piece of text as that determines the visual complexity of the generated QR code.
comment 6y ago · link · parent
Please let me know if you have any questions or feedback. Thank you!
6.
Show HN: Tiny Brainfuck Compilers Written in Rust(github.com ↗)
3 points · by pretzelhammer · 6y ago · 1 comment
7.
Learn Assembly with Too Many Brainfuck Compilers(github.com ↗)
5 points · by pretzelhammer · 6y ago · discuss
comment 6y ago · link · parent
Rust has a steeper learning curve than most languages but it also has a very beginner-friendly and welcoming community. So don't be scared, you can do it! If you get stuck on something it's always easy to get help.
comment 6y ago · link · parent
Learning the hard concepts in Rust is the best part, but The Book isn't going to teach you those. The Book, by design, is a very broad but shallow overview of the entire language. It'll never teach you, for example, why you can't write a self-referential struct in Rust. That's a lesson every Rustacean has to learn the hard way: by programming in Rust. And that's what I hope to encourage more Rust beginners to do: learn the hard lessons by actively programming in Rust.
comment 6y ago · link · parent
Your feedback as a beginner is very valuable! If you have some structured feedback for Rustlings please consider opening an issue on the repo. Also, the official Rust Discord Server is very beginner-friendly and has a #beginners channel, if you're struggling with anything don't be afraid to join and ask your question. The invite for the server is here https://discord.com/invite/rust-lang
comment 6y ago · link · parent