<?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>@My Tech Life!</title>
	<atom:link href="http://brianmills.com.au/Index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://brianmills.com.au</link>
	<description>*anything geek related</description>
	<lastBuildDate>Wed, 14 Jul 2010 03:47:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Feed Research</title>
		<link>http://brianmills.com.au/?p=24</link>
		<comments>http://brianmills.com.au/?p=24#comments</comments>
		<pubDate>Wed, 11 Nov 2009 05:35:55 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianmills.com.au/?p=24</guid>
		<description><![CDATA[Its great to see knowledge given away&#8230; this research was interesting, although not really surprising. It basically came to the conclusion that online presence of a business can be very significant these days to make or break a business.
I love the suggested rates of connection/communication. Checks Facebook every 37 minutes, updates twitter every 3 hours, [...]]]></description>
			<content:encoded><![CDATA[<p>Its great to see knowledge given away&#8230; this research was interesting, although not really surprising. It basically came to the conclusion that online presence of a business can be very significant these days to make or break a business.</p>
<p>I love the suggested rates of connection/communication. Checks Facebook every 37 minutes, updates twitter every 3 hours, posts to flickr 5 times a day.</p>
<p>They have a cool technology adoption curve suggesting 2.5% of us are innovators, 13.5% early adopters, then a gap, with 34% early majority, and 34% late majority. Which sounds about right from my experience.</p>
<p>They suggest that digital media and presence in social media sites is useful at persuading people to purchase or not. The over arching statement, that online can be more useful than the 30 second add on TV I can skip though on my media centre. Well Dah!</p>
<p>Full details at: http://feed.razorfish.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://brianmills.com.au/?feed=rss2&amp;p=24</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Home Kiosk and Slate PCs</title>
		<link>http://brianmills.com.au/?p=15</link>
		<comments>http://brianmills.com.au/?p=15#comments</comments>
		<pubDate>Tue, 11 Aug 2009 22:50:43 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianmills.com.au/?p=15</guid>
		<description><![CDATA[I was thinking the other day about touch screen tablet PC, to use as a remote for the media center, and other things around the home.
I found this software to remote control windows media center, not sure if it works with Win7, but I&#8217;m sure it will soon.
http://www.olphro.de/wordpress/projekte/ngrc-next-generation-remote-control
Then a friend suggested a home kiosk, for [...]]]></description>
			<content:encoded><![CDATA[<p>I was thinking the other day about touch screen tablet PC, to use as a remote for the media center, and other things around the home.</p>
<div>I found this software to remote control windows media center, not sure if it works with Win7, but I&#8217;m sure it will soon.</div>
<p><a href="http://www.olphro.de/wordpress/projekte/ngrc-next-generation-remote-control">http://www.olphro.de/wordpress/projekte/ngrc-next-generation-remote-control</a></p>
<p>Then a friend suggested a home kiosk, for checking basic things of the day, calendar items for the whole family, weather, traffic etc.</p>
<p>This is the kind of hardware he was thinking of:</p>
<p><a href="http://www.engadget.com/2009/01/11/asus-eee-top-touchscreen-pc-zombie-hands-on/">http://www.engadget.com/2009/01/11/asus-eee-top-touchscreen-pc-zombie-hands-on/</a></p>
<p>I think altering the ngRC software (open source I think) to add functionality like daily calendar, and loading it on an ATOM based tablet PC would be fantastic.</p>
<p>However the only Tablet PC that looks suitable is the Archos 9inch, which isn&#8217;t available anywhere until September.</p>
<p><a href="http://www.ghacks.net/2009/07/05/archos-9-tablet/">http://www.ghacks.net/2009/07/05/archos-9-tablet/</a></p>
<p>Bugger!</p>
<p>Update: I&#8217;ve just found this Samsung one which looks pretty good, dont know about availablity.</p>
<p><a href="http://www.tabletpc2.com/Review-Samsung_Q1_Ultra_UMPC-Article70020609.htm">http://www.tabletpc2.com/Review-Samsung_Q1_Ultra_UMPC-Article70020609.htm</a></p>
<p>Looks like the form factor I&#8217;d want is a a Slate PC which is a tablet PC without the folding keyboard. That&#8217;d be perfect if it came as the right size (reasonably big rather than small to carry arround all the time).</p>
<p><span style="color: #ff0000;">UPDATE</span>: obviously the iPad has now taken prime place for home kiosk/slate PC&#8217;s. For me I&#8217;m not that intersted as I&#8217;d prefer something with more full function. I think I&#8217;ll be going back to an ATOM based screen system, low power, full function.</p>
]]></content:encoded>
			<wfw:commentRss>http://brianmills.com.au/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows 7 and USB 3G Internet Stick</title>
		<link>http://brianmills.com.au/?p=12</link>
		<comments>http://brianmills.com.au/?p=12#comments</comments>
		<pubDate>Thu, 06 Aug 2009 14:33:36 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianmills.com.au/?p=12</guid>
		<description><![CDATA[Recently my Windows 7 RC laptop stopped being able to use my USB 3G Internet Stick. It was failing with a magical &#8220;Error 31: A device attached to the system is not functioning&#8221;. It turns out that Windows 7, like Vista does its best to mash up the dial up networking components every now and [...]]]></description>
			<content:encoded><![CDATA[<p>Recently my Windows 7 RC laptop stopped being able to use my USB 3G Internet Stick. It was failing with a magical &#8220;Error 31: A device attached to the system is not functioning&#8221;. It turns out that Windows 7, like Vista does its best to mash up the dial up networking components every now and again.</p>
<p>The solution is to reinstall the dial up networking components. I think they are actually called remote access components in Windows 7 now.</p>
<p>You need to uninstall all dial up connections (this includes 3G connections) and drivers, then disable all network cards, uninstall all antivirus software (crazy I know, but the instructions come from Microsoft, and apparently disabling AV wont work). You also need Rarepaire.exe from Microsoft.</p>
<p>So:</p>
<ol>
<li>Remove Modem driver from the Device Manager</li>
<li>Delete the dial up connections Uninstall 3rd party Remote access software (like 3G connection managers)</li>
<li>Uninstall all 3rd party Wifi Software (Intel Pro Set or other)</li>
<li>Uninstall all VPN connection/softwareDisable all network connections including bluetooth and wifi</li>
<li>Uninstall Anti Virus Software (Disabling does not work)</li>
<li>Reboot</li>
<li>Run RArepair.exe It will require 2 or so Reboots</li>
<li>Reinstall Drivers/Software of your USB 3G Internet stick to test it out.</li>
</ol>
<p>It was also suggested to create a &#8220;Restore point&#8221; before testing Rarepaire.exe.</p>
<p>Try this at your own risk. Its not a documented fix, however it worked for me with no ill effects.</p>
<p>Its a bit of a pain in the arse to go through this, so I hope it doest happen to often to anyone (including myself).</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://brianmills.com.au/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Moving from ClearCase to Mercurial</title>
		<link>http://brianmills.com.au/?p=5</link>
		<comments>http://brianmills.com.au/?p=5#comments</comments>
		<pubDate>Fri, 31 Jul 2009 14:20:19 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianmills.com.au/?p=5</guid>
		<description><![CDATA[My workplace (which shall remain nameless) uses Clear Case for its main source control repository. Unfortunately, due to the network, and physical locations of things, it is exceedingly slow to do anything with. I actually lose my train of though while I wait for files to check out. And don&#8217;t even get me started on [...]]]></description>
			<content:encoded><![CDATA[<p>My workplace (which shall remain nameless) uses Clear Case for its main source control repository. Unfortunately, due to the network, and physical locations of things, it is exceedingly slow to do anything with. I actually lose my train of though while I wait for files to check out. And don&#8217;t even get me started on how long it takes to add any significant number of files (greater than 10) or do a re base and deliver action. It actually means I avoid integrating with my fellow team members as I loathe the time it takes.</p>
<p>To get around this problem, I am in the process of setting up a different source control system, which pushes into clear case. It is quite important for all code to be in the one repository for regulatory reasons. I respect that a lot, but as long as the code get in there on a daily basis, I don&#8217;t have any reason not to use something different on my own PC.</p>
<p>There are a number of other teams around the organisation that use Mercurial (or HG), I&#8217;m quite happy to try a distributed version control system for a number of reasons, I like trying out shiny new things (even if they aren&#8217;t really shiny), I like the idea of consistency across the workplace (for people that move teams), and I like what I&#8217;ve seen so far.</p>
<p>So the plan is as follows:</p>
<ol>
<li>Setup a Mercurial server on Windows using IIS or SSH</li>
<li>Setup a CI build that uses Mercurial</li>
<li>Setup a clear case import that runs daily which also runs the full CI build to validate the clear case import</li>
</ol>
<p>Today I&#8217;m exploring the first option in the Mercurial server on windows. That is via IIS using HGWebDir.cgi.</p>
<h3>Install Software</h3>
<ol>
<li>Install Mercurial 1.3.1 (TortoiseHG is not enough)</li>
<li>Install Python 2.5.4<br />
(note this needs to be the same as the version that Mercurial was compiled with, or you will receive a &#8220;Bad Magic Number&#8221; error)</li>
<li>Get a copy of hgwebdir.cgi from the mercurial repository here<br />
http://selenic.com/repo/hg<br />
Put the above file into a directory [hg web root]</li>
<li>Unzip the library.zip (from the mercurial install directory) into<br />
[hg web root]/lib<br />
Note# the zip doesn&#8217;t play nice with win zip, try win rar or other zipping tool</li>
<li>Copy the templates directory (from the mercurial install directory) into<br />
[hg web root]/lib/</li>
<li>Create a file named hgweb.config in the [hg web root] directory</li>
</ol>
<h3>Configure IIS</h3>
<p>You need to setup a virtual directory, or IIS website which points to the [hg web root] directory. If you dont know how to do this, search on the net. Its pretty easy in IIS manager. The important thing about this IIS application (weather directory or site) is that it needs to</p>
<ol>
<li>default file of &#8220;hgwebdir.cgi&#8221;</li>
<li>allow scripts and executables</li>
</ol>
<p>Once that&#8217;s complete, you need to add an application extension for python for cgi files. This varies in different versions of windows. In Server 2003, you need to</p>
<ol>
<li>In IIS Manager</li>
<li>right click the website or virtual directory, and click properties</li>
<li>go to the &#8220;home directory&#8221; tab</li>
<li>click the &#8220;configuration&#8221; button</li>
<li>click add under &#8220;application extensions&#8221; list on the &#8220;mappings tab</li>
<li>The executable should be exactly this<br />
C:\Python25\python.exe -u &#8220;%s %s&#8221;<br />
Unless you changed the default install directory of python, if so you will need to adjust this</li>
<li>The extension should be .cgi</li>
<li>Click &#8220;script engine&#8221;, and unclick &#8220;verify that file exists&#8221;</li>
<li>Click OK.</li>
</ol>
<p>You also need to add the web server extension</p>
<ol>
<li>Click &#8220;web server extensions&#8221; (below websites on the left)</li>
<li>Right click and hit &#8220;Add new web service extension&#8221;</li>
<li>Extension name can be anything I made it &#8220;Python 2.4&#8243;</li>
<li>Add a required file of<br />
C:\Python25\python.exe -u &#8220;%s %s&#8221;Click &#8220;Set extension status to Allowed&#8221;</li>
<li>Click OK</li>
</ol>
<p>At this point you can hit your website directory, however you will probably get a CGI error.</p>
<h3>Configure HGWebDir.config configuration file</h3>
<p>You need to create a [repositories root] directory. I made it C:/Repositories</p>
<p>Update the [hg web root]/hgweb.config file with the following code</p>
<pre>[paths]
ReposGroup1 = [repositories root]/ReposGroup1/**
[web]
style = monoblue</pre>
<p>This will find all repositorys in the sub directories of [repositories root]/ReposGroup1. You can specify more groups too. I plan to setup one group per project, so my group name is the project, and each branch or version is a hg repository under that.</p>
<p>You can also change the sytle to any style in the [hg web root]/lib/templates directory. Each to his own on this one.</p>
<h3>Configure HGWebDir.cgi file</h3>
<p>You need to edit [hg web root]/hgwebdir.cgi file.</p>
<p>You need to uncomment and update the following lines (which are in the first few lines)</p>
<pre>import sys
sys.path.insert(0, "[hg web root]\lib")</pre>
<p>Make sure you update the path to point to your [hg web root] directory. So in my case it was</p>
<pre>import sys
sys.path.insert(0, "C:\Inetpub\mercurial\lib")</pre>
<h3>Finishing Up</h3>
<p>That&#8217;s it.</p>
<p>When you this the URL in a web browser, you should get a nice web interface with lots of repository information for all the repositories that are setup in the [repositories root] directory.</p>
<p>If you have trouble, try looking at some of this:</p>
<ul>
<li>Ensure you have a valid path in the hgwebdir.config</li>
<li>Ensure you have installed the correct python version</li>
<li>Ensure you have the permissions to execute the cgi script, and access the repositories</li>
<li><a href="http://mercurial.selenic.com/wiki/HgWebDirStepByStep">http://mercurial.selenic.com/wiki/HgWebDirStepByStep</a></li>
<li><a href="http://serverfault.com/questions/9348/how-to-setup-a-mercurial-central-repository-on-a-windows-2008-server">http://serverfault.com/questions/9348/how-to-setup-a-mercurial-central-repository-on-a-windows-2008-server</a></li>
<li><a href="http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdir-on-iis">http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdir-on-iis</a></li>
</ul>
<p>To connect in something like TortoiseHg, you use the following style of URL replacing the necessary parts:</p>
<pre>http://[server name]/hgwebdir.cgi/[Group]/[RepositoryName]/</pre>
<p>Of course once in IIS, you can use SSL to secure it, and I believe there are some native username/password hooks in mercurial itself which allow you to specify who can push changes which work over this kind of server setup. However, you have to use http basic authentication for this to be useful. That&#8217;s easier in apache than IIS using the .htaccess system I believe. I didn&#8217;t have a need for security for this install. </p>
<p>If security was a concern, you should probably look at installing it under Apache instead, or using SSH, which works quite nicely.<br />
Cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://brianmills.com.au/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
