<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://nolan.eakins.net" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Nolan&#039;s Corner - Computing</title>
 <link>http://nolan.eakins.net/taxonomy/term/7/0</link>
 <description>Computer related</description>
 <language>en</language>
<item>
 <title>Dot Plots: A Coder&#039;s Towel</title>
 <link>http://nolan.eakins.net/node/309</link>
 <description>&lt;p&gt;I just slapped together a dot plotter after scanning through &lt;a href=&quot;http://www.iam.unibe.ch/~scg/OORP/&quot;&gt;Object-Oriented Reengineering Patterns&lt;/a&gt;. That book describes the use of &lt;a href=&quot;http://www.dcs.shef.ac.uk/nlp/meter/Workshop/Dotplot/Public/index.htm&quot;&gt;dot plots&lt;/a&gt; to detect duplicated code. While it&#039;s a bit like reading tea leaves, it is a good detector as the following two plots of dotplotter.rb against itself show with the huge run down the middle:&lt;/p&gt;
&lt;p&gt;
&lt;img src=&quot;/system/files/dotplot1.png&quot; alt=&quot;Dot Plot of dotplotter.rb against itself in Ruby mode (-r)&quot;/&gt;
&lt;img src=&quot;/system/files/dotplot2.png&quot; alt=&quot;Dot Plot of dotplotter.rb against itself in Line mode (-r)&quot;/&gt;
&lt;/p&gt;
&lt;p&gt;The first is dotplotter.rb running with the &quot;-r&quot; option which compares tokens to tokens thus making each row/column a token such as &quot;def&quot;. The second, smaller one is in line mode, &quot;-l&quot;, which compares lines with lines. That makes each row/column an actual line in the source file.&lt;/p&gt;
&lt;p&gt;The huge diagonal line through the middle indicates a huge run of duplicated code. That&#039;s because it&#039;s the same file against itself. Now if these were separate files, then the runs would hopefully not exist since any such run indicates duplication.&lt;/p&gt;
&lt;p&gt;The dot plot script can be found at the following site. It requires RMagick and ParseTree to work: &lt;a href=&quot;http://nolan.eakins.net/code/dotplotter.rb&quot;&gt;http://nolan.eakins.net/code/dotplotter.rb&lt;/a&gt;&lt;/p&gt;
&lt;!--break--&gt;&lt;table id=&quot;attachments&quot;&gt;
 &lt;thead&gt;&lt;tr&gt;&lt;th&gt;Attachment&lt;/th&gt;&lt;th&gt;Size&lt;/th&gt; &lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
 &lt;tr class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;http://nolan.eakins.net/system/files/dotplot2.png&quot;&gt;dotplot2.png&lt;/a&gt;&lt;/td&gt;&lt;td&gt;1.28 KB&lt;/td&gt; &lt;/tr&gt;
 &lt;tr class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;http://nolan.eakins.net/system/files/dotplot1.png&quot;&gt;dotplot1.png&lt;/a&gt;&lt;/td&gt;&lt;td&gt;16.47 KB&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</description>
 <comments>http://nolan.eakins.net/node/309#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/9">Programming</category>
 <enclosure url="http://nolan.eakins.net/system/files/dotplot2.png" length="1309" type="image/png" />
 <pubDate>Mon, 02 Jun 2008 21:47:24 -0700</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">309 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>Chipping Away at Veneer</title>
 <link>http://nolan.eakins.net/node/297</link>
 <description>&lt;p&gt;It looks like &lt;a href=&quot;http://www.paulgraham.com/&quot;&gt;Paul Graham&lt;/a&gt; has changed the style of his posts a bit. Right now he has four posts listed. Two are rather small by his standards. One of the four is an &lt;a href=&quot;http://paulgraham.com/web20interview.html&quot;&gt;interview&lt;/a&gt; he did for Ian Delaney.&lt;/p&gt;
&lt;p&gt;In response to one of the questions, PG stated:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;A sense of design is also a big advantage. Big companies treat design almost as if you could paint it on after the fact. Even Google has this problem; their biggest weakness is that their definition of a hacker doesn&#039;t include a big enough design component. A hacker with design sense is really dangerous, especially as a startup founder.&quot;&lt;/p&gt;
&lt;p style=&quot;text-align: right;&quot;&gt;&amp;mdash;Paul Graham&lt;/p&gt;
&lt;/blockquote&gt;</description>
 <comments>http://nolan.eakins.net/node/297#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/14">Personal</category>
 <pubDate>Thu, 03 Aug 2006 08:23:31 -0700</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">297 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>Response to Hal&#039;s Post About Authentication</title>
 <link>http://nolan.eakins.net/node/295</link>
 <description>&lt;p&gt;&lt;i&gt;&lt;b&gt;Note:&lt;/b&gt; This is in response to &lt;a href=&quot;http://halr9000.com/article/318&quot;&gt;Hal&#039;s feedback on ‘Simple factor is better than two-factor authentication’&lt;/a&gt; where Hal gave praise to two-factor authentication.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;That&#039;s complete bollucks. &lt;a href=&quot;http://nolan.eakins.net/node/106&quot;&gt;Biometrics are no more safer&lt;/a&gt; from sniffing than a good ole password. They&#039;re actually less safe since you can&#039;t exactly change your fingerprint, DNA, or iris pattern. The only place biometrics are safe is on something like &lt;a href=&quot;http://www.eutron.it/&quot;&gt;Eutron&#039;s BioToken&lt;/a&gt; in which your fingerprint is used to unlock a private key on a crypto token.&lt;/p&gt;
