<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Shane&#039;s blog</title>
	<atom:link href="http://shamess.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shamess.wordpress.com</link>
	<description>My mind dump</description>
	<lastBuildDate>Sun, 28 Mar 2010 15:48:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shamess.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Shane&#039;s blog</title>
		<link>http://shamess.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shamess.wordpress.com/osd.xml" title="Shane&#039;s blog" />
	<atom:link rel='hub' href='http://shamess.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The PHP-MySQL programming loop&#8230;</title>
		<link>http://shamess.wordpress.com/2010/03/28/the-php-mysql-programming-loop/</link>
		<comments>http://shamess.wordpress.com/2010/03/28/the-php-mysql-programming-loop/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 15:48:02 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=888</guid>
		<description><![CDATA[Seriously. I hate writing applications that consist entirely of // get result set with mysql_query // check if there are any results // loop through each result // output its data // no results? // output message saying so Once you&#8217;ve mastered that you can get hundreds of freelance jobs and securely say you have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=888&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Seriously. I hate writing applications that consist entirely of</p>
<pre>// get result set with mysql_query
//  check if there are any results
     //  loop through each result
          //  output its data
//  no results?
     //  output message saying so</pre>
<p>Once you&#8217;ve mastered that you can get hundreds of freelance jobs and securely say you have the prerequisite skills. It&#8217;s just so dull after writing it a hundred thousand times. Oh, that and</p>
<pre>//  has this form field been set?
     //  yes, update database</pre>
<p>That&#8217;s everything. I want something more interesting. I expect this is why Rails was made because someone got sick of doing this.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/888/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=888&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/03/28/the-php-mysql-programming-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>What I&#8217;ve Been Doing With My Days</title>
		<link>http://shamess.wordpress.com/2010/03/24/what-ive-been-doing-with-my-days/</link>
		<comments>http://shamess.wordpress.com/2010/03/24/what-ive-been-doing-with-my-days/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 23:29:31 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=886</guid>
		<description><![CDATA[So I sucked at keeping An Idea A Day going. I mostly got distracted by other things, and also I think have a good select of ideas that can keep me busy for a while. Maybe it&#8217;s best to have a short-list of good ideas, than hundreds that I&#8217;ll never find time for. At the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=886&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I sucked at keeping <em>An Idea A Day</em> going. I mostly got distracted by other things, and also I think have a good select of ideas that can keep me busy for a while. Maybe it&#8217;s best to have a short-list of good ideas, than hundreds that I&#8217;ll never find time for. At the moment I&#8217;m mostly working on my <a href="http://leafcanvas.com">freelance management site</a> at the moment, and a few bits of client work.</p>
<p>I&#8217;m reading <a href="http://www.amazon.co.uk/gp/product/0091929784?ie=UTF8&amp;tag=allroundnews-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0091929784">ReWork</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.co.uk/e/ir?t=allroundnews-21&amp;l=as2&amp;o=2&amp;a=0091929784" border="0" alt="" width="1" height="1" /> at the moment, which is a business book that seems really agile (in the methodology sense). It&#8217;s really smart, and says things that I know will upset a lot of people. Saying things like &#8220;planning is guessing&#8221; flies in the face of everything I learnt when I was studying business. In fact, that entire course was about making product proposals based on project figures, which people like David Heinemeier Hansson (whose really become a hero of mine over the last few weeks) would say are completely useless.</p>
<p>The 37signals guys do genuinely seem to believe that everyone can achieve what they have though. I agree with them most of the time. But they talk about there being a million to one chance of the next start-up being a Google, or a Facebook, and they don&#8217;t really realise that <em>they&#8217;re</em> a Google, <em>they&#8217;re</em> a Facebook. They&#8217;re certainly making enough money to be up in those ranks. They talk about having <a href="http://37signals.com/svn/posts/2223-profits-freedom">freedom like anyone can have it</a>, but it&#8217;s easy to trust your employees with a credit card for expenses or possibly piss of a customer when you&#8217;re already earning millions of dollars a month. You don&#8217;t have those liberties as a new business who should be cherishing their customers, not telling them that they&#8217;re idiots. (Saying that, I love the &#8220;Let your customers outgrow you&#8221; essay.)</p>
<p>Reading the book has mostly gotten me excited about being the little guy, again. It talks about all the silver linings, like being able to entirely change my business model in one day, and being able to make mistakes whilst there aren&#8217;t millions of customers watching me. Being small means I&#8217;m restricted to keeping things simple, which is a key stepping stone to a good application, apparently.</p>
<p>I&#8217;m also reading a book on <a href="http://www.amazon.co.uk/gp/product/1444103148?ie=UTF8&amp;tag=allroundnews-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=1444103148">Marx</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.co.uk/e/ir?t=allroundnews-21&amp;l=as2&amp;o=2&amp;a=1444103148" border="0" alt="" width="1" height="1" />, just to get the views that are opposing mine.</p>
<p>The first thing I&#8217;ve realised is that people are really susceptible to opinions. Reading this book I&#8217;m coming across ideas that really make me rethink my ideas (even if they don&#8217;t change my opinions). It throws out simple phrases like &#8220;property is theft&#8221;. It barely explains what it means, so you&#8217;re left to think about it yourself. If it had been explained, I would have read that paragraph and carried on, but I had to stop and think &#8220;what do they mean by this?&#8221; It&#8217;s a pretty strong way to win someone over, once you have them thinking their own ideas up.</p>
<p>&#8220;Property is theft&#8221; has really struck a chord with me though. What gives you the right to own the land that your home is on? What gives oil companies the right to take the Earth&#8217;s resources and sell them as their own? It&#8217;s not fair that the richest man takes the most. An arbitrary currency does not entitle anyone to a finite resource which belongs to me by birth right as much as it does you.</p>
<p>I still strongly believe in my argument against that ideology &#8212; you&#8217;re entitled to what you <em>earn</em> &#8212; but it&#8217;s interesting nonetheless to think about these things.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/886/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=886&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/03/24/what-ive-been-doing-with-my-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.co.uk/e/ir?t=allroundnews-21&#38;l=as2&#38;o=2&#38;a=0091929784" medium="image" />

		<media:content url="http://www.assoc-amazon.co.uk/e/ir?t=allroundnews-21&#38;l=as2&#38;o=2&#38;a=1444103148" medium="image" />
	</item>
		<item>
		<title>#13: AI Ant Farm</title>
		<link>http://shamess.wordpress.com/2010/02/17/13-ai-ant-farm/</link>
		<comments>http://shamess.wordpress.com/2010/02/17/13-ai-ant-farm/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 22:37:13 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=878</guid>
		<description><![CDATA[I was thinking about making an ant farm earlier, and then realise it&#8217;d be weird if they escaped. Instead though, it shouldn&#8217;t be too hard to create an AI for ants. I doubt they have much of a wide activity set that it&#8217;d be too hard. I&#8217;d have to read a lot about ant behaviour [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=878&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was thinking about making an ant farm earlier, and then realise it&#8217;d be weird if they escaped. Instead though, it shouldn&#8217;t be too hard to create an AI for ants. I doubt they have much of a wide activity set that it&#8217;d be too hard. I&#8217;d have to read a lot about ant behaviour in order to do this though. Oddly, that doesn&#8217;t put me off too much.</p>
<p>Could be an interesting weekend project.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/878/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=878&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/17/13-ai-ant-farm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#12: Life achievements</title>
		<link>http://shamess.wordpress.com/2010/02/16/12-life-achievements/</link>
		<comments>http://shamess.wordpress.com/2010/02/16/12-life-achievements/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 22:29:47 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=875</guid>
		<description><![CDATA[Today was supposed to be a busy day for me, but it mostly turned into sleeping in and only getting to the library at five pm, rather than the nine am I wanted. When I got there I only did one part of the work I wanted, and got stuck when I was trying to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=875&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today was supposed to be a busy day for me, but it mostly turned into sleeping in and only getting to the library at five pm, rather than the nine am I wanted. When I got there I only did one part of the work I wanted, and got stuck when I was trying to centre a JLabel&#8230; I was back home by seven.</p>
<p>I think the definite biggest hit to today&#8217;s motivation was not getting up on time. It just pushed everything back a few hours, and once your schedule is kicked off course by that much you tend to think &#8220;meh, what&#8217;s another hour later going to change?&#8221; Getting up on time is tomorrows aim in that case. It seems so petty, and childish though. Some people have to get up at four am to get to work on time. My sometimes getting up to eleven o&#8217;clock is just horrible.</p>
<p>It would be better if there was some kind of motivation. A website with a Lost input-the-number-every-108-minutes type function. Not every 108 minutes, but rather every morning, before 0830 (and then again at 0900 to make sure you&#8217;re actually up). I might do that right now&#8230;</p>
<p>There needs to be some kind of reward at the end though. I&#8217;m not too sure what that could be. It can&#8217;t cost me any money, but must somehow give that minireward feeling that I get from WoW&#8230;</p>
<p>Oh, achievements!</p>
<p>This wasn&#8217;t going to be a post for my Idea A Day, but I guess I&#8217;ll make it so. A website in which you get achievements for things that are to the betterment of your life. &#8220;Get up everyday for two weeks before nine am.&#8221; (Described above.) &#8220;Go camping in the Lake District.&#8221; (Tracked by GPS.) &#8220;Be sociable! Spend more than an hour in six different places in a week.&#8221; (GPS again.)</p>
<p>I&#8217;m sure there are others. They don&#8217;t have to be provable always; although there&#8217;s a tiny competitive part to it, I just like collecting achievements.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/875/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=875&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/16/12-life-achievements/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Weekend project taking longer than thought&#8230;</title>
		<link>http://shamess.wordpress.com/2010/02/15/weekend-project-taking-longer-than-thought/</link>
		<comments>http://shamess.wordpress.com/2010/02/15/weekend-project-taking-longer-than-thought/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:36:16 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=873</guid>
		<description><![CDATA[Because it&#8217;s one I&#8217;ll probably use the most, I&#8217;m currently working on the TV tracker I described. Mostly though, it turned into me just adding more to my standard PHP template that I use for most my projects. It hadn&#8217;t been updated in a while, and I&#8217;ve added more functionality that takes the pain out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=873&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Because it&#8217;s one I&#8217;ll probably use the most, I&#8217;m currently working on the <a href="http://blog.shamess.info/2010/02/02/idad-tv-tracker/">TV tracker</a> I described. Mostly though, it turned into me just adding more to my standard PHP template that I use for most my projects. It hadn&#8217;t been updated in a while, and I&#8217;ve added more functionality that takes the pain out of starting up a new PHP project (which will probably eventually turn into my <a href="http://blog.shamess.info/2010/02/09/7-tables-to-design/">Rails for PHP like idea</a>).</p>
<p>Since I ended up playing World of Warcraft this weekend (ugh), I didn&#8217;t get much done on it. I&#8217;m planning on adding to it during this week though, and releasing the code once it&#8217;s in a releasable state.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/873/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/873/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/873/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/873/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/873/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/873/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/873/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/873/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/873/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/873/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/873/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/873/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/873/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/873/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=873&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/15/weekend-project-taking-longer-than-thought/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#11: An MMO with an Economy</title>
		<link>http://shamess.wordpress.com/2010/02/15/11-an-mmo-with-an-ecconomy/</link>
		<comments>http://shamess.wordpress.com/2010/02/15/11-an-mmo-with-an-ecconomy/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:24:41 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=871</guid>
		<description><![CDATA[This probably isn&#8217;t something people want when they&#8217;re playing a game, but I think it would be cool if there was an MMO with finite resources. The world is generated once, and then not changed again. This ore mine has six thousand tonnes of ore, and once that&#8217;s all been mined, it&#8217;ll make no more. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=871&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This probably isn&#8217;t something people want when they&#8217;re playing a game, but I think it would be cool if there was an MMO with finite resources. The world is generated once, and then not changed again.</p>
<p>This ore mine has six thousand tonnes of ore, and once that&#8217;s all been mined, it&#8217;ll make no more.</p>
<p>Mobs are &#8220;born&#8221; at the beginning of the world, Creationist styles, and they can mate and produce more. But once they&#8217;re all killed, that&#8217;s that species extinct. Maybe a talent tree could lead to taming some pets, as fighters, or as live stock where they can be bred. Environmentalists might spring up, protecting habitats of animals.</p>
<p>Players can build things in each sector of land, but they never truly own it. It can be taken away by force just like it can be in real life. Maybe a guild of players will get paid in exchange for defending the land?</p>
<p>There wouldn&#8217;t be any leveling, per say. The aim would just be to earn as much as you can, gain as much land as you can. Become King? Or maybe a democracy could happen.</p>
<p>Player death should mean something. Something extreme. Both to inspire people to live, and also to not take life away. When the stakes are high, a person will be less likely to go and attack people randomly just to be a dick. If they stand to die, and lose all their stats, money, items, and property maybe they&#8217;ll think twice.</p>
<p>It&#8217;ll be a cool experiment in social politics, in a world where your property actually means something. If you lose your unique Amulet of +10 Health, you can&#8217;t just go and do another rinse and repeat quest. That was the only one in the game.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/871/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/871/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/871/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/871/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/871/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/871/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/871/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/871/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/871/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/871/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/871/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/871/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/871/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/871/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=871&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/15/11-an-mmo-with-an-ecconomy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#10: Cloud Sourced iTunes</title>
		<link>http://shamess.wordpress.com/2010/02/12/10-cloud-sourced-itunes/</link>
		<comments>http://shamess.wordpress.com/2010/02/12/10-cloud-sourced-itunes/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 22:40:35 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=869</guid>
		<description><![CDATA[Recently, I got a HTC Hero. It&#8217;s a beautiful smart phone. I managed to get my contract with unlimited data (well, 750Mb fair usage) and that&#8217;s made me start thinking more about just storing my media online, and streaming it when I need it. Things will obviously be cached, so I figure my album or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=869&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I got a HTC Hero. It&#8217;s a beautiful smart phone. I managed to get my contract with unlimited data (well, 750Mb fair usage) and that&#8217;s made me start thinking more about just storing my media online, and streaming it when I need it. Things will obviously be cached, so I figure my album or two shouldn&#8217;t take me too close to that.</p>
<p>I think it&#8217;d be fun and useful to recreate the iTunes experience, just for a mobile device in an online environment (browser-based). Different to Spotify because I already own the media, and don&#8217;t want to pay a monthly fee. It&#8217;d just be my personal use of DRM-free media I have. My library would not be publicly available, or usable by other users.</p>
<p>I&#8217;m not too sure on how I could prove that the user owns the song though, and didn&#8217;t just illegally download it before uploading it. If this were ever to be a popular service, I&#8217;d have to have lawyers and people look into that. Meanwhile, it&#8217;ll just be me using it and a few close friends so I can make sure none of them are breaking any copyright.</p>
<p>Not just music media though &#8211; podcasts too. They could just be steamed from the server they come from. The service would have to be able to remember where I left off listening to the podcast though, since I rarely finish Geekbox in one sitting for instance.</p>
<p><em>Update:</em> I found <a href="http://listen.googlelabs.com/">Google Listen</a>! It seems a bit odd at the moment, but I&#8217;m sure that&#8217;s just me getting used to it. I wish it had a web interface though&#8230;</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/869/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=869&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/12/10-cloud-sourced-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#9: SMS API (UK)</title>
		<link>http://shamess.wordpress.com/2010/02/11/9-sms-api-uk/</link>
		<comments>http://shamess.wordpress.com/2010/02/11/9-sms-api-uk/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 19:38:22 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=867</guid>
		<description><![CDATA[I know that sending an SMS from my phone to another phone costs Orange almost nothing. Orange to another network probably doesn&#8217;t touch a foreign mast (I expect that data is just sent via Internet, a much cheaper way, and it keeps load of the masts) during the network transmission (it obviously uses a mast [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=867&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know that sending an SMS from my phone to another phone costs Orange almost nothing. Orange to another network probably doesn&#8217;t touch a foreign mast (I expect that data is just sent via Internet, a much cheaper way, and it keeps load of the masts) during the network transmission (it obviously uses a mast from the receiver&#8217;s network to their phone though). Meanwhile, a lot of businesses would really love a free-to-cheap API for sending messages. Twitter and Google would definitely be up for that, being as they had to make individual deals so far with whoever they&#8217;re working with. There&#8217;s two massive customers already.</p>
<p>There&#8217;s a weird myth about each phone having an email address associated with it for text messages, but I&#8217;ve never got that working.</p>
<p>There actually is a way to <em>receive</em> messages, and send messages to a group of users. I use it to get a message whenever a customer emails me. It just takes a little messing around with Twitter. But it shouldn&#8217;t have to be that awkward.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/867/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=867&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/11/9-sms-api-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Waste A Lot Of Time When Storing A Password</title>
		<link>http://shamess.wordpress.com/2010/02/11/how-to-waste-a-lot-of-time-when-storing-a-password/</link>
		<comments>http://shamess.wordpress.com/2010/02/11/how-to-waste-a-lot-of-time-when-storing-a-password/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 19:29:15 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bcrypt]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=865</guid>
		<description><![CDATA[A little while ago, an article on how to &#8220;safely store a password&#8221; was on the front page of reddit. I thought it interesting and saved it. I was just looking through my old, saved delicious links and found it again. On second read, it&#8217;s actually a bit stupid. The first time, I remember thinking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=865&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A little while ago, an article on how to &#8220;<a href="http://codahale.com/how-to-safely-store-a-password/">safely store a password</a>&#8221; was on the front page of reddit. I thought it interesting and saved it. I was just looking through my old, saved delicious links and found it again.</p>
<p>On second read, it&#8217;s actually a bit stupid. The first time, I remember thinking &#8220;heh! well, come tiny server couldn&#8217;t possibly handle a brute force attack on it, so I won&#8217;t need to spend the cost of using bcrypt.&#8221; Reading it this time, who on Earth has a machine that can handle seven-hundred million requests to log in per second?</p>
<p>Google or Facebook, I suppose. But after the first few millions wrong attempts to log into my account, I&#8217;d hope they&#8217;d be sophisticated enough to catch on that something is a little weird with these requests and just boot the IP address.</p>
<p>All using bcrypt will do is slow your user down by 0.3 seconds each time the log in &#8212; which is a noticeable lag.</p>
<p>tl;dr: Use a double hashed MD5 string. It&#8217;s fine.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/865/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=865&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/11/how-to-waste-a-lot-of-time-when-storing-a-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#8: Better BBC Design</title>
		<link>http://shamess.wordpress.com/2010/02/10/8-better-bbc-design/</link>
		<comments>http://shamess.wordpress.com/2010/02/10/8-better-bbc-design/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 13:13:29 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=861</guid>
		<description><![CDATA[The BBC website isn&#8217;t that bad looking. The largest chunk of the page still goes to the content. However, my problem is that it&#8217;s a fixed width website. BBC isn&#8217;t the only person that I&#8217;m annoyed with because of this (The Times and to a lesser extent the Guardian website also only gives a fixed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=861&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The BBC website isn&#8217;t that bad looking. The largest chunk of the page still goes to the content. However, my problem is that it&#8217;s a fixed width website. BBC isn&#8217;t the only person that I&#8217;m annoyed with because of this (The Times and to a lesser extent the Guardian website also only gives a fixed amount of room to the page). Fixed width isn&#8217;t bad, but it is when you&#8217;re still being supportive of smaller (older) resolutions.</p>
<p>On my not-so-large monitor there&#8217;s still a large amount of white space that&#8217;s going unused that the content of the site could fill up. The BBC has an obligation to support legacy things for a short while, but they&#8217;d still be supported with a variable width design.</p>
<p>The ideal solution to this was if people took more seriously the concept of design and content separation. Blizzard do this amazingly &#8212; <a href="http://eu.wowarmory.com/character-sheet.xml?r=Steamwheedle+Cartel&amp;cn=Shamess&amp;gn=The+Legion+Of+Fire">by just ditching HTML all together</a>. That way I can just disable their CSS, and add my own. I could literally do whatever I want without having to worry about badly formatted or too tailored HTML getting in my way.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/861/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=861&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/10/8-better-bbc-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#7: Tables to design</title>
		<link>http://shamess.wordpress.com/2010/02/09/7-tables-to-design/</link>
		<comments>http://shamess.wordpress.com/2010/02/09/7-tables-to-design/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 22:51:10 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=859</guid>
		<description><![CDATA[I&#8217;m sure there&#8217;s  a proper name for this. I know Rails does it. (I should have paid more attention to Agile classes.) I think has something to do with Model-view-controllers? But I&#8217;m not sure what that is really either. Showing my ignorance a little here.. So, a class that looks at your table that has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=859&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure there&#8217;s  a proper name for this. I know Rails does it. (I should have paid more attention to Agile classes.) I think has something to do with Model-view-controllers? But I&#8217;m not sure what that is really either. Showing my ignorance a little here..</p>
<p>So, a class that looks at your table that has the information you which to be displayed on a web site, and it just ahead and formats it for you. I don&#8217;t ever want to write that loop again.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/859/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=859&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/09/7-tables-to-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#6: Javascript voice API</title>
		<link>http://shamess.wordpress.com/2010/02/08/6-javascript-voice-api/</link>
		<comments>http://shamess.wordpress.com/2010/02/08/6-javascript-voice-api/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 22:16:34 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=857</guid>
		<description><![CDATA[This is a little late, so I&#8217;m going to set the release time of this entry to about half an hour ago. I&#8217;d really like the ability to do voice commands in my web apps. &#8220;Jeeves, send an email to Bob saying I shall be attending lunch today!&#8221; Enough said. Filed under: An Idea A [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=857&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a little late, so I&#8217;m going to set the release time of this entry to about half an hour ago.</p>
<p>I&#8217;d really like the ability to do voice commands in my web apps. &#8220;Jeeves, send an email to Bob saying I shall be attending lunch today!&#8221;</p>
<p>Enough said.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/857/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=857&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/08/6-javascript-voice-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>First week summery</title>
		<link>http://shamess.wordpress.com/2010/02/05/first-week-summery/</link>
		<comments>http://shamess.wordpress.com/2010/02/05/first-week-summery/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 21:38:58 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=854</guid>
		<description><![CDATA[Honestly, I&#8217;m a little shocked that I managed to come up with five ideas for the five days that I&#8217;ve been doing AIAD. This weekend I&#8217;m away in London though, so I probably won&#8217;t be able to spend much time on working on one of these ideas. I&#8217;ll have my laptop with me, so I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=854&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Honestly, I&#8217;m a little shocked that I managed to come up with five ideas for the five days that I&#8217;ve been doing AIAD. This weekend I&#8217;m away in London though, so I probably won&#8217;t be able to spend much time on working on one of these ideas. I&#8217;ll have my laptop with me, so I can hack something up at least whilst on the coach, or just sitting around.</p>
<p>I&#8217;ve not run out of ideas just yet though, so there&#8217;ll be more next week.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/854/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=854&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/05/first-week-summery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#5: National Rail API</title>
		<link>http://shamess.wordpress.com/2010/02/05/5-national-rail-api/</link>
		<comments>http://shamess.wordpress.com/2010/02/05/5-national-rail-api/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 21:34:38 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=852</guid>
		<description><![CDATA[A free National Rail interface that let me recreate their journey planner. It&#8217;s not that their journey planner isn&#8217;t good, it&#8217;d just be cool to integrate it&#8217;s services into my own services. Websites for events could have a feature that tells customers what the best train (specifically) would be to get to the event. Not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=852&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A <em>free</em> National Rail interface that let me recreate their journey planner. It&#8217;s not that their journey planner isn&#8217;t good, it&#8217;d just be cool to integrate it&#8217;s services into my own services.</p>
<p>Websites for events could have a feature that tells customers what the best train (specifically) would be to get to the event. Not just &#8220;Get off at Kings Cross station&#8221;, but &#8220;Get the train that arrives at 13:23 at Kings Cross&#8221;. The API could even let the provider book and order train tickets for the customer.</p>
<p>My calendar could automatically update times for services changes or cancellations.</p>
<p><em>I probably won&#8217;t be able to do this one myself. But it&#8217;s a cool idea.</em></p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/852/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/852/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/852/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/852/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/852/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/852/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/852/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/852/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/852/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/852/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/852/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/852/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/852/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/852/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=852&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/05/5-national-rail-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#4: Better YouTube Conversation</title>
		<link>http://shamess.wordpress.com/2010/02/04/4-better-youtube-conversation/</link>
		<comments>http://shamess.wordpress.com/2010/02/04/4-better-youtube-conversation/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 18:15:14 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=850</guid>
		<description><![CDATA[One of the most popular pages on my blog is the YouTube comments suck one, so obviously people are bothered by it and since my independent, ranty blog is still getting traction from moaning, no one is doing anything about it. Essentially, it&#8217;ll be cool to make a new website based around the community rather [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=850&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the most popular pages on my blog is the <a href="http://blog.shamess.info/2009/07/03/youtube-comments-suck/">YouTube comments suck</a> one, so obviously people are bothered by it and since my independent, ranty blog is still getting traction from moaning, no one is doing anything about it.</p>
<p>Essentially, it&#8217;ll be cool to make a new website based around the community rather than the videos. Using the YouTube API, and maybe the Disqus API, I think it&#8217;d be pretty easy to make a better place. It wouldn&#8217;t be a rip of YouTube &#8212; that&#8217;s against the API terms &#8212; but so long as there&#8217;s a definite focus on the conversation about videos, I think it&#8217;d be okay.</p>
<p>Also, I&#8217;d like to pull comments from reddit and other places that have an API for comments on articles onto the page for the video. Maybe news articles if the video has any related stories. A general mashup of information about the video you&#8217;re watching.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/850/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=850&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/04/4-better-youtube-conversation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#3: Linear, webbased RPG</title>
		<link>http://shamess.wordpress.com/2010/02/03/3-linear-webbased-rpg/</link>
		<comments>http://shamess.wordpress.com/2010/02/03/3-linear-webbased-rpg/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 18:10:31 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=848</guid>
		<description><![CDATA[I&#8217;m not sure any of these exist. A story centric RPG that I can play in my web browser that isn&#8217;t based on Flash. Final Fantasy or Dragon Age in your browser, or even on your iPhone. I don&#8217;t mean an MMO. Whilst it could be interesting to see that, what I really want is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=848&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure any of these exist. A story centric RPG that I can play in my web browser that isn&#8217;t based on Flash. Final Fantasy or Dragon Age in your browser, or even on your iPhone.</p>
<p>I don&#8217;t mean an MMO. Whilst it could be interesting to see that, what I really want is one storyline (maybe with the occasional sub-quests, a la Fallout 3) that I can play through and ultimately complete the game. Then I can start it over again if  like. Or not, doesn&#8217;t really matter.</p>
<p>I&#8217;d like actual save game files, so I can save at one point and load it again. Something that we do with PC games and console games all the time but I&#8217;ve never seen on a web based game.</p>
<p>The pluses for web based games are that they&#8217;re cross platform (baring a hack or two to get the Javascript to work in IE, or whatever), and run on almost every machine in existence. Nothing more to download or install whilst you&#8217;re at work on a school computer (don&#8217;t play games at school, kids).</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/848/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=848&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/03/3-linear-webbased-rpg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#2: TV Tracker</title>
		<link>http://shamess.wordpress.com/2010/02/02/idad-tv-tracker/</link>
		<comments>http://shamess.wordpress.com/2010/02/02/idad-tv-tracker/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 19:38:49 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=845</guid>
		<description><![CDATA[I barely ever watch TV on TV on any more. It&#8217;s usually downloaded from somewhere, or streamed. Usually not the same source from episode to episode. That leads to a problem in that you don&#8217;t know what episode you&#8217;re on any more. My StageVu history says I&#8217;ve watched up to episode six, but I might [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=845&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I barely ever watch TV on TV on any more. It&#8217;s usually downloaded from somewhere, or streamed. Usually not the same source from episode to episode. That leads to a problem in that you don&#8217;t know what episode you&#8217;re on any more. My StageVu history says I&#8217;ve watched up to episode six, but I might have watched a few episode on 4oD, or watched on actually on TV.</p>
<p>So, I need another service that lets me keep a log of what episode I&#8217;ve watched up to. I guess somewhat manual at first, but I don&#8217;t see why there can&#8217;t be plugins to see what you&#8217;re watching and then update the site (a Firefox plugin for websites, VLC plugin for downloaded shows). Some things would have to be manual, but you could text in to the site saying what you&#8217;re watching and it could update.</p>
<p>Another problem I have with TV is when I&#8217;m watching a series that isn&#8217;t out in the UK yet. So there&#8217;s no media telling me that there&#8217;s a new episode of House. I usually find out at least a few days later than I could have watched it from a friend, or from being spoiled online.</p>
<p>It&#8217;d be nice to have a global TV guide that told me when new episodes are released.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/845/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/845/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/845/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/845/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/845/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/845/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/845/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/845/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/845/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/845/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/845/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/845/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/845/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/845/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=845&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/02/idad-tv-tracker/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>#1: News Trends</title>
		<link>http://shamess.wordpress.com/2010/02/01/1-news-trends/</link>
		<comments>http://shamess.wordpress.com/2010/02/01/1-news-trends/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 20:28:50 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=843</guid>
		<description><![CDATA[This is an idea I&#8217;ve had for a while, which I&#8217;ve just never gotten around to doing anything about and the Apple&#8217;s iPad made me think about it again. Essentially it&#8217;s a new aggregation tool (because I have a love affair with a lot of topical news on one page) but takes the news from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=843&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is an idea I&#8217;ve had for a while, which I&#8217;ve just never gotten around to doing anything about and the Apple&#8217;s iPad made me think about it again.</p>
<p>Essentially it&#8217;s a new aggregation tool (because I have a love affair with <a href="http://shamess.info/feedme/">a lot of topical news on one page</a>) but takes the news from a lot of sources. Twitter especially: taking local trending topics and correlating them pragmatically with articles from other places. Reddit, for the comments. BBC for the information. Guardian and a few other online news places for more opinionated pieces. And maybe even finding independent WordPress.com blogs that are talking about the news item.</p>
<p>It wouldn&#8217;t be just listing links to various stories, the articles would all be related to each other for that topic.</p>
<p>With a touch screen (which is why the iPad made me think of this again) it would be a simple app that I could just leave running and occasionally click a few things. Without a touch screen it could just be like a news ticker showing snippets from various sources. I&#8217;d show a mock up of how I imagine it, but I&#8217;m terrible at designing things so it would look horrendous.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/843/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=843&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/01/1-news-trends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>An idea a day</title>
		<link>http://shamess.wordpress.com/2010/02/01/an-idea-a-day/</link>
		<comments>http://shamess.wordpress.com/2010/02/01/an-idea-a-day/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 18:03:16 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[An Idea A Day]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=840</guid>
		<description><![CDATA[It&#8217;s the first of February, and since humans love to add meaning to arbitrary days, I&#8217;ve decided to start a project today. Each weekday I plan on updating my blog (it needs the attention, after all) with an idea for a web app that I&#8217;ve had. The idea doesn&#8217;t have to be amazing, nor original. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=840&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s the first of February, and since humans love to add meaning to arbitrary days, I&#8217;ve decided to start a project today. Each weekday I plan on updating my blog (it needs the attention, after all) with an idea for a web app that I&#8217;ve had. The idea doesn&#8217;t have to be amazing, nor original. It could be a new application, or a change to another web service out there. It doesn&#8217;t have to be a full proposal, just an idea fleshed out enough to show what I think could be done with it, and why it&#8217;s interesting.</p>
<p>Then, at the weekend I could be spending on one of the more interesting ones and hopefully release at least a working version by Monday. I&#8217;ll push all the code to my github as open source projects, so if someone likes something I&#8217;ve started they can happily fork it.</p>
<p>This&#8217;ll do a number of things that I think will be helpful for me.</p>
<p>It&#8217;ll force me to be creative; to constantly be thinking up different (maybe not even better) ways to do things. Being innovative isn&#8217;t about doing everything someone does, just better. Being innovative is doing something <em>new</em>. I&#8217;m not saying I&#8217;ll be creative, <a href="http://imgur.com/TnBsy.jpg" target="_blank">just different</a>.</p>
<p>I want to use a different language to PHP too. I know PHP, and maybe a little too well. Like the partner you&#8217;ve been with for a few months now, and everything&#8217;s fine, you just feel you need something different. I want to randomly pick another language to learn. In fact, why do these apps have to be web-based? Maybe I can throw in a few client based apps.</p>
<p>Even if I don&#8217;t do anything with the idea, maybe someone else will and if that makes the internet a better place then I suppose I&#8217;ve still been successful.</p>
<p>It&#8217;ll also just give me something to do to kill time. I have a fair bit of it.</p>
<br />Filed under: <a href='http://shamess.wordpress.com/category/an-idea-a-day/'>An Idea A Day</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/840/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=840&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/02/01/an-idea-a-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>What I&#8217;ve been up to recently</title>
		<link>http://shamess.wordpress.com/2010/01/15/what-ive-been-up-to-recently/</link>
		<comments>http://shamess.wordpress.com/2010/01/15/what-ive-been-up-to-recently/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 20:25:29 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=838</guid>
		<description><![CDATA[I feel like I&#8217;ve been busy, but then I come to this blog to talk about what I&#8217;ve been busy doing and think to myself &#8220;really, I&#8217;ve done almost nothing.&#8221; That aside, I&#8217;m going to talk about the things I have been doing. I&#8217;ve realised I don&#8217;t deal with stress too well. When I&#8217;m asked [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=838&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I feel like I&#8217;ve been busy, but then I come to this blog to talk about what I&#8217;ve been busy doing and think to myself &#8220;really, I&#8217;ve done almost nothing.&#8221; That aside, I&#8217;m going to talk about the things I have been doing.</p>
<p>I&#8217;ve realised I don&#8217;t deal with stress too well. When I&#8217;m asked &#8220;what would you say is your biggest weakness?&#8221; in a job interview I think I&#8217;ll have to reply that I get stressed. I&#8217;ve noticed I only get stressed when there&#8217;s something I need to do, but there&#8217;s something out of my control that&#8217;s stopping me doing it.</p>
<p>For instance, I&#8217;m working on my Java assignment and get stuck. I couldn&#8217;t explain my problem well enough to go and Google it, so I had to contact my tutor who didn&#8217;t reply to my email (no big deal), but then I couldn&#8217;t track him down either. So I was stuck, staring at this code that I had no idea how to fix, and no one around who was able to help me. That&#8217;s really what gets me stressed the most.</p>
<p>The problem I was having, which my tutor told me within seconds of seeing my code, could be fixed by declaring the variable as the super class, and you can still give it the reference to an object that extends that super class. I had no idea you could do that. So now everything&#8217;s fixed and going well with my Java assignment now.</p>
<p>I&#8217;ve also been working on <a href="http://leafcanvas.com/">Leafcanvas</a>, which is a web development company I&#8217;ve set up. The app isn&#8217;t exactly finished yet. I want to look more into using Tumblr as a sort of cloud service to hold data for a blog I want to put on Leafcanvas, and use the API to nab the content.</p>
<p>I&#8217;m working on a game called n0ded, which I expected to be finished by now but I decided to make it object orientated rather than procedural as it started. I&#8217;m also going to make it a facebook based game too, so I need to add the facebook API.</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/838/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=838&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2010/01/15/what-ive-been-up-to-recently/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>A la buses.</title>
		<link>http://shamess.wordpress.com/2009/12/04/a-la-buses/</link>
		<comments>http://shamess.wordpress.com/2009/12/04/a-la-buses/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 04:29:20 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=832</guid>
		<description><![CDATA[Three pieces of coursework turn up at once. Amazing. Nothing for weeks then this happens? Not to worry though, they&#8217;re not even mind numbingly dull. One &#8212; for Internet Software Development &#8212; is basically &#8220;here&#8217;s an XML datasheet, filled with information, make a few Java server pages to manipulate the data&#8221;. My work partner and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=832&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Three pieces of coursework turn up at once. Amazing. Nothing for weeks then this happens? Not to worry though, they&#8217;re not even mind numbingly dull. One &#8212; for Internet Software Development &#8212; is basically &#8220;here&#8217;s an XML datasheet, filled with information, make a few Java server pages to manipulate the data&#8221;. My work partner and I have pretty much knocked that up in three days. Tomorrow&#8217;s the last day I think we&#8217;re spending on it, which is to create a DTD for it. I&#8217;m not too worried.</p>
<p>Second piece is a database ERD which turned out to be more complicated than I expected. That&#8217;s not a bad thing, it was sort of fun realising how we&#8217;d made a mistake in reading the scenario and how much one tiny sentence changes the entire diagram. Just have to make a list of assumptions about the scenario that we&#8217;ve decided on and that should be done.</p>
<p>Another piece is for OO Software Design. Make a Java class and document it, mostly. Pretty simple and likely boring, so I&#8217;m going to pick a ridiculously hard, functional scenario (rather than something ridiculous like a &#8220;person&#8221; class that does nothing). I don&#8217;t think that has to be in for a while, so I think I&#8217;ll get the above two pieces of coursework out of the way first.</p>
<p>There might be Agile coursework, but really, who cares.</p>
<br />Posted in University  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/832/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=832&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/12/04/a-la-buses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Why I&#8217;m Currently Not Liking The Agile Method</title>
		<link>http://shamess.wordpress.com/2009/11/06/why-im-currently-not-like-the-agile-method/</link>
		<comments>http://shamess.wordpress.com/2009/11/06/why-im-currently-not-like-the-agile-method/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 11:41:06 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=827</guid>
		<description><![CDATA[This is a rant I felt I needed to have after coming out of an Agile Systems class. When Agile methods and Scrum was first explained to me in this module I was told it was a fast paced way of working the delivering what the customer wants at the heart of its philosophy. Unfortunately [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=827&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>This is a rant I felt I needed to have after coming out of an Agile Systems class.</em></p>
<p>When Agile methods and Scrum was first explained to me in this module I was told it was a fast paced way of working the delivering what the customer wants at the heart of its philosophy. Unfortunately though, after watching the lecture I just have (<em>Agile Methods and Scrum</em>) I&#8217;ve noticed that the uplifting manifesto is actually littered with small print and contradictions all over the place.</p>
<blockquote><p>Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.</p></blockquote>
<p>This is unhelpfully ambiguous. But, not to simply pick on semantics, I&#8217;ll discuss both interpretations and explain why I think they&#8217;re both ridiculous.</p>
<p>The first way to read it is to release the software early, or rather <em>to release it before it&#8217;s finished</em>. This sounds odd, and so I quickly decided that&#8217;s not what that sentence meant. However, looking at the general ethos of releasing features incrementally this actually looks like a reasonable thing for the makers of Scrum to have decided.</p>
<p>What are you expecting the customer to do with unfinished software? They can&#8217;t phase it into their business, or worse directly switch to it, just to find they can no longer merge records where they want to or something. They can&#8217;t even run this software in parallel with their current software if there&#8217;s gaping holes in it.</p>
<p>Even here though, at your first step, Scrum has contradicted itself in that another of its principles is not to release work until it&#8217;s been tested. That <em>must</em> mean finished. That makes this interpretation either wrong or contradictory.</p>
<p>For that reason the second is more likely; finished early in respect to the deadline you estimated. I&#8217;d argue that this is bad too. The few times I have handed over a completed project before my deadline (simple because I&#8217;m new to this freelance lark, and so bad at estimating how long it could take me) only once was the customer actually happy with that. On one occasion a customer was incredibly unhappy that I&#8217;d completed early, and so messed up his project plan timetable. (I thought he was incredibly out-of-order though, and probably unusual.) Another time a customer remarked that it was just unprofessional to have over estimated how long it would take me. Every other time the customer didn&#8217;t notice and probably didn&#8217;t recognise it as either an achievement nor disbenefit.</p>
<p>I&#8217;ve realised that customers are happy to get the work when you said you would give it them &#8212; after all you were both set on that deadline. Anything less is apparently unprofessional.</p>
<blockquote><p>Welcome changing requirements, even late in  development. Agile processes harness change for  the customer&#8217;s competitive advantage.</p></blockquote>
<p>The fine print here is that the customer can only talk to you once every thirty days. This makes no sense. What else is the project manager (uhh, sorry, <em>Scrum Master</em>) doing with their time? They&#8217;re not coding, so they should be talking with the customers whenever the customer wants to talk to them. After any of those discussions take place, and the manger has decided on any extension of deadline or cost because of the changes, the programmers should be made aware <em>immediately</em>.</p>
<p>It&#8217;s the project managers job to decide what features need to be worked on now, and which can wait till later. His backlog should be incredibly flexible to any concerns the customer has to make.</p>
<p>Not only would that benefit the customer, but the programmers don&#8217;t have to wait 30 days before realising that that function they&#8217;re working on which is ridiculously complex actually isn&#8217;t even needed anymore. For a system that promotes its agility in an industry that works at lightning pace, a thirty-day buffer it insulting.</p>
<blockquote><p>The sponsors, developers, and users should be able  to maintain a constant pace indefinitely.</p></blockquote>
<p>This is completely ignorant to how people work. <em>You should work like a machine, with a constant typing pace of 60 words a minute.</em> There are times where you run into problems that the solution to is incredibly elusive. Problems you&#8217;re not even expecting. A customer of mine needed to have an interactive map, with pointers to variable places (according to where the user enters). That seemed pretty easy since I know of the Google API. Oddly though, there&#8217;s no &#8220;zoom to a view in such a way that I can see all the markers&#8221; method in the API, so I  had to spend probably an hour looking for one, before resigning and writing it myself. That was essentially a large chunk of paid time in which I was doing virtually nothing.</p>
<p>Sometimes people are unmotivated and need a few hours, or even a day, to get back into the swing of things.</p>
<p>This fairly communist view of developers is somewhat contradictory to the rest of Scrum though, which makes developers sound fairly demanding and lazy.</p>
<blockquote><p>Simplicity &#8212; the art of maximizing the amount  of work not done &#8212; is essential.</p></blockquote>
<p>Simplicity and being lazy certainly aren&#8217;t interchangeable words. Procedural programming is maximising the amount of work not done (read: lazy), but it certainly isn&#8217;t the most simple or elegant. This just screams <em>absurdly lazy</em>.</p>
<p>The laziness of agile programmers is also shown in their language of choice. From the short time I&#8217;ve spent with it so far, Ruby is the most vile language I&#8217;ve yet come across. No brackets around arguments, no curly bracket encapsulation around methods and classes, (seriously, are you guys boycotting the shift key?). I natively write PHP, and even I&#8217;m annoyed with duck typing. Just throwing in white space wherever you want, with no real standards described for it.</p>
<p>Whilst embracing team work, you seem to be hell-bent on the idea of being completely left alone, despite one of the agile ideas being that you should work with the &#8220;business people&#8221;. The term &#8220;business people&#8221; is used almost as a derogatory term. None of them must be allowed to speak to any of the developers but through the ambassador Master, else we&#8217;ll become horribly infected with their illogical ways.</p>
<p>Slide 28 talks about accept no help at all unless it&#8217;s asked for. No developer will unbiasedly judge his own work, and his team mates probably won&#8217;t critique them either. An external person must be in the ring to offer that service. Refusing help is just rude, and incredibly unhelpful.</p>
<p>Whilst I do have other points, this is becoming somewhat depressing, so I&#8217;ll go and get on with something more uplifting.</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/827/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=827&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/11/06/why-im-currently-not-like-the-agile-method/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>The net here sucks</title>
		<link>http://shamess.wordpress.com/2009/10/25/the-net-here-sucks/</link>
		<comments>http://shamess.wordpress.com/2009/10/25/the-net-here-sucks/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 19:04:51 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Guild Wars]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=825</guid>
		<description><![CDATA[I remember before, I had a post that showed me downloading at like a megabyte a second. *sigh* Posted in Guild Wars<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=825&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_824" class="wp-caption aligncenter" style="width: 520px"><img class="size-full wp-image-824" title="Guild Wars Slow" src="http://shamess.files.wordpress.com/2009/10/guild-wars-slow.png?w=510&#038;h=384" alt="Sometimes change is bad. :(" width="510" height="384" /><p class="wp-caption-text">Sometimes change is bad. :(</p></div>
<p>I remember before, I had a post that showed me downloading at like a megabyte a second. *sigh*</p>
<br />Posted in Guild Wars  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/825/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/825/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/825/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/825/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/825/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/825/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/825/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/825/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/825/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/825/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/825/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/825/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/825/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/825/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=825&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/10/25/the-net-here-sucks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>

		<media:content url="http://shamess.files.wordpress.com/2009/10/guild-wars-slow.png" medium="image">
			<media:title type="html">Guild Wars Slow</media:title>
		</media:content>
	</item>
		<item>
		<title>Status report</title>
		<link>http://shamess.wordpress.com/2009/10/23/status-report/</link>
		<comments>http://shamess.wordpress.com/2009/10/23/status-report/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 10:10:00 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[laura krumfort]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=821</guid>
		<description><![CDATA[I can&#8217;t remember the last time I&#8217;ve just been sat around, being bored. (Though, that&#8217;s probably accountable to my awful memory.) I&#8217;ve either been working, or doing university work, or just general being around friends. And I&#8217;m not annoyed or bored of any one of them; I think I&#8217;ve found a really good balance. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=821&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t remember the last time I&#8217;ve just been sat around, being bored. (Though, that&#8217;s probably accountable to my awful memory.) I&#8217;ve either been working, or doing university work, or just general being around friends. And I&#8217;m not annoyed or bored of any one of them; I think I&#8217;ve found a really good balance.</p>
<p>I don&#8217;t feel stressed at all either. Knowing that there&#8217;s a safety net of a few hundred pounds overdraft available if I need it is really calming. I <em>have</em> spent a little more than I wanted to so far this month, but it&#8217;s nothing that I can&#8217;t afford thanks to the work I&#8217;m doing. Also, living with girls has definitely made me start eating more. Especially since Laura continually offers to make food, so I typically eat at least one good meal a day, which is an improvement on snacking when I&#8217;m hungry.</p>
<p>All in all, I have a pretty good life at the moment.</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/821/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=821&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/10/23/status-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>First hour with Rails</title>
		<link>http://shamess.wordpress.com/2009/10/11/first-hour-with-rails/</link>
		<comments>http://shamess.wordpress.com/2009/10/11/first-hour-with-rails/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 15:19:34 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=816</guid>
		<description><![CDATA[I didn&#8217;t realise that this was a two hour lab, and was about to pack up before checking my timetable again. Since I do have another hour in here, I may as well do this personal blog that we need to be doing for this module (and most modules, actually). Usually these are private between [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=816&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t realise that this was a two hour lab, and was about to pack up before checking my timetable again. Since I do have another hour in here, I may as well do this personal blog that we need to be doing for this module (and most modules, actually). Usually these are private between student and lecturer, but since I&#8217;m all about being open, why not share it here too? (Plus, this is a much nicer editor.)</p>
<p>This class is <em>Agile Software Development</em>, so it naturally uses Ruby on Rails, which is known for it&#8217;s fast pace, don&#8217;t-repeat-yourself development cycle. Pretty perfect fit then. I&#8217;ve never used it though, but it&#8217;s getting more and more popular. All the hot projects on Github are ruby ones, so it looks like the in language at the moment. I remember when Twitter changed from Rails to some other language though, because Rails just wasn&#8217;t scalable enough for them.</p>
<p>In the labs we&#8217;re using <a href="http://instantrails.rubyforge.org/wiki/wiki.pl?Instant_Rails">Instant Rails</a>, but I think I&#8217;ll likely just install Ruby and Rails myself on my laptop manually, since I already have MySQL and Apache running. Hopefully that won&#8217;t be too hard.</p>
<p>We&#8217;ve mostly been playing around with the IRB today.</p>
<p>Coming from PHP, it&#8217;s pretty obvious how variables are treated differently. Doing something like</p>
<pre>$foo = "blah";
var_dump ($foo * 10);
</pre>
<p>Would output 0; $foo is assumed as an integer, since * is an operator that works with numbers, and it&#8217;s assumed 0. 0 * 10 is 0.</p>
<p>But on Rails</p>
<pre>foo = "blah"
foo * 10
</pre>
<p>Here the * is treated as more of a method, than an operand, in that it takes notice of it&#8217;s context and has been overloaded, sort of. Because it&#8217;s a string in context, it has a different functionality. That code would return &#8220;blahblahblahblahblahblahblahblahblahblah&#8221; (&#8220;blah&#8221; repeated ten times).</p>
<p>It feels like values are treated more as objects can just &#8230; values, really. Literal values can have methods too (inherited from their value type, I guess).</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/816/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/816/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/816/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/816/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/816/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/816/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/816/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=816&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/10/11/first-hour-with-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Round up to decimal precision (Javascript and PHP)</title>
		<link>http://shamess.wordpress.com/2009/10/11/round-up-to-decimal-precision-javascript-and-php/</link>
		<comments>http://shamess.wordpress.com/2009/10/11/round-up-to-decimal-precision-javascript-and-php/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 11:19:43 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=818</guid>
		<description><![CDATA[I needed to round up to two decimal places for currency (you always round up when using money), but for some reason the internet didn&#8217;t want to share that information with me, so here it is. PHP: // Takes a decimal and rounds up (never down) function round_up($val, $precision) { return round($val + pow(10,-$precision-1), $precision); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=818&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I needed to round up to two decimal places for currency (you always round up when using money), but for some reason the internet didn&#8217;t want to share that information with me, so here it is.</p>
<p>PHP:</p>
<pre>
//  Takes a decimal and rounds up (never down)
function round_up($val, $precision) {
  return round($val + pow(10,-$precision-1), $precision);
}</pre>
<p>Javascript:</p>
<pre>
function round_up (val, precision) {
    power = Math.pow (10, precision);
    poweredVal = Math.ceil (val * power);
    result = poweredVal / power;

    return result;
}
</pre>
<p>So, using round_up (1.432, 1); would return 1.5. For currency you&#8217;d want to set the precision (the number of decimal places you want) to two.</p>
<br />Posted in Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/818/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/818/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/818/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/818/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/818/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/818/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/818/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/818/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/818/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/818/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/818/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/818/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/818/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/818/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=818&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/10/11/round-up-to-decimal-precision-javascript-and-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>First day back</title>
		<link>http://shamess.wordpress.com/2009/10/05/first-day-back/</link>
		<comments>http://shamess.wordpress.com/2009/10/05/first-day-back/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 16:23:51 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=814</guid>
		<description><![CDATA[Last year I wrote about my classes, and although it probably wasn&#8217;t, I felt I talked about the tutors in a negative light to start with. Mostly because I think I was being moody. But either way, it turned out Matthew Dean &#8212; my old course leader &#8212; found my blog, and then I felt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=814&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last year I wrote about my classes, and although it probably wasn&#8217;t, I felt I talked about the tutors in a negative light to start with. Mostly because I think I was being moody. But either way, it turned out Matthew Dean &#8212; my old course leader &#8212; found my blog, and then I felt somewhat awkward. I&#8217;ve decided though that if he read the feedback then he could use it. There&#8217;s nothing wrong with it. With that in mind, I had my first classes of the year today.</p>
<p>First class was <em>software design and development</em>. Which is a weird way of saying Java. I&#8217;ve not used Java, but I&#8217;m pretty sure it&#8217;s as easy to pick up as every other language. I&#8217;m <em>trying</em> to stay enthusiastic about learning more about it, but looking through the list of topics for this module there&#8217;s only one or two things I don&#8217;t already know about. I&#8217;m worried this is going to be another module where we spend a year learning something that should be taught in a week&#8217;s worth of lessons.</p>
<p>Really; learning a language once you already know how to program isn&#8217;t hard. They don&#8217;t change much.</p>
<p>Second lesson was <em>database design and implementation</em>. Which I&#8217;m really worried is the exact same module as the database one last year. In fact, I have the course book which I&#8217;ll look though later.</p>
<p>Anyway, it&#8217;s still nice to have classes to go to now, I guess.</p>
<br />Posted in University  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/814/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=814&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/10/05/first-day-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Expensive regrets</title>
		<link>http://shamess.wordpress.com/2009/09/30/expensive-regrets/</link>
		<comments>http://shamess.wordpress.com/2009/09/30/expensive-regrets/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 21:59:51 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=811</guid>
		<description><![CDATA[My new desktop got delivered today! I&#8217;m pretty damn excited by it. It&#8217;s like a new toy. CoolerMaster SILEO 500 Mid-tower Case Gigabyte GA-G31M-ES2L Motherboard Intel Core2 Duo E8400 3GHz Processor 2GB DDR2 800MHz Memory Western Digital 500GB SATA Drive DVD-RW Drive PNY GeForce 9 9500GT 1GB Graphics Card That&#8217;s the best machine I&#8217;ve ever [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=811&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My new desktop got delivered today! I&#8217;m pretty damn excited by it. It&#8217;s like a new toy.</p>
<p><a href="http://intranet.coolermaster.nl/mktfiles/1245396472RC-500-KKR3-GP.pdf">CoolerMaster SILEO 500 Mid-tower Case</a><br />
Gigabyte GA-G31M-ES2L Motherboard<br />
Intel Core2 Duo E8400 3GHz Processor<br />
2GB DDR2 800MHz Memory<br />
Western Digital 500GB SATA Drive<br />
DVD-RW Drive<br />
PNY GeForce 9 9500GT 1GB Graphics Card</p>
<p>That&#8217;s the best machine I&#8217;ve ever owned&#8230; I mostly wanted it for gaming, because I really want to be able to play WoW and MMOs in general again, really. Also, awesome games are coming out this and next year, so I figured I could do with getting a machine that can actually run them.</p>
<p>That&#8217;s kind of backfired on me a little though; The internet here has so many ports blocked it&#8217;s unreal. They apparently really don&#8217;t like people playing games and slowing the network down (it&#8217;s a shared line for all the few hundred people in the flat, which is a bit dumb), so they&#8217;ve banned commonly used ports and just about every other port. Only letting a few obvious ports through.</p>
<p>That means that this expensive machine is essentially useless to me now. All I can do on it is exactly the same as anything I can do on my laptop. I&#8217;m going to have to find a way to proxy all these connections, or get a better internet connection.</p>
<p>Virgin Media are apparently doing a few checks for us now to see if they can install a line into the building, and what speeds we&#8217;ll get if they can. Even then though, the installation of a whole new cable might take months, and could probably cost me and my flatmates&#8230; We don&#8217;t really have much money, we&#8217;re only students!</p>
<p>Mobile internet is far too slow and way too expensive, so that&#8217;s not really possible.</p>
<p>The only other way then is using a proxy. I&#8217;m not even sure if that&#8217;s possible. If we ignore the technological setting up of a proxy, I&#8217;ll still have to suffer the ping times being pretty much doubled. I really don&#8217;t know what to do.</p>
<p>Unless I get this fixed, this is a massive waste of money. I&#8217;m really regretting it now.</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/811/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/811/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/811/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/811/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/811/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/811/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/811/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/811/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/811/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/811/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/811/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/811/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/811/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/811/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=811&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/09/30/expensive-regrets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Zoom To Fit All Markers on Google Maps API v3</title>
		<link>http://shamess.wordpress.com/2009/09/29/zoom-to-fit-all-markers-on-google-maps-api-v3/</link>
		<comments>http://shamess.wordpress.com/2009/09/29/zoom-to-fit-all-markers-on-google-maps-api-v3/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 19:29:40 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[google maps api]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=809</guid>
		<description><![CDATA[I&#8217;d like a problem that for once hasn&#8217;t already been solved by someone else. I had a set of markers which needed to be all on screen, and for some reason there&#8217;s no .zoomToShow method. Fortunately it&#8217;s pretty simple to create yourself. // Make an array of the LatLng's of the markers you want to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=809&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d like a problem that for once hasn&#8217;t already been solved by someone else.</p>
<p>I had a set of markers which needed to be all on screen, and for some reason there&#8217;s no .zoomToShow method. Fortunately it&#8217;s pretty simple to create yourself.</p>
<pre>//  Make an array of the LatLng's of the markers you want to show
var LatLngList = array (new google.maps.LatLng (52.537,-2.061), new google.maps.LatLng (52.564,-2.017));
//  Create a new viewpoint bound
var bounds = new google.maps.LatLngBounds ();
//  Go through each...
for (var i = 0, LtLgLen = LatLngList.count(); i &lt; LtLgLen; i++) {
  //  And increase the bounds to take this point
  bounds.extend (LatLngList[i]);
}
//  Fit these bounds to the map
map.fitBounds (bounds);
</pre>
<p>And that&#8217;s pretty much it. Then, of course, I found that someone had already done this before, but for <a href="http://911-need-code-help.blogspot.com/2009/03/zoom-to-fit-all-markers-polylines-or.html">version two of the API</a>.</p>
<br />Posted in Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/809/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/809/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/809/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/809/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/809/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/809/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/809/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=809&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/09/29/zoom-to-fit-all-markers-on-google-maps-api-v3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Please gawd, use tabindex.</title>
		<link>http://shamess.wordpress.com/2009/09/24/please-gawd-use-tabindex/</link>
		<comments>http://shamess.wordpress.com/2009/09/24/please-gawd-use-tabindex/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 20:41:27 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=806</guid>
		<description><![CDATA[Web app developers, you all do good work but you consistently keep forgetting one very simple thing that makes me life so much more easier! Damn login forms! Especially if you&#8217;re writing your login form on the fly onclick or something. Here&#8217;s how I like to log into a website. Start in username field. Type [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=806&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Web app developers, you all do good work but you consistently keep forgetting one very simple thing that makes me life so much more easier! Damn login forms! Especially if you&#8217;re writing your login form on the fly onclick or something. Here&#8217;s how I like to log into a website.</p>
<ol>
<li>Start in username field. Type it in. Hit tab.</li>
<li>Should now be in the password field. Hit tab.</li>
<li>Listen up! <strong>This should be the &#8220;keep logged in&#8221; check box!</strong> Hitting tab again&#8230;</li>
<li>Should take me to the submit button for me to press enter at.</li>
</ol>
<p>You all keep forgetting step three! Every other website does it, why can&#8217;t you, twitter? (And many other random sites.)</p>
<p>It&#8217;s pretty simple. There&#8217;s an (x)HTML attribute for <em>input</em> fields, <em>a</em> links, <em>textarea</em>s, and buttons. ie. <em>tabindex=&#8221;1&#8243;</em> would put the cursor in the element when the tab button is first hit. There&#8217;s a better explanation here: <a href="http://www.webcheatsheet.com/HTML/controll_tab_order.php">how to control tab order in html</a>.</p>
<br />Posted in Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/806/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/806/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/806/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/806/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/806/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/806/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/806/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/806/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/806/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/806/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/806/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/806/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/806/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/806/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=806&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/09/24/please-gawd-use-tabindex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>There is nothing wrong with using frameworks</title>
		<link>http://shamess.wordpress.com/2009/09/20/nothing-wrong-with-using-frameworks/</link>
		<comments>http://shamess.wordpress.com/2009/09/20/nothing-wrong-with-using-frameworks/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 22:14:25 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=803</guid>
		<description><![CDATA[After lurking in #javascript for a while I noticed that a lot of the developers there look down on people using jQuery and Prototype. Their view is that you&#8217;re just getting one step away from the actual language, and you&#8217;re leaving key programming skills behind. I acknowledge that that&#8217;s true, but I don&#8217;t see why [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=803&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After lurking in #javascript for a while I noticed that a lot of the developers there look down on people using jQuery and Prototype. Their view is that you&#8217;re just getting one step away from the actual language, and you&#8217;re leaving key programming skills behind.</p>
<p>I acknowledge that that&#8217;s true, but I don&#8217;t see why it matters. All languages are essentially frameworks of a lower level language. PHP is basically a framework for a load of C libraries. C is just a framework for assembly code. Assembly is just a framework for binary programming. Yes, by using PHP you lose a lot of functionality of C, but that&#8217;s just because PHP is filling a market with no need for hardware manipulation and the like.</p>
<p>Same with jQuery. If you use $.get() you lose the ability to do the request synchronously (I&#8217;m aware that you could just use $.ajax(), but I&#8217;m making a point), which isn&#8217;t really a big loss to most people when compared to the benefits.</p>
<p>Javascript isn&#8217;t exactly the most uniform language around, which IE not supporting half the stuff Opera does, and Safari doing things differently to Firefox it&#8217;s a really hard language to code for. You spend more of your time finding work-arounds for each browser than actual logic. The frameworks available all do that for you, making sure that there&#8217;re no compatibility issues between browsers, and that $(&#8216;#element&#8217;).slideUp() does exactly the same on every browser.</p>
<p>I&#8217;d go as far as to say don&#8217;t even bother learning about document.getElementById means. It&#8217;s so clumsy and awkward when compared to $().</p>
<p>Due to those functionality additions though it&#8217;s obviously a little bit slower. I&#8217;ve not noticed any speed decrease, but in an &#8220;every microsecond counts&#8221; environment there would be a noticable difference. But Javascript engines are getting faster and faster so does it really matter? The average person doesn&#8217;t even notice a difference.</p>
<p>It&#8217;s just programming evolution. It happens to every language. I wouldn&#8217;t be surprised if a few forward thinking browsers decided to just store a copy of the latest framework versions locally, so they&#8217;re instantly available to every website without having to download the same file hundreds of times from different servers.</p>
<br />Posted in Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/803/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/803/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=803&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/09/20/nothing-wrong-with-using-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Social labels are to be avoided</title>
		<link>http://shamess.wordpress.com/2009/09/20/social-labels-are-to-be-avoided/</link>
		<comments>http://shamess.wordpress.com/2009/09/20/social-labels-are-to-be-avoided/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 12:53:09 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=796</guid>
		<description><![CDATA[I&#8217;m taking a break before starting work (yeah, that&#8217;s going well) because something in an AskReddit article made me think about something, and I thought I&#8217;d come share my revelation. The &#8220;Objectivist Christian&#8221; labelled himself as pro-life, in that a foetus has a right to life and shouldn&#8217;t be aborted, however the government has no [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=796&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m taking a break before starting work (yeah, that&#8217;s going well) because something in an <a href="http://www.reddit.com/r/IAmA/comments/9m8j0/i_am_a_ayn_rand_loving_health_care_hating_prolife/">AskReddit article</a> made me think about something, and I thought I&#8217;d come share my revelation.</p>
<p>The &#8220;Objectivist Christian&#8221; labelled himself as pro-life, in that a foetus has a right to life and shouldn&#8217;t be aborted, however the government has no right to make it illegal. That spurred an argument that someone who calls themselves pro-life <em>can&#8217;t</em> also hold the opinion that it shouldn&#8217;t be regulated upon. A pro-life person must also want abortions to be illegal.</p>
<p>The guy insisted that they were two different arguments, and I agreed with him at first. The moral discussion of aborting is a completely different one to the legality of abortions. Just because you believe abortion is a woman&#8217;s prerogative, doesn&#8217;t mean you can&#8217;t also believe it should be illegal (or any other combination &#8212; though, the combination I just gave would be odd).</p>
<p>The countering person didn&#8217;t argue against that, and probably agreed with it. However, what they were getting upset about was that the label &#8220;pro-life&#8221; is socially accepted as &#8220;a life must be protected under the law&#8221;, a single idea. You can&#8217;t take a socially accepted term and  use it as you want, even if the literal sense of the word allows your definition.</p>
<p>Another example I was thinking of was the guy that was kicked out of university <a href="http://abcnews.go.com/US/story?id=7567291">for calling himself  &#8220;African American&#8221;</a>, although he was white but an African living in America. People were outraged that he&#8217;d call himself that, which is a name for a black person living in America, some people even thought it was racist.</p>
<p>So it&#8217;s clear that social labels need to be avoided whenever you&#8217;re talking about anything. Maybe they&#8217;re okay for the media to use, or in flippant conversation, but when you&#8217;re discussing your views you shouldn&#8217;t use terms like &#8220;pro-life&#8221; or &#8220;African American&#8221;. You need to say <em>exactly</em> what you mean.</p>
<p><em>NB: You&#8217;ll notice that I&#8217;ve not given my views on abortion, or anything really. I don&#8217;t intend to do that in this post, nor to discuss it here.</em></p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/796/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/796/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/796/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=796&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/09/20/social-labels-are-to-be-avoided/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Time to start paying my way, I think.</title>
		<link>http://shamess.wordpress.com/2009/09/10/paying-my-way/</link>
		<comments>http://shamess.wordpress.com/2009/09/10/paying-my-way/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 14:47:42 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Freelance]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=794</guid>
		<description><![CDATA[I&#8217;ve realised that with a dawn of another university year, I&#8217;m shockingly close to having to live in the real world. One year away, really. This is my second year, and the third is out in the big wide upper-working class world. I&#8217;ll need to find a job, which probably won&#8217;t be very highly paying [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=794&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve realised that with a dawn of another university year, I&#8217;m shockingly close to having to live in the real world. One year away, really. This is my second year, and the third is out in the big wide upper-working class world. I&#8217;ll need to find a job, which probably won&#8217;t be very highly paying (that year in industry is about experience, not making money), so I&#8217;ll have to be backing myself. Also, an income would hurt to help pay off my overdraft.</p>
<p>Next year, I&#8217;m not sure if I&#8217;ll be getting much government grants at all, and I refuse to come back to living at home with my parents. I&#8217;ve just grown out of that. Which means, I&#8217;ll need at least an income of £80~ a week to pay for rent, plus food costs (damn human weaknesses), as well as bills and other living costs. That £80 a week is only if I&#8217;m really lucky to find somewhere. I&#8217;ll likely just be renting a room in student accommodation.</p>
<p>I have about nine months to save up enough money to keep me alive for that year. (I&#8217;ll obviously be making money during that year too though.)</p>
<p>With that in mind, I&#8217;ve decided to start taking a proactive money making approach, rather than a reactive one I&#8217;ve current been taking (&#8220;I need £50, so I&#8217;ll do £50 worth of work.&#8221;) with my freelance gigs. I want to actively be advertising my services, and getting in touch with businesses enquiring if they want any help improving their web presence. Though, I&#8217;m not too sure about how they&#8217;ll react to what effectively amounts to cold calling.</p>
<p>Since I&#8217;m most interesting in WordPress customisation though, I figured I&#8217;d create a <a href="http://shamess.info/business/wordpress/">WordPress services minisite</a>, which isn&#8217;t finished just yet. I have a few ideas for promotion which are fairly exciting to me, and I really just want to jump into them before I&#8217;ve finished the website and proper landing pages.</p>
<p>I really have no desire to have a nine-to-five, working behind a cash register job. If I get to February and realise I have zero money saved, then I&#8217;ll have to resort to that, but I&#8217;m really trying to push that off. That&#8217;s kind of my motivation to earn as much money as I can, I guess.</p>
<p>I still think the largest thing holding me back is confidence in myself though. I see jobs I know I can do and think &#8220;but what if I make a mistake, and end up looking incredibly stupid&#8221;, or &#8220;what if I get in over my head and have to tell the customer I can&#8217;t do what I said I could in the time he wants it&#8221;. I think I just have to embrace that those situations <em>will</em> happen, and just be prepared for them so I&#8217;m not knocked off balance too much when they do.</p>
<br />Posted in Freelance  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/794/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=794&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/09/10/paying-my-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Political alignment, as told by OkCupid</title>
		<link>http://shamess.wordpress.com/2009/09/01/political-alignment-as-told-by-okcupid/</link>
		<comments>http://shamess.wordpress.com/2009/09/01/political-alignment-as-told-by-okcupid/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 10:52:44 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[Libertarian]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=790</guid>
		<description><![CDATA[I did a political alignment quiz and came out as 70% permissive social liberal, and 81% permissive economic conservative. And that apparently libertarian. I&#8217;m sort of okay with that, but I would have rather been placed dead on the capitalist/liberal line. As always though, some of the questions were dumb and I answered them wrongly. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=790&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_791" class="wp-caption alignright" style="width: 273px"><img class="size-full wp-image-791 " title="political-graph" src="http://shamess.files.wordpress.com/2009/09/political-graph.jpg?w=510" alt="Stupid test."   /><p class="wp-caption-text">Stupid test.</p></div>
<p>I did a political alignment quiz and came out as 70% permissive social liberal, and 81% permissive economic conservative. And that apparently libertarian. I&#8217;m sort of okay with that, but I would have rather been placed dead on the capitalist/liberal line.</p>
<p>As always though, some of the questions were dumb and I answered them wrongly. By that I mean one of the questions was:</p>
<blockquote><p>Being poor and black is an advantage in getting into college.</p></blockquote>
<p>And I chose &#8220;agree&#8221;. I realise now that the question was asking &#8220;do you think black people get life easier because they&#8217;re black?&#8221; Which I would have answered &#8220;disagree&#8221; to. Other questions like that had meanings which weren&#8217;t clear, so I answered the question &#8220;wrong&#8221;.</p>
<p>Anyway, <a href="http://www.okcupid.com/politics">go do the test</a>.</p>
<br />Posted in Politics  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/790/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/790/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/790/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/790/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/790/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/790/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/790/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/790/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/790/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/790/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/790/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/790/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/790/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/790/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=790&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/09/01/political-alignment-as-told-by-okcupid/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>

		<media:content url="http://shamess.files.wordpress.com/2009/09/political-graph.jpg" medium="image">
			<media:title type="html">political-graph</media:title>
		</media:content>
	</item>
		<item>
		<title>You are all mindless sheep. Yes, even you.</title>
		<link>http://shamess.wordpress.com/2009/08/30/you-are-all-mindless-sheep/</link>
		<comments>http://shamess.wordpress.com/2009/08/30/you-are-all-mindless-sheep/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 16:30:05 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[Demosthenes]]></category>
		<category><![CDATA[Ender's Game]]></category>
		<category><![CDATA[Locke]]></category>
		<category><![CDATA[Yaron Brook]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=786</guid>
		<description><![CDATA[In Ender&#8217;s Game there&#8217;s a subplot wherein Ender&#8217;s older brother and sister decide that there&#8217;s something wrong with the world, and they&#8217;re too smart to sit by and watch humanity edge its way to another world war. They jump onto the Internet and start talking on message boards using the  pseudonyms Demosthenes and Locke, just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=786&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Ender&#8217;s Game there&#8217;s a subplot wherein Ender&#8217;s older brother and sister decide that there&#8217;s something wrong with the world, and they&#8217;re too smart to sit by and watch humanity edge its way to another world war. They jump onto the Internet and start talking on message boards using the  pseudonyms Demosthenes and Locke, just passing their views around. Both children &#8212; who&#8217;re barely into their teens at this point &#8212; start to amass followers, slowly at first, but then they&#8217;re invited to write for professional, upstanding establishments. By then, Demosthenes and Locke have built up their own cult groups, with polar opposite politics, and either one could say something no matter how outrageous and their followers would accept it unquestioningly.</p>
<p><em>(Please go and read the books.)</em></p>
<p>I wondered if that was possible today. Could two single people take to the Internet and split the entire populous of the globe into two separate groups. <em>No</em>, was my initial reaction<em>, surely people can&#8217;t be that dumb, and sheeplike, that they can&#8217;t make their own minds up.</em></p>
<p>I mentally retracted that thought immediately. Manipulating people to your point of view isn&#8217;t that hard.</p>
<p>I&#8217;m a fairly intelligent person so figured I wouldn&#8217;t be bought around to someone thinking blindly, but I guess I over estimated myself. If you&#8217;ve been following my blog you&#8217;ll know that I&#8217;ve been playing with objectivism, and it actually fits into my political philosophy and general ethos really well. And then the whole health care thing kicked off in America and I felt like I had to pick a side. Yaron Brook &#8211; head of the Ayn Rand Institute &#8211; has so far been the guy I turn to for arguments and ideas which have always nicely fitted into how I feel.</p>
<p>So, this time I just decided to assume his stance without doing much research. National health care would enslave doctors, give substandard care, make patients spend years in queues just to be refused care because the government doesn&#8217;t think they&#8217;re worth saving. All things I agreed with (and some still do) and just accepted because Brook has always been a good source for me before.</p>
<p>But because it&#8217;s been such a large issue over at reddit, I&#8217;ve heard hundreds of arguments most of which I could just wave away. But some really hit home, and I couldn&#8217;t justify the capitalist system much longer. Only after a few days research into stuff (and a huge push from watching <a href="http://video.google.com/videoplay?docid=6646340600856118396">Sicko</a>), I reluctantly started to realise that maybe universal health care isn&#8217;t that bad.</p>
<p>But most people won&#8217;t bother, or aren&#8217;t smart enough, to go and research how I did. They&#8217;d have just followed their mentor&#8217;s lead unquestioningly, like I almost did.</p>
<p>&#8220;I&#8217;m voting Labour because my parents voted Labour, and I&#8217;m working class, so there&#8217;s no one else I can vote for,&#8221; is something that I hear all the time. Regardless of their policies, people will stick with the party that&#8217;s gained their trust with catchy motos that sound cheery enough. Labour could unleash Three Waters, admit to it after most the population has been killed, and they&#8217;d still get votes from those loyalists.</p>
<p>You can get the general principle for this from watching The Real Hustle, or any heist film. You do something that makes your mark trust you, something honest, or even just something they want to hear. Your mark can be one person, or an entire country. Demosthenes did this by reminding the country of the imminent threat from Russia. Using fear to make them trust him. &#8220;You have to follow my ideas, because they&#8217;re the only way we&#8217;re going to avoid another world war in which you&#8217;ll probably die.&#8221; Locke did the same by being logical, calm, and rational. People ended up trusting both of them.</p>
<p>Shortly afterwards either of the pair could have said literally anything, and their followers would follow.</p>
<p>Today, I don&#8217;t think it would work out the way it would in the book. Once someone is hailed as a celebrity, they quickly generate circles in which they&#8217;re infamous, where people hate them just because they&#8217;re well known. My Chemical Romance aren&#8217;t  bad band, but when they blasted to success out of no where people started hating on them. Twilight isn&#8217;t an awful book, but it&#8217;s hated by people who have never read it for similar reasons.</p>
<p>This is the age of celebrity, where people are fickle. And so a two-party system will never work. There are far too many demographics that need to be heard and, yes, manipulated. So maybe not just Demosthenes and Locke, but throw in a Galiani, and a Lysias and I think it would work.</p>
<p>The moral here is that you need to actively disagree with everything you hear. It&#8217;s your moral obligation to question and judge things (there&#8217;s a little Rand for you). Find your own views and don&#8217;t just sit in labels like &#8220;socialist New Labour&#8221;, or &#8220;Christian&#8221;, or &#8220;Republican&#8221;. When our Shadow Work Secretary says, &#8220;Worklessness has become a generational problem&#8221; don&#8217;t just agree with her and then immediately go out and vote for the Conservatives. Go and research if she&#8217;s telling the truth (she obviously is in this quote), and then go and check their other policies.</p>
<p>Gosh, dammit people, <em>think.</em></p>
<br />Posted in Politics  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/786/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=786&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/08/30/you-are-all-mindless-sheep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Why can&#8217;t schools (even partially) fund themselves?</title>
		<link>http://shamess.wordpress.com/2009/08/29/why-cant-schools-even-partially-fund-themselves/</link>
		<comments>http://shamess.wordpress.com/2009/08/29/why-cant-schools-even-partially-fund-themselves/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 16:10:26 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[World]]></category>
		<category><![CDATA[schools]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=784</guid>
		<description><![CDATA[The tl;dr of this Guardian on Labour cutting spending on schools article is that we have literally no money, so schools are going to have to start &#8220;tightening their belts&#8221; (a phrase used at least four times in that article), and a lot of small schools will have to close, or partner with others and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=784&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The tl;dr of <a href="http://www.guardian.co.uk/politics/2009/aug/29/labour-spending-cuts-academy-programme">this Guardian on Labour cutting spending on schools</a> article is that we have literally no money, so schools are going to have to start &#8220;tightening their belts&#8221; (a phrase used at least four times in that article), and a lot of small schools will have to close, or partner with others and share resources. Despite that, they still plan on opening at least 167 new Academies in the next year, albeit with them all having reduced budgets.</p>
<p>That&#8217;s analogous to building hundreds of level one pellet towers and hoping you can get to level fifty. It&#8217;s quantity over quality and that&#8217;s not how I want England&#8217;s education to be heading. I don&#8217;t care if people have to get up at seven o&#8217;clock in the morning to get a fifty minutes bus to school (I had to do that for college and it didn&#8217;t harm me, and I had to go up hill both ways). It&#8217;s freaking free. They should be happy to be getting it.</p>
<p>I&#8217;d rather people be getting a good, well funded education a bus ride away than being taught the difference between meiosis and mitosis from a browning leaflet from a museum, in some shack at the bottom of their street.</p>
<p>But I also think that schools don&#8217;t make the most out of their possible revenue avenues. For instance, my old school is a sports college so we had a pretty decent sports suite. I thought they rented it out during the evenings, but every time I pass there there&#8217;s clearly no one parked outside. People would pay good money to use the massive field, three good sized sports halls, and a fitness centre.</p>
<p>The school also has hundreds of computers just lying around at night. It&#8217;s a computing school too, so their equipment is nothing to sniff at. Why not rent those out during the evening to people doing night courses on how to use Word and whatever?</p>
<p>My school also has compulsory uniform. Why can&#8217;t some company has their logo on there? For instance, Adidas could have their logo on the pupils uniform; they&#8217;re generating brand loyalty from the kids, making uniform more fashionable (I guess), and hundreds of people will see the kids walking from and to home each day with the logo. It&#8217;s pretty good advertising. So long as the advertisers knew that they could have no control over what was being taught in the school, I don&#8217;t see a problem in that. The school could earn a hefty sum from that.</p>
<p>Schools need to quit looking for money from the government and start looking for ways they can make money for themselves.</p>
<br />Posted in World  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/784/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=784&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/08/29/why-cant-schools-even-partially-fund-themselves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Hashmask for WordPress plugin</title>
		<link>http://shamess.wordpress.com/2009/08/29/hashmask-for-wordpress-plugin/</link>
		<comments>http://shamess.wordpress.com/2009/08/29/hashmask-for-wordpress-plugin/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 01:09:54 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[hashmask]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=780</guid>
		<description><![CDATA[Check me out being in the WordPress plugin directory! I decided to add Hashmask as a plugin to the WordPress login form, mostly because I hated the problem that arc90 fixed. Wasn&#8217;t really that complicated, nor is it world stopping, but it&#8217;s totally my first submitted plugin! The plugin page I made it a github [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=780&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Check me out being in the WordPress plugin directory!</p>
<p>I decided to add Hashmask as a plugin to the WordPress login form, mostly because I hated the problem that arc90 fixed. Wasn&#8217;t really that complicated, nor is it world stopping, but it&#8217;s totally my first submitted plugin!</p>
<ul>
<li> <a href="http://wordpress.org/extend/plugins/haskmask-for-wordpress/">The plugin page</a></li>
<li>I made it a <a href="http://github.com/shamess/Hashmask-for-WordPress/">github page</a> too if anyone wants to pull and edit it</li>
</ul>
<div id="attachment_781" class="wp-caption aligncenter" style="width: 316px"><img class="size-full wp-image-781 " title="Screenshot of Hashmask in WordPress" src="http://shamess.files.wordpress.com/2009/08/screenshot-1.png?w=510" alt="Screenshot of Hashmask in WordPress"   /><p class="wp-caption-text">Screenshot of Hashmask in WordPress</p></div>
<br />Posted in WordPress  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/780/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/780/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/780/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/780/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/780/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/780/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/780/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/780/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/780/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/780/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/780/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/780/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/780/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/780/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=780&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/08/29/hashmask-for-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>

		<media:content url="http://shamess.files.wordpress.com/2009/08/screenshot-1.png" medium="image">
			<media:title type="html">Screenshot of Hashmask in WordPress</media:title>
		</media:content>
	</item>
		<item>
		<title>Game Boy resolution problem has no real resolution.</title>
		<link>http://shamess.wordpress.com/2009/08/26/game-boy-resolution-problem-has-no-real-resolution/</link>
		<comments>http://shamess.wordpress.com/2009/08/26/game-boy-resolution-problem-has-no-real-resolution/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 16:06:11 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[GBCanvas]]></category>
		<category><![CDATA[game boy colour]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=776</guid>
		<description><![CDATA[I was looking up information about the resolution of Game Boy Colour, and found it to be a few different sizes depending on what version you own. But I don&#8217;t remember playing any games on a 640 x 350 screen. The smallest resolution available is 160 x 140 which may have made more sense, but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=776&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was looking up information about the resolution of Game Boy Colour, and found it to be a <a title="Skip down to &quot;Game Boy comparison&quot;" href="http://www.manifest-tech.com/ce_games/game_boy.htm">few different sizes</a> depending on what version you own. But I don&#8217;t remember playing any games on a 640 x 350 screen. The smallest resolution available is 160 x 140 which may have made more sense, but I was still unsure.</p>
<div id="attachment_777" class="wp-caption alignright" style="width: 330px"><img class="size-full wp-image-777" title="zelda-links-awakening-big" src="http://shamess.files.wordpress.com/2009/08/zelda-links-awakening-big.gif?w=510" alt="Ah, I remember it well."   /><p class="wp-caption-text">Ah, I remember it well.</p></div>
<p>I decided to look around my house to find my Game Boy and my Link&#8217;s Awakening cartridge so I could just count the pixels, but apparently my sister is holding them hostage somewhere. I had to settle for a screen shot and found the image to the right.</p>
<p>That&#8217;s pretty much how I remember it, to scale and everything. But the resolution of 320 x 288 doesn&#8217;t fit any of the resolutions for any figures I can find. And even then each pseudo-pixel is 4 x 4.</p>
<p>That must mean that developers were able to set the resolution they wanted to work with, and the Game Boy just scaled it up or down to fit the screen.</p>
<p>Come to think of it, that makes absolute sense, being as we don&#8217;t have four different versions of the game for four different consoles. Although, I&#8217;m not exactly sure how at the moment, since by just looking at the numbers I can&#8217;t see how they&#8217;d all factor to the same scale. Maybe some games just have a border around them. I can&#8217;t remember that though.</p>
<br />Posted in GBCanvas  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/776/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=776&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/08/26/game-boy-resolution-problem-has-no-real-resolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>

		<media:content url="http://shamess.files.wordpress.com/2009/08/zelda-links-awakening-big.gif" medium="image">
			<media:title type="html">zelda-links-awakening-big</media:title>
		</media:content>
	</item>
		<item>
		<title>GBCanvas: A canvas experiment</title>
		<link>http://shamess.wordpress.com/2009/08/25/gbcanvas-a-canvas-experiment/</link>
		<comments>http://shamess.wordpress.com/2009/08/25/gbcanvas-a-canvas-experiment/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 03:58:23 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[GBCanvas]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=769</guid>
		<description><![CDATA[I&#8217;m pretty sure my body doesn&#8217;t work on a 24 hour day cycle. I went to bed around 2300 two nights ago, and got up around seven. Though I&#8217;d been lying in bed awake, trying to sleep for much longer. I say I got about five or six hours sleep that night. I went to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=769&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pretty sure my body doesn&#8217;t work on a 24 hour day cycle. I went to bed around 2300 two nights ago, and got up around seven. Though I&#8217;d been lying in bed awake, trying to sleep for much longer. I say I got about five or six hours sleep that night. I went to bed at ten tonight, and was awake by two. I feel I could stay awake until tonight now. I&#8217;m not tired or anything. Maybe so little sleep has just become a habit.</p>
<p>My sleep schedule isn&#8217;t why I&#8217;m here.</p>
<p>I&#8217;m doing some tests with the canvas element, and decided to make a class for it. You can see it over at the <a href="http://github.com/shamess/GBCanvas/tree/master">GBCanvas github</a> I set up for it. (I&#8217;ve never used github. Just heard a lot about it.) The code is kinda broken at the moment though.</p>
<p>The class is based on the idea of pseudo-pixels, where you have a 300&#215;300 canvas, and can set it to have ten rows and twelve columns. Then you can manipulate each of those segments, which I&#8217;ve decided to call pixels. The &#8220;GB&#8221; comes from Gameboy, because I figured it&#8217;d be cool to remake Zelda with canvas.</p>
<p>I want to add an edit mode so the user could do something like</p>
<pre>$(document).ready (function () {
  var canvas = new gbCanvas ('canvasid1');
  canvas.editModeOn (true);
});</pre>
<p>Which would allow clicking of a pixel and it fills it with a chosen colour. I  mostly want this feature so I can create pixel art, and then get the raw data:image/png data, which I can import into the project whenever. I&#8217;m aware I could just create sprites in Paint or something and import the file, but I don&#8217;t want to. I&#8217;m fond of imposing restrictions stubbornly unto myself.</p>
<p>After a few rethinks, I figured it would be fair simple to just bind a click event to the canvas</p>
<pre>//  Turns on edit mode so onclicks are registered and bubbled
this.editModeOn = function (mode) {
  if (mode) {
    //  .click is a jquery thing
    this.canvasDiv.click (this.editModeClick);
  }
}</pre>
<p>And then working out which pixel was clicked, and filling it with colour</p>
<pre>  this.editModeClick = function (event) {
  //  getSelectPoint just returns an array with the X and Y coord of the click
  //  relative to the top left of the image (to avoid problems with scrolling)
  clickPoints = getSelectionPoint (event, this.canvasID);
  console.log (clickPoints);
  //  Work out which "pixel" they just clicked
  var coordWidth = parseInt (clickPoints[0] / pixelWidth);
  var coordLength = parseInt (clickPoints[1] / pixelHeight);
  console.log (coordWidth + ', ' + coordLength);
  this.colourPixel (coordWidth, corrdLength);
}</pre>
<p>This doesn&#8217;t seem to work because the event is rarely passed. It is sometimes, but hardly ever. The function is bound correctly. It&#8217;s entirely a problem with the event being passed &#8211; something I&#8217;ve always had trouble with if I&#8217;m honest&#8230;</p>
<p><strong>Update: </strong>Ladies and gents, do yourself a favour and check all your variables before you go bitching on your blog about your code not working. The event was being passed fine. The problem with my code is that since it&#8217;s a function that&#8217;s being bound to an event, it effectively loses it&#8217;s place in the instance of the class, so it no longer has access to the this variable.</p>
<p>My problem was that this.cavasID was undefined.</p>
<p>So, I fix that by simply passing it &#8220;this&#8221;. Changing the bound event function to something like this:</p>
<pre>this.editModeClick = function (event, _this) {
  console.log (event);
  console.log (_this);
  clickPoints = getSelectionPoint (event, _this.canvasID);
  console.log (clickPoints);
  //  Work out which "pixel" they just clicked
  var coordWidth = parseInt (clickPoints[0] / _this.pixelWidth);
  var coordLength = parseInt (clickPoints[1] / _this.pixelHeight);
  console.log (coordWidth + ', ' + coordLength);
  _this.colourPixel (coordWidth, corrdLength);
}</pre>
<p>That&#8217;s all well and good, but now I&#8217;m confused as to how to bind it&#8230;</p>
<pre>this.canvasDiv.click (this.editModeClick (event, this));</pre>
<p>The event needs to be the first argument, but I&#8217;ve no idea how to pass the event here&#8230; That obviously doesn&#8217;t work (event is undeclared).</p>
<p><strong>Edit:</strong> Of course it was something ridiculously simple.</p>
<pre>var self = this;
this.canvasDiv.click (function (event) { self.editModeClick (event, self) } );</pre>
<br />Posted in GBCanvas  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/769/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/769/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/769/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/769/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/769/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/769/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/769/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/769/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/769/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/769/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/769/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/769/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/769/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/769/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=769&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/08/25/gbcanvas-a-canvas-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>You can take a bird to water, but it&#8217;ll only eat worms. Or something.</title>
		<link>http://shamess.wordpress.com/2009/08/24/you-can-take-a-bird-to-water-but-itll-only-eat-worms-or-something/</link>
		<comments>http://shamess.wordpress.com/2009/08/24/you-can-take-a-bird-to-water-but-itll-only-eat-worms-or-something/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 07:44:35 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=767</guid>
		<description><![CDATA[Check me out being awake before lunch time, five hours in fact. I&#8217;ve not seen the morning where the sun isn&#8217;t totally glaring in a while. I had egg in bread! I propose this shall be a good day. I decided to come update here because it&#8217;s mine to update, even if I have nothing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=767&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Check me out being awake before lunch time, five hours in fact. I&#8217;ve not seen the morning where the sun isn&#8217;t totally glaring in a while. I had egg in bread! I propose this shall be a good day.</p>
<p>I decided to come update here because it&#8217;s mine to update, even if I have nothing to say. And because I have nothing else to do till nine o&#8217;clock, when I want to start work. I&#8217;ve not decided what work I want to do though. I do have two &#8220;you really should get these done&#8221; projects though &#8211; a secret one, and a WordPress landing page &#8211; so probably those first.</p>
<p>I decided to do a night project (in which I see how far into a project I can do in one night), and I got my facebook people to give me the idea for it. Ended up being &#8220;porn&#8221;, so I started making a porn reddit. To be honest though, after an hour I got distracted by Alias or Greek or some other show and only got a bit done, but I still plan on continuing it.</p>
<p>As always, tonnes of other ideas. Mostly being stopped by my not spending enough time with OAuth though.</p>
<p>I&#8217;ve not really updated this blog in a while because I&#8217;ve been lazy. I&#8217;ve really improved on my politics which I really could write  about. I figured I&#8217;ll actually start vlogging, from my YouTube account, and I&#8217;ll embed the videos here. I make a lot of political arguments on reddit too, and at some point I&#8217;ll link to some of my important ones. Although, they mostly get downmodded.</p>
<br />Posted in Freelance, Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/767/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=767&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/08/24/you-can-take-a-bird-to-water-but-itll-only-eat-worms-or-something/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Competition in services and employment</title>
		<link>http://shamess.wordpress.com/2009/08/02/competition-in-services-and-employment/</link>
		<comments>http://shamess.wordpress.com/2009/08/02/competition-in-services-and-employment/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 17:19:49 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[competition]]></category>
		<category><![CDATA[employment]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[objectivism]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=763</guid>
		<description><![CDATA[Although I usually talk myself back into objectivism by the end of it (and I&#8217;m sure that&#8217;s how this post will turn out), I do always think about the consequences of various things. A truly free market, for instance. An article about Google Maps being sued in France because they&#8217;re offering their service for free, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=763&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Although I usually talk myself back into objectivism by the end of it (and I&#8217;m sure that&#8217;s how this post will turn out), I do always think about the consequences of various things. A truly free market, for instance. An article about Google Maps being sued in France because they&#8217;re <a href="http://carbide20.com/2009/08/01/google-maps-charged-with-unfair-competition-in-france-for-daring-to-be-free/">offering their service for free, so competing services can&#8217;t charge</a>.</p>
<p>I think this small company has a point. The two offer pretty much exactly the same services to businesses, only Google does it for free. Google&#8217;s able to do it for free because they&#8217;re okay with making a loss, even massive losses if necessary. Bottin Cartographes, the guys suing, say that Google just wants to kick everyone else out of the market and <em>then</em> maybe they&#8217;ll start charging once there are no alternatives. Which&#8217;ll give them a monopoly.</p>
<p>Much like if Asda decided to give away all their products for free, paying for it out of their past profits and reserves, until every other supermarket decides they just can&#8217;t compete and go under. Then Asda could start charging £100 for a can of beans to start making their money back. You&#8217;d pay it because there&#8217;d be no where else.</p>
<p>Of course, they&#8217;d never do that because they&#8217;d just lose too much money far too quickly. But for Google giving away their data in an API only costs them a bit of bandwidth. For a company that makes billions of pounds a year from advertising, Google could probably go forever before they&#8217;d run out of money and have to start charging for their services.</p>
<p>That&#8217;s <em>not</em> a possibility though. There are other companies that too can give away their maps and data for free. Yahoo, although faltering, can still offer the same service. Bing maps, Maps.com, Mapquest. I&#8217;d say there&#8217;s enough competition in these waters. All of them giving the same service and all of them embracing revolutionary business models.</p>
<p>So, once again, I guess an unregulated market seems to stand on its feet. And it looks like Bottin Cartographes are going to go the way of every other business that refuses to innovate.</p>
<p>Another problem though is exactly that, <em>how</em> do the innovate? You need fresh blood that isn&#8217;t afraid to try quirky things. No discredit to the people at Bottin, I&#8217;m sure they&#8217;re good at what they do, but maybe they just don&#8217;t understand how things work around these parts. So they have to go job hunting for those people, and the prime place to get their from is universities.</p>
<p>Therein lies the problem&#8230; It&#8217;s no secret that Google and Microsoft, and more and more so Apple, try to get as many graduates as they can. Google especially, with them hiring more engineers than they actually even need, just so they have the whole &#8216;class of 2009&#8242; set, I guess. Students know that when they actually get to Google they&#8217;ll probably get mundane customer service jobs, and maybe not see any code for a good few months, but who cares? It&#8217;s fucking Google! The enticement is just too much for them.</p>
<p>And that leaves none left for the smaller start-ups, or people like Bottin that really need a new a revitalising wave.</p>
<p>My first though to combat that was that maybe businesses that need the graduates could sponsor them, paying for their tuition fees on condition that when they graduate they come to work for them for a reasonable rate (considering they just paid for your schooling) for a certain number of years or something. Free tuition <em>and</em> a definite job at the end of the course would be something I&#8217;d snap at.</p>
<p>But at $38,925 a year, I doubt a start-up could afford that much for one kid, who could fail horribly and not be able to work for you or even pay the money back. It&#8217;d be a huge risk that no one but these big companies could afford &#8211; and they&#8217;re exactly the opposite of the people that should be getting these graduates.</p>
<p>A lesser investment could be something strongly advertising jobs around campuses. Or even just being in close contact with the university&#8217;s employment centre. I don&#8217;t imagine that a cool company like Twitter or Tumblr, even though they&#8217;re not big high rollers, would have a problem getting the right employees. But not all businesses can be that cool. There needs to be professional businesses that maybe just inherit a boring reputation. How would they entice students to work for them when they&#8217;re competing for them with Google?</p>
<br />Posted in Politics  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/763/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=763&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/08/02/competition-in-services-and-employment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Twitter and politics</title>
		<link>http://shamess.wordpress.com/2009/07/30/twitter-and-politics/</link>
		<comments>http://shamess.wordpress.com/2009/07/30/twitter-and-politics/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 00:12:39 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[david cameron]]></category>
		<category><![CDATA[john prescott]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=759</guid>
		<description><![CDATA[John Prescott decided to write an article commenting on how politicians use social media, off the back of Cameron&#8217;s &#8220;twat&#8221; remark. He said that having to get your point across in 140 characters forces them to be concise and to have an actual opinion, not avoid the question. One of the comments to his article [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=759&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>John Prescott decided to write an article commenting on <a href="http://www.guardian.co.uk/commentisfree/2009/jul/29/david-cameron-twitter">how politicians use social media</a>, off the back of Cameron&#8217;s &#8220;twat&#8221; remark. He said that having to get your point across in 140 characters forces them to be concise and to have an actual opinion, not avoid the question.</p>
<p>One of the comments to his article was</p>
<blockquote><p>Yeah, more empty sloganeering is exactly what the country needs.</p>
<p style="text-align:right;">&#8211;<em><a href="http://www.guardian.co.uk/commentisfree/2009/jul/29/david-cameron-twitter?commentid=c3ff1688-fae4-4e2b-a3a4-e6d3109a6fc7">thaumaturge </a></em></p>
</blockquote>
<p>And I can see their point. The example that Prescott gave &#8211; &#8220;tough on crime, tough on the causes of crime&#8221; &#8211; was a bad one. That&#8217;s not really the use of twitter.</p>
<blockquote><p><span><span>Cameron apologises for saying offensive 4 letter word on radio &#8211; TORY? <a rel="nofollow" href="http://tinyurl.com/mtd6sj" target="_blank">http://tinyurl.com/mtd6sj</a></span></span></p>
<p style="text-align:right;"><span><span><em>&#8211;<a href="http://twitter.com/JohnPrescott/status/2909172269">@johnprescott</a></em><br />
</span></span></p></blockquote>
<p><em>That&#8217;s</em> more like a twitter usage. It&#8217;s not a party policy message because there&#8217;re better places for those to go. The limited characters really isn&#8217;t enough for those. But a quick quip, off the cuff, makes the politician more human. Someone we can relate to better and get to know on a more personal level.</p>
<p>I want more politicians to be using the Internet like this. You can have an actual conversation with them on twitter and sometimes they even reply. People have to remember, and respect, that you&#8217;re voting for an actual person, not a party. Just because a person is a member of the Labour party, it doesn&#8217;t mean they back national ID cards, for instance. Voters need to know <em>who</em> the person is, not just what party they&#8217;re in.</p>
<p>As always where politics is concerned, people are idiots. The comments to that article could have been a nice debate about the uses of the Internet within our executive, but instead they turned mostly into people complaining about Labour. The damn article had nothing to do with Labour. STFU.</p>
<br />Posted in Internet, Politics  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/759/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=759&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/07/30/twitter-and-politics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Sweatiest. Day. Ever.</title>
		<link>http://shamess.wordpress.com/2009/07/26/sweatiest-day-ever/</link>
		<comments>http://shamess.wordpress.com/2009/07/26/sweatiest-day-ever/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 20:39:12 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bryan o'sullivan]]></category>
		<category><![CDATA[christopher hill]]></category>
		<category><![CDATA[laura krumfort]]></category>
		<category><![CDATA[luke mee]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=757</guid>
		<description><![CDATA[I went to Laura&#8217;s this weekend, having not seen each other for weeks &#8212; since we finish university actually. Happiness definitely ensued. Chris came too, and Bryan lives right next to Laura so the gang was almost complete! &#8216;cept for Luke who just didn&#8217;t put any effort in. High points included: More pizza than was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=757&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I went to Laura&#8217;s this weekend, having not seen each other for weeks &#8212; since we finish university actually. Happiness definitely ensued. Chris came too, and Bryan lives right next to Laura so the gang was almost complete! &#8216;cept for Luke who just didn&#8217;t put any effort in.</p>
<p>High points included:</p>
<ul>
<li>More pizza than was really necessary</li>
<li>Discovering they do Southern Comfort in a can</li>
<li>Rediscovering lemon slices</li>
<li>Making that egg in bread thing in frying pans that were clearly too small</li>
<li>Being enraged by Dr Robotnic!</li>
<li>Getting zeros for the first few sets of bowling, and then half strike it all the way home (and still losing)</li>
<li>Being able to tick off Clockwork Orange from my list of films to see &#8212; fucked. up.</li>
<li>Chris kicking a hedgehog so hard even the RSPCA would be impressed</li>
<li>Finding out Dagny Taggart likes it rough</li>
<li>Deciding to want to become a professional laser tag player, and becoming very hot whilst deciding.</li>
<li>Meeting Charlie!</li>
<li>Battling with Laura to keep her clothes on</li>
<li>Being yelled at in a forest, and fleeing for our lives</li>
</ul>
<p>Good times. :D</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/757/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=757&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/07/26/sweatiest-day-ever/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Lets irrigate Africa!</title>
		<link>http://shamess.wordpress.com/2009/07/14/lets-irrigate-africa/</link>
		<comments>http://shamess.wordpress.com/2009/07/14/lets-irrigate-africa/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 20:32:56 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[World]]></category>
		<category><![CDATA[africa]]></category>
		<category><![CDATA[third world]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=754</guid>
		<description><![CDATA[I was watching the rain today, and was wondering why places like Africa don&#8217;t get water. &#8220;Because it doesn&#8217;t rain,&#8221; was the obvious answer. So, if the water won&#8217;t come to them why not take the&#8230; water&#8230; to them&#8230; (Dammit, I&#8217;ve never been able to use that cliché). But anyway, my idea is this. Africa [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=754&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was watching the rain today, and was wondering why places like Africa don&#8217;t get water. &#8220;Because it doesn&#8217;t rain,&#8221; was the obvious answer. So, if the water won&#8217;t come to them why not take the&#8230; water&#8230; to them&#8230; (Dammit, I&#8217;ve never been able to use that cliché).</p>
<p>But anyway, my idea is this. Africa is surrounded by water. Like a farmer bringing water to his land from a near by river, why not do that for the centre of the country, where they&#8217;re dying of thirst? The idea is stupidly simple, and I&#8217;m sure there&#8217;s a glaringly obvious problem with this idea, but no one has been able to point one out to me yet.</p>
<p>Basically, dig a huge river (I suppose that would be called a canal) ultimately from one side of Africa to the other. Right along the equator. It&#8217;ll fill with sea water. They obviously can&#8217;t drink sea water though. But I&#8217;ve thought of that too!</p>
<p>Along side this new canal build a bus stop like building over the top of it. The water will evaporate and condense on the plastic of the cover and run down the sides into some sort of container or pipe, which will lead the water to a water well. It&#8217;ll now be fresh water and clean enough to drink.</p>
<p>The biggest barrier I guess would be funding it, but I can&#8217;t imagine that a plastic sheet and a few pipes could be that expensive. Some company could just donate them. And I&#8217;m sure the Africans would happily work for free to build the river &#8211; after all, they&#8217;re getting fresh water at the end of it.</p>
<p>So, tell me why this is a dumb idea?</p>
<br />Posted in World  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/754/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=754&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/07/14/lets-irrigate-africa/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>Encryption: Symmetric hashing</title>
		<link>http://shamess.wordpress.com/2009/07/14/encryption-symmetric-and-asymmetric/</link>
		<comments>http://shamess.wordpress.com/2009/07/14/encryption-symmetric-and-asymmetric/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 17:29:55 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[hmac-sha1]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=751</guid>
		<description><![CDATA[These are things I do know (though I don&#8217;t understand public/private keys), but since I&#8217;m having problems with signing OAuth requests, I figured I&#8217;d brain dump my knowledge, filling in any gaps with research and hoping that I&#8217;ll understand why my signing isn&#8217;t working. If nothing, I&#8217;ll have a blog post about encryption to help [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=751&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These are things I do know (though I don&#8217;t understand public/private keys), but since I&#8217;m having problems with signing OAuth requests, I figured I&#8217;d brain dump my knowledge, filling in any gaps with research and hoping that I&#8217;ll understand why my signing isn&#8217;t working. If nothing, I&#8217;ll have a blog post about encryption to help people. I&#8217;ll mostly be talking about encryption to do with OAuth though.</p>
<p><em>If you&#8217;d rather hear about this from someone that knows what they&#8217;re talking about, rather than someone who&#8217;s building up their knowledge as a lone wolf and possibly going in the wrong direction, then you&#8217;ll want this post on <a href="http://www.hueniverse.com/hueniverse/2008/10/beginners-guide.html">security architecture</a>.</em></p>
<p>OAuth wants to let one website access a user&#8217;s private data on another website, using HTTP. That basically means that all requests are made through URLs (either which get parameters, or through post data). That kind of data can be snooped on by malicious people through a man in the middle attack where the data can actually be changed before being sent to the server, or someone could just store it by watching wireless communication, or if you have a virus on your computer/router/access point which is relaying traffic to someone.</p>
<p>For instance, a customer could click the URL:</p>
<pre>http://www.orderadrink.com/drink_order.php?drink=tea&amp;customerid=1234</pre>
<p>But then an attacker could see the request, and before it gets to the server where the order would be processed, they could change it to:</p>
<pre>http://www.orderadrink.com/drink_order.php?drink=coffee&amp;customerid=1234</pre>
<p>And then the customer gets coffee for some reason unknown to them&#8230; OAuth fixes that problem by hashing the parameters with a salt (passphrase) that only the consumer (the person sending the request) and the service provider (the person receiving the request) knows. For instance, when I signed up for a developer API account with Google they gave me a phrase that I keep secret. Only Google and I know it.</p>
<p>For instance, the consumer and service provider could both decide that they want to do <a href="http://en.wikipedia.org/wiki/Rot13">rot13</a> on all the parameters. So we take &#8220;<em>drink=coffee&amp;customerid=1234</em>&#8221; and rot13 it making &#8220;qevax%3Dgrn%26phfgbzrevq%3D1234&#8243; (we need to do a urlencode() on it too, since it&#8217;s a GET parameter). Then we send this URL to make our order:</p>
<pre>http://www.orderadrink.com/drink_order.php?drink=tea&amp;customerid=1234&amp;hashed=qevax%3Dgrn%26phfgbzrevq%3D1234</pre>
<p>Now, if the hacker decided to change &#8220;tea&#8221; to &#8220;coffee&#8221;, orderadrink.com would notice because the parameters no longer match the hashed version, so they wouldn&#8217;t allow the action to happen.</p>
<p>Any hacker worth is salt (pun unintended) would immediately notice that that&#8217;s just rot13 and would change the hash accordingly. So we use a more sophisticated method of scrambling the parameters. One of those methods offered by OAuth is HMAC-SHA1.</p>
<p>This encrypts the data you give it using a sort of cypher. Damn near impossible to guess, or even to work out. Whilst, it&#8217;s not impossible to crack, it&#8217;s rarely worth the cracker&#8217;s CPU time (which could take years if we&#8217;re lucky). So I send the parameters hashed using HMAC-SHA1, using the secret phrase Google gave me, and they just decrypt it to check if the values match up.</p>
<p>I was planning on doing public/private key explanation too, but I really don&#8217;t understand it&#8230; I&#8217;ll go and do more research and maybe do another post on it. I think that&#8217;s the problem I&#8217;m running into with OAuth; I&#8217;ve chosen the signature method that is &#8220;more complex and requires key generation and a longer learning curve&#8221;. That&#8217;ll show me for jumping in at the deep end. I&#8217;ll just work with HMAC-SHA1 for a while, which I <em>do</em> understand.</p>
<br />Posted in Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/751/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/751/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/751/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/751/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/751/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/751/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/751/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/751/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/751/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/751/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/751/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/751/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/751/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/751/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=751&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/07/14/encryption-symmetric-and-asymmetric/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>The state of the development community</title>
		<link>http://shamess.wordpress.com/2009/07/14/state-of-the-development-community/</link>
		<comments>http://shamess.wordpress.com/2009/07/14/state-of-the-development-community/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 15:22:33 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=748</guid>
		<description><![CDATA[Blogs were first made as soap boxes so allow me to get up on mine and moan for a little bit. I&#8217;ve been trying to figure out OAuth, so I can use the YouTube API on a project I&#8217;m working on. It&#8217;s had a fair bit of coverage too; it was talked about at i/o [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=748&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Blogs were first made as soap boxes so allow me to get up on mine and moan for a little bit.</p>
<p>I&#8217;ve been trying to figure out OAuth, so I can use the YouTube API on a project I&#8217;m working on. It&#8217;s had a fair bit of coverage too; it was talked about at <a href="http://www.youtube.com/watch?v=6SYnlH5FXz0">i/o</a> last year, twitter has made it fairly popular, and so a lot of others have joined in too. It doesn&#8217;t look like it has much of a developer community though&#8230; The freenode room has 13 people in it, compared to #linux, #wordpress or #php&#8217;s usually maxed out rooms.</p>
<p>Because of the apparent lack of individual interest though, I&#8217;ve literally been able to count the number of resources I&#8217;ve seen on one hand. There&#8217;s this <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol_oauth.html">developer&#8217;s guide by Google</a>, the <a href="http://oauth.net/core/1.0/">oauth spec</a>, there&#8217;s some <a href="http://oauth.googlecode.com/svn/code/php/">code examples and a library</a> &#8211; but I wouldn&#8217;t really say they&#8217;re for new comers to this scene, and then there&#8217;s a <a href="http://oauth.net/documentation/getting-started">pretty comprehensive documentation</a>.</p>
<p>I&#8217;ve not really been helped much by any of that, though.</p>
<p>I was mostly just told to use the library to do what I needed, but there&#8217;s not much documentation, and the examples given aren&#8217;t really explained. Maybe I&#8217;m just not as smart as I need to be&#8230; And I think that&#8217;s what annoys me so much. I&#8217;ve really tried hard &#8211; and it&#8217;s not like I&#8217;m a <a href="http://slash7.com/pages/vampires">help vampire</a> or anything &#8211; I&#8217;ve actually put a lot of work in before asking in the #oauth channel. I&#8217;ve read, and reread, that spec, but I&#8217;m still a <span style="text-decoration:line-through;">little</span>lot confused.</p>
<p>I wrote a function to <a href="http://shamess.pastebin.com/m261dd5e2">nab a request token</a> (pastebin link should stick around for a month &#8211; it&#8217;s broken anyway, you&#8217;re not missing much if you don&#8217;t get to see it), which essentially creates a URL. But that&#8217;s not correct. I was just told to use the library but I don&#8217;t even know where to start with it&#8230;</p>
<p>I&#8217;m not complaining about the current work that&#8217;s being done; I think it&#8217;s awesome that the current developers are working on it and at least some people are benefiting. I really don&#8217;t mean to be offended anyone. I guess I just felt like moaning; the entry barrier to this stuff just feels too high.</p>
<p><em>Sigh.</em></p>
<br />Posted in Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/748/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=748&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/07/14/state-of-the-development-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>RSS quilt type thing</title>
		<link>http://shamess.wordpress.com/2009/07/04/rss-quilt-type-thing/</link>
		<comments>http://shamess.wordpress.com/2009/07/04/rss-quilt-type-thing/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 15:23:55 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[feedme]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[start page]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=730</guid>
		<description><![CDATA[Ages ago I was trying to find a cool start page which I could set for my homepage; I&#8217;d grown bored of Reader because it stopped me going to other websites. I stuck with /r/funny for a while before switching to the Onion. Ultimately they weren&#8217;t giving me what I wanted, so I decided to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=730&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ages ago I was <a href="http://blog.shamess.info/2009/05/10/start-and-home-pages/">trying to find a cool start page</a> which I could set for my homepage; I&#8217;d grown bored of Reader because it stopped me going to other websites. I stuck with /r/funny for a while before switching to the Onion. Ultimately they weren&#8217;t giving me what I wanted, so I decided to make my own.</p>
<p>So I made this <a href="http://shamess.info/feedme/">RSS quilt type thing</a>, and it&#8217;s pretty perfect for me at the moment. By default it uses data from the combined RSS feeds of Reddit, BBC, the Guardian, and Ars so it&#8217;s a pretty nice pool of information for me. It only shows the headlines too, and that&#8217;s all wanted. Putting the body of the articles on would take up way too much space.</p>
<p>Dark items are newer items, whilst lighter items are older. Eventually they get so old they&#8217;re barely visible &#8211; but you can mouse over them to see it clearly again. Not that I&#8217;d want to, if it&#8217;s that old I&#8217;ve probably already read it. It checks for updates to the feeds every four minutes too, and then inserts them nicely into the page (in an element that you can see, so it&#8217;s not inserting elements at the bottom of the page where you won&#8217;t notice). It adds new elements in italics too, just to make them extra prominent.</p>
<p>Article order is always randomised</p>
<p>You can change the feed by clicking the modulo symbol in the navigation bar. You&#8217;ve got to put the actual RSS feed URL into that though. You can also nab the bookmarklette (click the question mark in the navigation bar) and that will hopefully find the RSS feed for the website you&#8217;re looking at when you click it.</p>
<p>Using it in full screen mode is cool. 100% filled with information, pretty much.</p>
<p>Not quite finished yet though, still a couple extra things I want to add: some option (without adding more text to the page) to say &#8220;I&#8217;m tired of seeing this story, get rid of it&#8221; and have that data locally stored in the browser. If the article is a picture post, or at least has a prominent picture in it, then show the picture rather than the headline. Add options to change the gradient from black to lighter to other colours. Dynamically insert an entire new feed (this shouldn&#8217;t be that hard, just need to rejig some logic around).</p>
<br />Posted in Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/730/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=730&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/07/04/rss-quilt-type-thing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>YouTube comments suck, someone should fix that.</title>
		<link>http://shamess.wordpress.com/2009/07/03/youtube-comments-suck/</link>
		<comments>http://shamess.wordpress.com/2009/07/03/youtube-comments-suck/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 17:28:27 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=727</guid>
		<description><![CDATA[YouTube&#8217;s comments really suck. In fact, most of the videos suck too, but every comment is pretty much awful. This is problem most likely came around because of the size of the community just exploded, there&#8217;s no reason to be held with any respect. Places like reddit are still in that point where they don&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=727&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_728" class="wp-caption alignleft" style="width: 239px"><img class="size-medium wp-image-728 " title="sxe-phil-comments" src="http://shamess.files.wordpress.com/2009/07/sxe-phil-comments.png?w=229&#038;h=299" alt="Intellectual heights known only to YouTube" width="229" height="299" /><p class="wp-caption-text">Intellectual heights known only to YouTube</p></div>
<p>YouTube&#8217;s comments really suck. In fact, most of the videos suck too, but every comment is <a href="http://xkcd.com/481/">pretty much awful</a>. This is problem most likely came around because of the size of the community just exploded, there&#8217;s no reason to be held with any respect.</p>
<p>Places like reddit are still in that point where they don&#8217;t have too many users, so the quality of comments is still pretty high. Talk in text speak and you&#8217;ll be down voted to oblivion. Whereas on YouTube that seems an okay thing to do.</p>
<p>Each video &#8211; even really obscure videos &#8211; always seems to have a new comment thread made within the last day or so, making it impossible to have an actual, productive conversation.</p>
<p>There&#8217;s also a problem with threads&#8230; If you click &#8220;reply&#8221; to most threads, you just start another thread&#8230; Sometimes it works as a nested comment, like expected.</p>
<p>So, to fix the problems we need a smaller community, with more power for each user to vote on the smarts of each comment&#8230; We obviously can&#8217;t get rid of 90% of the YouTube community, but why can&#8217;t we just ignore it?</p>
<p>I was thinking someone should make a Greasemonkey script which removes all the comments on videos, and replaces it with comments maintained by someone else&#8217;s service. The new service obviously won&#8217;t be adopted by 99% of the current YouTube raff so we&#8217;ll get a smaller, more sophisticated society of people commenting on videos.</p>
<p>I like this idea. Someone should do it, or maybe I should.</p>
<p>Edit: Looking into this more, you can probably use the <a href="http://wiki.disqus.net/API">Disqus API</a>.</p>
<br />Posted in Google  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/727/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=727&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/07/03/youtube-comments-suck/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>

		<media:content url="http://shamess.files.wordpress.com/2009/07/sxe-phil-comments.png?w=229" medium="image">
			<media:title type="html">sxe-phil-comments</media:title>
		</media:content>
	</item>
		<item>
		<title>.htaccess redirection using mod_rewrite</title>
		<link>http://shamess.wordpress.com/2009/06/19/htaccess-redirection-using-mod_rewrite/</link>
		<comments>http://shamess.wordpress.com/2009/06/19/htaccess-redirection-using-mod_rewrite/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 09:24:49 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[redirection]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=715</guid>
		<description><![CDATA[I make it a policy of mine that if three people in the same week ask me about something, that I should just make a blog post about it. This week&#8217;s apparent hot topic is HTTP redirection; there are tonnes of ways to do it and I&#8217;ve just been giving out a link about 301 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=715&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">I make it a policy of mine that if three people in the same week ask me about something, that I should just make a blog post about it. This week&#8217;s apparent hot topic is HTTP redirection; there are tonnes of ways to do it and I&#8217;ve just been giving out a link about <a href="http://www.webconfs.com/how-to-redirect-a-webpage.php">301 redirects in various languages</a>. Most people want to go with .htaccess method.</p>
<blockquote>
<p align="justify">Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com<br />
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)</p>
<p align="justify">Options +FollowSymlinks<br />
RewriteEngine on<br />
rewritecond %{http_host} ^domain.com [nc]<br />
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]</p>
<p align="justify">Please REPLACE domain.com and www.domain.com with your actual domain name.</p>
</blockquote>
<p style="text-align:left;">The website&#8217;s a little out of date though; it no longer has to be a Linux server (did it ever have to be..?), so long as you have mod-rewrite enabled in your Apache conf file, you&#8217;ll be fine. Like the quote says, this just makes sure that anyone that comes to your website is using the www subdomain. (Sidenote, if you have  a choice of no sub-domain vs. &#8220;www.&#8221;, go without the sub-domain.) So, someone going to &#8220;neopets.com&#8221; will instantly (without them even seeing a page refresh) be taken to &#8220;www.neopets.com&#8221;.</p>
<p style="text-align:left;">That page doesn&#8217;t give much of an example of what all that code is doing though, so I&#8217;ll go through it here so that you can modify it better for your own use.</p>
<p style="text-align:left;">The &#8220;Options&#8221; line is an <a href="http://httpd.apache.org/docs/1.3/mod/core.html#options">options directive</a>, allowing you to set pretty much all of the options you can set in Apache conf files (so long as you have the right permissions; also, higher up directories override subdirectories). Here, we&#8217;re telling Apache that we want to follow system links (links to other directories, even though they&#8217;re no physical, like a shortcut). Your redirects most likely won&#8217;t fall apart if you don&#8217;t have that line.</p>
<p style="text-align:left;">The <a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html">rewrite engine</a> is where the awesome happens. The next line just turns it on.</p>
<p style="text-align:left;">The &#8220;rewritecond&#8221; is the evaluative part of the redirect. It checks to see if the URL that the user is looking at is the same as it&#8217;s argument. You can get the syntax for that evaluation from the <a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond">rewrite engine&#8217;s man</a> page, but essentially it&#8217;s just:</p>
<pre style="text-align:left;">rewritecond %{<em>variable_name</em>} <em>patterntocheckagainst</em></pre>
<p style="text-align:left;">It uses a regex argument. If you don&#8217;t know regex, you&#8217;ll probably want to go and look at some tutorials first.</p>
<p style="text-align:left;">The <em>[nc]</em> at the end just makes the URL case insensitive. You can have multiple possible rewriteconds by using <em>[or]</em>, and having another condition on the next line.</p>
<p style="text-align:left;">Last is the rewriterule, <a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriterule">syntax here</a>. Again though, it&#8217;s regex. It&#8217;s a useful skill for any one that codes in anyway, so you may as well learn it.</p>
<p style="text-align:left;">Again, there are flags, wrapped in square brackets. The [r=301] is telling the browser (and more importantly search engines) what type of redirect it&#8217;s doing; 301 is a permanent redirect. It&#8217;s just a <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP status code</a>, make sure you pick the right one. 307 is a temporary redirect.</p>
<p>If it&#8217;s still a bit over your head though, you could always contact me and <a href="http://shamess.info/business/">get me to do it</a>.</p>
<br />Posted in Programming  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/715/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=715&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/06/19/htaccess-redirection-using-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
		<item>
		<title>If you ask me, the week should start on Thursday.</title>
		<link>http://shamess.wordpress.com/2009/06/10/week-should-start-on-thursday/</link>
		<comments>http://shamess.wordpress.com/2009/06/10/week-should-start-on-thursday/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 00:48:43 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://blog.shamess.info/?p=703</guid>
		<description><![CDATA[Growing up on LiveJournal and Neopets (gosh, I can&#8217;t believe it&#8217;s been so many years since I&#8217;ve used those websites) I think it&#8217;s understandable for me to forget that the Internet is actually full of people. Sometimes I think that subconsciously I imagine all this content online to have just appeared from no where, or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=703&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Growing up on LiveJournal and Neopets (gosh, I can&#8217;t believe it&#8217;s been so many years since I&#8217;ve used those websites) I think it&#8217;s understandable for me to forget that the Internet is actually full of people. Sometimes I think that subconsciously I imagine all this content online to have just appeared from no where, or written by people on other continents who will always remain a stranger. Even some of the people I&#8217;m friends with on MSN that I&#8217;ve never met are dehumanised in my mind.</p>
<p>That&#8217;s why it&#8217;s refreshing to bump around the Internet and find people who not only seem to exist, but live pretty damn close to me. I found these strangers through total serendipity. I was looking at the <a href="http://www.fizzpop.org.uk/hacksessions/hack-session-wednesday-10th-june-6pm/">Fizzpop event page for today</a> (which I can&#8217;t go to &#8211; I wouldn&#8217;t be able to get back home), and then ended up at the Digital Brum site.</p>
<p>They&#8217;re listing <a href="http://blog.livebrum.co.uk/2009/06/03/digital-brum/">web related events around Birmingham</a>, some of which I&#8217;d love to go to, if only to give me something really interesting to do, maybe meet a few more interesting people. Then I found out about <a href="http://digitalbrum.co.uk/">Digital Brum</a> which lists a whole load of other events happening around Birmingham.</p>
<p>Ultimately I ended up at the <a href="http://birminghamsocialmediacafe.pbworks.com/Past+Attendees">Birmingham Social Media Cafe</a> website, where they were listing past attendees. An entire list of people in interesting positions, most of them with links to their products and blogs. There are some people like <a href="http://robday.net/">Rob Day</a> who&#8217;re 16 years old and have <em>two</em> projects that are looking really awesome in the pipe line. Kind of makes me feel like I&#8217;ve wasted my teenage years. This is totally the age of the teenage entrepreneur, and so I&#8217;m disappointed in myself for not doing anything amazing. Still though, it&#8217;s inspiring for me to do something <em>now.</em></p>
<p>Found Calum Brannan&#8217;s blog too. He has a meeting table. <a href="http://www.flickr.com/photos/calumbrannan/2795337627/"><em>A meeting table!</em></a> It&#8217;s weird how small things like that really get me excited about eventually working for a company. Hopefully a small company. He&#8217;s working on <a href="http://calumbrannan.com/2009/05/youmeocom/">Youmeo</a>, which really looks interesting. I was thinking the other day how annoying it is to have both my Facebook and Twitter to update. (A few people who attended that event are working on Youmeo on second glance. I&#8217;d love to work on a team project&#8230;)</p>
<p>All in all, I&#8217;m mad hyped about eventually having a career. At the moment (well, especially at the moment, whilst university is finished till October) my work load isn&#8217;t that big. Heck, I sleep in till one o&#8217;clock most days just because I have nothing to do. It&#8217;d be really nice to get a job at a web start up or something. Places like arc90 who have <a href="http://lab.arc90.com/">amazing ideas in their lab</a> (but they&#8217;re American).</p>
<p>I guess I could actually full time start freelance work; <em>looking</em> for new clients from nine to five, rather than taking on the clients that come to me (which is only a small number really). When I&#8217;m not looking (I&#8217;d probably get bored with eight hours of cold-emailing people from job boards), I should be developing my knowledge on general stuff. There still stuff about WordPress I&#8217;d be interested in poking around more with.</p>
<p>I&#8217;m going to make tomorrow busy.</p>
<br />Posted in Freelance, Internet  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamess.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamess.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamess.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamess.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamess.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamess.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamess.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamess.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamess.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamess.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamess.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamess.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamess.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamess.wordpress.com/703/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamess.wordpress.com&amp;blog=1901497&amp;post=703&amp;subd=shamess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamess.wordpress.com/2009/06/10/week-should-start-on-thursday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fe1fe2b3fd179e7f7bdd5d3e6d2a376?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shamess</media:title>
		</media:content>
	</item>
	</channel>
</rss>
