<?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>Stochastic Geometry &#187; RCMS</title>
	<atom:link href="http://www.stochasticgeometry.ie/category/rcms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stochasticgeometry.ie</link>
	<description>Articles on random topics in Programming, Systems Administration, Academia and Industry by Mark Dennehy</description>
	<lastBuildDate>Fri, 27 Jan 2012 17:38:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fujitsiu LT C-500 touchscreen in Ubuntu</title>
		<link>http://www.stochasticgeometry.ie/2009/03/13/fujitsiu-lt-c-500-touchscreen-in-ubuntu/</link>
		<comments>http://www.stochasticgeometry.ie/2009/03/13/fujitsiu-lt-c-500-touchscreen-in-ubuntu/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 00:33:51 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RCMS]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=162</guid>
		<description><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p> Just as a small note to anyone trying to get this to work, the fpit driver has a bug in every version of ubuntu up to and including hardy; upgrade to intrepid and you get fully a functional touchscreen again, using this xorg.conf:</p>
<pre style="padding-left:30px;"><span style="color:#339966;">Section "InputDevice"
    Identifier     "touchscreen"
    Driver         "fpit"
    Option         "Device"    "/dev/ttyS1"
    Option        "BaudRate"    "9600"
    Option        "MaximumXPosition"    "4096"
    Option        "MaximumYPosition"    "4096"
    Option        "MinimumXPosition"    "0"
    Option        "MinimumYPosition"    "0"
    Option        "Passive"
    Option        "SendCoreEvents"
    Option        "TrackRandR" "true"
EndSection</span></pre>
<p>Just don&#8217;t try using KDE4 unless slow-motion work sounds appealing <img src='http://www.stochasticgeometry.ie/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  XFCE is reasonable though, so Xubuntu is an option (and what I&#8217;m running on it right now).</p>
<p>Now, on with the PyQT4 coding&#8230;</p>
<div style="clear:both;">&#160;&#8230; <a href="http://www.stochasticgeometry.ie/2009/03/13/fujitsiu-lt-c-500-touchscreen-in-ubuntu/" class="read_more">Read the rest</a></div>]]></description>
		<wfw:commentRss>http://www.stochasticgeometry.ie/2009/03/13/fujitsiu-lt-c-500-touchscreen-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Kada2.py output</title>
		<link>http://www.stochasticgeometry.ie/2009/01/07/kada2py-output/</link>
		<comments>http://www.stochasticgeometry.ie/2009/01/07/kada2py-output/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 20:03:34 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[RCMS]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=82</guid>
		<description><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p> Ray asked to see what the output of the kada2 script I&#8217;ve been working on looks like &#8211; only problem is that I&#8217;ve been using a real datafile for development, so it has people&#8217;s names in it. To avoid any shoutyness, one quick python script to read in the members.kda file and write it back out to test.kda with all the names changed to John Smith; then a quick run with this file as the members.kda file and some imagemagick conversions and viola, the current kada.py output.<span id="more-82"></span></p>
