Get the latest tech news
Reservoir Sampling
technique for selecting a fair random sample when you don't know the size of the set you're sampling from. By the end of this essay you will know: - When you would need reservoir sampling.
This post has been sponsored by the wonderful folks at ittybit, and their API for working with videos, images, and audio. How would you play this game in a way that ensures all cards have been given an equal chance to be selected when I decide to stop? If you want to tell me what you thought of this post by sending me an anonymous message that goes directly to my phone, go to https://samwho.dev/ping.
Or read this on Hacker News