Editing 761: DFS

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 14: Line 14:
 
Hairy uses the '''DFS''' technique, as indicated in the comic title, which means going as far as you possibly can down one path before looking at other possibilities. This turns out to be a bad idea, as Hairy's searches takes him out on a tangent. Instead of preparing for his date, Hairy instead spent the whole time [[#Snake venom|doing research]] on {{w|snake venom}}, to the exclusion of even getting dressed in time for the arrival of his date. The way the last panel is the only panel and at the far right in the second row vs. four panels in the top row, indicates all the time he has used on DFS. And although he may realize his mistake, throwing up his arms, he has to tell [[Ponytail]] the fact he has found out that the {{w|inland taipan}}'s has the deadliest venom of any snake (see [[#Snake venom|more]] below).
 
Hairy uses the '''DFS''' technique, as indicated in the comic title, which means going as far as you possibly can down one path before looking at other possibilities. This turns out to be a bad idea, as Hairy's searches takes him out on a tangent. Instead of preparing for his date, Hairy instead spent the whole time [[#Snake venom|doing research]] on {{w|snake venom}}, to the exclusion of even getting dressed in time for the arrival of his date. The way the last panel is the only panel and at the far right in the second row vs. four panels in the top row, indicates all the time he has used on DFS. And although he may realize his mistake, throwing up his arms, he has to tell [[Ponytail]] the fact he has found out that the {{w|inland taipan}}'s has the deadliest venom of any snake (see [[#Snake venom|more]] below).
  
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 Hairy to briefly check many more things within the time allotted, and probably still have been able to get dressed if, in dealing breadth-first in the first layer of concerns, he quickly identified (and prioritized/satisfied) the need to be properly dressed and ready to go out.
+
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 Hairy to briefly check many more things within the time allotted, and probably still have been able to get dressed.
  
The relationship advice given in the title text on using breadth-first search may not be meant too seriously. However, one might be more sure about what kind of person one is looking for after already having dated a few people. But by then, the right one might have slipped by. It is by no means certain that you can return to one of the first persons you dated after having dated another dozen.  
+
The relationship advice given in the title text on using breadth-first search may not be meant too seriously. However, one might be more sure about what kind of person one is looking for after already having dated a few people. But then the right one, might have slipped by. It is by no means certain that you can return to one of the first persons you dated after having dated another dozen.  
  
 
It is, however, not very useful, if you wish to have a stable family life, to "only" be with a person for five years. So DFS is for sure a bad way to find out who you wish to spend you life with. One might conclude that blind search is not a good way to find your significant other. But for most people, there is no other way to search.
 
It is, however, not very useful, if you wish to have a stable family life, to "only" be with a person for five years. So DFS is for sure a bad way to find out who you wish to spend you life with. One might conclude that blind search is not a good way to find your significant other. But for most people, there is no other way to search.
 
DFS and BFS make another appearance in [[2407: Depth and Breadth]], together with variations based on them.
 
  
 
==Situations==
 
==Situations==
Hairy begins to think of several situations to prepares for, as expanded below (''with non-comic explanations inserted'')
+
Hairy begins to think of several situations to prepares for.
  
 
===First step===
 
===First step===
 
In the first panel there are four situations:
 
In the first panel there are four situations:
<ol>
+
#Medical emergency  
<li>Medical emergency  
+
##This is the situation he continues with in the second step.
*''This is the situation he continues with in the second step.''</li>
+
#Dancing
<li>Dancing
+
##He probably doesn't think he is good enough at dancing, or simply doesn’t like it.
*''He probably doesn't think he is good enough at dancing, or simply doesn’t like it.''
+
##It could also be because he is uncertain what she expects, of if she wishes to dance with him at all.
*''It could also be because he is uncertain what she expects, of if she wishes to dance with him at all.''</li>
+
#Food too expensive  
<li>Food too expensive  
+
##It probably means that he is expected to pay (at least for himself, but probably also for his date)
*''It probably means that he is expected to pay (at least for himself, but probably also for his date)''
+
##This is a simple problem, if he does his search first. He just has to choose a restaurant he can afford.
*''This is a simple problem, if he does his search first. He just has to choose a restaurant he can afford.''</li>
+
#Bee eating contest (?)
<li>Bee eating contest (?)
+
##This situation is cut off, so it is hard to be certain what it says.  
*''This situation is cut off, so it is hard to be certain what it says.
+
##The above is the best guess so far.  
*''The above is the best guess so far, though “Bee dating contest” is a reasonable second.''
+
##It could be a joke on {{w|Spelling bee}} contests and "normal" {{w|Competitive eating|eating contest}}.
*''It could be a joke on {{w|Spelling bee}} contests and "normal" {{w|Competitive eating|eating contest}}.''</li>
 
</ol>
 
  
 
===Second step===
 
===Second step===
 
In the second panel there are also four situations continuing the first option from the first panel:
 
In the second panel there are also four situations continuing the first option from the first panel:
<ol>
+
#Medical emergency  
<li>Medical emergency<ol style="list-style-type:upper-alpha">
+
##Snakebite
  <li>Snakebite
+
###This is the situation he continues with in the third step.
*''This is the situation he continues with in the third step.''</li>
+
##{{w|Lightning strike}}
  <li>{{w|Lightning strike}}
+
###Very unlikely event to happen on any given date.
*''Very unlikely event to happen on any given date.''</li>
+
##Fall from chair  
  <li>Fall from chair  
+
###This could happen, especially if he is clumsy when holding the chair for her...
*''This could happen, especially if he is clumsy when holding the chair for her...''</li>
+
##Tracheal bowing (?)
  <li>Tracheal bowling (?)
+
###This situation is cut off very much. The above is just a good guess.
*''This situation is cut off very much. The above is just a good guess.''</li></ol>
 
  
 
===Third step===
 
===Third step===
In the third panel there are four types of snakes with questions marks as to whether they are dangerous. This is a further continuation of the first option from the second panel:
+
In the third panel there are four types of snakes with questions marks as to whether they are dangerous. This is a continuation of the first option from the second panel:
<ol>
+
#Medical emergency  
<li>Medical emergency<ol style="list-style-type:upper-alpha">
+
##Snakebite
  <li>Snakebite<ol style="list-style-type:lower-alpha">
+
###Corn snake
  <li>Corn snake</li>
+
###Garter snake
  <li>Garter snake</li>
+
###Copperhead
  <li>Copperhead</li>
+
###Coral snake (?)
  <li>Coral snake (?)
+
####This situation is cut off very much. The above is just a good guess.
*''This situation is cut off very much. The above is just a good guess.''</li></li></li></ol></ol></ol>
 
  
 
This third step takes him to his computer in the fourth panel where he does lots of research on [[#Snake venom|snake venom]].
 
This third step takes him to his computer in the fourth panel where he does lots of research on [[#Snake venom|snake venom]].
Line 71: Line 65:
 
{{w|Median lethal dose|LD<sub>50</sub>}}, 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, and most often for {{w|rats}} or another type of {{w|guinea pig}}.
 
{{w|Median lethal dose|LD<sub>50</sub>}}, 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, and most often for {{w|rats}} or another type of {{w|guinea pig}}.
  
The {{w|inland taipan}}'s venom does, indeed, have the lowest 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.  It also resides only in inland Australia, unlike any of the snakes that Hairy enumerated as potential risks.  (If he does happen to live in Australia, he should be more concerned about the much deadlier {{w|eastern brown snake}} and {{w|coastal taipan}}.)
+
The {{w|inland taipan}}'s venom does, indeed, have the second-lowest median lethal dose among snake venoms; only sea snakes' venom is more lethal. 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.  It also resides only in inland Australia, unlike any of the snakes that Hairy enumerated as potential risks.  (If he does happen to live in Australia, he should be more concerned about the much deadlier {{w|eastern brown snake}} and {{w|coastal taipan}}.)
  
 
Incidentally, {{w|Corn snake|corn snakes}} and {{w|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 "{{w|agkistrodon|copperheads}}," the only dangerously venomous one is ''{{w|deinagkistrodon acutus}}'' or sharp-nosed viper that only lives in Southeast Asia. In the US, the snake going by the name of ''copperhead'' is the {{w|agkistrodon contortrix}}.  
 
Incidentally, {{w|Corn snake|corn snakes}} and {{w|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 "{{w|agkistrodon|copperheads}}," the only dangerously venomous one is ''{{w|deinagkistrodon acutus}}'' or sharp-nosed viper that only lives in Southeast Asia. In the US, the snake going by the name of ''copperhead'' is the {{w|agkistrodon contortrix}}.  
Line 117: Line 111:
 
[[Category:Programming]]
 
[[Category:Programming]]
 
[[Category:Animals]]
 
[[Category:Animals]]
[[Category:Spreadsheets]]
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)