<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jason&#039;s Meanderings &#187; programming</title>
	<atom:link href="http://www.rte.ca/blog/category/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rte.ca/blog</link>
	<description>Jason&#039;s musing and meanderings about travel, web design, usability, programming and a lot more</description>
	<lastBuildDate>Tue, 10 Jan 2012 18:49:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hatfield looking for an Information System Specialist</title>
		<link>http://www.rte.ca/blog/2009/11/hatfield-looking-for-an-information-system-specialist.html</link>
		<comments>http://www.rte.ca/blog/2009/11/hatfield-looking-for-an-information-system-specialist.html#comments</comments>
		<pubDate>Fri, 06 Nov 2009 04:20:12 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Hatfield]]></category>
		<category><![CDATA[knowledge management]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=102</guid>
		<description><![CDATA[Hatfield Consultants, the place that I work, is looking for an Information System Specialist. The full job posting is online here. This person will work on all sorts of interesting projects, ranging from local linear development applications, to aquaculture applications to international opportunities in Africa and SE Asia. Required Skills and Experience Must be able [...]]]></description>
			<content:encoded><![CDATA[<p>Hatfield Consultants, the place that I work, is looking for an Information System Specialist. The full job posting is <a href="http://feedproxy.google.com/~r/HatfieldConsultants-JobPostingsAvailable/~3/qG5-m7EaoJ4/jobs.aspx">online here</a>. This person will work on all sorts of interesting projects, ranging from local linear development applications, to aquaculture applications to international opportunities in Africa and SE Asia.</p>
<p>Required Skills and Experience</p>
<ul>
<li>Must be able to work independently and with a team to design, implement and test web based data management, project management and collaboration systems;</li>
<li>High attention to detail;</li>
<li>Excellent English written and verbal skills;</li>
<li>5+ years experience developing ASP.NET/PHP/Java web applications;</li>
<li>Be able to work in a team context with non-technical users;</li>
<li>B.Sc (Computer Science), B.Tech, B.Eng or related degree with equivalent experience;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2009/11/hatfield-looking-for-an-information-system-specialist.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress</title>
		<link>http://www.rte.ca/blog/2009/10/wordpress.html</link>
		<comments>http://www.rte.ca/blog/2009/10/wordpress.html#comments</comments>
		<pubDate>Tue, 27 Oct 2009 03:47:45 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=1</guid>
		<description><![CDATA[Not that I&#8217;m a crazy blogger or anything, but I was finding the blogger system to be  rather annoying. As such, I have decided to move my blog over to a wordpress installation. Let&#8217;s see how this works!]]></description>
			<content:encoded><![CDATA[<p>Not that I&#8217;m a crazy blogger or anything, but I was finding the blogger system to be  rather annoying. As such, I have decided to move my blog over to a wordpress installation. Let&#8217;s see how this works!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2009/10/wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GPX2SHP &#8211; Win32 with C# source code</title>
		<link>http://www.rte.ca/blog/2008/07/gpx2shp-win32-with-c-source-code.html</link>
		<comments>http://www.rte.ca/blog/2008/07/gpx2shp-win32-with-c-source-code.html#comments</comments>
		<pubDate>Fri, 11 Jul 2008 22:32:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[GPX2SHP]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=80</guid>
		<description><![CDATA[I have been searching for some time for a simple GPX to SHP file converter. Both of these file formats are used extensively in geospatial applications, but for some reason no one has created a converter between these two files. So, being a programmer, I decided to remedy this situation. Download GPX2SHP Binary- for Win32 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rte.ca/blog/GPX2SHP/GPX2SHP_bin_20080711.zip" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://www.rte.ca/blog/uploaded_images/gpx2shp_20080711-740231.gif" border="0" alt="" /></a><br />
I have been searching for some time for a simple GPX to SHP file converter. Both of these file formats are used extensively in geospatial applications, but for some reason no one has created a converter between these two files.</p>
<p>So, being a programmer, I decided to remedy this situation.</p>
<p><a style="font-weight: bold;" href="http://www.rte.ca/blog/wp-content/uploads/GPX2SHP/GPX2SHP_bin_20080711.zip" target="_blank">Download GPX2SHP Binary- for Win32 </a></p>
<p>the binary version requires the .Net 2.0 framework to be installed on your computer. You can <a href="http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&amp;displaylang=en">download the framework here</a>.</p>
<p>Currently only waypoints are converted &#8211; tracks will be added in the future.</p>
<p>If you&#8217;re a programmer, you can <a href="http://www.rte.ca/blog/wp-content/uploads/GPX2SHP/GPX2SHP_src_20080711.zip" target="_blank">download the Visual Studio .Net 2005 C# Source Code for this project here</a>.</p>
<p>If this program works for you (or if it doesn&#8217;t), you can email me at jsuwala@gmail.com.</p>
<p><span style="font-style: italic;"><span style="font-weight: bold;">May 17 2010 update</span>: the download links above are now working (again)!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2008/07/gpx2shp-win32-with-c-source-code.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bad Design</title>
		<link>http://www.rte.ca/blog/2008/07/bad-design.html</link>
		<comments>http://www.rte.ca/blog/2008/07/bad-design.html#comments</comments>
		<pubDate>Fri, 11 Jul 2008 17:05:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=78</guid>
		<description><![CDATA[Two good websites that talk about bad design: Bad Human Factors Design: http://www.baddesigns.com/ Interface Hall of Shame: http://homepage.mac.com/bradster/iarchitect/shame.htm]]></description>
			<content:encoded><![CDATA[<p>Two good websites that talk about bad design:</p>
<p>Bad Human Factors Design: <a href="http://www.baddesigns.com/">http://www.baddesigns.com/</a></p>
<p>Interface Hall of Shame: <a href="http://homepage.mac.com/bradster/iarchitect/shame.htm">http://homepage.mac.com/bradster/iarchitect/shame.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2008/07/bad-design.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dissolution of Social Networks</title>
		<link>http://www.rte.ca/blog/2008/01/dissolution-of-social-networks.html</link>
		<comments>http://www.rte.ca/blog/2008/01/dissolution-of-social-networks.html#comments</comments>
		<pubDate>Tue, 29 Jan 2008 22:15:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=73</guid>
		<description><![CDATA[Andreas Kluth (San Francisco correspondent for The Economist) talking about real and virtual campfires, and predicts the dissolution of standalone social networks (such as FaceBook and MySpace) as we know them. Anyone interested in the next generation of internet technology really needs to listen to this podcast. Its clear, concise and really gets at the [...]]]></description>
			<content:encoded><![CDATA[<p>Andreas Kluth (San Francisco correspondent for The Economist) talking about real and virtual campfires, and predicts the dissolution of standalone social networks (such as FaceBook and MySpace) as we know them.
<p>Anyone interested in the next generation of internet technology really needs to listen to this podcast. Its clear, concise and really gets at the heart of many social graph issues and human behavior.</p>
<p><iframe src="http://video.economist.com/linking/index.jsp?skin=oneclip&amp;ehv=http://audiovideo.economist.com/&amp;fr_story=e2cf9a7f7edb74406258605df2a9e5ffb488d384&amp;rf=ev&amp;hl=true" marginwidth="0" marginheight="0" frameborder="0" height="336" scrolling="no" width="402"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2008/01/dissolution-of-social-networks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trac on Windows XP and IIS</title>
		<link>http://www.rte.ca/blog/2007/07/trac-on-windows-xp-and-iis.html</link>
		<comments>http://www.rte.ca/blog/2007/07/trac-on-windows-xp-and-iis.html#comments</comments>
		<pubDate>Wed, 18 Jul 2007 18:44:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=59</guid>
		<description><![CDATA[Trac is a web-based software development tool. It&#8217;s cool features include having a wiki, and integrating beautifully with Subversion for source control. Trac is used by a lot of open source projects, including my favourite map viewer, OpenLayers. So I wanted to install Trac on my Windows XP based development box. This was all fun [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://trac.edgewall.org/">Trac</a> is a web-based software development tool. It&#8217;s cool features include having a wiki, and integrating beautifully with <a href="http://subversion.tigris.org/">Subversion</a> for source control. Trac is used by a lot of open source projects, including my favourite map viewer, <a href="http://trac.openlayers.org/">OpenLayers</a>.</p>
<p>So I wanted to install Trac on my Windows XP based development box. This was all fun until I found that Trac is written in <a href="http://www.python.org/">Python</a>. In my experience, programs written in Python ususally don&#8217;t work well on Windows. Here&#8217;s how I got it to work:<br /><span style="font-weight: bold;"><br />Step 1: Download and install all components</span><span style="font-weight: bold;"><br /></span>Follow the instructions on <a href="http://trac.edgewall.org/wiki/TracOnWindows">this page</a> to install Python, Trac, ClearSilver, Subversion for Python, and PySqLite.<br /><span style="font-weight: bold;"><br />Step 2: Setup a Trac Project</span><br />Follow the instructions on setting up a <a href="http://trac.edgewall.org/wiki/TracOnWindows#GettingStarted">project as described on this page</a>.<br /><span style="font-weight: bold;"><br />Step 3: Test using tracd</span><br />Test your installation using the built-in web server, tracd. If it doesn&#8217;t work, you&#8217;ve done something wrong.<br /><span style="font-weight: bold;"><br />Step 4: Setup IIS Virtual Directories</span><br />Go into your IIS Admin panel and create a new virtual directory. This could be called anything that you want, but I called mine &#8220;trac&#8221;. This virtual directory should map to the &#8220;C:\Python24\share\trac\cgi-bin&#8221; directory.</p>
<p>Add two application extension mappings for this directory: .cgi and .py files should both execute the &#8220;C:\Python24\python.exe -u %s %s&#8221; command (the -u and the two %s are very important!).<br /><span style="font-weight: bold;"><br />Step 5: Modify various files</span><br />Modify the &#8220;C:\Python24\share\trac\cgi-bin\trac.cgi&#8221; file to add two lines under the &#8220;try:&#8221; statement (my test project is installed in the directory c:\projects\trac\testProject\&#8221;)<br /><span style="font-style: italic;">try:</span><br /><span style="font-style: italic;">    import os</span><br /><span style="font-style: italic;">    os.environ['TRAC_ENV'] = &#8220;C:/projects/trac/testProject/&#8221;</span><br /><span style="font-style: italic;">    from trac.web import cgi_frontend</span><br /><span style="font-style: italic;">    cgi_frontend.run()</span></p>
<p>Modify the &#8220;C:\Python24\Lib\site-packages\trac\web\api.py&#8221; file&#8217;s line 219/220:<br /><span style="font-weight: bold; font-style: italic;">Old code:</span><br /><span style="font-style: italic;">    path_info = property(fget=lambda self: self.environ.get(&#8216;PATH_INFO&#8217;, &#8221;).decode(&#8216;utf-8&#8242;), doc=&#8217;Path inside the application&#8217;)</span><br /><span style="font-weight: bold; font-style: italic;">Replace with:</span><br /><span style="font-style: italic;">    path_info = property(fget=lambda self: self.environ.get(&#8216;PATH_INFO&#8217;,&#8221;).decode(&#8216;utf-8&#8242;).replace( self.environ.get(&#8216;SCRIPT_NAME&#8217;, &#8221;), &#8221;), doc=&#8217;Path inside the application&#8217;)</span></p>
<p>Modify the &#8220;C:\Python24\Lib\site-packages\trac\web\main.py&#8221; file&#8217;s line 302:<br /><span style="font-weight: bold; font-style: italic;">Old code:</span><br />path_info = environ.get(&#8216;PATH_INFO&#8217;)<br /><span style="font-weight: bold; font-style: italic;">Replace with:</span><br />path_info = environ.get(&#8216;PATH_INFO&#8217;, &#8221;).replace( environ.get(&#8216;SCRIPT_NAME&#8217;, &#8221;), &#8221;).lstrip(&#8216;/&#8217;).split(&#8216;/&#8217;)<br /><span style="font-weight: bold;"><br />Step 6: Test</span><br />Open up your web browser, and go to http://localhost/trac/trac.cgi and see what happens!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2007/07/trac-on-windows-xp-and-iis.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Convert VB.Net &lt;-&gt; C#</title>
		<link>http://www.rte.ca/blog/2007/04/convert-vb-net-c.html</link>
		<comments>http://www.rte.ca/blog/2007/04/convert-vb-net-c.html#comments</comments>
		<pubDate>Thu, 19 Apr 2007 16:33:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=55</guid>
		<description><![CDATA[Every once in-a-while I need to convert between VB.Net and C#. Doing this by hand is a pain, but now there are some automated tools to help. Telerik Code Coverter is a free simple VB.NET to C# code converter and vice-versa. It&#8217;s shaping up to be one of the best code converters out there.]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://converter.telerik.com/Default.aspx"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://www.rte.ca/blog/uploaded_images/CodeConvertor3-704461.gif" alt="" border="0" /></a><br />Every once in-a-while I need to convert between VB.Net and C#. Doing this by hand is a pain, but now there are some automated tools to help.</p>
<p><a href="http://converter.telerik.com/Default.aspx">Telerik Code Coverter </a>is a free simple VB.NET to C# code converter and vice-versa. It&#8217;s shaping up to be one of the best code converters out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2007/04/convert-vb-net-c.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GPS to PostGIS data import pipeline</title>
		<link>http://www.rte.ca/blog/2007/02/gps-to-postgis-data-import-pipeline.html</link>
		<comments>http://www.rte.ca/blog/2007/02/gps-to-postgis-data-import-pipeline.html#comments</comments>
		<pubDate>Tue, 27 Feb 2007 22:46:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=50</guid>
		<description><![CDATA[I have found an interesting OpenSource based system that should allow you to import GPS track/route/waypoint information from your GPS into the OpenSource spatial database PostGIS. Here are the steps and tools: Convert your GPS data to the GPX format using GPSBabel Use the GPX2SHP program to create a SHP (ESRI Shape File) Import the [...]]]></description>
			<content:encoded><![CDATA[<p>I have found an interesting OpenSource based system that should allow you to import GPS track/route/waypoint information from your GPS into the OpenSource spatial database PostGIS. Here are the steps and tools:</p>
<ol>
<li>Convert your GPS data to the GPX format using <a href="http://www.gpsbabel.org">GPSBabel</a></li>
<li>Use the <a href="http://gpx2shp.sourceforge.jp/">GPX2SHP</a> program to create a SHP (ESRI Shape File)</li>
<li>Import the SHP file into PostGIS using <a href="http://postgis.refractions.net/docs/ch04.html#id2931056">shp2pgsql</a></li>
</ol>
<p>With your GPS data in PostGIS, you should be able to do all sorts of cool things.</p>
<p>For PostGIS data import, the following tools are interesting:
<ul>
<li> <a href="http://sourceforge.net/projects/dxf2postgis/">DXF -> PostGIS</a></li>
<li><a href="http://e00pg.sourceforge.net/">E00 -> PostGIS</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2007/02/gps-to-postgis-data-import-pipeline.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Support in the Middle Ages</title>
		<link>http://www.rte.ca/blog/2007/02/tech-support-in-the-middle-ages.html</link>
		<comments>http://www.rte.ca/blog/2007/02/tech-support-in-the-middle-ages.html#comments</comments>
		<pubDate>Fri, 23 Feb 2007 18:22:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=48</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/4pyjRj3UMRM"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/4pyjRj3UMRM" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2007/02/tech-support-in-the-middle-ages.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mapping with WMS</title>
		<link>http://www.rte.ca/blog/2007/01/mapping-with-wms.html</link>
		<comments>http://www.rte.ca/blog/2007/01/mapping-with-wms.html#comments</comments>
		<pubDate>Thu, 25 Jan 2007 22:25:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.rte.ca/wordpress/?p=45</guid>
		<description><![CDATA[Some quick map links: To add your own WMS (Web Mapping Server) to Google Maps, check out the javascript here: http://docs.codehaus.org/display/GEOSDOC/Google+Maps. They talk about GeoServer (a Java Map engine), but the javascript doesn&#8217;t rely on any WMS server in-particular. If you are using a standards compliant WMS, check out this SLD (Style Layer Discriptor) to [...]]]></description>
			<content:encoded><![CDATA[<p>Some quick map links:</p>
<p>To add your own WMS (Web Mapping Server) to Google Maps, check out the javascript here: <a href="http://docs.codehaus.org/display/GEOSDOC/Google+Maps">http://docs.codehaus.org/display/GEOSDOC/Google+Maps</a>. They talk about GeoServer (a Java Map engine), but the javascript doesn&#8217;t rely on any WMS server in-particular.</p>
<p>If you are using a standards compliant WMS, <a href="http://gestadieu.free.fr/blog/?p=48">check out this SLD </a>(Style Layer Discriptor) to style your maps like Google does (or very close).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rte.ca/blog/2007/01/mapping-with-wms.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

