<?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>Sam's Network Simulation Cradle Blog</title>
	<atom:link href="http://www.wand.net.nz/~stj2/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.wand.net.nz/~stj2/blog</link>
	<description>Network Simulation Cradle PhD Development Progress Journal</description>
	<lastBuildDate>Thu, 27 Mar 2008 05:54:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The end of an era</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=634</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=634#comments</comments>
		<pubDate>Thu, 27 Mar 2008 05:54:48 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[Network Simulation Cradle]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=634</guid>
		<description><![CDATA[<p>A nice excerpt from a form handed in today:</p>

<p>It&#8217;s done &#8212; &#8220;there&#8217;s no going back now.&#8221; I thought when I finally handed the thesis in I&#8217;d have a lot to say here. However, I don&#8217;t.</p>
]]></description>
			<content:encoded><![CDATA[<p>A nice excerpt from a form handed in today:</p>

<p><img src='http://www.wand.net.nz/~stj2/blog/wp-content/uploads/2008/03/thesis_submission_excerpt.JPG' alt='thesis_submission_excerpt.JPG' /></p>

<p>It&#8217;s done &#8212; &#8220;there&#8217;s no going back now.&#8221; I thought when I finally handed the thesis in I&#8217;d have a lot to say here. However, I don&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=634</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The NSC development repository</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=632</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=632#comments</comments>
		<pubDate>Wed, 19 Mar 2008 22:06:13 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[Network Simulation Cradle]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=632</guid>
		<description><![CDATA[<p>&#8230; Should really be opened up.</p>

<p>This post is just a TODO to remind me to look into this.</p>
]]></description>
			<content:encoded><![CDATA[<p>&#8230; Should really be opened up.</p>

<p>This post is just a <strong>TODO</strong> to remind me to look into this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=632</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Final bits of the thesis&#8230;</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=631</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=631#comments</comments>
		<pubDate>Wed, 19 Mar 2008 21:56:50 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[Network Simulation Cradle]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=631</guid>
		<description><![CDATA[<p>TODO:</p>

<p>read through thesis, check grammar, etc. (done)
incorporate fixes from reading above (done)
check margins (make into PDF, make sure paper is A4, measure margins to make sure they are right, possibly look for an A4 printer here (might be hard, everything is letter)) (done)
check Waikato dissertation style guide for any other things we must conform to [...]</p>
]]></description>
			<content:encoded><![CDATA[<p><strong>TODO</strong>:</p>

<ul>
<li>read through thesis, check grammar, etc. (<em>done</em>)</li>
<li>incorporate fixes from reading above (<em>done</em>)</li>
<li>check margins (make into PDF, make sure paper is A4, measure margins to make sure they are right, possibly look for an A4 printer here (might be hard, everything is letter)) (<em>done</em>)</li>
<li>check Waikato dissertation style guide for any other things we must conform to (<em>done</em>, and fixed title page)</li>
<li>look into ns-2 graph in chapter 2, look to fix (<em>done</em>)</li>
<li>check table/figure/listing titles/captions: top or bottom? refer to Waikato dissertation style guide to see what is required (<em>done</em>, no explicit requirements, so wont bother changing unless its requested later)</li>
<li>consider changing last paragraph of the abstract (<em>done</em>, think it&#8217;s ok)</li>
<li>spell check (ensure no local word file first) (<em>done</em>)</li>
<li>&#8220;check for widows&#8221; (<em>done</em>)</li>
<li>find which pages need to be printed in colour (<em>done</em>)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=631</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with subversion repository history: a visualisation</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=629</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=629#comments</comments>
		<pubDate>Sat, 15 Mar 2008 20:34:37 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=629</guid>
		<description><![CDATA[<p>Some time ago I hacked up a little script to view my subversion repository version over time. I lost the initial script but I&#8217;ve recreated it today. Thought it was interesting to look at as the history dates back to 2003. Creating this is very easy with the help of svn log.</p>

<p>Bash:svn log svn+ssh://host/repository/ &#124; [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>Some time ago I hacked up a little script to view my subversion repository version over time. I lost the initial script but I&#8217;ve recreated it today. Thought it was interesting to look at as the history dates back to 2003. Creating this is very easy with the help of <code>svn log</code>.</p>

<div class="geshi" style="font-family: monospace;"><div class="head">Bash:</div><ol><li class="li1"><div class="de1">svn log svn+<span class="kw2">ssh</span>://host/repository/ | <span class="kw2">grep</span> -E <span class="st0">&quot;^r[0-9]+&quot;</span> | <span class="kw2">awk</span> <span class="st0">&#8216;{ print $5, $1 }&#8217;</span> | <span class="kw2">sed</span> <span class="st0">&#8217;s/r//&#8217;</span> &gt; repo.txt</div></li></ol></div>

<p>Produces a file like:</p>

<div class="hcode"><pre><code>2008-03-12 1681<br />2008-03-12 1680<br />2008-03-11 1679<br />... etc ...<br /></code></pre></div>

<p>Looks good for graphing with a program like gnuplot:</p>

<div class="hcode"><pre><code>set xdata time<br /># The format of time found in the file<br />set timefmt &quot;%Y-%m-%d&quot;<br /><br />set term png<br />set output &quot;repository.png&quot;<br /><br />set xlabel &quot;Date&quot;<br />set ylabel &quot;Repository revision&quot;<br />set title &quot;Repository version over time&quot;<br /><br /># The time format actually shown on the x-axis<br />set format x &quot;%Y&quot;<br /><br /># It's tricky to get the tics right in time mode, as you have to specify increments in seconds.<br /># I find it easier to just specify what dates I want shown<br />set xtics (&quot;2003-1-1&quot;, &quot;2004-1-1&quot;, &quot;2005-1-1&quot;, &quot;2006-1-1&quot;, &quot;2007-1-1&quot;, &quot;2008-1-1&quot;)<br />set nokey<br /><br />plot &quot;repository.txt&quot; using 1:2 with lines<br /></code></pre></div>

<p>And this produces the following result: </p>

<p><a href='http://www.wand.net.nz/~stj2/blog/wp-content/uploads/2008/03/repository.png' title='Sam’s research repository version over time'><img src='http://www.wand.net.nz/~stj2/blog/wp-content/uploads/2008/03/repository.thumbnail.png' alt='Sam’s research repository version over time' /></a></p>

<p>The hickup in the graph for me is due to an import with cvs2svn. Looks like the dates don&#8217;t quite increase as one would expect (this can be seen in the <code>svn log</code> output, too). In general the approach appears to work well enough, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=629</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrading WordPress with SVN</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=628</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=628#comments</comments>
		<pubDate>Sat, 15 Mar 2008 05:51:05 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=628</guid>
		<description><![CDATA[<p>One of the recommended ways to upgrade WordPress these days is with SVN. This is a convinient way of updating that is a lot quicker than the previous method. One of the problems with WordPress I&#8217;ve found over 4 years of running the software is that it has required many updates &#8212; I&#8217;ve almost never [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>One of the recommended ways to upgrade WordPress these days is <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">with SVN</a>. This is a convinient way of updating that is a lot quicker than the previous method. One of the problems with WordPress I&#8217;ve found over 4 years of running the software is that it has required many updates &#8212; I&#8217;ve almost never wanted any additional features, but there always seem to be new security holes. So a quicker way of updating is nice.</p>

<p>One of the things about updating with SVN, which does not appear to be discussed, is that it leaves a plethora of &#8220;.svn&#8221; directories on your webserver. Stored in these directories is the subversion source control info and backups of the working copy. By default, if you update with SVN, any user could browse the exact code that is running your blog. This sounds like a bad idea to me. While Wordpress is already open source, I don&#8217;t see any need to allow potential users/crackers/hackers/whatnot to browse through the exact code I&#8217;m running here. <code>.htaccess</code> to the rescue.</p>

<p>You could <a href="http://alexking.org/blog/2005/04/12/svn-as-a-web-site-maintenence-tool/">configure your web servers config</a> to deny access to any directory with &#8220;.svn&#8221; in it. </p>

<p>If you are only a user on a webserver with .htaccess, it gets a bit more tricky. You could put a .htaccess in each .svn directory. Easy with a script, but tough to maintain. Or you could use <code>mod_rewrite</code> to make a simple rule that denies access to any pages with <code>/.svn</code> in the path:</p>

<div class="hcode"><pre><code>RewriteEngine on<br />RewriteRule ^(.*\.svn.*)$ $1 [forbidden]<br /></code></pre></div>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=628</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>URLs in Latex and hyperref</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=627</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=627#comments</comments>
		<pubDate>Thu, 13 Mar 2008 21:48:58 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[Network Simulation Cradle]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=627</guid>
		<description><![CDATA[<p>The url package in Latex does a good job of formatting URLs and breaking them over lines when need be. Unfortunately, when you use hyperref, the package which makes PDF links and stuff work, the breaking over line functionality&#8230; breaks.</p>

<p>The solution of this problem is described in the FAQ. Basically, you need to get the [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>The <code>url</code> package in Latex does a good job of formatting URLs and breaking them over lines when need be. Unfortunately, when you use <code>hyperref</code>, the package which makes PDF links and stuff work, the breaking over line functionality&#8230; breaks.</p>

<p>The solution of this problem is described <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=breaklinks">in the FAQ</a>. Basically, you need to get the <code>breakurl</code> package, a link for which is in the FAQ entry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=627</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List spacing and Latex</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=626</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=626#comments</comments>
		<pubDate>Wed, 12 Mar 2008 19:12:42 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[Network Simulation Cradle]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=626</guid>
		<description><![CDATA[<p>I was finding my list environments (enumerate, itemize, etc.) in Latex were taking up a lot of space. While space isn&#8217;t a huge concern in a dissertation, they tended to look a bit too&#8230; spaced out. I did a bit of research on this and mostly remedied the situation. Turns out that by default the [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>I was finding my list environments (enumerate, itemize, etc.) in Latex were taking up a <em>lot</em> of space. While space isn&#8217;t a huge concern in a dissertation, they tended to look a bit too&#8230; spaced out. I did a bit of research on this and mostly remedied the situation. Turns out that by default the list environments use extra line spacing, so if you&#8217;ve already got 1.5 line spacing to begin with, they end up being huge.</p>

<p><a href="http://www.devdaily.com/blog/post/latex/control-line-spacing-in-itemize-enumerate-tags/">Some people</a> advocate creating your own new environment commands where you manually set some of the spacing lengths down. </p>

<p><a href="http://www.terminally-incoherent.com/blog/2007/09/19/latex-squeezing-the-vertical-white-space/">Another blog</a> provides some very good information on reducing whitespace. This helped a bit for me, but it wasn&#8217;t quite what I was looking for.</p>

<p>I found out about the package <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/enumitem/">enumitem</a>. This is quite cool, making it very easy to set the line spacing to something reasonable for all of your lists. I did something like:</p>

<div class="geshi" style="font-family: monospace;"><div class="head">LaTeX:</div><ol><li class="li1"><div class="de1"><span class="co1">% enumitem setup</span></div></li>
<li class="li2"><div class="de2"><span class="re2">\setlist</span>{<span class="re3">noitemsep,topsep=0pt</span>}</div></li>
<li class="li1"><div class="de1"><span class="re2">\setitemize</span>{<span class="re3">noitemsep,topsep=0pt</span>}</div></li>
<li class="li2"><div class="de2"><span class="re2">\setenumerate</span>{<span class="re3">noitemsep,topsep=0pt</span>}</div></li></ol></div>

<p>It&#8217;s still not perfect. I <em>still</em> end up with lots of white space between a paragraph and a list. But its much better than it was.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=626</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Performant: real word or not?</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=625</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=625#comments</comments>
		<pubDate>Wed, 12 Mar 2008 18:22:32 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[Network Simulation Cradle]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=625</guid>
		<description><![CDATA[<p>I got some feedback from my PhD supervisor recently and one of the comments was as follows:</p>

<p>I had been using &#8220;performant&#8221; to mean something along the lines of &#8220;fast enough&#8221;. But is it really a word? I wasn&#8217;t actually sure. Turns out a few others have had the same problem. Looks like Jeff Boulter bet [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>I got some feedback from my PhD supervisor recently and one of the comments was as follows:</p>

<p><a href='http://www.wand.net.nz/~stj2/blog/wp-content/uploads/2008/03/performant.jpg' title='Real word?'><img src='http://www.wand.net.nz/~stj2/blog/wp-content/uploads/2008/03/performant.jpg' alt='Real word?' /></a></p>

<p>I had been using &#8220;performant&#8221; to mean something along the lines of &#8220;fast enough&#8221;. But is it really a word? I wasn&#8217;t actually sure. Turns out a few others have had the same problem. Looks like <a href='http://boulter.com/blog/2004/08/19/performant-is-not-a-word/'>Jeff Boulter</a> bet me to this by about 4 years. The comments on the blog entry there provide a bit more background to this issue.</p>

<p>I just changed the way I wrote my sentence in the end.</p>

<p>Maybe a proliferation of blog entries on this word will aid its journey to the dictionary!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=625</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NSC 0.3.0 released</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=623</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=623#comments</comments>
		<pubDate>Fri, 11 Jan 2008 18:46:42 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[Network Simulation Cradle]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=623</guid>
		<description><![CDATA[<p>Released a new version of NSC after over a year. It has support for Linux 2.6.18 amongst other things. As usual, it can be found at: http://research.wand.net.nz/software/nsc.php</p>
]]></description>
			<content:encoded><![CDATA[<p>Released a new version of NSC after over a year. It has support for Linux 2.6.18 amongst other things. As usual, it can be found at: <a href="http://research.wand.net.nz/software/nsc.php">http://research.wand.net.nz/software/nsc.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=623</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>For lack of a better title: &#8220;more PhD progress&#8221;</title>
		<link>http://www.wand.net.nz/~stj2/blog/?p=622</link>
		<comments>http://www.wand.net.nz/~stj2/blog/?p=622#comments</comments>
		<pubDate>Mon, 28 May 2007 17:02:41 +0000</pubDate>
		<dc:creator>sammydre</dc:creator>
				<category><![CDATA[Network Simulation Cradle]]></category>

		<guid isPermaLink="false">http://www.wand.net.nz/~stj2/blog/?p=622</guid>
		<description><![CDATA[<p>PhD seems to be getting a bit bigger. Went past the 40,000 word mark. Well, the word count is approximate, so maybe I haven&#8217;t. Or maybe I already have. But it&#8217;s probably about right.</p>

<p>sam@hesiod:~/900/thesis$ make wordcountApproximate word count: 41095</p>

<p>(40,000 words doesn&#8217;t seem like much for the size of the document. I&#8217;ll probably remove a few [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>PhD seems to be getting a bit bigger. Went past the 40,000 word mark. Well, the word count <em>is</em> approximate, so maybe I haven&#8217;t. Or maybe I already have. But it&#8217;s probably about right.</p>

<div class="hcode"><pre><code>sam@hesiod:~/900/thesis$ make wordcount<br />Approximate word count: 41095<br /></code></pre></div>

<p>(40,000 words doesn&#8217;t seem like much for the size of the document. I&#8217;ll probably remove a few thousand before its finished. Somehow its almost 200 pages worth, though. Not sure how that works out&#8230;)</p>

<p>The literature review chapter has been getting a major cleanup this weekend and will hopefully soon be a <strong>lot</strong> more cohesive than it was. I&#8217;m much happier with the structure now, though the new structure isn&#8217;t finished yet! I have 3 more subsections to write before all the content is back.</p>

<p>Then I just need to read over it and add bits that make it flow better: discussion sections and bits that help transition from one section to another. I&#8217;m hoping this will be fairly obvious later on. It&#8217;s probably not <em>too</em> bad as it is, actually. It&#8217;s already feeling a lot better than it was.</p>

<p>Hopefully I can finish this one over the next week. It has turned out to be a lot more work than I was expecting. Still, it&#8217;s all progress and when I&#8217;m done this time it should be pretty decent (though I always wish I had more time to really think these things through and discuss them with others. Oh well).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wand.net.nz/~stj2/blog/?feed=rss2&amp;p=622</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
