<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Distinct Elements in Streams: An Algorithm for the (Text) Book · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2301.10191/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2301.10191/feed.xml" rel="self" type="application/rss+xml" /><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — mentioned by abetusk</title><link>https://news.ycombinator.com/item?id=43009761</link><guid isPermaLink="false">urn:hackerpapers:mention:2301.10191:43009761</guid><pubDate>Tue, 11 Feb 2025 06:51:52 GMT</pubDate><description>&lt;p&gt;Ok, big shout out to monort [0] for the link to the video [1]. This is just a quick overview from a single viewing of the video, but it&amp;#x27;s called &amp;quot;funnel hashing&amp;quot;. The idea is to split into exponentially smaller sub arrays, so the first chunk is n/m, the second is n/(m^2), etc. until you get down to a single element. Call them A0, A1, etc., so |A0| = n/m, |A1| = n/(m^2) etc., k levels in total. Try inserting into A0 c times. If it fails, try inserting into A1 c times. If it fails, go down the &amp;quot;funnel&amp;quot; until you find a free slot. Call \delta the fraction of slots that are empty (I&amp;#x27;m unclear if…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — mentioned by kuldeepmeel</title><link>https://news.ycombinator.com/item?id=40401439</link><guid isPermaLink="false">urn:hackerpapers:mention:2301.10191:40401439</guid><pubDate>Sat, 18 May 2024 19:39:06 GMT</pubDate><description>&lt;p&gt;We are very grateful for the interest, and I thought I would link to some relevant resources. Paper: https://arxiv.org/pdf/2301.10191 Knuth&amp;#x27;s note: https://cs.stanford.edu/~knuth/papers/cvm-note.pdf Talk Slides: https://www.cs.toronto.edu/~meel/Slides/meel-distinct.pdf Talk Video: https://www.youtube.com/watch?v=K_ugk7OW0bI The talk also discusses the general settings where our algorithm resolved the open problem of estimation of the union of high dimensional rectangles.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — mentioned by jtanderson</title><link>https://news.ycombinator.com/item?id=40389878</link><guid isPermaLink="false">urn:hackerpapers:mention:2301.10191:40389878</guid><pubDate>Fri, 17 May 2024 13:52:34 GMT</pubDate><description>&lt;p&gt;Given the topic of the paper[0], the footnote is especially charming: &amp;gt; the authors decided to forgo the old convention of alphabetical ordering of authors in favor of a randomized ordering, denoted by r⃝. The publicly verifiable record of the randomization is available at https://www.aeaweb.org/journals/policies/random-author-order... [0]: https://arxiv.org/pdf/2301.10191 edit: formatting&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — mentioned by vitus</title><link>https://news.ycombinator.com/item?id=40389450</link><guid isPermaLink="false">urn:hackerpapers:mention:2301.10191:40389450</guid><pubDate>Fri, 17 May 2024 13:04:25 GMT</pubDate><description>&lt;p&gt;From the paper [0]: &amp;gt; We state the following well-known concentration bound, Chernoff bound, for completeness. Which variant of the Chernoff bound is this? This is almost the (looser variant of the) multiplicative form, but it&amp;#x27;s not quite right (per the use of 1+delta instead of a single parameter beta). In particular, that bound is only guaranteed to hold for delta &amp;gt;= 0 (not beta = 1 + delta &amp;gt; 0 as asserted in the paper) [0] https://arxiv.org/pdf/2301.10191 [1] https://en.wikipedia.org/wiki/Chernoff_bound#Multiplicative_... edit: to be clear: I&amp;#x27;m not sure at all whether this breaks the proof…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — HN submission</title><link>https://news.ycombinator.com/item?id=40389159</link><guid isPermaLink="false">urn:hackerpapers:submission:2301.10191:40389159</guid><pubDate>Fri, 17 May 2024 12:29:51 GMT</pubDate><description>&lt;p&gt;Distinct Elements in Streams: An Algorithm for the (Text) Book∗ [pdf]&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;3 points; 2 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — mentioned by aspenmayer</title><link>https://news.ycombinator.com/item?id=40389040</link><guid isPermaLink="false">urn:hackerpapers:mention:2301.10191:40389040</guid><pubDate>Fri, 17 May 2024 12:11:46 GMT</pubDate><description>&lt;p&gt;Link to abstract: https://arxiv.org/abs/2301.10191&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — mentioned by usgroup</title><link>https://news.ycombinator.com/item?id=40387508</link><guid isPermaLink="false">urn:hackerpapers:mention:2301.10191:40387508</guid><pubDate>Fri, 17 May 2024 07:56:33 GMT</pubDate><description>&lt;p&gt;I found the paper took about as long to read as the blog post and is more informative: https://arxiv.org/pdf/2301.10191 It is about estimating the cardinality of a set of elements derived from a stream. The algorithm is so simple, you can code it and play with it whilst you read the paper. The authors are explicit about the target audience and purpose for the algorithm: undergraduates and textbooks.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — mentioned by seanhunter</title><link>https://news.ycombinator.com/item?id=40387437</link><guid isPermaLink="false">urn:hackerpapers:mention:2301.10191:40387437</guid><pubDate>Fri, 17 May 2024 07:43:37 GMT</pubDate><description>&lt;p&gt;The proof is pretty straightforward and is included in the paper https://arxiv.org/abs/2301.10191&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Distinct Elements in Streams: An Algorithm for the (Text) Book — mentioned by svat</title><link>https://news.ycombinator.com/item?id=38444732</link><guid isPermaLink="false">urn:hackerpapers:mention:2301.10191:38444732</guid><pubDate>Tue, 28 Nov 2023 11:44:34 GMT</pubDate><description>&lt;p&gt;Yeah as you say it&amp;#x27;s just opinion/preference, but re: &amp;gt; source code is the primary source of understanding a concept, and English text is just an accompanying explanation, not the other way round note that most algorithms in TAOCP are only described in English (pseudocode), no (MIX) source code. (So if you want source code as primary you simply won&amp;#x27;t find it… but then again, a typical algorithm textbook like CLRS also would have only pseudocode). The TAOCP pseudocode is also in a unique style that&amp;#x27;s not similar to modern programming languages — e.g. here&amp;#x27;s a note that Knuth wrote just earlier…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2301.10191/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item></channel></rss>
