<?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>tinyblob.com &#187; Coding</title>
	<atom:link href="http://www.tinyblob.com/category/geekery/programming-etc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tinyblob.com</link>
	<description>geekery and photographs</description>
	<lastBuildDate>Sun, 23 May 2010 17:26:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Threat level</title>
		<link>http://www.tinyblob.com/2008/08/07/threat-level/</link>
		<comments>http://www.tinyblob.com/2008/08/07/threat-level/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 09:36:31 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[doom]]></category>
		<category><![CDATA[threat level]]></category>

		<guid isPermaLink="false">http://www.tinyblob.com/?p=111</guid>
		<description><![CDATA[I had an idea a while ago for a bit of fun, and finally got around to making it: The UK&#8217;s current threat level, portrayed by Doomguy. For those that don&#8217;t know, in the classic and mighty first person shooter Doom your health is represented pictorially by an image of the main characters face, as [...]]]></description>
			<content:encoded><![CDATA[<p>I had an idea a while ago for a bit of fun, and finally got around to making it:<br />
<a href="http://tinyblob.com/threatlevel" title="current uk threat level portrayed by doomguy"><img src="http://www.tinyblob.com/wp-content/uploads/2008/08/threatstatus.jpg" alt="" title="threatstatus" width="478" height="381" class="alignnone size-full wp-image-118" /></a><br class="clear" /><br />
<a href="http://tinyblob.com/threatlevel" title="current uk threat level portrayed by doomguy">The UK&#8217;s current threat level, portrayed by Doomguy</a>.<br />
For those that don&#8217;t know, in the classic and mighty first person shooter <a href="http://en.wikipedia.org/wiki/Doom_%28video_game%29" title="Doom">Doom</a> your health is represented pictorially by an image of the main characters <a href="http://doom.wikia.com/wiki/Status_bar_face">face</a>, as you take damage his face makes it clear. So i wrote some code that scrapes the UK&#8217;s current threat level page, takes the current level, and displays the relevant image from one of the following:<br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face1.gif" alt="" title="face1" width="109" height="128" class="alignnone size-full wp-image-113" /><strong>Low</strong><br /><em>An attack is unlikely</em><br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face2.gif" alt="" title="face2" width="109" height="128" class="alignnone size-full wp-image-114" /><strong>Moderate</strong><br /><em>An attack is possible but not likely</em><br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face3.gif" alt="" title="face3" width="109" height="128" class="alignnone size-full wp-image-115" /><strong>Substantial</strong><br /><em>An attack is a strong possibility</em><br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face4.gif" alt="" title="face4" width="109" height="128" class="alignnone size-full wp-image-116" /><strong>Severe</strong><br /><em>An attack is highly likely</em><br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face5.gif" alt="" title="face5" width="109" height="128" class="alignnone size-full wp-image-117" /><strong>Critical</strong><br /><em>An attack is expected imminently</em><br class="clear" /><br />
The Home Office page that displays the threat level is fairly weighty and the scraping code isn&#8217;t all that efficient, so it&#8217;s fairly slow to load (though does cache the result for 10 mins or so), but considering this is just for fun i doubt i&#8217;ll re-write the backend. Sadly considering our current state of affairs it&#8217;s fair to say our threat level won&#8217;t be changing all that often either.<br />
What i may do, however, is make a nice new frontend for doomguy, in flash, with mouseovers for the other statuses &#8211; and animations. I also intend to write one for the American threat level.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tinyblob.com/2008/08/07/threat-level/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AWOL</title>
		<link>http://www.tinyblob.com/2007/08/25/awol/</link>
		<comments>http://www.tinyblob.com/2007/08/25/awol/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 01:24:13 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Observations]]></category>
		<category><![CDATA[abstract]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[bioshock]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[busy]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[dial up]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[martial arts]]></category>
		<category><![CDATA[peer to peer]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[traffic shaping]]></category>
		<category><![CDATA[variables]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://www.tinyblob.com/2007/08/25/awol/</guid>
		<description><![CDATA[I haven&#8217;t written in a couple of days because i&#8217;ve been pretty busy. This administration system i&#8217;m developing is due for a demo on Sunday morning, so i&#8217;m polishing it and sorting out a few additions. You know you&#8217;re working too hard when you start having an existential crisis over variable variables while sitting in [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t written in a couple of days because i&#8217;ve been pretty busy.<br />
This administration system i&#8217;m developing is due for a demo on Sunday morning, so i&#8217;m polishing it and sorting out a few additions.</p>
<p>You know you&#8217;re working too hard when you start having an existential crisis over variable variables while sitting in the first class section while zooming across the country in a train, and complaining that your code has become &#8220;way too abstract&#8221;.</p>
<p>Yeah.</p>
<p>The good news is that i have my collectors edition of Bioshock. Though there was some drama getting it. Since i had the day off work today i asked a friend to collect my copy. The shop enthused to me a few days ago that there would be absolutely no problem with that. But, you&#8217;ve guessed it, there was. Some employee didn&#8217;t want to hand it over, because my friend did not have a receipt. I had to call them from home to explain that i was the first pre-order. The line started with me, and that in the front of his ringbound pre-order folder he&#8217;d find a hand written slip with my name on it (<em>which he did</em>). So, long story short, i got my copy. Six inch big daddy statue and everything.</p>
<p>I haven&#8217;t played it yet, because i&#8217;ve been forcing myself to work. How&#8217;s that for willpower?</p>
<p>In other news, i&#8217;m really enjoying a show on The History Channel called <a href="http://www.history.com/minisites/humanweapon" title="Human Weapon">Human Weapon</a> and the latest episode airs tonight. Sadly that&#8217;s &#8220;tonight&#8221; in America. It&#8217;s already &#8220;tomorrow&#8221; (01:46) here in Scotland and i&#8217;m shattered. I don&#8217;t think i can stay up till it hits the torrent sites. Bleh. As you can discover by clicking the link i&#8217;ve provided, it&#8217;s a martial arts show &#8211; a subject i have much interest in.</p>
<p>Oh! My new connection got enabled today. Brand spanking new ADSL2. It&#8217;s rated for &#8220;up to 24mb&#8221; but at the moment i&#8217;m getting just over 16.</p>
<p>I spent ages staring at:<br />
<img src='http://www.tinyblob.com/wp-content/uploads/2007/08/waiting.jpg' alt='waiting for ADSL2' /><br />
<br class="clear" /></p>
<p>Till finally i got desperate and called up and asked for an ETA. I was told &#8220;sometime before 9pm&#8221;, which was lovely to hear except that i called at mid day, so i had anything up to 9 bloody hours to wait. Thankfully it kicked in just after lunch, and it wasn&#8217;t long before i saw:<br />
<img src='http://www.tinyblob.com/wp-content/uploads/2007/08/fastdownload.jpg' alt='downloading at high speed' /><br />
<br class="clear" /></p>
<p>That&#8217;s one point six MEGABYTES a second.</p>
<p>We&#8217;ve always suffered from slow connections here in the UK, because we were dominated by one telecoms company. In America there has always been a lot of competition to drive prices down, so people have been used to things like &#8220;free local calls&#8221; for as long as they can remember. We on the other hand got to enjoy extortionate prices and dial-up internet for wayyy too long. It all began to change when <a href="http://en.wikipedia.org/wiki/Ofcom" title="Ofcom">Ofcom</a> (<em>or possibly Oftel at the time</em>) forced British Telecom to give other companies access to it&#8217;s telephone exchanges. Other companies could step in and install their own equipment. Offer their customers new exciting things. Provide some much needed competition.</p>
<p>The horror of dial up still lingers in my mind during dark and stormy nights, no matter how much i try to suppress the memories. When MP3s became popular, and we were all stuck on 32kbps or 56kbps modems it was a luxury to download a couple of them. We were so used to the speeds that it was common parlance for us to refer to 1 megabyte of data as &#8220;five minutes&#8221;, seeing as that was how much time it would take to download. A three megabyte MP3 would have taken fifteen minutes to download. Though i shaved off quite a bit of time because i insisted on using external modems (<em>because internal &#8220;software&#8221; modems shared your CPU, and could cause a fair bit of slowdown.. or be affected themselves if you were doing something resource intensive like.. playing tomb raider 1</em>) and had a high end ISP.</p>
<p>The point i&#8217;m struggling to make is that these recollections are ingrained in me, and it still boggles my mind to think that i can now download in two seconds, something that would&#8217;ve taken fifteen minutes when i was in school.</p>
<p>Sick.</p>
<p>When we first had access to DSL in my area i signed us up to an ISP who happily stuck with their unlimited use policy. This was important to me because now that i had <strong>ultra fast broadband</strong> (<em>512kbps.. yeah</em>) i planned to download everything i had ever desired. We stuck with this company for years, slowly upgrading as the tech was available. Eventually we got to a claimed speed of 8mbps (<em>though in actuality we weren&#8217;t getting nearly that much bandwidth</em>), and with that speed bump i learned that the company had changed some things around. Most importantly their policy regarding usage. No longer did you have the luxury of &#8220;unlimited&#8221;, now things were very much limited. 13 gigabytes of downloads a month before they&#8217;d start imposing limits on your account. <strong>Thirteen gigabytes a month!!</strong> To put that into perspective i just checked my modem stats: The modem has been running for pretty much dead on 12 hours, and in that time i&#8217;ve downloaded just over 12 gigabytes.</p>
<p>So we&#8217;ve established that my monthly limit was lousy. But that wasn&#8217;t the only problem. The ISP also implemented strict traffic shaping. Traffic shaping is the notion of detecting and categorising different types of network use (<em>like web surfing, video use, peer to peer downloads, gaming, etc</em>) and allowing them certain percentages of bandwidth use. Web traffic for example would be given the largest percentage of the network traffic because it&#8217;s the most important, but peer to peer downloading would be given the smallest because it&#8217;s disruptive to other users and potentially criminal. It&#8217;s all well and good on paper, but it is absolutely disgusting to fire up a torrent and discover you&#8217;re getting something like 800 BYTES per second. Not megabytes, not even kilobytes.. just bytes. I could fax the data and get a better transfer rate.</p>
<p>To contrast that, here&#8217;s the transfer rate i got in bittorrent earlier today:<br />
<img src='http://www.tinyblob.com/wp-content/uploads/2007/08/fastbt.jpg' alt='fast bittorrent' /><br />
<br class="clear" /></p>
<p>Yeah. It&#8217;s a big difference.</p>
<p>I&#8217;m rediscovering what it&#8217;s like to have a bit of freedom on the internet. I can download new game demos on my Xbox 360 without feeling guilty. I can watch streaming videos. I can download linux distributions. Freedom.</p>
<p>I got a bit carried away with my ranting here, it&#8217;s 02:21 and i really should be sleeping, this was only going to be a tiny quick post. Heh.</p>
<p>Goodnight.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tinyblob.com/2007/08/25/awol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Management Systems</title>
		<link>http://www.tinyblob.com/2007/08/20/content-management-systems/</link>
		<comments>http://www.tinyblob.com/2007/08/20/content-management-systems/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 17:59:23 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Observations]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[analogue]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[content management system]]></category>
		<category><![CDATA[cyberspace]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[firearms]]></category>

		<guid isPermaLink="false">http://www.tinyblob.com/?p=5</guid>
		<description><![CDATA[So i&#8217;m working on a Content Management System for a small business startup. I&#8217;m not really going to go into any detail about who and what because it&#8217;s none of your business. I am however going to tell you about some of my thoughts on the subject. I love administration systems, always have. For some [...]]]></description>
			<content:encoded><![CDATA[<p>So i&#8217;m working on a Content Management System for a small business startup. I&#8217;m not really going to go into any detail about who and what because it&#8217;s none of your business. I am however going to tell you about some of my thoughts on the subject.</p>
<p>I love administration systems, always have. For some reason i&#8217;m wired to really appreciate running systems and services. Providing resources from a technical perspective has <strong>always</strong> appealed to me. I&#8217;ve run servers, worked on games, developed websites and set up infrastructures.</p>
<p>To me it&#8217;s all about providing technical solutions to real-world problems. Digital solving analogue, cyberspace providing for meatspace. I enjoy a lot of things for similar reasons. I like firearms because they&#8217;re a technical solution to a very valid real world problem (<em>people may want to kill me, i need to kill them first</em>, you may not agree with the rationale, but it&#8217;s still a valid problem). I like engines because, again, they&#8217;re an example of humans using technological advances to conquer a pressing problem (<em>this horse is nowhere near fast enough!</em>). I read a very appropriate quote somewhere about flamethrowers being awesome because someone once sat and thought:</p>
<blockquote><p>I want to set someone on fire, but without being close to them.</p></blockquote>
<p>Awesome.</p>
<p>Anyway. I think i got a bit distracted there, you&#8217;ll notice i do that a lot.</p>
<p>Technology, ooh, Content Management Systems, that&#8217;s it. Yeah. So i&#8217;m working on this new CMS, and because the company it&#8217;s for work in an area that&#8217;s very close to my heart i&#8217;ve decided to do a good job on it. Not to say i don&#8217;t <strong>always</strong> do a good job.. Just that this time i&#8217;m doing a <strong>good job</strong>. I&#8217;ve changed my methodology a bit, and deployed some techniques that i&#8217;ve been meaning to get going for a long time.</p>
<p>I&#8217;ve been working on a form to add team members. It would&#8217;ve been very simple to make one big ugly plain HTML form with a load of fields and next to no descriptions.. But i didn&#8217;t do that. I spent considerable time and effort turning it into a <em>multi-page</em> form with validation. Good validation too, with appropriate notification and everything.</p>
<p><img src='http://www.tinyblob.com/wp-content/uploads/2007/08/progressbuttons.jpg' alt='progress buttons' />I even devoted a bunch of time to getting the simple progress indicator buttons the way i wanted them. It&#8217;s not often i&#8217;m inspired enough to let the user know how much more they have to do ;).</p>
<p>I&#8217;m happy with the way it&#8217;s been going. Really happy.</p>
<p>Which is kind of good considering i have like two days to finish it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tinyblob.com/2007/08/20/content-management-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