&lt;p&gt;Two factor authentication still is not the silver bullet for identity theft. What if you sniffed your password and then stole your second factor? I&#039;m still in.&lt;/p&gt;
&lt;p&gt;Something like a BioToken, where you enter your pass-phrase on a trusted device dedicated to encryption, is the most secure method available.&lt;/p&gt;</description>
 <comments>http://nolan.eakins.net/node/295#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <pubDate>Mon, 10 Jul 2006 21:24:27 -0700</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">295 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>Designing for Interaction</title>
 <link>http://nolan.eakins.net/node/293</link>
 <description>&lt;p&gt;I came across the site for &lt;a href=&quot;http://www.designingforinteraction.com/&quot;&gt;Designing for Interaction&lt;/a&gt; just now. The book sounds like a great idea, but I seriously hope that the web site was not designed by the author(s). I had to ask if I was on a new page or not a number of times since they all look alike. The site also fails the following quote from the &lt;a href=&quot;http://www.designingforinteraction.com/wroblewski.html&quot;&gt;Luke Wroblewski interview&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
Similarly, many designers will over emphasize the differences between individual interface elements through multiple visual relationships: different font, size, color, and alignment. You don’t need excess visual contrast to distinguish objects or make things findable. Think about ways to “eliminate the unnecessary so that the necessary may speak” and aim for the least effective difference between elements.
&lt;/blockquote&gt;
&lt;p&gt;Or the web designer was to afraid to emphasize &lt;i&gt;anything&lt;/i&gt;.&lt;/p&gt;</description>
 <comments>http://nolan.eakins.net/node/293#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/26">Web</category>
 <pubDate>Fri, 07 Jul 2006 15:31:46 -0700</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">293 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>Legal Question</title>
 <link>http://nolan.eakins.net/node/276</link>
 <description>&lt;p&gt;I&#039;m reading about the &lt;a href=&quot;http://news.com.com/Congress+readies+new+digital+copyright+bill/2100-1028_3-6064016.html?tag=nefd.top&quot;&gt;IP Protection Act of 2006 on CNet&lt;/a&gt;. There&#039;s a paragraph that describes provision 1201 of the DMCA: &quot;Section 1201 of the law generally prohibits distributing or trafficking in any software or hardware that can be used to bypass copy-protection devices.&quot;&lt;/p&gt;
&lt;p&gt;The proposed law is supposed to beef that provision up, but I&#039;m left wondering. Does that provision cover pencils, paints, guitars, cameras, and compilers? The very tools used for creation?&lt;/p&gt;
&lt;p&gt;Another question is also nagging me. I program. I write. I also used to draw and paint. In other words I create. Why do things like the DMCA and the above bill leave a bad taste in my mouth?&lt;/p&gt;
</description>
 <comments>http://nolan.eakins.net/node/276#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/10">Business</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/3">Politics</category>
 <pubDate>Tue, 18 Apr 2006 03:28:06 -0700</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">276 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>And Software?</title>
 <link>http://nolan.eakins.net/node/266</link>
 <description>&lt;p&gt;This is a short one: In a review about a &lt;a href=&quot;http://www.thinkcomputers.org/index.php?x=reviews&amp;amp;id=345&quot;&gt;pen sized scanner&lt;/a&gt;, the reviewer said &quot;I&#039;ve noticed one major constant about most technology, as it changes it gets smaller.&quot; Now if only that applied to software...&lt;/p&gt;
</description>
 <comments>http://nolan.eakins.net/node/266#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <pubDate>Sat, 18 Feb 2006 16:39:07 -0800</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">266 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>Hamburgers, Only Fifty Cents!</title>
 <link>http://nolan.eakins.net/node/253</link>
 <description>&lt;p&gt;I got an HP/Compaq catalog the other day. It had a &lt;a href=&quot;http://www.shopping.hp.com/webapp/shopping/computer_series.do?storeName=computer_store&amp;amp;category=notebooks/compaq_presario&amp;amp;series_name=V2000Z_series&amp;amp;catLevel=2&amp;amp;tab_switch=true&amp;amp;tab=specs&quot;&gt;pretty nice looking Compaq laptop&lt;/a&gt; in it that I decided to check out the full specs of the machine. I had to see how much the &lt;i&gt;one&lt;/i&gt; I wanted costs, so I played with the customizer to get a price. As usual, I managed to double the price from $699 to over a $1000. The only place I manage not to double the price is at the Apple store, and thank God I don&#039;t there.&lt;/p&gt;
