Jan 22, 23
Naive Bayes Classifier in Rust trained on Taylor Swift lyrics
I wrote a Naive Bayes Classifier in Rust and trained it on Taylor Swift Lyrics which allows us to feed our program a set of lyrics (ideally not from Taylor Swift) and classify those lyrics as more likely to be featured in a song by Country Taylor Swift (circa 1989 album) or more likely to be featured in a song by Pop Taylor Swift (post 1989 album). The classifier features ideas such as Laplace Smoothing, tokenization, reading from files and more. Let's talk through building it!
Jan 4, 23
Do have a cow, man
Let's start by clearing the air. Rust has cows. These cows don't moo, can't be milked (or can they?), and can't even be tipped. In fact, theses cows aren't cows at all -- they're Cows (Clone On Write).
Dec 6, 22
A Chili Cookoff with Rust, Rocket, Render, and Supabase
Learn how Rust, Rocket, Render, and Supabase helped streamline my annual Chili Cookoff
Oct 28, 22
Rust's Drop Trait
The Drop trait in Rust only has one method but it's extremely important. Learn what Drop does and how to implement it yourself here.
Oct 23, 22
From and Into in Rust
Rust's trait system is like a breath of fresh air when compared to some of more recent language forays. One of my favorite things about Rust and it's trait system is how the From and Into traits work.