RSS feeds were great, the people wants Facebook/Instagram/Twitter RSS feeds where great because they were dead simple. Anybody who could host on the web could have an html blog and give it an RSS/Atom feed. But RSS sucks, because nobody wants to have a blog nowadays, at least not in the meaningful numbers which could help us all get away from the predatory companies running our…
I've just finished giving a session of our Advanced Rust training at $DAYJOB . Overall I felt confident, the trainees were actively participating, and I think I could answer most of the questions I was asked accurately and helpfully. There is, however, one thing I'm frustrated I could not answer properly. The one question they kept coming back with was: "How do we know what is a good or…
This is a very short post to share a Rust gotcha I recently discovered. It can be summed up in this TL;DR , freely adapted from the doc: For a generic struct, #[derive] implements Clone (resp. Copy) conditionally by adding bound Clone (resp. Copy) on generic parameters, which isn't always desired. The problematic situation can be seen in the following code: #[derive( Clone , Copy )] struct…
I have recently put in some documentation and code reviewing work to help with the 1.0.0 release of array-init . This crate allows user to provide an initializer function that will be used to fill an array. The twist compared to Rust's std is that you don't have to first initialize your array with some valid value before running your function on every entry. If that's what you need,…
If you have already tried to understand Kalman filters , you may very likely have found yourself dumbfounded, as I was when I did. Yet Kalman filters are actually quite simple. In this post, I will try to explain them as I would have liked them to be explained to me. What follows is a quite personal take on them and may hence fail to use the usual vocabulary of the field, or lack exhaustiveness,…