<?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>Madox.NET &#187; Free Software</title>
	<atom:link href="http://www.madox.net/blog/tag/free-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madox.net/blog</link>
	<description>Perversions of an Engineer</description>
	<lastBuildDate>Mon, 30 Jan 2012 12:21:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>HTC Sense UI on HTC Magic</title>
		<link>http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/</link>
		<comments>http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 12:37:20 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=555</guid>
		<description><![CDATA[Well I&#8217;ve installed the official HTC Magic update with the new Sense UI a week ago and I have to say I&#8217;m pleasant amazed at HTC&#8217;s work with the Sense UI and how responsive the update is.  Just purely love it. Other than the annoying thing that I couldn&#8217;t download it using Firefox or Linux, [...]]]></description>
			<content:encoded><![CDATA[<p>Well I&#8217;ve installed the official HTC Magic update with the new Sense UI a week ago and I have to say I&#8217;m pleasant amazed at HTC&#8217;s work with the Sense UI and how responsive the update is.  Just purely love it.</p>
<p><a href="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0909.JPG"><img class="aligncenter size-medium wp-image-564" title="IMGP0909" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0909-450x600.jpg" alt="IMGP0909" width="450" height="600" /></a></p>
<p>Other than the annoying thing that I couldn&#8217;t download it using Firefox or Linux, and that you need to update using Windows and HTC Sync&#8230; its awesome.  Even though it&#8217;s a Taiwan ChungHwa ROM, there is an English option luckily <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In addition to the Sense UI and its wonderful feature set, another interesting but hidden away feature is &#8220;Mobile Internet Sharing&#8221;, aka tethering!  Azilink is now redundant with this new firmware, and honestly I was getting annoyed with Azilink&#8217;s performance and constant dropping out.  On Ubuntu at least, it was &#8216;plug-and-play&#8217; without any other tricks.  Awesome.</p>
<p>Now I&#8217;m not so jealous about all the HTC Hero&#8217;s my friends and relatives have&#8230;</p>
<p>Photos (pretty boring) after the break.</p>
<p><span id="more-555"></span>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0897/' title='IMGP0897'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0897-150x150.jpg" class="attachment-thumbnail" alt="IMGP0897" title="IMGP0897" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0900/' title='IMGP0900'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0900-150x150.jpg" class="attachment-thumbnail" alt="IMGP0900" title="IMGP0900" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0901/' title='IMGP0901'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0901-150x150.jpg" class="attachment-thumbnail" alt="IMGP0901" title="IMGP0901" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0903/' title='IMGP0903'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0903-150x150.jpg" class="attachment-thumbnail" alt="IMGP0903" title="IMGP0903" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0904/' title='IMGP0904'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0904-150x150.jpg" class="attachment-thumbnail" alt="IMGP0904" title="IMGP0904" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0905/' title='IMGP0905'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0905-150x150.jpg" class="attachment-thumbnail" alt="IMGP0905" title="IMGP0905" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0906/' title='IMGP0906'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0906-150x150.jpg" class="attachment-thumbnail" alt="IMGP0906" title="IMGP0906" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0908/' title='IMGP0908'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0908-150x150.jpg" class="attachment-thumbnail" alt="IMGP0908" title="IMGP0908" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0909/' title='IMGP0909'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0909-150x150.jpg" class="attachment-thumbnail" alt="IMGP0909" title="IMGP0909" /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>EasySync USB-CAN Bus Adapter &#8211; Works great in Ubuntu after some fiddling</title>
		<link>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/</link>
		<comments>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 12:52:30 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[CAN Bus]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[FTDI]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=476</guid>
		<description><![CDATA[The toys just keep coming in!  Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by EasySync that promises a great interface and should work in Linux!  This will give a little bump start to my Mazda CAN Bus / [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_477" class="wp-caption aligncenter" style="width: 368px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2414A.JPG"><img class="size-medium wp-image-477" title="CIMG2414A" src="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2414A-358x300.jpg" alt="Neat little package" width="358" height="300" /></a><p class="wp-caption-text">Neat little package</p></div>
<p>The toys just keep coming in!  Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by <a href="http://www.easysync.co.uk/" target="_blank">EasySync</a> that promises a great interface and should work in Linux!  This will give a little bump start to my <a href="http://www.madox.net/blog/mazda-can-bus/" target="_blank">Mazda CAN Bus</a> / <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a> projects.</p>
<p><em>Note : EasySync UK&#8217;s online form doesn&#8217;t allow international shipping but a short E-mail or two managed that.  There is a US subsidiary with US and international shipping, but the international shipping rates on the US site is plain ridiculous [$68USD to ship a $88 device to Australia].</em></p>
<p><em>Note 2 : I hear the interface is mimicking the Lawicel CAN-USB interface&#8230;only hearsay&#8230;<br />
</em></p>
<p>Plugged it in &#8211; didn&#8217;t work.  Doh!  Took a peek at the manual and website, nothing on Linux other than &#8220;Linux drivers provided&#8221;&#8230; So much for the marketing material, guess I have to try make it work myself.  (Yes I got it working, read on for the quick run-down post aimed at helping others)</p>
<p><span id="more-476"></span></p>
<div id="attachment_478" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2417A.JPG"><img class="size-medium wp-image-478" title="CIMG2417A" src="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2417A-450x282.jpg" alt="Sneak peek inside the box" width="450" height="282" /></a><p class="wp-caption-text">Sneak peek inside the box</p></div>
<p>Now with the photos out of the way, a little bit of detective work is ahead of us&#8230; why doesn&#8217;t this thing work&#8230; I paid so much money for it to replace the qprotos adapter!</p>
<p>A little bit of lsusb (or cat /proc/bus/usb/devices if you&#8217;ve got usbdevfs) sleuthing later&#8230;</p>
<blockquote>
<pre>Bus 003 Device 004: ID 0403:fac6 Future Technology Devices International, Ltd
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0         8
 idVendor           0x0403 Future Technology Devices International, Ltd
 idProduct          0xfac6
 bcdDevice            6.00
 iManufacturer           1 EasySync
 iProduct                2 USB2-F-7001 CAN-Plus Adapter
 iSerial                 3 ESNFWLPL
 bNumConfigurations      1
 Configuration Descriptor:
 bLength                 9
 bDescriptorType         2
 wTotalLength           32
 bNumInterfaces          1
 bConfigurationValue     1
 iConfiguration          0
 bmAttributes         0x80
 (Bus Powered)
 MaxPower              150mA
 Interface Descriptor:
 bLength                 9
 bDescriptorType         4
 bInterfaceNumber        0
 bAlternateSetting       0
 bNumEndpoints           2
 bInterfaceClass       255 Vendor Specific Class
 bInterfaceSubClass    255 Vendor Specific Subclass
 bInterfaceProtocol    255 Vendor Specific Protocol
 iInterface              2 USB2-F-7001 CAN-Plus Adapter
 Endpoint Descriptor:
 bLength                 7
 bDescriptorType         5
 bEndpointAddress     0x81  EP 1 IN
 bmAttributes            2
 Transfer Type            Bulk
 Synch Type               None
 Usage Type               Data
 wMaxPacketSize     0x0040  1x 64 bytes
 bInterval               0
 Endpoint Descriptor:
 bLength                 7
 bDescriptorType         5
 bEndpointAddress     0x02  EP 2 OUT
 bmAttributes            2
 Transfer Type            Bulk
 Synch Type               None
 Usage Type               Data
 wMaxPacketSize     0x0040  1x 64 bytes
 bInterval               0
Device Status:     0x0000
 (Bus Powered)</pre>
</blockquote>
<p>Yup definitely a FTDI device, even with the FTDI vendor ID (Did I mention I love FTDI?).  Looks like EasySync decided they wanted their own unique product ID, unfortunately that means the vanilla ftdi_sio drive won&#8217;t pick it up without a little bit of coercing.</p>
<p>The little bit of coercing goes like&#8230;</p>
<blockquote><p><em>modprobe ftdi_sio vendor=0&#215;0403 product=0xfac6</em></p></blockquote>
<p>And bingo&#8230;</p>
<blockquote>
<pre>[ 6372.229046] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 6372.437247] usb 2-2: configuration #1 chosen from 1 choice
[ 6372.439834] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[ 6372.439872] usb 2-2: Detected FT232RL
[ 6372.439934] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0</pre>
</blockquote>
<p>Using putty to connect to ttyUSB0 at 115200, and typing &#8220;H&#8221; followed by &#8220;Enter&#8221; gives us</p>
<blockquote>
<pre>=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2009.06.30 21:23:18 =~=~=~=~=~=~=~=~=~=~=~=
H
List of Supported Commands
O - Open CAN Channel
C - Close CAN Channel
t - Transmit Standard Frame
T - Transmit Extended Frame
F - Read Status Flag
V - USB2-F-7001 Version
N - Serial Number of USB2-F-7001
Z - TimeStamp Option On/Off
S - Set CAN Bit Rate
s - Set BRGCON Registers
m - Set Acceptance Mask
M - Set Acceptance Filter
B - Enter Bootload Mode
L - Set Listen Mode
E - Clear Buffers and Echo Char
R - Reset USB2-F-7001
H, ? or h - Help on USB2-F-7001 Commands</pre>
</blockquote>
<p>Only problem is that its Mac style line endings.  Even the append CR to LF option in putty is useless because the stream seems to be CR without LF&#8230;  Doesn&#8217;t hurt too much except displaying it is a bit annoying.</p>
<p>The EasySync USB-CAN adapter&#8217;s pinout is pretty much standard DB9 for CAN Bus and all I had to do was connect my existing J1962 (aka OBD-II aka DLC-2) cable on and onto the car I went.</p>
<p>A couple of short &#8220;S6&#8243; (500kbps) &#8220;L&#8221; (Open connection for listen mode) commands later, I had CAN data being spat back at me</p>
<blockquote>
<pre>t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t20F8FFFF27104000FF01
t2118FFFF000040000001
t4B082710271027102710
t19080000000000000000</pre>
</blockquote>
<p>All is good&#8230;except I just deleted my Chumby Development Virtual Machine a few hours ago&#8230;ooops&#8230;another day before I use this neat little adapter for <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>A little bit of QR Code Colour Loving</title>
		<link>http://www.madox.net/blog/2009/06/18/a-little-bit-of-qr-code-colour-loving/</link>
		<comments>http://www.madox.net/blog/2009/06/18/a-little-bit-of-qr-code-colour-loving/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 13:10:02 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Perverted Engineering]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=467</guid>
		<description><![CDATA[Yes, that is &#8220;Colour&#8221; not &#8220;Color&#8221; for all your Americans out there! QR Code is one of the more widespread/popular 2D barcodes out there.  Sure there are others that are used commercially in airline/train ticketing, but none wide as much &#8216;reader&#8217; support in the form of mobile phones and software.  Almost all phones in Japan [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_468" class="wp-caption aligncenter" style="width: 385px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/madoxnetqr.png"><img class="size-full wp-image-468" title="madoxnetqr" src="http://www.madox.net/blog/wp-content/uploads/2009/06/madoxnetqr.png" alt="Go on, use your QR Reader on this :)" width="375" height="375" /></a><p class="wp-caption-text">Go on, use your QR Reader on this <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></div>
<p>Yes, that is &#8220;Colour&#8221; not &#8220;Color&#8221; for all your Americans out there! <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-467"></span><a href="http://en.wikipedia.org/wiki/QR_Code" target="_blank">QR Code</a> is one of the more widespread/popular 2D barcodes out there.  Sure there are others that are used commercially in airline/train ticketing, but none wide as much &#8216;reader&#8217; support in the form of mobile phones and software.  Almost all phones in Japan are able to read QR Code, add to that Nokias and various WinMo apps.  Not to mention the wonderful <a href="http://code.google.com/p/zxing/" target="_blank">ZXing</a> open-source app that&#8217;ll work on any mobile that supports Java or Android.</p>
<p>One of the beautiful things about QR Code is that it can tolerate errors in the code.  Depending on the encoding used, up to 30% of data can be lost and the full content can still be retrieved.</p>
<p>I caught onto QR Code a few years back but the ZXing Android app reminded me of this wonderful piece of technology.  A little curious, I thought I&#8217;ll add a bit of colour to the otherwise dull and boring black/white QR Code.  Others have noted that if you have enough contrast between foreground and background, most readers will still recognise the code &#8211; but lets make every block a different colour!  Yup, it still works!  Its a lot more prettier and fancier, but a thing to note is that you should still use colours that are a high contrast to the background.  I guess I could have used a pale yellow instead of a white background to add more&#8230;but that&#8217;ll be just over doing it.</p>
<p>Have a play with QR Code.  There are numerous generators online if you do a search, here is the <a href="http://zxing.appspot.com/generator" target="_blank">ZXing Generator link</a>.</p>
<p><em>(Anyone want to write an extension to a generator to make random colour QR codes?)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/06/18/a-little-bit-of-qr-code-colour-loving/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Citrix Linux Client 64bit (AMD64) for Ubuntu Jaunty 9.04</title>
		<link>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/</link>
		<comments>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/#comments</comments>
		<pubDate>Sun, 03 May 2009 15:16:55 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=330</guid>
		<description><![CDATA[This post is record to help myself if I ever decide to do a fresh install again, so it might be a bit messy.  (Posting helps me keep these untitled files off my hard-drive hehe) Download the Citrix Linux client (v11) from :- http://www.citrix.com/English/ss/downloads/index.asp URL mileage may vary, go back to the home page if [...]]]></description>
			<content:encoded><![CDATA[<p>This post is record to help myself if I ever decide to do a fresh install again, so it might be a bit messy.  (Posting helps me keep these untitled files off my hard-drive hehe)</p>
<p>Download the Citrix Linux client (v11) from :-<br />
<a href="http://www.citrix.com/English/ss/downloads/index.asp" target="_blank">http://www.citrix.com/English/ss/downloads/index.asp</a><br />
URL mileage may vary, go back to the home page if its not right.</p>
<p>Unpack the tarball and install&#8230; e.g.</p>
<blockquote>
<pre>tar -xvzf linuxx86-11.0.140395.tar.gz
sudo ./setupwfc</pre>
</blockquote>
<p>Might be missing a &#8216;cd&#8217; step here obviously&#8230;<br />
If run using sudo, default installs to /usr/lib/ICAClient</p>
<p>Confirm it doesn&#8217;t run because of libmotif</p>
<blockquote><p>/usr/lib/ICAClient/wfcmgr<br />
/usr/lib/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory</p></blockquote>
<p>Download a 32bit (i386) Open Motif package from :-<br />
<a href="http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/" target="_blank">http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/</a></p>
<p>Rip out libXm from it&#8230;</p>
<blockquote>
<pre>$ dpkg -x libmotif3_2.2.3-4_i386.deb ./tmp
$ cd ./tmp
~/tmp$ cd usr/lib
~/tmp/usr/lib$ ls
libMrm.so.3      libUil.so.3      libXm.so.3      X11
libMrm.so.3.0.2  libUil.so.3.0.2  libXm.so.3.0.2
~/tmp/usr/lib$ sudo cp libXm.so.3 /usr/lib32/
~/tmp/usr/lib$ cd /usr/lib32
/usr/lib32$ sudo ln -s libXm.so.3 libXm.so.4</pre>
</blockquote>
<p>Then this stupid error&#8230;<br />
You have not chosen to trust &#8220;Equifax Secure Global eBusiness CA-1&#8243;, the issuer of the servers security certificate (SSL error 61).</p>
<p>Download the root 1 (Base64) Cert from :-<br />
<a href="http://www.geotrust.com/resources/root-certificates/index.html" target="_blank">http://www.geotrust.com/resources/root-certificates/index.html</a><br />
Change the extension to .crt<br />
Copy it to Citrix Installation Path/ICAClient/keystore/cacerts</p>
<p>$ mv Equifax_Secure_Global_eBusiness_CA-1.cer Equifax_Secure_Global_eBusiness_CA-1.crt<br />
$ sudo cp Equifax_Secure_Global_eBusiness_CA-1.crt /usr/lib/ICAClient/keystore/cacerts/</p>
<p>Set firefox to open the ICA with /usr/lib/ICAClient/wfica</p>
<p>Voila&#8230;</p>
<p>Need to tidy this post up in the future</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 &#8211; Jaunty Jackalope AMD64 (64 bit)</title>
		<link>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/</link>
		<comments>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 10:40:17 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=317</guid>
		<description><![CDATA[I&#8217;ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation.  There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use. How to install Adobe Flash Plugin 64 Bit for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation.  There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use.</p>
<h2>How to install Adobe Flash Plugin 64 Bit for Ubuntu 9.04</h2>
<p>A lot of the tutorials/guides online will tell you to use nspluginwrapper or similar.  Adobe has released an &#8216;alpha&#8217; version of their 64 bit player which is pretty stable so far&#8230;</p>
<p>Download it from :-<a href="http://labs.adobe.com/downloads/flashplayer10.html" target="_blank">http://labs.adobe.com/downloads/flashplayer10.html</a></p>
<p>Unpack the archive and copy the only file to the Firefox plugins folder in &#8216;<em>/usr/lib/firefox-addons/plugins</em>&#8216; :-</p>
<blockquote><p>sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins</p></blockquote>
<h2>How to install Skype 64 bit for Ubuntu 9.04</h2>
<p>You would think you could just go to www.skype.com and ask for a download and it&#8217;ll be like the Adobe site detecting that you have a 64 bit system right?  Wrong (at time of writing).  Annoyingly that&#8217;ll just let you download an i386 package!</p>
<p>You could manually remedy this by downloading the AMD64 .deb package from :-<br />
<a href="http://www.skype.com/go/getskype-linux-ubuntu-amd64" target="_blank">http://www.skype.com/go/getskype-linux-ubuntu-amd64</a></p>
<h2>Everything else?</h2>
<p>So far the respositories have been kind to me&#8230; but i&#8217;ll update if I run into any other troubles <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Voila happy 64 bit Ubuntu&#8217;ing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>MChumby &#8211; Interface Design</title>
		<link>http://www.madox.net/blog/2009/04/06/mchumby-interface-design/</link>
		<comments>http://www.madox.net/blog/2009/04/06/mchumby-interface-design/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 14:31:39 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Geany]]></category>
		<category><![CDATA[Gnash]]></category>
		<category><![CDATA[HaXe]]></category>
		<category><![CDATA[Mazda]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=278</guid>
		<description><![CDATA[Working a 70 hour week dampened my enthusiasm for the MChumby but I managed to scrape a couple of hours today to try my hand with HaXe + Flash to prototype the Chumby Interface. A few interesting tidbits were learned from the experiments :- HaXe + Geany are great for developing flash widgets for the [...]]]></description>
			<content:encoded><![CDATA[<p>Working a 70 hour week dampened my enthusiasm for the <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">MChumby</a> but I managed to scrape a couple of hours today to try my hand with <a href="http://www.haxe.org/" target="_blank">HaXe</a> + Flash to prototype the <a href="http://www.chumby.com/" target="_blank">Chumby</a> Interface.</p>
<div id="attachment_283" class="wp-caption aligncenter" style="width: 330px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-mchumbyswf-1.png"><img class="size-full wp-image-283" title="screenshot-mchumbyswf-1" src="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-mchumbyswf-1.png" alt="Test of revised layout" width="320" height="265" /></a><p class="wp-caption-text">Test of revised layout</p></div>
<p>A few interesting tidbits were learned from the experiments :-</p>
<ol>
<li>HaXe + Geany are great for developing flash widgets for the Chumby</li>
<li>Gnash doesn&#8217;t render the same as Linux Adobe Flash</li>
<li>Chumby renders the same as Adobe Flash</li>
<li>Text vertical alignment in flash is crap</li>
</ol>
<p>A bit of background and a demo video of the widget on the Chumby after the break.</p>
<p><span id="more-278"></span></p>
<p>The <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">last post</a> describes my resurrection of a two year old project.  Here&#8217;s a super short summary with many pictures, photos and videos!</p>
<h2>The original layout</h2>
<div id="attachment_279" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/layout.png"><img class="size-medium wp-image-279" title="layout" src="http://www.madox.net/blog/wp-content/uploads/2009/04/layout-450x249.png" alt="Original concept layout..." width="450" height="249" /></a><p class="wp-caption-text">Original concept layout...</p></div>
<h2>Original layout prototyped</h2>
<div id="attachment_282" class="wp-caption aligncenter" style="width: 330px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-file-home-madox-mchumby-mchumbyswf.png"><img class="size-full wp-image-282" title="screenshot-file-home-madox-mchumby-mchumbyswf" src="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-file-home-madox-mchumby-mchumbyswf.png" alt="Test of original layout" width="320" height="265" /></a><p class="wp-caption-text">Test of original layout</p></div>
<p>I thought the speed gauge didn&#8217;t look too bad but I got convinced by a friend to redesign the layout.  Plus I really didn&#8217;t know why I needed a song name on the display or the blinker indicators&#8230;</p>
<h2>The revised layout</h2>
<div class="mceTemp mceIEcenter" style="text-align: left;">
<dl id="attachment_280" class="wp-caption aligncenter" style="width: 330px;">
<dt class="wp-caption-dt"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/layout2.png"><img class="size-full wp-image-280" title="layout2" src="http://www.madox.net/blog/wp-content/uploads/2009/04/layout2.png" alt="Revised layout" width="320" height="240" /></a></dt>
</dl>
<p>Revised layout legend/summary :-</p>
<ul style="text-align: left;">
<li>The speed gauge is the outer display.</li>
<li>The arcs are for the tachometer and accelerator position.</li>
<li>The yellow bar is like a fuel remaining indicator</li>
<li>Red boxes are for the transmission (mode/gear)</li>
<li>The cyan box is for a graph of&#8230; don&#8217;t know yet.  Speed graph? Fuel economy graph? Any suggestions?</li>
</ul>
</div>
<h2>Gah Gnash vs Adobe Flash</h2>
<p>I&#8217;ve been using Geany to write the HaXe code for this and it is pretty easy to link it in with Gnash to view the resultant Flash when compiling/executing.  So all it all it seemed like a good package for flash development until I realised Gnash doesn&#8217;t render quite the same as Adobe&#8230; (&#8220;Gah&#8221; is my sign of exasperation that Gnash renders the flash differently&#8230;).</p>
<p>That&#8217;s not the important bit&#8230;the important bit is that it doesn&#8217;t render like the Chumby either!!!  ARGH.  (P.S. The fault is with Gnash rendering textfields vertically centered whereas flash render&#8217;s them top aligned, easy enough to fix&#8230;)</p>
<div id="attachment_281" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot.png"><img class="size-medium wp-image-281" title="screenshot" src="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-450x221.png" alt="Gnash vs Flash player in Ubuntu" width="450" height="221" /></a><p class="wp-caption-text">Gnash vs Flash player in Ubuntu</p></div>
<h2>
<p><div id="attachment_286" class="wp-caption aligncenter" style="width: 410px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/chumbygnashflash.jpg"><img class="size-medium wp-image-286" title="chumbygnashflash" src="http://www.madox.net/blog/wp-content/uploads/2009/04/chumbygnashflash-400x300.jpg" alt="Chumby vs Gnash vs Linux Flash" width="400" height="300" /></a><p class="wp-caption-text">Chumby vs Gnash vs Linux Flash</p></div></h2>
<h2>Chumby gesture interface test video</h2>
<p style="text-align: center;"><object classid="clsid:166b1bca-3f9c-11cf-8075-444553540000" width="320" height="240" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0"><param name="sound" value="true" /><param name="progress" value="true" /><param name="autostart" value="true" /><param name="swstretchstyle" value="none" /><param name="swstretchhalign" value="none" /><param name="swstretchvalign" value="none" /><param name="src" value="http://www.madox.net/blog/wp-content/uploads/2009/04/chumbydemo.flv" /><embed type="application/x-director" width="320" height="240" src="http://www.madox.net/blog/wp-content/uploads/2009/04/chumbydemo.flv" swstretchvalign="none" swstretchhalign="none" swstretchstyle="none" swliveconnect="false" autostart="true" progress="true" sound="true"></embed></object></p>
<p style="text-align: left;">Works pretty well I have to say <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/04/06/mchumby-interface-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mChumby &#8211; Mazda/Madox Chumby</title>
		<link>http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/</link>
		<comments>http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 11:38:11 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[CAN Bus]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Mazda]]></category>
		<category><![CDATA[Microcontrollers]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=271</guid>
		<description><![CDATA[It&#8217;s taken me a while to officially start this project.  When I first bought my Mazda 3 I had envisaged making my own speedometer based off the Mazda CAN Bus but somehow never quite got around to it. I even ended up buying 2 Chumbies for the purpose of hacking one and developing the same [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s taken me a while to officially start this project.  When I first bought my Mazda 3 I had envisaged making my own speedometer based off the Mazda CAN Bus but somehow never quite got around to it.</p>
<p>I even ended up buying 2 <a href="http://www.chumby.com/" target="_blank">Chumbies</a> for the purpose of hacking one and developing the same speedo (The chumby is such a great alarm clock I couldn&#8217;t live without one&#8230;).</p>
<p>There has been quite a bit of interest in the comments for source code/information etc etc.  So now I&#8217;m officially starting the mChumby project!  This first post is basically a brainstorming session write-up or a mini requirements specification on myself.  Feel free to comment on any ideas/improvements you think I can make.</p>
<p>(This post seems too wordy without a photo but I&#8217;m just too lazy)</p>
<h1><span id="more-271"></span>The concept</h1>
<p>A Chumby will connect via CAN Bus to the Mazda to offer an alternative &#8216;GUI&#8217; to the car.  Information such as fuel consumption that has been removed from the Australian Mazda&#8217;s will be displayed.</p>
<p>Since a chumby doesn&#8217;t have native CAN Bus connections, a custom daughter board with dual CAN controllers and transceivers will be built to replace the native Chumby power board.</p>
<h1>The hardware</h1>
<p>In addition to the Chumby mainboard, there will be a custom daughter board to be made to handle the car interface.  The Chumby has multiple SPI interfaces brought out through the &#8216;Chumbilical&#8217;, as well as on-board voltage regulators that will take up to 15V.  So a quick brainstorm on the daughter-board components leads me to :-</p>
<p>CAN Controller : MCP2515 &#8211; Has SPI interface, great for Chumby.<br />
CAN Transceiver : TJA1041 or whatever it is I have in my box of electronics &#8211; Because I have them already<br />
USB Connectors + Associated electronics&#8230;<br />
Automotive Voltage Suppressor : Vishay had a few good ones</p>
<p>Luxuries like accelerometers are too much of a pain to hand solder <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h1>The software</h1>
<p>I&#8217;m going to try use completely open source software in the development.  This will be discounting the Flash Lite 3 player that ships with the Chumby.  I debated much about developing a QT app or a flash widget, what I decided was undecided and I switched back and forth.  In the end, I&#8217;m sticking with Flash (for now).</p>
<p>There are two main pieces of software required, the GUI and the CAN Bus drivers.</p>
<p>The GUI as decided before will be Flash targetting the Flash Lite 3 on the Chumby.  For this I decided to use <a href="http://www.haxe.org/" target="_blank">HaXe</a>, which will happily compile to Flash 8 bytecode.  It is not as popular in open source flash developement as say ActionScript 2 with <a href="http://tech.motion-twin.com/mtasc.html" target="_blank">mtasc</a> but I figured I&#8217;ll use the newer language.  Unfortunately there is a severe lack of HaXe examples on the net and when you find them, you&#8217;ll find that its based on Flash 9 API&#8230; GAH.  However a little bit of experimentation and googling around made me see how easy it is to actually use HaXe.  More on this later.</p>
<p>The driver&#8217;s for the MCP2515&#8242;s I haven&#8217;t really looked at yet but I hope that it&#8217;ll be a simple matter of adapting MCP2515 code from elsewhere and merging it with hopefully some SPI driver&#8217;s in the Chumby kernel source (did I mention how great the Chumby is? Source code is made available!).</p>
<p>There is a bit of other software that&#8217;ll be used to create this project.  I&#8217;m planning on learning how to use <a href="http://http://iut-tice.ujf-grenoble.fr/kicad/" target="_blank">KiCAD</a> to generate the PCB where as I&#8217;ve only previously used<a href="http://cadsoftusa.com/" target="_blank"> Eagle</a> on my hobby projects.  While I&#8217;m sure Eagle will get the job done, I really want to give a try in learning how to use the open source KiCAD.  Let me know if you have any hints.</p>
<p><a href="http://www.geany.org/" target="_blank">Geany</a> will be my lightweight editor/IDE of choice, its so simple to use and amazing.  (I like <a href="http://notepad-plus.sourceforge.net/" target="_blank">Notepad++</a> in Windows but I haven&#8217;t booted Windows at home for a while&#8230;)</p>
<h1>The HMI</h1>
<p>I like easy to use and simple user interfaces.  This is especially true when I&#8217;m driving, I definitely do not want this thing distracting me.  My initial idea was to organise it such that all the &#8216;buttons&#8217; are on the corners of the screen but on second thought even trying to touch that while driving may be a bit difficult.</p>
<p>Current idea is to use some simple swipe gestures to control the screen.  The idea is to have minimal interaction with my mChumby as possible while driving.  I intend to have 2 screens, one to display a large speedo and the main displays and a second screen to display a smaller speed with alot of additional potentially useless information (I haven&#8217;t figured out what yet).  I will also need brightness control to avoid getting a super bright screen at night.  So simply, swipe left-right will allow me to change screens and wipe up-down will allow me to adjust backlight brightness.</p>
<h2>Below is just an embarassing sample of the HaXe code I was experimenting with&#8230;</h2>
<h3></h3>
<h3>Mchumby.hx</h3>
<blockquote>
<pre>//MChumby GUI - HaXe code targetting Flash 8

class Mchumby{
  //Gesture Variables
  static var fGestureStartX:Float;
  static var fGestureStartY:Float;
  static var fGestureEndX:Float;
  static var fGestureEndY:Float;
  static var fGestureDeltaX:Float;
  static var fGestureDeltaY:Float;

  //MovieClips (Screens)
  static var mcMain : flash.MovieClip;

  static var mcD100 : flash.MovieClip;
  static var mcD101 : flash.MovieClip;
  //MovieClips (Buttons/Other Elements)

  //Text Fields
  static var tfText : flash.TextField;

  static var tfSpeedo : flash.TextField;
  static var tfAccelX : flash.TextField;
  static var tfAccelY : flash.TextField;
  static var tfAccelZ : flash.TextField;  

  //Text Format/Styles
  static var ts = new flash.TextFormat();
  static var tsCenter = new flash.TextFormat();

  public function new(){
    //Constructor - Most items are moved to main();
    fGestureStartX=0;
    fGestureStartY=0;
  }

  static function main(){
    //Setup main MovieClip
    mcMain = flash.Lib.current;

    //Set up some font styles
    ts.font = "Arial";
    ts.size = 24;
    ts.color = 0x00FFFF;

    tsCenter.font = "Arial";
    tsCenter.size = 24;
    tsCenter.color = 0xFF0000;
    tsCenter.align = 'center';

    //Set up screens the new way
    //var m100 = new M100(mcMain);
    //var m101 = new M101(mcMain);

    //Set up screens
    mcD100 = mcMain.createEmptyMovieClip("D100", mcMain.getNextHighestDepth());
    mcD101 = mcMain.createEmptyMovieClip("D101", mcMain.getNextHighestDepth());

    //Set up text fields
    tfText = mcMain.createTextField("tfText", mcMain.getNextHighestDepth(), 20, 20, 280, 100);
    tfText.setNewTextFormat(tsCenter);

    //Set up text fields (D100)
    tfSpeedo = mcD100.createTextField("speedotext", mcD100.getNextHighestDepth(), 20,50,280,100);
    tfSpeedo.setNewTextFormat(ts);
    tfAccelX = mcD100.createTextField("accelx", mcD100.getNextHighestDepth(), 20,80,280,100);
    tfAccelX.setNewTextFormat(ts);
    tfAccelY = mcD100.createTextField("accely", mcD100.getNextHighestDepth(), 20,110,280,100);
    tfAccelY.setNewTextFormat(ts);
    tfAccelZ = mcD100.createTextField("accelz", mcD100.getNextHighestDepth(), 20,140,280,100);
    tfAccelZ.setNewTextFormat(ts);

    //Set up text fields (D101)

    //Initialise text
    tfText.text = 'Hello World!';

    tfSpeedo.text = 'Accelerometer Values...';

    //Set up event handlers
    mcMain.onMouseDown = startGesture;
    mcMain.onMouseUp = endGesture;
    mcMain.onEnterFrame = update;
  }

  static function update(){
    tfAccelX.text = Std.string(ChumbyNative.getAccelerometer(5));
    tfAccelY.text = Std.string(ChumbyNative.getAccelerometer(6));
    tfAccelZ.text = Std.string(ChumbyNative.getAccelerometer(7));
  }
  static function startGesture () {
    fGestureStartX = flash.Lib.current._xmouse;
    fGestureStartY = flash.Lib.current._ymouse;
  }

  static function endGesture () {
    fGestureEndX = flash.Lib.current._xmouse;
    fGestureEndY = flash.Lib.current._ymouse;
    fGestureDeltaX = Math.round(fGestureEndX - fGestureStartX);
    fGestureDeltaY = Math.round(fGestureEndY - fGestureStartY);

		//Rather than else-if, the following if's are deliberately done to allow compound gestures
		//e.g. Up &amp; Left, Down &amp; Right etc.
    if (!Math.isNaN(fGestureDeltaY) &amp;&amp; (fGestureDeltaY &gt; 100)) {
      gestureDown();
    }

    if (!Math.isNaN(fGestureDeltaY) &amp;&amp; (fGestureDeltaY &lt; -100)) {
      gestureUp();
    } 

    if (!Math.isNaN(fGestureDeltaX) &amp;&amp; (fGestureDeltaX &lt; -200)) {
      gestureLeft();
    }

    if (!Math.isNaN(fGestureDeltaX) &amp;&amp; (fGestureDeltaX &gt; 200)) {
      gestureRight();
    }
  }
  static function gestureRight () {
    tfText.text = "To the right!";
    mcD100._alpha = 0;
    //tfText.setTextFormat(ts);
  }
  static function gestureLeft () {
    tfText.text = "To the left!";
    mcD100._alpha = 100;
  }
  static function gestureUp () {
    tfText.text = "Bright!";
    ChumbyNative.setLCDMute(0);
  }
  static function gestureDown () {
    tfText.text = "Dim!";
    ChumbyNative.setLCDMute(1);
  }
}</pre>
</blockquote>
<h3>ChumbyNative.hx</h3>
<blockquote>
<pre>class ChumbyNative{
  public static function getLCDMute():Int{
    return flash.Lib._global.ASnative(5,19);
  }
  public static function setLCDMute(x:Int):Void{
    flash.Lib._global.ASnative(5,20)(x);
  }
  public static function getAccelerometer(x:Int):Float{
    return flash.Lib._global.ASnative(5,60)(x);
  }
}</pre>
</blockquote>
<h3>Mchumby.hxml</h3>
<blockquote><p>-swf mchumby.swf<br />
-main Mchumby<br />
-swf-header 320:240:12:000033<br />
-swf-version 8</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Essential Free Software for a Windows Install</title>
		<link>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/</link>
		<comments>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 13:20:17 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=216</guid>
		<description><![CDATA[Yesterday I went and bought a laptop for my dad to learn how to use computers and the internet.  A base install of windows is not functional nor safe enough to let loose on the internet without some additional software.  Being an avid fan of things that are free, I went and downloaded the latest [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I went and bought a laptop for my dad to learn how to use computers and the internet.  A base install of windows is not functional nor safe enough to let loose on the internet without some additional software.  Being an avid fan of things that are free, I went and downloaded the latest versions of free software that I thought would be essential for this new PC.</p>
<p>I hope this post is useful for other people, but its really a lazy way of me bookmarking everything in-case I have to do it again.</p>
<p><span id="more-216"></span></p>
<p>Before anyone I know asks &#8220;Why didn&#8217;t you use (Insert Linux Variant Here)?&#8221;, its because linux has poor language input capabilities for any language other than English.  Windows Vista has in-built character recognition for a plethora of languages and most tablets are sold with software written for Windows.</p>
<p>Anyway that&#8217;s probably the last pro-Microsoft paragraph you&#8217;ll get out of me&#8230;So what did I download for dad?</p>
<h2><a href="http://www.openoffice.org/" target="_blank">OpenOffice<br />
</a></h2>
<p>In my opinion one of the best suites of open-source software out there, OpenOffice will basically do anything Microsoft Office will do but for free.  From doing your expenses to writing up reports and articles, OpenOffice will do it for you.</p>
<p>Office 2007 onwards annoyed the hell out of me with the non-intuitive ribbons interface.  OpenOffice retains the old but tried menu system so I can teach/help my dad over the phone quite easily.</p>
<h2><a href="http://www.comodointernetsecurity.com/" target="_blank">Comodo Internet Security</a></h2>
<p>After the collapse of Kerio Personal Firewall I switched to Comodo Firewall (aka Comodo Internet Security).  It&#8217;s easy to set up and offered free without any feature limitations by Comodo.  The Defense+ element of the software might be annoying for some users though&#8230;</p>
<p><strong>Remember, the standard Windows Firewall is next to useless!</strong></p>
<h2><a href="http://free.grisoft.com/" target="_blank">AVG Anti-Virus</a></h2>
<p>Any windows machine for a new computer user MUST be set-up with decent anti-virus software.  I&#8217;ve used AVG for probably around 10 years now and it has worked great.  It may not rate the highest in detection tests and benchmarks but its free, easy to use and updates regularly.</p>
<h2><a href="http://www.videolan.org/" target="_blank">VLC Media Player</a></h2>
<p>I&#8217;m not a fan of Windows Media Player, I either use Media Player Classic or VLC.  For my dad I opted to install VLC to keep the install clean of odd-ball codecs from strange sources.</p>
<p>VLC will play almost all video formats except for a few proprietary ones (e.g. RealMedia).</p>
<h2><a href="http://www.foxitsoftware.com/" target="_blank">Foxit PDF Reader</a></h2>
<p>Inevitably when surfing the web one would come across articles or papers in the ubiquitous &#8216;PDF&#8217; format.  Adobe&#8217;s free reader has in my opinion become bloated and slow, while Foxit&#8217;s alternative is lightweight and fast.</p>
<p>A new version 3 has just been released and I have some issues with this new version (program is slow to close), however you can still download and install the old 2.4 versions if you like.</p>
<h2><a href="http://www.mozilla.com/firefox/" target="_blank">Firefox</a></h2>
<p>Might be going slightly out of order when I mentioned surfing the web.  I will not allow my dad, a new computer user to browse the web using Internet Explorer &#8211; it&#8217;ll just be a disaster waiting to happen.</p>
<p>Firefox is standards compliant and is extremely powerful when combined with useful add-ons such as Adblock Plus, NoScript, and FireGestures (just to name a few I installed for him).  Search for these via Firefox-&gt;Tools-&gt;Add-ons.</p>
<h2><a href="http://picasa.google.com/" target="_blank">Picasa</a></h2>
<p>I wasn&#8217;t a great fan of Picasa but I recently revisited it after needing to look at geodata (GPS Co-ordinates) embedded within exif data and was I surprised.  The new version 3 incorporates a very quick image viewer to replace Window&#8217;s annoying image previewer that mangles your photos if you rotate them for viewing!  The interface is swift and useable, great for my mom to view her happy snaps.</p>
<h2><a href="http://www.skype.com/" target="_blank">Skype</a></h2>
<p>With a family scattered over the four corners of the Earth (I think there&#8217;s an average distance of 6000km between each of the 4 siblings&#8230;), dad will definitely need an internet chat/phone program.  Skype fits the bill perfectly being free and used by all my family with one of the best quality video and audio I&#8217;ve seen.</p>
<p>There&#8217;s even paid options to ring landlines and mobiles (overseas of local) from the comfort of the home PC using the &#8216;Skype-Out&#8217; service.</p>
<h2>That&#8217;s it folks!</h2>
<p>That is it for the bare essentials!  There may be other software utilities such as <a href="http://www.7-zip.org/" target="_blank">7-Zip</a> other&#8217;s may consider essential, but this is where I&#8217;ve drawn my line for the usage needs of my dad.</p>
<p>Do you think I&#8217;ve missed out on anything (for use for the average new computer user)?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rapid Prototyping &#8211; Mechanical Iris Diaphragm</title>
		<link>http://www.madox.net/blog/2008/11/15/rapid-prototyping-mechanical-iris-diaphragm/</link>
		<comments>http://www.madox.net/blog/2008/11/15/rapid-prototyping-mechanical-iris-diaphragm/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 07:48:59 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Perverted Engineering]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=8</guid>
		<description><![CDATA[Shapeways had a little Halloween special last month where they offered 66% off on their new black detail material.  Always wanting to try out some 3D printing for myself, this offer reeled me in!
So I set out to design something in the shortest amount of time and yet would still give me a good 'feel' of what 3D printing is capable of today.  The time constraint was probably also due to the fact I read about the offer at midnight and wanted to send it to print before I sleep :)  Result? Concept, Design, Upload, Ordered all within 2 hours!]]></description>
			<content:encoded><![CDATA[<div class="mceTemp"><a href="http://www.shapeways.com/" target="_self">Shapeways</a> had a little Halloween special last month where they offered 66% off on their new black detail material.  Always wanting to try out some 3D printing for myself, this offer reeled me in!</div>
<div class="mceTemp">So I set out to design something in the shortest amount of time and yet would still give me a good &#8216;feel&#8217; of what 3D printing is capable of today.  The time constraint was probably also due to the fact I read about the offer at midnight and wanted to send it to print before I sleep <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Result? Concept, Design, Upload, Ordered all within 2 hours!</div>
<h2 class="mceTemp"><strong>Concept</strong></h2>
<div class="mceTemp">
<p>The concept is a mechanical iris diaphragm, similar to those in cameras but on a much larger scale.  If you&#8217;re a <a href="http://stargate.mgm.com/" target="_blank">Stargate</a> fan, you would have think this is a much SMALLER scale version of the Stargate iris, then I would say that only has 20 blades&#8230;mine has 24!</div>
<div class="mceTemp" style="text-align: center;">
<p><img class="alignnone" title="Stargate Iris" src="http://upload.wikimedia.org/wikipedia/en/d/d2/StargateIrisAnimation.gif" alt="" width="300" height="169" /></div>
<div class="mceTemp" style="text-align: left;">
<p>There&#8217;s not much design detail out on the web, or at least no design drawings to plagiarise but I&#8217;ve seen enough stargate to try design something up myself&#8230;</p>
<p><span id="more-8"></span></div>
<h2 class="mceTemp"><strong>Design</strong></h2>
<div class="mceTemp">
<p>I used <a href="http://www.alibre.com/xpress/" target="_blank">Alibre Design Xpress</a> which is a free 3D Parametric Modeler program.  One of the great things about it is that it is not feature stripped as most &#8216;free&#8217; versions of commercial programs are.  With a very easy to use sketcher, and the parametric nature of the program, the entire iris design was completed in less than an hour.  Most of that time was probably spent tweaking the parameters to make it look good <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   One of the design constraints I placed upon myself was to make it a low volume design to minimise the 3D printing costs, hence the odd size.</div>
<div class="mceTemp">
<p>The<span class="MsgBodyText"> mechanical iris diaphragm will &#8216;open&#8217; or &#8216;close&#8217; as the outer ring is rotated around the inner ring depending on the direction of travel.  The dynamics of the design was helped by the assembly module of Alibre Design Xpress.  By constraining the pins of the blades to the holes and slots of the rings, I could simply move the ring in the model and watch the blades all move in unison as they are meant to.</span></div>
<div class="mceTemp">
<div id="attachment_12" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/iris-asm.jpg"><img class="size-medium wp-image-12" title="Iris Design - Alibre Xpress Assembly" src="http://www.madox.net/blog/wp-content/uploads/2008/11/iris-asm-300x164.jpg" alt="Iris Design - Alibre Xpress Assembly" width="300" height="164" /></a><p class="wp-caption-text">Iris Design - Alibre Xpress Assembly</p></div>
</div>
<div class="mceTemp">
<p>Since this is just a proof of concept and I wanted to sleep (~1am by now), I didn&#8217;t bother with niceties such as putting covers on the rings to make them look nicer.  The reverse side is going to be ugly&#8230;and it&#8217;ll show later on.</p></div>
<div class="mceTemp">
<p>Before anyone critiques me on the &#8216;too long blades&#8217;,  I did intend them to be that way.  I&#8217;ve always thought the Stargate iris looks cool and wondered if it&#8217;ll actually fully close.</p></div>
<h2 class="mceTemp"><strong>Ordering</strong></h2>
<div class="mceTemp">
<p>Shapeways accept files in STL format a defacto standing in 3D printing, and luckily Alibre Design Xpress exports in STL!  Unfortunately the validator at Shapeways didn&#8217;t like the STL Alibre exports in&#8230; wasted a fair bit of time googling for a solution&#8230;</p></div>
<div class="mceTemp">
<p><a href="http://meshlab.sourceforge.net/" target="_blank">Meshlab</a> to the rescue!  An open source processing and editing program for STL files, where all it took was simply opening the Alibre STL file, answering the &#8216;do you want to fix  ***&#8217; prompt, then saving.  The resultant STLs was was much smaller than the original and upload to Shapeways validated!</div>
<div class="mceTemp">
<p>Payment was easy with Paypal and major credit cards as options.  Another fantastic thing about Shapeways is that you don&#8217;t have to worry too much about ridiculous shipping costs.  All pricing includes worldwide shipping &#8211; a good change since I&#8217;m used to seeing $10 bargains with $195 shipping costs attached (Australia&#8230;on the fringe of civilisation&#8230; [Yes it's still part of civilisation]).</p></div>
<div class="mceTemp">
<p>Ended up ordering 2 sets of blades at slightly different thicknesses, but woohoo&#8230;order complete in under 2 hours!</p></div>
<h2 class="mceTemp"><strong>Delivery / Final Product</strong></h2>
<div class="mceTemp"><strong></strong>Delivery took a bit longer but that&#8217;s probably because Shapeways would have been snowed under with such a great deal, but true to form it did come before Halloween.</div>
<div class="mceTemp">Assembly was simply a matter of popping each blade into position, stacking them ontop of each another.  The last couple were the only tricky bit.</div>
<div class="mceTemp">This is the iris assembled in the almost fully open position&#8230;</div>
<div id="attachment_9" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/dsc05561.jpg"><img class="size-medium wp-image-9" title="Iris Diaphragm - Open" src="http://www.madox.net/blog/wp-content/uploads/2008/11/dsc05561-300x225.jpg" alt="Iris Diaphragm - Open" width="300" height="225" /></a><p class="wp-caption-text">Iris Diaphragm - Open</p></div>
<p>This is the reversed side&#8230;</p>
<div id="attachment_10" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/dsc05565.jpg"><img class="size-medium wp-image-10" title="Iris Diagram - Open (Reverse Side)" src="http://www.madox.net/blog/wp-content/uploads/2008/11/dsc05565-300x225.jpg" alt="Iris Diagram - Open (Reverse Side)" width="300" height="225" /></a><p class="wp-caption-text">Iris Diagram - Open (Reverse Side)</p></div>
<div id="attachment_11" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/dsc05579.jpg"><img class="size-medium wp-image-11" title="Iris almost closed... STARGATE!!!" src="http://www.madox.net/blog/wp-content/uploads/2008/11/dsc05579-300x225.jpg" alt="Iris almost closed... STARGATE!!!" width="300" height="225" /></a><p class="wp-caption-text">Iris almost closed... STARGATE!!!</p></div>
<div id="attachment_60" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/dsc05576.jpg"><img class="size-medium wp-image-60" title="Iris Other Side Almost Closed..." src="http://www.madox.net/blog/wp-content/uploads/2008/12/dsc05576-300x225.jpg" alt="Iris Other Side Almost Closed..." width="300" height="225" /></a><p class="wp-caption-text">Iris Other Side Almost Closed...forgot to add this picture the first time around...just added it back 1st Dec 2008 <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></div>
<h3><strong>What did I learn?<br />
</strong></h3>
<ol>
<li><span class="MsgBodyText">The black detail material is actually quite springy and not very rigid. I expected this (in fact hoped for it) for the really thin blades, but the inner ring was packed as an ellipsoid in the packaging <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Which made trying to bend it back into shape and fitting it into the outer ring a bit annoying.</span></li>
<li><span class="MsgBodyText">I need to add more clearance to parts I intend to have mechanically move <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The pins fit and slide into the slots perfectly&#8230; but the pivot pins and the inner/outer ring don&#8217;t really rotate &#8230; need to do some sanding I think.</span></li>
<li><span class="MsgBodyText">The black detail print requires support material and alot of that stays with the model if not cleaned off&#8230;</span></li>
<li><span class="MsgBodyText">You can actually notice the &#8216;print lines&#8217; that mark the pieces.</span></li>
<li><span class="MsgBodyText">I couldn&#8217;t fully close it&#8230;and I shouldn&#8217;t force it closed with such a flimsy plastic&#8230;aka I broke a pin off a blade by forcing it too hard&#8230; lucky I bought a spare set of blades <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></li>
</ol>
<h3><strong>What&#8217;s next?</strong></h3>
<p>Engineers and jewelry don&#8217;t mix right?&#8230; Who knows with 3D printing this easy and companies that offer 3D jewelry wax printing&#8230; hmmmmm</p>
<div id="attachment_13" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/heartring.jpg"><img class="size-medium wp-image-13" title="Engineering Jewelry?" src="http://www.madox.net/blog/wp-content/uploads/2008/11/heartring-300x194.jpg" alt="Engineering Jewelry?" width="300" height="194" /></a><p class="wp-caption-text">Engineering Jewelry?</p></div>
<p>This is a little ring I concocted up against very quickly using Alibre Design Xpress&#8230;</p>
<div id="attachment_63" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/smallrings_small.jpg"><img class="size-full wp-image-63" title="Painted Heart Rings" src="http://www.madox.net/blog/wp-content/uploads/2008/12/smallrings_small.jpg" alt="Heart Rings painted by Peter Paul (Shapeways)" width="500" height="275" /></a><p class="wp-caption-text">Heart Rings painted by Peter Paul (Shapeways)</p></div>
<p>Edit : I figured out the problem with the tesselation of the iris rings, will be fixing and improving the design again for a round 2!</p>
<p>Edit 2 : I just ran into the photo of someone painting the &#8216;heart ring&#8217; <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   They look so cute&#8230; mmm almost like candy&#8230;mmm hungry&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/15/rapid-prototyping-mechanical-iris-diaphragm/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

