Post

✨ It's new samwho visual essay o'clock! ✨ Reservoir sampling is one of my favourite algorithms. It allows you to sample from a set without knowing the size of that set. I try to assume no prior knowledge, and use no scary math notation. Just beautiful visuals. Let me know what you think! ❤️

Easy follow and subscribe. This is exactly the kind of content we need in the dev world. All too often someone doesn't know how to ELI5 because they don't really understand the concept or because they want to gatekeep to sell more content. Truly open source learning. Thank you!

Thank you so much, Greg 😁 I went into this one expecting it to be easy. I knew the algorithm well, it’s easy to implement, and the math behind it isn’t exotic. I was super wrong. Reworked it twice, almost in full both times. Struggled tremendously to explain the math in a way that felt intuitive.

0 reposts1 like