<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>pragmati.st - Home</title>
  <id>tag:pragmati.st,2011:mephisto/</id>
  <generator uri="http://mephistoblog.com" version="0.7.3">Mephisto Noh-Varr</generator>
  <link href="http://pragmati.st/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://pragmati.st/" rel="alternate" type="text/html"/>
  <updated>2009-12-29T18:12:13Z</updated>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2009-12-29:8080</id>
    <published>2009-12-29T18:11:00Z</published>
    <updated>2009-12-29T18:12:13Z</updated>
    <link href="http://pragmati.st/2009/12/29/recaptcha-thinks-its-funny" rel="alternate" type="text/html"/>
    <title>reCAPTCHA Thinks Its Funny</title>
<content type="html">
            &lt;p&gt;Over Memorial Day Weekend (yes, it has clearly been a while since I&#8217;ve posted) I was working feverishly to launch a new product. I was stressed out, I was tired, I pretty much worked every waking minute that weekend.&lt;/p&gt;


	&lt;p&gt;On Monday I was doing some final testing on the user registration flow and got this from reCAPTCHA:&lt;/p&gt;


	&lt;p&gt;&lt;img src=&quot;/assets/2009/12/29/recaptcha_thinks_its_funny.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;Smart ass.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2009-12-29:8079</id>
    <published>2009-12-29T17:32:00Z</published>
    <updated>2009-12-29T17:36:03Z</updated>
    <link href="http://pragmati.st/2009/12/29/rails-error-no-such-file-or-directory-getcwd" rel="alternate" type="text/html"/>
    <title>Rails Error: "no such file or directory - getcwd"</title>
<content type="html">
            &lt;p&gt;If you see this then you probably deleted the directory that your server is running in using rm.&lt;/p&gt;


	&lt;p&gt;If you&#8217;re on your dev machine you should kill the server, cd to the proper directory, and restart the server.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2009-02-20:3629</id>
    <published>2009-02-20T22:53:00Z</published>
    <updated>2009-02-20T22:55:31Z</updated>
    <link href="http://pragmati.st/2009/2/20/boxee-hulu-and-the-future-of-video-advertising" rel="alternate" type="text/html"/>
    <title>Boxee, Hulu, and the Future of Video Advertising</title>
<content type="html">
            &lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2009/2/20/boxee_home.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://boxee.tv&quot;&gt;Boxee&lt;/a&gt; is a fork of the excellent &lt;a href=&quot;http://xbmc.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;XBMC&lt;/span&gt; media player&lt;/a&gt; that runs on Macs, AppleTVs and Linux. It provides a great remote control based interface for accessing your stored video, music, and photo libraries on your TV, as well as providing site specific browsers for viewing media from the internet sources like YouTube, Comedy Central, the &lt;span class=&quot;caps&quot;&gt;BBC&lt;/span&gt;, CNN, Last.fm, Flickr, Picassa, and, at least for a few more days, Hulu. For a more in depth introduction check out this New York Times &lt;a href=&quot;http://www.nytimes.com/2009/01/17/technology/internet/17video.html?_r=2&quot;&gt;article&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;Hulu recently announced that they were being asked by their content providers to cut off access to Boxee. So as of about 20 minutes ago, you can&#8217;t access Hulu via boxee. A lot of people, myself included, are really annoyed at this. I think that &lt;a href=&quot;http://radar.oreilly.com/2009/02/hulus-superbowl-ad-and-the-box.html&quot;&gt;Marc Hedlund&lt;/a&gt; pretty much nailed it.&lt;/p&gt;


	&lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2009/2/20/hulu_down.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;Basically, the studios are worried about anything that makes it easy for the general public to view video content on their TVs over the Internet. Never mind that this is what people want, or that there I can and will still watch Hulu on my TV (see &lt;a href=&quot;http://www.avc.com/a_vc/2009/02/the-valentines-day-breakup.html&quot;&gt;Fred Wilson&#8217;s take&lt;/a&gt;). The studios are worried about the cannibalization of their television audience. Hulu has ads, but television ads are &lt;em&gt;much&lt;/em&gt; more lucrative. The studios are going to protect that market, at all costs, for as long as they can.&lt;/p&gt;


	&lt;p&gt;I think that the studios are being short sighted and incredibly stupid, but I&#8217;m going to choose to focus on another question: Why are TV ads more profitable than video ads in a Hulu stream on a &lt;em&gt;per impression&lt;/em&gt; basis?&lt;/p&gt;


	&lt;h2&gt;Television Advertising&lt;/h2&gt;


	&lt;p&gt;Television is fundamentally a mass media. Everyone watching a TV show gets the same ads (well, mostly, but not exactly as local affiliates and cable providers do insert certain local ads) But there are fundamental limitation on how well they know their audience. Simply put, there is no way to know &lt;em&gt;who&lt;/em&gt; is watching the ad, so the best they can do is target the demographic average. Never are the limitations of this approach more clear than when you watch a show for which you are clearly not the normal viewer. Let&#8217;s call it the &#8220;Top Chef Problem&#8221;.&lt;/p&gt;


	&lt;p&gt;I watch Top Chef. There. I said it. I find the reality show portions pretty annoying, but I love food, love cooking, and damn if that show isn&#8217;t entertaining. However, watching the ads makes it really clear that I&#8217;m not their target audience&#8212;women with children are. So the vast majority of ads are a complete waste on me. I&#8217;m not buying beauty products or minivans. There is no way that I&#8217;m going to watch the Real Housewives of Orange County, so they might as well stop advertising it to me.&lt;/p&gt;


	&lt;p&gt;But, since with TV ads there is no way to know that I&#8217;m a 27 year old straight man who happens to love cooking and drinking, they keep showing me ads I have no interest in, and Dove Body Wash keeps paying for ads that have no chance of turning me into a consumer.&lt;/p&gt;


	&lt;h2&gt;Internet Video Advertising&lt;/h2&gt;


	&lt;p&gt;What about Internet Video Ads. Unfortunately, the state of the art seems in Internet Video Ads seems to be roughly equivalent to that of TV advertising. Actually, it could be even a little worse.&lt;/p&gt;


	&lt;p&gt;Last night, I watched a few streaming episodes of South Park last (from Comedy Central via Boxee). I saw the same ad for Jack In The Box over and over. I live in Maryland. The closest Jack In The Box is in North Carolina. Jack In The Box paid for an ad that has absolutely no chance of converting me to a customer.&lt;/p&gt;


	&lt;p&gt;This should never happen. Advertising on an Internet Video Stream isn&#8217;t a mass media. Its a targeted media. They&#8217;re streaming the show to &lt;em&gt;me&lt;/em&gt;. And they know a ton about me. Lets look at the bare minimum that they know:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;My location. Geolocation isn&#8217;t that tough. Looking up my IP gives my location within 2 miles. No more Jack In The Box ads.&lt;/li&gt;
		&lt;li&gt;My &lt;span class=&quot;caps&quot;&gt;ISP&lt;/span&gt;. At my present location, Comcast. Why then does Hulu regularly show me ads for Comcast High Speed Internet when I watch Hulu &lt;em&gt;over&lt;/em&gt; Comcast internet.&lt;/li&gt;
		&lt;li&gt;They know I use a Mac. Probably not a ton of use in showing me ads for the Zune. Sorry, Microsoft.&lt;/li&gt;
		&lt;li&gt;What I watch. Based on my cookie they know what other shows I watch on Hulu.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h2&gt;The Future&lt;/h2&gt;


	&lt;p&gt;This isn&#8217;t even taking into account the truly scary amount of data that Double Click / Google / Facebook have accumulated about me on my travels across the web.&lt;/p&gt;


	&lt;p&gt;Lets go back to the &#8220;Top Chef Problem&#8221;. Imagine what they could do with all that information. No more ads for minivans. No more ads for makeup. No more ads for easy to prepare meals for kids.&lt;/p&gt;


	&lt;p&gt;Instead, they show me ads for local restaurants, wine and beer.&lt;/p&gt;


	&lt;p&gt;Now, lets put all the stuff DoubleClick knows about me to work. They know I&#8217;m a Software Engineer, so they show me job listings. They know I&#8217;m hip hop fan, so they advertise an upcoming Mos Def concert. They know I play soccer, so they show me a Nike soccer ad. They know I read &lt;a href=&quot;http://aveceric.com&quot;&gt;aveceric.com&lt;/a&gt; religiously, so show me an ad for &lt;a href=&quot;http://www.amazon.com/gp/redirect.html?ie=UTF8&#38;location=http%3A%2F%2Fwww.amazon.com%2FLine-Eric-Ripert%2Fdp%2F1579653693%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1212681030%26sr%3D1-3&#38;tag=aveeri-20&#38;linkCode=ur2&#38;camp=1789&#38;creative=9325&quot;&gt;On The Line&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Ads this targeted have to be worth much more, per view, to advertisers. So it would reason that advertisers would pay more per view for them. So even though internet video will need to include fewer ads than traditional television (to effectively compete with bittorrent / other sites that don&#8217;t have any ads) the studios could still make just as much money, or more, per view than by selling more expensive ads.&lt;/p&gt;


	&lt;p&gt;Wouldn&#8217;t it be more productive for media companies to spend their time and money investing in advertising technology then engaging in a Sisyphian struggle to protect the staus quo?&lt;/p&gt;


	&lt;p&gt;The future of video entertainment is on demand. The media companies aren&#8217;t going to be able to continue to extract rents (meant in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Economic_rent&quot;&gt;economic sense&lt;/a&gt;) from controlling distribution. In a digital world, once you release something people are going to be able to get it on the device they want. The only question is how the media companies figure out a way to make money off of that.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-12-18:3495</id>
    <published>2008-12-18T05:49:00Z</published>
    <updated>2008-12-18T05:49:45Z</updated>
    <link href="http://pragmati.st/2008/12/18/teachers-and-quarterbacks" rel="alternate" type="text/html"/>
    <title>Teachers and Quarterbacks</title>
<content type="html">
            &lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2008/12/18/quarterbacks_and_teachers.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;- Quarterbacks by &lt;a href=&quot;http://www.flickr.com/photos/ableman/&quot;&gt;Ableman&lt;/a&gt; / Teacher by &lt;a href=&quot;http://www.flickr.com/photos/editor/&quot;&gt;Editor B&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://www.newyorker.com/reporting/2008/12/15/081215fa_fact_gladwell?currentPage=all&quot;&gt;Most Likely to Succeed&lt;/a&gt;, the most recent Malcom Gladwell piece in The New Yorker, is a really interesting look at the similarities between trying to draft an &lt;span class=&quot;caps&quot;&gt;NFL&lt;/span&gt; quarterback and trying to hire a good public school teacher. The main similarity being that we are incredibly bad at predicting success in either field.&lt;/p&gt;


	&lt;p&gt;For all the effort on scouting, combines, and testing of college quarterbacks it turns out that there is no demonstrated correlation between wonderlic test scores or draft position with an &lt;span class=&quot;caps&quot;&gt;NFL&lt;/span&gt; quarterback&#8217;s career performance. Similarly, teachers who earn a Masters Degree or an advanced teaching certificate don&#8217;t perform any better than those with a vanilla bachelor&#8217;s degree. So &lt;span class=&quot;caps&quot;&gt;NFL&lt;/span&gt; teams end up selecting &lt;a href=&quot;http://en.wikipedia.org/wiki/Ryan_Leaf&quot;&gt;Ryan Leaf&lt;/a&gt; with the number one pick and giving him an 11 million dollar signing bonus while passing on &lt;a href=&quot;http://en.wikipedia.org/wiki/Tom_Brady&quot;&gt;Tom Brady&lt;/a&gt; until the 199th pick. Similarly, and more important for society, we end up with teachers who have Masters Degrees, but couldn&#8217;t teach you how to make a peanut butter and jelly sandwich.&lt;/p&gt;


	&lt;p&gt;I&#8217;ve always found the way we select teachers strange. You don&#8217;t need a master&#8217;s degree in math to teach high school geometry. The skills needed to earn an advanced degree and the skills needed to be a good teacher are completely different. Sure, sometimes those skills develop in the same person, but I&#8217;m willing to wager that is the exceptional case.&lt;/p&gt;


	&lt;p&gt;Let me make a quick conterfactual argument: If education and intelligence correlated with teaching performance, then college TA&#8217;s (generally Masters or PhD candidates who are incredibly intelligent and know the material inside out) would be great teachers. I think anyone who ever had a Calculus, Physics or Comp Sci class in college will immediately agree that this most certainly is &lt;strong&gt;not&lt;/strong&gt; the case.&lt;/p&gt;


	&lt;p&gt;In fact, I think you can make a good argument that the skills and attributes you need to earn a Master&#8217;s Degree in math (to take one example) are a significant &lt;em&gt;negative&lt;/em&gt; predictor of success in teaching.&lt;/p&gt;


	&lt;p&gt;Let&#8217;s face it, there is no subject taught in high school that requires a graduate level understanding of the material. The most difficult subject taught in high school is probably Calc AB and that is something that we expect college freshmen to master. The skills needed to be a great teacher are almost entirely social: you need to be able to engage your students, explain the material in multiple ways, control a classroom, and have a remarkable amount of patience with your students. These are not the skills that graduate level academics select for.&lt;/p&gt;


	&lt;p&gt;I know brilliant people who became teachers and failed miserably. I&#8217;m also fairly certain that some of the best teachers I had were actually pretty low on the IQ scale. If we as a nation are serious about improving education we need to look at ways to find and train better teachers.&lt;/p&gt;


	&lt;p&gt;There is a lot more I could say about this: about how we face the same problem in hiring programmers, or about what the implications of admitting we are terrible at predicting success are. But it is late, and I am tired, so maybe another day.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-12-02:3447</id>
    <published>2008-12-02T19:37:00Z</published>
    <updated>2008-12-02T19:38:23Z</updated>
    <link href="http://pragmati.st/2008/12/2/alexa-web-crawler-tamperedwithcookie-error" rel="alternate" type="text/html"/>
    <title>Alexa Web Crawler - TamperedWithCookie Error</title>
<content type="html">
            &lt;p&gt;I&#8217;ve recently started receiving a ton of &lt;code&gt;CGI::Session::CookieStore::TamperedWithCookie&lt;/code&gt; errors on an application I manage. All of the errors are coming from the &lt;a href=&quot;http://www.alexa.com/site/help/webmasters&quot;&gt;Alexa Web Crawler&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;The application is using the &lt;a href=&quot;http://ryandaigle.com/articles/2007/2/21/what-s-new-in-edge-rails-cookie-based-sessions&quot;&gt;Cookie Session Store&lt;/a&gt; (&lt;a href=&quot;http://railscasts.com/episodes/84&quot;&gt;Railscast&lt;/a&gt;) introduced in Rails 2. Upon inspection it appears that the problem is related to the newline characters rails inserts every 60 characters. Rails encodes these newlines as %0A. The alexa web crawler seems to convert these to \n. This is the only difference between the two cookies that I can see.&lt;/p&gt;


	&lt;p&gt;Rails Cookie:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
_application_session=BAh7CToMY3NyZl9pZCIlZDA1ODAzY2MwZGZjNzJkN2I4NGFjZTE5OTcxNzZh%0ANjI6FnNlYXJjaF9jYXRlZ29yaWVzWxRvOg1DYXRlZ29yeQc6FkBhdHRyaWJ1%0AdGVzX2NhY2hlewA6EEBhdHRyaWJ1dGVzewciCW5hbWUiFUF1dG8gLyBUcmFu%0Ac3BvcnQiB2lkIgYxbzsHBzsIewA7CXsHIgluYW1lIhNCZWF1dHkgLyBJbWFn%0AZSIHaWQiBjVvOwcHOwh7ADsJewciCW5hbWUiEkJvYXQgLyBNYXJpbmUiB2lk%0AIggxMTVvOwcHOwh7ADsJewciCW5hbWUiFUJ1c2luZXNzIC8gQWRtaW4iB2lk%0AIgY5bzsHBzsIewA7CXsHIgluYW1lIhRDb21wdXRlciAvIFRlY2giB2lkIgcx%0AMW87Bwc7CHsAOwl7ByIJbmFtZSIVQ3JlYXRpdmUgLyBNZWRpYSIHaWQiBzEy%0AbzsHBzs;
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;Alexa Crawler Request Cookie:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
_application_session=BAh7CToMY3NyZl9pZCIlOGJlNGQ2ZGYzYWZjODRhZGI4YmNlMWUxZTkwNmNl\nYjA6FnNlYXJjaF9jYXRlZ29yaWVzWxRvOg1DYXRlZ29yeQc6FkBhdHRyaWJ1\ndGVzX2NhY2hlewA6EEBhdHRyaWJ1dGVzewciCW5hbWUiFUF1dG8gLyBUcmFu\nc3BvcnQiB2lkIgYxbzsHBzsIewA7CXsHIgluYW1lIhNCZWF1dHkgLyBJbWFn\nZSIHaWQiBjVvOwcHOwh7ADsJewciCW5hbWUiEkJvYXQgLyBNYXJpbmUiB2lk\nIggxMTVvOwcHOwh7ADsJewciCW5hbWUiFUJ1c2luZXNzIC8gQWRtaW4iB2lk\nIgY5bzsHBzsIewA7CXsHIgluYW1lIhRDb21wdXRlciAvIFRlY2giB2lkIgcx\nMW87Bwc7CHsAOwl7ByIJbmFtZSIVQ3JlYXRpdmUgLyBNZWRpYSIHaWQiBzEy\nbzsHBzs
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;I&#8217;m &lt;a href=&quot;http://willj.net/blog/2008/03/19/bad-cookie/&quot;&gt;not the only person&lt;/a&gt; having this problem. Any ideas?&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-11-21:3359</id>
    <published>2008-11-21T17:13:00Z</published>
    <updated>2008-11-21T17:14:09Z</updated>
    <link href="http://pragmati.st/2008/11/21/interesting-things-to-read" rel="alternate" type="text/html"/>
    <title>Interesting Things to Read</title>
<content type="html">
            &lt;p&gt;I&#8217;ve recently read some excellent long form magazine articles.&lt;/p&gt;


	&lt;h2&gt;Michael Lewis&lt;/h2&gt;


	&lt;h3&gt;&lt;a href=&quot;http://www.portfolio.com/news-markets/national-news/portfolio/2008/11/11/The-End-of-Wall-Streets-Boom&quot;&gt;The End&lt;/a&gt;&lt;/h3&gt;


	&lt;p&gt;Michael Lewis is the author of Liar&#8217;s Poker, Moneyball, and The Blind Side (all excellent books). Before becoming an author he worked at Salomon Brothers in the 1980&#8217;s when they were the first investment bank to go public and one of his immediate co-workers invented the mortgage backed security. It is an excellent examination of just how badly fucked the system was.&lt;/p&gt;


	&lt;p&gt;Also to the &#8220;How did professionals so badly misjudge risk and fuck us all?&#8221; category are two excellent episodes of This American Life from earlier this year: &lt;a href=&quot;http://www.thislife.org/Radio_Episode.aspx?episode=355&quot;&gt;The Giant Pool of Money&lt;/a&gt; and &lt;a href=&quot;http://www.thislife.org/Radio_Episode.aspx?episode=365&quot;&gt;Another Frightening Show About&lt;/a&gt; the Economy.&lt;/p&gt;


	&lt;h2&gt;David Foster Wallace&lt;/h2&gt;


	&lt;p&gt;I&#8217;ve also recently read two excellent David Foster Wallace essays. I actually came to both organically as they were linked to from other things I was reading. Still, I feel a bit guilty to only now be reading more Wallace. (I&#8217;d only read the &lt;a href=&quot;http://www.nytimes.com/2006/08/20/sports/playmagazine/20federer.html?pagewanted=all&quot;&gt;Federer piece&lt;/a&gt; and &lt;a href=&quot;http://www.gourmet.com/magazine/2000s/2004/08/consider_the_lobster&quot;&gt;Consider the Lobster&lt;/a&gt; while he was alive)&lt;/p&gt;


	&lt;h3&gt;&lt;a href=&quot;http://www.theatlantic.com/doc/200504/wallace&quot;&gt;Host&lt;/a&gt;&lt;/h3&gt;


	&lt;p&gt;About talk radio host John Ziegler (Who recently got involved in some controversy with FiveThirtyEight.com and a generally ridiculous &lt;a href=&quot;http://www.fivethirtyeight.com/2008/11/interview-with-john-ziegler-on-zogby.htmli&quot;&gt;interview&lt;/a&gt; about an upcoming &#8220;&lt;a href=&quot;http://howobamagotelected.com/&quot;&gt;documentary&lt;/a&gt;&#8221; he is releasing) By the way, the quotes around &#8220;documentary&#8221; are because he has a clear agenda in making the film, not because of its ideological content. That, in my opinion, renders it editorial or argument, but not a documentary. I would also use quotes if referring to Michael Moore&#8217;s &#8220;documentaries&#8221;&lt;/p&gt;


	&lt;h3&gt;&lt;a href=&quot;http://www.esquire.com/features/sports/the-string-theory-0796&quot;&gt;The String Theory&lt;/a&gt;&lt;/h3&gt;


	&lt;p&gt;About Michael Joyce, at the time the 89th ranked professional tennis player in the world. However, to say that it is about a tennis player does not even remotely do the piece justice. It is about specialization, sacrifice, grotesqueness, desire, and talent. I think it was even better than the Federer piece which was amazing.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-11-07:3213</id>
    <published>2008-11-07T21:08:00Z</published>
    <updated>2008-11-07T21:09:06Z</updated>
    <link href="http://pragmati.st/2008/11/7/error-rake-ultrasphinx-configure" rel="alternate" type="text/html"/>
    <title>Error - rake ultrasphinx:configure</title>
<content type="html">
            &lt;p&gt;A new Web Designer I work with was running into an error when attempting to configure ultrasphinx for his local Rails development environment.&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
rake ultrasphinx:configure

rake aborted!
Anonymous modules have no name to be referenced by
/var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:402:in `to_constant_name'
/var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:214:in `qualified_name_for'
/var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:477:in `const_missing'
/home/deploy/apps/stylespotted/releases/20080131024018/vendor/plugins/ultrasphinx/lib/ultrasphinx/configure.rb:33:in `load_constants'
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;I was baffled for this for a few days. We finally figured it out this afternoon.&lt;/p&gt;


	&lt;p&gt;He is a UI developer, and new to Rails, so hadn&#8217;t created his DB. The fix was simple:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
rake db:create
rake db:migrate
rake ultrasphinx:configure
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;And he had a working development.conf for Ultrasphinx&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-11-05:3211</id>
    <published>2008-11-05T22:19:00Z</published>
    <updated>2008-11-13T22:04:23Z</updated>
    <link href="http://pragmati.st/2008/11/5/election-2008" rel="alternate" type="text/html"/>
    <title>Election 2008</title>
<content type="html">
            &lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2008/11/5/white_house_celebration.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;- flickr user &lt;a href=&quot;http://flickr.com/photos/sanjaysuchak/3004768941/in/set-72157608678986035/&quot;&gt;sanjaysuchak&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Anyone who knows me knows that I am very happy with the outcome, but regardless of your politics you have to admit that we witnessed something special.&lt;/p&gt;


	&lt;h2&gt;A quick story&lt;/h2&gt;


	&lt;p&gt;My mom worked as an election judge in Montgomery County. She was at the polls from 6 AM to after 10 PM and said she&#8217;d never seen anything like it. 2 hour lines, people genuinely excited, 65% turnout. She shared a story that I think illustrates why yesterday was special.&lt;/p&gt;


	&lt;p&gt;When the polls opened at 7AM there was already a line. While waiting, a 74 year old black man fainted. An ambulance was called, and while they were wheeling him out on a stretcher &lt;del&gt;he asked if he could vote before he left&lt;/del&gt; (Edit 11/13/2008: Apparently I misheard my mother&#8217;s telling of the story. &lt;em&gt;She&lt;/em&gt; asked the &lt;span class=&quot;caps&quot;&gt;EMT&lt;/span&gt; about letting the man vote. Still a good story in my opinion). The &lt;span class=&quot;caps&quot;&gt;EMT&lt;/span&gt; said it wasn&#8217;t worth risking his life over. My mom promised him that if he made it back he&#8217;d go straight to the front of the line.&lt;/p&gt;


	&lt;p&gt;A few hours later he came back in a wheelchair and cast his vote.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-10-15:2974</id>
    <published>2008-10-15T02:35:00Z</published>
    <updated>2008-10-15T02:36:10Z</updated>
    <link href="http://pragmati.st/2008/10/15/the-me-meme" rel="alternate" type="text/html"/>
    <title>The Me Meme</title>
<content type="html">
            &lt;p&gt;Taking a break from work to participate in a silly blog meme.&lt;/p&gt;


	&lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2008/10/15/the_me_meme.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Take a picture of yourself right now.&lt;/li&gt;
		&lt;li&gt;Don’t change your clothes, don’t fix your hair…just take a picture. (should be super-easy with Photobooth)&lt;/li&gt;
		&lt;li&gt;Post that picture with NO editing.&lt;/li&gt;
		&lt;li&gt;Post these instructions with your picture.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;via &lt;a href=&quot;http://www.flickr.com/photos/raganwald/2909791653/&quot;&gt;raganwald&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-09-22:2677</id>
    <published>2008-09-22T03:11:00Z</published>
    <updated>2008-09-22T03:11:43Z</updated>
    <link href="http://pragmati.st/2008/9/22/freezing-to-rails-2-0-4" rel="alternate" type="text/html"/>
    <title>Freezing to Rails 2.0.4</title>
<content type="html">
            &lt;p&gt;One of our applications is still running Rails 2.0. I&#8217;m planning to upgrade to 2.1 soon, but in the meantime I wanted to upgrade to &lt;a href=&quot;http://weblog.rubyonrails.org/2008/9/3/rails-2-0-4-maintenance-release&quot;&gt;2.0.4&lt;/a&gt; to get the patch for the &lt;a href=&quot;http://weblog.rubyonrails.org/2008/8/23/dos-vulnerabilities-in-rexml&quot;&gt;&lt;span class=&quot;caps&quot;&gt;REXML&lt;/span&gt; DoS vulnerability&lt;/a&gt;. We freeze our version of Rails (and so should you) but I couldn&#8217;t freeze in the normal way:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;rake rails:freeze:edge&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;This resulted in a message that the release was not found so it checked out the head instead.&lt;/p&gt;


	&lt;p&gt;I managed to freeze by running the following two commands:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;sudo gem install rails --version 2.0.4
rake environment VERSION=2.0.4 rails:freeze:gems&lt;/code&gt;&lt;/pre&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-07-26:1766</id>
    <published>2008-07-26T16:03:00Z</published>
    <updated>2008-07-26T16:05:08Z</updated>
    <link href="http://pragmati.st/2008/7/26/explanatory-text-is-a-ui-smell" rel="alternate" type="text/html"/>
    <title>Explanatory Text is a UI Design Smell</title>
<content type="html">
            &lt;p&gt;I&#8217;ve had to switch the phone on my Verizon account a few times in the last couple of weeks. Verizon has an online tool that makes it pretty easy. You login to your account, click on &#8220;My Phone&#8221;, click &#8220;Activate a Phone&#8221; and then enter your &lt;span class=&quot;caps&quot;&gt;ESN&lt;/span&gt; or &lt;span class=&quot;caps&quot;&gt;MEID&lt;/span&gt;. The &lt;span class=&quot;caps&quot;&gt;ESN&lt;/span&gt; or &lt;span class=&quot;caps&quot;&gt;MEID&lt;/span&gt; is the unique identifier of the handset and is typically found in very small text underneath the battery.&lt;/p&gt;


	&lt;p&gt;All in all it is a very good experience and makes a fairly arcane task pretty easy. However, there is one bit of explanatory text (highlighted in red) that offers an opportunity for an improved user experience.&lt;/p&gt;


	&lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2008/7/26/verizon_esn_tips.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;Since &lt;span class=&quot;caps&quot;&gt;ESN&lt;/span&gt; or &lt;span class=&quot;caps&quot;&gt;MEID&lt;/span&gt; is either in decimal or hexidecimal there never will be the letter O it will always be the number 0. However, my mother shouldn&#8217;t have to think about hexadecimal base numbers if she is changing her phone. A better solution would be to just treat the letter O as the number 0. Then the user doesn&#8217;t have to worry about it, and you can get rid of the explanatory text.&lt;/p&gt;


	&lt;p&gt;This reminds me of &lt;a href=&quot;http://martinfowler.com/bliki/CodeSmell.html&quot;&gt;code smells&lt;/a&gt;. A code smell is a &lt;em&gt;symptom&lt;/em&gt; that there may be deeper issues with the code. For instance, long methods are a code smell. They don&#8217;t mean that there is necessarily a problem with the code, but they do suggest that there is a good chance there is.&lt;/p&gt;


	&lt;p&gt;I think that long blocks of explanatory text are a User Experience smell. Sometimes there isn&#8217;t a better option, and you really need that text, but in most cases a little extra thought about the UI can eliminate the need for the explanatory text.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-07-01:1602</id>
    <published>2008-07-01T18:42:00Z</published>
    <updated>2008-07-01T18:45:13Z</updated>
    <link href="http://pragmati.st/2008/7/1/smartphones" rel="alternate" type="text/html"/>
    <title>Smartphones</title>
<content type="html">
            &lt;p&gt;I think that the release last year of the iPhone represented the biggest jump in computing since the introduction of the personal computer in the 1980&#8217;s. The iPhone is not a &#8220;smartphone&#8221; in the sense of its predecessors. It is a handheld computer that happens to do voice well.&lt;/p&gt;


	&lt;p&gt;The designers clearly were willing to sacrifice to optimize for how mobile devices are actually used. The biggest complaint about the iPhone is the lack of a physical keyboard. The touch screen keyboard &lt;em&gt;is&lt;/em&gt; cumbersome. It is sufficient for typing short messages, but is woefully inadequate for long passages of text. However, the decision to abandon a physical keyboard allows for a much larger screen. Without the large screen surfing the web, reading emails, and watching video would not work as well. A larger screen makes it much easier to &lt;em&gt;recieve&lt;/em&gt; information. And that is the crux of the mobile experience. A mobile device is primarily used to pull information; to look up directions, check movie times, read an email. If you need to write more than 2 or 3 lines for an email it can probably wait until you get back to a full computer. The willingness to sacrifice the uncommon to make the common delightful is what makes the iPhone great.&lt;/p&gt;


	&lt;p&gt;This is not to say that I think the iPhone is the end all and be all of mobile interfaces. As much as I love it, it is not perfect. There have to be other interesting approaches to mobile computing. Unfortunately, all the existing phone producers have done is to produce cheap imitations. Just google for &#8220;iphone killer&#8221; to see a sad array of products without an original idea.&lt;/p&gt;


	&lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2008/6/28/iphone_and_knockoffs.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;What the mobile space most needs is legitimate competition (If you think that Windows Mobile or &lt;span class=&quot;caps&quot;&gt;RIM&lt;/span&gt; count, then I just don&#8217;t know what to tell you) &lt;a href=&quot;http://code.google.com/android/&quot;&gt;Android&lt;/a&gt; could be very interesting, but I&#8217;m not sure if Google is going to be able to pull it off. Apple managed to produce the iPhone by completely controlling the hardware and software, and by pistol whipping one of the weaker carriers into allowing it. Google is trying to build a platform with multiple hardware manufacturers and networks. I don&#8217;t see how they&#8217;re going to be able to get them all on one page. I&#8217;m also not sure how one is supposed to effectively develop applications for the various phones with wildly different hardware.&lt;/p&gt;


	&lt;p&gt;That said, the first round of winners in the &lt;a href=&quot;http://code.google.com/android/adc.html&quot;&gt;Android Developer Challenge&lt;/a&gt; include some very interesting applications. I&#8217;m particularly excited about &lt;a href=&quot;http://scan.jsharkey.org/&quot;&gt;Android Scan&lt;/a&gt; an application that lets you scan the barcode of a book, movie, or CD using the camera on your phone and instantly get reviews, samples and comparison shop online. I think that this is going to be really useful. Imagine being able to scan the barcode of a bottle of wine and instantly get reviews as well as finding out that it&#8217;s half price down the street. This is the future of shopping.&lt;/p&gt;


&amp;lt;object height=&quot;344&quot; width=&quot;425&quot;&gt;&amp;lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/bwhdXJuiO48&#38;hl=en&quot;&gt;&amp;lt;/param&gt;&amp;lt;embed src=&quot;http://www.youtube.com/v/bwhdXJuiO48&#38;hl=en&quot; type=&quot;application/x-shockwave-flash&quot; height=&quot;344&quot; width=&quot;425&quot;&gt;&amp;lt;/embed&gt;&amp;lt;/object&gt;

	&lt;p&gt;A lot of the other winners are underwhelming. There are a lot of location based social networks that will never get to a critical mass and a lot of emergency notification apps. Still there is a ton of potential, and an open mobile platform is really exciting. I love the idea of being able to replace the email client on my phone if I don&#8217;t like it. We&#8217;re in the infancy of designing for mobile devices, and the lower the barrier to entry the better. We need more people trying new things.&lt;/p&gt;


	&lt;p&gt;In the end I think that the iPhone is going to remain the pinnacle of mobile experience for some time. The seamless experience Apple has created is going to be hard to beat. If Android comes out before the iPhone becomes available on all carriers I think it will find a decent market. I would strongly consider an Android phone before switching away from Verizon&#8217;s network.&lt;/p&gt;


	&lt;p&gt;At least I am hopeful about the future of mobile devices, and that is something I&#8217;ve never been able to say be before.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-05-02:1514</id>
    <published>2008-05-02T15:57:00Z</published>
    <updated>2008-05-02T16:01:18Z</updated>
    <link href="http://pragmati.st/2008/5/2/cool-shopping-cart-interface" rel="alternate" type="text/html"/>
    <title>Cool Shopping Cart Interface</title>
<content type="html">
            &lt;p&gt;&lt;a href=&quot;http://baggubag.com/&quot;&gt;Baggu&lt;/a&gt; sells reusable shopping bags. Their &lt;a href=&quot;http://baggubag.com/SHOP.html&quot;&gt;shop&lt;/a&gt; has a simple interface that makes it really easy to visualize what you&#8217;re purchasing.&lt;/p&gt;


	&lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2008/5/2/baggu_shopping_interface.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;Reusable shopping bags are a good way to cut down on our consumption. I bought the beautiful gray one from &lt;a href=&quot;http://bagthehabit.com/products.html&quot;&gt;BagTheHabit&lt;/a&gt; for my girlfriend for Christmas.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-04-24:1449</id>
    <published>2008-04-24T03:21:00Z</published>
    <updated>2008-04-24T03:23:53Z</updated>
    <link href="http://pragmati.st/2008/4/24/web-content-mavens-meeting-tuning-up-your-web-analytics" rel="alternate" type="text/html"/>
    <title>Web Content Mavens Meeting: Tuning Up Your Web Analytics</title>
<content type="html">
            &lt;p&gt;I attended the &lt;a href=&quot;http://webcms.meetup.com/39/calendar/7471411/&quot;&gt;Web Content Mavens Meeting&lt;/a&gt; tonight. &lt;a href=&quot;http://www.pkwc.com/exec/bio.php&quot;&gt;Phil Kemelor&lt;/a&gt; gave a presentation on &#8220;Tuning Up Your Web Analytics&#8221;&lt;/p&gt;


	&lt;p&gt;I didn&#8217;t think that the presentation itself provided much value. Everything that Phil said boiled down to the following: &lt;strong&gt;Make sure everything you do with web analytics helps the business.&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;In other words, &lt;em&gt;think&lt;/em&gt; about what questions you want your web analytics to help you answer and always try to tie that back to something of business value. This is a very important point, but one that I feel is self-evident and certainly one that can be made in less than an hour.&lt;/p&gt;


	&lt;p&gt;I was disappointed that he didn&#8217;t offer specific suggestions for how to improve your usage of analytics. Instead he stayed in the land of platitudes with suggestions like &#8220;Reach out and touch a stake holder&#8221; That said, web analytics helps to answer questions that are business specific, so coming up with general advice is clearly a difficult task.&lt;/p&gt;


	&lt;p&gt;To be fair, I think that I am a bit more technical that the target audience of the talk, so maybe others did benefit.&lt;/p&gt;


	&lt;p&gt;In any case, the meeting had a good crowd and was well organized and the sponsors paid for free beer which was cool. Thanks to the organizers.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://pragmati.st/">
    <author>
      <name>patjoyce</name>
    </author>
    <id>tag:pragmati.st,2008-03-19:1296</id>
    <published>2008-03-19T14:25:00Z</published>
    <updated>2008-03-19T14:26:13Z</updated>
    <link href="http://pragmati.st/2008/3/19/sandwichboard-launch" rel="alternate" type="text/html"/>
    <title>SandwichBoard Launch</title>
<content type="html">
            &lt;p&gt;&lt;img src=&quot;http://pragmati.st/assets/2008/3/14/SandwichBoardD15aR05aP01ZL.jpg&quot; alt=&quot;SandwichBoard Logo&quot; /&gt;&lt;/p&gt;


	&lt;p&gt;In September I left Lockheed Martin to start a company with my very talented colleague &lt;a href=&quot;http://ianlotinsky.wordpress.com&quot;&gt;Ian Lotinsky&lt;/a&gt;. Today is a very proud day for us, as after several months of private beta we have just publicly launched &lt;a href=&quot;http://www.sandwichboard.com&quot;&gt;SandwichBoard&lt;/a&gt;.&lt;/p&gt;


	&lt;h2&gt;What is SandwichBoard?&lt;/h2&gt;


	&lt;p&gt;SandwichBoard is the best way to create and maintain a restaurant&#8217;s website. We&#8217;ve worked really hard to make managing a restaurant&#8217;s website with SandwichBoard as easy as writing an email, updating a Facebook profile, or writing a blog entry. We let restaurant owners and managers update their menus, events, locations, and news from a web browser without having to learn anything about &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; or web design.&lt;/p&gt;


	&lt;p&gt;The best way to describe SandwichBoard is to show it in action, so please go check out our &lt;a href=&quot;http://www.sandwichboard.com&quot;&gt;introductory video&lt;/a&gt;.&lt;/p&gt;


	&lt;h2&gt;Why Restaurants?&lt;/h2&gt;


	&lt;p&gt;I started working in restaurants when I was still in high school and paid my way through college as a busboy, waiter, bartender, and manager. I &lt;em&gt;&lt;strong&gt;love&lt;/strong&gt;&lt;/em&gt; restaurants. And I saw how painful it is for most restaurants to manage their web sites.&lt;/p&gt;


	&lt;p&gt;Every restaurant needs a web site, but getting a good one is currently an expensive and time consuming proposition. First, you have to hire a graphic designer, then you have to find, set-up, and pay for web hosting. Most of the time this involves signing a multi-year contract. One restaurant I know just spent upwards of $20,000 on a site redesign.&lt;/p&gt;


	&lt;p&gt;And after all that you can&#8217;t easily update your site. Every time you change your menu or want to make a change to a page you have to call up the designer and pay them more to make the change. This leads to restaurant web sites being out of date. And the only thing worse than not having a web site is having customers show up to find out that you now close an hour earlier than your 2 year old web site says.&lt;/p&gt;


	&lt;p&gt;SandwichBoard solves this problem. When a restaurant signs up for SandwichBoard they can start building their site immediately. In minutes they can create a basic site, and in about an hour they can create about a complete site. We give them a choice of several pre-built themes. They can use the theme as is, customize the theme themselves, or higher a designer to build them a custom theme. Once the theme is set up they can easily manage their entire site without the need to involve (and pay) the designer.&lt;/p&gt;


	&lt;p&gt;We&#8217;re so confident that restaurants are going to love SandwichBoard that we let them try it free for a month. We also don&#8217;t lock them into a long term contract, so they can cancel at any time.&lt;/p&gt;


	&lt;h2&gt;Please Help Us&#8230;&lt;/h2&gt;


	&lt;p&gt;Making it to launch is a big accomplishment, and is cause for celebration (And believe me, I will be celebrating tonight)&lt;/p&gt;


	&lt;p&gt;But now comes the truly important part: getting customers. So please help us spread the word. If you know people in the restaurant business please let us know. If you&#8217;re going out to eat please check and see if they have a web site. If they don&#8217;t, let us know. If they do and it&#8217;s bad, let us know.&lt;/p&gt;


	&lt;p&gt;If you know graphic designers who are interested in some work let us know. We would love to refer restaurants to them. We manage all the hosting and software, so designers can focus on design. We&#8217;re not looking to make money off the designers, they keep whatever fee they negotiate with the restaurants, we just want to get good designers building beautiful web sites on SandwichBoard.&lt;/p&gt;


	&lt;h2&gt;Thank You&lt;/h2&gt;


	&lt;p&gt;Thanks to everyone who has put up with me for the last several months while we built this application. I flaked on plans, was generally a bad friend, and for that I&#8217;m sorry. For those of you I&#8217;ve been bad about keeping up with please know that you are in my thoughts and I hope to catch up with you soon.&lt;/p&gt;
          </content>  </entry>
</feed>
