<?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>Jason Priem &#187; code</title>
	<atom:link href="http://jasonpriem.org/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://jasonpriem.org</link>
	<description></description>
	<lastBuildDate>Wed, 07 Dec 2011 20:43:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>MEDLINE literature growth chart</title>
		<link>http://jasonpriem.org/2010/10/medline-literature-growth-chart/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=medline-literature-growth-chart</link>
		<comments>http://jasonpriem.org/2010/10/medline-literature-growth-chart/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 21:35:43 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[academia]]></category>
		<category><![CDATA[alt-metrics]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fun with data]]></category>
		<category><![CDATA[infovis]]></category>

		<guid isPermaLink="false">http://jasonpriem.com/?p=406</guid>
		<description><![CDATA[We all know the volume of scientific literature is growing.  I went looking for an infographic showing this, but wasn&#8217;t satisfied with what I found, so I made one, based on the publication dates of articles in MEDLINE. I got the data by searching PubMed with the query ("[year]"[Publication Date])where [year] was each year from [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jasonpriem.com/wp-content/uploads/2010/10/medline-articles-by-year-lg.png"><img class="size-full wp-image-426 alignleft" title="medline-articles-by-year-lg" src="http://jasonpriem.com/wp-content/uploads/2010/10/medline-articles-by-year-lg.png" alt="" width="402" height="379" /></a>We all know the volume of scientific literature is growing.  I went looking for an infographic showing this, but wasn&#8217;t satisfied with what I found, so I made one, based on the publication dates of articles in <a href="http://www.nlm.nih.gov/databases/databases_medline.html">MEDLINE</a>.</p>
<p>I got <a href="http://jasonpriem.com/share/num-medline-articles-published-by-year.txt">the data</a> by searching <a href="http://www.ncbi.nlm.nih.gov/pubmed">PubMed</a> with the query<br />
<code>("[year]"[Publication Date])</code>where [year] was each year from 1950-2009. Then I charted the results in <a href="http://www.r-project.org/">R</a>, and resized them in Photoshop.</p>
<p>The data, R code, and images  are all <a href="http://wiki.creativecommons.org/CC0">CC0</a> (public domain), and can be used wherever and for whatever you fancy.</p>
<p><a href="http://jasonpriem.com/wp-content/uploads/2010/10/medline-articles-by-year-sm.png">small version of graphic</a></p>
<p><a href="http://jasonpriem.com/share/num-medline-articles-published-by-year.txt">num-medline-articles-published-by-year.txt</a></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="rsplus" style="font-family:monospace;"><span style="color: #228B22;"># setup.</span>
pub <span style="color: #080;">&lt;-</span> <span style="color: #0000FF; font-weight: bold;">read.<span style="">table</span></span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">&quot;path_to_data_file&quot;</span>, header<span style="color: #080;">=</span>TRUE<span style="color: #080;">&#41;</span>
<span style="color: #0000FF; font-weight: bold;">par</span><span style="color: #080;">&#40;</span>cex<span style="color: #080;">=</span><span style="color: #ff0000;">2.2</span><span style="color: #080;">&#41;</span> <span style="color: #228B22;"># controls the relative size of the text</span>
mainTitle <span style="color: #080;">&lt;-</span> <span style="color: #ff0000;">&quot;MEDLINE-indexed articles<span style="color: #000099; font-weight: bold;">\n</span>published per year&quot;</span>
&nbsp;
<span style="color: #228B22;"># make the plot.</span>
<span style="color: #228B22;"># see http://www.harding.edu/fmccown/r/ for a nice intro on plot options</span>
<span style="color: #0000FF; font-weight: bold;">plot</span><span style="color: #080;">&#40;</span>pub, main<span style="color: #080;">=</span>mainTitle, ylab<span style="color: #080;">=</span><span style="color: #ff0000;">''</span>, xlab<span style="color: #080;">=</span><span style="color: #ff0000;">''</span>, type<span style="color: #080;">=</span><span style="color: #ff0000;">&quot;l&quot;</span>, axes<span style="color: #080;">=</span><span style="color: #0000FF; font-weight: bold;">F</span>, 
     <span style="color: #0000FF; font-weight: bold;">col</span><span style="color: #080;">=</span><span style="color: #ff0000;">'red'</span>, lwd<span style="color: #080;">=</span><span style="color: #ff0000;">6</span>, ylim<span style="color: #080;">=</span><span style="color: #0000FF; font-weight: bold;">c</span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">1000000</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>
&nbsp;
<span style="color: #228B22;"># label the axes</span>
<span style="color: #0000FF; font-weight: bold;">axis</span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">1</span>, at<span style="color: #080;">=</span><span style="color: #0000FF; font-weight: bold;">seq</span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">1950</span>, <span style="color: #ff0000;">2010</span>, <span style="color: #ff0000;">10</span><span style="color: #080;">&#41;</span>, lab<span style="color: #080;">=</span><span style="color: #0000FF; font-weight: bold;">seq</span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">1950</span>, <span style="color: #ff0000;">2010</span>, <span style="color: #ff0000;">10</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>
labs <span style="color: #080;">&lt;-</span> <span style="color: #0000FF; font-weight: bold;">c</span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">''</span>,<span style="color: #ff0000;">''</span>,<span style="color: #ff0000;">'200k'</span>,<span style="color: #ff0000;">''</span>,<span style="color: #ff0000;">'400k'</span>,<span style="color: #ff0000;">''</span>,<span style="color: #ff0000;">'600k'</span>,<span style="color: #ff0000;">''</span>,<span style="color: #ff0000;">'800k'</span>,<span style="color: #ff0000;">''</span>,<span style="color: #ff0000;">'1M'</span><span style="color: #080;">&#41;</span><span style="color: #228B22;"># quick and dirty labels...</span>
<span style="color: #0000FF; font-weight: bold;">axis</span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">2</span>, at<span style="color: #080;">=</span><span style="color: #0000FF; font-weight: bold;">seq</span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">0</span>, <span style="color: #ff0000;">1000000</span>, <span style="color: #ff0000;">100000</span><span style="color: #080;">&#41;</span>, lab<span style="color: #080;">=</span>labs, las<span style="color: #080;">=</span><span style="color: #ff0000;">2</span><span style="color: #080;">&#41;</span>  <span style="color: #228B22;"># &quot;las&quot; makes labeles display horiz.</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://jasonpriem.org/2010/10/medline-literature-growth-chart/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Markup languages: who&#8217;s who?</title>
		<link>http://jasonpriem.org/2010/04/markup-languages-whos-who/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=markup-languages-whos-who</link>
		<comments>http://jasonpriem.org/2010/04/markup-languages-whos-who/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 02:21:22 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[infovis]]></category>

		<guid isPermaLink="false">http://jasonpriem.com/?p=323</guid>
		<description><![CDATA[Is HTML XML?  This question came up in a conversation with Sarah and @k8lin, and ended up being harder than I thought it&#8217;d be.  There seems to be a fair amount of confusion on the topic, especially given the W3C&#8217;s recent abandonment of XHTML 2.0 and growing use of HTML5. So, I decided to lay [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jasonpriem.com/wp-content/uploads/2010/04/markup-comic-small-copy.jpg"><img class="alignleft size-full wp-image-324" title="markup languages timeline" src="http://jasonpriem.com/wp-content/uploads/2010/04/markup-comic-small-copy.jpg" alt="markup languages timeline" width="473" height="405" /></a>Is HTML XML?  This question came up in a conversation with Sarah and @k8lin, and ended up being harder than I thought it&#8217;d be.  There seems to be a fair amount of confusion on the topic, especially given the W3C&#8217;s recent abandonment of XHTML 2.0 and growing use of HTML5.</p>
<p>So, I decided to lay it all out in a (relatively) simple timeline format; as far as I know, this doesn&#8217;t exist anywhere else.  You&#8217;re welcome, The Internet.  Below are my sources and some notes; where possible, links are to the original recommendations or RFCs:</p>
<p>SGML is an <a href="http://en.wikipedia.org/wiki/International_Organization_for_Standardization">ISO </a>standard <a href="http://en.wikipedia.org/wiki/Sgml#Standard_versions">from the 80&#8242;s</a>.  Unlike the other standards on this list, it&#8217;s not open (the ISO <a href="http://www.iso.org/iso/catalogue_detail.htm?csnumber=16387">sells copies</a> for &gt;$200).  <a href="http://www.w3.org/TR/html401/intro/sgmltut.html">HTML is an &#8220;SGML application</a>&#8220;, and has been <a href="http://www.w3.org/MarkUp/draft-ietf-iiir-html-01.txt">from the beginning.</a> The <a href="http://en.wikipedia.org/wiki/Html#First_specifications">Wikipedia article</a> has a lot more information on its origins, as does the <a href="http://www.w3.org/MarkUp/html-spec/">W3C</a>.</p>
<p><a href="http://tools.ietf.org/html/rfc1866">HTML 2.0</a> and <a href="http://www.w3.org/TR/REC-html32">HTML 3.2</a> , the first two W3C specs, are both pretty straightforward. Also straightforward is XML, which dropped in <a href="http://www.w3.org/TR/1998/REC-xml-19980210">February 1998</a>. Like HTML, XML is &#8220;an application profile&#8230;of SGML.&#8221;</p>
<p>In December 1999, the HTML 4.01 recommendation came out, followed a month later by XHTML 1.0.  The important thing to note<em> is that both of these are still HTML 4</em>; however, XHTML is<a href="http://www.w3.org/TR/xhtml1/"> &#8220;a reformulation of HTML 4 as an <abbr title="Extensible Markup Language"> XML</abbr> 1.0 application,&#8221;</a> while HTML 4.01 <a href="http://www.w3.org/TR/html401/">is still plain ol&#8217; SGML</a>.</p>
<p>No one knows yet exactly what <a href="http://dev.w3.org/html5/spec/Overview.html">HTML5</a> is going to look like, as it&#8217;s still several years off.  However, the W3C<a href="http://www.w3.org/2009/06/xhtml-faq.html"> tells us</a> that the HTML5, like HTML4, is going to have two different &#8220;serializations.&#8221;  One will be an XML syntax, and is currently being called XHTML 5 (wait, why not &#8220;XHTML 2?&#8221;  Hang on, we&#8217;ll get there). You might expect that the other serialization would be SGML a la HTML 4.01.  You&#8217;d be wrong.</p>
<p>Although HTML is technically SGML, most browsers and authoring tools couldn&#8217;t care less about the broader SGML standard; they just implement HTML.  So the W3C&#8217;s plan seems to be to <a href="http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html">ditch the SGML legecy and replace it with &#8220;html&#8221;</a> (note the lowercase), an entirely new standard&#8230;which happens to look pretty much like HTML has always looked.</p>
<p>Whew, we&#8217;re almost done.  OK, what about<a href="http://www.w3.org/TR/xhtml2/"> XHTML2</a>?  Despite the name, project was not a &#8220;next step;&#8221; it was a huge break with the whole HTML/XHTML tradition, an effort to completely remake web markup.  In July, the W3C decided to let it die on the vine and focus on HTML5.  So XHTML 5, with its HTML lineage, will be a more incremental change than XHTML 2 would&#8217;ve been.</p>
<p>There you have it.  If I missed anything or got something turned around, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonpriem.org/2010/04/markup-languages-whos-who/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obfuscate no more: why your email address should go au naturale</title>
		<link>http://jasonpriem.org/2009/05/stop-obfuscating-email/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=stop-obfuscating-email</link>
		<comments>http://jasonpriem.org/2009/05/stop-obfuscating-email/#comments</comments>
		<pubDate>Tue, 12 May 2009 21:11:12 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[semantic web]]></category>

		<guid isPermaLink="false">http://jasonpriem.com/?p=228</guid>
		<description><![CDATA[I was recently redesigning my homepage, and I wanted to include my email address.  I knew that only n00b looz3rz display their addy in plain site for spambots to harvest, so I applied a little light obfuscation,  like they do on php.net and million other sites: &#8220;myname at jasonpriem dot com.&#8221; &#8220;Take that, spammer scum!&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jasonpriem.com/wp-content/uploads/2009/05/obfuscation-decoder.png"><img class="alignleft size-full wp-image-245" title="screenshot of the obfuscation decoder demo" src="http://jasonpriem.com/wp-content/uploads/2009/05/obfuscation-decoder.png" alt="screenshot of the obfuscation decoder demo" width="300" height="275" /></a>I was recently redesigning my <a href="http://jasonpriem.com">homepage</a>, and I wanted to include my email address.  I knew that only n00b looz3rz display their addy in plain site for spambots to harvest, so I applied a little light obfuscation,  like they do on <a href="http://www.php.net">php.net</a> and million other sites: &#8220;myname at jasonpriem dot com.&#8221;</p>
<p>&#8220;Take that, spammer scum!&#8221; I thought as I finished, basking in my newfound invulnerability to the v1@gr@-hawking vermin.  After all, if lots of people use <a href="http://en.wikipedia.org/wiki/Address_munging">address munging</a>, it must work, right?</p>
<p>Right?</p>
<p>Darn it, now I&#8217;ve got to start reading about it.  So I did.  And after a few hours of reading blogs and writing code, I am now an Expert With Advice (hey, this is the internet).  And the advice is this:</p>
<p><strong>Stop trying to obfuscate your email address.  Stop now.</strong></p>
<p>I&#8217;ve got two reasons (and for a few more, <a href="http://floatingsun.net/articles/on-email-obfuscation/">some</a> <a href="http://www.divineaphasia.com/words/email-obfuscation-is-silly.html">other</a> <a href="http://typewriting.org/2006/06/19/Email_Obfuscation_Helps_Spammers/#comment-4549">folks</a> have blogged about this, too).  First, the more theoretical one:</p>
<h3>Spam is a problem for you&#8211;obfuscation makes it a problem for your users.</h3>
<p>After all, they&#8217;re the ones who are going to have to do all the de-munging.  Are they always going to notice that they have to remove &#8220;.invalid&#8221; from the end?  Do they all know that the English &#8220;at&#8221; means &#8220;@&#8221;?   Do they have time to edit text in their address lines?   Address munging is fundamentally inelegant, because it intentionally works against clarity.</p>
<p>People have been making this argument for a very <a href="http://www.interhack.net/pubs/munging-harmful/">long</a> <a href="http://www.faqs.org/faqs/net-abuse-faq/munging-address/">time</a>. It&#8217;s particularly relevant nowadays, though, because of the growing promise of the <a href="http://semanticweb.org/wiki/Main_Page">semantic web</a>.  We <em>want</em> data to be machine readable, because then we can do cool stuff with it.  <a href="http://en.wikipedia.org/wiki/FOAF_(software)">FOAF </a>and the <a href="http://microformats.org/wiki/hcard">hCard</a> microformat are pretty pointless if they don&#8217;t have real email addresses to work with.  &#8220;Hide the data from the machines&#8221; is a good strategy for fighting <a href="http://en.wikipedia.org/wiki/Skynet_(fictional)">Skynet</a>, but not for the future of the web.  Ok, reason two:</p>
<h3>Address munging just doesn&#8217;t work.</h3>
<p>It can&#8217;t.  It&#8217;s <a href="http://en.wikipedia.org/wiki/Mystery_Men#Cultural_references">putting glasses on Superman</a>.  Although <a href="http://tools.ietf.org/html/rfc2822">in theory</a> a valid email can be pretty hard to identify, <a href="http://www.regular-expressions.info/email.html">in practice</a>, emails addresses use a very limited vocabulary&#8211;and computers are good at identifying limited vocabularies.  Don&#8217;t forget, everyone has been using the same old [at] and &#8220;dot&#8221; tricks for <em>decades</em>&#8211;this is <a href="http://en.wikipedia.org/wiki/Security_through_obscurity">security through obscurity</a> at its very worst.</p>
<p>But <a href="http://en.wikipedia.org/wiki/Reading_Rainbow#Show_details">don&#8217;t take my word for it</a>.  I took a couple hours and worked up a demo <a href="http://jasonpriem.com/obfuscation-decoder/">email obfuscation decoder</a> that breaks the vast majority of text-based obfuscations; it&#8217;s also got an input field for you to test out your own munges (some other people have built <a href="http://dave78.com/misc/harv_test.html">similar</a> <a href="http://www.openjs.com/scripts/regexp/email_decrypter.php">demos</a>, too).  It&#8217;s not perfect, but it correctly decodes most obfuscations&#8211;and remember that this is a novice programmer, working for an afternoon.  It&#8217;s that easy. Supporters of obfuscation argue that spammers will go after the low-hanging fruit; folks, text-based obfuscation <em>is</em> the low-hanging fruit.</p>
<p>Now, the Alert Reader has by this time noticed that I&#8217;ve limited my critique to text-based munging.  &#8220;What about more sophisticated methods,&#8221; the Alert Reader now asks?  &#8220;What about using an image, or CSS, or Javascript to hide addresses?&#8221;  Good questions, Alert Reader; you are very alert.  Alright, let&#8217;s take a quick look at these, too:</p>
<h3>Images</h3>
<p>There&#8217;s not really much I can say about this one, save this: making content completely opaque to visually-impaired users simply shouldn&#8217;t be an option. And of course, spammers still can OCR your images.</p>
<h3>CSS</h3>
<p>Obviously, something like  <code>foo@bar&lt;span style=”display:none”&gt;NULL&lt;/span&gt;.com</code> is silly; the spambot can filter out &#8220;display:none&#8221; spans pretty easily, or even just discard everything in a span.  <code>&lt;span class=’a’&gt;foo&lt;/span&gt;&lt;span class=’b’&gt;bar&lt;/span&gt;@“&lt;span class=’c’&gt;foo&lt;/span&gt;&lt;span class=’d’&gt;bar&lt;/span&gt;.com</code><span> </span> at least requires the bot to open your stylesheet to see which spans are hidden.  But remember, your server will happily dish out your easily-parsed css to anyone who asks for it; this is not a good place to hide secrets.</p>
<h3>Javascript</h3>
<p>There are <a href="http://www.google.com/search?q=javascript+obfuscate+%22email%20address%22">too many</a> js methods to cover in any detail here.  Some are better than <a href="http://blog.macromates.com/2007/obfuscating-emails-revisited/">others</a>; a few try to <a href="http://pipwerks.com/journal/2009/02/01/obfuscating-email-addresses-revisited/">degrade gracefully</a> for users without Javascript support.  All of them, though, share the same weakness as CSS: everyone can read your Javascript.  And you certainly don&#8217;t need a browser to run it; there are<a href="http://hublog.hubmed.org/archives/001847.html"> lots of JS interpreters</a> that are more than happy to run on a spammer&#8217;s server.</p>
<p>Sure, you can get pretty clever with this technique (I particularly like the idea of decoding not on the onload event, but on a click event), but you can&#8217;t change the fact that ultimately  the bad guys can do everything with your code that a browser does&#8211;and eventually, they will.</p>
<p>Now, I&#8217;ll admit that images, CSS, and Javascript approaches are more effective than text-based ones.  All of them (when done properly) require the spammer to pay for more bandwidth and/or processor cycles.  But they all also inconvenience some or all of your users, and none of them are compatible with the sementic web.  They all give you false sense of security, and they&#8217;re ugly, hackish solutions. True, some obfuscations have <a href="http://techblog.tilllate.com/2008/07/20/ten-methods-to-obfuscate-e-mail-addresses-compared/">performed well</a> <a href="http://www.cdt.org/speech/spam/030319spamreport.shtml">empirically</a>&#8211;but keep in mind that these (pretty informal) experiments are years old.  As more people have adopted these measures, be sure that more spammers are spending the time to counter them, as well.</p>
<p>Now, I can&#8217;t go so far as to condemn anyone who obfuscates an address; I get that spam is a pain, and filters aren&#8217;t perfect.  Sometimes an ugly, hackish solution is the only way.  But I&#8217;m suggesting that you think twice before you give in to the spammers and obfuscate, especially given the relative ineffectiveness of many commonly-used methods.  The Web reaches its full promise when information is made easier to find, not harder.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonpriem.org/2009/05/stop-obfuscating-email/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Quick book review: Dreaming in Code</title>
		<link>http://jasonpriem.org/2009/04/quick-book-review-dreaming-in-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quick-book-review-dreaming-in-code</link>
		<comments>http://jasonpriem.org/2009/04/quick-book-review-dreaming-in-code/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 22:32:29 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://jasonpriem.com/?p=135</guid>
		<description><![CDATA[I imagine Scott Rosenberg reckoned he&#8217;d picked a winner when he started Dreaming in Code, his 2007 book chronicling the development of the Chandler personal information manager. The project seemed to have everything going for it. It had all the fashionable features: GTD! Open Source! Peer-to-peer! Level the silos! It was headed by software legend Mitch [...]]]></description>
			<content:encoded><![CDATA[<p>I imagine Scott Rosenberg reckoned he&#8217;d picked a winner when he started <em><a href="http://www.amazon.com/Dreaming-Code-Programmers-Transcendent-Software/dp/1400082463"><em>Dreaming in Code</em></a>,</em> his 2007 book chronicling the development of the <a href="http://chandlerproject.org/">Chandler personal information manager</a>. The project seemed to have everything going for it.  It had all the fashionable features:  GTD! Open Source!  Peer-to-peer!  Level the silos!  It was headed by software legend <a href="http://en.wikipedia.org/wiki/Mitch_Kapor">Mitch Kapor</a>.  It had infinite funding.  It had talented programmers with impeccable resumes—decades upon decades of successful experience creating good software.</p>
<p>Over the course of <em>Dreaming,</em> though,  we see this elite team gradually self-destruct.  We see vague spec.  We see unrealistic deadlines.  We see huge mid-stream course changes.   As Rosenberg writes, &#8220;By now, I know, any software developer reading this volume has likely thrown it across the room in despair, thinking, &#8216;Stop the madness! They&#8217;re making every mistake in the book!&#8217;&#8221;  <em>Dreaming </em>finally ends four years into Chandler&#8217;s development—with version 1.0 still a distant vision (it was finally released, mostly to <a href="http://lwn.net/Articles/293743/">yawns</a>, last August ).</p>
<p>Rosenberg, though, is savvy enough to turn the Chandler team&#8217;s failure into his own success.  Not only does he use the story to anchor an excellent (if basic) introduction into the practices and quirks of the industry as a whole, he weaves an engrossing and deeply human narrative.</p>
<p>Aristotle said tragedy should evoke fear and pity in the viewer, and Rosenberg deftly supplies us with both.  On the one hand, <em>Dreaming</em> reads like watching a horror movie: “No!  Why are you splitting up to explore the house!?  Why do you keep changing the UI every 6 months!? Noooo!!!!”  At the same, Rosenberg does a pretty good job of making us really like many of the characters.  Kapor, in particular, comes off as both an intelligent visionary and genuinely good guy. Watching Chandler implode, I feel bad for him.</p>
<p>In interviews, Rosenberg shows again and again how the characters, all experienced programmers, understand the Classic Mistakes.  Then he describes with agonizing clarity how they turn right around and proceed to make just those mistakes.  I think it’s this quality that put me so in mind of classical tragedy, where the noble hero is undone by just these sorts of <a href="http://en.wikipedia.org/wiki/Hamartia">tragic flaws</a> or mistakes.</p>
<p>Rosenberg resist the temptation to write another Lessons From Software Failure manual.   Instead he shows how smart, capable programmers working in an ideal environment can reenact the same fatal mistakes programmers were cataloging decades ago.  Like Greek drama, <em>Dreaming </em>confronts the ineluctability of failure head-on.  Rosenberg’s ultimate thesis is nothing more or less than the classic words of  <a href="http://en.wikipedia.org/wiki/Donald_knuth">Donald Knuth</a>, with which he opens the book: Software is hard.  Sophocles would be proud.</p>
<p>Other reviews I liked:</p>
<ul>
<li><a href="http://www.amazon.com/Dreaming-Code-Programmers-Transcendent-Software/dp/1400082463">Amazon</a></li>
<li><a href="http://www.joelonsoftware.com/items/2007/01/21.html">Joel Spolsky:</a> discusses the technical aspects more; doesn&#8217;t think Chandler was a very good idea to begin with.  Has some good points, here.<a href="http://www.joelonsoftware.com/items/2007/01/21.html"><br />
</a></li>
<li><a href="http://www.proudlyserving.com/archives/2007/02/review_of_dream.html">Adam Barr:</a> discusses the individual parts of the book more.<a href="http://www.proudlyserving.com/archives/2007/02/review_of_dream.html"><br />
</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jasonpriem.org/2009/04/quick-book-review-dreaming-in-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FeedVis 2.0: custom visualization for your feeds</title>
		<link>http://jasonpriem.org/2008/12/feedvis-20-custom-visualization-for-your-feeds/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=feedvis-20-custom-visualization-for-your-feeds</link>
		<comments>http://jasonpriem.org/2008/12/feedvis-20-custom-visualization-for-your-feeds/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 20:27:27 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[fun with data]]></category>
		<category><![CDATA[infovis]]></category>

		<guid isPermaLink="false">http://jasonpriem.com/?p=72</guid>
		<description><![CDATA[My FeedVis project&#8211;the interactive tagcloud for a group of feeds&#8211;has been out for a week now, I&#8217;ve been thrilled at the positive response I&#8217;ve gotten so far.  One rather glaring problem with the program, though, was that you could only look at the top 50 edublogs. Not anymore.  After a few late nights, I&#8217;ve got [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_68" class="wp-caption alignleft" style="width: 310px"><a href="http://jasonpriem.com/feedvis"><img class="size-medium wp-image-68" title="feedvis2" src="http://jasonpriem.com/wp-content/uploads/2008/12/feedvis2.jpg" alt="this is what feedvis looks like" width="300" height="256" /></a><p class="wp-caption-text"> </p></div>
<p><a href="http://jasonpriem.com/feedvis">My FeedVis project</a>&#8211;the interactive tagcloud for a group of feeds&#8211;has been out for a week now, I&#8217;ve been thrilled at <a href="http://cogdogblog.com/2008/11/25/feedvis/">the</a> <a href="http://blogoehlert.typepad.com/eclippings/2008/11/a-truckload-of-twitter-tools-and-some-peachy-keen-visualizations.html">positive</a> <a href="http://doug-johnson.squarespace.com/blue-skunk-blog/2008/12/1/on-ranking-awards-and-other-nonsense.html">response</a> I&#8217;ve gotten so far.  One rather glaring problem with the program, though, was that you could only look at the <a href="http://www.dangerouslyirrelevant.org/2008/06/top-50-p-12-edu.html">top 50 edublogs</a>.</p>
<p>Not anymore.  After a few late nights, I&#8217;ve got a beta system for uploading and analyzing your own sets of feeds.  You just upload your opml, wait a few minutes, and you&#8217;re set: FeedVis gives you a custom page that you can bookmark and return to anytime you like; it&#8217;ll continue to update every time you visit.  You can also browse visualizations of other people&#8217;s feeds.</p>
<p>It&#8217;s pretty untested, and I&#8217;m sure use will uncover some bugs.  But it&#8217;s got potential; I&#8217;m excited to see what people think.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonpriem.org/2008/12/feedvis-20-custom-visualization-for-your-feeds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FeedVis: a deeper tagcloud for edublogs</title>
		<link>http://jasonpriem.org/2008/11/feedvis-a-deeper-tagcloud-for-edublogs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=feedvis-a-deeper-tagcloud-for-edublogs</link>
		<comments>http://jasonpriem.org/2008/11/feedvis-a-deeper-tagcloud-for-edublogs/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 07:53:05 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[fun with data]]></category>
		<category><![CDATA[infovis]]></category>

		<guid isPermaLink="false">http://jasonpriem.com/?p=51</guid>
		<description><![CDATA[Tagclouds have value, but, as I&#8217;ve written before, they&#8217;ve a number of shortfalls as well.  I&#8217;ve just finished my attempt to remedy some of these problems: FeedVis.  It&#8217;s an animated tagcloud that lets you compare word frequencies accross different time periods and authors, then check out the posts that used the words.  The demo is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jasonpriem.com/feedvis"><img class="size-full wp-image-54 alignleft" title="feedvis" src="http://jasonpriem.com/wp-content/uploads/2008/11/feedvis.jpg" alt="a screenshoto of feedvis" width="318" height="266" /></a></p>
<p>Tagclouds have value, but, <a href="http://jasonpriem.com/2008/09/the-trouble-with-tagclouds/">as I&#8217;ve written before</a>, they&#8217;ve a number of shortfalls as well.  I&#8217;ve just finished my attempt to remedy some of these problems: <a href="http://jasonpriem.com/feedvis/">FeedVis</a>.  It&#8217;s an animated tagcloud that lets you compare word frequencies accross different time periods and authors, then check out the posts that used the words.  The demo is using the feeds for Scott McLeod&#8217;s Technorati-compiled list of <a href="http://www.dangerouslyirrelevant.org/2008/06/top-50-p-12-edu.html">top 50 edublogs</a>, since that&#8217;s what got me started about feeds and tagclouds in the first place (although the program will work with any set of feeds).  More details about how it works are on the <a href="http://jasonpriem.com/feedvis/">demo page</a>.</p>
<p>I think what I&#8217;m really most excited about is the way this uses animation to let you actually see the words changing from one sample to the next.    Motion is such an important part of the way we see the world, and it&#8217;s been underemployed in information visualization, I think (although this changing; <a href="http://www.ted.com/index.php/talks/hans_rosling_shows_the_best_stats_you_ve_ever_seen.html">Hans Rosling&#8217;s TED talks</a> have gotten a lot of buzz, for instance).</p>
<p>The project has been really fun, and a great learning experience; it&#8217;s gotten me really pumped about <a href="http://en.wikipedia.org/wiki/Infovis">inofVis</a> for learning about online interaction.  I think there is a lot of potential there for ed tech research.  I&#8217;m also pretty excited about programming; I started learning in February (with php), and then started javascript a couple months ago.  It&#8217;s been a really mind-expanding experience, and I&#8217;m looking foward to my next project, probably once I get done with grad school apps.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonpriem.org/2008/11/feedvis-a-deeper-tagcloud-for-edublogs/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Zotero Report Customizer 2.0</title>
		<link>http://jasonpriem.org/2008/08/zotero-report-customizer-20/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zotero-report-customizer-20</link>
		<comments>http://jasonpriem.org/2008/08/zotero-report-customizer-20/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 22:19:05 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://jasonpriem.com/2008/08/zotero-report-customizer-20/</guid>
		<description><![CDATA[As I&#8217;ve discussed in a previous post, I&#8217;m an enthusiastic user of the free reference manager Zotero; I&#8217;m impressed with how such young, open-source product has managed to quickly outshine established, non-free alternatives like EndNote. One difficulty I (and others) have had with Zotero, though, is in generating reports for a group of articles. Particularly, [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;ve discussed in a previous post, I&#8217;m an enthusiastic user of the free reference manager <a href="http://jasonpriem.com/2008/05/zotero-the-least-known-triumph-of-open-source/">Zotero</a>; I&#8217;m impressed with how such young, open-source product has managed to quickly outshine established, non-free alternatives like EndNote.</p>
<p>One difficulty I (and <a href="http://forums.zotero.org/discussion/2549/">others</a>) have had with Zotero, though, is in generating reports for a group of articles.  Particularly, there&#8217;s no way to customize the categories you display in the report.  This can be a real problem if you&#8217;re trying to share your sources with a co-author; at best, there&#8217;s a lot of unneeded metadata cluttering up the document (at worst, your email says you&#8217;ve been working on this for weeks, while your articles&#8217; Date Added data tells a different tale&#8230;).</p>
<p>Now, I&#8217;m told this will be corrected in a later version of Zotero.  However, I turned to <a href="http://www.php.net/">PHP</a> and a bit o&#8217; <a href="http://en.wikipedia.org/wiki/Regular_expression">regular expression</a> magic to do it now.  It turned out to be a good learning project, and I&#8217;ve been pleased to see that a few hundred other people (if <a href="http://www.google.com/analytics/">Google Analytics</a> is to be believed) have gotten some use out of it, too.  The tool&#8217;s listed in the <a href="http://www.zotero.org/documentation/reports">Zotero documentation</a>, and&#8211;by far the most important of all&#8211;I got a free Zotero t-shirt out of the deal, which is now my favoritist garment ever.  </p>
<p>I&#8217;ve also gotten quite a few feature requests from folks, including a request to help localize the script for German (you can find that German-language version <a href="http://www.blended-education.net/Zotero/bericht_anpassen_107.php">here</a>).  Since my PHP skills have broadened in the last several months (I&#8217;m all the way to &#8220;novice&#8221; now!), I figured it was time to do an update.  So, here is <a href="http://jasonpriem.com/projects/report_cleaner.php">Zotero Report Customizer 2.0</a>.   New features include javascript form validation, a bunch of new categories, and the option to specify your own categories to delete if I don&#8217;t list &#8216;em.  The script is also a ton easier to modify if you want to customize it to a different language, and can be set up to work in multiple languages at once. (I added a little German support for an example).</p>
<p>Have fun, and if you think of anything else you&#8217;d like in this, just let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonpriem.org/2008/08/zotero-report-customizer-20/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