&lt;p&gt;This got me thinking: what if McDonald&#039;s priced their hamburgers like most computer companies price their laptops?&lt;/p&gt;
&lt;p&gt;McDs advertises their hamburgers at fifty cents. It&#039;s just meat on a bun. Obviously you want something more like a BigMac, so you add (note: all prices are arbitrary):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;cheese for 30 cents&lt;/li&gt;
&lt;li&gt;another patty for 40 cents&lt;/li&gt;
&lt;li&gt;ketchup and mustard for 15 cents&lt;/li&gt;
&lt;li&gt;lettuce and tomato for a quarter&lt;/li&gt;
&lt;li&gt;and that BigMac middle bun for 15 cents&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Adding that up you now have a hamburger that costs $1.75.&lt;/p&gt;
&lt;p&gt;That&#039;s not terrible since food is cheap, but what if they only listed on their menu board and in their advertisements was the fifty cent hamburger? What if in your mind you always thought of them as being cheap and affordable because their burgers are only fifty cents? If you and most people always ended up with a $1.75 hamburger, would their marketing somehow be dishonest?&lt;/p&gt;
&lt;p&gt;&lt;!--break--&gt;&lt;/p&gt;
</description>
 <comments>http://nolan.eakins.net/node/253#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/10">Business</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/19">Humor</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/14">Personal</category>
 <pubDate>Tue, 06 Dec 2005 13:33:15 -0800</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">253 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>I Must Have Known Something</title>
 <link>http://nolan.eakins.net/node/252</link>
 <description>&lt;p&gt;I must have inately knew something about Purdue, because I came across &lt;a href=&quot;http://www.mwolson.org/blog/quotes/on_the_purdue_cs_department.html&quot;&gt;this blog posting that said the following about their CS department&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;they&#039;re fundamentally lacking in everything from design principles (&quot;here&#039;s some skeleton code to implement in, implement my design&quot;) to coding best-practices to a lot of language details of the languages they &quot;specialize&quot; in, not to mention they&#039;re often totally unfamiliar with some of the most critical and fundamental tools out there, like &quot;make&quot; and shell scripting&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;we tiptoe around these fundamental concepts — incremental building, unit testing, using libraries, and the discrete math and number theory that&#039;s fundamental to everything we&#039;re working on — and the one semester (well, two semesters now) that that stuff is presented to us, we get selections of some of the worst profs in the department, and totally inconsistent material&lt;/p&gt;
&lt;/p&gt;&lt;/blockquote&gt;
</description>
 <comments>http://nolan.eakins.net/node/252#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/14">Personal</category>
 <pubDate>Mon, 05 Dec 2005 10:44:25 -0800</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">252 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>The Not For Sell Laptop</title>
 <link>http://nolan.eakins.net/node/246</link>
 <description>&lt;p&gt;I&#039;m sure you&#039;ve heard about the &lt;a href=&quot;http://laptop.media.mit.edu/&quot;&gt;not for sale laptop&lt;/a&gt; by now. The press it has been getting has said they cost $100. The kicker is that they&#039;re not for sell. Even when a government does buy them, they&#039;re going to be sold at cost.&lt;/p&gt;
&lt;p&gt;I inquired about getting one since I could add value to one. Here&#039;s what the auto-responder sent back:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Inquiries about buying the laptop regretfully cannot be answered. Please&lt;br /&gt;
note that the $100 laptops--not yet in production--will not  be available&lt;br /&gt;
for sale. The laptops will only be distributed to schools directly through&lt;br /&gt;
large government initiatives.&lt;/p&gt;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Bollucks!&lt;/p&gt;
&lt;p&gt;They really need to do one thing with these laptops: make the design freely available. At least then if they&#039;re not going to &lt;i&gt;actually sell&lt;/i&gt; them, someone else could because I would enjoy having one.&lt;/p&gt;
&lt;p&gt;I suppose I could buy one off of some kid when they get out in the wild. $100 might be worth &lt;a href=&quot;http://www.kiva.org/&quot;&gt;a couple cows to some African&lt;/a&gt;, and it&#039;s what they do to the free t-shirts the west sends them.&lt;/p&gt;
</description>
 <comments>http://nolan.eakins.net/node/246#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <pubDate>Fri, 18 Nov 2005 07:09:54 -0800</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">246 at http://nolan.eakins.net</guid>
</item>
<item>
 <title>What did they add?</title>
 <link>http://nolan.eakins.net/node/245</link>
 <description>&lt;p&gt;I was thinking about upgrading to OpenOffice 2.0 until I saw this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
*  app-office/openoffice-bin
      Latest version available: 2.0.0
      Latest version installed: 1.1.2
      Size of downloaded files: &lt;b&gt;775,559 kB&lt;/b&gt;
      Homepage:    http://www.openoffice.org/
      Description: OpenOffice productivity suite
      License:     LGPL-2
&lt;/pre&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;What the hell did they add to make a binary installation not even fit on a CD?&lt;/p&gt;
</description>
 <comments>http://nolan.eakins.net/node/245#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/7">Computing</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/8">Linux</category>
 <pubDate>Fri, 18 Nov 2005 06:50:57 -0800</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">245 at http://nolan.eakins.net</guid>
</item>
</channel>
</rss>
