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

<channel>
	<title>Richard Farrar&#039;s Blog &#187; Web Technology</title>
	<atom:link href="http://www.richardfarrar.com/category/web-technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richardfarrar.com</link>
	<description>Life, Technology and Everything...</description>
	<lastBuildDate>Thu, 01 Jul 2010 12:15:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Genie of the LAMP</title>
		<link>http://www.richardfarrar.com/genie-of-the-lamp/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=genie-of-the-lamp</link>
		<comments>http://www.richardfarrar.com/genie-of-the-lamp/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 19:49:13 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/genie-of-the-lamp/</guid>
		<description><![CDATA[If you're into web site development, but haven't experienced the power of LAMP (Linux, Apache, MySQL and PHP), then you're missing out on an incredibly powerful yet completely FREE web server solution.]]></description>
			<content:encoded><![CDATA[<p><img style="border-right-width: 0px; margin: 0px 20px 5px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Linux - Apache - MySQL - PHP" border="0" alt="Linux - Apache - MySQL - PHP" align="left" src="http://www.richardfarrar.com/wp-content/uploads/2009/10/lamp.jpg" width="150" height="117" /> </p>
</p>
<p><strong>Linux, Apache, MySQL and PHP, or LAMP as they’re more affectionately known, are a collection of software packages that form the infrastructure supporting much of the World Wide Web. They have become the most common software packages used for web servers around the world today and moreover, they’re FREE!</strong></p>
<p>While the individual software components that comprise a <strong><acronym title="Linux, Apache, MySQL and PHP">LAMP</acronym></strong> system are intrinsically separate, together their synergy offers a <strong>web server solution</strong> that is certainly much more than the sum of its individual parts. In fact, LAMP is so popular that it has almost become the <em>de facto</em> standard for web server systems across the globe.</p>
<p>Built upon <strong>open source</strong> and essentially<strong> free software</strong>, it is easy to see why LAMP has become so rapidly accepted by web hosting organisations as their server software system of choice. Furthermore, being free, there’s no reason not to try it for yourself and if you don’t get on with it, then you haven’t wasted any of your hard earned pennies in the process.</p>
<p> <span id="more-350"></span><br />
<h3><strong>Letting the Genie Out</strong></h3>
<p>The term <strong>LAMP</strong> was first coined in <strong>1998</strong> (just seven years after <strong>Linux</strong> burst on to the scene) by Michael Kunze, who proposed that a bundle of <strong>free software</strong> packages could effectively rival commercially available software as a serious alternative for the implementation of a <strong>commercial-grade web server</strong>.</p>
<p>Since then, LAMP has gone from strength to strength, with many versions of <strong>Linux</strong> now bundling the ubiquitous <strong>Apache</strong>, <strong>MySQL</strong> and <strong>PHP</strong> packages with their operating system as standard.</p>
<h3><strong>Linux</strong></h3>
<p><a title="Linux" href="http://www.linux.org/" target="_blank"><img style="border-right-width: 0px; margin: 0px 10px 5px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="linux-online-inc" border="0" alt="linux-online-inc" align="left" src="http://www.richardfarrar.com/wp-content/uploads/2009/10/linuxonlineinc.jpg" width="125" height="150" /></a>Most software packages run on top of an underlying <strong>core</strong> suite of software programs that provide <strong>basic</strong> system functions at the heart of the computer. This suite of core programs is more commonly referred to as the <strong>operating system</strong>.</p>
<p>While Microsoft operating systems, such as Windows XP and Vista, are well known to most people in the home environment, other operating systems are in abundance commercially, such as the “Unix like” <strong>Linux operating system</strong>.</p>
<p><strong>Linux</strong> is a <strong>free</strong>, <strong>open source</strong> operating system upon which much of the world’s web servers are based and which is the core of the LAMP suite of packages.</p>
<h3><strong><img style="border-right-width: 0px; margin: 0px 0px 0px 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://www.richardfarrar.com/wp-content/uploads/2009/10/image.png" width="200" height="150" />Apache</strong></h3>
<p><strong><a href="http://httpd.apache.org/" target="_blank">Apache</a></strong> is a <strong>free web server</strong> that runs on Linux, amongst many other operating systems.</p>
<p>To say that Apache is the <strong>most popular</strong> web server and forms much of the infrastructure of the World Wide Web is not an idle statement. </p>
<p>Since 1996, Apache has consistently been the most popular web server on the internet and as of the time of writing, Apache serves over <a href="http://news.netcraft.com/" target="_blank"><strong>60% of the world’s websites</strong></a> and in 2009 became the first web server to serve over <strong>100 million</strong> web sites.</p>
<p>Unfortunately, web servers aren’t particularly inspiring things, they just do what they say on the tin: <strong>serve web pages</strong>. Rather, it’s the additional software packages integrated with the web server that really do the “interesting” and “useful” stuff such as the <strong>scripting (programming) languages</strong><strong> </strong>like <strong>PHP</strong> and the <strong>database</strong> systems like <strong>MySQL</strong>.</p>
<h3><strong>MySQL</strong></h3>
<p><strong><a title="MySQL" href="http://www.mysql.com/" target="_blank"><img style="border-right-width: 0px; margin: 0px 20px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="left" src="http://www.richardfarrar.com/wp-content/uploads/2009/10/image5.png" width="206" height="150" /></a><a href="http://www.mysql.com/" target="_blank">MySQL</a></strong> is an <strong>enterprise class</strong> (big and professional) <strong>relational database</strong> management system (RDBMS). This again is free software that provides <strong>multi-user</strong> access to <strong>multiple databases</strong>, which in turn can support a host of websites simultaneously.</p>
<p>MySQL uses the industry standard <strong>Structured Query Language</strong> (<a href="http://en.wikipedia.org/wiki/SQL" target="_blank">SQL</a>) to perform queries and return results from its databases.</p>
<p>Just because it’s free though, doesn’t mean it’s sub standard. MySQL is <strong>scalable</strong> and is the database system of choice for many large, well known web services such as <a href="http://www.youtube.com/" target="_blank">YouTube</a>, <a href="http://www.facebook.com/" target="_blank">Facebook</a>, <a href="http://www.flickr.com/" target="_blank">Flickr</a><strong></strong> and <a href="http://www.wikipedia.org/" target="_blank">Wikipedia</a><strong></strong>.</p>
<p>So, if you’re developing a website using a LAMP server with a MySQL database and are worried about how well the system would cope with high traffic, don’t be. It will be more than capable of meeting your potential needs.</p>
<h3><strong>PHP</strong></h3>
<p><a title="PHP" href="http://www.php.net/" target="_blank"><img style="border-right-width: 0px; margin: 0px 0px 5px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://www.richardfarrar.com/wp-content/uploads/2009/10/image13.png" width="172" height="91" /></a> While the ‘P’ of the LAMP acronym can refer to web scripting languages such as <strong>Perl</strong> and <strong>Python</strong>, it most commonly refers to the <strong><a href="http://php.net/" target="_blank">PHP</a></strong> language.</p>
<p><strong>PHP</strong> was created in <strong>1995</strong>, since which its popularity has grown steadily. It is now being used on over <a href="http://www.php.net/usage.php" target="_blank"><strong>20 million websites</strong></a>, running on over <a href="http://www.php.net/usage.php" target="_blank"><strong>1 million web servers</strong></a>!</p>
<p>Like MySQL, PHP is <strong>free</strong> software and is also capable of supporting professional <strong>high volume</strong> sites, some examples of which include <a href="http://www.youtube.com/" target="_blank">YouTube</a>, <a href="http://www.facebook.com/" target="_blank">Facebook</a> and <a href="http://www.wikipedia.org/" target="_blank">Wikipedia</a><strong></strong>.</p>
<p>PHP programs <strong>run on a web server</strong> and PHP is therefore known as a <strong>server side</strong> scripting language, compared to JavaScript for example, which normally runs in a user’s web browser.</p>
<p>PHP programs running on a web server act a bit like the glue between the database and the web pages. When a user requests a web page, the <strong>PHP script</strong> talks to the database to <strong>gather the data</strong> it requires based on the user’s request. Once it has this data, the script then <strong>puts together a web page</strong> with the required data and sends it to the user’s web browser.</p>
<p>In this way PHP is said to generate <strong>dynamic web pages</strong> based on user’s input, compared to standard fixed, or<strong> static</strong> <acronym title="Hyper Text Markup Language">HTML</acronym> web pages that can’t be adjusted on the fly in such a manner.</p>
<h3>In Summary</h3>
<p>Running a LAMP server is a <strong>cheap</strong>, <strong>reliable</strong> and moreover <strong>scalable</strong> way of hosting <strong>multiple</strong>, <strong>dynamic</strong> <strong>websites</strong>.</p>
<p>A <strong>LAMP server</strong> can be used to run a <strong>single, simple website</strong> at home if you wish on an old spare PC with no software costs.</p>
<p>Alternatively, the same software could be run on a multi-processor, ninja server and be used to host a plethora of different websites or one large, <strong>multi-user</strong>, <strong>globally accessible web site</strong>.</p>
<p>Clearly the choice is up to you, but if you start off small and your project takes off, then LAMP can be with you all the way.</p>
<p><strong>Happy website building…</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/genie-of-the-lamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Popular Audio Compression Formats</title>
		<link>http://www.richardfarrar.com/popular-audio-compression-formats/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=popular-audio-compression-formats</link>
		<comments>http://www.richardfarrar.com/popular-audio-compression-formats/#comments</comments>
		<pubDate>Sun, 31 May 2009 18:37:00 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Podcasting]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/popular-audio-compression-formats/</guid>
		<description><![CDATA[Compressed audio files are commonplace nowadays thanks to the popularity of MP3 files, but if you want to compress your audio data, MP3s are by no means the best or only option available to you.]]></description>
			<content:encoded><![CDATA[<p><img title="Compressed Audio" style="display: inline; margin: 0px 10px 5px 0px" height="149" alt="Compressed Audio" src="http://www.richardfarrar.com/wp-content/uploads/2009/06/compressedaudio.gif" width="150" align="left" border="0" /><strong>Every time you use an MP3 player or an iPod, you’re using compressed audio files, whether you realise it or not. Whilst MP3 is probably the most common compressed audio format, it’s certainly not the only one available.</strong></p>
<p>Manufacturers like to develop and retain technologies that gives them a commercial and technological advantage over their competitors. To this end we as consumers have ended up with a collection of competing, but unfortunately technically incompatible, solutions to the same problem; that of storing large amounts of audio on portable audio players.</p>
<p>Thankfully the majority of manufacturers (but by no means all) of these portable audio players have eased our potential incompatibility problems by making sure that their players can play the majority of <strong>compressed audio formats</strong> that are in common usage today.</p>
<p>So what are these common compressed audio formats, why do we need them and what are the associated problems with having so many different formats?</p>
<p> <span id="more-322"></span>
</p>
<h3>Why Compress?</h3>
<p>Back in the dark ages of computing, not so long ago, computer memory was not so plentiful, or cheap as it is today. As such, <strong>storing large amounts of data</strong>, such as audio files, was <strong>very costly</strong>.</p>
<p>As necessity is the mother of invention, the limited quantities of computer memory available prompted the white coated technical boffins to develop fiendishly cunning ways of throwing away most of the audio data from these files, while still retaining a high level of <strong>perceived audio quality</strong>.</p>
<p>How they do this is rather complicated, but they essentially save space by not storing the bits of the music that we can’t hear. During compression of a 128 <a href="http://www.richardfarrar.com/what-are-bit-rates/">kbits/s</a> MP3 file, typically <strong>90% of the audio data is discarded</strong>, leaving a file size of <strong>one tenth</strong> of the original size. This in turn means that your MP3 player is able to store <strong>ten times</strong> the amount of songs compared to if it had to store the original uncompressed CD data.</p>
<h3>MP3</h3>
<p>MP3 (<em>MPEG-1</em><em> Audio Layer 3</em>) is by far the most well known out of all of the <strong>audio compression systems</strong> available today, and while it may not be as technologically advanced as some of the newer systems, it is the most widely used and provides perfectly adequate results for moderate <a href="http://www.richardfarrar.com/what-are-bit-rates/">bit rates</a> for the majority of people’s requirements.</p>
<p>The major benefit of encoding your audio files in MP3 format is that you are pretty much guaranteed you’ll be able to play your resultant files on almost any modern media player or device. It is for this reason that most <a href="http://www.richardfarrar.com/what-is-a-podcast/">podcasts</a> choose to adopt the MP3 format as their preferred compression system. </p>
<p>While most people think that MP3 is a free and open source format, it’s not! There are <strong>numerous</strong> <strong>patents</strong> owned by a host of <strong>different organisations</strong> that are applicable to the MP3 technology. This can make official licensing of MP3 technology for use in encoding software or playback devices quite tortuous. Out of all of the organisations that lay claim to the technology underlying MP3s, the German <strong><a href="http://www.fraunhofer.de/EN/" target="_blank">Fraunhofer Society</a></strong> is probably the most notable.</p>
<h3>AAC</h3>
<p><acronym title="Advanced Audio Coding">AAC</acronym> (<em>Advanced Audio Coding</em>) is actually part of the MPEG-2 and MPEG-4 specifications and is designed to be a <strong>superior technological replacement</strong> for the older MP3 format. AAC is designed to provide <strong>improved sonic quality</strong> and transparency compared to MP3 files encoded at the same bit rate, although this advantage only becomes dominant for lower bit rates (below 128 kbits/s).</p>
<p>AAC is the default format that <a href="http://www.apple.com/" target="_blank"><strong>Apple</strong></a> have adopted for their <strong>iPod</strong>s, <a href="http://www.apple.com/iphone/" target="_blank">iPhone</a> and <a href="http://www.apple.com/itunes/" target="_blank"><strong>iTunes</strong></a> and for their iTunes online music store.&#160; <strong>Sony</strong> has also adopted AAC as the standard audio encoding system for their <strong>PlayStation 3 </strong>and has been incorporated into their <strong>PlayStation Portable</strong> and recent <strong>Sony Walkman</strong> systems. Other companies adopting this format include <strong>Nokia</strong> and <strong>Nintendo</strong> (<em>Wii</em> and <em>DSi</em>).</p>
<h3>WMA</h3>
<p><acronym title="Windows Media Audio"><img style="display: inline; margin-left: 0px; margin-right: 0px" height="100" src="http://upload.wikimedia.org/wikipedia/en/3/3c/VistaWMAIcon.PNG" width="100" align="left" /> WMA</acronym> (<em>Windows Media Audio</em>) is <strong>Microsoft’s</strong> proprietary audio compression system built into its <strong>Windows</strong> operating system and is the default compression option used for ripping <acronym title="Compact Disc">CD</acronym>s to your computer using <strong>Windows Media Player</strong>.</p>
<p>Whilst WMA is a proprietary Microsoft system, the technology has been licensed by numerous third parties meaning that if you’ve ripped your entire CD collection onto your computer’s hard drive in WMA format (as I have), then you have a good chance of being able to play these WMA encoded audio files on a host of compatible devices.</p>
<p>I have a <a href="http://www.creative.com/products/mp3/" target="_blank">Creative Zen</a><strong> </strong>MP3 player, which plays WMA files without any problems and I also have two <strong>Netgear MP101</strong> media players at home linked to <a href="http://www.richardfarrar.com/origins-of-a-home-network/">my home network</a> that can stream music from my server in WMA format.</p>
<h3>ATRAC</h3>
<p><img style="display: inline; margin: 15px 15px 10px 0px" src="http://upload.wikimedia.org/wikipedia/en/d/de/Sony_Atrac_Logo.png" align="left" /><acronym title="Adaptive TRansform Acoustic Coding">ATRAC</acronym> (<em>Adaptive Transform Acoustic Coding</em>) is another proprietary audio compression format, this time developed by <strong>Sony</strong>, originally for their <strong>MiniDisc</strong> systems in the early 1990s, but has since been used in the company’s range of portable audio players.</p>
<p>Since its inception, ATRAC’s compression algorithm has been improved over the intervening years, with the newer versions offering improved perceived audio quality over earlier versions for similar <a href="http://www.richardfarrar.com/what-are-bit-rates/">bit rates</a>.</p>
<p>Unfortunately, ATRAC encoded files are not widely supported by other manufacturers and as such, if you have a Sony branded audio player and have ripped all of your CD selection into ATRAC files, you’ll be extremely limited as to where else you can play your audio files.</p>
<h3>Licence Free</h3>
<h4>Ogg Vorbis</h4>
<p><img title="Vorbis Logo" style="display: inline; margin: 0px 5px 0px 0px" alt="Vorbis Logo" src="http://upload.wikimedia.org/wikipedia/en/thumb/a/ac/XiphophorusLogoSVG.svg/132px-XiphophorusLogoSVG.svg.png" align="left" /> While the <strong><a href="http://www.vorbis.com/" target="_blank">Ogg Vorbis</a></strong> audio compression format is not hugely popular outside of the geeky computer nerd circles, it is worth a brief mention as a number of commercial “<em>MP3&#160; players</em>” support the format. More importantly though is the Ogg Vorbis system is <strong>FREE</strong>!</p>
<p>There are <strong>no patents</strong> or licence issues to worry about if you choose to adopt this system, although compatibility with other media playback devices may prove to be an issue.</p>
<h4>FLAC </h4>
<p><acronym title="Free Lossless Audio Codec"><img title="FLAC - Free Lossles Audio Codec" style="display: inline; margin: 0px 15px 0px 0px" height="80" alt="FLAC - Free Lossles Audio Codec" src="http://www.flacmusic.com/flac.gif" width="150" align="left" /> FLAC</acronym> (<em>Free Lossless Audio Codec</em>) is another audio compression system worth a mention, partly because it’s <strong>free</strong> (as its name suggests) and partly because it’s <strong>lossless</strong>.</p>
<p>All of the above compression systems <strong>loose some audio quality</strong> in their compression process. <a href="http://flac.sourceforge.net/" target="_blank"><strong>FLAC</strong></a><strong> does not</strong>, but the downside is that the same sort of compression levels are not achievable. </p>
<p>FLAC files tend to be between <strong>40 to 50%</strong> the size of the original audio file, which is not that impressive compared to a typical 10% figure of an MP3 file.</p>
<p>Like anything in life, it’s a balancing act. If you can afford the additional storage space required and want original quality audio, then FLAC is the way to go. For the majority of people however, these tiny improvements in audio quality compared to the space saving benefits of any of the above compression formats will not be worth the penalty of compatibility issues.</p>
<h3>Summary </h3>
<p>While <strong>MP3</strong> is the <strong>most common</strong> and well known of all the audio compression systems, it’s by no means the best. There are a multitude of different audio compression systems available, with just a handful of the most common ones mentioned above.</p>
<p>The choice of compression system can depend on many factors, but for most people, providing the audio quality is reasonably good and the file sizes acceptably small the overriding issue will probably be <strong>compatibility</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/popular-audio-compression-formats/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Constant and Variable Bit Rates</title>
		<link>http://www.richardfarrar.com/constant-and-variable-bit-rates/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=constant-and-variable-bit-rates</link>
		<comments>http://www.richardfarrar.com/constant-and-variable-bit-rates/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 18:14:55 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Podcasting]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/constant-and-variable-bit-rates/</guid>
		<description><![CDATA[Having chosen the bit rate for your MP3 tracks or podcasts, would you know whether to use a variable bit rate or constant bit rate and why?]]></description>
			<content:encoded><![CDATA[<p><strong><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 20px 0px 0px; border-right-width: 0px" title="CBR vs VBR" src="http://www.richardfarrar.com/wp-content/uploads/2009/04/cbr.gif" border="0" alt="CBR vs VBR" width="150" height="150" align="left" /> By now you’ve probably heard of the term “bit rate” used in connection with MP3 tracks and podcasts, you may even know that higher bit rates give better quality audio. However, like most things in life, nothing is simple and we can further complicate the whole bit rate discussion with variable and constant bit rates. So, what are the pros and cons of these constant and variable bit rates?</strong></p>
<p>Choosing a <strong>bit rate</strong> for a podcast, or an MP3 track, is a bit of a <strong>balancing act</strong> at the best of times. On the one hand, <strong>higher bit rates</strong> (<em>variable</em> or <em>constant</em>) give <strong>improved audio quality</strong>, whilst on the other they lead to <strong>bigger file sizes</strong>.</p>
<p>Introducing yet another variable into the equation, that of <strong>constant</strong> or <strong>variable</strong> bit rates, only serves to confuse the situation even further. What then are the relative pros and cons that may affect your choice of <strong>type of bit rate</strong> to use?</p>
<p><span id="more-303"></span></p>
<h3>Balancing Bit Rates</h3>
<p>If you’re not familiar with <strong>bit rates</strong>, then my previous post on <strong><a href="http://www.richardfarrar.com/what-are-bit-rates/">What are bit rates?</a></strong> should point you in the right general direction and help to get you started.</p>
<p>In essence, <strong>higher bit rates</strong> give <strong>improved audio</strong> quality, no matter whether <em>variable</em> <span style="text-decoration: underline;">or</span> <em>constant</em> bit rates are used. However, higher bit rates will always lead to <strong>larger file sizes</strong>,<strong> </strong>which in turn lead directly to <strong>longer download</strong> times and require more storage space.</p>
<p>When <a href="http://www.richardfarrar.com/choosing-bit-rates-for-podcasts/">choosing which bit rate to use for your podcast</a> or MP3 track, you really need to go for the <strong>highest bit rate</strong> possible, while retaining <strong>reasonable file sizes</strong> and practical download times.</p>
<p>Accepting the fact that you need to choose the highest practical bit rate you can, which option should you go for next (assuming your encoding software gives you the option) <strong>constant</strong> or <strong>variable</strong> bit rates?</p>
<h3>Constant Bit Rates</h3>
<p><strong>Constant Bit Rates</strong> (<strong><acronym title="Constant Bit Rate">CBR</acronym></strong>) are pretty much as their name suggests, where one fixed, or constant bit rate is used for the <strong>entire file</strong> or track.</p>
<p>However, constant bit rates are <strong>not optimal</strong> as they waste valuable data bits encoding simple sections of audio, and conversely may not use sufficient data bits on more complex audio passages, resulting in poorer audio quality during these sections.</p>
<p>The more complex audio sections of tracks encoded with a constant bit rate will be of a lower audio quality compared to the more simple sections of audio within the same track, so a suitable bit rate must be chosen that provides sufficient audio quality for the most demanding sections of the audio being encoded.</p>
<p>Constant bit rates are <strong>easier </strong>and therefore <strong>faster to encode</strong> compared to variable bit rates and lead to consistent and predictable file sizes. Being an older format, constant bit rates are <strong>more compatible</strong> with older MP3 players.</p>
<h3>Variable Bit Rates</h3>
<p><strong>Variable Bit Rates</strong> (<strong><acronym title="Variable Bit Rate">VBR</acronym></strong>) are likewise pretty much as their name suggests, where the bit rate may change throughout the file or track being encoded.</p>
<p>Variable bit rate encoding analyses the audio file, <strong>adapting</strong> the bit rate as it goes to <strong>match the complexity</strong> of the audio it encounters.</p>
<p>For <strong>simple audio</strong> passages, the system automatically <strong>turn its bit rate down</strong>, saving valuable data bits, while retaining the perceived audio quality. Conversely, during more <strong>complex passages</strong>, the system automatically <strong>turns its bit rate up</strong>, using more data bits to retain the same level of audio quality.</p>
<p>Using this method, the average audio quality of a file can be increased as the available data bits are used more flexibly to encode the sound data with increased overall accuracy.</p>
<p>When encoding an MP3 track or podcast with the VBR method, the encoding software usually allows you to decide on the overall quality of the resulting track that you desire, after which the system encoder uses the bits required to achieve this defined quality level. Higher quality levels will require more bits.</p>
<p>Compared to constant bit rates, variable bit rates produce <strong>smaller file sizes</strong> for a <strong>given audio quality</strong>. However, as the bit rates are variable, it’s difficult to predict the size off these files in advance.</p>
<p>Variable bit rates are <strong>harder </strong>and therefore <strong>slower to encode</strong> compared to constant bit rates, as the adaptive encoding process is more complex an processor intensive.</p>
<p>Being a more recent encoding method, some older MP3 players or computer software <strong>may not be compatible</strong> with variable bit rate encoded MP3 tracks or podcasts.</p>
<h4>Constrained Variable Bit Rates</h4>
<p>A <strong>Constrained Variable Bit Rate</strong> (<acronym title="Constrained Variable Bit Rate"><strong>CVBR</strong></acronym>) is a flavour of variable bit rate, where the <strong>maximum bit rate</strong> allowed, or the <strong>Average Bit Rate</strong> (<acronym title="Average Bit Rate"><strong>ABR</strong></acronym>) are predefined.</p>
<p>For example, encoding an audio track with the bit rate set to be an average of 128<acronym title="kilo bits per second">kbps</acronym> should produce a resultant audio file of higher perceived quality than the same track of encoded at 128<acronym title="kilo bits per second">kbps</acronym> <acronym title="Constant Bit Rate">CBR</acronym>, as the <acronym title="Average Bit Rate">ABR</acronym> file can use data bits it saved during the simpler passages to add extra data bits (above the 128<acronym title="kilo bits per second">kbps</acronym> average) to the more complex passages to improve the overall audio quality.</p>
<h3>Which to Use and When</h3>
<h4>Compatibility</h4>
<p>Generally speaking, encoding an MP3 track or podcast using a <strong>constant bit rate </strong>will be better for the sake of<strong> compatibility</strong> compared to using a variable bit rate, as some older MP3 players don’t support variable bit rates.</p>
<p>By way of example, in their guidelines for broadcast media, the <strong><a href="http://www.bbc.co.uk/guidelines/futuremedia/technical/a_v_streaming_table.shtml#dwnl_a" target="_blank">BBC recommends</a></strong> the use of <strong>constant bit rates</strong> for their all of their podcasts and downloadable audio files.</p>
<h4>Quality</h4>
<p>If compatibility isn’t a significant issue for you, then you will probably be better off using a form of <strong>variable bit rate</strong> of encoding to squeeze the <strong>best audio quality</strong> that you can out of the available bits.</p>
<p>Whether you choose to use a constrained variable bit rate, so that you can keep a handle on the size of file you’re likely to get, or go for a fully variable bit rate, is entirely up to you.</p>
<p>However, before fixing which method you’re going to use, it may be best to do a few test recordings using different bit rates and bit rate types, before deciding on which suits your purposes best.</p>
<h4>In Summary</h4>
<table border="1" cellspacing="2" cellpadding="2" width="500">
<tbody>
<tr>
<td style="text-align: center;" width="246" valign="top"><strong>Constant Bit Rates</strong></td>
<td style="text-align: center;" width="246" valign="top"><strong>Variable Bit Rates</strong></td>
</tr>
<tr>
<td width="246" valign="top">Variable Audio Quality</td>
<td width="246" valign="top">Constant, Definable Audio Quality</td>
</tr>
<tr>
<td width="246" valign="top">Predictable File Sizes</td>
<td width="246" valign="top">Unpredictable File Sizes</td>
</tr>
<tr>
<td width="246" valign="top">Compatible With Most Systems</td>
<td width="248" valign="top">Unpredictable Compatibility</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/constant-and-variable-bit-rates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding Online Marketing Terms</title>
		<link>http://www.richardfarrar.com/understanding-online-marketing-terms/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=understanding-online-marketing-terms</link>
		<comments>http://www.richardfarrar.com/understanding-online-marketing-terms/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 16:05:27 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[adwords]]></category>
		<category><![CDATA[ppc]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/understanding-online-marketing-terms/</guid>
		<description><![CDATA[Advertising on the web is a well established practice, but like most industries it has a language all of its own that may need a little explaining.]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.richardfarrar.com/wp-content/uploads/2008/12/ecommerce.jpg"><img title="e-commerce" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 15px 0px 0px; border-right-width: 0px" height="150" alt="e-commerce" src="http://www.richardfarrar.com/wp-content/uploads/2008/12/ecommerce-thumb.jpg" width="150" align="left" border="0" /></a> The internet has a language all of its own and online marketing is certainly no exception. So, if you’re thinking of advertising your business online and fall at the first hurdle with all of the jargon you encounter, then this article should help get you on your way.</strong></p>
<p>If you decide to advertise your business on-line, you will undoubtedly come across a whole new language associated with this form of marketing. The most commonly used of these jargon words and phrases however, tend to relate to the different charging mechanisms that are available for on-line advertising campaigns.</p>
<p>While there are a host of terms and phrases used in the online marketing industry, only the most common are covered here, such as <acronym title="Pay Per Click"><strong>PPC</strong></acronym>, <acronym title="Cost Per Thousand Impressions"><strong>CPM</strong></acronym>, <strong><acronym title="Click Through Ratio">CTR</acronym></strong> etc.. However, while this post offers a brief introduction to these terms, it does not provide any in-depth explanation as to the best systems to use or how to use them, as this will often vary depending on your specific circumstances and requirements.</p>
<p> <span id="more-203"></span><br />
<h3>PPC – Pay Per Click</h3>
<p><strong>P</strong>ay <strong>P</strong>er <strong>C</strong>lick (PPC) is by far the most common method of paying for advertising on the internet, partly due to the popularity of the <strong><a href="http://adwords.google.com/" target="_blank">Google AdWords</a></strong> system. While you may not have heard of Google AdWords directly, you will probably have seen their adverts on numerous websites (including this one), with the text “<strong><em>Ads by Google</em></strong>” next to them. For example, the advert below was displayed on my <a href="http://www.plantadvice.co.uk/" target="_blank">Plant Advice</a> website by Google AdWords:</p>
<p><img title="Google AdWords Advert" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="99" alt="Google AdWords Advert" src="http://www.richardfarrar.com/wp-content/uploads/2008/12/googlead.jpg" width="511" border="0" /> </p>
<p>Using Google AdWords as a <strong><acronym title="Pay Per Click">PPC</acronym></strong> service to advertise your company, your adverts will be displayed on websites appropriate to your company and products. For example, if your company sells plants on-line and you are specifically promoting grasses, the ad system will try to place your adverts on <a href="http://www.plantadvice.co.uk/plants/show_cat_plants.php?id=9" target="_blank">pages that relate to grasses</a>.</p>
<p>Using this method, you <strong>only pay</strong> when somebody actually <strong>clicks on your advert</strong>. Your advert may be displayed thousands of times, yet if nobody clicks on your advert, it won’t cost you a penny! This can be quite a cost effective method of advertising, as you’re only paying for traffic that is actually brought to your website.</p>
<h3>CPC – Cost Per Click</h3>
<p>Using a <strong>PPC</strong> service to advertise your company or product, you will be <strong>charged</strong> for <strong>every click</strong> on your advert. The <strong><acronym title="Cost Per Click">CPC</acronym></strong>, or <strong>C</strong>ost <strong>P</strong>er <strong>C</strong>lick, is the cost that you will be charged for each of these clicks.</p>
<p>The cost of each click can vary tremendously depending on which advertising service you use and how competitive the advertising is in the market area that you are targeting. Typical values are in the order of <strong>$0.10</strong> to <strong>$1.00</strong>.</p>
<p>For example, if you spent $100 on a PPC advertising campaign and your advert was clicked on 80 times, your effective <strong>cost per click</strong> would be:</p>
<blockquote><p><strong>CPC = Total Campaign Cost ÷ Number of Clicks</strong></p>
<p><strong>CPC = $100 ÷ 80 = $1.25</strong></p>
</blockquote>
<h3>CPI – Cost Per Impression</h3>
<p>An alternative online advertising method to the PPC system, is one where you get charged every time your advert is displayed, whether it gets clicked on or not. The cost per impression is the <strong>cost</strong> to you for <strong>every advertisement shown</strong> on a website.</p>
<p>For example, if you agreed to have your advert displayed on a website 10,000 times and you were charged $100 for this, the effective <strong>cost per impression</strong> would be:</p>
<blockquote><p><strong>CPI = Total Campaign Cost ÷ Number of Impressions</strong></p>
<p><strong>CPI = $100 ÷ 10,000 = $0.01</strong></p>
</blockquote>
<p>That is, it would cost you $0.01 every time your advert was displayed.</p>
<h3>CPM – Cost Per Thousand Impressions</h3>
<p>Popular websites can display thousands of pages each day, as such, rather than using the CPI figure above, a version more appropriate to the large number of pages typically viewed on a website is CPI’s big brother; <strong><acronym title="Cost Per Thousand Impressions">CPM</acronym></strong>.</p>
<p>CPM is the <strong>cost</strong> that you will pay for every <strong>1,000 advertisements</strong> shown on a website. The <strong>M</strong> comes from the Latin for 1,000; <em>mille,</em> also from the Roman numeral for 1,000, which is M.</p>
<p>For example, if you pay $100 for a website advertisement, which 10,000 people see, the effective <strong>cost for 1,000 impressions</strong> would be:</p>
<blockquote><p><strong>CPM = (Total Campaign Cost ÷ Number of Impressions) x 1,000</strong></p>
<p><strong>CPM = ($100 ÷ 10,000) x 1,000 = $10.00</strong></p>
</blockquote>
<p>or</p>
<blockquote><p><strong>CPM = CPI x 1,000 = $0.01 x 1,000 = $10.00</strong></p>
</blockquote>
<p>That is, it would cost you $10.00 for every 1,000 adverts displayed.</p>
<p>CPM tends to be used in preference to CPI in the online marketing world.</p>
<h3>CTR – Click Through Ratio</h3>
<p>The <strong>Click Through Ratio</strong>, or <strong>Click Through Rate</strong> is the percentage of users who click on a viewed advertisement and is usually a good indication of the effectiveness of an advertisement. The more people that click on an advert, the more successful the ad.</p>
<p>Average click-through-rates vary depending upon the type of site and visitors, but are typically of the order of <strong>1%</strong>, or <strong>1 in every 100</strong> visitors clicking on the advert.</p>
<p>A click through ratio can be calculated by dividing the <strong>number of times the advert was clicked</strong> on by the <strong>number of impressions</strong> (number of times the advert was displayed) then <strong>multiplying by 100</strong> to get the percentage.</p>
<p>For example, if an advert was displayed 10,000 times and 80 people clicked on the ad, the effective click through rate would be:</p>
<blockquote><p><strong>CTR = (Number of Clicks ÷ Number of Impressions) x 100</strong></p>
<p><strong>CTR = (80 ÷ 10,000) x 100 = 0.8%</strong></p>
</blockquote>
<h3>Mixing It Up</h3>
<p>As an example to see how all of these terms can be inter-related, let’s assume that we took out an advert with a website to display our ad <strong>10,000 times</strong>, which cost us <strong>$100</strong>. After running this campaign, we measured that the advert was <strong>clicked on 80 times</strong>. From this we can calculate the following:</p>
<blockquote><p><strong>CPI = $100 ÷ 10,000 impressions = $0.01</strong></p>
<p><strong>CPM = CPI x 1,000 = $0.01 x 1,000 = $10.00</strong></p>
<p>or<strong> CPM = ($100 ÷ 10,000 impressions) x 1,000 = $10.00</strong></p>
<p><strong>CTR = (80 clicks ÷ 10,000 impressions) x 100 = 0.8%</strong></p>
<p><strong>CPC = $100 ÷ 80 clicks = $1.25</strong></p>
</blockquote>
<h3>Quick Refresher</h3>
<p>Hopefully this handful of three lettered, online marketing acronyms now makes a little more sense and don’t seem quite so daunting. So, in future, when you see any of the following, you should have a good idea of what’s going on:</p>
<ul>
<li><strong>PPC</strong> – Pay Per Click </li>
<li><strong>CPC</strong> – Cost Per Click </li>
<li><strong>CPI</strong> – Cost Per Impression </li>
<li><strong>CPM</strong> – Cost Per Thousand Impressions </li>
<li><strong>CTR</strong> – Click Through Ratio </li>
</ul>
<p>And to calculate any of these values, you can use the following formulae:</p>
<ul>
<li><strong>CPC</strong> = Total Campaign Cost ÷ Number of Clicks</li>
<li><strong>CPI</strong> = Total Campaign Cost ÷ Number of Impressions</li>
<li><strong>CPM</strong> = (Total Campaign Cost ÷ Number of Impressions) x 1,000</li>
<li><strong>CPM</strong> = CPI x 1,000</li>
<li><strong>CTR</strong> = (Number of Clicks ÷ Number of Impressions) x 100</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/understanding-online-marketing-terms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Following Auntie Around the Web</title>
		<link>http://www.richardfarrar.com/following-auntie-around-the-web/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=following-auntie-around-the-web</link>
		<comments>http://www.richardfarrar.com/following-auntie-around-the-web/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 14:05:01 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/following-auntie-around-the-web/</guid>
		<description><![CDATA[Keeping up with the latest social media web sites and new internet technologies can be difficult, so how do you decide which to adopt and which to ignore?]]></description>
			<content:encoded><![CDATA[<p><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 15px 0px 0px; border-right-width: 0px" title="BBC" src="http://www.richardfarrar.com/wp-content/uploads/2008/10/bbc.gif" border="0" alt="BBC" width="150" height="46" align="left" /><strong>New  internet technologies and social media websites seem to be springing up at an almost exponential rate. With these ever expanding ways to communicate and stay in touch, how do you decide which to adopt and which to ignore? Which will stand the test of time and which will be destined to obscurity by the time your morning coffee’s gone cold?</strong></p>
<p>Social media, new media, web 2.0; whatever you choose to call it, there are now so many ways of keeping in contact with friends and family and keeping up to date with the latest news and events, that you could spend all day doing just this and not achieving anything productive.</p>
<p>So how do you choose which of the latest new media offerings to adopt, and which are the ones that are likely to stand the test of time and become mainstream?</p>
<p><span id="more-145"></span></p>
<h3>Who’s Auntie?</h3>
<p>In referring to Auntie, I’m actually referring to the <strong><a href="http://www.bbc.co.uk/" target="_blank">BBC</a></strong>, but why Auntie?</p>
<p>Well, for some strange historical reason, here in the <acronym title="United Kingdom">UK</acronym> the <acronym title="British Broadcasting Corporation">BBC</acronym> is affectionately known as Auntie, or <strong>Auntie Beeb</strong>.</p>
<h3>Why Follow the BBC?</h3>
<h4>Radio</h4>
<p>The BBC have been in broadcasting for an awfully long time, since <strong>1922</strong> in fact, and they are the world’s largest and most respected broadcaster. The BBC have always been keen to adopt <strong>new and emerging technologies</strong> as transmission media for their news and entertainment offerings.</p>
<h4>Television</h4>
<p>In <strong>1932</strong> the BBC commenced transmissions on the then new fangled <strong>television</strong>, at the time having no real concept of what a global and ubiquitous format this would prove to be. In <strong>1967</strong> the they started transmitting television signals in <strong>colour</strong> and in <strong>1974</strong> added the <strong>teletext</strong> service to their TV signals.</p>
<h4>Internet</h4>
<p>Being an early adopter of emerging technologies, the BBC first embraced the internet with an online presence for some of its shows in <strong>1994</strong>. Bearing in mind that this was only <strong>two years</strong> after the public release of the <strong>world wide web</strong>, this definitely shows their foresight in adopting this new medium.</p>
<p>In December <strong>1997</strong>, the BBC officially launched <strong>BBC Online</strong>,<strong> </strong>which has gone from strength to strength since, with the website now containing <strong>over two million pages</strong> and being one of the most visited and popular websites in the world.</p>
<h3>Web 2.0</h3>
<p>While the term <strong>web 2.0</strong> is quite common, its actually very difficult to pin down exactly what it means. In common parlance, it generally refers to the modern, interactive nature of the web, for example <strong>social networking sites</strong>, <strong><abbr title="Web logs">blogs</abbr></strong>, <a href="http://www.richardfarrar.com/what-is-a-podcast/"><strong>podcasts</strong></a> and <a href="http://www.richardfarrar.com/what-is-rss/"><strong>RSS feeds</strong></a>.</p>
<p>Since their first foray into the wonderful world wide web, the BBC have been early adopters in many new internet technologies such as <acronym title="Really Simple Syndication">RSS</acronym>, blogs, podcasts and even social media websites.</p>
<p>The BBC obviously do their research before moving into any new area. As such, if the <strong>Beeb</strong> are adopting a new internet technology, then it’s a pretty safe bet that they’ve thought things through and it has a good chance of becoming <strong>mainstream</strong>, if not already.</p>
<h3>Podcasting</h3>
<p>Podcasting is an obvious fit with the BBC and provides them with another useful distribution mechanism for their content, enabling people to catch up with their favourite shows at their own leisure.</p>
<p>Out of all of the new internet technologies, the <strong>podcast</strong> is probably the best known and most widely adopted, thanks to the ubiquitous <strong>iPod</strong>. If you’re still struggling to work out what it’s all about though, then my previous post on <a href="http://www.richardfarrar.com/what-is-a-podcast/"><strong>What is a Podcast?</strong></a> may shed a little light.</p>
<h3>RSS News Feeds</h3>
<p><a href="http://www.richardfarrar.com/wp-content/uploads/2008/10/rss.jpg"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 15px 0px 0px; border-right-width: 0px" title="RSS logo" src="http://www.richardfarrar.com/wp-content/uploads/2008/10/rss-thumb.jpg" border="0" alt="RSS logo" width="100" height="132" align="left" /></a>RSS feeds are a very useful way of keeping up to date with your favourite websites, without having to check them all individually every day. If you’re not sure what RSS is all about, then my previous post on <a href="http://www.richardfarrar.com/what-is-rss/"><strong>What is RSS?</strong></a> maybe just what you need.</p>
<p>I’ve been a proponent of RSS feeds for a long time and regularly include them in <a href="http://www.siliconbay.co.uk/portfolio/websites.asp" target="_blank">websites that I develop</a>. While the <a href="http://news.bbc.co.uk/1/hi/help/3223484.stm" target="_blank">BBC have provided RSS news feeds</a> for a long time also (where I first encountered RSS), unfortunately RSS feeds still don’t seem to have broken through to mass adoption, despite features being included in all new web browsers allowing you to read them.</p>
<h3>Social Media</h3>
<p>Some people love it, some people hate it and some people just don’t get it.</p>
<p>I was probably in the latter category; didn’t really understand it, so couldn’t really see the point, until about a year ago when the BBC started putting a little toolbar at the bottom of every article on their <a href="http://news.bbc.co.uk/" target="_blank">news website</a>:</p>
<p><a href="http://news.bbc.co.uk/1/hi/help/6915817.stm" target="_blank"><img style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" title="BBC Article bookmarking toolbar" src="http://www.richardfarrar.com/wp-content/uploads/2008/10/bbctoolbar.jpg" border="0" alt="BBC Article bookmarking toolbar" width="485" height="89" /></a></p>
<p>I was immediately intrigued and decided to investigate, on the principle that if the BBC were adopting it, then it’s really something that I should be paying attention to if I didn’t want to get left behind.</p>
<h4>StumbleUpon</h4>
<p><a href="http://www.richardfarrar.com/wp-content/uploads/2008/10/logo-su-36x36.png"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 5px 0px 0px 15px; border-right-width: 0px" title="Stumble Upon logo" src="http://www.richardfarrar.com/wp-content/uploads/2008/10/logo-su-36x361.png" border="0" alt="Stumble Upon logo" width="36" height="36" align="right" /></a> StumbleUpon was one of the social networking/bookmarking websites that the BBC included in their new toolbar, so I took the plunge and setup <a href="http://burningdiamond.stumbleupon.com/public/" target="_blank">my own profile</a> on the site as an experiment.</p>
<p>Once you’ve set up your profile telling the system what sort of topics you are interested in, the system will <strong>suggest new websites</strong> that you may like and probably would never have discovered otherwise.</p>
<p>While I haven’t really done much “<em>networking</em>” on this site, I have found it to be an <strong>amazing resource</strong> for finding new and informative websites.</p>
<h4>Twitter</h4>
<p>It’s not immediately obvious that the BBC have adopted <a href="http://twitter.com/" target="_blank">twitter</a>, but they have. Twitter is a web service that you can use to send short messages of up to 140 characters and is touted as a <strong>micro-blogging</strong> system, although this belies its true potential.</p>
<p><a href="http://twitter.com/richardfarrar" target="_blank"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 5px 0px 0px 15px; border-right-width: 0px" title="twitter logo" src="http://www.richardfarrar.com/wp-content/uploads/2008/10/twitter-logo-s.png" border="0" alt="twitter logo" width="175" height="41" align="right" /></a>Twitter has gained popularity because you can use it on your <strong>mobile phone</strong> with text (<acronym title="Short Message Service">SMS</acronym>) messages and it can also be integrated with your own <strong>websites</strong>, <strong>Facebook</strong> or your <strong>web browser</strong>.</p>
<p>If you subscribe to someone’s twitter feed, like the BBC for example, you can be alerted anytime they post something new. The BBC have numerous twitter feeds, which can act a bit like a personal <strong>news ticker service</strong>. Some examples of their twitter feeds are:</p>
<ul>
<li><a href="https://twitter.com/BBC" target="_blank">BBC News – General </a></li>
<li><a href="https://twitter.com/bbcbusiness" target="_blank">BBC Business</a></li>
<li><a href="https://twitter.com/bbcpolitics" target="_blank">BBC Politics</a></li>
<li><a href="https://twitter.com/bbcscitech" target="_blank">BBC Science</a></li>
<li><a href="https://twitter.com/bbchealth" target="_blank">BBC Health</a></li>
<li><a href="https://twitter.com/bbceducation" target="_blank">BBC Education</a></li>
</ul>
<h3>Into the Future</h3>
<p>Guaranteed, things in the internet world are going to continue expanding and changing at an alarming rate. If you’re struggling to keep up with all of the latest fads on the internet, then pay the BBC a visit to see what they’re up to.</p>
<p>If the Beeb have adopted the latest internet offering, then it may be well worth investigating it yourself. While they may not get it right every time, they are probably heading in the right general direction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/following-auntie-around-the-web/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How Secure is a Secure Web Page?</title>
		<link>http://www.richardfarrar.com/how-secure-is-a-secure-web-page/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-secure-is-a-secure-web-page</link>
		<comments>http://www.richardfarrar.com/how-secure-is-a-secure-web-page/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 18:09:14 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/how-secure-is-a-secure-web-page/</guid>
		<description><![CDATA[If you've ever seen a little padlock on your web browser when you've visited certain web sites and wondered what it meant, then wonder no more, it's all to do with increased security on those sites.]]></description>
			<content:encoded><![CDATA[<table style="float: left; margin-right: 10px" border="0" cellspacing="0" cellpadding="2" width="150">
<tbody>
<tr>
<td width="150" valign="top"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.richardfarrar.com/wp-content/uploads/2008/09/padlock.jpg" border="0" alt="padlock" width="150" height="189" /></td>
</tr>
<tr>
<td width="150" valign="top"><em><span style="font-size: xx-small;">Photo by </span></em><em><span style="font-size: xx-small;"><a href="http://www.flickr.com/photos/amagill/235453953/" target="_blank">amagill</a></span></em></td>
</tr>
</tbody>
</table>
<p><strong>How often have you been browsing the web when you suddenly see a little padlock symbol appear in the corner of your web browser? Well, this symbol indicates that you have entered a secure web page, but how secure is it and how does it all work?</strong></p>
<p>Security is a big issue online. We&#8217;re constantly being bombarded by the media about online fraud, spam and all sorts of other nasties that we could encounter while surfing the web, almost to the point of becoming so paranoid that we won&#8217;t go online anymore.</p>
<p>However, there are technologies in place to try and make things a little safer. For example, whenever you enter your credit card details online, you have probably entered a special secure type of web page without realising. So what is this special type of web page, how do you know if you&#8217;re on one and how secure is it anyway?</p>
<p><span id="more-115"></span></p>
<h3>HTTP and HTTPS</h3>
<p>Whenever you&#8217;re surfing the web on normal web pages, you will be using a special web protocol called <strong></strong><strong><acronym title="Hyper-Text Transfer Protocol">HTTP</acronym></strong> (<strong>H</strong>yper<strong>T</strong>ext <strong>T</strong>ransfer <strong>P</strong>rotocol).</p>
<p>This is just something that makes the web as we know it work. If you look at any <a href="http://www.richardfarrar.com/anatomy-of-a-url/" target="_blank">web address or URL</a> in your browser&#8217;s address bar, you will see that it always begins with <strong>http://</strong>, signifying that you&#8217;re using the Hypertext transfer protocol.</p>
<p>To help improve security on the web, the standard HTTP protocol was enhanced with an additional security layer called the Secure Socket Layer (<strong><acronym title="Secure Socket Layer">SSL</acronym>)</strong> to produce a new protocol called <strong><acronym title="HyperText Transfer Protocol"></acronym><acronym title="HyperText Transfer Protocol over Secure socket layers">HTTPS</acronym></strong> (<strong>HTTP over a Secure socket layer</strong>).</p>
<h3>Spotting a Secure Web Page</h3>
<p>So how do you know when you&#8217;re on a web page using this secure web system?</p>
<p>The first method of telling if the web page you&#8217;re looking at is secure, is to look at the <acronym title="Uniform Resource Locator">URL</acronym> in your browser&#8217;s address bar. If the URL begins with <strong>https://</strong> instead of http:// then you&#8217;re on a secure web page.</p>
<p>This is quite subtle and not many people will be aware of this difference, so most web browsers will also display a small <strong>padlock symbol</strong> somewhere to indicate that you&#8217;re on a secure web page:</p>
<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 10px 0px 10px 40px; border-right-width: 0px" src="http://www.richardfarrar.com/wp-content/uploads/2008/09/https.jpg" border="0" alt="https" width="479" height="78" /></p>
<p>Unfortunately, you can&#8217;t choose whether or not to use this secure format to view web pages, as this is decided for you by the web site you&#8217;re visiting. This secure connection is normally reserved for web pages that transmit or retrieve sensitive data, for example credit card details, and will happen automatically.</p>
<h3>Any Port in a Storm</h3>
<p>The internet, including web pages, sends and receives its data through things called ports. Conventional unsecured HTTP normally uses <strong>port 80</strong>. However, whenever a secure web page is used, <strong>port 443</strong> is used instead, ensuring all secure data is processed through a completely different channel.</p>
<h3>How it Works</h3>
<p>Whenever you view a web page, data from the web server is sent to your browser in <strong>plain text</strong> over the internet. Likewise, if you fill in a form on that web page and  click submit, your data from the form is sent back to the web server in plain text.</p>
<p>When you enter a secure web page, the data sent from the web server to your computer, and more importantly, any form data (such as your credit card details) sent back to the web server is <strong>encrypted</strong>.</p>
<p>The upshot of this is that if anyone managed to intercept your communications over a secured web connection, then they wouldn&#8217;t be able to gain access to your information, all they&#8217;d see is gobbledygook.</p>
<h3>How Secure is Secure</h3>
<p>So, you now know how to spot when you&#8217;re on a secure web page, and that your data is transmitted securely, but exactly how secure is secure?</p>
<p>According to one computer security expert, <a href="http://en.wikipedia.org/wiki/Gene_Spafford" target="_blank">Professor Gene Spafford</a> (guess what, he has a beard!), the level of security on secure web page communications is analogous to:</p>
<blockquote><p>&#8220;Using an armoured truck to transport rolls of pennies between someone on a park bench and someone doing business from a cardboard box.&#8221;</p></blockquote>
<p>What this means is that while <strong>in transit</strong>, your sensitive data is pretty <strong>secure</strong>. However, if your PC gets compromised by some internet virus or trojan, then your sensitive data could be hijacked before it even reaches the secure web connection, and you&#8217;d probably be none the wiser until you get your next credit card bill!</p>
<p>Likewise, the other potential source for compromise is the receiving computer or web server. There&#8217;s really not much you can do about this other than trust that a reputable online credit card processor should have taken all reasonable precautions to secure their servers.</p>
<p>Any security system is only as secure as the weakest link in the chain. So it&#8217;s vitally important to make sure that your PC isn&#8217;t a weak link by installing and regularly updating <strong>anti-virus</strong>, <strong>anti-spam</strong> and <strong>firewall</strong> software.</p>
<h3>Certificates of Trust</h3>
<p>To help gain your trust in secure websites, website owners have an <strong><acronym title="Secure Socket Layer">SSL</acronym> certificate</strong> that is used as part of the encryption process. A reputable website will have this certificate <strong>signed</strong> by a third party, such as <a href="http://www.verisign.com/" target="_blank">Verisign</a>, to prove that they are who they say they are.</p>
<p>By clicking (or double clicking, depending on your web browser) the little padlock symbol in your browser on a secure web page, you can view the details of the website&#8217;s SSL certificate to confirm its authenticity and validity.</p>
<p>To help with your piece of mind while surfing the web, newer versions of web browsers will warn you if a certificate is <strong>not registered</strong>, or is <strong>out of date</strong> when you visit secure web pages. This is another reason for you to keep your computer updated with it&#8217;s latest security patches, so that you can benefit from these latest safety features.</p>
<h3>Safe Surfing</h3>
<p>So, in summary, to give you a little extra confidence when making online purchases always check for the following before entering your credit card details:</p>
<ul>
<li>Look for <strong>https://</strong> at the beginning of the URL</li>
<li>Look for a small <strong>padlock icon</strong> in your browser</li>
<li><strong>Click the padlock</strong> icon to check the <strong>certificate&#8217;s authentication</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/how-secure-is-a-secure-web-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a MAC Address?</title>
		<link>http://www.richardfarrar.com/what-is-a-mac-address/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=what-is-a-mac-address</link>
		<comments>http://www.richardfarrar.com/what-is-a-mac-address/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 18:39:04 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[MAC]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/what-is-a-mac-address/</guid>
		<description><![CDATA[In setting up a computer on the internet you may come across the term MAC address, but what exactly is one and why do you need to know it?]]></description>
			<content:encoded><![CDATA[<p><strong><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 10px 10px 0px; border-right-width: 0px" src="http://www.richardfarrar.com/wp-content/uploads/2008/09/macaddress.jpg" border="0" alt="mac address" width="150" height="112" align="left" /> In stumbling around your computer&#8217;s operating system, or when setting up an internet router for your broadband access, you may have come across the term MAC address. It&#8217;s obviously pretty important for getting things talking on the internet, but what exactly is a MAC address?</strong></p>
<p>Well, in computer terms, a MAC address certainly isn&#8217;t the address of your local fast food joint where you can order an oversized cheeseburger and large fries, but it is fundamental to the operation of your computer on a network.</p>
<p>So if you&#8217;d like to know a bit more about the ins and outs of a computer&#8217;s MAC address, rather than the contents of a McDonald&#8217;s deep fat fryer, then scroll down on your McMouse, or tap on your McKeyboard and read all about it.</p>
<p><span id="more-108"></span></p>
<h3>Hardware Serial Numbers</h3>
<p>The term <strong>MAC</strong> is an acronym for <strong>M</strong>edia <strong>A</strong>ccess <strong>C</strong>ontrol. A MAC address is also sometimes referred to as an <strong>E</strong>thernet <strong>H</strong>ardware <strong>A</strong>ddress (EHA), <strong>hardware address</strong>, adapter address or <strong>physical address</strong>.</p>
<p>A <strong>MAC address</strong> is essentially a unique, fixed <strong>serial number</strong> of your computer&#8217;s <strong>network card </strong>in a globally agreed format. This network card can also be referred to as a Network adapter or <strong>N</strong>etwork <strong>I</strong>nterface <strong>C</strong>ard (NIC).</p>
<h3>Globally Unique Addresses</h3>
<p>For practical purposes, the MAC address of a computer&#8217;s network card is <strong>globally unique</strong> and fixed to the network card in the computer. If your computer has more than one network card, then each network card will have it&#8217;s own individual MAC address.</p>
<p>If a network card were swapped from one computer to another, then the MAC address would follow the network card to the new computer.</p>
<h3>Network Cards and Networks</h3>
<p>Network cards in computers are used to send data from one computer to another over a network, either via a local office network for example, known as a <strong>L</strong>ocal <strong>A</strong>rea <strong>N</strong>etwork (LAN), or across an much bigger external network like the internet,  known as a <strong>W</strong>ide <strong>A</strong>rea <strong>N</strong>etwork (or, you guessed it, a WAN).</p>
<p>Network cards can either use physical cables (traditionally <strong>CAT5</strong> with standard <strong>RJ45</strong> connectors that look a bit like big telephone connectors), or they can use wireless (WiFi for example) to transmit their data. In either case, wired or wireless, the network card will have a unique MAC address associated with it.</p>
<h3>MAC Addresses and IP Addresses</h3>
<p>When we configure computers to talk to each other over a network, we tend to use  <strong><a href="http://www.richardfarrar.com/what-is-an-ip-address/" target="_blank">IP addresses</a></strong> as their primary means of identification. These IP addresses are a bit like the computer equivalent of telephone numbers. If you&#8217;re not familiar with IP addresses then my previous post, interestingly titled <strong><a href="http://www.richardfarrar.com/what-is-an-ip-address/" target="_blank">What is an IP Address?</a></strong> may help.</p>
<p>MAC addresses are the nuts and bolts of what makes the IP addressing system work and are more fundamental to the operation of the internet and the transmission of data between machines than IP addresses, as they uniquely identify each <strong>physical data point</strong> on a network.</p>
<p>The relationship between an IP address and a MAC address is a bit like in a car, where the car&#8217;s registration or <strong>licence plate</strong> is like a computer&#8217;s <strong>IP address</strong>. It uniquely identifies the vehicle, but isn&#8217;t too difficult to change if required (for legitimate or illegitimate purposes). Similarly with computers, it&#8217;s quite easy to change an IP address.</p>
<p>A <strong>MAC address</strong> is a bit like the <strong>serial number</strong> of the vehicle&#8217;s <strong>engine</strong>. An engine is closely tied to the vehicle, although it&#8217;s serial number is not used as the vehicle&#8217;s primary identifying method. Like a MAC address, an engine&#8217;s serial number is much more difficult to change than the vehicle&#8217;s licence plate.</p>
<p>A further similarity with MAC addresses is that if the engine is put in a new vehicle, then the serial number follows the engine, and doesn&#8217;t stay with the old vehicle.</p>
<h3>Wireless Security</h3>
<p>So where are you likely to come across MAC addresses in your every day use of a computer?</p>
<p>Well, you&#8217;ve probably heard a lot about securing wireless networks to prevent unwanted users from piggy backing onto them and surfing for free. One way of doing this is to set up the <strong>W</strong>ireless <strong>E</strong>ncryption <strong>P</strong>rotocol (WEP) on your router to encrypt all of your wireless data.</p>
<p>Another way often offered by wireless routers is to make the router only available to <strong>known MAC addresses</strong>. To use this method you need to add a list of authorised MAC addresses to your router or broadband modem. These MAC addresses should be the addresses of the wireless network cards in the computers that you want to have access to the internet. Your wireless router should give you instructions on how to do this.</p>
<h3>Format of a MAC Address</h3>
<p>So, what does a MAC address look like? Well, the standard form for MAC addresses is six groups of two hexadecimal digits (characters <strong>0 &#8211; 9</strong> and <strong>A &#8211; F</strong>) separated by a hyphen (-) or a colon (:):</p>
<blockquote><p><strong><em>12 &#8211; 34 &#8211; 56 &#8211; 78 &#8211; 90 &#8211; AB</em></strong></p></blockquote>
<p>or</p>
<blockquote><p><strong><em>12 : 34 : 56 : 78 : 90 : AB</em></strong></p></blockquote>
<h3>Discovering Your MAC Address</h3>
<p>Unfortunately it isn&#8217;t obvious where to find your MAC address in case you need it. If you&#8217;re running a Windows PC, you can find it by going to <strong>Start</strong>, <strong>Programs</strong>, <strong>Accessories</strong> and open the <strong>Command Prompt</strong> program.</p>
<p>A new black window will open, in which you will need to type <strong>ipconfig /all</strong> and then press the &lt;<em>enter&gt;</em> key (see highlighted below). The window should then display a whole load of information about all of the network cards in your machine.</p>
<p>The MAC address for each network adapter is displayed as its <strong>physical address</strong> (see highlighted below) in this case <strong><em>00-0D-88-9C-C6-59</em></strong>.</p>
<p><a href="http://www.richardfarrar.com/wp-content/uploads/2008/09/ipconfig.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.richardfarrar.com/wp-content/uploads/2008/09/ipconfig-thumb.jpg" border="0" alt="ipconfig /all" width="554" height="399" /></a></p>
<h3>
<blockquote><p><strong><em></em></strong></p></blockquote>
<p>Room for Expansion</h3>
<p>The MAC addressing system can cater for a pretty large number of uniquely different addresses, or to be precise:</p>
<blockquote><p>281,474,976,710,656</p></blockquote>
<p>That&#8217;s an awful lot of network cards, but to put this in perspective, the current estimated population of the planet is just over 6.8 billion:</p>
<blockquote><p>6,843,400,000</p></blockquote>
<p>This means we could all have over <strong>41,000</strong> computers each, with every single computer having a globally unique address on it&#8217;s network card. I just haven&#8217;t quite figured out where I&#8217;m going to put all of mine yet; perhaps Belgium&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/what-is-a-mac-address/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>What is CAPTCHA?</title>
		<link>http://www.richardfarrar.com/what-is-captcha/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=what-is-captcha</link>
		<comments>http://www.richardfarrar.com/what-is-captcha/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 18:24:48 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[anti-spam]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/what-is-captcha/</guid>
		<description><![CDATA[If you've ever wondered why online forms have pictures of distorted letters for you to spell, then wonder no longer, it's all part of the battle against spam.]]></description>
			<content:encoded><![CDATA[<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 10px 10px 0px; border-right-width: 0px" height="102" alt="CAPTCHAs" src="http://www.richardfarrar.com/wp-content/uploads/2008/08/captchas.jpg" width="150" align="left" border="0"/><strong>Whenever you fill in an online form, you are invariably confronted with a picture of horribly distorted words that you are asked to spell. Are these web hosts just needing a little extra help with their spelling, or is there something more subtle going on?</strong></p>
<p>Filling in online forms nowadays can be a bit of a mission. Not content with forcing you to fill out pages of obscure questions about your first pet etc., before allowing you to hand over your hard earned cash to buy the website&#8217;s latest offering, web hosts are now also asking you to decipher increasingly cryptic pictures of words before allowing you to continue.</p>
<p>Is this just a global conspiracy to test the online world&#8217;s spelling abilities, or is there a deeper, more important meaning?</p>
<p><span id="more-89"></span><br />
<h3>Definition of CAPTCHA</h3>
<p>As the word <acronym title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</acronym> is not one in common usage outside of bearded computer geek circles, perhaps it&#8217;s first wise to look at the derivation of the word prior to examining it&#8217;s implementations and implications.</p>
<p><acronym title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</acronym> is a made up acronym for <em><b>C</b>ompletely <b>A</b>utomated <b>P</b>ublic <b>T</b>uring test to tell <b>C</b>omputers and <b>H</b>umans <b>A</b>part</em>.</p>
<h3>Turing Test</h3>
<p>The above definition is hopefully fairly self explanatory apart from bit about the <strong>Turing Test</strong>. This is obviously fundamental to what CAPTCHA is all about, so what is a Turing Test?</p>
<p>The Turing Test was developed in 1950 by the British computer scientist <a href="http://en.wikipedia.org/wiki/Alan_Turing" target="_blank"><strong>Alan Turing</strong></a> (sometimes referred to as the father of modern computing) and was designed to test a computer&#8217;s ability to <strong>demonstrate intelligence</strong>, or not, as the case may be.</p>
<p>Putting this together with the definition of CAPTCHA above, we should now have a working understanding of what CAPTCHA is; essentially a <strong><em>computer generated test to check that the response has been supplied by a human and NOT another computer</em></strong>.</p>
<p>These automatic tests work on the basic principle that computers are intrinsically stupid, they just do exactly what they&#8217;re told and can&#8217;t think for themselves.</p>
<p>As such a CAPTCHA test is a simple <strong>challenge and response</strong> test, where the website&#8217;s computer server asks the user a question (the <strong>challenge</strong>) to which a valid answer (the <strong>response</strong>) is required before the user is allowed to proceed.</p>
<p>The key factor in this being that the sort of question asked must not easily be guessed or worked out by another computer system, indicating that the response must have come from a human.</p>
<h3>Anti-Spam</h3>
<p>So why do we need these CAPTCHA tests whenever we&#8217;re asked to complete an online form?</p>
<p>Well, unfortunately some people out there have ulterior motives and set up automated computer systems (called <strong>bots</strong>) to logon to websites, creating bogus accounts to promote their dubious products or activities; commonly referred to as <strong>SPAM</strong>.</p>
<p>By implementing these CAPTCHA tests, these <strong>spam bots</strong> can be stopped in their tracks at the first hurdle.</p>
<h3>Cryptic Pictures</h3>
<p><img style="margin: 0px" height="75" alt="CAPTCHA image" src="http://www.richardfarrar.com/wp-content/uploads/2008/08/capture.jpg" width="224" align="right" border="0"/>While CAPTCHA tests can take on many forms, by far the most common is the <strong>cryptic picture</strong>, where a distorted image of a series of characters is presented to you and you are asked to enter the characters you see in the box provided. </p>
<p>The computer system asking the question knows what characters it displayed, so can match your answer accordingly. If you get it correct, you are allowed to proceed, collecting £200 if you pass go!</p>
<p>While recognising deformed characters is fairly straightforward to us mere mortals, fortunately computers struggle with this, thus providing us with a useful weapon against the spammers.</p>
<h3>Audio CAPTCHA </h3>
<p>While most CAPTCHA systems rely on visual clues, some now also utilise audio CAPTCHAs, where you listen to a spoken audio recording with background noise and are asked to type in the characters you hear.</p>
<p>This type of system is a useful addition to the standard visual CAPTCHA systems, enabling visually impaired users equal <strong>accessibility</strong> to the websites in question.</p>
<p align="center"><a href="http://www.captcha.net/" target="_blank"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 10px 10px 0px; border-right-width: 0px" height="125" alt="recaptcha example" src="http://www.richardfarrar.com/wp-content/uploads/2008/08/recaptcha-example.gif" width="314" border="0"/></a></p>
<p>A good example of this type of accessible an CAPTCHA system (image shown above) can be found at <a href="http://www.captcha.net" target="_blank">www.captcha.net</a>.</p>
<h3>Ongoing Battle</h3>
<p>While it may be a pain in the backside to answer these CAPTCHA questions when you have to fill in online forms, unfortunately it&#8217;s become a necessary evil in the constant battle against spam.</p>
<p>Think of it this way, every time you answer a CAPTCHA question, you&#8217;re reaffirming your supremacy over those dumb computers and helping in the battle against spam!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/what-is-captcha/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Anatomy of a URL</title>
		<link>http://www.richardfarrar.com/anatomy-of-a-url/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=anatomy-of-a-url</link>
		<comments>http://www.richardfarrar.com/anatomy-of-a-url/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 12:55:47 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/anatomy-of-a-url/</guid>
		<description><![CDATA[While you probably use URLs everyday, but may know them as web addresses, do you know what all the different parts of the URL actually mean?]]></description>
			<content:encoded><![CDATA[<p><strong><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 5px 10px 10px 0px; border-right-width: 0px" height="99" alt="Website URL" src="http://www.richardfarrar.com/wp-content/uploads/2008/07/http.jpg" width="150" align="left" border="0"/> While the term <acronym title="Uniform Resource Locator">URL</acronym> may not be familiar to everyone, the chances are that you use them everyday without knowing, as a URL is essentially just a web address. But what do all the different parts of a URL actually mean?</strong></p>
<p>URLs are things we use every day in our general surfing of the web, but they are something that many of us will never stop to think about too much.</p>
<p>So partly in response to a request left in a comment from a reader, <a href="http://www.richardfarrar.com/learning-to-blog-or-blogging-to-learn/#comment-29" target="_blank">Joebunny</a>, and partly as a prelude to a forthcoming post that will require a general understanding of URLs, I hope to explain, without going into too much detail, what a URL is all about.</p>
<p><span id="more-81"></span><br />
<h3>URLs and Web Addresses</h3>
<p>For those of you not familiar with the term <acronym title="Uniform Resource Locator"><strong>URL</strong></acronym>, it&#8217;s really just <em>geek speak</em> for an <strong>address</strong> pointing to an <strong>internet resource</strong>, where such resources can be a <em>web page</em>, <em>e-mail account</em> or <em>file server</em> for example.</p>
<p>The term URL is actually an acronym for <strong>Uniform Resource Locator</strong>, i.e. a standard way for finding/addressing resources on the internet. The most common type of URL encountered, and probably most familiar, is a web address, and is the one that I&#8217;ll focus on in this article.</p>
<h3>Anatomy of a Web Address</h3>
<p>Most of you should be pretty familiar with the format of an average web address, for example (excuse the shameless plug):</p>
<blockquote><p><strong><a title="http://www.richardfarrar.com/archives/" href="http://www.richardfarrar.com/archives/" target="_blank">http://www.richardfarrar.com/archives/</a></strong></p>
</blockquote>
<p>If we break up the above URL into its component parts, we can see how common web addresses are constructed and which parts are important:</p>
<h4>http://</h4>
<p>This is the first component at the header of every URL and is called the <strong>scheme</strong>. This component tells us what type of internet resource we are looking for e.g. a web site or file server. In this example, <em>http://</em> tells us, and the web browser, that we are looking for a web page.</p>
<p>For the <em>uber geeks</em> amongst you, <acronym title="Hyper Text Transfer Protocol"><strong>http</strong></acronym> stands for <strong>Hyper Text Transfer Protocol</strong>, although that&#8217;s not really important to the present discussion. However, this is an important part of a web address and has to be included for everything to work properly.</p>
<p>If you type a web address into most web browsers without the <strong>http://</strong>, the web browser will automatically add it for you. So while it&#8217;s a critical part of the web address from the technical nuts and bolts point of view, it&#8217;s a bit superfluous when you&#8217;re quoting a web address to someone.</p>
<p>Examples of some common URL schemes are:</p>
<ul>
<li><strong>http</strong> &#8211; Hyper Text Transfer Protocol <em>(web page)</em>  </li>
<li><strong>https</strong> &#8211; Secure HTTP <em>(secure web page, e.g. online banking)</em>  </li>
<li><strong>ftp</strong> &#8211; File Transfer Protocol <em>(file servers)</em>  </li>
<li><strong>mailto</strong> &#8211; E-mail address</li>
</ul>
<h4>www.</h4>
<p>Pretty much most web addresses will be prefixed by <acronym title="World Wide Web"><strong>WWW</strong></acronym> , which stands for <strong>World Wide Web</strong>, indicating that the URL is for a website. However, unlike the <em>http://</em> component, this is <strong>not</strong> a technical requirement of a URL.</p>
<p>By way of example, the BBC&#8217;s news website does not use the <em>www</em> component:</p>
<blockquote><p><strong><a title="http://news.bbc.co.uk/" href="http://news.bbc.co.uk/" target="_blank">http://news.bbc.co.uk/</a></strong></p>
</blockquote>
<p>If you tried adding <em>www</em> to the above web address, it wouldn&#8217;t work. So while the <em>www</em> is an important part of the actual address,&nbsp; it isn&#8217;t a fundamental part of a URL.</p>
<p>In the above example the <em>news</em> part of the web address is called the <strong>sub domain</strong>, where <em>bbc.co.uk</em> is called the <strong>domain</strong> (more on this in a moment).</p>
<p>If a website <em>domain</em> were to be considered as a filing cabinet containing loads of web pages, then a <em>sub domain</em> could be considered as a draw in the filing cabinet containing web pages specifically about the sub domain or specific topic, <strong>news</strong> in the above example. </p>
<p>Out of interest, while the majority of website addresses are prefixed by the <em>www</em> component, you will often find that if it&#8217;s missed off, the web address will still work. For example try the following with the missing <em>www</em>:</p>
<blockquote><p><strong><a title="http://richardfarrar.com/archives/" href="http://richardfarrar.com/archives/" target="_blank">http://richardfarrar.com/archives/</a></strong></p>
</blockquote>
<p>Still works? Well it did when I checked it&#8230;</p>
</p>
<h4>richardfarrar.com/</h4>
<p>This part of the web address is called the <strong><a href="http://en.wikipedia.org/wiki/Domain_name" target="_blank">domain name</a></strong>. If nothing else is typed in after this it will take you to the website&#8217;s homepage.</p>
<p>A domain usually consists of a chosen name, <strong>richardfarrar</strong> in this example, which is called the <strong>second level domain</strong>, followed by one or more defined <strong><a href="http://en.wikipedia.org/wiki/Generic_top-level_domain" target="_blank">top level domains</a></strong> (TLD), .<strong>com</strong> in this example.</p>
<p>Top level domains are defined by international internet organisations, with certain TLDs only being allowed to be used by certain organisations. </p>
<p>Examples of top level domains are:</p>
<ul>
<li><strong>.net</strong> &#8211; intended for network providers  </li>
<li><strong>.org</strong> &#8211; organisations not matching other top level domains&nbsp; </li>
<li><strong>.gov</strong> &#8211; government departments  </li>
<li><strong>.mil</strong> &#8211; military organisations  </li>
<li><strong>.edu</strong> &#8211; educational organisations  </li>
<li><strong>.info</strong> &#8211; intended for informational websites  </li>
<li><strong>.biz</strong> -for use by businesses</li>
</ul>
<p>Some top level domains also include a following <a href="http://en.wikipedia.org/wiki/Country_code_top-level_domain" target="_blank">country code</a>, which are reserved for <strong>countries</strong> and <strong>independent territories</strong>, examples of which are: </p>
<ul>
<li><strong>.uk</strong> &#8211; United Kingdom  </li>
<li><strong>.ca</strong> &#8211; Canada  </li>
<li><strong>.de</strong> &#8211; Germany  </li>
<li><strong>.za</strong> &#8211; South Africa</li>
</ul>
<h5>archives/</h5>
<p>This is the final component of the website URL, which can lead you deep into the bowels of the website and may vary from a simple page or directory like the above, to pages buried deep within the website with horrendously long addresses.</p>
<h3>Expanding Internet</h3>
<p>While the above list of top level domains only contains a few examples of those currently available, the size a this list is soon set to explode with recent changes announced by the regulating internet authority (<acronym title="Internet Corporation for Assigned Names and Numbers">ICANN</acronym>) that relax the rules for top level domains, so keep your eye out for some fancy new web addresses in the future!</p>
<p>Hopefully that describes the basics of a web URL, so next time you type in a web address you&#8217;ll have a pretty good idea what it all means.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/anatomy-of-a-url/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>What are Bit Rates?</title>
		<link>http://www.richardfarrar.com/what-are-bit-rates/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=what-are-bit-rates</link>
		<comments>http://www.richardfarrar.com/what-are-bit-rates/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 12:01:24 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Podcasting]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://www.richardfarrar.com/?p=21</guid>
		<description><![CDATA[When people talk about MP3 files you often hear the term Bit Rate, so what is a bit rate?]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft alignnone size-thumbnail wp-image-26" style="float: left; margin-left: 10px; margin-right: 10px;" title="Compact Disc" src="http://www.richardfarrar.com/wp-content/uploads/2008/04/compact-disc-150x92.jpg" alt="Compact Disc Digital Audio" width="150" height="92" /><strong>When people talk about MP3 files and the like, you often hear the term </strong><strong>Bit Rate also mentioned, so what&#8217;s it all about?</strong></p>
<p>Until the mid 1980s, commercially purchased music was always in <strong>analogue </strong>format, be it typically vinyl or cassette. In late 1982, the arrival of the now ubiquitous <strong>compact disc</strong> (CD), co-developed by Sony and Philips, changed all that and revolutionised how we listen to music.</p>
<h3>Digitisation</h3>
<p>In order to create digital recordings such as CDs, the conventional analogue audio first has to be digitised. The process of <strong>digitisation </strong>takes the original audio source and chops it up into lots of thin slices. Each slice represents the volume of the audio source for a particular point in time. A digital number then stores the volume level of this slice on the CD. Each slice, or <strong>sample</strong> as it&#8217;s actually called, represents the level of the audio for a mere 23µs (23 millionths of a second).</p>
<p>To reconstitute the audio track, all of these samples are stuck together and the volume level of each sample is sent out to your speakers every 23µs (in the case of CDs). It&#8217;s a bit like slicing a loaf of bread and then squeezing all of the slices of bread together again to make it look like the original loaf. Not perfect, but if you squint, you&#8217;d never know that difference. CDs are very similar, because the slices are so thin, you don&#8217;t know the difference.</p>
<p><span id="more-21"></span></p>
<h3>Sample Rate</h3>
<p>The rate at which we take the samples and replay them is called the <strong>sample rate</strong>. For CDs, 44,100 samples are taken every second! Now, because we have to store the value of every sample, it follows that higher sample rates would require a lot more storage, which can become a problem. Conversely, a higher sample rate directly equates to a more accurate representation of the original signal, and therefore better audio quality. So, ultimately <strong>compromises </strong>have to be made and a 44,100 sample rate was deemed to be a sensible compromise when CDs were developed.</p>
<h3>Bit Rate</h3>
<p>Now we have an overview of sample rates, we are in a good position to discuss <strong>bit rates</strong>, as the two are inextricably linked. Each sample we discussed above is represented by a digital number and every digital number is made of digital bits; there&#8217;s the magic link! A <strong>bit </strong>is a single digit, either a one (1) or zero (0). In the case of our CD, each digital number comprises 16 bits, which allows numbers up to 65,563 to be stored; over 65,000 different volume levels!</p>
<p>As we have two ears, we need to store two sets of samples, one for each ear; <strong>stereo</strong>.</p>
<p>So, to calculate the bit rate for CD audio, we multiply our sample rate (44,100) by 2 (for stereo) and by 16 (the number of bits in our digital numbers):</p>
<p style="text-align: center;">44,100 x 2 x 16 = 1,411,200 bits per second (bps) = 1,411 <acronym title="Kilo Bits per Second">kbps</acronym></p>
<p style="text-align: left;">We have now calculated the bit rate for the standard CD, which turns out to be <strong>1,411 </strong><acronym title="Kilo Bits per Second"><strong>kbps</strong>.</acronym></p>
<h3>Compression</h3>
<p>If we used a 1 GB MP3 player to store music at the above bit rate for example, we would only be able to store 100 minutes of music; not very much! This is why MP3 was invented, as a way of reducing the amount of space that music needs when stored on a computer or music player by squashing, or <strong>compressing</strong>, the original CD audio data to save space. There are numerous compression systems available, with MP3 being the most popular, but they all aim to provide the same result; significantly reduce the audio file size.</p>
<p>How the compression works is somewhat beyond the scope of this article,  as it uses a lot of complicated <strong>mathematics </strong>to work out which bits of the music we can hear, and which bits we can&#8217;t. Essentially it saves space by not bothering to store the bits of the music that we can&#8217;t hear.  For example, if you have a Heavy metal band playing with the volume turned up to 11 and someone at the back of the stage taps on a triangle, you are unlikely to hear it.  So MP3 decides that the tour bus is too full and fires the triangle player, saving space and reducing the queue to the bathroom at the same time!</p>
<p>During this compression process, typically 90% of the data is thrown away, leaving file sizes about one tenth of the original size, which in turn means that your MP3 player (or iPod for the image conscious types) is able to store ten times the number of songs compared to if it had to store the original uncompressed CD data.</p>
<h3><span>Bit Rate Versus Quality</span></h3>
<p>Now that we have reduced our file size to approximately one tenth of its original size, we only have one tenth the number of samples and so consequently only have to send them out to our speaker system at one tenth the original rate, i.e. our bit rate is ten times slower. A typical bit rate for good audio quality would be around 128 <acronym title="Kilo Bits per Second">kbps</acronym> (kilo bits per second, or thousand bits per second), approximately one tenth of the bit rate for the standard CD.</p>
<p>Unfortunately compression system have limitations, the more data they throw away, the smaller the file size, the lower the bit rate, but the worse the audio quality, or to use the band analogy above, more and more members of the band get thrown off the bus, so there are less musicians to make the music.</p>
<p>So, we should now have an understanding of what bit rates are and their direct correlation with audio quality. As a useful guide line for the quality of different bit rates:</p>
<ul type="disc">
<li class="MsoNormal"><span>320 </span><acronym title="Kilo Bits per Second">kbps</acronym><span><acronym></acronym> &#8211; Almost indistinguishable from the original CD<br />
</span></li>
<li class="MsoNormal"><span>128 <acronym></acronym></span><acronym title="Kilo Bits per Second">kbps</acronym><span><acronym></acronym> &#8211; Reasonable audio quality, typical for MP3s</span></li>
<li class="MsoNormal"><span>64<acronym></acronym></span><acronym title="Kilo Bits per Second"> kbps</acronym><span><acronym></acronym> &#8211; Not recommended for music, but good for speech</span></li>
<li class="MsoNormal"><span>32<acronym><span style="font-family: "> </span></acronym></span><acronym title="Kilo Bits per Second">kbps</acronym><span><acronym></acronym> &#8211; Poor, often used to reduce web download times</span></li>
</ul>
<h3><span>Hear for Yourself</span></h3>
<p>If you&#8217;d like to hear for yourself the direct effect of bit rates on audio quality, check out the following demonstration MP3 tracks, courtesy of <a title="Silicon Bay Limited" href="http://www.siliconbay.co.uk/" target="_blank">Silicon Bay</a>:</p>
<ul type="disc">
<li class="MsoNormal"><span><a title="Example 128kbps MP3" href="http://www.siliconbay.co.uk/services/128kbps.mp3" target="_blank">128 kbps MP3</a> &#8211; MP3 track recorded at 128 <acronym></acronym></span><acronym title="Kilo Bits per Second">kbps</acronym><span><acronym></acronym> (<em>92kB</em>)</span></li>
<li class="MsoNormal"><span><a title="Example 64kbps MP3" href="http://www.siliconbay.co.uk/services/64kbps.mp3" target="_blank">64 kbps MP3</a> &#8211; MP3 track recorded at 64 <acronym></acronym></span><acronym title="Kilo Bits per Second">kbps</acronym><span><acronym></acronym> (<em>43kB</em>)</span></li>
<li class="MsoNormal"><span><a title="Example 32kbps MP3" href="http://www.siliconbay.co.uk/services/32kbps.mp3" target="_blank">32 kbps MP3</a> &#8211; MP3 track recorded at 32</span><acronym title="Kilo Bits per Second"> kbps</acronym><span> (<em>22kB</em>)</span></li>
</ul>
<p class="MsoNormal">
]]></content:encoded>
			<wfw:commentRss>http://www.richardfarrar.com/what-are-bit-rates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.siliconbay.co.uk/services/128kbps.mp3" length="93332" type="audio/mpeg" />
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.735 seconds -->
