<story><title>A business meeting</title><url>http://www.morna.nl/post/4185018780/a-business-meeting</url></story><parent_chain></parent_chain><comment><author>SatvikBeri</author><text>John Foobar is a 26 year old semi-technical analyst living in Austin who&apos;s sick and tired of Yelp. His favorite Mexican restaurant &quot;Mi pato esta en fuego&quot; has only received 2.4 stars! John wants to find food that he specifically will like, not just restaurants that are rated well. As luck may have it, John happens to have access to a massive amount of perfect data. So far, so good.&lt;p&gt;John does some Google searches and finds that a &quot;k-nearest-neighbors algorithm&quot; might be what he&apos;s looking for. He happens to have scored a free SQL Server license from an old barfly in exchange for listening to his tales about how wonderful life was when the mafia controlled New York, so naturally John searches for ways to implement kNN algorithms in SQL.&lt;p&gt;John finds out that kNN can be implemented efficiently using a spatial index, but that only works for two dimensions. That doesn&apos;t work because John really wants to judge places by location, price, and the ridiculousness of their dessert menu. So he spends a few hours trying to hack things together and finally posts an extremely specific question on StackOverflow about extending spatial indexes to 3 dimensions. He gets several answers that are technically correct but don&apos;t quite solve his problem and finally gives up, resigned to eat at popular restaurants for the rest of his days.&lt;p&gt;But if John had asked about the general problem of implementing kNN algorithms in SQL, he would have found that spatial indexes aren&apos;t the best method.&lt;p&gt;If he had asked about implementing kNN algorithms in general, he would have found that SQL isn&apos;t the best language for it.&lt;p&gt;If he had asked about creating recommendations based on like/dislike data, he would have found that there are better algorithms than kNN, and that there are several existing GUIs/APIs for these algorithms.&lt;p&gt;And if he had asked about the general problem of finding good food, well, his friends might have told him that Yelp already has a &quot;personal concierge&quot; mode and he just has to click a different setting.&lt;p&gt;Poor John.</text></comment>
<story><title>A business meeting</title><url>http://www.morna.nl/post/4185018780/a-business-meeting</url></story><parent_chain></parent_chain><comment><author>bstpierre</author><text>Ha ha. I&apos;ve been in that meeting -- the one where you have to explain that the requested feature would violate the laws of physics. I&apos;ve found that it&apos;s best to keep asking some variant of &quot;What do you &lt;i&gt;really&lt;/i&gt; want?&quot; in order to find out the underlying goal. This usually requires a couple of follow-up meetings though, because the guys doing the requesting don&apos;t always know what the real goal is.</text></comment>