<p><img class="alignnone size-full wp-image-83" title="Air Rifle Ladder" src="http://www.stochasticgeometry.ie/wp-content/uploads/2009/01/ladders-0.png" alt="Air Rifle Ladder" width="512" height="724" /></p>
<p>The free rifle ladders look identical to that page.</p>
<p>The next three pages are from report.pdf, and generally aren&#8217;t meant to be posted for the club, they&#8217;re more for the club committee to track stuff as it&#8217;s happening in the club:</p>
<p><img class="alignnone size-full wp-image-87" title="Score histograms" src="http://www.stochasticgeometry.ie/wp-content/uploads/2009/01/report-01.png" alt="Score histograms" width="512" height="724" /></p>
<p><img class="alignnone size-full wp-image-88" title="Scores boxplots" src="http://www.stochasticgeometry.ie/wp-content/uploads/2009/01/report-11.png" alt="Scores boxplots" width="512" height="724" /></p>
<p>Those two pages are fairly straightforward (and mostly used to track performance of the folks who are shooting in the ladders for things like squad selection and so forth.</p>
<p><img class="alignnone size-full wp-image-86" title="Membership analyses" src="http://www.stochasticgeometry.ie/wp-content/uploads/2009/01/report-2.png" alt="Membership analyses" width="512" height="724" /></p>
<p>That page is somewhat less than perfect right now! The pie charts aren&#8217;t awful for seeing what&#8217;s happening, but the labelling is awful. More work required&#8230;</p>
<p>Here are the actual pdf files if you want them:</p>
<p><a href="http://www.stochasticgeometry.ie/wp-content/uploads/2009/01/ladders.pdf" target="_blank">ladders.pdf</a></p>
<p><a href="http://www.stochasticgeometry.ie/wp-content/uploads/2009/01/report.pdf" target="_blank">report.pdf</a></p>
<div style="clear:both;">&#160;&#8230; <a href="http://www.stochasticgeometry.ie/2009/01/07/kada2py-output/" class="read_more">Read the rest</a></div>]]></description>
		<wfw:commentRss>http://www.stochasticgeometry.ie/2009/01/07/kada2py-output/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ReportLab</title>
		<link>http://www.stochasticgeometry.ie/2009/01/06/reportlab/</link>
		<comments>http://www.stochasticgeometry.ie/2009/01/06/reportlab/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 18:52:42 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[RCMS]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=59</guid>
		<description><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p><a href="http://stochasticgeometry.wordpress.com/2008/11/02/python/">As I mentioned before</a>, after writing a python script to read in Kada&#8217;s data files on the rifle club shooters&#8217; scores and calculate new ladders, the next step is output that&#8217;s a bit fancier than the straight ASCII text dump:</p>
<pre style="padding-left: 30px;"><span style="color: #008000;">Novice Air Ladder
- - - - - - - - - - - - - - - -

 1         Joe D'Plumber    45  91.833    94
 2         Joe D'Plumber    36  87.500    91
 3         Joe D'Plumber    18  87.167    92
 4         Joe D'Plumber    16  85.833    91
 5         Joe D'Plumber    26  85.167    92
 6         Joe D'Plumber    31  81.167    87
          Tito D'Builder     2  76.000    76  *
 7         Joe D'Plumber     7  74.000    82
          Tito D'Builder     2  69.000    75  *
          Tito D'Builder     2  67.000    68  *
          Tito D'Builder     2  66.000    70  *
          Tito D'Builder     1  64.000    64  *
 8         Joe D'Plumber    10  63.167    78
          Tito D'Builder     1  62.000    62  *
 9         Joe D'Plumber     4  61.750    76
          Tito D'Builder     2  61.500    72  *
          Tito D'Builder     1  60.000    60  *
          Tito D'Builder     2  55.500    71  *
          Tito D'Builder     2  55.000    58  *
10         Joe D'Plumber     3  53.667    62
          Tito D'Builder     1  52.000    52  *
          Tito D'Builder     1  50.000    50  *
          Tito D'Builder     1  49.000    49  *
</span></pre>
<p>This does the basic job that the original system did (actually, it does a bit more &#8211; the asterisks mark out those shooters who haven&#8217;t yet shot enough cards to get on the ladder, but they&#8217;re still listed as an incentive for them to shoot more cards &#8211; the current system doesn&#8217;t do this). It&#8217;s not really doing all that can be done, however, and it&#8217;s certainly not all that fancy-looking. Especially in a scripting language, where the whole point is to do fancy stuff quickly through toolkits. So, &#8230; <a href="http://www.stochasticgeometry.ie/2009/01/06/reportlab/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.stochasticgeometry.ie/2009/01/06/reportlab/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>New Toy!</title>
		<link>http://www.stochasticgeometry.ie/2008/11/14/new-toy-2/</link>
		<comments>http://www.stochasticgeometry.ie/2008/11/14/new-toy-2/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 17:31:21 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[New Toys!]]></category>
		<category><![CDATA[RCMS]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=61</guid>
		<description><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p style="text-align:center;">
</p><p>Bought for the RCMS project, it&#8217;s a hand-held tablet PC (seen here in its docking station). Celeron processor and 256Mb of RAM and a whopping 60Gb hard disk space. Back when we got one for the CVRG robotics lab in 2002, it was the best thing available and cost thousands &#8211; today it cost me just over €160 by the time it landed on my door, with customs and vat and whatnot.</p>
<p>The plan is, get the touchscreen working (the fpit driver works but it&#8217;s not calibrating properly), and using python, the QT4 library, QT Designer and pyqt, to build a program that could replace the venerable RO Report form used in the rifle club:</p>
<div style="clear:both;">&#160;&#8230; <a href="http://www.stochasticgeometry.ie/2008/11/14/new-toy-2/" class="read_more">Read the rest</a></div>]]></description>
		<wfw:commentRss>http://www.stochasticgeometry.ie/2008/11/14/new-toy-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python</title>
		<link>http://www.stochasticgeometry.ie/2008/11/02/python/</link>
		<comments>http://www.stochasticgeometry.ie/2008/11/02/python/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 03:43:13 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[RCMS]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=54</guid>
		<description><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>One of the downsides of working on a pre-startup project is that you really can&#8217;t say much about it. Seriously. You think <em>Cryptonomicon</em> seemed paranoid about security? You&#8217;ve just never met the folks who safeguard possible IP for college spin-outs. Yowza. And it&#8217;s a shame because some of this stuff is really rather nifty, and it&#8217;s been good to not only do some high-level design of low-level stuff, but also to get back to implementing in C and for high-capacity stuff as well.</p>
<p>However, side projects are totally fair game <img src='http://www.stochasticgeometry.ie/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>At the moment, most of my side-project time has gone into a quick script for the rifle club in college. It has to read in a text file and do some basic statistics on the data therein. PHP would blaze through this in a web setting, but to my mind, PHP is out of its depth when not running on a webserver so I thought something else would be more appropriate. Perl is certainly up to the task, as is Ruby and I&#8217;ve been wanting to learn Ruby for a while, <em>but</em> some upcoming PhD stuff requires me to know Python, so I figured this would be a good starting point for it, so <em>apt-get install python</em> and away I went. <span id="more-54"></span></p>
<p>First, the problem. There&#8217;s a program my college rifle club uses called Kada, which tracks members names and details and scores and produces charts of the club&#8217;s &#8220;ladders&#8221;, a sort of running competition which tracks shooters&#8217; performances over the year (there&#8217;s a small prize at the end). The problem isn&#8217;t Kada itself &#8211; it is pretty much a textbook case of how you develop a user interface, even if it is character-mode. Keith, who developed Kada, spent ages refining the user interface by actually using it and talking to &#8230; <a href="http://www.stochasticgeometry.ie/2008/11/02/python/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.stochasticgeometry.ie/2008/11/02/python/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Emacs FAIL</title>
		<link>http://www.stochasticgeometry.ie/2008/06/26/emacs-fail/</link>
		<comments>http://www.stochasticgeometry.ie/2008/06/26/emacs-fail/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 18:58:38 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RCMS]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=51</guid>
		<description><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>Okay, no. I gave it a try for a good week. And by the end of the week, I don&#8217;t have any way to change basic stuff like fonts or colours, completion is still a mystery, line numbers are buggy, and I&#8217;ve not yet seen one single function that made me say &#8220;y&#8217;know, it&#8217;s a pain, but it&#8217;s worth it&#8221;. I wound up getting not one extra page added to the RCMS project during the entire week because of emacs configuration hell. Frac that for a game of soldiers.</p>
<p>I&#8217;ll stick with vim 7. Completion? Got it. Reformatting code? Got it. Testing code syntax in the editor? Got it.</p>
<p>And now, on with the actual <em>work</em>. Y&#8217;know, the thing we&#8217;re meant to use the editor <em>for</em> in the first place?</p>
<div style="clear:both;">&#160;&#8230; <a href="http://www.stochasticgeometry.ie/2008/06/26/emacs-fail/" class="read_more">Read the rest</a></div>]]></description>
		<wfw:commentRss>http://www.stochasticgeometry.ie/2008/06/26/emacs-fail/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Emacs</title>
		<link>http://www.stochasticgeometry.ie/2008/06/19/emacs/</link>
		<comments>http://www.stochasticgeometry.ie/2008/06/19/emacs/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 14:25:09 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RCMS]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/?p=49</guid>
		<description><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>Hmmm. I started programming on an old ICL OPD (anyone else remember microdrives?). There was some fooling about afterwards with an IBM PS/2 system (woo-hoo, 40Mb of hard disk space!), but the first time I hit what I thought of as a <em>real</em> machine was on a unix account in the first week of college. And that&#8217;s when I first hit the biggest question any starting computer engineer hits (or used to hit, back then): Vi or Emacs.</p>
<p>Back then, I chose Vi by default, in that it was the first thing I came across and command/edit mode switching actually made sense to me. And I used vi for a good while afterwards, until I finally found, and immediately switched to, vim. I&#8217;ve used vim ever since for any task where I could use it on any platform where I could get it (in fact, not being able to use it for wordpress blogging ticks me off). Being able to run around a source code file in command mode and <span style="color:#0000ff;">dd</span> or <span style="color:#0000ff;">y </span>lines from here and <span style="color:#0000ff;">p</span> them over there, or <span style="color:#0000ff;">J </span>them together or call up <span style="color:#0000ff;">boxes</span> with an <span style="color:#0000ff;">&#60;F4&#62; remap</span> to give me a nice easy-to-spot function header, those are things I&#8217;ve gotten down to the reflex level at this stage. In short, I <em>like </em>vim. It&#8217;s small, fast, uncluttered. And don&#8217;t talk to me about tabbed editing and intellisense and debugger integration please, that&#8217;s been in vim for quite some time if you want it (and frankly, if you&#8217;re using Visual Studio <em>anything</em> and telling me it has a better editor, you <em>seriously</em> need to stop wasting your time). Not to mention the fact that everytime I&#8217;ve seen something like intellisense in actual use, it&#8217;s been used by some rather lazy programmers. Which isn&#8217;t to say &#8230; <a href="http://www.stochasticgeometry.ie/2008/06/19/emacs/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.stochasticgeometry.ie/2008/06/19/emacs/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

