News for hackers. Stuff that matters.
Re:Bloom Filters by Example by Freaky on Monday July 10, 2017 @08:57PM (#14740844)
That seems a roundabout way of sizing a bloom filter. Here's what I came up with when I first implemented them for Newzbin: https://hur.st/bloomfilter

    m = ceil((n * log(p)) / log(1.0 / (pow(2.0, log(2.0)))));
    k = round(log(2.0) * m / n);
Re:Bloom Filters by Example by assafmo on Tuesday July 11, 2017 @03:29PM (#14747226)
Thank you for this!

I actually used this site today. Found it on google...

Re:Bloom Filters by Example by Freaky on Wednesday July 12, 2017 @07:31AM (#14751623)
Glad you found it useful :)