<?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/"
	>

<channel>
	<title>Chris Nelms</title>
	<atom:link href="http://www.nelms.org.uk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.nelms.org.uk</link>
	<description>The things that interest me</description>
	<pubDate>Tue, 08 Sep 2009 20:30:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Controlling a USB Relay Board from the Mac</title>
		<link>http://www.nelms.org.uk/?p=209</link>
		<comments>http://www.nelms.org.uk/?p=209#comments</comments>
		<pubDate>Sun, 07 Jun 2009 16:49:03 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=209</guid>
		<description><![CDATA[I have been playing lately with a USB relay board purchased from EasyDAQ.  Their prices are not the cheapest by any means but their email support has been excellent.  There are many different relay boards on the market and some of the cheapest appear to be on Ebay from Bulgaria, although I haven&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nelms.org.uk/wp-content/images/RelayBoard.jpg" target="_blank"><img class="leftimage" alt="USB Relay Board" src="http://www.nelms.org.uk/wp-content/images/RelayBoard-thumbnail.jpg" /></a>I have been playing lately with a USB relay board purchased from <a href="http://www.easydaq.biz" target="_blank">EasyDAQ</a>.  Their prices are not the cheapest by any means but their email support has been excellent.  There are many different relay boards on the market and some of the cheapest appear to be on <a href="http://www.ebay.co.uk" target="_blank">Ebay</a> from Bulgaria, although I haven&#8217;t tried these.  All the available boards I&#8217;ve seen are based around chipsets from a U.S. company called <a href="http://www.ftdichip.com/" target="_blank">FTDI Chip</a>.  My card (pictured here) is based around the FT232BL chip and full details of this chip are available on FTDI&#8217;s website.  The board is available with two relay options and I chose the &#8216;power relays&#8217; with SPDT contacts that can switch up to 10A at 250v AC on the normally open contacts, and up to 7A on the normally closed contacts.  It&#8217;s a useful relay which can operate most household appliances, and for higher power devices the relay board could operate a higher-rated slave relay.</p>
<p>The relay board can appear as a COM port on a PC.  To initialise it each channel must be set as an input or output channel (relays are outputs but the chip also supports inputs, and some relay boards also offer opto-isolated inputs for devices such as burglar alarm sensors), then the relevant bit in a one-byte register is used to switch on or off a relay (16 relay boards of course have two registers, 24 relays have 3, etc).  The neat thing about this arrangement is that because each USB board has its own address, the computer can control an almost infinite number of relays.  The boards are self-powered from the USB bus but they have provision for an external 5v DC power supply if more than 8 relays will be closed at once.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/LampOn.jpg" target="_blank"><img class="rightimage" alt="Switching on a desk lamp by email command" src="http://www.nelms.org.uk/wp-content/images/LampOn-thumbnail.jpg" /></a>The internet is flooded with shareware and freeware applications for these relay boards.  There are numerous example programs in Visual Basic and C# but all the examples I could find were for Windows PCs.  This is a good example of Mac users being at a disadvantage.  EasyDAQ assured me that OS/X and Linux already had the drivers built-in but in my experience this isn&#8217;t the case.  However I downloaded and installed a driver from FTDI&#8217;s website and instantly my board appeared in the Mac&#8217;s file-system as /dev/cu.usbserial-000012FD (the suffix being the board&#8217;s unique address; another board would have a different address).  I could operate the relays from a Unix terminal window like this:</p>
<p style="font-family:courier new; font-weight:bold;">echo -e &#8220;B\x00&#8243; > /dev/cu.usbserial-000012FD</p>
<p>This command initialises the 8 channels on the board as outputs.  It only needs to be sent once when the relay board is first powered up.  Having sent that one command, the relays can be switched on and off as shown in this example:</p>
<p style="font-family:courier new; font-weight:bold;">echo -e &#8220;C\x1f&#8221; > /dev/cu.usbserial-000012FD</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/LampOff.jpg" target="_blank"><img class="leftimage" alt="Switching off a desk lamp by email command" src="http://www.nelms.org.uk/wp-content/images/LampOff-thumbnail.jpg" /></a>This sends the byte 1F to register C, switching on relays 1, 2, 3, 4, &#038; 5 (relays are numbered from 1, starting at the least significant bit).  The trouble is, when I attempted to replicate this in an Applescript I couldn&#8217;t find a way to send the byte to the board rather than the ASCII characters (i.e. &#8216;1&#8242; and &#8216;F&#8217;) that described the value of that byte.  In the end the solution seems to be to place the actual bytes in a text file and send that file (or rather, its contents) to the board.  Note that you need a text editor that can insert non-printing characters into the text file; the Unix <em>vi</em> editor can do this, allowing Ctrl+A as ASCII 1 which will operate relay 1, Ctrl+C as ASCII 3 which operates relays 1 and 2, etc.  So my shell script became:</p>
<p style="font-family:courier new; font-weight:bold;">cat /users/chris/Library/scripts/Relay01.txt > /dev/cu.usbserial-000012FD</p>
<p>Looking at this now it&#8217;s blindingly obvious but it took me over a day to get to this point with some help from a Mac forum.  My Unix days are too long ago.  Having achieved this it was another faltering step to learn enough Applescript to encapsulate this shell script.  The answer is:</p>
<p style="font-family:courier new; font-weight:bold;">do shell script &#8220;cat /users/chris/Library/scripts/Relay01.txt > /dev/cu.usbserial-000012FD&#8221;</p>
<p><img class="rightimage" alt="Simple OS/X application to control the 8-relay board" src="http://www.nelms.org.uk/wp-content/images/Relay.jpg" />Having mastered this I could draw all these bits together.  The comprehensive rules facility in the OS/X built-in email client allows an Applescript to be executed when certain conditions are satisfied.  I wired a mains socket to relay 1 and plugged my Anglepoise desk lamp into it, and created a couple of email rules.  Now, when an incoming email arrives from my personal email address with my preset password in the subject line, and a command in the body of the email, the relay is activated.</p>
<p>You can see here photos of a demonstration (my apologies for the poor quality, I struggled to compose the shot to show the email on the Mac&#8217;s screen, the relay board, and the desk lamp).  I also had difficulty getting the exposure right for the lamp being on and off so please take my word for it that it really does work.  The command in bold red text in the email is purely for demonstration purposes.  The font and colour are actually irrelevant.  Since many mobile devices can send emails this &#8216;proof of concept&#8217; demonstration shows how an email sent from anywhere can instruct the Mac to control an external device via the relay board.  In theory you could switch the heating on when returning from holiday, or control various lights in the house to deter intruders.</p>
<p>Finally I slightly adapted a public-domain Xcode project written by Michael Cohen in Australia for the same relay board to provide an application giving direct control of the relays at the click of a mouse.  Its simple user interface is shown here. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=209</wfw:commentRss>
		</item>
		<item>
		<title>Holiday on the Mon &amp; Brec</title>
		<link>http://www.nelms.org.uk/?p=151</link>
		<comments>http://www.nelms.org.uk/?p=151#comments</comments>
		<pubDate>Sun, 19 Apr 2009 07:35:30 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[The good life]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=151</guid>
		<description><![CDATA[We have just returned from a week&#8217;s holiday on the Monmouthshire and Brecon canal.  We hired  narrowboat Country Lass II from Phil and Sue Ware at Country Craft Narrowboats for £684.  Our boat was new for the 2009 season and had only been hired for one week previously.  We were initially [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nelms.org.uk/wp-content/images/MonBrec1.jpg" target="_blank"><img class="leftimage" alt="Bridge 116 near Crickhowell" src="http://www.nelms.org.uk/wp-content/images/MonBrec1-thumbnail.jpg" /></a>We have just returned from a week&#8217;s holiday on the Monmouthshire and Brecon canal.  We hired  narrowboat <em>Country Lass II</em> from Phil and Sue Ware at <a href="http://www.countrycraftnarrowboats.co.uk/" target="_blank">Country Craft Narrowboats</a> for £684.  Our boat was new for the 2009 season and had only been hired for one week previously.  We were initially dismayed to discover that the interior of the boat was surprisingly dirty.  The previous hirers had clearly kept a dog on board and everything in the boat was covered in dog hairs.  No vacuum cleaner was provided on the boat so we had to sweep the entire interior with a broom and dustpan &#038; brush, a job we would normally expect the hire company to do before handing over the keys.  Worse, the cleanliness of the kitchen equipment was appalling.  Some of the crockery had clearly been used by the dog and was dirty and covered in dog hairs; the cheese grater was encrusted with cheese from when it was last used, and a baking tray from the oven still contained oil from when it was last used.  We have hired several narrowboats from other companies and never previously encountered such poor standards.</p>
<p>The fit-out of the boat was competent but unexceptional.  Most of the interior was clad in varnished plywood with blue fabric-covered panels on the sides above the gunwales providing some relief from the dark brown wood.  The floor was a wood-effect laminate which is a practical floor covering for a hire boat.  The quality of the joinery was generally of DIY standard rather than of a professional boat fitter and there were several areas which may prove problematic in the longer term.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/MonBrec2.jpg" target="_blank"><img class="rightimage" alt="Bridge 113 near Llangattock" src="http://www.nelms.org.uk/wp-content/images/MonBrec2-thumbnail.jpg" /></a>In the galley crockery is stored in a cupboard under the sink but a leak from somewhere, we never discovered the source, meant that plates and cookware were usually wet.  There was a full-size gas cooker but the push-button ignition didn&#8217;t work and the oven door was hinged on the wrong side so lighting the oven or grill involved kneeling on the floor and trying to strike a match with one hand while holding in the control knob with the other.  I singed the hairs on my hand several times attempting this.  The boat was supplied with a box containing about 12 matches so we had to stop soon and find a shop that sold matches!  There was a decent-sized 12 volt fridge with small freezer compartment which kept nicely cold but again the door had been installed with the hinges on the wrong side.  This is just carelessness since, like most fridges, the door was clearly designed to be hung from either side.</p>
<p>In the shower room there was an efficient push-button macerator toilet, albeit with a small seat compared with domestic toilets.  This sucked the waste into a tank under the fixed double bed.  With a family of four the waste tank became full in two days and because it was mounted off-centre the boat developed a pronounced list as the tank filled, causing complaints from the children that sleeping was difficult on a tilting boat.  During the initial handover I asked Sue Ware what would happen when the tank filled up and she replied that she didn&#8217;t know because the boat was new.  We discovered that there was no warning light or problem with flushing the toilet; when the tank was full the raw sewage was merely pumped into the canal through a hole in the side of the boat.  We did experience some difficulty in finding places to pump out the sewage tank, but had an assurance from Sue Ware that any pump-out charges we incurred would be reimbursed.  In the end we only had one pump-out, from the very friendly team at Castle Narrowboats in Gilwern who made no charge.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/MonBrec3.jpg" target="_blank"><img class="leftimage" alt="A typical view from the Mon &#038; Brec" src="http://www.nelms.org.uk/wp-content/images/MonBrec3-thumbnail.jpg" /></a>On a more positive note the boat was a joy to handle.  I would say it was one of the easiest hire-boats to steer that I&#8217;ve ever known.  When moving forwards it went exactly where directed by the tiller <em>providing there was water under the boat</em>.  When the bottom of the boat was scraping the bottom of the canal, as it did regularly, the boat just would not turn left for some reason and we&#8217;d end up having to pole the bow away from the bank.  In reverse the boat went backwards in a straight line, which is a real benefit and by no means to be expected from a narrowboat. </p>
<p>One thing that surprised us for a boat of this size was the small capacity of its water tank.  With very moderate water consumption for a family of four we had to fill up with water every day and plan showers to coincide with water stops.  As with the sewage tank, there is no gauge to show the level in the water tank and on our second day we suddenly ran out of water which meant several hours without a cup of tea until we reached a canal-side tap.  The pressure of water in these taps varied greatly.  Usually there was a good flow and the tank could be refilled in twenty minutes but the tap near Brynich Lock, 2 miles from Brecon, was incredibly slow.  We left the hose running into our tank for an hour and a half and still the tank wasn&#8217;t full so we gave up and moved on, topping off the tank at Talybont 3 or 4 miles away.  There are plenty of water points along the canal so we rarely had any trouble finding one.  We took with us the excellent Nicholson Guide: <em>Four Counties &#038; the Welsh Canals</em> and this proved better than the guides provided with the boat.  When cruising an unfamiliar canal I always like to have a map so that I know where I am, and how far to the next bridge, lock, village, pub, etc.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/MonBrec4.jpg" target="_blank"><img class="rightimage" alt="Moored at Gilwern" src="http://www.nelms.org.uk/wp-content/images/MonBrec4-thumbnail.jpg" /></a>The canal passes through breathtakingly beautiful countryside, and for much of its length it follows the contours halfway up the slopes of the Usk Valley, giving an elevated position for views across the valley.  (From an engineering standpoint this might be unwise as the canal has suffered repeatedly from landslips that cause the bank to slide down the hill and the water to pour out, most recently in 2007).  The canal is never far from villages though so if you don&#8217;t mind a short walk there&#8217;s usually a pub and shop nearby.  We had no trouble getting newspapers, bread, milk and a few groceries.</p>
<p>We didn&#8217;t stop at many pubs, having brought our own food and drink because we were uncertain how rural the canal would be, but one pub that deserves a mention is the Bridge End Inn at Crickhowell.  We had moored near bridge 118 and this pub is about threequarters of a mile away, down the steep hill from the canal to the road bridge crossing the River Usk.  We had to walk through the inevitable crowd of smokers gathered outside around the entrance which is slightly intimidating when visiting an unfamiliar pub but inside the welcome was warm and the beer well kept.  The pub was very busy but they found us a table in the restaurant without delay.  The menu at first glance looks unadventurous, with many dishes that one would find on pub menus the length of Britain, and the prices weren&#8217;t the cheapest, but when our food arrived we forgave them everything.  They weren&#8217;t standard, bought-in frozen meals that required reheating, the food was proper home-made fare.  Louise had melt-in-the mouth Welsh lamb (£13.95) and I had a delicious steak pie with a shortcrust pastry top (£12.95).  There was a good selection of vegetables, and the house red was a very pleasant wine for £10.45.  Service was attentive but not pushy from an efficient waiter and if we visit this area again we shall certainly return for another meal.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/MonBrec5.jpg" target="_blank"><img class="leftimage" alt="The Cwmbran Tunnel" src="http://www.nelms.org.uk/wp-content/images/MonBrec5-thumbnail.jpg" /></a>One feature of the Mon &#038; Brec is its shallowness.  It&#8217;s not a lack of water because the level was always up to the rim of the weirs, and following the 2007 breach millions of pounds have clearly been spent by British Waterways during its 2008 closure on renovating the canal.  We were told by Phil Ware that BW are reluctant to dredge the canal for fear that it might trigger another breach of the bank.  So for much of its length, even when cruising down the middle of the canal, we would hear the bottom of the boat scraping the bed of the waterway.  Regularly we would run aground, and passing other boats could be tricky because we would both have to risk moving towards the side of the cut where the water is even shallower.  Inevitably one or both of the craft would run aground and quick work with the pole, plus reverse gear, was required to refloat the boat.  Fortunately the canal is very quiet with relatively few privately-owned boats compared with the main network of canals in England.  Most of the craft that we passed were hire-boats from the several hire companies along the canal crewed by good-natured holidaymakers like ourselves.  Most canals are murky but the Mon &#038; Brec is positively muddy, presumably because of the silt from the bottom constantly being stirred up by passing boats.</p>
<p>At the southern end of the canal, towards Pontypool, the canal becomes even more consistently shallow and much quieter.  We cruised for a day and a half without passing another moving boat.  At the southernmost point of the navigable canal we moored to take on water only to find that the British Waterways tap was dry.  We had hoped to walk further south to follow the line of the canal that is no longer navigable but a local &#8216;character&#8217; sitting by the towpath eyeing our boat, who looked rather shifty himself, warned us not to leave the boat unattended because it was a &#8220;dodgy area and they&#8217;ll break into the boat within five minutes&#8221;.  He didn&#8217;t actually ask us for money for him to keep an eye on the boat and keep &#8216;them&#8217; away but perhaps that was his hope.  Anyway we did have a quick stroll across the road to the sad remnants of a flight of locks.  I wonder if I&#8217;ll ever see this restored.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/MonBrec6.jpg" target="_blank"><img class="rightimage" alt="Moored between bridges 77 &#038; 78 near Pencroesoped" src="http://www.nelms.org.uk/wp-content/images/MonBrec6-thumbnail.jpg" /></a>In its 35¾ miles running from Cwmbran in the south to Brecon in the north the canal has a bit of everything.  We were comfortably able to cruise south from Country Craft&#8217;s base at Cwmcrawnon down to the end at Pontypool, then head north up to the basin in Brecon, then back to Cwmcrawnon in a week without feeling rushed.  There are six locks, the 375 yard Ashford Tunnel which has a very low roof, a few swing bridges, and an electric lift bridge at Talybont that requires the boater to close a gate to stop the traffic on a remarkably busy road and then use a British Waterways key to operate the bridge.  A queue of about 7 or 8 cars formed on both times that we went through so one feels obligated not to dawdle.  A couple of the bridges are <em>very</em> low, so that the mushroom vents on the roof of the boat only had a couple of inches to spare.  This makes steering the boat challenging to say the least because one must squat down on the rear deck and hope that the boat was pointed in the right direction.  Even holding the tiller is risky under these bridges because the clearance is so tight that you fear grazing your knuckles.</p>
<p>The shallowness of the canal did present challenges when mooring.  There were a couple of canalside pubs where we wanted to stop but just couldn&#8217;t get the boat close enough to the towpath.  The canal has numerous designated 48 hour moorings with rings or bollards but we just couldn&#8217;t get the boat close enough to use many of these.  When we could get close we might still need to tie the boat about a metre from the bank and use the plank to reach land.  In the mornings the boat would often be stuck fast in the mud and require plenty of revs from the engine plus hard pushing from one or both poles to move the boat back to the deeper channel in the middle.</p>
<p>Overall we had a lovely week on the Mon &#038; Brec and would recommend it as a relaxing canal holiday.  Two weeks would probably be too long unless you want to moor up a lot and go walking.  The only disappointment was the dirty boat and some hirers might wish to investigate the other companies whose standards might be higher.  However this didn&#8217;t spoil our enjoyment of a lovely canal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=151</wfw:commentRss>
		</item>
		<item>
		<title>Recording BBC Radio - yet again!</title>
		<link>http://www.nelms.org.uk/?p=122</link>
		<comments>http://www.nelms.org.uk/?p=122#comments</comments>
		<pubDate>Sun, 22 Mar 2009 10:52:15 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[BBC]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=122</guid>
		<description><![CDATA[I have written twice before (on 21st February 2009 and 24th December 2006) about downloading BBC Radio programmes as MP3 files so that they can be saved for personal listening at a later date.  The trouble is, the Beeb keep changing the way their Listen Again service works so the methods I described no [...]]]></description>
			<content:encoded><![CDATA[<p><img class="leftimage" alt="Using WGET on an OS/X terminal" src="http://www.nelms.org.uk/wp-content/images/Terminal.jpg" style="border:1px solid #000000;" />I have written twice before (on <a href="http://www.nelms.org.uk/?p=52" target="_blank">21st February 2009</a> and <a href="http://www.nelms.org.uk/?p=19" target="_blank">24th December 2006</a>) about downloading BBC Radio programmes as MP3 files so that they can be saved for personal listening at a later date.  The trouble is, the Beeb keep changing the way their Listen Again service works so the methods I described no longer work all the time.  Even since my post of a month ago the source code of the iPlayer has been amended for some programmes so that we cannot see the name of the .RAM file to download.  The method described below works but it is tedious to obtain the required download link.  The only good news on this is that the link is static for regular programmes (at least until the BBC changes something) so I can load the links into Audio Hijack Pro on my iMac for example and it will download several Radio 4 programmes automatically week after week without further intervention.</p>
<p>The first step of this process is to obtain a copy of WGET, a command-line application that is freely available in versions for Windows, Mac OS/X, and Linux.  WGET downloads files from web servers using either the http, https, or ftp protocols.  You don&#8217;t understand what that means?  Don&#8217;t worry, you don&#8217;t need to.  Just use a search engine to search for &#8216;wget download&#8217; or similar and make sure you&#8217;re downloading the version for your chosen operating system.  If you want to learn more about wget <a href="http://www.gnu.org/software/wget/" target="_blank">www.gnu.org/software/wget/</a> is a good starting point.  Having downloaded WGET, install it on your computer.</p>
<p>Now, we need to find the name of the .RAM file to download (RAM is a Real Audio Metafile that contains the information RealPlayer needs to receive streaming audio).  For some programmes this can be retrieved from the source of the BBC iPlayer as I described on 21st February 2009.  For example the full URL of last Monday&#8217;s Afternoon Play is:</p>
<p>http://www.bbc.co.uk/iplayer/aod/playlists/vp/vt/h0/0b/RadioBridge_uk_1415_bbc_radio_fourfm.ram</p>
<p>However increasingly this information appears to be missing from the iPlayer source I look at.  In that case you need to find the 8-character PID from the <a href="http://www.iplayerconverter.co.uk" target="_blank">iPlayer Real Converter</a> website.  This website makes it easy to find the PID for the programme you want.  Remember that the PID is reversed in the URL so the PID of Monday&#8217;s Afternoon Play in the link above is b00htvpv.  Note also the time of the broadcast (in 24 hour format - e.g. 1415 for 2.15pm) and the name of the BBC radio station (e.g. radio_fourfm, bbc_7, radio_three, etc).</p>
<p>Having got the PID we can form a URL by substituting the three pieces of information shown here in blue:</p>
<p>http://www.bbc.co.uk/iplayer/aod/playlists/<span style="color:blue;">vp/vt/h0/0b</span>/RadioBridge_uk_<span style="color:blue;">1415</span>_bbc_<span style="color:blue;">radio_fourfm</span>.ram</p>
<p>Open a command prompt (in Windows run cmd or on a Mac run terminal.app).  At the prompt enter <em>wget</em> followed by a space and the URL you&#8217;ve just constructed.  For example:</p>
<p>wget http://www.bbc.co.uk/iplayer/aod/playlists/vp/vt/h0/0b/RadioBridge_uk_1415_bbc_radio_fourfm.ram</p>
<p><img class="rightimage" alt="Using TextEdit to examine the contents of a .RAM file" src="http://www.nelms.org.uk/wp-content/images/RamText.jpg" style="border:1px solid #000000;" />and hit the Return key.  Within a second or so WGET will download the file that contains the real URL of the program you want.  In the case of this example the file is named RadioBridge_uk_1415_bbc_radio_fourfm.ram and is just 189 bytes in size.  Open that file using a text editor (e.g. Windows Notepad or OS/X TextEdit), <em><u>not</u> using RealPlayer which will probably be the default application for a file of that type</em>.  You will see, as shown here, that the file contains the real URL of the Real Audio stream using the rtsp (Real Time Streaming Protocol).</p>
<p>Copy the first part of that URL (up to, but not including, the first ?).  In the case of our example it would be:</p>
<p>rtsp://rm-acl.bbc.co.uk:554/radio4fmcoyopa/radio_4_fm_-_monday_1415.ra</p>
<p>This is the link that we can paste into RealPlayer, or Audio Hijack Pro, or whatever application we have to download the programme and save it as an MP3 file.  Note that this link is not specific to a particular episode of the programme.   It will work for next Monday&#8217;s Afternoon Play and the  one after that.  In this case since Afternoon Plays are broadcast on every weekday I can download Tuesday&#8217;s Afternoon Play merely by changing <em>monday</em> to <em>tuesday</em> in this URL.  Note also that if I also wished to download for example the comedy quiz <em>Just A Minute</em>, which is broadcast at 1830 on Mondays, I can just amend the time in this URL like this:</p>
<p>rtsp://rm-acl.bbc.co.uk:554/radio4fmcoyopa/radio_4_fm_-_monday_1830.ra</p>
<p>So there we are.  A seemingly complicated method for finding a programme&#8217;s URL but once you understand the process it isn&#8217;t that difficult to set up several downloads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=122</wfw:commentRss>
<enclosure url="http://www.bbc.co.uk/iplayer/aod/playlists/vp/vt/h0/0b/RadioBridge_uk_1415_bbc_radio_fourfm.ram" length="0" type="audio/x-pn-realaudio" />
		</item>
		<item>
		<title>Laz-IE Trader Review</title>
		<link>http://www.nelms.org.uk/?p=80</link>
		<comments>http://www.nelms.org.uk/?p=80#comments</comments>
		<pubDate>Sat, 14 Mar 2009 11:50:37 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[Betfair]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=80</guid>
		<description><![CDATA[I recently purchased a copy of the Laz-IE Trader software from Betting Profit Software.  This program is an environment that facilitates profitable trading in British horse-racing markets on the Betfair.com betting exchange, both before a race and while it is running.  Before committing to buy I couldn&#8217;t find any objective reviews for this so [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://bettingprofitsoftware.affiliatetracker.com.au/click.pl?id=434&#038;url=http%3A%2F%2Fwww.bettingprofitsoftware.com%2FBPS%2Flazie.html" target="_blank"><img class="leftimage" src="http://www.affiliatetracker.com.au/community_images/bettingprofitsoftware/product_banner6.jpg" width="200" height="200" border="0"></a>I recently purchased a copy of the Laz-IE Trader software from <a href="http://bettingprofitsoftware.affiliatetracker.com.au/click.pl?id=434&#038;url=http%3A%2F%2Fwww.bettingprofitsoftware.com%2FBPS%2Flazie.html" target="_blank">Betting Profit Software</a>.  This program is an environment that facilitates profitable trading in British horse-racing markets on the Betfair.com betting exchange, both before a race and while it is running.  Before committing to buy I couldn&#8217;t find any objective reviews for this so I&#8217;ve decided to write one.  I have several good and bad things to say about this software so please read this piece <em>in full</em> to get the complete picture of my opinion.</p>
<p>The program costs £85 by Paypal which I feel is a fair price for what you get but although the website displays a picture of a box (as shown here) you don&#8217;t get a box, or even a CD.  Having paid the money you are taken to a web page with a link to download it.  However the link only downloads a small program called the <em>BPS Viewer</em> which then itself downloads the Laz-IE trader program.  Therefore not only do I not have a CD, I don&#8217;t even have a downloaded file that I can burn to a CD myself.  I really dislike this.  I therefore suggest that you save the download web-link somewhere safe, and also your Paypal transaction number, so that you can obtain another copy of the software should you need it.  In my case I installed it on an old Windows XP computer but decided it was too slow so installed it again on a faster Windows Vista machine (that&#8217;s why I was glad I kept the download link).  The installation on Vista wasn&#8217;t immediately smooth; the software complained that it couldn&#8217;t find the file MSCOMCTL.OCX.  This might be something I did wrong but fortunately with the help of Google I found a copy of that file, downloaded it, then registered it (not as simple on ultra-secure Vista as it used to be on previous versions of Windows).  Many users might have to ask for help at this point.  It&#8217;s interesting to me that although I provided my email address when I purchased Laz-IE Trader, I haven&#8217;t received any communication from BPS, not even a simple &#8216;thanks for buying our software&#8217; email.  Unlike other software vendors they haven&#8217;t indicated whether I will receive upgrades or new versions in the future.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/LazIETrader.jpg" target="_blank"><img class="rightimage" alt="A live Laz-IE Trader screen" src="http://www.nelms.org.uk/wp-content/images/LazIETrader-thumbnail.jpg" /></a>I ended up with two new programs on my computer.  The first is the <em>BPS Viewer</em> which seems like a proprietary web browser that downloads and displays the Laz-IE Trader manual and a few silent videos, as well as documentation relating to other BPS products.  Personally I prefer to have my own copy of the manual but the viewer does permit you to print it, and if you have Acrobat as I do you can take a copy as a PDF (I subsequently discovered that this manual is freely available to everyone as a web page <a href="http://www.bettingsuperstore.com/LazIE/LazIE%20trade%20your%20way%20to%20profit(b).htm" target="_blank">here</a>).  The viewer gives the first indication that the software has been written by an amateur programmer.  When you first load it a box pops up saying &#8220;Please wait a few seconds while we check your registration&#8221;.  However the box remains on the screen, not for a few seconds, but indefinitely until you click a button marked <em>Close Me</em>.  I assume this is an amateur attempt to replicate a &#8217;splash screen&#8217; that many software packages use to show that they&#8217;re initialising, except that a splash screen automatically disappears.  When this happens every time it soon becomes extremely tedious to click a <em>Close Me</em> button just to open the viewer.</p>
<p>The second program, the one you actually run to trade on Betfair, is called Bet-IE, which can be purchased separately for £97.  The Laz-IE trader appears to be just a component or module added to Bet-IE.  The documentation states that some of the functionality in Bet-IE has been disabled in the cheaper Laz-IE Trader but I couldn&#8217;t see this.  All the buttons on my version of Bet-IE seem to work.  You start the program in the usual way by double-clicking on a desktop icon or selecting from the start menu and it displays, yes you&#8217;ve guessed it, a box asking me to wait &#8220;while we check your registration&#8221; and the only way to dismiss this is to click a <em>Close Me</em> button.  It&#8217;s as if they sat down and said: &#8220;How can we really irritate people who use this software?&#8221; </p>
<p>The first step in using the program is to load the list of betting markets from Betfair.  So you click on a Load Markets link and guess what happens&#8230;..yes that&#8217;s right!  A box pops up saying &#8220;Please wait while we load the Market Data&#8221;.  That would be fair enough except that the box stays there.  After ten minutes it&#8217;s still there and you can&#8217;t continue until it goes.  The only way to to dismiss it is to click its OK button.  But wait: while the box is displayed it doesn&#8217;t actually load the market data at all.  The data only starts loading <em>after</em> you&#8217;ve clicked OK!  Aaarrrrggghhh!</p>
<p><img class="leftimage" alt="Please wait. You'd better get used to this." src="http://www.nelms.org.uk/wp-content/images/BPSViewerPleaseWait.jpg" />Having loaded the markets list you choose the market you want in the usual way.  Laz-IE Trader works with UK horse racing (win markets) only.  Clicking a race displays a grid containing price data for each runner, which looks familiar to existing Betfair users. Unlike the Betfair website though these prices aren&#8217;t automatically updated.  To enable the automatic updating of the market prices you need to switch it on, and you do this by clicking a red button labelled <em>Market OFF</em>.  Yes, that&#8217;s right, to turn <em>on</em> updates you click the <em>off</em> button.  Having done this the button&#8217;s colour changes to green and its caption to <em>Market ON</em>.  I&#8217;ve never previously encountered a system or machine anywhere where you press a red OFF button to turn it on and a green ON button to switch it off.  It is annoying, and counter-intuitive features like this lead me to conclude that the software was written by a young or very inexperienced programmer, possibly a teenager in his bedroom.  Not only have they not read the Microsoft style guide for designing Windows interfaces, they haven&#8217;t even stopped to think about what would work best.  The program is littered with puzzling anomalies like this.  For example if you want to cancel all unmatched bets you click the <em>Cancel UnMatched</em> tickbox.  But why is it a tickbox?  A tick doesn&#8217;t appear when you click it.  It should be a button.  Tickboxes are meant for flagging entries in a list not executing a command.</p>
<p>Despite these criticisms a lot of work has clearly gone into this program and notwithstanding its infuriating user interface it does seem to work as the programmer intended.  It uses the Betfair API to communicate market data and trades with Betfair&#8217;s servers and my trades were all submitted into the market and matched (or unmatched) in around a second or two (although the screen updates are tantalisingly suspended while the bet is processed so you have to wait to see how the market moved while the bet was being matched).  The trading revolves around a &#8216;Volume of Money&#8217; percentage figure that appears to display the ratio between the current lay odds and the &#8217;tissue&#8217; lay odds predicted by the BPS people.  When this percentage exceeds 100% a colour change highlights the runner as a possible candidate for a back/lay trade.  Another key feature is a Weight of Money bar to the left of each runner which shows at a glance the comparative amount of back and lay money waiting to be matched.  This is very useful.  When you think conditions are right you can submit with one click a back or lay bet for a preset amount into the market.  Then, watching as the price lengthens or shortens, another click will either submit the opposing lay or back bet for the same stake, or for a calculated stake that ensures a profit regardless of which horse wins (assuming the market moved in your favour of course!).  There&#8217;s also a <em>LazIE Bet</em> button that will submit back <em>and</em> lay bets with a preset number of ticks between them which I have used effectively  Note that this is <em>not</em> a system, it is a tool.  It requires the user&#8217;s judgement to decide when to open and close positions so no two Laz-IE Trader users will achieve the same profit or loss.  I suspect that some people are natural traders whereas others are not, and the only way to find out is to try it.</p>
<p><img class="rightimage" alt="Please wait for Bet-IE to load" src="http://www.nelms.org.uk/wp-content/images/BetiePleaseWait.jpg" />This brings me to another feature of Laz-IE trader for which the author is to be commended.  The software has a learning mode so we can practise trading without risking any money.  In learning mode the program behaves exactly as it would with live trading with the (not unreasonable) proviso that it doesn&#8217;t check the volume of money available before matching a bet so if I submit a virtual bet for £100 at odds of 2.8 it will show it as matched if any money was available in the market at those odds, even if it was less than £100. This isn&#8217;t really a problem and the opportunity to gain confidence by trading without risk is a really nice touch.</p>
<p>So how do you trade?  Well this is where the manual comes in.  It&#8217;s a 55 page book that&#8217;s packed with information.  I read it through completely three times to make sure I &#8216;got&#8217; all the concepts.  I could be unkind and point out that whoever wrote it (it&#8217;s unclear but might be someone named &#8216;Dave&#8217;) didn&#8217;t excel in English at school.  The punctuation is all over the place, apostrophes are abused, and sentences run into each other without a full-stop in sight.  Despite that, let us be clear that whoever wrote this manual knows what they&#8217;re talking about and deserves to be taken seriously.  I know from personal experience that an illustrated manual like this cannot be thrown together in a few hours.  It will have taken days of work to describe the many real-life scenarios in this manual and the writer appears to know their subject.  I would urge anyone who buys Laz-IE Trader to read the manual carefully before risking any money.</p>
<p>So does it work?  Well yes it does.  It requires concentration and patience.  You cannot walk up to the computer, place a couple of bets, and walk away.  Like so many things in life I suspect that trading with a tool like this becomes easier and produces better results the more you repeatedly practise.  Use the learning mode to begin with.  Sometimes it seems as if the market is conspiring against you and every time you open a position the market suddenly moves the &#8216;wrong&#8217; way.  But little by little the losing trades become fewer and the winning trades become more.  After using the learning mode for a while I started trading with minimal stakes.  There&#8217;s no substitute for trading with real money, no matter how little, for keeping focussed and getting a buzz of excitement.  If you study the example at the top of this piece you&#8217;ll see that while trading in just £5 units I backed Shared Edge at odds of 3.85 and laid it at 3.0, backed Ever Cheerful at 8.2 and laid it at 7.2, and backed Ardent Prince at 9.2 and laid it at 8.8.  The result was a race where I couldn&#8217;t fail to make a profit.<a href="http://www.nelms.org.uk/wp-content/images/BPSViewer.jpg" target="_blank"><img class="leftimage" alt="Watching an instructional video in the BPS Viewer" src="http://www.nelms.org.uk/wp-content/images/BPSViewer-thumbnail.jpg" /></a>  In the event Suhayl Star won, an outcome I could never have predicted, but the nice thing about trading is that you don&#8217;t care which horse wins.  You focus on creating a profit regardless of the outcome.  So in that example I won only £1.41 on the race but since it was a <em>guaranteed</em> profit, not a gamble, and since my maximum risk at any time was only a fiver that is a very satisfactory result.  Scale it up to a more realistic £50 risk and I&#8217;d have made a £14.10 profit for about five minutes&#8217; work.  </p>
<p>There are a few things I&#8217;d like to change.  I wish the software made it more obvious when a race was actually running.  There were several times when I was concentrating so much on a trade that I failed to notice that the pre-race market had been suspended and was now running.  The race header does change from counting down to the scheduled start time into the word &#8216;running&#8217; but it&#8217;s easy to miss this.  I&#8217;d also like the stop-loss facility to be simpler and more intuitive to use.  Many of my losses have arisen purely because the market moved against me and I was too slow to close an unprofitable situation.</p>
<p>In conclusion I recommend this program.  Since it depends upon input from BPS&#8217;s servers every time I run it I have no idea how long they&#8217;ll remain in business or if one day I go to use it and find it no longer works.  In that sense you never really buy the software, merely rent it for an indeterminate period.  I&#8217;m slightly sceptical about the benefit of the Laz-IE Trader &#8216;Volume of Money&#8217; percentage and alerts as an indicator of trading opportunities; sometimes they work and sometimes they don&#8217;t.  But using the weight of money graph and an instinct that comes with repeatedly trading I think it&#8217;s possible to return a profit on nearly all races if you work with concentration and discipline.  I&#8217;ve never been interested in video games but I think trading with Laz-IE Trader could easily become addictive.  If you have the time to sit at a computer through the afternoon, are reasonably numerate, and have the patience to read the manual and learn the concepts, this software is definitely worth a try.</p>
<p>Update on 22nd March 2009: After another weekend of using this program my confidence has grown.  I have traded 26 races this weekend (22 on Sat and 4 on Sun).  Only three races were losers for me, and they were early on Saturday when I made careless mistakes because I was &#8216;rusty&#8217;.  Was I lucky?  Only time will tell.  However the last twenty races have all returned a profit and that is either very lucky or this trading really does work.  The most important thing to remember is that you don&#8217;t have to trade.  If I lock in a profit before the race starts I have tended to leave it and move on to the next.  If, as in a few cases, I still have an open position at the off then I can usually trade the natural volatility of the market during a race (as long as it&#8217;s not a 6 furlong &#8216;quickie&#8217;) to return a guaranteed profit.  I certainly wouldn&#8217;t claim that you can profit from every race but providing you balance the natural instincts of fear and greed in a calm manner I&#8217;m pretty sure this program does allow you to make an overall profit from Betfair trading.</p>
<p>Update on 28th March 2009: I&#8217;m definitely getting the hang of this trading using Laz-IE Trader now.  I traded 17 races today, one at a small loss (once again, early in the day when I was rusty after a busy working week), then 16 profitable races.  I can only reiterate that it seems to be a clear knack, and once you get &#8216;in the zone&#8217;, focussing on the markets and sticking with it until you make a profit, it becomes, not exactly easy, but stimulating and fun.  I&#8217;ve tended to start on a race about 8 or 10 minutes before the off, focus on the favourite or second favourite where most of the volatility is, and when I&#8217;ve locked in a profit of a few pounds I leave it and move on, even if there are still several minutes remaining before the start.  That way, if things move against me (as they did several times) I&#8217;ve got a chance to recover my loss and turn it into a profit.  You really should give this a try!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=80</wfw:commentRss>
		</item>
		<item>
		<title>Narrowboat Dreams</title>
		<link>http://www.nelms.org.uk/?p=60</link>
		<comments>http://www.nelms.org.uk/?p=60#comments</comments>
		<pubDate>Sat, 07 Mar 2009 10:25:13 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[The good life]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=60</guid>
		<description><![CDATA[I reproduce below an excerpt from Steve Haywood&#8217;s book Narrowboat Dreams (Summersdale Publishers Ltd, 2008).  The book is a lighthearted description of a journey by inland waterway from Banbury, Oxfordshire to Huddersfield, West Yorkshire.  The start of chapter four nicely encapsulates what, for me, is the attraction of owning a narrowboat:
Arthur Ransome, who [...]]]></description>
			<content:encoded><![CDATA[<p><img class="rightimage" src="http://www.nelms.org.uk/wp-content/images/NarrowboatDreams.jpg" alt="Narrowboat Dreams paperback edition" />I reproduce below an excerpt from Steve Haywood&#8217;s book <em>Narrowboat Dreams</em> (Summersdale Publishers Ltd, 2008).  The book is a lighthearted description of a journey by inland waterway from Banbury, Oxfordshire to Huddersfield, West Yorkshire.  The start of chapter four nicely encapsulates what, for me, is the attraction of owning a narrowboat:</p>
<p><span style="color:Gray;"><span style="float:left; font-size:300%; line-height:95%; font-family: Times New Roman;">A</span>rthur Ransome, who wrote <em>Swallows and Amazons</em> and knew a bit about this sort of thing, got it absolutely right. He said of houses that they were just badly built boats, so firmly aground you couldn&#8217;t think of moving them.</span></p>
<p><span style="color:Gray;">I know what he means. Anyone who has a boat knows what he means. There&#8217;s something about the mobility of a boat - especially a boat you can live on - that appeals to something deep and fundamental inside us. It&#8217;s the idea that you can just pack up your home and take it with you wherever you want, something that must be connected with our primeval past when we were hunter-gatherers, travelling every day as we followed food, our homes on our backs.</span></p>
<p><span style="color:Gray;">But it&#8217;s a childhood thing too. It&#8217;s to do with camping trips with mum and dad, the Cubs or the Brownies; it&#8217;s to do with the excitement of summer holidays when even putting up a tent in the garden was an adventure. It&#8217;s to do with the films we saw then, and the stories we absorbed, about gypsies in their brightly-painted vardos, and cowboys and covered wagons opening up the West, everyone on the move, no one rooted anywhere, every hill on the horizon and every bend in the road a new world waiting to be explored. It&#8217;s that thing we had about &#8216;gentlemen of the road&#8217; - as we used to call tramps then. People who spent their lives meandering in carefree abandon, sleeping in barns or under hedges, their errant lives untrammelled and unregulated by the petty restrictions which limited the rest of us.</span></p>
<p><span style="color:Gray;">There&#8217;s a heady freedom about not having a home, because then, paradoxically, everywhere becomes your home-wherever you lay your hat, as they say. Yet you don&#8217;t lose that sense of liberation if you have a home that moves. You get the best of both worlds: the chance to wander about, but to sleep in your own bed too. Caravans, I&#8217;m told, can give you the same feeling - though their drawback is that they are linked inexorably to roads. And in the twenty-first century roads are busy, noisy hellholes where everyone&#8217;s going somewhere only to come back again immediately afterwards. On the canals, the water road is tranquil and calming, and nobody&#8217;s actually travelling anywhere properly - just, like me, pretending to go on journeys to give some purpose to their wanderings.</span></p>
<p>This text is reproduced here with the kind permission of the author and the publisher.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=60</wfw:commentRss>
		</item>
		<item>
		<title>Recording BBC Radio - an update</title>
		<link>http://www.nelms.org.uk/?p=52</link>
		<comments>http://www.nelms.org.uk/?p=52#comments</comments>
		<pubDate>Sat, 21 Feb 2009 17:17:30 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[BBC]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=52</guid>
		<description><![CDATA[I wrote previously (24th December 2006) about recording BBC Radio programmes as MP3 files so that you can listen to them later on an iPod, or burn them to a CD.  Recently the BBC has changed the way it stores its &#8216;Listen Again&#8217; radio programmes for use with the iPlayer so the method I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="leftimage" src="http://www.nelms.org.uk/wp-content/images/BBCiPlayer.jpg" alt="BBC iPlayer" />I wrote previously (<a href="http://www.nelms.org.uk/?p=19" target="_blank">24th December 2006</a>) about recording BBC Radio programmes as MP3 files so that you can listen to them later on an iPod, or burn them to a CD.  Recently the BBC has changed the way it stores its &#8216;Listen Again&#8217; radio programmes for use with the iPlayer so the method I described no longer works.  Radio programmes are available on the BBC&#8217;s servers as Real Audio files that previously required you to install the free Real Audio player on your computer.  These files are still available but the naming convention has changed.  For example, previously the weekly Saturday Play was always available with the same filename (http://www.bbc.co.uk/radio/aod/ shows/rpms/radio4/saturdayplay.rpm), so I had an automated job that would download this file every week so that I could listen to the programme later, even if &#8216;later&#8217; was several weeks or months afterwards when the actual recording was no longer downloadable from the BBC.  Sadly now every file has a different name or path.  So for example today&#8217;s Saturday Play is available here: <span style="color:blue;">http://www.bbc.co.uk/iplayer/aod/playlists /7d/lm/h0/0b/RadioBridge_uk_1430_bbc_radio_fourfm.ram</span>.  Look at the collection of character pairs separated by forward slashes in this link.  The <em>7d/lm/h0/0b</em> is actually the reverse of the programme&#8217;s PID which, I&#8217;m guessing, is the Programme Identifier or similar.  For today&#8217;s Saturday Play the PID is <em>b00hmld7</em>.  This appears to be the unique component that defines this particular episode of the programme.  Last week&#8217;s Saturday Play had a different PID, and so will next week&#8217;s. The thing is, how can we find out what that is?</p>
<p>I&#8217;ve come up with two ways, neither of which is as convenient as the name being static.  The first is what I would call a do-it-yourself method.  Browse the BBC listen again website to find the programme you want (e.g. Radio 4&#8217;s listen again page is at <a href="http://www.bbc.co.uk/radio4/progs/listenagain.shtml" target="_blank">www.bbc.co.uk/radio4/progs/listenagain.shtml</a>).  Click the link to listen to the programme in the iPlayer but click the <em>pause</em> button as soon as it starts to play.  Now right-click the black bar near the bottom of the iPlayer (just below the play/pause button) and choose View Source. This will display an editor window containing the iPlayer&#8217;s HTML source.  Search the file (using Ctrl+F) for <em>Real:</em>.  This will take you to the section of the source where, immediately after the colon, is the link to the Real Audio file you need.  Copy everything from <span style="color:blue;">http://</span> to <span style="color:blue;">.ram</span>.  Paste this into your Real Player or other recording application and you should be able to download the file and save it in MP3 (or other convenient) format for future listening.  This method works, but what a chore!  I was hitherto recording around 30 Radio 4 programmes a week and with static names the whole process was completely automatic.  Using <em>Audio Hijack Pro</em> on my Apple Mac the jobs were all scheduled in the Mac&#8217;s iCal calendar and would be recorded even if I was away from home.</p>
<p>The alternative method I&#8217;ve discovered is using an excellent website which I stumbled across at <a href="http://www.iplayerconverter.co.uk/" target="_blank">www.iplayerconverter.co.uk/</a>.  Initially I thought this was the answer to all my prayers but it isn&#8217;t quite.  There is much useful content on this site but it isn&#8217;t comprehensive and I have encountered several errors in the PIDs they report.  For example, as I type this they show the PID for this afternoon&#8217;s Saturday Play as <em>b00hmlhk</em> when actually it&#8217;s as shown above.  Also the website shows that programme as not available for download when it clearly is because I&#8217;m downloading it right now.  Nevertheless this website has content which offered welcome information when I was hunting for solutions to this problem.  One of their most useful offerings for me (provided the links are correct!) is an RSS feed of programme links for your preferred BBC radio channel.  For example the Radio 4 feed is at <a href="feed://www.iplayerconverter.co.uk/r/4/aod/rss.aspx" target="_blank">feed://www.iplayerconverter.co.uk/r/4/aod/rss.aspx</a>.  If you have an RSS reader or email client that supports RSS you can use this to receive a daily feed of links for downloading.  I should add that the link sent via RSS for today&#8217;s Saturday Play was correct, unlike their website.  The RSS feed provides updated links throughout the day for every programme (except those that cannot be downloaded), and it&#8217;s a simple matter to click on the required link (or copy it) to obtain access to your chosen programme.</p>
<p>Another development of interest is that the BBC makes available an XML file for each of its Radio channels containing key details of their programme schedule, including the all-important PID.  Every three hours the Beeb releases an updated XML file containing details of all programmes that can be downloaded now, and that will be available in the coming 48 hours.  A fascinating description of this XML data, and how to obtain it, is contained in this document: <a href="http://docs.google.com/View?docid=d9sxx7p_38cfsmxfcq" target="_blank">http://docs.google.com/View?docid=d9sxx7p_38cfsmxfcq</a>.  For example the Radio 4 xml file can be downloaded from <a href="http://www.bbc.co.uk/radio/aod/availability/radio4.xml" target="_blank">www.bbc.co.uk/radio/aod/availability/radio4.xml</a>.  If I had more time on my hands I&#8217;d be very tempted to write an application that would use this data to automate all my downloading.  Maybe next year&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=52</wfw:commentRss>
		</item>
		<item>
		<title>Something funny about prescription charges</title>
		<link>http://www.nelms.org.uk/?p=49</link>
		<comments>http://www.nelms.org.uk/?p=49#comments</comments>
		<pubDate>Sat, 07 Feb 2009 15:11:29 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=49</guid>
		<description><![CDATA[Something strange is happening with the charging for medical prescriptions.  It is widely known that the British Government&#8217;s deficit in income compared with its expenditure has caused The Treasury to explore all means of saving money and increasing the taxation of the electorate without actually taking the politically damaging step of announcing an increase [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nelms.org.uk/wp-content/images/DawnPrimaroloLetter.jpg" target="_blank"><img class="rightimage" alt="Letter from Dawn Primarolo MP" src="http://www.nelms.org.uk/wp-content/images/DawnPrimaroloLetter-thumbnail.jpg" /></a>Something strange is happening with the charging for medical prescriptions.  It is widely known that the British Government&#8217;s deficit in income compared with its expenditure has caused The Treasury to explore all means of saving money and increasing the taxation of the electorate without actually taking the politically damaging step of announcing an increase in tax rates.  I suspect that one area which is being exploited is prescription charging.</p>
<p>I take a daily capsule of Omeprazole to control acid production in my stomach because repeated burning and scarring of my oesophagus was causing a constriction, and threatened serious longer-term problems.  My specialist prescribed the medication and indicated that I shall have to take it indefinitely.  When my GP first started prescribing this medicine in 2007 he did so for three months at a time and I paid a prescription charge of £6.85 for that quarterly supply of capsules.</p>
<p>On 1st April 2008 the Government raised the charge for prescriptions to £7.10, an apparent increase of 3.65%.  However when I next visited my <a href="http://www.meresurgery.co.uk/" target="_blank">GP&#8217;s surgery in Mere</a>, Wiltshire to obtain a repeat 3-monthly prescription the receptionist said I could now only receive my prescriptions four weeks at a time &#8220;because of a change in the law to save waste&#8221;.  I asked how this would save waste when I need to take to take this medicine daily and she gave one of those &#8216;it&#8217;s nothing to do with me and I don&#8217;t care anyway&#8217; shrugs.  This had the effect of making the <em>real</em> increase in my prescription charge an enormous <u>337%</u>, not the 3.65% announced by the Government.  Furthermore, the surgery announced a reduction in their opening hours at the same time so that patients who don&#8217;t work in Mere would find it extremely difficult to visit the surgery every 28 days without taking time off work, and for those of us who live several miles from Mere we would incur additional transport costs as well as the inconvenience.  By coincidence, soon afterwards Louise was prescribed a course of antibiotics by another GP at the same surgery, who also repeated that he could only give her 28 days&#8217; worth of medicine at a time.  On that occasion the surgery actually cut up the drug manufacturer&#8217;s bubble pack with scissors, dividing a single box of pills into two so that my wife had to pay a double charge.</p>
<p>I was sufficiently incensed by this to write to my MP to enquire how this &#8216;change in the law&#8217; had been kept so quiet.  He forwarded my letter to the Department of Health, and received a reply from the Rt Hon Dawn Primarolo MP, Minister of State.  Ms Primarolo stated: &#8220;While it may now be common practice for prescriptions to be issued for one month or 28 days at a time, there has been no Government directive to specify the length of time for which prescriptions should be issued.  Responsibility for prescribing, including the issue of repeat prescribing and the duration of prescriptions, rests with the doctor who has clinical responsibility for that particular aspect of a patient&#8217;s care.&#8221;  She goes on to say: &#8220;The decision of how much to prescribe for how long is&#8230;..a complex one and should be left to the doctor.&#8221;</p>
<p>Therefore my GP&#8217;s receptionist misinformed me by saying the law had changed.  Presumably she did this either because she was poorly trained by the doctors for whom she works or because the surgery has introduced a policy of restricting prescription duration so that patients pay more for their medication.  I wrote to my GP, Dr Edward Halsey, at Mere Surgery, enclosing a copy of Ms Primarolo&#8217;s letter, and invited his comments.  He didn&#8217;t reply by letter but telephoned me at 9.45 one evening.  His approach to the questions in my letter was guarded but he did conclude by saying that I could have a quarterly prescription &#8220;if you want one&#8221;.  Well of course I would prefer to pay £7.10 for a three-month supply of my medicine than £23, and be saved the aggravation of visiting the surgery so regularly to collect it.</p>
<p>So a few days later Louise visited the surgery to collect my quarterly supply of Omeprazole.  Curiously, instead of 13 weeks&#8217; supply, the doctor had prescribed 12 weeks.  She queried this and the good doctor was summoned from his consulting room.  He gave no reason why he thought a quarter comprises 12 weeks when it is clearly 13, but he amended the prescription so we got there in the end.  It remains to be seen whether we&#8217;ll have a similar battle in three months&#8217; time.  Also it makes me strongly suspect that many other patients at that surgery who didn&#8217;t challenge the receptionist&#8217;s &#8220;change in the law&#8221; story are still paying too much for their medicines.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=49</wfw:commentRss>
		</item>
		<item>
		<title>Snow Chains</title>
		<link>http://www.nelms.org.uk/?p=51</link>
		<comments>http://www.nelms.org.uk/?p=51#comments</comments>
		<pubDate>Fri, 06 Feb 2009 16:37:31 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[Being prepared]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=51</guid>
		<description><![CDATA[A week of unusually heavy snow has given many drivers in the UK an experience that they have either not had before, or that they had forgotten about.  My 50 mile drive home from work on Monday evening (2nd February &#8216;09) which usually takes around 1 hour 20 minutes took 3 hours 30 minutes. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nelms.org.uk/wp-content/images/SnowChains.jpg" target="_blank"><img class="leftimage" alt="Snow chains on car wheel" src="http://www.nelms.org.uk/wp-content/images/SnowChains-thumbnail.jpg" /></a>A week of unusually heavy snow has given many drivers in the UK an experience that they have either not had before, or that they had forgotten about.  My 50 mile drive home from work on Monday evening (2nd February &#8216;09) which usually takes around 1 hour 20 minutes took 3 hours 30 minutes.  Worse, there were several modest slopes that my car struggled to climb at all. Once rubber tyres lose their grip on snow, or snow that has been compressed and polished by other vehicles into ice, it is very difficult to regain any traction.</p>
<p>For several years I have carried a pair of snow chains in the boot of the car as part of my emergency kit.  I tried fitting them a couple of times when I bought them but that isn&#8217;t the same as using them on snow.  I carry them not so that I can get to work on the snow but purely as a last-resort emergency measure if I need to get home and am stranded, or perhaps if I must ferry someone to hospital when the roads are otherwise impassable.</p>
<p>Today I have stayed at home, the roads this morning being covered with such deep snow that attempting to drive to work would have been foolhardy.  It was a perfect opportunity to try fitting the snow chains and driving on them.  When in the box snow chains are a confusing tangle of coloured links.  Even when laid out carefully they can be hard to understand.  The brief, multi-lingual instructions don&#8217;t help.  Nevertheless I crouched by my front wheels in the snow this morning and fitted the chains knowing that I might one day be grateful for having undertaken this exercise.  The first chain took about 10 minutes to fit but the second was completed in half that time.</p>
<p>I then took the car out onto the snow-covered roads.  Grip is immeasurably better and one quickly gains confidence that the front wheels will retain grip when ascending and descending the slopes.  The steering is still awkward as the front wheels follow ruts left my other vehicles and I found myself gripping the steering wheel tightly.   The sensation is not a pleasant one and the car doesn&#8217;t travel as smoothly as if on a normal tarmac surface.  Nevertheless as an emergency measure they are well worth having, the purchase price being an insurance premium to give peace of mind.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=51</wfw:commentRss>
		</item>
		<item>
		<title>WaterBuoy: why risk it?</title>
		<link>http://www.nelms.org.uk/?p=50</link>
		<comments>http://www.nelms.org.uk/?p=50#comments</comments>
		<pubDate>Sat, 31 Jan 2009 10:01:19 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[Being prepared]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=50</guid>
		<description><![CDATA[As a fan of the BBC 2 television programme Dragons&#8217; Den I well remember the episode in which the inventor James Halliburton demonstrated his WaterBuoy, a keyfob that, when dropped into water, inflates an orange balloon and turns on a flashing LED so that keys or small items (e.g.  a mobile phone) dropped off [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nelms.org.uk/wp-content/images/KeyringFloats.jpg" target="_blank"><img class="rightimage" alt="Keyring floats" src="http://www.nelms.org.uk/wp-content/images/KeyringFloats-thumbnail.jpg" /></a>As a fan of the BBC 2 television programme <em>Dragons&#8217; Den</em> I well remember the episode in which the inventor James Halliburton demonstrated his <em>WaterBuoy</em>, a keyfob that, when dropped into water, inflates an orange balloon and turns on a flashing LED so that keys or small items (e.g.  a mobile phone) dropped off a boat into the water will float to the surface for retrieval.  It is a very clever idea.  The keyfob is only about 7cm long x 3 cm wide x 1cm deep, little more than some car central-locking keyfobs.  Every boat user recognises the risk of dropping their keys overboard.  On the WaterBuoy website (<a href="http://www.water-buoy.com" target="_blank">www.water-buoy.com</a>) Halliburton describes how, although he was offered financial backing by the &#8216;dragons&#8217; on the TV programme, he subsequently declined because he decided that illuminated party balloons using the same technology could be even more profitable than the WaterBuoy.</p>
<p>Until the WaterBuoy came along boaters have usually attached a cork float to their keys.  It&#8217;s a low-tech, rather bulky solution.  Pictured here is a traditional cork float keyring (price £2.25) alongside the WaterBuoy (price £11.70).  At first glance it&#8217;s a no-brainer.  Why carry the bulky cork float around when you could have the compact WaterBuoy?  The WaterBuoy has the added advantage of being visible at night which could be important if the keys are dropped into a moving current of water and won&#8217;t remain where they were dropped for long.  Despite this, in my opinion using the WaterBuoy carries an unacceptable risk and I wouldn&#8217;t trust it to look after my keys or small valuables.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/KeyringFloats2.jpg" target="_blank"><img class="leftimage" alt="Keyring floats unpackaged" src="http://www.nelms.org.uk/wp-content/images/KeyringFloats2-thumbnail.jpg" /></a>A cork ball may be bulky but it can be <em>tested</em>.  If, at any time, I wish to verify that my cork float still works, I can drop it into a filled bathtub, swimming pool, or other controlled environment and satisfy myself that it floats. I know that even with rough handling over several years the properties of my cork float that make it less dense than water won&#8217;t deteriorate.  Therefore I can say with confidence that in ten or even twenty years&#8217; time if I drop my keys attached to the cork float into the water, they will float.  It requires no maintenance.</p>
<p>Contrast this with the WaterBuoy.  Mine arrived a few days ago (January 2009) but the bottom of the box carries the tiny legend: &#8216;Production Date 01.2008 Made in China&#8217;.  So my WaterBuoy is already a year old.  Inside the box the printed warranty tells me they will replace any WaterBuoy with a manufacturing defect for a period of 6 months after purchase, and refund the purchase price for a period of 3 years <em>from the production date shown on the packaging</em> (my italics) if the device fails to work.  So my 3 year warranty has already decayed to two years before I even obtained the WaterBuoy!  Furthermore, if I drop my keys overboard and the WaterBuoy fails to operate, in the event that I manage to get my key-less craft back to the shore they will give me my money back.  Big deal.  How could I ever prove that the WaterBuoy didn&#8217;t work?  The defective unit would be conveniently lying on the bottom of the ocean or river or canal, safe from lawyers, courts, and technical specialists.  It would be just my word that it didn&#8217;t work.  So this lack of apparent confidence in their own product by the manufacturer is my first objection.</p>
<p>Secondly, how long will it last?  Who can say?  We know it contains a battery, an LED, a folded balloon, a container of pressurised gas, and a means of releasing that gas and switching on the light when immersed in water.  What is the reliable life-expectancy of those components?  My warranty lasts for 2 years.  Will I have to buy another WaterBuoy in two years&#8217; time to have complete confidence that my keys will float?  If I don&#8217;t replace it, will it still work in five years?  Ten? I&#8217;ve no idea.  And this brings me to my final objection, the fact that it cannot be tested. </p>
<p>Unlike the cork float I have no idea if my WaterBuoy will work when required.  Probably nearly all WaterBuoys will do what they claim but what if one in a thousand, or one in ten thousand, or even fewer, is defective?  I cannot find out if mine is the defective one.  I could carry it around for years and only learn that it was defective as I watch my keys sink into the water, never to re-emerge.  A brilliant invention, but why risk it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=50</wfw:commentRss>
		</item>
		<item>
		<title>Document Scanning - Beauty and the Beast!</title>
		<link>http://www.nelms.org.uk/?p=48</link>
		<comments>http://www.nelms.org.uk/?p=48#comments</comments>
		<pubDate>Fri, 16 Jan 2009 13:08:53 +0000</pubDate>
		<dc:creator>chris</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.nelms.org.uk/?p=48</guid>
		<description><![CDATA[Like all would-be record-keeping obsessives, I aspire to having an office devoid of papers and filing cabinets but with all my records at my fingertips on the computer, carefully filed by subject and date, and with metadata that allows me to locate it instantly during any relevant search. Of course this aspiration has yet to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nelms.org.uk/wp-content/images/Scanjet.jpg" target="_blank"><img class="rightimage" alt="HP Scanjet 5590 scanner" src="http://www.nelms.org.uk/wp-content/images/Scanjet-thumbnail.jpg" /></a>Like all would-be record-keeping obsessives, I aspire to having an office devoid of papers and filing cabinets but with all my records at my fingertips on the computer, carefully filed by subject and date, and with metadata that allows me to locate it instantly during any relevant search. Of course this aspiration has yet to materialise; my desire to keep all documents (letters, bills, statements, drawings, ideas, pieces torn from newspapers and magazines, etc) means that the piles of paper awaiting scanning constantly dominate my desk. For the last ten years I have used a series of Hewlett Packard flatbed scanners with an ADF (automatic document feeder) built into the lid. HP make good hardware and the image quality is usually excellent, but I&#8217;ve always had the feeling that the ADF in the lid was an afterthought, a means of getting the scanner to do something it wasn&#8217;t originally intended to do. The first photo here shows my HP Scanjet 5590, purchased in around 2003. In theory I should be able to drop a stack of documents into the feeder tray, press a button, and then do something else. The reality is different. Documents that have previously been folded frequently misfeed or jam, or two sheets are dragged in together. This 5590 supports duplex scanning whereby both sides of the page are scanned but this process involves three slow passes of the paper through the feeder, any of which may result in a paper jam. Each pass requires the document to make a 180 degree U-turn around a roller. If the paper becomes jammed there is no easy way to expose the paper path to retrieve it. Even if the paper doesn&#8217;t jam, the scan rate is s-l-o-w. Working through piles of paper documents is a tedious process, mainly waiting for the scanner and checking for misfeeds.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/Scanners.jpg" target="_blank"><img class="leftimage" alt="Fujitsu ScanSnap and HP Scanjet scanners" src="http://www.nelms.org.uk/wp-content/images/Scanners-thumbnail.jpg" /></a>For most of the last decade in which I have digitized my paper documents I have used a Windows PC, and my document management software was ScanSoft <a href="http://www.nuance.co.uk/paperport/" target="_blank">PaperPort</a>. Like most applications it has features that are really cool and others that are frustrating. On the whole it was fit for my purposes and enabled me easily to scan my documents into PDFs and store those PDFs in a deep hierarchical arrangement of folders. ScanSoft is a PC-only application so when I migrated to the Apple Mac I looked for an alternative. I settled upon <a href="http://www.ironicsoftware.com/" target="_blank">Yep</a>, which describes itself as iPhoto for PDFs (iPhoto is the Mac&#8217;s built-in repository for photographs). I may post a separate article devoted to Yep because it is a really nice application. Suffice to say that Yep enables me to scan, organise, and later find, the PDFs that encapsulate my life. Browsing the Yep support forum the subject of scanners has been raised several times, and the model that received repeated praise was the Fujitsu ScanSnap S510M (the M suffix denotes the Mac-specific variant of the scanner that is also available for the PC). After a particularly frustrating afternoon with my HP ScanJet I decided I would never conquer the rising piles of paper documents unless I used a better scanner.</p>
<p>It&#8217;s pleasing and easy to do research on the ScanSnap S510M scanner because nobody seems to have much bad to say about it. It seems to provide the features that everyone wants from a document scanner: speed, reliability, and simplicity. The online reviews, plus comments in forums and websites such as Amazon were all positive. One of the strong themes that came through was the inclusion of bundled software that integrated well with the scanner and the Mac. This clinched it. I placed my order and it was delivered the following day.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/ScanSnap1.jpg" target="_blank"><img class="rightimage" alt="Fujitsu ScanSnap scanner" src="http://www.nelms.org.uk/wp-content/images/ScanSnap1-thumbnail.jpg" /></a>The Fujitsu ScanSnap S510M scanner is one of those pleasing items, like the iMac, where the act of unpacking its box and setting it up, is a pleasure. Everything is neatly packed, there&#8217;s a printed list of what to expect in the box, and there&#8217;s even a paper quick-start guide, a rarity these days when a PDF is usually included on the installation CD.</p>
<p>With the ScanSnap there are three CDs to install: Adobe Acrobat 8 Professional, Abyy Fine Reader for ScanSnap (a special version of the OCR program especially for this scanner), and finally the ScanSnap Manager, the software that controls the scanning process from the Mac. My one disappointment was that all the documentation only refers to compatibility with OS/X version 10.4, aka Tiger, whereas I have been running version 10.5 (Leopard) for over a year. I needn&#8217;t have worried. Everything worked perfectly. I knew the S510M was slightly out of date, its case colour having been intended to harmonise with the older white Mac whereas my more recent iMac is grey aluminium rather than white. No matter. The ScanSnap still looks pleasing enough sitting on the desk beside my iMac. My first thought was how small it is. The ScanSnap is tiny compared with my HP ScanJet flatbed, and the photographs on this page don&#8217;t adequately convey that. The ScanSnap is about the size of a loaf of bread; certainly smaller than our electric toaster. The outer lid hinges up to become the document feeder tray, and opening this automatically turns the power on, a blue LED clearly showing when it&#8217;s powered up. Inside is a separate articulated flap that folds out to form the paper catcher, although this is arguably unnecessary when the scanner sits on the desk; the two control buttons (power and scan) have been cleverly positioned to be easily operable when the catch tray is still folded closed.</p>
<p><a href="http://www.nelms.org.uk/wp-content/images/ScanSnap2.jpg" target="_blank"><img class="leftimage" alt="Fujitsu ScanSnap scanner" src="http://www.nelms.org.uk/wp-content/images/ScanSnap2-thumbnail.jpg" /></a>In use, everything about the ScanSnap is exactly what I&#8217;ve always wanted. It works just like I want my document scanner to work. The warm-up time is negligible, barely noticeable at all, maybe a second or two. The speed of document feeding is impressive; I never have the feeling that I&#8217;m waiting for the scanner in the way I did with the ScanJet. There&#8217;s an option for the scanner to ignore blank pages. By default both sides of the page are scanned simultaneously (although you can turn this off if you wish). Documents can be saved as JPGs or PDFs, although the PDFs at this stage are strictly images; you can choose whether every page (or n pages) are saved as separate PDF files, or whether a batch of pages is saved in a single PDF file.  The ScanSnap Manager software offers to process each file using the Abyy Fine Reader OCR application which turns the PDF into one with text content that can be searched.  Alternatively, scanned PDFs can be dragged onto the Abyy icon in the dock for processing at a later time.  With auto-sizing every document, from a business card to a full letter or A4 page is scanned precisely.  Because there may be many different sized documents in a batch placed into the feeder tray I&#8217;ve noticed that smaller documents (e.g. till receipts or snippets torn from a newspaper) twist diagonally as they are scanned.  No problem, the ScanSnap&#8217;s software automatically recognises this and corrects the resulting image.  Very impressive.  In the very rare event of a misfeed, the cover of the scanner can be flipped open to reveal the entire paper path.  No more poking about with a letter knife as I used to have to do with the HP ScanJet&#8217;s document feeder.</p>
<p> Drawbacks?  Well arguably I&#8217;ll still need to keep a flatbad scanner for the rare times when I want to scan from a book or magazine but I can envisage the ScanJet gathering dust while the ScanSnap sees daily use.  Cost is another; the ScanSnap wasn&#8217;t cheap but good tools often aren&#8217;t.  Despite the price I wish I&#8217;d bought a ScanSnap ages ago.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nelms.org.uk/?feed=rss2&amp;p=48</wfw:commentRss>
		</item>
	</channel>
</rss>
