761: DFS

Explain xkcd: It's 'cause you're dumb.
Revision as of 22:59, 19 November 2012 by Davidy22 (Talk | contribs)

Jump to: navigation, search
DFS
A breadth-first search makes a lot of sense for dating in general, actually; it suggests dating a bunch of people casually before getting serious, rather than having a series of five-year relationships one after the other.
Title text: A breadth-first search makes a lot of sense for dating in general, actually; it suggests dating a bunch of people casually before getting serious, rather than having a series of five-year relationships one after the other.

Explanation

When doing a blind search in computing, there are two main tactics - depth-first search, and breadth-first search. Depth-first search, as indicated in the comic, means going as far as you possibly can before looking at other possibilities. This turns out to be a bad idea, as it ends with the man having spent all morning doing research of snake venom, to the exclusion of even getting dressed. By contrast, a breadth-first search will look only minimally into a topic before moving on to another; any new depth exposed by this minimal check will be added to a list of stuff to do later. This would have allowed the man to look as far as possible into all of the things he wanted to check within the time allotted, and probably still been able to get dressed.

LD50, or median lethal dose, is the dose of a toxin required to kill 50% of the population studied, usually expressed in milligrams of toxin per kilogram of body mass. The inland taipan's venom does, indeed, have highest median lethal dose among snake venoms. (Fortunately, it is extremely shy in temperament, and will always escape danger rather than bite if it can, which is why it isn't considered to be a particularly dangerous snake.)

Incidentally, corn snakes and garter snakes are not even remotely dangerous to humans (in fact they're the most popular pet snakes), and of the four different species commonly known as "copperheads," the only dangerously venomous one is the Deinagkistrodon or sharp-nosed viper.

The relationship advice given in the title-text should probably not be taken seriously.

Transcript

Preparing for a date:
[A man with wet hair and a towel around his waist thinks with his hand to his chin.]
Man: (What situations might I prepare for? 1) medical emergency, 2) dancing, 3) food too expensive...)
[Close-up on man's face.]
Man: (Okay, what kind of emergencies can happen? 1)A) snakebite, B) lightning strike, C) fall from chair...)
[Still thinking...]
Man: (Hmm. Which snakes are dangerous? Let's see... 1)A)a) Corn Snake? b) Garter Snake? c) Copperhead?)
[Sits down in a chair with a laptop, still wearing towel.]
Man: (The research comparing snake venoms is scattered and inconsistent. I'll make a spreadsheet to organize it.)
(Bottom panel is larger than top four, and aligned to right.)
[A woman meets the man on his front stoop. She is carrying a purse, and looks down at his towel. The man holds his arms in the air triumphantly.]]
Woman: I'm here to pick you up. You're not dressed?
Man: By LD50, the Inland Taipan has the deadliest venom of ANY snake!
Caption: I really need to stop using depth-first searches.
Comment.png add a comment!

Discussion

I'm curious about the half-cut-off options in each panel. The first looks like '[something] eating contest,' the second looks like 'tracheal [something],' and the third looks like 'coral snake.' Alanbbent (talk) 23:49, 22 November 2013 (UTC)

I think you may be right about the snake, but the others I am not so sure. However, I can't help out with better suggestions... 108.162.219.58 23:53, 23 January 2014 (UTC)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox

It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal or Bitcoin?