a beautifully concise test
#[test]
fn qvec_from_array_to_vec() {
let array = [0, 1, 2];
let qvec = QVector::<u8>::from(array);
assert_eq!(Vec::from(&qvec), array);
}
a beautifully concise test
#[test]
fn qvec_from_array_to_vec() {
let array = [0, 1, 2];
let qvec = QVector::<u8>::from(array);
assert_eq!(Vec::from(&qvec), array);
}
@mhoye I love the part where he tags the FBI.
It's not that the historical facts I was taught didn't actually happen; that's not what The Dawn of Everything is about. Rather, the narrative which weaves them together, and leaves out lots of other facts, creates profoundly misleading ideas which confine public discourse and political imagination.
@alcinnz @doctormo A nice sentiment, and, also seems inherently impossible in practice because cultures are infinitely changing.
"Internationalization" is sometimes used as a synonym for "translation", but that assumes that nations
1. exist
2. are coupled to languages
@doctormo Yes, "internationalization" can mean more than "translation", but it's often used only to mean "translation".
Reading The Dawn of Everything by David Graeber and David Wengrow and it's blowing my mind repeatedly
Every narrative I learned about history is wrong; a myth invented to rationalize colonization.
Intelligence is an ableist concept, so is artificial intelligence artificial ableism?
or maybe artificial intelligence is the automation of ableism? 🤔
Why do memory unsafe programming languages get so much more attention problemitizing them than passwords? I think passwords are a much bigger risk for most people than unsafe memory access which will most likely cause the affected program to crash. Passwords are routinely exploited by phishing and mass leaks of password hashes from hacked servers.
@downey There are profits to be made in selling FIDO authenticators and consulting with organizations to switch to WebAuthn.
Abolish passwords.
Infosec people be like yelling at users to use password managers instead of yelling at developers to implement WebAuthn.
Authenticating with remote servers by exchanging a shared secret is a bad idea and always has been.
I wish people talked about passwords the same way they talk about memory unsafe programming languages.
Password managers are to passwords like address sanitizer is to memory unsafe programming languages. They're mitigations, but do not solve the problem. The only way to solve the problem is to switch to a fundamentally different solution.
This is a neat crate. OpenDAL abstracts over various cloud storage APIs as well as local POSIX filesystems, in-memory storage, FTP(S), HTTP, and IPFS.
https://github.com/datafuselabs/opendal
I'm having trouble figuring out what's open about OpenAI.
Trying to make my first contribution to Rust... let's see how this goes... https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/stable.20output.20directory.20for.20generated.20files
dislike and unsubscribe
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.