Editing 1277: Ayn Random

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 8: Line 8:
  
 
==Explanation==
 
==Explanation==
This comic is a satirization of {{w|Objectivism}}, a philosophy developed by {{w|Ayn Rand}}. Objectivism is a moral system which promotes the institution of complete, unregulated Lassez-Faire capitalism (capitalism with no regulation or governmental intervention of any kind). A core claim of Objectivism is that it is a perfectly fair way of distributing resources. Depending on how one defines fairness, Objectivism is not fair -- since those who have been externally elevated to an advantageous position (e.g. via nepotism) will be able to acquire more resources with the same level of effort as another person who does not benefit from similar advantages. In the comic, this juxtaposition between the claim that Objectivism is fair, and the unfairness seen in its practical implementation, is satirized in the form of an Ayn Random number generator (a pun on Rand's name) whose creator claims is perfectly fair but demonstrably is not.
+
The comic is an attack on the perceived problems with the philosophy of "Objectivism". [[White Hat]] explains to [[Cueball]] a program he wrote, the "Ayn Random Number Generator", which is a pun on {{w|Ayn Rand}}, the name of a writer who created a philosophical system known as {{w|Objectivism (Ayn Rand)|Objectivism}}. The joke is an attack on her philosophy, which claims to be a completely fair mechanism for distributing resources, but (arguably) inherently favors those who start out with more resources, or already in a position to acquire the resources. It also, again arguably, has a strong overarching theme that people that believe in objectivism are inherently better than other people, and thus deserve what extra resources can be acquired - as with the Ayn Random Number Generator, which claims to be completely fair and balanced, but actually favors some numbers - which White Hat explains by saying that they deserve to come up more because they're inherently better.  
  
A major ethical quandary Objectivists face is what is to be done about this unfairness; if Objectivism really is the perfect system for resource distribution, then why are resources distributed unequally under Objectivism? How one answers that question depends on a certain assumption -- that being, whether all humans are essentially equal in value (the accepted moral position in the West, c. 2024) or not. Some Objectivists disagree with the assertion of total human equality, concluding that if, under a hyper-aggressive survival-of-the-fittest system, people do not acquire equal levels of resources, then peoples' intrinsic values must be different. In the comic, this particular position is satirized with White Hat's cry of "Well, maybe those numbers are just intrinsically better!"
+
Now, objectivists, of course, would challenge the above portrayal, but the joke is, in the end, an attack on Ayn Rand's philosophies. A more nuanced description is that objectivists believe that the primary aim of life is to maximise personal happiness. In their view, if some humans are born more capable of satisfying their desires than other people, they deserve to reap greater rewards from life than others, no matter the cost to those others.
  
A more nuanced description is that Objectivists believe that the primary aim of life is to maximize personal happiness. In their view, if some humans are born more capable of satisfying their desires than other people, they deserve to reap greater rewards from life than others, no matter the cost to those others.
+
The title text identifies a group of people whose names match the {{w|regular expression}} <code>/(\b[plurandy]+\b ?){2}/i</code>. A step-by-step explanation of the expression:
 
+
*\b is a word boundary, matching anywhere there is a 'word character' next to a non-word character&mdash;punctuation, digit, spacing, etc.
As an aside, "biased" random number generators exist. They're called weighted random number generators, and they have many practical applications when the programmer isn't lying about the number generator's function and output.
 
 
 
The title text identifies a group of people whose names match the {{w|regular expression}} <code>[https://www.debuggex.com/r/WsWV5ZSh8NTQL_JZ <nowiki>/(\b[plurandy]+\b ?){2}/i</nowiki>]</code>. A step-by-step explanation of the expression:
 
*\b is a word boundary, matching anywhere there is a 'word character' next to a non-word character—punctuation, digit, spacing, etc.
 
 
*[plurandy] is a character class, and will match any single character from the set inside the square brackets; [adlnpruy] means exactly the same
 
*[plurandy] is a character class, and will match any single character from the set inside the square brackets; [adlnpruy] means exactly the same
 
*the plus sign means ''one or more'' of the previous thing, so [plurandy]+ matches one or many of the characters in that class, one after the other
 
*the plus sign means ''one or more'' of the previous thing, so [plurandy]+ matches one or many of the characters in that class, one after the other
Line 25: Line 21:
 
*The slashes at each end mark out the pattern, and the "i" at the end is an expression qualifier means it is "case insensitive" (uppercase and lowercase match interchangeably)
 
*The slashes at each end mark out the pattern, and the "i" at the end is an expression qualifier means it is "case insensitive" (uppercase and lowercase match interchangeably)
  
Overall, it matches two words separated by a space, composed entirely of the letters in [plurandy], which is what all the names listed have in common. This could suggest that those letters are, to quote White Hat, intrinsically better.
+
Overall, it matches two words separated by a space, composed entirely of the letters in [plurandy], which is what all the names listed have in common.
 
   
 
   
 
{| class="wikitable"
 
{| class="wikitable"
Line 31: Line 27:
 
! Person !! Brief Description
 
! Person !! Brief Description
 
|-
 
|-
| style=white-space:nowrap | {{w|Ayn Rand}} || Author, best known for her novels ''{{w|The Fountainhead}}'' and ''{{w|Atlas Shrugged}}''.  
+
| style=white-space:nowrap | {{w|Ayn Rand}} || Author, best known for her novels {{w|The Fountainhead}} and {{w|Atlas Shrugged}}.  
 
|-
 
|-
| style=white-space:nowrap | {{w|Paul Ryan}} || US politician known to have been influenced by the writings of Ayn Rand.
+
| style=white-space:nowrap | {{w|Paul Ryan}} || US Politician known to have been influenced by the writings of Ayn Rand.
 
|-
 
|-
| style=white-space:nowrap | {{w|Rand Paul}} || US politician, also influenced by Ayn Rand's writings.
+
| style=white-space:nowrap | {{w|Rand Paul}} || US Politician, also influenced by Ayn Rand's writings.
 
|-
 
|-
 
| style=white-space:nowrap | {{w|Ann Druyan}} || Author, widow of {{w|Carl Sagan}}
 
| style=white-space:nowrap | {{w|Ann Druyan}} || Author, widow of {{w|Carl Sagan}}
Line 41: Line 37:
 
| style=white-space:nowrap | {{w|Paul Rudd}} || Actor, screenwriter, comedian
 
| style=white-space:nowrap | {{w|Paul Rudd}} || Actor, screenwriter, comedian
 
|-
 
|-
| style=white-space:nowrap | {{w|Alan Alda}} || Actor, best known for the role of Hawkeye Pierce in the TV series ''{{w|M*A*S*H (TV series)|M*A*S*H}}''. Also played Arnold Vinick, a fiscally-conservative Republican presidential candidate, in ''{{w|The West Wing}}''.  
+
| style=white-space:nowrap | {{w|Alan Alda}} || Actor, best known for the role of Hawkeye Pierce in the TV series M*A*S*H. Played Arnold Vinick, a fiscally-conservative Republican presidential candidate, in {{w|The West Wing}}.  
 
|-
 
|-
| style=white-space:nowrap | {{w|Duran Duran}} || New Wave/Rock band, named after the mad scientist antagonist in cult film ''{{w|Barbarella (film)|Barbarella}}'', who wishes to bring warfare back to civilization.
+
| style=white-space:nowrap | {{w|Duran Duran}} || New Wave/Rock band
 
|}
 
|}
  
As an aside, if the entirety of the title text is matched against the regular expression, it matches "and Duran" instead of "Duran Duran".
+
===Speculation===
  
===Speculation===
+
Since the primary virtue in Objectivist ethics is rationality (or, at least, "rationality" as defined by Rand: her critics argue that the conclusions she reached do not actually derive inevitably from her premises and that additional, unstated assumptions are necessary to make the system work), the implication may be that the random number generator favors rational numbers (numbers that can be written as a fraction, i.e. a quotient p/q). On the other hand, given computers cannot store numbers of unlimited length, it is, for all practical purposes, impossible for '''any''' real world computer random number generator to produce an irrational number - so probably not. &pi; is an irrational number. However, a random number generator can only ever generate a number of fixed length, and any fixed-length approximation of an irrational number, such as 3.14159, is just a rational number: 3.14159 = 314159/100000, and if it can be written as a fraction, it's not irrational.
Since the primary virtue in Objectivist ethics is rationality (or, at least, "rationality" as defined by Rand: her critics argue that the conclusions she reached do not actually derive inevitably from her premises and that additional, unstated assumptions are necessary to make the system work), the implication may be that the random number generator favors rational numbers (numbers that can be written as a fraction, i.e. a quotient p/q). On the other hand, given computers cannot store data of unlimited length, it is impossible for '''any''' real world computer random number generator to produce an irrational number in any of the usual integer or floating point representations—so probably not. (Although a computer could encode irrationals or generate them randomly if it uses another representation, one of the standard algebraic number representations, for instance.)  Alternately, an Objectivist might argue that if the intent of the comic is to attack or mock Objectivism, then the comic inadvertently satirizes itself via the "rationality" interpretation.
 
  
 
==Transcript==
 
==Transcript==
Line 63: Line 58:
 
[[Category:Philosophy]]
 
[[Category:Philosophy]]
 
[[Category:Math]]
 
[[Category:Math]]
[[Category:Puns]]
 
[[Category:Regex]]
 

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)