3 ms·
Now we just need HyperLogLog by example. (HyperLogLogs are vaguely similar data structures in that you hash things a bunch to store a value inside, except inst
by fennecfoxen 13y ago
Now we just need HyperLogLog by example.
(HyperLogLogs are vaguely similar data structures in that you hash things a bunch to store a value inside, except instead of set-membership inquiries, they're better at cardinality-estimation purposes.)
- dmunoz 13y agoNot in the style of the submitted article, but HyperLogLog was mentioned [0] last year on Nick's Blogs Damn Cool Algortihms series [1]. Discussion on HN [2]. [0] http://blog.notdot.net/2012/09/Dam-Cool-Algorithms-Cardinality-Estimation http://blog.notdot.net/2012/09/Dam-Cool-Algorithms-Cardinali... [1] http://blog.notdot.net/tag/damn-cool-algorithms http://blog.notdot.net/tag/damn-cool-algorithms [2] https://news.ycombinator.com/item?id=4488946 https://news.ycombinator.com/item?id=4488946
- llimllib 13y agoI hope you write it! I also imagine an encyclopedia of many different algorithm examples, each with demonstrations and graphical explanations. Bret Victor has talked about that sort of thing, and it greatly intrigues me.
- dmunoz 13y agoI'm not sure what Bret Victor had in mind, but the second part of Skiena's text The Algorithm Design Manual already does a good job at this. Similar write ups are available online [0], in less detail than the text, e.g. [1]. They all open with a pictorial representation of possible input and corresponding output to aid in scanning when you have a problem to solve. There is also the Encyclopedia of Algorithms [2], and the NIST Dictionary of Algorithms and Data Structures [3], history of at [4]. [0] http://www.cs.sunysb.edu/~algorith/ http://www.cs.sunysb.edu/~algorith/ [1] http://www.cs.sunysb.edu/~algorith/files/dictionaries.shtml http://www.cs.sunysb.edu/~algorith/files/dictionaries.shtml [2] https://www.springer.com/computer/theoretical+computer+science/book/978-0-387-30770-1 https://www.springer.com/computer/theoretical+computer+scien... [3] http://xlinux.nist.gov/dads/ http://xlinux.nist.gov/dads/ [4] https://en.wikipedia.org/wiki/Dictionary_of_Algorithms_and_Data_Structures https://en.wikipedia.org/wiki/Dictionary_of_Algorithms_and_D...
- abolibibelot 13y agoWell, there you are: a nice explanation of HyperLogLog, along with graphs, and a javascript demo to play with. And a tribute to Philippe Flajolet who came up with the algorithm. http://blog.aggregateknowledge.com/2012/10/25/sketch-of-the-day-hyperloglog-cornerstone-of-a-big-data-infrastructure/ http://blog.aggregateknowledge.com/2012/10/25/sketch-of-the-... The Aggregate Knowledge blog is mind blowing for everything sketch related.
- llimllib 13y agoIs that demo widget custom, or did they use a tool to generate it? Do you know?
- abolibibelot 13y agoAccording to this comment http://blog.aggregateknowledge.com/2012/10/25/sketch-of-the-day-hyperloglog-cornerstone-of-a-big-data-infrastructure/#comment-789 http://blog.aggregateknowledge.com/2012/10/25/sketch-of-the-... , it's custom made and based on d3.
- llimllib 13y agoIt would make the world a lot better if somebody made it easy to create that widget in IPython Notebook or some similar tool. #IShouldDoThatButIProbablyWont