fwiw here are the variables in use https://github.com/sts10/compound-passphrase-list-safety-checker/blob/overhaul/src/lib.rs#L32-L33
I much be searching through the word list more often than I did in the old version or something like that
I tried my hand at re-writing a Rust tool I wrote in 2018, with an eye toward improving speed and code readability. Hilariously, it's seems to be much slower! (Haven't bothered with benchmarks or tests yet)
https://github.com/sts10/compound-passphrase-list-safety-checker/tree/overhaul
Are We Yeet Yet?
> This is a tracking page to see if/when yeet becomes a reserved keyword in Rust.
"Reducing Rust Incremental Compilation Times on macOS by 70%"
This blog post advocates for "[configuring] split-debuginfo to skip the dsymutil process" to speed up compile time.
https://jakedeichert.com/blog/reducing-rust-incremental-compilation-times-on-macos-by-70-percent/
Curious what is lost if you do that?
h/t https://lobste.rs/s/csftqj/reducing_rust_incremental_compilation
"Rust is for Professionals"
> Of all the programming languages I've used, Rust seems to empathize with its users the most.
https://gregoryszorc.com/blog/2021/04/13/rust-is-for-professionals/
h/t @lobsters https://lobste.rs/s/5fj3hb/rust_is_for_professionals
anyone bored and want to clean up my messy Rust function?
it's from this project: https://github.com/sts10/tidy/blob/master/src/lib.rs#L104-L110
The Markup: "How We Discovered Google’s Hate Blocklist for Ad Placements on YouTube"
I'm trying to find the word list that croc (https://github.com/schollz/croc) uses to generate passphrases, but I can't find it in the repo? Any hints?
was just reminded of one of my favorite little projects from the fall where I used Google Ngram data to make a word list 💪
blog post: https://sts10.github.io/2020/09/30/making-a-word-list.html
github repo: https://github.com/sts10/common_word_list_maker
A ~16k word list: https://github.com/sts10/common_word_list_maker/blob/master/example_word_list.txt
WhatsApp may be down for some users https://www.theverge.com/2021/3/19/22340405/instagram-whatsapp-facebook-messenger-down-outage
Signal says their "registrations are through the roof; welcome everyone! Solidarity to the folks working on the WhatsApp outage."
https://twitter.com/signalapp/status/1372973685821243392
These dynamics are (still) interesting to me!
update: I understand now that Python has this pattern:
bar = 'something' if foo else 'something else'
Thanks for those who chimed in!
This is fine and nice! But, I'd argue, not nearly as flexible (meant to be one-line) or readable (order of keywords is strange) as the Rust approach.
surprised to find that one of the things I miss most from Rust that's apparently not in Python is ability to assign a new variable directly with a proper (multiline-if-necessary) if/else statement. It nicely ensures that the variable will have a value after it's done, right?
In Rust:
let bar = if foo { "something" } else { "something else" };
nice to see the Rust lang folks launch an effort to improve how the language handles/supports async (something I continue to struggle with, and made it easier for me to move away from Rust)
> Our goal is to engage the entire community in a collective act of the imagination: how can we make the end-to-end experience of using Async I/O not only a pragmatic choice, but a joyful one?
https://blog.rust-lang.org/2021/03/18/async-vision-doc.html
#Rust
"Performance comparison: counting words in Python, Go, C++, C, AWK, Forth, and Rust"
https://benhoyt.com/writings/count-words/#performance-results-and-learnings
h/t https://lobste.rs/s/3byl7t/performance_comparison_counting_words
Casually and non-expertedly interested in books, privacy, Rust, Linux (Kubuntu, atm), and Neovim. Work at CNN. Secure contact: https://gist.github.com/sts10/4a4e01021b3a5ad42e9b73e0abd7b7e3