Difference between revisions of "Main Page"
Line 1: | Line 1: | ||
__NOTOC__{{DISPLAYTITLE:explain xkcd}} | __NOTOC__{{DISPLAYTITLE:explain xkcd}} | ||
<center> | <center> | ||
− | {{ | + | <font size=5px>''Welcome to the '''explain [[xkcd]]''' wiki!''</font><br> |
+ | We have an explanation for all [[:Category:All comics|'''{{#expr:{{PAGESINCAT:All comics|R}}-1}}''' xkcd comics]], | ||
+ | <!-- Note: the -1 in the calculation above is to discount "comic" 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> | </center> | ||
== Latest comic == | == Latest comic == |
Revision as of 14:40, 8 February 2021
Welcome to the explain xkcd wiki!
We have an explanation for all 2939 xkcd comics,
and only 10
(0%) are incomplete. Help us finish them!
Latest comic
Complexity Analysis |
Title text: PERPETUALLY OPTIMISTIC CASE: Early in the execution, our research group makes a breakthrough on proving P=NP. |
Explanation
This explanation may be incomplete or incorrect: Created by a PERPETUALLY OPTIMISTIC BOT - Please change this comment when editing this page. Do NOT delete this tag too soon. |
Cueball is teaching about an algorithm's complexity. The average-case runtime of the algorithm, O(n log n), is written in Big O notation, expressing the asymptotic runtime of the algorithm as the number of inputs to it grows larger and larger. The "best case" for an algorithm is typically its runtime when its inputs have optimal values and it runs in as little time as possible. The joke here is that not only does it run this quickly, but that its runtime is actually an hour shorter because of an act of Congress changing daylight saving time, potentially giving it negative 'runtime'. The "worst case" refers to the movie Groundhog Day, in which the same events occur over and over in a sort of time loop. This may be an indirect reference to the halting problem, a famous problem in computer science of determining whether a given algorithm will ever halt. The halting problem is undecidable, meaning that there is no general algorithm that can tell whether a given algorithm will halt.
The title text refers to perhaps an even more famous problem in computer science, P versus NP. This asks whether every problem whose solution can be quickly verified (in nondeterministic polynomial time, NP) can also be quickly solved (in polynomial time, P). The P-versus-NP problem is one of the seven Millennium Prize Problems, and as such has a $1 million prize for its solution.
Transcript
This transcript is incomplete. Please help editing it! Thanks. |
[Cueball is holding a presentation pointer stick, pointing to a table behind him]
[Title above the table:]
Results of algorithm complexity analysis:
[Table content:]
Average case | O(n log n)
Best case | Algorithm turns out to be unnecessary and is halted, then congress enacts surprise daylight saving time and we gain an hour
Worst case | Town in which hardware is located enters a groundhog day scenario, algorithm never terminates
Is this out of date?
.New here?
Last 7 days (Top 10) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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.
- If you're new to wiki editing, see the explain xkcd:Editor FAQ for a specific guidance to this Wiki and the more general help on how to edit wiki pages. There's also a handy wikicode cheatsheet.
- Discussion about the wiki itself happens at the Community portal.
- You can browse the comics from List of all comics or by navigating the category tree at Category:Comics.
- 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.