<?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>everything e-diotic</title>
	<atom:link href="http://e-diot.dk/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://e-diot.dk/wordpress</link>
	<description>technology, life, programming and the intarwebs</description>
	<lastBuildDate>Mon, 19 Sep 2011 07:43:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fixed it (again)</title>
		<link>http://e-diot.dk/wordpress/2011/09/19/fixed-it-again/</link>
		<comments>http://e-diot.dk/wordpress/2011/09/19/fixed-it-again/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 07:29:41 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[iterm]]></category>
		<category><![CDATA[term2]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2011/09/19/fixed-it-again/</guid>
		<description><![CDATA[A sort of follow-up to ‘Fixed it’ &#8211; Minor adjustments to the script I propably use the most. I now use iTerm2.app. The script provides me with the following features: I wonder if it should default to the default profile, so no arguments would just open a default terminal?]]></description>
			<content:encoded><![CDATA[<p>A sort of follow-up to ‘Fixed it’ &#8211; Minor adjustments to the script I propably use the most. I now use iTerm2.app.</p>
<p>The script provides me with the following features:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#gives me a list of terminal profiles</span>
<span style="color: #000000; font-weight: bold;">%</span> it list
<span style="color: #666666; font-style: italic;">#open a new iTerm session with the specified profile</span>
<span style="color: #000000; font-weight: bold;">%</span> it <span style="color: #000000; font-weight: bold;">&lt;</span>profile<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">#http://mkaz.com/ref/macosx/iterm.html</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">#http://www.macosxhints.com/article.php?story=20070409141256538</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007800;">arg</span>=$<span style="color: #000000;">1</span>;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> “<span style="color: #007800;">$#</span>” = “0” <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #7a0874; font-weight: bold;">echo</span> “Usage: ‘it bookmarkname’ or ‘it list’” <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">exit</span> 1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> “$1” = “list” <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    defaults <span style="color: #c20cb9; font-weight: bold;">read</span> ~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Preferences<span style="color: #000000; font-weight: bold;">/</span>com.googlecode.iterm2<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-e</span> ‘\bName =‘<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">awk</span> ‘<span style="color: #7a0874; font-weight: bold;">&#123;</span>$1=“”;$2=“”; print $0<span style="color: #7a0874; font-weight: bold;">&#125;</span>’<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #660033;">-d</span> ‘;’</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">else</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">osascript <span style="color: #cc0000; font-style: italic;">&lt;&lt;ENDSCRIPT</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">on run argv</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp; tell application “iTerm”</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp;   activate</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp;   tell the current terminal</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp;      launch session “$1”</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp;   end tell</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp; end tell</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">end run</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">ENDSCRIPT</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">fi</span></div></li></ol></pre></div></div>
<p>I wonder if it should default to the default profile, so no arguments would just open a default terminal?</p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2011/09/19/fixed-it-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Module::Build 0.30</title>
		<link>http://e-diot.dk/wordpress/2011/03/07/modulebuild-0-30/</link>
		<comments>http://e-diot.dk/wordpress/2011/03/07/modulebuild-0-30/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 19:54:22 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[changes]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[module::build]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2011/03/07/modulebuild-0-30/</guid>
		<description><![CDATA[I was evaluating an issue with an older Module::Build when I fell over this in the Changes file of Module::Build: 0.30 &#8211; Thu Sep 25 20:57:36 2008 &#8211; First non-beta release since April 2007. In the meantime, Sarkozy became president of France, the 35W bridge fell in Minneapolis, Phelps won a lot of gold, a [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 12pt">I was evaluating an issue with an older Module::Build when I fell over this in the <a href="http://cpansearch.perl.org/src/DAGOLDEN/Module-Build-0.3800/Changes">Changes file of Module::Build</a>:</p>
<p></span>0.30 &#8211; Thu Sep 25 20:57:36 2008</p>
<p> &#8211; First non-beta release since April 2007.  In the meantime, Sarkozy<br />
   became president of France, the 35W bridge fell in Minneapolis,<br />
   Phelps won a lot of gold, a new tribe of indigenous people was<br />
   discovered in the Amazon, and Bob Barker stopped doing The Price Is<br />
   Right.  As of this moment though, the U.S. economy still hasn&#8217;t<br />
   collapsed completely.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2011/03/07/modulebuild-0-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixed it</title>
		<link>http://e-diot.dk/wordpress/2011/03/07/fixed-it/</link>
		<comments>http://e-diot.dk/wordpress/2011/03/07/fixed-it/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 19:29:42 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iterm]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2011/03/07/fixed-it/</guid>
		<description><![CDATA[I am using iTerm on OSX. A nice alternative to the Terminal application delivered as part of the OS. well I use both happily anyway. I fell of this script called ‘it’ at Mac OS X Hints, which I am using constantly. iTerm has been upgraded on several occasions since and I still use ‘it’. [...]]]></description>
			<content:encoded><![CDATA[<p>I am using iTerm on OSX. A nice alternative to the Terminal application delivered as part of the OS. well I use both happily anyway.</p>
<p>I fell of this script called ‘it’ at <a href="http://hints.macworld.com/article.php?story=20070409141256538">Mac OS X Hints</a>, which I am using constantly. iTerm has been upgraded on several occasions since and I still use ‘it’.</p>
<p>At some point I cleaned up my bookmarks listing and to my surprise, ‘it’ was still showing old bookmarks. After brief <em>googling </em>I <a href="http://www.lecentre.net/blog/archives/312">found out</a> that the resource file had changed it’s name from: <span>iTerm.plist </span>to: <span>net.sourceforge.iTerm.plist</span>.</p>
<p>So I changed the script a little and it worked again, check it out if you are using iTerm.</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://e-diot.dk/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">#http://www.macosxhints.com/article.php?story=20070409141256538</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007800;">arg</span>=$<span style="color: #000000;">1</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> “<span style="color: #007800;">$#</span>” = “0” <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #7a0874; font-weight: bold;">echo</span> “Usage: ‘it bookmarkname’ or ‘it list’” <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">exit</span> 1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> “$1” = “list” <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    defaults <span style="color: #c20cb9; font-weight: bold;">read</span> ~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Preferences<span style="color: #000000; font-weight: bold;">/</span>net.sourceforge.iTerm<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> Name<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">awk</span> ‘<span style="color: #7a0874; font-weight: bold;">&#123;</span>$1=“”;$2=“”; print $0<span style="color: #7a0874; font-weight: bold;">&#125;</span>’<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #660033;">-d</span> ‘;’</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">osascript <span style="color: #cc0000; font-style: italic;">&lt;&lt;ENDSCRIPT</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">on run argv</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp; tell application “iTerm”</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp;   activate</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp;   tell the current terminal</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp;     launch session “$1”</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp;   end tell</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">&nbsp; end tell</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">end run</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #cc0000; font-style: italic;">ENDSCRIPT</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">fi</span></div></li></ol></pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2011/03/07/fixed-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nemid</title>
		<link>http://e-diot.dk/wordpress/2010/11/02/nemid/</link>
		<comments>http://e-diot.dk/wordpress/2010/11/02/nemid/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 13:17:44 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[Nemid]]></category>
		<category><![CDATA[production]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2010/11/02/nemid/</guid>
		<description><![CDATA[Nemid is the big system to make it easier to be a citizen in Denmark. So you can log in with a single ID and control all of your relations to the public sector and related. All in all a good idea (I am not going to discuss the technical details, which might beg to [...]]]></description>
			<content:encoded><![CDATA[<p>Nemid is the big system to make it easier to be a citizen in Denmark.</p>
<p>So you can log in with a single ID and control all of your relations to the public sector and related. All in all a good idea (I am not going to discuss the technical details, which might beg to differ). </p>
<p>Anyway &#8211; it is nice when it works&#8230; but it is having it’s share of system hiccups.</p>
<p><img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/11/nemlogin-2010-11-2-14-171.png" alt="nemlogin-2010-11-2-14-171.png" width="545" height="335" /><br />
I have marked a little thing here that changes with every reload of the page indicating that an error happened.</p>
<p>Should we trust people who display debug information in production with all of the information relating to taxes, pension, banking etc.?</p>
<p>It would be so easy to obtain this information by other means.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2010/11/02/nemid/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Twitter fun</title>
		<link>http://e-diot.dk/wordpress/2010/10/19/twitter-fun/</link>
		<comments>http://e-diot.dk/wordpress/2010/10/19/twitter-fun/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 13:25:49 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2010/10/19/twitter-fun/</guid>
		<description><![CDATA[Sometimes tweets come in an order, where you somehow think that they are related. Should of course be read bottom up. The next one is funny in Danish. It is one of those where a nick means something unintended, but funny in another language.]]></description>
			<content:encoded><![CDATA[<p>Sometimes tweets come in an order, where you somehow think that they are related. Should of course be read bottom up.<img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/10/what_are_you_waiting_4-2010-10-19-15-25.png" alt="what_are_you_waiting_4-2010-10-19-15-25.png" width="562" height="183" /></p>
<p>The next one is funny in Danish. It is one of those where a <strong>nick</strong> means something unintended, but funny in another language.</p>
<p><img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/10/balletrusse-2010-10-19-15-25.png" alt="balletrusse-2010-10-19-15-25.png" width="532" height="132" /></p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2010/10/19/twitter-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nike+ GPS app for iPhone</title>
		<link>http://e-diot.dk/wordpress/2010/09/27/nike-gps-app-for-iphone/</link>
		<comments>http://e-diot.dk/wordpress/2010/09/27/nike-gps-app-for-iphone/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 08:09:57 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3E]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[nike+]]></category>
		<category><![CDATA[running]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2010/09/27/nike-gps-app-for-iphone/</guid>
		<description><![CDATA[Not long ago Nike launched a new app for the iPhone to integrate with Nike+ their social site for runners. The app looked very promising and it was only $2.99. The app utilizes the built in GPS, so you need to have a newer iPhone like 3 GS or 4. The app has some really [...]]]></description>
			<content:encoded><![CDATA[<p>Not long ago Nike launched a new app for the iPhone to integrate with Nike+ their social site for runners.</p>
<p>The app looked very promising and it was only $2.99. The app utilizes the built in GPS, so you need to have a newer iPhone like 3 GS or 4.</p>
<p>The app has some really cool features like route maps, including a pace indicator on the map, visualized as a heat map.</p>
<p>It has customizable spoken feedback something the Nike+ app from Apple does not have.</p>
<p>In general the application holds a lot of potential and it is most certainly a welcome application comparing to the Apple application, which holds only back functionality.</p>
<p>The only major drawback, which is a bug with actually kills the app totally and makes it useless is it ability to synch with Nike+, which does not work. So I <a href="http://forums.nike.com/message.jspa?messageID=304795#304795">posted</a> to the Nike+ forums requesting assistance.</p>
<p>If you look at the thread a lot of people was experiencing the issue, no particular pattern standing out.</p>
<p><a href="http://forums.nike.com/message.jspa?messageID=306780#306780">A post to the forum</a> about changing the clock from 12 hour to 24 hour representation got me thinking.</p>
<p>Being a computer programmer myself, I often see that bugs are related to one of the 3 E’s </p>
<ul>
<li>Execution</li>
<li>Environment</li>
<li>Encoding</li>
</ul>
<p>In this case it would fall under the encoding category. What encoding covers all issue related to expectations and assumptions about data and it’s representation. I am not going to bore you with the details, but it is a beautiful example I am going to use for a presentation on application testing tomorrow, when I am doing a presentation for some fellow software developers.</p>
<p>Please note the 3Es is a term I am using, it is definition work in progress, so it is not a common term.</p>
<p>So I changed my International settings to ‘United States’ instead of ‘Denmark’ and it worked (<a href="http://forums.nike.com/message.jspa?messageID=306816#306816">post about it in the forum</a>)</p>
<p>Here follows a graphical version of the guide to make the change.</p>
<p>Select settings on your iPhone:</p>
<p><img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/09/IMG_0016-2010-09-27-10-09.png" alt="IMG_0016-2010-09-27-10-09.png" width="160" height="94" /></p>
<p>Select ‘General’:</p>
<p><img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/09/IMG_0017-2010-09-27-10-09.png" alt="IMG_0017-2010-09-27-10-09.png" width="288" height="79" /></p>
<p>Select ‘International’:</p>
<p><img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/09/IMG_0018-2010-09-27-10-09.png" alt="IMG_0018-2010-09-27-10-09.png" width="288" height="83" /></p>
<p>Your ‘Region Format’ is probably something else. If it already says ‘United States’ you might have another issue, which is not fixed by this approach.</p>
<p><img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/09/IMG_0019-2010-09-27-10-09.png" alt="IMG_0019-2010-09-27-10-09.png" width="288" height="60" /></p>
<p>Changed to the ‘United States’ and go back to the Nike+ GPS app and try to synchronize again. It might takes several sync if you have more than one run, if seems to be in batches in the vicinity of 5 or so.<br />
<img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/09/IMG_0020-2010-09-27-10-09.png" alt="IMG_0020-2010-09-27-10-09.png" width="288" height="91" /></p>
<p>Happy sync’ing&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2010/09/27/nike-gps-app-for-iphone/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>When your task count reaches the number of the beast</title>
		<link>http://e-diot.dk/wordpress/2010/09/03/when-your-task-count-reaches-the-number-of-the-beast/</link>
		<comments>http://e-diot.dk/wordpress/2010/09/03/when-your-task-count-reaches-the-number-of-the-beast/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 12:11:31 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[666]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[jirastudio]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2010/09/03/when-your-task-count-reaches-the-number-of-the-beast/</guid>
		<description><![CDATA[My favorite filters in Jira today showed me that Everything is 666 I wonder what this means&#8230; should I stop working or should I work more?]]></description>
			<content:encoded><![CDATA[<p>My favorite filters in Jira today showed me that Everything is 666</p>
<p><img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/09/jira666-2010-09-3-14-11.png" alt="jira666-2010-09-3-14-11.png" width="500" height="272" /><br />
I wonder what this means&#8230; should I stop working or should I work more?</p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2010/09/03/when-your-task-count-reaches-the-number-of-the-beast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[rt.cpan.org #60678] 1.  2010  UN  Report Highlights Falun Gong Persecution  in China</title>
		<link>http://e-diot.dk/wordpress/2010/08/27/rt-cpan-org-60678-1-2010-un-report-highlights-falun-gong-persecution-in-china/</link>
		<comments>http://e-diot.dk/wordpress/2010/08/27/rt-cpan-org-60678-1-2010-un-report-highlights-falun-gong-persecution-in-china/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 12:23:57 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[falungong]]></category>
		<category><![CDATA[incognito]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[rt]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2010/08/27/rt-cpan-org-60678-1-2010-un-report-highlights-falun-gong-persecution-in-china/</guid>
		<description><![CDATA[I got this weird mail in RT queue for Games::Bingo. First I thought it was spam, but then I read it and it struck me. Could somebody be reading these mails using RT as a proxy? You locate some newsletter you want to receive, you provide it with the email address of a RT queue, [...]]]></description>
			<content:encoded><![CDATA[<p>I got this weird mail in RT queue for Games::Bingo.</p>
<p>First I thought it was spam, but then I read it and it struck me. Could somebody be reading these mails using RT as a proxy?</p>
<p>You locate some newsletter you want to receive, you provide it with the email address of a RT queue, which is public available, like all of the CPAN queues.</p>
<p>You sit back and wait and at some point <a href="https://rt.cpan.org/Ticket/Display.html?id=60678">the mail</a> arrives and you can read it, without anybody tracing your email. Of course you there is the problem of providing the RT queue email to the subscription/sender, but I guess there are ways around that like using kiosk machines etc.</p>
<p>Or perhaps it is just spam? and I am being paranoid</p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2010/08/27/rt-cpan-org-60678-1-2010-un-report-highlights-falun-gong-persecution-in-china/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Staden</title>
		<link>http://e-diot.dk/wordpress/2010/08/27/staden/</link>
		<comments>http://e-diot.dk/wordpress/2010/08/27/staden/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 12:12:13 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2010/08/27/staden/</guid>
		<description><![CDATA[I was filling in a form on a website yesterday and when I picked Denmark as my country I was presented with a list of cities/regions in Denmark. The one I have marked ‘Staden Kobenhavn’ is a bit funny in that sense that, staden is what we normally call Freetown Christiania&#8230; how would have imagined [...]]]></description>
			<content:encoded><![CDATA[<p>I was filling in a form on a website yesterday and when I picked Denmark as my country I was presented with a list of cities/regions in Denmark.</p>
<p><img src="http://e-diot.dk/wordpress/wp-content/uploads/2010/08/staden-2010-08-27-14-121.png" alt="staden-2010-08-27-14-121.png" width="195" height="288" /></p>
<p>The one I have marked ‘Staden Kobenhavn’ is a bit funny in that sense that, <em>staden</em> is what we normally call <a href="http://en.wikipedia.org/wiki/Freetown_Christiania">Freetown Christiania</a>&#8230; how would have imagined it had it’s own pick in a drop-down.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2010/08/27/staden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl::Critic and Subversion, part 2</title>
		<link>http://e-diot.dk/wordpress/2010/06/14/perlcritic-and-subversion-part-2/</link>
		<comments>http://e-diot.dk/wordpress/2010/06/14/perlcritic-and-subversion-part-2/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 10:27:32 +0000</pubDate>
		<dc:creator>jonasbn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[commit]]></category>
		<category><![CDATA[hook]]></category>
		<category><![CDATA[perl::critic]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[technicaldebt]]></category>

		<guid isPermaLink="false">http://e-diot.dk/wordpress/2010/06/14/perlcritic-and-subversion-part-2/</guid>
		<description><![CDATA[I tried to spark some debate in relation to my blog post on Perl::Critic and Subversion. Only a few people responded, but at least it was some very good responses. Clearly one of these two-camps discussions, but the positive thing is that both camps have valid arguments and this is good since then people evaluating [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to spark some debate in relation to my blog post on Perl::Critic and Subversion.</p>
<p>Only a few people responded, but at least it was some very good responses. Clearly one of these two-camps discussions, but the positive thing is that both camps have valid arguments and this is good since then people evaluating the practice if using Perl::Critic in pre-commit hooks can weigh these against each other and try to map them on to their local organization and practices.</p>
<p>As Jefffrey Thalhammer formulates it:</p>
<p><em>Teams should use Perl-Critic in whatever manner best suits their collective values, abilities, and priorities.</em></p>
<p>Pros:</p>
<p>- Strict control of code base<br />
- Enforcing of coding guidelines for common code base</p>
<p>Cons:</p>
<p>- Latency in productivity<br />
- Redtape over productivity</p>
<p>Both camps can however agree on several aspects are good practices, such as:</p>
<p>- Use of version control<br />
- Unit-testing<br />
- Continuous integration (CI)</p>
<p>And of course that static analysis is a good thing, when used properly.</p>
<p>This does not seem as many arguments, but many of the arguments in this debate are more or less related to the general use of static code analysis and do therefor not weigh in as arguments for or against the configuration of a pre-commit hook.</p>
<p>Ovid gave some marvelous input and then <a href="https://twitter.com/OvidPerl/status/15847192332">disregarded the whole debate as silly</a>, saying that the pre-commit hook should assist the developer in making the right judgment, so he or she could choose to or not to commit.</p>
<p>From Ovids comment I do however deduct a very interesting aspect of programming and that is that programming is a very subjective activity and different developers would probably be able to implement the same functionality in very different ways, rendering different results when subjected to static code analysis.</p>
<p>I have passed on Ovid’s very pragmatic approach to Alexander, who’s CPAN contribution sparked the whole thing. And one of the more important things we can all agree on and that is the tools must be flexible enough to accommodate all camps. Perl::Critic is such a tool, so a pre-commit hook should be implemented in the same spirit.</p>
<p>The whole discussion seems to be leaning on the discussion on what quality really is, since this definition does seem to make the foundation for use of static analysis. This is again a very subjective discussion, which probably have even more camps, so we better not start a flame war about that.</p>
<p>All in all we can agree not to agree, so in regards to Jeffrey’s quote above I think we can conclude that the tools are there, put them to good use in the way, which makes the most sense in your situation.</p>
<p>Please feel free to chip in if you have an opinion on static analysis used in pre-commit hooks for SCMs.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-diot.dk/wordpress/2010/06/14/perlcritic-and-subversion-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

