Difference between revisions of "Main Page"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Gnomish mods to text, using inline link syntax, some wordsmithing)
m (Reverted edits by Davidy22 (talk) to last revision by Waldir)
(98 intermediate revisions by 8 users not shown)
Line 1: Line 1:
''Welcome to the Explain XKCD wiki''
+
__NOTOC__{{DISPLAYTITLE:explain xkcd}}
 +
<center>
  
__TOC__
+
<font size=5px>''Welcome to the '''explain [[xkcd]]''' wiki!''</font><br>
 +
We have an explanation for all [[:Category:Comics|'''{{#expr:{{PAGESINCAT:Comics|R}}-13}}''' xkcd comics]],
 +
<!-- Note: the -13 in the calculation above is to discount subcategories (there are 8 of them as of 2013-02-27),
 +
    as well as [[List of all comics]] and the pages it has been split across, which are obviously not comic pages.
 +
    The extra one difference corresponds to 404, which is not really a comic, even though we've categorised it so.
 +
-->
 +
and only {{PAGESINCAT:Incomplete explanations|R}}
 +
({{#expr: {{PAGESINCAT:Incomplete explanations|R}} / {{LATESTCOMIC}} * 100 round 0}}%) [[:Category:Incomplete explanations|are incomplete]]. Help us finish them!
 +
</center>
 +
== Latest comic ==
 +
<div style="border:1px solid grey; background:#eee; padding:1em;">
 +
<span style="float:right;">[[{{LATESTCOMIC}}|'''Go to this comic explanation''']]</span>
 +
<br clear="right">
 +
{{:{{LATESTCOMIC}}}}
 +
{{#ifexist:Talk:{{LATESTCOMIC}}|<h2>Discussion</h2>
 +
{{Talk:{{LATESTCOMIC}}}}
 +
}}</div>
  
== Welcome ==
+
<small>''Is this out of date? {{Purge|Clicking here will fix that}}.''</small>
Please sign up for an account and contribute to the Explain XKCD wiki!  We need explanations for comics, characters, themes, memes and everything in between. If it is referenced in an [http://www.xkcd.com XKCD] web comic, it should be in here.
 
  
If you need help with the wiki syntax, Mediawiki has a great wealth of information to help you the syntax right.  In particular, their instructions on [http://www.mediawiki.org/wiki/Help:Navigation Navigation] and [http://www.mediawiki.org/wiki/Help:Editing_pages Editing] are strongly recommended (but do be aware that these links take you to ''their'' site; you'll have to come back here to participate. ;-)
+
== New here? ==
 +
<div style="float:right; margin: 0 0 1em 1em">{{Special:ContributionScores/10/7/nosort,notools}}<div style="font-size:0.85em; width:25em; font-style:italic">[[Special:ContributionScores|Lots of people]] contribute to make this wiki a success. Many of the recent contributors, listed above, have just joined. You can do it too! Create your account [[Special:UserLogin/signup|here]].</div></div>
  
== Getting started ==
+
You can read a brief introduction about this wiki at [[explain xkcd]]. Feel free to [[Special:UserLogin/signup|sign up for an account]] and contribute to the wiki! We need explanations for [[:Category:Incomplete explanations|comics]], [[:Category:Characters|characters]], [[:Category:Comics by topic|themes]] and [[:Category:Meta|everything in between]]. If it is referenced in an [[xkcd]] web comic, it should be here.
For new comic pages:
 
  
1. Every registered user can upload images.
+
* If you're new to wikis like this, see [[mw:Help:Editing pages|how to edit wiki pages]]. There's also a handy {{w|Help:Cheatsheet|wikicode cheatsheet}}.
  
2. Put the comic number, the date it was posted and a link to the comic above the photo.
+
* Discussion about the wiki itself happens at the [[explain xkcd:Community portal|Community portal]].
  
3. Put the image text below the photo.
+
* You can browse the comics from [[List of all comics]] or by navigating the category tree at [[:Category:Comics]].
  
4. Explain away below that.
+
* There are incomplete explanations listed [[:Category:Incomplete explanations|here]]. Feel free to help out by expanding them!
  
If you are setting up a new page for a new (or old) comic, please make sure you also redirect the comic number to that page as well.
+
* We sell advertising space to pay for our server costs. To learn more, go [[explain xkcd:Advertise Here|here]].
  
The syntax for redirects is:
+
== Rules ==
 
+
Don't be a jerk. There are a lot of comics that don't have set in stone explanations; feel free to put multiple interpretations in the wiki page for each comic.
<nowiki>#REDIRECT [[pagename]]</nowiki>
 
 
 
For example, on the page for 1045 is:
 
 
 
<nowiki>#REDIRECT [[Constraints]]</nowiki>
 
  
That allows the users of the site to search via the comic number or the name of the comic.
+
If you want to talk about a specific comic, use its discussion page.
 
 
== Rules ==
 
Don't be a jerk.  There are a lot of comics that don't have set in stone explanations, feel free to put multiple interpretations in the wiki page for each comic.
 
  
If you want to talk about a specific comic, the Discussion page is perfect for that.
+
Please only submit material directly related to — and helping everyone better understand — xkcd... and of course ''only'' submit material that can legally be posted (and freely edited).  Off-topic or other inappropriate content is subject to removal or modification at admin discretion, and users who repeatedly post such content will be blocked.
  
If you have a message for an admin, feel free to leave a message on their personal discussion page.
+
If you need assistance from an [[explain xkcd:Administrators|admin]], post a message to the [[explain xkcd:Community portal/Admin requests|Admin requests]] board.
  
The Admins are [{{canonicalurl:Special:ListUsers|group=sysop}} here].
+
[[Category:Root category]]

Revision as of 01:23, 30 June 2014

Welcome to the explain xkcd wiki!
We have an explanation for all 2 xkcd comics, and only 6 (0%) are incomplete. Help us finish them!

Latest comic

Go to this comic explanation

Bloom Filter
Sometimes, you can tell Bloom filters are the wrong tool for the job, but when they're the right one you can never be sure.
Title text: Sometimes, you can tell Bloom filters are the wrong tool for the job, but when they're the right one you can never be sure.

Explanation

Ambox notice.png This explanation may be incomplete or incorrect: PROBABLY CREATED - Please change this comment when editing this page. Do NOT delete this tag too soon.

The comic is referring to a Bloom Filter, a data structure that is used for approximate membership queries and cardinality estimation using a bounded amount of memory. That is, after a series of objects are added to the bloom filter, given another object, the bloom filter can be queried to see if that object has already been added to it, with a chance of a false positive answer that depends on the size of the bloom filter. Or, the bloom filter can be queried for an approximate count of the objects that have been added to the bloom filter already.

A bloom filter uses a large bit array, and a number of hashing functions that produce indexes into this array. When a value is added to the set, it's hashed with each function, and the corresponding bits in the array are set to 1. To test if a value is in the set you hash it with all the functions, and check if all the bits are 1. If they are, the value may be in the set, but there can also be false positives because each hash collides with some other value in the set (assuming reasonable hash functions, a different element for each hash). But if any of the bits is 0, you know for sure the value is not in the set. The higher the ratio between the size of the bit array and the number of elements in the set, the smaller the false positive rate is (10 bits/element has about 1% false positives.

The joke in the comic is that Cueball has a 1-bit Bloom filter. When the set is empty, it accurately reports that any value is not in the set. But as soon as anything is added to the set, it has a very large false positive rate, since that single bit will be set and everything will hash to that index. Similarly the cardinality estimation is (correctly) 0 initially, but after the first addition the estimate will be "somewhere between 1 and infinity" which is not a terribly useful estimate.

There's also no point in having multiple hash functions for a 1-bit filter, since there's only one possible hash value.

The title text references how bloom filters are always accurate in saying that an element is not in the list (bloom filters are not correct), but you can never be sure if an element is actually in the list (when a bloom filter actually is correct), because of false positives.

Transcript

Ambox notice.png This transcript is incomplete. Please help editing it! Thanks.
[Ponytail holds out her hand to Cueball, who is holding a paper with a 1 on it.]
Ponytail: Does your set contai-
Cueball: Yeah, probably.
[Caption below the panel:]
One-Bit Bloom Filter


Is this out of date? Clicking here will fix that.

New here?

Last 7 days (Top 10)

Lots of people contribute to make this wiki a success. Many of the recent contributors, listed above, have just joined. You can do it too! Create your account here.

You can read a brief introduction about this wiki at explain xkcd. Feel free to sign up for an account and contribute to the wiki! We need explanations for comics, characters, themes and everything in between. If it is referenced in an xkcd web comic, it should be here.

  • There are incomplete explanations listed here. Feel free to help out by expanding them!
  • We sell advertising space to pay for our server costs. To learn more, go here.

Rules

Don't be a jerk. There are a lot of comics that don't have set in stone explanations; feel free to put multiple interpretations in the wiki page for each comic.

If you want to talk about a specific comic, use its discussion page.

Please only submit material directly related to — and helping everyone better understand — xkcd... and of course only submit material that can legally be posted (and freely edited). Off-topic or other inappropriate content is subject to removal or modification at admin discretion, and users who repeatedly post such content will be blocked.

If you need assistance from an admin, post a message to the Admin requests board.