-
An asynchronous self-rehydrating cache in Rust
Oct 14, 2022
sr-cache A periodic asynchronous self-rehydrating cache. The goal of this little project is to show step by step how to write a small and basic Rust implementation of a periodic self-rehydrating cache, where the user has access to two main APIs that resemble a HashMap and allow to:…
-
Learn Rust With Benford's Law
Oct 17, 2020
When was the last time you read anything containing a significant amount of non-randomly generated numbers? What if I told you that the first digits of those numbers follow a well defined frequency distribution, and that it would be possible to predict the frequency of every single leading digit $[1-9]$ with good accuracy?…
-
Formicarium
Oct 03, 2020
This article is about swarm intelligence , and how we can try to simulate it to show how collective behavior can unlock better solutions to problems that may otherwise remain unsolved.…
-
Semeion
Sep 26, 2020
This is an overview of a project I enjoyed working on over the past few months, which is now in a state that I consider good enough to be used for a toy kind of project.…