<?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"
	>

<channel>
	<title>Redhatter's Web Blog &#187; Public Syndication</title>
	<atom:link href="http://stuartl.longlandclan.yi.org/blog/category/public/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuartl.longlandclan.yi.org/blog</link>
	<description>The life and times of Stuart Longland (VK4FSJL)</description>
	<pubDate>Mon, 30 Jun 2008 11:39:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Antennas and Baluns</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/23/antennas-and-baluns/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/23/antennas-and-baluns/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 02:14:27 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Amateur Radio]]></category>

		<category><![CDATA[Public Syndication]]></category>

		<category><![CDATA[Thinktank]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=268</guid>
		<description><![CDATA[Well, I spent much of my weekend fooling around with antennas in one form or another.
I had taken down my HF rig to bring to the Brisbane Amateur Radio Club social &#8212; to sort out why it wouldn&#8217;t tune up on 10m&#8230; the problem turned out to be my power supply.  I was using [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I spent much of my weekend fooling around with antennas in one form or another.</p>
<p>I had taken down my HF rig to bring to the <a href="http://www.qsl.net/vk4ba/">Brisbane Amateur Radio Club</a> social &#8212; to sort out why it wouldn&#8217;t tune up on 10m&#8230; the problem turned out to be my power supply.  I was using an old 250W AT computer PSU capable of supplying 9A at 12V.  My radio, a Kenwood TS-120S is a 100W radio, and draws 20A when running full power.  Now I had assumed since the mic gain was turned down to comply with my 10W limit, so the limited power wouldn&#8217;t be a problem&#8230; not so&#8230; it turns out that although I turned the mic gain down, the radio <em>still</em> wants its 20A for voice peaks.  This causes the voltage to drop, and of course, instability.</p>
<p>Well, <a href="http://www.buyequip.net">BuyEquip</a> had some 600W ATX power supplies, that advertised a 52A 12V output rail, brand new for $60, so I snapped one up.  A few more bits and pieces, and now my radio is much happier on 10m.  Interestingly, the box says 52A, the unit itself says 20A&#8230; either way, I&#8217;ve met my requirements. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Earlier when I had my HF rig set up, I had taken the balun out since I noticed it seemed to be shorting out the feedline (measured with an Ohmmeter), and I couldn&#8217;t even pick up commercial SW stations (I used to hear Radio New Zealand quite strong around 7.145MHz).</p>
<p>I later discovered that it&#8217;s quite normal for a 1:1 balun to appear as a DC short&#8230; my balun uses ~10 turns of not-very-thin copper enamel wire and I guess I&#8217;m used to transformers for other applications where one sees a much higher resistance.  Transformer Baluns are typically almost purely reactive &#8212; remember the reactance of an inductor is Xl=2(pi)fL &#8212; at DC, f=0, thus my ohmmeter sees Xl=0.</p>
<p>However, I knew I had done something wrong when wiring it up as when I disconnected the shield &#8212; I received Radio NZ S9+10dB, connecting the shield back dropped that to S2.</p>
<p>In the meantime, I used a 5cm piece of RG58, soldered straight to some 300ohm ladder line (surplus from my <a href="http://stuartl.longlandclan.yi.org/blog/2008/02/02/getting-out-of-a-hole/">sim jim antenna</a>).</p>
<p>I wasn&#8217;t sure that I had wired the balun correctly &#8212; and had lost the plans, so I set about locating some on the &#8216;net.  A quick search revealed <a href="http://www.mn0gfe.co.uk/cookbook/circuits/baluntrans.htm">this page from the Antrim &amp; District Amateur Radio Society</a>.  Well&#8230; what a difference it made&#8230; my noise floor on 80m went from S7 down to S3!</p>
<p>I spent the evening chatting on the Australia Wide Night Owl Insomnia Net (Friday evenings after 10:00PM at 3.6MHz LSB) &#8212; talking with stations as far away as Coffs Harbour, and even heard a feint amateur contact from New Zealand (ZL1?? callsign).</p>
<p>The other issue, was with my handheld.  I&#8217;ve got two portable antennas for it, neither of them are particularly efficient on 2m, both are brilliant 70cm band antennas.  One is the antenna that Kenwood supplied with the radio, the other was a Comet SMA3 antenna that I had bought at BARCfest.  Not bad for portable use &#8212; but I wondered if I could do better.</p>
<p>People might remember my old project, <a href="http://stuartl.longlandclan.yi.org/blog/2007/09/05/hatlamp/">the Hat-lamp</a>, where I set out to homebrew a headlamp using a hard hat.  Two radio amateurs suggested that I add an antenna mount to that &#8212; one suggested I could have a SMA-SMA socket adapter there and use my handheld&#8217;s existing antenna, the other suggested a SO239 socket on the top with a mobile antenna.</p>
<p>Well I gave the idea some thought&#8230; The big issue with this is two-fold: clearance (the antenna would have to incorporate a spring to absorb being whacked against low objects) and the social aspect (what would people think after seeing it).  Neither of the handheld antennas were particularly good on the former part &#8212; I managed to bend the newer antenna once just sitting down &#8212; it&#8217;s mostly bent back into shape now, but I didn&#8217;t want to risk it.  Both would be rather conspicuous though.  A mobile antenna would be a rather heavy thing to have sitting on one&#8217;s head, so I gave that idea a miss.</p>
<p>I found some stainless steel fencing wire that was quite stiff, and cut off about 60cm of it.  The idea was I&#8217;d wind the bottom of it into a spring, and a SMA plug would be soldered to the end (using some copper enamel wire to make the connection).  Well, I built that Saturday Night, and using it directly on the handheld, noticed an immediate improvement in performance &#8212; I was hitting repeaters I normally don&#8217;t hit unless I&#8217;m plugged into the roof antenna.  It is shown below&#8230; click on the photo for a larger view.</p>
<p align="center"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/portable-whip.jpg"><img src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/portable-whip-300x65.jpg" alt="Homebrew portable whip" /></a></p>
<p>Last night, I set out to attach the antenna mount to the hat.  One hole and a bit of elbow grease later, I had screwed the SMA-SMA adapter into the hole.  The antenna neatly screws onto the fitting around the back of the hat, and a length of coax screws in underneath running to the radio.  I haven&#8217;t tried walking around outside with it, but indoor performance is good.  The photos below show the socket views on top and underneath the hat&#8217;s brim&#8230;</p>
<p align="center"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/socket-top.jpg"><img src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/socket-top-150x150.jpg" alt="Antenna mount/socket top" /></a><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/socket-underside.jpg"><img src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/socket-underside-150x150.jpg" alt="Antenna mount/socket underside" /></a></p>
<p>The plan, the whip is still rather conspicuous &#8212; and there&#8217;s the risk of doing someone an injury if I&#8217;m not careful where I point the whip.  I&#8217;m now looking around for a souvenir peacock feather that I can stick the antenna up the centre of&#8230; the idea being the assembly becomes decorative as well as functional (below is what it looks like now, sans feather).  Well kinda&#8230; it&#8217;ll still look weird, but hopefully people will notice the feather rather than the antenna. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p align="center"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/hat_plus_antenna.jpg"><img src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/hat_plus_antenna-300x240.jpg" alt="Antenna mounted on hat" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/23/antennas-and-baluns/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gentoo 2008.0 final stages uploaded</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/16/gentoo-20080-final/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/16/gentoo-20080-final/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 00:29:01 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Gentoo Development]]></category>

		<category><![CDATA[Linux Development]]></category>

		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=265</guid>
		<description><![CDATA[I&#8217;m pleased to annouce the final 2008.0 stages have been published.  I haven&#8217;t yet gotten around to giving them a run, I&#8217;ll set up a couple of chroots and do some test builds shortly, but in the meantime, I have put them up on my devspace for public review.
As previously announced, this release sees the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pleased to annouce the final 2008.0 stages have been published.  I haven&#8217;t yet gotten around to giving them a run, I&#8217;ll set up a couple of chroots and do some test builds shortly, but in the meantime, I have put them up on my devspace for public review.</p>
<p>As previously announced, this release sees the addition of generic MIPS-1 stages for both big and little endian, as well as new stages for little-endian MIPS-3.  We still only support the hardware listed in the handbook however &#8212; the generic stages are provided merely as a convenience to those who may wish to experiment with other hardware, and know what they&#8217;re doing.</p>
<p>Approximately 1.2GB got uploaded over the 30 or so hours&#8230; this is apparent from my NTP server&#8217;s performance this weekend:</p>
<p><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/2121-offset.png"><img class="aligncenter size-full wp-image-266" title="2121-offset" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/2121-offset.png" alt="" width="500" height="208" /></a><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/2121-score.png"><img class="aligncenter size-full wp-image-267" title="2121-score" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/2121-score.png" alt="" width="500" height="238" /></a></p>
<p>&#8230; Yeah&#8230; I think I&#8217;ll wait until I&#8217;m back at uni before I upload any more big files. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Anyway&#8230; as I say, the new stages are up, and I&#8217;d be greatful if some brave users could take them for a spin and report back.  In the meantime, I&#8217;ve got some chroots to set up and testing to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/16/gentoo-20080-final/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lecture Slides&#8230; and how to NOT present them</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/13/lecture-slides/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/13/lecture-slides/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 11:16:38 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Public Syndication]]></category>

		<category><![CDATA[Rants]]></category>

		<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=259</guid>
		<description><![CDATA[Well, presently I&#8217;m reading through the semester&#8217;s lecture slides to familiarise myself with the content I&#8217;m going to be examined on shortly.
And I&#8217;m noticing there are some bad habits that lecturers seem to be keen on repeating&#8230; again, and again.  Here&#8217;s some of my pet hates, as a student.  These relate to the presentation of [...]]]></description>
			<content:encoded><![CDATA[<p>Well, presently I&#8217;m reading through the semester&#8217;s lecture slides to familiarise myself with the content I&#8217;m going to be examined on shortly.</p>
<p>And I&#8217;m noticing there are some bad habits that lecturers seem to be keen on repeating&#8230; again, and again.  Here&#8217;s some of my pet hates, as a student.  These relate to the presentation of the material we&#8217;re given, the actual format they&#8217;re provided in is <a href="http://stuartl.longlandclan.yi.org/blog/2008/02/28/open-standards/">another matter</a>.</p>
<p>Many of these were provided in PDF, which is good.  My first niggle however, is when they do their &#8220;print to PDF&#8221;&#8230; in black-and-white&#8230; but don&#8217;t adapt their slides to suit this monochrome medium.<a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/colour.png"><img class="aligncenter size-medium wp-image-260" title="Colour pie chart -- black and white slide" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/colour-300x233.png" alt="Pick a shade, any shade!" width="300" height="233" /></a></p>
<p>The above image is from a real presentation.  Those studying &#8220;Professional Studies II&#8221; (EEB781) at QUT might recognise it.  It was shown to us in colour during the lecture&#8230; but now when we review our notes, we only have it in shades of grey.  Thankfully we&#8217;re not being examined on that chart!  Then there&#8217;s this little gem&#8230;</p>
<p><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/contrast.png"><img class="aligncenter size-full wp-image-261" title="Poor contrast" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/contrast.png" alt="" width="376" height="127" /></a></p>
<p>This is a small section of a slide&#8230; Must I say, that black looks <em>great</em> on dark grey.  Mind you, the same criticism could be levelled at consumer electronics designers, who think it&#8217;s great to microprint 2mm high light-grey text on a dark grey panel!  But I digress&#8230;  Colour doesn&#8217;t necessarily improve things either&#8230; as shown by this example:</p>
<p><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/contrast-colour.png"><img class="aligncenter size-full wp-image-264" title="Poor contrast in a colour image" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/contrast-colour.png" alt="" width="500" height="151" /></a></p>
<p>If it isn&#8217;t masking much needed information by discarding the colour information&#8230; the other trap they fall into, is scaling bitmap images <em>up</em> in size, and/or deforming their aspect ratios.  I&#8217;ve got loads of examples of this, dating back over 5 years of studies&#8230; Here&#8217;s a brilliant example of the former.</p>
<p><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/stretching-bitmaps.png"><img class="aligncenter size-full wp-image-262" title="Stretched bitmap: Can you honestly read that?" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/stretching-bitmaps.png" alt="" width="500" height="230" /></a></p>
<p>Uh huh&#8230; you honestly are going to tell me you can read every word of that?  Well yes, if you look closely, you <em>can</em> make things out&#8230; but why should we?  That slide is so blurred and pixellated, it&#8217;s hard to see what is being said.</p>
<p>Here&#8217;s the lesson&#8230; <strong>Vector graphics are your friend</strong>.  You can scale a vector to any size you like, and it won&#8217;t pixellate.  SVG is great for this&#8230; EPS isn&#8217;t too bad too.  Or WMF.  They all allow for graphics that can be scaled to any size.</p>
<p>Some things of course, are inherently bitmaps, such as photographs and scanned images.  <strong>If you must use a bitmap&#8230; make sure it&#8217;s a decent resolution to begin with.</strong> Making a bitmap smaller (by resampling) is fine&#8230; but don&#8217;t try to make it bigger&#8230; it&#8217;ll look like utter shite.</p>
<p>And of course, if you do try to resize a bitmap (or any graphic really, vector or bitmap)&#8230; at least <strong>preserve the aspect ratio</strong>.  Nothing looks worse than a stretched and distorted photo&#8230;</p>
<p><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/aspect-ratio.jpg"><img class="aligncenter size-medium wp-image-263" title="Aspect ratio changes" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/aspect-ratio-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>If you look closely, you can see the top-left photo has been stretched (made bigger!) horizontally slightly (not too bad, but still).  The worst is the bottom-right photo, which has been compressed vertically.  It&#8217;d be okay had the image been compressed horizontally in proportion&#8230; but instead, it looks squashed.</p>
<p>Just about every presentation package I have used, provides the means to scale images while preserving their aspect ratio.  Some do it by default&#8230; some require you to hold down Shift or Control whilst dragging it out.  In either case&#8230; it&#8217;s trivial to do.  If something doesn&#8217;t fit the hole in your slide&#8230; consider cropping the bits that aren&#8217;t needed so that it matches the aspect ratio of the hole.  But <em>don&#8217;t</em> squash it!</p>
<p>Anyway&#8230; that&#8217;s enough ranting from me&#8230; about time I got back to my studies.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/13/lecture-slides/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tugboat vs Bridge</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/13/tugboat-vs-bridge/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/13/tugboat-vs-bridge/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 05:30:06 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Humour]]></category>

		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=238</guid>
		<description><![CDATA[Another one that arrived via the Department of Defence... this time, a rather striking series of images. I have no idea where these photos were taken, or who was involved... but anyway. Enjoy. :-)]]></description>
			<content:encoded><![CDATA[<p>Another one that arrived via the Department of Defence&#8230; this time, a rather striking series of images.  I have no idea where these photos were taken, or who was involved&#8230; but anyway.  Enjoy. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>To avoid my ADSL link getting saturated, I&#8217;ve moved the article <a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/tugboat.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/13/tugboat-vs-bridge/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Great Comeback Line (or how to offend an ABC interviewer)</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/13/great-comeback-line/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/13/great-comeback-line/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 04:37:01 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Humour]]></category>

		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=237</guid>
		<description><![CDATA[The following is an email I just received via the Department of Defence.
Enjoy. :-)  (Update: It has been revealed by a commenter to this post, that the transcript below is a hoax.  Cheers for the info.)
For those that don&#8217;t know him, Major General Peter Cosgrove is an &#8216;Australian treasure!&#8217;
General Cosgrove was interviewed on the radio [...]]]></description>
			<content:encoded><![CDATA[<p>The following is an email I just received via the Department of Defence.<br />
Enjoy. :-)  (<strong>Update:</strong> It has been revealed by a <a href="http://stuartl.longlandclan.yi.org/blog/2008/06/13/great-comeback-line/#comments">commenter to this post</a>, that the transcript below is a <a href="http://www.hoax-slayer.com/cosgrove-female-interviewer.shtml">hoax</a>.  Cheers for the info.)</p>
<hr />For those that don&#8217;t know him, Major General Peter Cosgrove is an &#8216;Australian treasure!&#8217;</p>
<p>General Cosgrove was interviewed on the radio recently.  You&#8217;ll love his reply to the lady who interviewed him concerning guns and children&#8230; Regardless of how you feel about gun laws you gotta love this! This is one of the best comeback lines of all time. It is a portion of an ABC interview between a female broadcaster and General Cosgrove who was about to sponsor a Boy Scout Troop visiting his military headquarters.</p>
<p>FEMALE INTERVIEWER: So, General Cosgrove, what things are you going to teach these young boys when they visit your base?</p>
<p>GENERAL COSGROVE: We&#8217;re going to teach t hem climbing, canoeing, archery and shooting.</p>
<p>FEMALE INTERVIEWER: Shooting! That&#8217;s a bit irresponsible, isn&#8217;t it?</p>
<p>GENERAL COSGROVE: I don&#8217;t see why, they&#8217;ll be properly supervised on the rifle range.</p>
<p>FEMALE INTERVIEWER: Don&#8217;t you admit that this is a terribly dangerous activity to be teaching children?</p>
<p>GENERAL COSGROVE: I don&#8217;t see how. We will be teaching them proper rifle discipline before they even touch a firearm.</p>
<p>FEMALE INTERVIEWER: But you&#8217;re equipping them to become violent killers.</p>
<p>GENERAL COSGROVE: Well, Ma&#8217;am, you&#8217;re equipped to be a prostitute, but you&#8217;re not one, are you?</p>
<p>The radio went silent and the interview ended.</p>
<hr />Clearly a certain General didn&#8217;t read the part of the ACMA rules that state you should not use language that would offend a reasonable person. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  But very succinct nonetheless.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/13/great-comeback-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>mod_auth_mysql</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/10/mod_auth_mysql/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/10/mod_auth_mysql/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 10:56:14 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Gentoo Development]]></category>

		<category><![CDATA[Linux Development]]></category>

		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=236</guid>
		<description><![CDATA[Hi all&#8230;
This is more a note to myself&#8230; but may also be useful with others who may be wondering WTF is wrong with their mod_auth_mysql setup.
To configure it, do it as per the instructions mentioned in the CONFIGURE file, or even following the /etc/apache2/modules.d/12_mod_auth_mysql.conf that the ebuild installs&#8230; HOWEVER&#8230; you will need to change the [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all&#8230;</p>
<p>This is more a note to myself&#8230; but may also be useful with others who may be wondering WTF is wrong with their mod_auth_mysql setup.</p>
<p>To configure it, do it as per the instructions mentioned in the <a href="http://modauthmysql.sourceforge.net/CONFIGURE">CONFIGURE</a> file, or even following the /etc/apache2/modules.d/12_mod_auth_mysql.conf that the ebuild installs&#8230; HOWEVER&#8230; you will need to change the length of the password field in the MySQL code snippets to suit your encryption method.</p>
<p>I decided to use SHA1 hashes, which are 40 characters long (encoded as hex).  Thus, you use a column type of <tt>CHAR(40)</tt>, and set your authentication configuration to use <tt>AuthMySQLPwEncryption sha1</tt>.  To use the &#8220;<tt>scrambled</tt>&#8221; encryption scheme (uses MySQL&#8217;s <tt>PASSWORD()</tt> function), this column needs to be 41 characters long, not the 20 advertised in the examples.</p>
<p>Once you do this, everything should be fine&#8230; and things will work as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/10/mod_auth_mysql/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Join the FaceBorg</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/09/join-the-faceborg/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/09/join-the-faceborg/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 12:35:30 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Public Syndication]]></category>

		<category><![CDATA[Thinktank]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/2008/06/09/join-the-faceborg/</guid>
		<description><![CDATA[Seems I&#8217;ve coined a new term tonight&#8230; &#8220;faceborg&#8221;.  Okay&#8230; seems others have come up with the same idea before me, as pointed out by others.  Not sure what to call the MySpace users&#8230; I&#8217;m sure someone will come up with a succinct term for them.  
Ever since social networking sites such as MySpace and [...]]]></description>
			<content:encoded><![CDATA[<p>Seems I&#8217;ve coined a new term tonight&#8230; &#8220;faceborg&#8221;.  Okay&#8230; seems others have <a href="http://www.google.com/search?q=faceborg">come up with the same idea</a> before me, as pointed out by others.  Not sure what to call the MySpace users&#8230; I&#8217;m sure someone will come up with a succinct term for them. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Ever since social networking sites such as MySpace and FaceBook have come on the scene, the internet veterans have been under increasing pressure to join up with these sites.  Me?  I don&#8217;t see the point.  They don&#8217;t appear to offer anything new.  From what I can tell, they are centred around allowing someone to create their own identity.</p>
<p>The misconception out there among the non-technical people, is that you need to be part of one of these sites to have an online identity.  This is simply not true.  You can achieve much the same thing, through the use of traditional media such as email, IRC, and modern media such as blogs.</p>
<p>The one big &#8220;advantage&#8221; I keep hearing, is that it makes it easy to find others.  Again&#8230; you don&#8217;t need these social networking sites for that.  There are two ways you can achieve what these sites give you:</p>
<p><strong>Keep your identity consistent</strong>.  If you like being known by a certain nickname, then use that nickname.  You can also put your real name up there too if you wish, and anything else that identifies <em>you</em>.</p>
<p>In my case, there are three identifying keywords that will locate me in many search engines: my full real name, my nickname, and my radio callsign.</p>
<p>The major thing that social networking sites offer however, is friendship lists.  Guess what&#8230; good ol&#8217;e HTML provides that already.  And blogs these days offer XFN.  You simply <strong>link to your friends&#8217; blogs/webpages</strong>&#8230; and voila&#8230; your friendship is instantly publicised.  Many search engines also track links between sites &#8212; so they will also pick up on these links.</p>
<p>What are the advantages in having your own blog/site?  Well, you can have all the bells and whistles you like.  Want to post videos?  No worries, there are tools for doing exactly that, and embedding them in your blog posts.  The other big advantage, is you&#8217;re totally in control &#8212; you own the content, and you&#8217;re responsible for it.</p>
<p>How about messaging?  Well&#8230; you can add that to your blog&#8230; there are facilities that can accept such addons.  Or there&#8217;s a plethora of tools already out there&#8230; such as IRC, XMPP, MSN Messenger (dare I mention it), and of course, plain old email.</p>
<p>To those who are already on these social networking sites.  Great&#8230; you&#8217;re happy where you are&#8230; this is fine.  However, don&#8217;t be disappointed if the rest of us, who may likewise be happy with where we are on the web, don&#8217;t come rushing to join you.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/09/join-the-faceborg/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Gentoo/MIPS without a netboot image</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/05/gentoomips-netboot/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/05/gentoomips-netboot/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 09:49:03 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Gentoo Development]]></category>

		<category><![CDATA[Linux Development]]></category>

		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=233</guid>
		<description><![CDATA[Hi all&#8230;
In the absence of recent netboot images, you might find these notes useful.  These describe how to install Gentoo without the use of a netboot image, but rather, making your own, and using root-over-NFS.  This same guide can also be used to port Gentoo to other presently unsupported MIPS hardware.
What you need&#8230;
You&#8217;ll need about [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all&#8230;</p>
<p>In the absence of recent netboot images, you might find these notes useful.  These describe how to install Gentoo without the use of a netboot image, but rather, making your own, and using root-over-NFS.  This same guide can also be used to port Gentoo to other presently unsupported MIPS hardware.</p>
<h2>What you need&#8230;</h2>
<p>You&#8217;ll need about 200MB or so (the more the better) on the netboot server to house a root filesystem.  In addition to the tools mentioned in the handbook, you&#8217;ll also want nfs-utils installed to export the client&#8217;s root FS.</p>
<p>You&#8217;ll also want a cross-compiler.  You only need to be able to build a kernel &#8212; libc is not necessary.  To generate such a compiler, install the <strong>sys-devel/crossdev</strong> package, and run <strong>crossdev -t mips64-unknown-linux-gnu -S1</strong> (or  mips64el for Cobalt/little endian targets).  If the build fails, try various versions of binutils and gcc, it may be a little tinkering to get a combo that works.</p>
<p>IP28 users will want to enable the <strong>ip28</strong> USE-flag on in /etc/portage/package.keywords for the <strong>cross-mips64-unknown-linux-gnu/gcc</strong> package.</p>
<h2>Unpacking and setting up the root fs&#8230;</h2>
<p>Download the stage 3 tarball, and unpack that into a directory on your server.  Then, export it by editing <strong>/etc/exports</strong>, and adding a line like the following:</p>
<pre><span style="text-decoration: underline;">/unpacked/stage3/path</span>    *(ro,sync)</pre>
<p>Remember to reload your NFS server config by typing <strong>/etc/init.d/nfs reload</strong>.</p>
<h2>Building the kernel&#8230;</h2>
<p>Start by unpacking the kernel with appropriate USE flags set (USE=ip28 for IP28 users, USE=ip30 for Octane users, USE=cobalt for Cobalt users).  This is done with the following command (adjust if your PORTDIR is in a different place):</p>
<pre># <strong>USE=<span style="text-decoration: underline;">ip28</span> \
  ebuild <span style="text-decoration: underline;">/usr/portage/sys-kernel/mips-sources/mips-sources-VERSION.ebuild</span> \
    unpack</strong></pre>
<p>If all goes well, you&#8217;ll have a copy of the patched kernel tree in <span style="text-decoration: underline;">/var/tmp/sys-kernel/mips-sources-VERSION/work/linux-VERSION</span>.  Change to that directory, and configure the kernel as per the guide in the Gentoo/MIPS handbook, passing <strong>ARCH=mips CROSS_COMPILE=<span style="text-decoration: underline;">mips64</span>-unknown-linux-gnu-</strong> (or <strong>mips64el</strong>&#8230;) to all <strong>make</strong> calls.  If you want to use the .config that comes with one of the old netboot images, you can use <strong>scripts/extract-ikconfig</strong> to extract it.</p>
<p>Remember to say Y to your network card driver, and these options:</p>
<ul>
<li>Root-over-NFS support</li>
<li>NFS Client support</li>
<li>IP Level Autoconfiguration (DHCP)</li>
</ul>
<p>Once you&#8217;ve compiled your kernel and have your vmlinux (or vmlinux.32) file, copy this file to your server&#8217;s /nfsroot (Cobalt hardware) or /tftproot (almost anything else) directory in place of the usual Gentoo netboot image.  For kernel modules, install them by typing <strong>make CROSS_COMPILE=&#8221;&#8230;&#8221; INSTALL_MOD_PATH=/unpacked/stage3/path modules_install</strong>.</p>
<p>You may also find it helpful to place a copy of the stage 3 tarball and kernel inside the NFS root area for convenient access on the final host.</p>
<h2>Booting the system&#8230;</h2>
<h3>SGI Boxes:</h3>
<p>Break into the command monitor prompt as per the handbook, and at the prompt, type the following (all on one line):</p>
<pre>&gt;&gt; <strong>bootp(): root=/dev/nfs ip=dhcp </strong>
<strong></strong><strong>            init=/bin/bash
</strong><strong>            nfsroot=<span style="text-decoration: underline;">ip.of.root.server</span>:<span style="text-decoration: underline;">/unpacked/stage3/path</span></strong></pre>
<h3>Cobalt boxes:</h3>
<p>This assumes you have one of my netboot images already unpacked in /nfsroot and that you&#8217;ve placed your freshly compiled kernel in /nfsroot as well.</p>
<p>Compress the kernel image using <strong>gzip -9</strong>, and rename it to <strong>kernel.gz</strong> (overwriting the existing file).  Then edit the <strong>default.colo</strong> file &#8230; the execute line should read (place this on one line):</p>
<pre>execute root=/dev/nfs ip=dhcp init=/bin/bash
        nfsroot=<span style="text-decoration: underline;">ip.of.root.server</span>:<span style="text-decoration: underline;">/unpacked/stage3/path</span></pre>
<p>Netboot the Cobalt system in the usual way.</p>
<h3>Lemote hardware:</h3>
<p>Hit ESC a few times to break into the PMON2000 prompt&#8230; then type the following (each on one line):</p>
<pre>PMON&gt; <strong>ifaddr rtl0 <span style="text-decoration: underline;">lemote_box_ip_addr</span></strong> <em># (e.g. 10.0.0.8)</em>
PMON&gt; <strong>load tftp://<span style="text-decoration: underline;">tftp_server_ip_addr/kernel_name</span></strong>
PMON&gt; <strong>g console=tty0 root=/dev/nfs ip=dhcp
      nfsroot=<span style="text-decoration: underline;">ip.of.root.server</span>:<span style="text-decoration: underline;">/unpacked/stage3/path</span></strong><strong></strong></pre>
<p>In all cases, you should be at a prompt.  Proceed with the Gentoo/MIPS handbook instructions as per normal at this point. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/05/gentoomips-netboot/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Keeping things simple</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/06/05/keeping-things-simple/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/06/05/keeping-things-simple/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 04:58:11 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Amateur Radio]]></category>

		<category><![CDATA[Public Syndication]]></category>

		<category><![CDATA[Thinktank]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=232</guid>
		<description><![CDATA[I&#8217;ve been doing some thinking today.  I haven&#8217;t been in the amateur radio gig very long&#8230; I got my license in mid January, and I&#8217;ve been active mostly on the 2m and 70cm bands for the past few months.
The last month saw me acquire the parts needed for a HF station, and so lately I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing some thinking today.  I haven&#8217;t been in the amateur radio gig very long&#8230; I got my license in mid January, and I&#8217;ve been active mostly on the 2m and 70cm bands for the past few months.</p>
<p>The last month saw me acquire the parts needed for a HF station, and so lately I&#8217;ve also been poking around on 40m and 80m too.  I&#8217;ll admit I&#8217;m still very new to the scene, getting to know what bands are best in what conditions, and making a small number of contacts.</p>
<p>I&#8217;ve been very active lately on 70cm on the Mt. Coot-tha repeater, VK4RBC (438.525MHz), and have been on the odd occasion, tried making contact on various frequencies on HF.</p>
<p><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/hf-stn.jpg"><img class="alignright size-thumbnail wp-image-231" title="HF Radio Station" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2008/06/hf-stn-150x150.jpg" alt="" width="150" height="150" /></a> At BARCfest this year, a number of commercial traders were present, showing off the latest and greatest from two of the big communications companies out there&#8230; ICom and Yaesu.  It was at BARCfest, that I picked up my current HF rig, a Kenwood TS-120S, and a few sellers had a number of older rigs on sale.</p>
<p>Now this particular rig is quite old&#8230; according to the <a href="http://www.eham.net/reviews/detail/511">eHam site</a>, they are 1980s vintage, although the exact date my rig was manufactured is unclear.  As far as features, it&#8217;s basic&#8230; SSB and CW modes, coverage of 80m, 40m, 20m, 15m and 10m, and around 100W output.  For my needs, okay, the power output is overkill, but it&#8217;s sufficient.  In fact, the power output is good, as if there is an emergency, I have the extra power to make contact.</p>
<p>At BARCfest however, there were some of the very latest rigs on display.  There was one Yaesu base station monster being shown off by <a href="http://www.kyle.com.au/">Kyle Communications</a>, I can&#8217;t recall what model, but its (<em>discounted!</em>) price tag was around AU$8000.  This thing did just about everything except errect its own antenna and make you coffee.  SSTV, RTTY, Packet, DSP filtering, you name it, it had it.  Very impressive, but are all these gratuituous bells and whistles really needed?</p>
<p>One thing I like about the rig I have, is that the handbook includes <em>full</em> schematics of the transceiver circuitry, with explainations on how it works.  It&#8217;s all implemented using solid state components that are easily sourced.  In fact, the handbook has some hand-written notes suggesting that the thing has been serviced a couple of times before hand already.  Being basic in features, has enabled it to be serviced, and I suspect that I should have this rig for a very long time, as long as I can get replacement parts &#8212; I see no reason why it shouldn&#8217;t continue operating for years to come.</p>
<p>However, rigs like the one I described above, the average operator, I suspect, would be helpless to try and fix a complex beast like that.  There&#8217;s just so much that could go wrong, and loads of specialised components that are purpose built for it.  Sure, it might be off-the-shelf DSPs and microcontrollers in use&#8230; you might be able to buy replacements&#8230; but where do you go to get them reprogrammed so they perform the function for which they are intended?</p>
<p>Even my handheld, a Kenwood TH-F7E, is a rather complicated beast.  It has a small microcontroller in it, and a lot of integrated circuitry, that I couldn&#8217;t possibly fix if something went wrong.  I bought it because it had FM transmit capability on 2m and 70cm (the only two VHF/UHF bands I&#8217;m permitted on presently) and it could receive AM, {,W,N}FM, SSB and CW over a wide range from 100kHz through to about 1.3GHz.  Now okay, in order to minaturise the device, it was necessary for specialised components to be used here&#8230; that&#8217;s fair enough, but I can forget doing much in the ways of repairs.</p>
<p>I believe that base station rigs are getting overly complicated these days &#8212; we really need to get back to basics.  For someone like myself, I really only need a few basic features:</p>
<ul>
<li>Coverage of all the analogue modes: CW, AM, FM and SSB</li>
<li>Reasonable output power</li>
<li>Good sensitivity/selectivity</li>
<li>Digital readout</li>
</ul>
<p>All of this (except digital readout) can be implemented with analogue electronics.</p>
<p>Digital modes in my book are better implemented on a desktop PC.  Computers these days are quite capable of doing software DSP&#8230; I don&#8217;t see any reason why it is necessary for the transceiver to do all that.  A small microcontroller inside the rig to provide PC control, and memory banks, no worries&#8230; but that&#8217;s about as complicated as it needs to be in my opinion.</p>
<p>Heck, there&#8217;s no reason why some of this couldn&#8217;t be modular &#8212; that is, the rig works without the microcontroller.  The microcontroller would just be responsible for loading/storing VFO frequencies, and switching modes &#8212; if it&#8217;s absent, this just gets done manually by the user.  The controls on the front would just manipulate digital flip flops, that could also be driven by the microcontroller.</p>
<p>The upshot is, a rig like the above, could be made quite robust&#8230; and reasonably inexpensive.  Some of us don&#8217;t need the frills &#8212; or if they do, are sufficiently knowledgable enough to make them ourselves.  There are people who will demand very fancy rigs, and that&#8217;s fine&#8230; there&#8217;s plenty in the market now to cater for that group of operators, but for the rest of us, I think a lot could be gained from reducing the complexity in current transceivers.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/06/05/keeping-things-simple/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gentoo/MIPS 2008.0: Stages Uploaded</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2008/05/30/gentoomips-stages-uploaded/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2008/05/30/gentoomips-stages-uploaded/#comments</comments>
		<pubDate>Fri, 30 May 2008 05:52:30 +0000</pubDate>
		<dc:creator>Redhatter (VK4FSJL)</dc:creator>
		
		<category><![CDATA[Gentoo Development]]></category>

		<category><![CDATA[Linux Development]]></category>

		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=228</guid>
		<description><![CDATA[Hi all&#8230;
I&#8217;ve now uploaded the stages for Gentoo/MIPS 2008.0.  I&#8217;m hoping to get these pushed out to mirrors shortly, but in the meantime, you can find them on my devspace.  These stages need a fairly modern kernel, 2.6.19 or later, ideally  2.6.2x-series, otherwise you&#8217;ll strike issues with rm doing strange things (as people have reported [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all&#8230;</p>
<p>I&#8217;ve now uploaded the stages for Gentoo/MIPS 2008.0.  I&#8217;m hoping to get these pushed out to mirrors shortly, but in the meantime, you can find them on my devspace.  These stages need a fairly modern kernel, 2.6.19 or later, ideally  2.6.2x-series, otherwise you&#8217;ll strike issues with <em>rm</em> doing strange things (as people have reported already).  I have some kernel images for IP30, IP32, Loongson and Cobalt that should work with these stages.</p>
<p>These are only freshly compiled, and haven&#8217;t undergone much testing, so I&#8217;d appreciate it if some brave souls could give them a try and report back.  Stages are available for:</p>
<ul>
<li><a href="http://dev.gentoo.org/~redhatter/mips/sgi/stages/">Big Endian Systems (MIPS1, MIPS3 and MIPS4)</a></li>
<li><a href="http://dev.gentoo.org/~redhatter/mips/cobalt/stages/">Little Endian Systems (MIPSel1, MIPSel3 and MIPSel4)</a></li>
</ul>
<p>Enjoy. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2008/05/30/gentoomips-stages-uploaded/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
