<?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>Lukas Biewald</title>
	<atom:link href="http://www.lukasbiewald.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lukasbiewald.com</link>
	<description></description>
	<lastBuildDate>Mon, 23 Jul 2012 16:29:14 +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>Yahoo Should Become a Directory Again</title>
		<link>http://www.lukasbiewald.com/archives/382</link>
		<comments>http://www.lukasbiewald.com/archives/382#comments</comments>
		<pubDate>Mon, 23 Jul 2012 16:23:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=382</guid>
		<description><![CDATA[In 2004, I came out of Stanford with a Master’s degree in Computer Science. All of my friends were going to Google, many of them to work for Marissa Mayer in her excellent PM program. I went to work for Yahoo. While I was at Yahoo, we purchased several amazing properties and hired some of [...]]]></description>
				<content:encoded><![CDATA[<p>In 2004, I came out of Stanford with a Master’s degree in Computer Science.  All of my friends were going to Google, many of them to work for Marissa Mayer in her excellent PM program.  I went to work for Yahoo.</p>
<p>While I was at Yahoo, we purchased several amazing properties and hired some of the best product minds in the world.   One by one, an organization run by Hollywood execs and then Wall Street execs broke the products and broke the spirits of the brilliant entrepreneurs that they aqui-hired by forcing them to justify their design decisions to a panel of executives who had no clue about product.</p>
<p>After years of stagnation, what should Yahoo do now?  Everyone notes that the company’s vision is unclear and focus is necessary but where does it go?  Yahoo has two extraordinary assets, a distribution engine and a monetization engine.  It should use these assets to re-build the world’s greatest directory of online content.</p>
<p>Yahoo can monetize better than any individual website because (1) ad revenue goes up when you have a name brand and buy in bulk and (2) ad revenue goes way up when you can do smart targeting across many different properties.   Yahoo also has a massive global distribution engine in the form of their homepage and user base.  </p>
<p>Why does it point that awesome user-base, that incredible resource base at second-tier properties just because Yahoo owns them?  Why not make the “Yahoo Travel” button go to Hipmunk?  Why not make the “Yahoo News” go to Prismatic?  There&#8217;s no need to buy all of these companies, just setup revenue sharing &#8211; the incentive structure works much better!</p>
<p>What if web developers saw Yahoo as an enormous distribution and monetization platform?  More importantly, what if users knew that the Yahoo homepage would send them to best of breed in every category?  Everyone would have a reason to use the Yahoo homepage again.  What are the best sites for buying cars, playing online games, checking the weather? I don’t do any of these things enough to know, and today Google just sends me to the sites with the most advanced SEO.</p>
<p>Yahoo can learn from and emulate the success of Apple and Facebook’s app stores.  Curate and promote high quality applications to give users a great experience and take a share of the revenue from the featured applications. </p>
<p>Facebook, Linkedin and Twitter all offer identity platforms but without an integrated advertising/monetization solution and without the ability to strongly promote high quality apps.  Developers on the Facebook platform often spend their time bolting on unwanted viral features to their applications in order to acquire users.  Yahoo could use its homepage to become the internet’s largest driver of user traffic and help promote the highest quality applications while making a ton of money in the process.   </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/382/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drawing Cartoons</title>
		<link>http://www.lukasbiewald.com/archives/376</link>
		<comments>http://www.lukasbiewald.com/archives/376#comments</comments>
		<pubDate>Tue, 17 Jul 2012 16:22:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=376</guid>
		<description><![CDATA[For some reason in the last few months I&#8217;ve had an urge to draw cartoons. It&#8217;s been really fun!]]></description>
				<content:encoded><![CDATA[<p>For some reason in the last few months I&#8217;ve had an urge to draw cartoons.  It&#8217;s been really fun!</p>

<a href='http://www.lukasbiewald.com/archives/376/chesscrab' title='chesscrab'><img width="150" height="150" src="http://www.lukasbiewald.com/wp-content/uploads/2012/07/chesscrab-150x150.png" class="attachment-thumbnail" alt="chesscrab" /></a>
<a href='http://www.lukasbiewald.com/archives/376/missala' title='Jumping'><img width="150" height="150" src="http://www.lukasbiewald.com/wp-content/uploads/2012/07/missala-150x150.png" class="attachment-thumbnail" alt="Jumping" /></a>
<a href='http://www.lukasbiewald.com/archives/376/ceo1' title='working'><img width="150" height="150" src="http://www.lukasbiewald.com/wp-content/uploads/2012/07/ceo1-150x150.png" class="attachment-thumbnail" alt="working" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/376/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Sketch a Polynomial</title>
		<link>http://www.lukasbiewald.com/archives/367</link>
		<comments>http://www.lukasbiewald.com/archives/367#comments</comments>
		<pubDate>Tue, 26 Jul 2011 00:23:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=367</guid>
		<description><![CDATA[Note: This is a repost of a post from back in 2008 when I was working at Powerset and did more math. I love how this trick is so simple yet completely mystifying. I&#8217;ve been swapping cute math tricks with my coworker Paul Pedersen, and recently he showed me this beautiful method for sketching polynomials: [...]]]></description>
				<content:encoded><![CDATA[<p>Note: This is a repost of a post from back in 2008 when I was working at Powerset and did more math.  I love how this trick is so simple yet completely mystifying.</p>
<p>I&#8217;ve been swapping cute math tricks with my coworker <a href="http://genealogy.math.ndsu.nodak.edu/html/id.phtml?id=80895">Paul Pedersen</a>, and recently he showed me this beautiful method for sketching polynomials:</p>
<p>As an example let&#8217;s pick a random polynomial:</p>
<blockquote>
<p> y<sup>4</sup> + x<sup>3</sup> &#8211; y<sup>2</sup> + x &#8211; 1 = 0.</p>
</blockquote>
<p>Plot on the x axis of a graph a point for every x power.  For example for x<sup>3</sup> plot the point (3,0).  For x<sup>1</sup> plot the point (1,0).  </p>
<p>Now label &#8220;+&#8221; the positive coefficient&#8217;s points and &#8220;-&#8221; the negative coefficient&#8217;s points.  Do the same for the y axis.</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide1.gif" width="400"/></p>
<p>Now connect the lines.</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide3.gif" width="400"/></p>
<p>Now reflect across both axis.  If you have an even exponent flip the sign.</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide4.gif" width="400"/></p>
<p>Now draw a line between every positive and negative sign.</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide5.gif" width="400"/></p>
<p>Now connect the lines.  My freehand splines are a little sloppy, but you get the idea&#8230;</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide6.gif" width="400"/></p>
<p>And there it is.  Compare with an actual graph:</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/plot.jpg" width="400"/></p>
<p>Let&#8217;s try with some simpler curves where we know the answer: take x<sup>2</sup> + y<sup>2</sup> = 1 or x<sup>2</sup> <br />
+ y<sup>2</sup> &#8211; 1 = 0:</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide7.gif" width="400"/></p>
<p>Connect the lines:</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide8.gif" width="400"/></p>
<p>Circle!</p>
<p>Just for fun, try x<sup>2</sup> &#8211; y<sup>2</sup> &#8211; 1 = 0:</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide9.gif" width="400"/></p>
<p>Connect the lines:</p>
<p><img src="http://artificial-artificial-intelligence.com/media/blogs/blog/poly/Slide10.gif" width="400"/></p>
<p>Wow.  Why don&#8217;t they teach this as part of the high school math cannon?  These kinds of simple inexplicable patterns remind me why I loved math in the first place.</p>
<p>Note &#8211; If you want to plot a function like y=x^3, transform it into 0=x^3-y and follow the above steps and it should work.</p>
<p>Rahul points out an interesting counterexample in x^2+y^2-4x+3=0, but I might argue that in some sense it does work.  You end up with a diamond and the x axis has a + at (0,0), a &#8211; at (1,0) and a + at (2,0).  No other edges should have lines through them.  So you would draw a circle.  I think it&#8217;s clear that this method can&#8217;t make any claims about x intercepts and y intercepts, just the overall shape.  Same comment about x^4-3x^3+x^2-x+20.  </p>
<p>Can anyone find a counterexample where the shape is completely &#8220;wrong&#8221; (for some definition of wrong that doesn&#8217;t include intercepts or stretching)?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/367/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Relaunch</title>
		<link>http://www.lukasbiewald.com/archives/360</link>
		<comments>http://www.lukasbiewald.com/archives/360#comments</comments>
		<pubDate>Mon, 25 Jul 2011 23:14:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=360</guid>
		<description><![CDATA[After a several year hiatus, I updated my website and I&#8217;m blogging again. I&#8217;m going to start by reposting a few of my favorite posts from the 2007-2008 era.]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-361" title="hippoL" src="http://www.lukasbiewald.com/wp-content/uploads/2011/07/hippoL-300x165.png" alt="" width="100" /><br />
After a several year hiatus, I updated my website and I&#8217;m blogging again.  </p>
<p>I&#8217;m going to start by reposting a few of my favorite posts from the 2007-2008 era.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/360/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Media</title>
		<link>http://www.lukasbiewald.com/archives/157</link>
		<comments>http://www.lukasbiewald.com/archives/157#comments</comments>
		<pubDate>Thu, 17 Jul 2008 06:48:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=157</guid>
		<description><![CDATA[It made me really happy today to see FaceStat and Dolores Labs in Slate. It brought in less traffic than the wall street journal, or even ny daily news, but it&#8217;s not every day your site is featured in your favorite magazine . And they even talked a little about the fun research we&#8217;ve been [...]]]></description>
				<content:encoded><![CDATA[<p>It made me really happy today to see FaceStat and Dolores Labs in Slate.  It brought in less traffic than the wall street journal, or even ny daily news, but it&#8217;s not every day your site is featured in your favorite magazine <img src='http://www.lukasbiewald.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  And they even talked a little about the fun research we&#8217;ve been doing.Some of the better quotes:<a href="http://www.slate.com/id/2195142/pagenum/all/">Slate</a>: &#8220;It&#8217;s market research for the individual! Not some shallow exercise for the insecure!&#8221;<a href="http://www.news.com.au/technology/story/0,25642,23857211-5014108,00.html">news.com.au</a>: &#8220;Facestat site perfects public humiliation.&#8221;<a href="http://www.news.com.au/technology/story/0,25642,23857211-5014108,00.html">CNet</a>: &#8220;What happens when Hot or Not hooks up with Google Analytics&#8221;  What does that mean?<a href="http://www.thrillist.com/archives/2008/04/facestat_nation_culture_grooming_services.html">Thrillist</a>: &#8220;You look at yourself in the mirror every morning and think, &#8220;what a handsome, intelligent, athletic, manly man I am!&#8221;, but how does the rest of the world really interpret your neckbeard? Find out the awesome/horrible truth, with FaceStat.&#8221;<a href="http://in.answers.yahoo.com/question/index?qid=20080616042212AAUUZDl%3EYahoo%20Answers%3C/a%3EIs%20Facestat%20a%20place%20for"></a><a href="http://www.buzzfeed.com/scott/facestat">Buzzfeed</a>: &#8220;Reinforcing Shallow Stereotypes.  Now Online!&#8221;<a href="http://www.missbimbo.com/forum/t43615,1-facestats-is-sad.htm">Miss Bimbo</a>: &#8220;FaceStat is sad.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/157/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surprisingly Relevant Results from Microsoft Shopping</title>
		<link>http://www.lukasbiewald.com/archives/156</link>
		<comments>http://www.lukasbiewald.com/archives/156#comments</comments>
		<pubDate>Fri, 13 Jun 2008 06:25:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=156</guid>
		<description><![CDATA[I thought this page was pretty funny.  Took me a while before I realized that msn doesn&#8217;t actually have a comparison page for LSD prices:]]></description>
				<content:encoded><![CDATA[<p>I thought this page was pretty funny.  Took me a while before I realized that msn doesn&#8217;t actually have a comparison page for LSD prices:</p>
<p><a href="http://www.lukasbiewald.com/wp-content/uploads/2008/06/picture-54.png" title="picture-54.png"><img src="http://www.lukasbiewald.com/wp-content/uploads/2008/06/picture-54.png" alt="picture-54.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/156/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scaling Fast</title>
		<link>http://www.lukasbiewald.com/archives/153</link>
		<comments>http://www.lukasbiewald.com/archives/153#comments</comments>
		<pubDate>Wed, 04 Jun 2008 05:00:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=153</guid>
		<description><![CDATA[Sunday morning I was sitting in my kitchen reading the newspaper and thinking about brunch, when Chris called me, saying he had a bunch of voicemails on his home phone in Iowa claiming something about our web app FaceStat being down. FaceStat is a site we made to show off our Dolores Labs crowdsourcing technology, [...]]]></description>
				<content:encoded><![CDATA[<p>Sunday morning I was sitting in my kitchen reading the newspaper and thinking about brunch, when <a href="http://vandev.com/">Chris</a> called me, saying he had a bunch of voicemails on his home phone in Iowa claiming something about our web app FaceStat being down.   <a href="http://facestat.com/">FaceStat</a> is a site we made to show off our Dolores Labs crowdsourcing technology, and has had a small loyal following since we made it live about a month ago.</p>
<p>I checked the site and it gave me a 500 error &#8212; only 1 in 10 requests seemed to get me an actual page &#8212; so I logged into our app server and saw the disk was full. The log file had grown to 20 GB!  I deleted it and asked my friend Zuzka to check and see if we&#8217;d been Slashdotted.  She found a <a href="http://www.nydailynews.com/lifestyle/2008/06/01/2008-06-01_site_tells_what_people_think_of_your_loo.html">NY Daily News article</a> that had just gone up talking about FaceStat, but we&#8217;d survived the traffic from a <a href="http://blogs.wsj.com/buzzwatch/2008/04/24/">Wall Street Journal Buzzwatch post</a> and it didn&#8217;t seem like that would be enough to make the log file blow up.  I checked the file again and it was back up to 20GB.</p>
<p>I wondered if we were under some kind of denial of service attack, so I called up <a href="http://socialscienceplusplus.blogspot.com">Brendan</a> to see if he could check it out.  He found that our box was getting thousands of hits per second.  Searching online, he found a whole bunch of <a href="http://answers.yahoo.com/question/index;_ylt=AuSekDMUMDLW5jt9ovYhWCojzKIX;_ylv=3?qid=20080601140843AA9dhxM">Yahoo </a> <a href="http://answers.yahoo.com/question/index;_ylt=AuSekDMUMDLW5jt9ovYhWCojzKIX;_ylv=3?qid=20080601140843AA9dhxM">Answers </a><a href="http://answers.yahoo.com/question/index;_ylt=AvIPkaURALxyBHsz2Rc65eAjzKIX;_ylv=3?qid=20080601113001AAm8Vo7">questions</a>  asking why the site was down.</p>
<p>I&#8217;ve been hit by Digg and Slashdot before, but this spike in traffic was like nothing I&#8217;d ever seen.  Then Zuzka figured out what was going on:</p>
<p><img src="http://www.lukasbiewald.com/wp-content/uploads/2008/06/2542744316_44794668eb_o.png" alt="yahoo" /></p>
<p>That&#8217;s right, we were on the front page of Yahoo.com, the <a href="http://www.alexa.com/site/ds/top_sites?ts_mode=global&amp;lang=none">most trafficked site on the web!</a></p>
<p>I looked in my inbox and it was full of thousands of angry emails like this:</p>
<blockquote><p> Subject: facestat site would be interesting&#8230;.</p>
<p>&#8230;.if it worked. unfortunately, site crashes like this in conjunction with a press release don&#8217;t do much for credibility. after all, if site design and construction are poor, why would anyone think that the underlying concept and software have any validity?</p></blockquote>
<blockquote><p> Subject: quite the blunder!</p>
<p>Wow, the day you have your site profiled on Yahoo is the same day your site is down. What a stupid blunder!</p></blockquote>
<p>It turned out that the reason Chris got a phone call was someone had looked up his phone number and posted it in the newspaper article&#8217;s forum:</p>
<blockquote><p> Want to contact owner of the site?!? Chris Van Pelt in Spencer, Iowa is the registered owner and his phone number is: (712)262-8863. The IP address for the site is: 67.207.137.234 and is in St. Louis MO. The ISP is Slicehost LLC out of St. Louis, MO. which explains the IP. His email address is vanpelt@fluent-design.com Ahhh&#8230; the internet a wonderful thing when you decide not to hide personal information. Check out www.ip-adress.com This is all public information no gathering of information has been gathered in any illeagal manner.</p></blockquote>
<p>I think they were meaning to obnoxious, but the early warning was a huge help <img src='http://www.lukasbiewald.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  I had been working like crazy and had resolved to take Sunday off; Brendan was about to go out with his friends and Chris was on vacation.</p>
<p>I called up Chris, who was an hour away from a computer, and then ran <a href="http://maps.google.com/maps?f=d&amp;hl=en&amp;geocode=&amp;saddr=832+Capp+St,+San+Francisco,+CA+94110&amp;daddr=1187+valencia+st,+san+francisco&amp;sll=37.0625,-95.677068&amp;sspn=45.284089,74.794922&amp;ie=UTF8&amp;z=18"></a> to Brendan&#8217;s house, where we whipped up an error page:</p>
<blockquote><p> Sorry! Turns out Yahoo put us on their front page without any giving us any warning&#8230; (We appreciate the traffic but weren&#8217;t ready for a 1000x increase in load <img src='http://www.lukasbiewald.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) We&#8217;re working on getting the site back up in the next couple hours. Send an email to request@doloreslabs.com, and we&#8217;ll send you an invite when we&#8217;re back up, or check back in once we&#8217;re off the front page.</p></blockquote>
<p>Instantly emails started pouring in to request@doloreslabs.com asking to be notified when they could use our site.</p>
<p>After working so hard to get users to come to your site, it&#8217;s amazingly frustrating to see hundreds of thousands of people suddenly locked out.  Unbelievably, our webserver (<a href="http://nginx.net/">nginx</a>) couldn&#8217;t even reliably show that static page&#8230;  Brendan discovered that we were exceeding the system&#8217;s open file limit &#8212; set at 100,000 &#8212; because connections were counting as open files.</p>
<p>There was an awesome article in <a href="http://www.thaindian.com/newsportal/world/facestatcom-showing-500-error_10055463.html">Thaindian news</a> that commented:</p>
<blockquote><p> Facestat.com is a service where anyone can upload their picture and get it judged by the public.<br />
&#8230;<br />
Weather the website has been hacked or it is just some server issues seems to be unknown, we will post any updates as we try to gather more information.</p></blockquote>
<p>We went to our hosting company <a href="http://slicehost.com">Slicehost</a> and started buying up more machines and bumping up the RAM on the database server.  Before we were hit we had one app server and one database server, and no automated way of setting up machines.  In the previous few weeks, we had been adding requested features as quickly as possible, not worrying at all about performance.  While Brendan worked on setting up boxes I started ripping out every database intensive feature of our system and Chris added more caching&#8230;  Around 1 AM we were back online and looking pretty stable.  We thought about moving our database server to a bigger box, but the email system was really unstable: we were dropping invites that our users were sending, so that seemed like a bigger priority to fix.  I was pretty sure that the load would be way down since we were off of Yahoo&#8217;s front page, so we eventually got to bed by 5 AM&#8230;</p>
<p>The next day I woke up and found we were being hit with a load similar to Sunday.  I&#8217;m still not sure why so many people are still coming or how they&#8217;re finding the site, but because our site was actually functioning we were successfully serving up a much higher percentage of page views.  Google analytics is telling me almost all the traffic comes from people without a referral URL.</p>
<p>The latency was still making the site almost unusable, at least from my perspective.  We rely on the fact that people who upload a photo stick around to judge other ones, but with the high latency it seemed unlikely that they would do that.  I was worried we&#8217;d be stuck with tens of thousands of photos uploaded and no way to get them judged.  We moved the database to a new machine and added memcached.  Brendan hacked together some amazing tools to monitor our boxes, which were a random hodge-podge of whatever size slices Slicehost could give us.</p>
<p>So now it&#8217;s Tuesday night and the site seems to be cranking along under 50x the load that used to work on one box.  We have 6 app servers and a big database machine.  I&#8217;m really impressed what awesome hackers Chris and Brendan are and what amazing tools are available these days.  Slicehost has scaled up as fast as we&#8217;ve needed them to.  Amazon&#8217;s <a href="http://aws.amazon.com/s3">S3</a> serves all the images, and while the latency isn&#8217;t great, we never could have dealt with the bandwidth issues on our own.  <a href="http://capify.org/">Capistrano</a> lets us deploy and rollback everywhere; git with <a href="github.com">github</a> lets us all hack frantically on the same codebase then merge and deploy.  <a href="http://god.rubyforge.org/">God</a> keeps all the servers running, and <a href="http://www.danga.com/memcached/">memcached</a> has given us great caching with very little pain (mostly&#8230; <img src='http://www.lukasbiewald.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).  Brendan would also give a shoutout to ITerm and its crazy multitab input mode, but he can write his own blog post about that&#8230;  It&#8217;s one thing to code scalably and grow slowly under increasing load, but it&#8217;s been a blast to crazily rearchitect a live site like FaceStat in a day or two.</p>
<p>I figure at this point we&#8217;ve been on the number 1 (or 2) page on the internet, so there&#8217;s no bigger instant spike in traffic that could happen to us&#8230;</p>
<p>Some lessons I learned for the next time this happens:</p>
<p>(1) Monitor the site better.  We had exception handling emailing us, but there were so many exceptions that I didn&#8217;t really look at them and I wasn&#8217;t online.  It wouldn&#8217;t have made sense to scale our site to handle this kind of load in advance, but it&#8217;s unfortunate we had to rely on random people deciding to lookup Chris&#8217;s email address to call his home phone number to yell at him&#8230;</p>
<p>(2) Don&#8217;t be afraid to put up an error page.  We had lots of excited users emailing us when we had a page up saying we were down and explaining why.  We had lots angry users emailing us when the site was up but with intolerable lag or crashing intermittently.  I think wishful thinking caused us to put up the site an hour or two before it was ready.</p>
<p>(3) A statically generated homepage is a very good thing and memcached is awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/153/feed</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Human Brain Cloud</title>
		<link>http://www.lukasbiewald.com/archives/151</link>
		<comments>http://www.lukasbiewald.com/archives/151#comments</comments>
		<pubDate>Fri, 02 May 2008 06:01:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=151</guid>
		<description><![CDATA[There&#8217;s a lot of interesting projects to build WordNet like relationships among words with games.  Human Brain Cloud is different in that it shows a random word and just asks the user to pick the first word that comes to mind.  Sometimes the relationships are rhymes or other surface form relationships, and sometimes there&#8217;s deep [...]]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s a lot of interesting projects to build WordNet like relationships among words with games.  <a href="http://www.humanbraincloud.com/view.php">Human Brain Cloud</a> is different in that it shows a random word and just asks the user to pick the first word that comes to mind.  Sometimes the relationships are rhymes or other surface form relationships, and sometimes there&#8217;s deep semantics involved.  Either way the data set is fascinating to play with.<a href="http://www.humanbraincloud.com/view.php"> </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/151/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Facestat</title>
		<link>http://www.lukasbiewald.com/archives/149</link>
		<comments>http://www.lukasbiewald.com/archives/149#comments</comments>
		<pubDate>Fri, 18 Apr 2008 16:56:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=149</guid>
		<description><![CDATA[We recently posted about a product we made at Dolores Labs called FaceStat. You can upload your photo (or a friends photo) and Turkers will judge it on a number of different dimensions. It started as part of an experiment we blogged about here. It&#8217;s kind of like hotornot, but we&#8217;re able to ask more [...]]]></description>
				<content:encoded><![CDATA[<p>We recently posted about a product we made at <a href="http://doloreslabs.com">Dolores Labs</a> called <a href="http://facestat.com">FaceStat</a>. You can upload your photo (or a friends photo) and Turkers will judge it on a number of different dimensions. It started as part of an experiment we blogged about <a href="http://http://blog.doloreslabs.com/2008/03/what-can-you-tell-from-a-face/">here</a>. It&#8217;s kind of like hotornot, but we&#8217;re able to ask more interesting questions. I&#8217;ve been thinking we might make a version with company logos.</p>
<p>My favorite comment from one of the judges, &#8220;It’s amazing how difficult it is to judge people just from looks, and yet we do it every day. &#8220;  I&#8217;m amazed by the agreement rates were seeing on things like liberal vs conservative.  We&#8217;ll end up with a fascinating data set for sociologists.</p>
<p><img src="http://www.lukasbiewald.com/wp-content/uploads/2008/04/picture-43.png" alt="Lukas" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/149/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What&#8217;s wrong with Microsoft Live?</title>
		<link>http://www.lukasbiewald.com/archives/148</link>
		<comments>http://www.lukasbiewald.com/archives/148#comments</comments>
		<pubDate>Fri, 18 Apr 2008 16:44:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lukasbiewald.com/?p=148</guid>
		<description><![CDATA[Look at this result for the query &#8220;amazon&#8221; in firefox.  The stylesheets look messed up and there&#8217;s a serious deduping issue.]]></description>
				<content:encoded><![CDATA[<p>Look at this result for the query &#8220;amazon&#8221; in firefox.  The stylesheets look messed up and there&#8217;s a serious deduping issue.<br />
<img src="http://www.lukasbiewald.com/wp-content/uploads/2008/04/picture-42.png" alt="MSN Results" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukasbiewald.com/archives/148/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
