Private methods on a public trait in Rust

In Rust, the methods of a trait inherit the visibility of the trait itself: Read more

Similar

Writing a prometheus MPD exporter (in Rust)

Today, I challenged myself to write a prometheus exporter for MPD in Rust. Shut up and show me the code! Here you go and here you go for submitting patches. The challenge I recently started monitoring my server with prometheus and grafana. I am no-way a... (more…)

Read more »

Playing Codenames in Rust with word vectors

In a previous post I implemented the game of Codenames in Rust, allowing a human player to interact with the computer playing randomly. Now let's implement a smarter computer agent, using word vectors. Word vectors (or word embeddings) are a way of conve... (more…)

Read more »

The XDG base directory specification and Rust

The XDG base directory specification exists to address the problem of where programs should look for various kinds of files on a Unix system. Traditionally, in Unix, a per-program, per-user configuration file is stored as a “dot file”: program foo would e... (more…)

Read more »