<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joel Grus</title>
	<atom:link href="http://joelgrus.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelgrus.com</link>
	<description>will someday be a famous author</description>
	<lastBuildDate>Sun, 09 Jun 2013 23:18:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Post-Prism Data Science Venn Diagram</title>
		<link>http://joelgrus.com/2013/06/09/post-prism-data-science-venn-diagram/</link>
		<comments>http://joelgrus.com/2013/06/09/post-prism-data-science-venn-diagram/#comments</comments>
		<pubDate>Sun, 09 Jun 2013 23:18:53 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[i_am_just_kidding]]></category>
		<category><![CDATA[i_for_one_welcome_our_new_all_surveilling_overlords]]></category>
		<category><![CDATA[please_dont_drone_me]]></category>
		<category><![CDATA[pretty_please_dont_drone_me]]></category>
		<category><![CDATA[some_of_my_best_friends_work_at_the_nsa]]></category>
		<category><![CDATA[you_wouldnt_drone_someone_over_a_joke_would_you]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=857</guid>
		<description><![CDATA[In light of recent revelations, here&#8217;s an updated version of Drew Conway&#8217;s Data Science Venn Diagram:]]></description>
				<content:encoded><![CDATA[<p>In light of recent revelations, here&#8217;s an updated version of Drew Conway&#8217;s <a href = "http://drewconway.com/zia/2013/3/26/the-data-science-venn-diagram">Data Science Venn Diagram</a>:</p>
<p><a href="http://joelgrus.com/wp-content/uploads/2013/06/VennDiagram2.png"><img src="http://joelgrus.com/wp-content/uploads/2013/06/VennDiagram2.png" alt="VennDiagram2" width="586" height="408" class="aligncenter size-full wp-image-867" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2013/06/09/post-prism-data-science-venn-diagram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESPN, Race, and Presidents</title>
		<link>http://joelgrus.com/2013/05/23/espn-race-and-presidents/</link>
		<comments>http://joelgrus.com/2013/05/23/espn-race-and-presidents/#comments</comments>
		<pubDate>Thu, 23 May 2013 13:40:30 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=852</guid>
		<description><![CDATA[Inspired by (and lifting large amounts of code from) Trey Causey&#8217;s investigation of the language that ESPN uses to discuss white and non-white quarterbacks, I similarly wondered about the language ESPN uses to discuss white and non-white Presidents. For instance, a common stereotype is that non-white Presidents assassinate their citizens using unmanned drones, while white <a href="http://joelgrus.com/2013/05/23/espn-race-and-presidents/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Inspired by (and lifting large amounts of code from) Trey Causey&#8217;s <a href = "http://thespread.us/blog/?p=39">investigation of the language that ESPN uses to discuss white and non-white quarterbacks</a>, I similarly wondered about the language ESPN uses to discuss white and non-white <i>Presidents</i>.  For instance, a common stereotype is that non-white Presidents assassinate their citizens using unmanned drones, while white Presidents assassinate their citizens using polonium-210.  Do such stereotypes creep into sportswriting?</p>
<p>Toward that end, I used <a href = "http://www.scrapy.org/">Scrapy</a> to scrape all the articles from the ESPN website that matched searches for (president obama), (president bush), (president clinton), and so on.  This gave me a total of 543 articles.  Then, using <a href = "https://en.wikipedia.org/wiki/Black_president#Presidents_and_presidential_candidates">Wikipedia</a>, <a href = "https://requester.mturk.com/tour/categorization">Mechanical Turk</a>, and a proprietary <a href = "http://en.wikipedia.org/wiki/Deep_learning">deep learning</a> model, I categorized each of these Presidents as either &#8220;white&#8221; or &#8220;non-white&#8221;.</p>
<p>Using <a href = "http://nltk.org/">NLTK</a>, I tokenized each article into sentences and then identified each sentence as being about </p>
<ul>
<li> one or more white Presidents
<li> one or more non-white Presidents
<li> both white and non-white Presidents
<li> no presidents
</ul>
<p>Curiously, while there were very few &#8220;non-white&#8221; Presidents, there were nonetheless about <i>four times as many</i> &#8220;non-white&#8221; sentences as &#8220;white&#8221; sentences.  (This is itself an interesting phenomenon that&#8217;s probably worth investigating.)</p>
<p>I then split each sentence into words and counted how many times each word appeared in &#8220;white&#8221;, &#8220;non-white&#8221;, &#8220;both&#8221;, and &#8220;none&#8221; sentences.  Like Trey, I followed the analysis <a href = "http://nbviewer.ipython.org/5105037">here</a>, similarly excluding stopwords and proper nouns, which I inferred based on capitalization patterns.</p>
<p>Finally, for each word I computed a &#8220;white percentage&#8221; and &#8220;non-white percentage&#8221; by looking at how likely that word was to appear in a &#8220;white&#8221; sentence or a &#8220;non-white&#8221; sentence and adjusting for the different numbers of sentences.</p>
<p>After all that, here are the words that were most likely to appear in sentences about &#8220;white&#8221; Presidents:</p>
<p>plaque 5<br />
severed 4<br />
grab 4<br />
investigation 3<br />
worn 3<br />
unable 3<br />
child 3<br />
suppose 3<br />
block 3<br />
living 3<br />
holders 3<br />
pounds 3<br />
ticket 3<br />
blackout 3<br />
thrown 3<br />
exercise 3<br />
scene 3<br />
televised 3<br />
upon 3<br />
executives 3</p>
<p>Clearly this reads like something out of &#8220;CSI&#8221; or possibly &#8220;CSI: Miami&#8221;.  If I were to make these words into a story, it would probably be something macabre like</p>
<blockquote><p>The President <b>grabbed</b> the <b>plaque</b> he&#8217;d secretly made from a <b>living</b> <b>child</b>&#8216;s <b>severed</b> foot and <b>worn</b> sock.  The <b>investigation</b> <b>supposed</b> a suspect weighing at least 200 <b>pounds</b> who could have <b>thrown</b> the victim down the <b>block</b>, not a feeble politician famous for his <b>televised</b> <b>blackout</b> when he tried to <b>exercise</b> but was <b>unable</b> to <b>grab</b> his toes.</p></blockquote>
<p>In constrast, here are the words most likely to appear in sentences about &#8220;non-white&#8221; Presidents:</p>
<p>bracket 32<br />
interview 21<br />
trip 16<br />
champions 16<br />
fan 48 1<br />
asked 35 1<br />
carrier 11<br />
celebrate 11<br />
thinks 11<br />
early 11<br />
eight 11<br />
personal 10<br />
picks 10<br />
appearance 10<br />
far 9<br />
hear 9<br />
congratulating 9<br />
given 9<br />
troops 9<br />
safety 9<br />
fine 9<br />
person 9</p>
<p>This story would have to be something uplifting like</p>
<blockquote><p>The President promised to raise taxes on every <b>bracket</b> before ending the <b>interview</b>.  As a huge water polo <b>fan</b>, he needed to catch a ride on an aircraft <b>carrier</b> for his <b>trip</b> to <b>celebrate</b> with the <b>champions</b>.  &#8220;Sometimes I get <b>asked</b>,&#8221; he <b>thinks</b>, &#8220;whether it&#8217;s too <b>early</b> to eat a <b>personal</b> pan pizza with <b>eight</b> toppings.  So <b>far</b> I always say that I <b>hear</b> it&#8217;s not.&#8221;  His <b>safety</b> is a <b>given</b>, since he&#8217;s surrounded by <b>troops</b> who are always <b>congratulating</b> him for being a <b>fine</b> <b>person</b> with a <b>fine</b> <b>appearance</b>.</p></blockquote>
<p>As you can see, it has a markedly different tone, but not in a way that obviously correlates with the stereotypes mentioned earlier.  Whatever prejudices lurk at ESPN are exceedingly subtle.</p>
<p>Obviously, this is only the tip of the iceberg.  The algorithm for identifying which sentences were about Presidents is pretty rudimentary, and the word-counting NLP techniques used here are pretty basic.  Another obvious next step would be to pull in additional data sources like <a href = "http://sports.yahoo.com/">Yahoo! Sports</a> or <a href = "http://sportsillustrated.cnn.com/">SI.com</a> or <a href = "http://msn.foxsports.com/">FOX Sports</a>.  </p>
<p>If you&#8217;re interested in following up, the code is all up on my <a href = "https://github.com/joelgrus/presidents">github</a>, so have at it!  And I&#8217;d love to hear your feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2013/05/23/espn-race-and-presidents/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three Keys to Successful Parenting</title>
		<link>http://joelgrus.com/2013/05/08/three-keys-to-successful-parenting/</link>
		<comments>http://joelgrus.com/2013/05/08/three-keys-to-successful-parenting/#comments</comments>
		<pubDate>Wed, 08 May 2013 13:15:35 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Joelene]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Parenting]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=844</guid>
		<description><![CDATA[Now that Madeline is two, it seems appropriate to declare myself a success as a parent. Which means it&#8217;s now appropriate for those of you with kids (as well as those of you thinking about having or abducting kids) to ask me, &#8220;Joel, what&#8217;s your secret?&#8221; Which means it&#8217;s now appropriate for me to say <a href="http://joelgrus.com/2013/05/08/three-keys-to-successful-parenting/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Now that Madeline is two, it seems appropriate to declare myself a success as a parent.  Which means it&#8217;s now appropriate for those of you with kids (as well as those of you thinking about having or abducting kids) to ask me, &#8220;Joel, what&#8217;s your secret?&#8221;  Which means it&#8217;s now appropriate for me to say &#8220;I&#8217;m glad you asked,&#8221; and then write a blog post about it.</p>
<p><b>1. Improv</b></p>
<p>I&#8217;m sure many of you wondered why I took all those improv classes, and why I made you come watch my improvised musical where we could only use words that started with a letter suggested by the audience, and why I didn&#8217;t stop the guy in the second row from choosing &#8216;X&#8217;, and why my song &#8220;Xerox Xevious&#8221; sounded exactly like &#8220;Summer of &#8217;69.&#8221;</p>
<p>Well, it turns out that improv is a very easy way to become a better parent.  (And that all of my songs sound exactly like &#8220;Summer of &#8217;69&#8243;.)</p>
<p><i>Before improv</i></p>
<p>&#8220;Daddy, can I have some more candy?&#8221;<br />
&#8220;No.  Go to bed.&#8221;</p>
<p><i>After improv</i></p>
<p>&#8220;Daddy, can I have some more candy?&#8221;<br />
&#8220;<a href = "http://sostark.net/post/4965998605/tina-feys-rules-of-improvisation-that-will-change-your">Yes, and</a> after your teeth rot and you become obese and get diabetes and have to have your foot amputated, then you should go to bed.&#8221;</p>
<p><i>Before improv</i></p>
<p>&#8220;Daddy, where do babies come from?&#8221;<br />
&#8220;Go ask your mother.&#8221;</p>
<p><i>After improv</i></p>
<p>&#8220;Daddy, where do babies come from?&#8221;<br />
[sits down on a plain black box, mimes that it's maybe some kind of pirate seat on some kind of pirate boat, and starts in a pirate accent] &#8220;Yarr, ye land lubbers always be asking me questions about babies &#8230; [10 minute monologue in a pirate voice about pirate-y things that cleverly <a href = "http://improvencyclopedia.org/glossary/Reincorporating.html">reincorporates</a> elements from earlier in the conversation] Arr, go ask the first mate!&#8221;</p>
<p><i>Before improv</i></p>
<p>&#8220;Daddy, I need to go to the bathroom.&#8221;<br />
&#8220;Again?  You just went!&#8221;</p>
<p><i>After improv</i></p>
<p>&#8220;Daddy, I need to go to the bathroom.&#8221;<br />
&#8220;DING! Now in the style of Shakespeare.&#8221;<br />
&#8220;Daddy, I need to go to the bathroom!&#8221;<br />
&#8220;DING! Now in the style of <i>film noir</i>.&#8221;<br />
&#8220;Daddy, I NEED to GO to the BATHROOM!&#8221;<br />
&#8220;DING! Now in the style of a fetish video.&#8221;<br />
&#8220;Daddy, I peed my pants.&#8221;<br />
&#8220;And scene!&#8221;</p>
<p><b>2. Radical Libertarianism</b></p>
<p>Most books (with the notable exception of *Praxeological Parenting*) will tell you that <i>moderate</i> libertarianism is all you need to be a good parent.  But there are a great many parenting problems that a belief in <a href = "http://en.wikipedia.org/wiki/Night-watchman_state">the night-watchman state</a> does little to solve.</p>
<p>For instance, when your kid doesn&#8217;t want to go to school because it&#8217;s a brainwashing factory designed to grind young impressionable minds into submission by (among other things) forbidding them from leaving their seats or talking &#8220;out of turn&#8221; or using the restroom without first obtaining permission, the <i>moderate libertarian</i> answer is typically to offer them a voucher that covers the tuition to a <i>different</i> brainwashing factory.  Your kid is unlikely to find this satisfying, for obvious reasons.</p>
<p>Similarly, when your kid wants to BitTorrent the Criterion Director&#8217;s Cut version of <i>Dora the Explorer</i>, the wishy-washy moderate libertarian &#8220;<a href = "http://knowyourmeme.com/photos/451368-piracy-its-a-crime">you wouldn&#8217;t download a <i>Dora the Explorer</i> handbag</a>!&#8221; position on intellectual property is not going to make her particularly happy.</p>
<p>And what will you tell her when she asks (as all kids inevitably do) how granting a monopoly on violence could possibly be a good way to prevent monopolies and violence? Or why the dinosaurs on &#8220;<a href = "http://www.moremuffins.com/2009/09/dont-ride-the-dinosaur-train-on-pbs/">Dinosaur Train</a>&#8221; are able to peaceably resolve their various conflicts despite living approximately 66 million years before the <i>invention of</i> government?  Or why it&#8217;s OK for the government to take pieces of paper out of daddy&#8217;s wallet just as long as they don&#8217;t take too many, while she gets punished for taking even one, and don&#8217;t try to give me any of that John Rawls &#8220;veil of ignorance&#8221; stuff, I might have bought that crap when I was an infant, but now that I&#8217;m TWO YEARS OLD the flaws in his &#8220;logic&#8221; are pretty glaringly obvious?</p>
<p>Whereas <i>radical</i> libertarianism easily sidesteps all these problems, making parenting a breeze (relatively speaking).</p>
<p><b>3. Trolling</b></p>
<p>Did you ever imagine that all those years you wasted trolling that idiot Marxist kid on LiveJournal debate would end up being useful?  Because they are!  Kids love being trolled! Love it! Here are a few of Madeline&#8217;s favorite trolls:</p>
<p><i>&#8220;My Hippo&#8221;</i></p>
<p>This one&#8217;s easy, you just pick up something that belongs to the kid (e.g. a stuffed hippo) and troll that it&#8217;s yours:</p>
<p>&#8220;Hey, my hippo.&#8221;<br />
&#8220;No, MY hippo!&#8221;<br />
&#8220;I&#8217;m pretty sure this is daddy&#8217;s hippo.&#8221;<br />
&#8220;No, MY hippo!&#8221;<br />
&#8220;Does it have your name on it?&#8221;<br />
&#8220;MY hippo!&#8221;<br />
&#8220;It was just lying on the floor and I homesteaded it.&#8221;<br />
&#8220;MY hippo!&#8221;<br />
&#8220;Have your protection agency call my protection agency and maybe we can work something out.&#8221;<br />
&#8220;MY hippo!&#8221;<br />
&#8220;Behind the veil of ignorance it could just as easily have been <i>my</i> hippo.&#8221;<br />
&#8220;MY hippo!&#8221;<br />
[ several hundred lines of dialogue removed due to space constraints ]<br />
&#8220;Yeah, but what does it really <i>mean</i> to &#8216;own&#8217; something?&#8221;<br />
&#8220;MY hippo!&#8221;<br />
&#8220;And scene!&#8221;</p>
<p><i>&#8220;Science Project&#8221;</i></p>
<p>Part of being a parent is helping your kids with science projects, so help them &#8220;demonstrate&#8221; something that isn&#8217;t real, like cold fusion, or quantum computing, or evolution.  Chances are their teachers won&#8217;t know the difference, which makes it also work on another level.</p>
<p><i>&#8220;9/11 Trutherism&#8221;</i></p>
<p>Kids will believe just about <i>anything</i>, even that that third WTC 7 skyscraper would just collapse on its own despite <a href = "http://wtc7.net/">not even being hit by a plane</a>. Even so, it&#8217;s not very hard to convince them that the towers were brought down on 9/11 by controlled demolition using explosives secretly planted in advance by the government in order to create an excuse to invade Iraq and Afghanistan in order to pave the way for a new American hegemony.  And then they&#8217;ll repeat this on the playground, and then you&#8217;ll get called in for a parent-teacher conference at which you can reveal that you&#8217;d assumed that she&#8217;d picked these theories <i>from the playground</i>, which means that if she didn&#8217;t then maybe she just came up with them on her own?  And that if the official narrative is so shoddy that a 2-year-old can pick holes in it, then maybe Alex Jones is onto something!</p>
<p><i>&#8220;The Craigslist Experiment&#8221;</i></p>
<p>OK, so possibly there are some kinds of trolling kids don&#8217;t like.</p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2013/05/08/three-keys-to-successful-parenting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Should you get a Ph.D.?</title>
		<link>http://joelgrus.com/2013/04/16/should-you-get-a-ph-d/</link>
		<comments>http://joelgrus.com/2013/04/16/should-you-get-a-ph-d/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 03:02:07 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=841</guid>
		<description><![CDATA[No.]]></description>
				<content:encoded><![CDATA[<p>No.</p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2013/04/16/should-you-get-a-ph-d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vegas with a Lap Infant</title>
		<link>http://joelgrus.com/2013/03/16/vegas-with-a-lap-infant/</link>
		<comments>http://joelgrus.com/2013/03/16/vegas-with-a-lap-infant/#comments</comments>
		<pubDate>Sat, 16 Mar 2013 18:28:50 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Joelene]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=835</guid>
		<description><![CDATA[Madeline is about to turn two, which is the magical age at which kids transition from fly-for-free lap infants to requires-a-ticket-and-some-sort-of-kid-specific-restraint-and-did-I-mention-a-ticket seat toddlers. Which meant we needed to squeeze in one last vacation. And since Seattle weather kind of sucks, we wanted to go somewhere where the weather was nice. And since flying with a <a href="http://joelgrus.com/2013/03/16/vegas-with-a-lap-infant/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Madeline is about to turn two, which is the magical age at which kids transition from fly-for-free <i>lap infants</i> to requires-a-ticket-and-some-sort-of-kid-specific-restraint-and-did-I-mention-a-ticket <i>seat toddlers</i>.  Which meant we needed to squeeze in one last vacation.  And since Seattle weather kind of sucks, we wanted to go somewhere where the weather was nice.  And since flying with a lap infant also kind of sucks, we wanted to go somewhere that wasn&#8217;t too far away.  Hence Vegas.</p>
<p>You might think Vegas an unorthodox place to take a two-year-old.  Now that I&#8217;ve finally been here, I&#8217;m inclined to agree with you.  Nonetheless, with a few caveats, Vegas is an awesome place to bring a lap infant.</p>
<p><b>1. You have to like to walk</b></p>
<p>Really, you have to like to walk.  I forgot to own a pedometer, but based on the amount of grime that has accumulated on my shoes and a fairly elaborate spreadsheet, I estimate that we&#8217;ve been walking somewhere between 3 and 5 miles a day.  Generally speaking, we are not stroller people, we are &#8220;let Madeline walk when she wants to, and carry her the rest of the time&#8221; people.  This works fine when you walk about a mile a day.  This does not work fine when you walk five miles, and our first day here ended with severe backaches.</p>
<p>Naturally, we didn&#8217;t even bring a stroller, so on the second day I hoofed it another 1.5 miles to the nearest Target and bought their cheapest $20 stroller, which was pink.  (Then I took a bus back and got yelled at for trying to bring a coffee on the bus, where do you think you are, Seattle, and got chatted up by a junkie who assured me that if he had kids he never would have started using.)  Being a $20 stroller, it is a complete piece of junk, and so of course Madeline has grown completely attached to it, has named it (&#8220;Pink&#8221;, imaginatively), and will probably cry when I throw it into the dumpster behind the hotel at check out, as is my plan.</p>
<p>Anyway, just about everywhere on the Strip is at least a 30-minute walk from anywhere else on the Strip.  There&#8217;s kind of no way around this.  Say you want to support your Wazzou Cougs, who are playing basketball in the Pac-12 Tournament, which &#8212; in order to show that gambling on college sports is in no way acceptable &#8212; is being held at the MGM Grand.  Aha, you think, to make things convenient I&#8217;ll just stay at the MGM Grand myself.  What you failed to account for is that the MGM Grand is <i>itself a 30-minute walk from the MGM Grand</i>, past a Rainforest Cafe, several Joël Robuchon Ateliers, and about a gazillion slot machines with Gen-X enticing themes like &#8220;Ghostbusters&#8221; and &#8220;Ghostbusters II&#8221; and &#8220;On Our Own (Theme from Ghostbusters II)&#8221;.</p>
<p>Additionally, in most non-Strip parts of the world, if you can <i>see</i> something it is generally close by.  However in Las Vegas all of the hotels are built at grotesquely unintuitive scale, so that if you can see (say) the Bellagio then it&#8217;s likely (but not certain) that you could probably walk there in less than an hour, although your walk &#8212; despite both starting and ending at street level &#8212; will involve a bewildering variety of elevation changes, most of which involve escalators that you will get yelled at by security for bringing a stroller on, requiring you to ride a bewildering variety of foul-smelling elevators with a bewildering variety of obese people riding a bewildering variety of rented mobility scooters.  </p>
<p><b>2. You have to like to eat</b></p>
<p>Lap infants are not allowed to gamble, are not allowed <i>near</i> gambling, not even if you just want to sit in the Rockin&#8217; Sensory Immersion Surround Sound Gaming Chair of the <a href = "http://www.youtube.com/watch?v=NV45Ddne4do">KISS slot machine</a> one more time so that you can &#8220;UNLOCK THE STARCHILD&#8221;.  Lap infants are not allowed to see PEEPSHOW, featuring Coco of E!&#8217;s &#8220;Ice Loves Coco&#8221;.  Lap infants are not allowed into the bar at Cabo Wabo, Coyote Ugly, or the Tabú Ultra Lounge.</p>
<p>They are, however, allowed into buffets, which all have a &#8220;kids 3 and under eat free&#8221; policy, which makes them good places for your lap infant to practice eating with utensils, since even if she drops every spoonful of creme brulee on the floor or her lap you can just grab a few more ramekins and try again, and even if she pukes up an entire cheese omelet you can just get another one.</p>
<p>Suffice it to say that we ate a lot of buffets in Las Vegas, here is how I would rank them:</p>
<p>1. The Bacchanal Buffet at Caesar&#8217;s Palace<br />
2. The Wicked Spoon Buffet at the Cosmopolitan<br />
3. just about every other buffet in Las Vegas<br />
4. Le Buffet aux Paris Las Vegas</p>
<p>Supposedly there are also non-buffet places to eat in Vegas, many of them named after chefs who have appeared on television programs and/or have French-sounding names.  I wouldn&#8217;t know anything about those.</p>
<p><b>3. You have to like to spend money</b></p>
<p>Vegas is not cheap.  Sure, you could stay at <a href = "http://www.terriblescasinos.com/">Terrible&#8217;s</a>, where I think they actually pay <i>you</i> to sleep and eat, and where the $9.99 Sunday Champagne Buffet Brunch is deservedly legendary.  But it is a long, long walk from the strip, past a variety of foul-smelling homeless people, and past the same three HOT ASS ESCORTS advertisement dispensers over and over and over again.  (Also, the hipsters at Yelp are <a href = "http://www.yelp.com/biz/terribles-hotel-and-casino-las-vegas">kind of down on the place</a>.)</p>
<p>However, if you want to stay and eat at one of the casinos named after birds, or dead people, or capitals of France, it&#8217;s going to cost you.  If you want to eat at one of the buffets where &#8220;angry&#8221; describes the mac and cheese and not the service, it&#8217;s going to cost you.  If you want your frozen sex-on-the-moon grape-raspberry dacquiri in the 32-ounce souvenir neck-lanyard yard-tube container, it&#8217;s going to cost you.  And then you look back and realize that all the money you saved not buying the baby a plane ticket you spent on a dessert named after Emeril Lagasse and on getting your picture taken with a weirdo dressed like SpongeBob SquarePants dressed like a showgirl.</p>
<p><b>4. You have to like kid-friendly activities</b></p>
<p>Surprisingly, there are a few kid-friendly activities in Vegas.  Lap infants are kind of at that sweet spot where they like to look at flashing lights and captive flamingos and garish costumes, but where they are too young to ask awkward questions like &#8220;Daddy, what&#8217;s a &#8216;hot ass escort&#8217;?&#8221; and &#8220;Daddy, isn&#8217;t it cruel to clip flamingos&#8217; wings and put them on display for a bunch of drunken gamblers?&#8221; and &#8220;Daddy, what does &#8216;Cabo Wabo&#8217; mean?&#8221; at which point you have to have <i>the talk</i> about the unlistenable &#8220;Van Hagar&#8221; years.</p>
<p>The Circus Circus (&#8220;What kind of circus?&#8221; &#8220;A <i>circus</i> circus!&#8221;) has an &#8220;AdventureDome&#8221; that contains three rides suitable for lap infants (who ride free as long as their parent buys a $5 ticket), one of which is a terrifying school-bus-themed ride which helps prepare lap infants for their mind-numbing trips through the public education system.</p>
<p>The Mandalay Bay (&#8220;What kind of bay?&#8221; &#8220;A <i>Mandalay</i> bay!&#8221;) has a &#8220;Shark Reef&#8221; that is not actually a reef (due to acquarium acidification, I suppose) but does have a handful of sharks and a manta ray petting zoo that&#8217;s surprisingly fun to frighten lap infants with.</p>
<p>The Excalibur (&#8220;What kind of caliber?&#8221;) has a &#8220;Tournament of Kings&#8221;, which involves horses and swords and broasted chicken and pyrotechnics and a mediocre A/V system that makes it impossible to understand whether Merlin the Wizard is telling you that you&#8217;re supposed to tip your servers or that you&#8217;re not supposed to tip your servers.</p>
<p>The Bellagio has a pretty incredible fountain show where they play <a href = "http://www.youtube.com/watch?v=Q65KZIqay4E">Lee Greenwood</a> and shoot water around in patriotic patterns, and the Mirage has a pretty incredible volcano show, which is fun to explain to your lap infant as a manifestation of the gods&#8217; anger, which can only be assuaged by throwing a lap infant into the volcano.  </p>
<p>If your lap infant has reached the age of obsession with choo choo trains, then you can spend the day riding the Las Vegas Monorail (after a bewildering trek through one of the casinos using a bewildering variety of elevators to reach one of the stations), where she can happily yell out &#8220;choo choo train!&#8221; over and over again all the while watching a bunch of drunk bros putting their lamest moves on a group of amateurishly-tattooed girls from Canada (&#8220;whoa, you&#8217;re from Canada, that&#8217;s so awesome, eh!&#8221;).</p>
<p>There is also a supposedly-family-friendly &#8220;Tribute to Red Skelton&#8221; show, which Madeline refused to see for <a href = "http://www.snopes.com/glurge/skelton.asp">political reasons</a>.</p>
<p>All that said, bringing a lap infant also means you can&#8217;t eat at one of the Joël Robuchon Ateliers or see the &#8220;Steve-O and Tom Green Stand-Up Comedy Extravaganza&#8221; or slap Kathy Griffin, not unless you&#8217;re willing to pawn your father&#8217;s watch in order to afford the services of a Vegas Babysitter, who is sort of like a nanny except infinitely more expensive.  (And you would have already had to pawn your father&#8217;s watch in order to put a deposit down on your Joël Robuchon meal anyway.)</p>
<p>In conclusion, Vegas is sort of like Disneyland for lap infants, except </p>
<p>(a) Vegas is cheaper<br />
(b) Vegas is more fun<br />
(c) the Mickey Mouse impersonators in Vegas have crappier costumes<br />
(d) Vegas is marginally less evil</p>
<p>Highly recommend!</p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2013/03/16/vegas-with-a-lap-infant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secrets of Fire Truck Society</title>
		<link>http://joelgrus.com/2013/02/25/secrets-of-fire-truck-society/</link>
		<comments>http://joelgrus.com/2013/02/25/secrets-of-fire-truck-society/#comments</comments>
		<pubDate>Tue, 26 Feb 2013 00:16:40 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[data science]]></category>
		<category><![CDATA[ignite]]></category>
		<category><![CDATA[ignite strata]]></category>
		<category><![CDATA[strata]]></category>
		<category><![CDATA[strata 2013]]></category>
		<category><![CDATA[talks]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=828</guid>
		<description><![CDATA[Hi, I gave a talk at Ignite Strata on &#8220;Secrets of Fire Truck Society&#8221; and at the end I promised that for more information you could visit this blog. Unfortunately, I haven&#8217;t had time to write a blog post. Here are some links to tide you over until I do: My Slides My Code Seattle <a href="http://joelgrus.com/2013/02/25/secrets-of-fire-truck-society/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Hi, I gave a talk at <a href = "http://strataconf.com/strata2013/public/schedule/detail/28194">Ignite Strata</a> on &#8220;Secrets of Fire Truck Society&#8221; and at the end I promised that for more information you could visit this blog.  Unfortunately, I haven&#8217;t had time to write a blog post.  Here are some links to tide you over until I do:</p>
<ul>
<li><a href = "http://www.slideshare.net/joelgrus/joel-grus-secretsoffiretrucksociety">My Slides</a></li>
<li><a href = "https://github.com/joelgrus/fire">My Code</a></li>
<li><a href = "http://www2.seattle.gov/fire/realtime911/getDatePubTab.asp">Seattle Real Time 911</a></li>
<li><a href = "http://en.wikipedia.org/wiki/Centrality#Eigenvector_centrality">My &#8220;TruckRank&#8221; Algorithm</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2013/02/25/secrets-of-fire-truck-society/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>On On Leaving Academia</title>
		<link>http://joelgrus.com/2012/07/24/on-on-leaving-academia/</link>
		<comments>http://joelgrus.com/2012/07/24/on-on-leaving-academia/#comments</comments>
		<pubDate>Wed, 25 Jul 2012 03:51:54 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Economics]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=807</guid>
		<description><![CDATA[Several people in my influencesphere have linked to this essay by a CS prof who&#8217;s leaving academia to join Google in order to &#8220;make a positive difference in the world.&#8221; I am, of course, wholly supportive of such a program, if not of his precise rationale, which is a mish-mash of ranting about wicked Republicans <a href="http://joelgrus.com/2012/07/24/on-on-leaving-academia/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Several people in my influencesphere have linked to <a href = "http://cs.unm.edu/~terran/academic_blog/?p=113">this essay</a> by a CS prof who&#8217;s leaving academia to join Google in order to &#8220;make a positive difference in the world.&#8221;  I am, of course, wholly supportive of such a program, if not of his precise rationale, which is a mish-mash of ranting about wicked Republicans and wild-eyed idealism about the Academy.</p>
<p>What interests me most about his essay is the section entitled &#8220;Mass Production Of Education&#8221;, which is misguided in all the ways you&#8217;d expect from someone steeped in the culture of &#8220;<a href = "http://en.wikipedia.org/wiki/Bespoke">bespoke</a>&#8221; education.  It lists three &#8220;worries&#8221;:</p>
<blockquote><p>First, I worry that mass-production here will have the same effect that it has had on manufacturing for over two centuries: administrators and regents, eager to save money, will push for ever larger remote classes and fewer faculty to teach them.</p></blockquote>
<p>Said differently, technologies that allow fewer faculty to teach the same number of students will allow universities to operate with fewer faculty.  Let&#8217;s call this worry &#8220;<a href = "http://en.wikipedia.org/wiki/Luddite">Luddism</a>&#8220;.  I love a good loom-smashing as much as the next guy, but it&#8217;s sort of hard to take seriously a preference for the 19th-century manufacturing regime.  </p>
<p>It seems likely that in a hundred years our grandchildren and those of us who&#8217;ve successfully been cryonically revived will share a laugh about how &#8220;education&#8221; used to involve crowding people into a room and making them sit still while someone stood up front and lectured at them.  And then someone will brain-cast a ludicrous hyper-essay about how 4-D printing is democratizing the singularity, pining for the good old days of 3-D printing.  And so on.</p>
<blockquote><p>Second, I suspect that the “winners win” cycle will distort academia the same way that it has industry and society. When freed of constraints of distance and tuition, why wouldn’t every student choose a Stanford or MIT education over, say, UNM?</p></blockquote>
<p>Said differently (and with apologies to UNM, which I&#8217;m sure is a fine school), if every student has access to cheap, high-quality education, few of them will choose to pursue a low-quality education.  It is easy to see how purveyors of low-quality education might worry about this, but it&#8217;s hard to imagine why anyone else should.  </p>
<blockquote><p>Are we approaching a day in which there is only one professor of computer science for the whole US?</p></blockquote>
<p>Seems pretty unlikely, but if we were that would be <i>awesome</i> because it would free up all the other computer science Ph.D.s, many of whom are brilliant, to <i>do other stuff</i> (like building Groupon and Pinterest clones)!  This would be sad for the ones who really, really, really want to be teachers, but on balance it would be a huge win for the world.</p>
<blockquote><p>Third, and finally, this trend threatens to kill some of what is most valuable about the academic experience, to both students and teachers. At the most fundamental level, education happens between individuals — a personal connection, however long or short, between mentor and student.</p></blockquote>
<p>I have no idea how to say this differently, so I won&#8217;t try.  Having been a teacher, I agree that the <i>most rewarding</i> moments happened between individuals.  (Particularly when one of the individuals was the cute goth freshman girl who aced all the quizzes but still came to office hours.)  Were those the <i>most valuable</i> parts of the teaching experience?  Less clear.  What&#8217;s more clear is that what was/is most valuable about my experience as a <i>student</i> was/is <i>learning stuff</i>.  And these days most of what I know that&#8217;s useful I&#8217;ve learned from books or doing or even Coursera, not from the academy.  I&#8217;ve broadened my horizons by pleasure reading, by arguing on LiveJournal, by discussions with peers on geek hikes far more than I ever did through school.  With very few exceptions, my most profound intellectual connections have been with people I met outside of the school system.  </p>
<blockquote><p>It resonates at levels far deeper than the mere conveyance of information &#8212; it teaches us how to be social together and sets role models of what it is to perform in a field, to think rigorously, to be professional, and to be intellectually mature.</p></blockquote>
<p>I suspect you have to have spent your whole life in academia to seriously assert that &#8220;the human connection in education&#8221; is the only path to these things, or even the easiest path to these things.  College taught me how to play the same juvenile bulshytt status games we played in high school but at a slightly higher level.  College professors were (sometimes) great role models for how to behave if you ever became a college professor, but not for much else.  The levels of professionality and intellectual maturity I experienced in the academy were certainly no greater than I&#8217;ve experienced in the real world.  I will freely admit to learning rigor (some would say too much rigor) while studying mathematics, which primed me to recognize the lack of rigor in so many other fields.  </p>
<blockquote><p>I am terribly afraid that our efforts to democratize the process will kill this human connection and sterilize one of the most joyful facets of this thousand-year-old institution.</p></blockquote>
<p>Said differently, &#8220;we fear change&#8221;.  Hopefully at Google he&#8217;ll learn to stop saying &#8220;democratize&#8221;, and maybe he&#8217;ll even meet a Republican or two.  There must be one or two Republicans at Google, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2012/07/24/on-on-leaving-academia/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Hardest Job There Is</title>
		<link>http://joelgrus.com/2012/04/13/the-hardest-job-there-is/</link>
		<comments>http://joelgrus.com/2012/04/13/the-hardest-job-there-is/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 14:40:54 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Joelene]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=796</guid>
		<description><![CDATA[One summer during college I was stringing together temp jobs in order to make money so that I could afford to go out with my friends at night and play &#8220;Star Trek&#8221; pinball. (I would have preferred, of course, to spend my summer developing my idea for a &#8220;group couponing&#8221; website, but as the summer <a href="http://joelgrus.com/2012/04/13/the-hardest-job-there-is/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>One summer during college I was stringing together temp jobs in order to make money so that I could afford to go out with my friends at night and play &#8220;Star Trek&#8221; pinball.  (I would have preferred, of course, to spend my summer developing my idea for a &#8220;group couponing&#8221; website, but as the summer in question predated widespread adoption of the Internet, the decision was out of my hands.)</p>
<p>These were super-boring temp jobs, involving things like data-entering anonymous &#8220;secret shopper&#8221; surveys for Jersey Subs, filing papers alphabetically, and going through medical bills with a red pen to make sure that the prices didn&#8217;t exceed prescribed rates.  (The last was the worst, as their computer system ran on <a href = "https://en.wikipedia.org/wiki/OS/2">OS/2</a>, which some genius decided should have <i>chess</i> rather than Minesweeper, which made it very difficult to blow off steam after decimating a particularly tough bill, which is why I originally took up amphetamines.)</p>
<p>At some point the temp work simply dried up, possibly because there were no more medical bills, possibly because no one was willing to eat at Jersey Subs anymore, possibly because of the amphetamines.  And so my dad arranged it that I could work for a friend of his who owned a warehouse of surplus metal parts.</p>
<p>What were these metal parts?  I have no idea.  They were large and heavy and in bins on pallets, and it&#8217;s possible they were used to repair trains, or in air conditioning, or as weapons.  They came in various shapes and sizes and weights (heavy *and* very heavy), and every day orders would pour into the warehouse that some company wanted 137 of the metal pieces from bin A17.  My job, then, was to retrieve bin A17 (which involved a forklift, which was sort of cool, except that I never got the hang of rear-wheel steering and always ended up crashing into things) and get an empty pallet and then manually choose 137 of the least-rusty metal pieces from bin A17 and pile them onto the empty pallet, all the while counting (and then double-counting) to make sure that there were indeed exactly 137 of them.  Then I&#8217;d put the bin back and move on to the next order of 94 metal pieces from bin C29, and so on, and so forth.</p>
<p>(To this day, it is tough for me to imagine a job that is a worse mismatch for my aptitudes and preferences, except possibly for building model histories of men&#8217;s shoes.)</p>
<p>At the end of each day I would collect my pay (which was itself in non-descript metal pieces) and go home and take painkillers and try to scrub all the fine metal grit off my skin and try to cough all the fine metal grit out of my lungs and then cry myself to sleep and have nightmares about counting metal pieces.  All of which, quite obviously, left no time for &#8220;Star Trek&#8221; pinball.</p>
<p>And so after a week, over the vociferous objections of my parents, who insisted that the metal pieces I was earning were likely to represent the difference between success and failure in life, I quit.  Accordingly, I have blamed the various subsequent failures in my life on the metal pieces that never were.</p>
<p>So it stood until this week, when Hilary Rosen (who, for reasons inexplicable to me, is still allowed to show her face in public after her stint running the RIAA) made some crack disparaging Mitt Romney&#8217;s wife for being a stay-at-home mom.  Tactically this was moronic, as everyone knows plenty of admirable stay-at-home moms, and also everyone knows that the most fruitful line of attack on Mitt Romney&#8217;s wife is that she <i>married Mitt Romney</i>, and let&#8217;s see how her &#8220;the angel Moroni pointed a shotgun at us and said we had to&#8221; excuse plays in the court of public opinion.</p>
<p>Which means that everyone and his brother is rushing to throw Hilary Rosen under one of a variety of buses.  Bill Donohue, for instance, wants to throw her under some sort of &#8220;lesbian parent&#8221; bus, which I&#8217;m pretty sure runs on biodiesel, and I would love to throw her under the &#8220;she ran the RIAA, which means that nothing she says should ever be listened to by anyone ever&#8221; bus, but most people are focusing on the old &#8220;<a href = "http://www.washingtonpost.com/blogs/the-fix/post/ann-romney-i-know-what-its-like-to-struggle/2012/04/12/gIQA9tOqCT_blog.html">parenting is the hardest job there is</a>!&#8221; bus.</p>
<p>It turns out, though, that I&#8217;m a parent, and so I happen to know that <b>PARENTING IS NOT EVEN CLOSE TO THE HARDEST JOB THERE IS</b>.  Metal piece warehouse was a harder job.  Burger King was a harder job.  Even MATH FREAKING GRAD SCHOOL was a harder job.  (As some versions of the bus insist that only <i>mothering</i> is the hardest job, I double-checked with Ganga, and she agrees with my analysis.)</p>
<p>That&#8217;s not to say that parenting isn&#8217;t work.  It is, and occasionally it&#8217;s even very unpleasant work, like when it&#8217;s 3am and the baby won&#8217;t sleep and will scream if you don&#8217;t rock her, and you still haven&#8217;t prepared your slides for your 8am meeting with Hilary Rosen to present your new plan for permanently ruining the lives of music-downloading teenagers, and all you want to do is sleep and use your dreams to figure out a way to pretend like you care about &#8220;artists&#8221;.  Or when she poops on you.  (The baby, not Hilary Rosen, although that also sucks.)  Or when you&#8217;re trying to write a blog post making fun of Hilary Rosen and the baby won&#8217;t stop screaming in your ear and banging on your keywinevsoivdkdsvl</p>
<p>But parenting is also a lot of <i>fun</i>.  It&#8217;s a huge joy when you finally teach your kid how to <a href = "https://www.youtube.com/watch?v=6UV3kRV46Zs">Chicken Dance</a>, or when she learns to swear, or the first time she asks you &#8220;please can you read me one more chapter before bed, daddy?&#8221; of <i>Atlas Shrugged</i>.  No metal part ever even asked me about <i>The Fountainhead</i>!</p>
<p>I recognize that it&#8217;s uncharacteristic of me to stake out the middle ground like this, but I guess having a kid has been a deeply moderating influence and has taught me the value of compromise.  So can&#8217;t we all just agree that parenting is nowhere near as hard as sorting and lifting and counting metal parts, that Hilary Rosen has no place in polite society, and that babies love <i>Atlas Shrugged</i>?</p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2012/04/13/the-hardest-job-there-is/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why Have You Not Signed Up For BIL Already?</title>
		<link>http://joelgrus.com/2012/02/20/why-have-you-not-signed-up-for-bil-already/</link>
		<comments>http://joelgrus.com/2012/02/20/why-have-you-not-signed-up-for-bil-already/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 15:04:09 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[BIL]]></category>
		<category><![CDATA[Intellectual Property]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=784</guid>
		<description><![CDATA[I&#8217;m sure you&#8217;ve heard of TED, which is a really expensive, really exclusive annual conference at which famous and/or accomplished people give lectures to wealthy and/or lucky people. Surprisingly, despite my fame, accomplishments, wealth, and luck, I have never been invited to attend or lecture. (Actually, it&#8217;s not that surprising, given that they once gave <a href="http://joelgrus.com/2012/02/20/why-have-you-not-signed-up-for-bil-already/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m sure you&#8217;ve heard of TED, which is a really expensive, really exclusive annual conference at which famous and/or accomplished people give lectures to wealthy and/or lucky people.  Surprisingly, despite my fame, accomplishments, wealth, and luck, I have never been invited to attend or lecture.  (Actually, it&#8217;s not that surprising, given that they once gave their TED Prize to <a href = "http://www.tedprize.org/2008-winners/#armstrong">Karen Armstrong</a>, my mortal enemy, and that they seem to like <a href = "http://www.ted.com/talks/nathan_myhrvold_cut_your_food_in_half.html">Nathan Myhrvold</a>, my other mortal enemy.<sup>1</sup>)</p>
<p>Luckily for me, there is <s><a href = "http://www.youtube.com/watch?v=uWxcnl8PL_o">a non-union, Mexican equivalent</a></s> an open-source equivalent, the <a href = "http://www.bilconference.com/">BIL conference</a>, which costs only $50, and which is open to pretty much everyone.  Three years ago they were kind enough to let me give my &#8220;<a href = "http://www.bilconference.com/videos/your-religion-is-false-joel-grus/">Your Religion Is False</a>&#8221; talk, and then two years ago they didn&#8217;t firm up the date until it was too late for me to make travel plans, and then last year they let me give my lukewarmly-received &#8220;How To Be Funny&#8221; talk.  </p>
<p>This year I plan to outdo them all with my balanced discussion of intellectual property: &#8220;Hitler Loved Patents&#8221;.  Although I have spent the majority of the past 10 years arguing on the Internet about intellectual property with various weirdos and libertarians and weirdo libertarians and libertarian weirdos, it has only recently become acceptable to express my views in public.  And what better way than through a profanity-laden speed-talking Powerpoint presentation?</p>
<p>There will, of course, be <a href = "http://bilconference.pbworks.com/w/page/49917283/BIL%202012-%20Speakers">a large number of other talks</a>, many of which will be almost as entertaining and/or compelling as mine.  There will also be, I&#8217;m told, a &#8220;sex-positive boiler room&#8221;<sup>2</sup> and some sort of lockpicking workshop, one or both of which certainly addresses your hesitations about attending.  </p>
<p>If it&#8217;s anything like last year, there will also be interesting breaks between sessions, where BILders socialize and where crazy people grab the empty mics and perform spoken-word-poetry-ish rants about free energy and capitalism, all the while people chuckle nervously and wonder whether this is a scheduled part of the performance or simply the result of too little security.  There might be coffee too.</p>
<p>There will certainly be a huge assortment of burners, transhumanists, futurists, cryonicists, libertarians, anti-libertarians, polyamorists, monoamorists<sup>3</sup>, objectivists, subjectivists, artists, crossfitters, politicians, entertainers, hosts of invention-related television shows, hackers, humorists, Paul Grasshoffs, atheists, and doers and makers of all types.  Many of them are my good friends, and many more will be by the time the weekend is over.  (Also, many of them will be my <i>enemies</i> by the end of the conference, since you can&#8217;t exactly tell people that the industry they&#8217;ve dreamed of working in their whole lives is morally on par with the death gulags without alienating a few folks, but such is the price of progress.)</p>
<p>In addition, the whole event takes place on a boat, which has some sort of giggly significance that is lost on me but probably has something to do with some creepy anime that everyone except me downloads and watches illegally.  </p>
<p>Anyway, Long Beach really isn&#8217;t that far from wherever you are, and $50 is less money than you&#8217;d spend buying a dozen <a href = "http://www.carlsjr.com/menu/charbroiled-burgers/the-original-six-dollar-burger/">Original Six Dollar Burger®s</a> at Carl&#8217;s Junior, so why have you not signed up already?  And in the event you need burgers that badly, Simone gave me <a href = "http://bil2012.eventbrite.com/?discount=BILGrus">this code for 20% off the registration</a>, which will save you $10, which means you&#8217;ll still be able to buy two of those tasty, tasty Original Six Dollar Burger®s<sup>4</sup> <i>and</i> have the conference weekend of your life.</p>
<p>So I guess I&#8217;m not really sure what your objection is at this point.  Sometimes I hear &#8220;Joel, you&#8217;re biased because the whole event is organized and produced by your friends,&#8221; and sometimes I hear &#8220;Joel, surely you&#8217;re on the take from the Long Beach Convention and Visitors Bureau and/or Carl&#8217;s Jr.,&#8221; and still other sometimes I hear &#8220;Joel, you recommended that I attend the Libertarian National Convention in Anaheim in 2000, and that really sucked,&#8221; to which I can only respond, &#8220;were you at the same Libertarian Convention I was at, because I guarantee you that that was the most fun that anyone&#8217;s ever had in Anaheim in the history of mankind.&#8221;</p>
<p>So can you just go ahead and <a href = "http://www.facebook.com/l.php?u=http%3A%2F%2Fbil2012.eventbrite.com%2F%3Fdiscount%3DBILGrus&#038;h=VAQGlXP8Q">sign up already</a>?</p>
<p><small>1. I&#8217;m only ten and I already got two mortal enemies.</small><br />
<small>2. No, I have no idea what this is either, although I suspect it has something to do with high-pressure stock trading.</small><br />
<small>3. Monoamorists.  It&#8217;s a word.  Look it up.</small><br />
<small>4. Six-dollars is what you put on your tax return, but the cash price is closer to $4.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2012/02/20/why-have-you-not-signed-up-for-bil-already/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hacking Hacker News</title>
		<link>http://joelgrus.com/2012/02/16/hacking-hacker-news/</link>
		<comments>http://joelgrus.com/2012/02/16/hacking-hacker-news/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 02:07:30 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://joelgrus.com/?p=754</guid>
		<description><![CDATA[Hacker News, if you don&#8217;t know it, is an aggregator / forum attached to Y Combinator. People submit links to news stories and blog posts, questions, examples, and so on. Other people vote them up or down, and still other people argue about them in the comments sections. If you have unlimited time on your <a href="http://joelgrus.com/2012/02/16/hacking-hacker-news/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href = "http://news.ycombinator.com/">Hacker News</a>, if you don&#8217;t know it, is an aggregator / forum attached to <a href = "http://ycombinator.com/">Y Combinator</a>.  People submit links to news stories and blog posts, questions, examples, and so on.  Other people vote them up or down, and still other people argue about them in the comments sections.</p>
<p><img src="http://joelgrus.com/wp-content/uploads/2012/02/hn.png" alt="" title="hn" width="553" height="165" class="aligncenter size-full wp-image-774" /></p>
<p>If you have unlimited time on your hands, it&#8217;s an excellent firehose for things related to hacking.  If your time is more limited, it&#8217;s more challenging.  People submit hundreds of stories every day, and even if you only pay attention to the ones that get enough votes to make it to the homepage, it&#8217;s still overwhelming to keep up:</p>
<p><img src="http://joelgrus.com/wp-content/uploads/2012/02/hackernewsunread.png" alt="" title="hackernewsunread" width="216" height="122" class="aligncenter size-full wp-image-755" /></p>
<p>What&#8217;s more, a lot of the stories are about topics that are boring, like OSX and iPads and group couponing.  So for some time I&#8217;ve been thinking that what Hacker News really needs is some sort of filter for &#8220;only show me stories that Joel would find interesting&#8221;.  Unfortunately, it has no such filter.  So last weekend I decided I would try to build one.</p>
<p><b>Step 1 : Design</b></p>
<p>To make things simple, I made a couple of simplifying design decisions.</p>
<p>First, I was only going to take into account <i>static</i> features of the stories.  That meant I could consider their title, and their url, and who submitted them, but not how many comments they had or how many votes they had, since those would depend on when they were scraped.  </p>
<p>In some ways this was a severe limitation, since HN itself uses the votes to decide which stories to show people.  On the other hand, the whole point of the project was that &#8220;what Joel likes&#8221; and &#8220;what the HN community likes&#8221; are completely different things.</p>
<p>Second, I decided that I wasn&#8217;t going to <i>follow</i> the links to collect data.  This would make the data collection easier, but the predicting harder, since the titles aren&#8217;t always indicative of what&#8217;s behind them.</p>
<p>So basically I would use the story <i>title</i>, the <i>URL</i> it linked to, and the submitter&#8217;s <i>username</i>.  My goal was just to classify the story as <i>interesting-to-Joel</i> or not, which meant the simplest approach was probably to use a <a href = "http://en.wikipedia.org/wiki/Naive_Bayes_classifier">naive Bayes classifier</a>, so that&#8217;s what I did.</p>
<p><b>Step 2 : Acquire Computing Resources</b></p>
<p>I have an AWS account, but for various reasons I find it kind of irritating.  I&#8217;d heard some good things about <a href = "http://www.rackspace.com/cloud/">Rackspace Cloud Hosting</a>, so I signed up and launched one of their low-end $10/month virtual servers with (for no particular reason) Debian 6.0.  </p>
<p>I also installed a recent Ruby (which is these days my preferred language for building things quickly) and <a href = "http://www.mongodb.org/">mongoDB</a>, which I&#8217;d been meaning to learn for a while.</p>
<p><b>Step 3 : Collect Data</b></p>
<p>First I needed some history.  A site called <a href = "http://www.daemonology.net/hn-daily/">Hacker News Daily</a> archives the top 10 stories each day going back a couple of years, and it was pretty simple to write a script to download them all and stick them in the database.</p>
<p>Then I needed to collect the new stories going forward.  At first I tried scraping them off the Hacker News <a href = "http://news.ycombinator.com/newest">&#8220;newest&#8221;</a> page, but very quickly they blocked my scraping (which I didn&#8217;t think was particularly excessive).  Googling this problem, I found the <a href = "http://api.ihackernews.com/">unofficial Hacker News API</a>, which is totally cool with me scraping it, which I do once an hour.  (Unfortunately, it seems to go down several times a day, but what can you do?)</p>
<p><b>Step 4 : Judging Stories</b></p>
<p>Now I&#8217;ve got an ever-growing database of stories.  To build a model that classifies them, I need some training data with stories that are labeled <i>interesting-to-Joel</i> or not.  So I wrote a script that pulls all the unlabeled stories from the database, one-at-a-time shows them to me and asks whether I&#8217;d like to click on the story or not, and then saves that judgment back to the database.</p>
<p><img src="http://joelgrus.com/wp-content/uploads/2012/02/judger.png" alt="" title="judger" width="482" height="369" class="aligncenter size-full wp-image-768" /></p>
<p>At first I was judging them <i>most-recent-first</i>, but then I realized I was biasing my traning set toward SOPA and PIPA, and so I changed it to judge them randomly.</p>
<p><b>Step 5 : Turning Stories into Features</b></p>
<p>The naive Bayes model constructs probabilities based on <i>features</i> of the stories.  This means we need to turn stories into features.  I didn&#8217;t spend too much time on this, but I included the following features:</p>
<p>* contains_{word}<br />
* contains_{bigram}<br />
* domain_{domain of url}<br />
* user_{username}<br />
* domain_contains_user (a crude measure of someone submitting his own site)<br />
* is_pdf (generally I don&#8217;t want to click on these links)<br />
* is_question<br />
* title_has_dollar_amount<br />
* title_has_number_of_years<br />
* title_references_specific_YC_class (e.g. &#8220;(YC W12) seeks blah blah)<br />
* title_is_in_quotes</p>
<p>For the words and bigrams, I removed a short list of stopwords, and I ran them all through a <a href = "http://en.wikipedia.org/wiki/Stemming">Porter stemmer</a>.  The others are all pretty self-explanatory.</p>
<p><b>Step 6 : Training a Model</b></p>
<p>This part is surprisingly simple:</p>
<p>* Get all the judged stories from the database.<br />
* Split them into a training set and a test set.  (I&#8217;m using an 80/20 split.)<br />
* Compute all the features of the stories in the training set, and for each feature count (# of occurrences in liked stories) and (# of occurrences in disliked stories).<br />
* Throw out all features that don&#8217;t occur at least 3 times in the dataset.<br />
* <a href = "http://en.wikipedia.org/wiki/Additive_smoothing">Smooth</a> each remaining feature by adding an extra 2 likes and an extra 2 dislikes.  (2 is on the large side for smoothing, but we have a pretty small dataset.)<br />
* That&#8217;s it.  We <a href = "http://en.wikipedia.org/wiki/YAML">YAML</a>-ize the feature counts and save them to a file.<br />
* For good measure, we <a href = "http://en.wikipedia.org/wiki/Naive_Bayes_classifier#Document_Classification">use the model to classify</a> the held-out test data, and plot a <a href = "http://en.wikipedia.org/wiki/Precision_and_recall">Precision-Recall curve</a></p>
<p><img src="http://joelgrus.com/wp-content/uploads/2012/02/pr.png" alt="" title="pr" width="494" height="392" class="aligncenter size-full wp-image-769" /></p>
<p><b>Step 7 : Classifying the Data</b></p>
<p>Naive Bayes classifier is fast, so it only takes a few seconds to generate  and save <i>interesting-to-Joel</i> probabilities for all the stories in the database.</p>
<p><b>Step 8 : Publishing the Data</b></p>
<p>This should have been the easiest step, but it caused me a surprising amount of grief.  First I had to decide between</p>
<p>* publish every story, accompanied by its probability; or<br />
* publish only stories that met some threshhold</p>
<p>In the long term I&#8217;d prefer the second, but while I&#8217;m getting things to work the first seems preferable.</p>
<p>My first attempt involved setting up a Twitter feed and using the Twitter Ruby gem to publish the new stories to it as I scored them.  This worked, but it <a href = "https://twitter.com/#!/joelgrus_hn">wasn&#8217;t a pleasant way to consume them</a>, and anyway it quickly ran afoul of Twitter&#8217;s rate limits.</p>
<p>I decided a blog of batched stories would be better, and so then I spent several hours grappling with Ruby gems for WordPress, Tumblr, Blogger, Posterous, and even LiveJournal [!] without much luck.  (Most of the authentication APIs were for more heavy-duty use that I cared about &#8212; I just wanted to post to a blog using a stored password.)  </p>
<p>Finally I got Blogger to work, and after some experimenting I decided the best approach would be to post once an hour, all the new stories since the last time I posted.  Eventually I realized that I should rank the stories by <i>interesting-to-Joel</i>-ness, so that the ones I&#8217;d most want to read would be at the top:</p>
<p><img src="http://joelgrus.com/wp-content/uploads/2012/02/hnj_top.png" alt="" title="hnj_top" width="555" height="226" class="aligncenter size-full wp-image-770" /></p>
<p>and the ones I want to read least would be at the bottom:</p>
<p><img src="http://joelgrus.com/wp-content/uploads/2012/02/hnj_bottom.png" alt="" title="hnj_bottom" width="594" height="183" class="aligncenter size-full wp-image-771" /></p>
<p>The blog itself is at</p>
<p><a href = "http://joelgrus-hackernews.blogspot.com/">http://joelgrus-hackernews.blogspot.com/</a></p>
<p><b>Step 9 : Automate</b></p>
<p>This part was pretty easy with two cron jobs.  The first, once an hour, goes to the Hacker News API and retrieves all new unknown stories (up to a limit of like 600, which should never be hit in practice).  It then scores them with the last saved model and adds them to the database.  In practice, the API isn&#8217;t working half the time.</p>
<p>The second, a few minutes later, takes all the new stories and posts them to the blog.  The end result is a blog of hourly scored digests of new Hacker News posts.</p>
<p><b>Step 10 : Improve the Model</b></p>
<p>The model can only get better with more training data, which requires me to judge whether I like stories or not.  I do this occasionally when there&#8217;s nothing interesting on Facebook.  Right now this is just the above command-line tool, but maybe I&#8217;ll come up with something better in the future.</p>
<p><b>Step 11 : Profit</b></p>
<p>I&#8217;m still trying to figure this one out.  If you&#8217;ve got any good ideas, the code is <a href = "https://github.com/joelgrus/hackernews">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://joelgrus.com/2012/02/16/hacking-hacker-news/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
	</channel>
</rss>
