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

<channel>
	<title>Mike Clack Jones</title>
	<atom:link href="http://alnmanager.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://alnmanager.co.uk/blog</link>
	<description>Web Developer and Linux user</description>
	<lastBuildDate>Thu, 23 Aug 2012 18:43:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>The Quantum Universe: Everything That Can Happen Does Happen</title>
		<link>http://alnmanager.co.uk/blog/2012/08/the-quantum-universe-everything-that-can-happen-does-happen/</link>
		<comments>http://alnmanager.co.uk/blog/2012/08/the-quantum-universe-everything-that-can-happen-does-happen/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 18:43:07 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[education]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://alnmanager.co.uk/blog/?p=88</guid>
		<description><![CDATA[I haven&#8217;t been the most avid of readers in the past few years. My compulsion for reading has been focused primarily on gaining a wider knowledge of religious cults and denominations and, as a result, reading in other fields has widely suffered. So here I am, reading a book which Brian Cox co-authored along with [...]]]></description>
				<content:encoded><![CDATA[<p>I haven&#8217;t been the most avid of readers in the past few years. My compulsion for reading has been focused primarily on gaining a wider knowledge of religious cults and denominations and, as a result, reading in other fields has widely suffered.</p>
<p>So here I am, reading a book which Brian Cox co-authored along with Jeff Forshaw. Brian Cox, one of the latest scientists to become something of a celebrity in the UK, is not what I&#8217;d call someone that I warm to especially. All too often I find him commenting sarcastically on the foolishness of religious folk whenever he&#8217;s given a platform to speak his mind on BBC Radio Four.</p>
<p>Having said that, I was intrigued to see that this book was one of the top selling non-fiction paperbacks in WHSmiths. I studied Physics to A-level standard at school on the <a href="http://www.wjec.co.uk">WJEC</a> (Welsh Joint Education Committee) syllabus through the medium of welsh. I found the qualification&#8217;s content quite dry; not very inspiring and, quite difficult to follow. Like with anything at school, there are some things that you must simply accept as true without any proof as to why this is the case. Some of you might say that I should have done some outside reading but it&#8217;s difficult, when you are studying through the medium of Welsh, to find books that aren&#8217;t written in English on the matter.</p>
<p>My biggest struggle was with Young&#8217;s <a href="http://en.wikipedia.org/wiki/Double-slit_experiment">double slit experiment</a>. Why does water defract (diffreithio in the native tongue) when it goes through the slit at all? I couldn&#8217;t envisage how that is possible and either my physics teacher was unable to explain the theory or I was too quiet to enquire.</p>
<p>Anyway, I&#8217;m reading this book and it seems to address the phenomena on the quantum level. The book thus far has dedicated its first four chapters mainly to this, giving insight to the history of quantum theory and its relatively recent adoption. From what my limited understanding can deduce thus far, the interference pattern seen in the two slit experiment caused by waves can be observed when you fire particles through slits also. What is interesting is that it is said that this interference pattern can also be observed if only one particle passes through the slits at one time, suggesting that the particle somehow may be interfering with itself.</p>
<p>I won&#8217;t go into more detail because at the moment, I haven&#8217;t read far enough to get a good grasp of the implications of this neither the theory that proves it. I will say that it is an enjoyable read so far and it&#8217;s written in a style that isn&#8217;t stuffy and informal. It&#8217;s definitely worth a look if you have an interest but, in spite of its relaxed tone, it might be a little two in-depth for someone who hasn&#8217;t got patience to re-read sections that are harder to grasp.</p>
]]></content:encoded>
			<wfw:commentRss>http://alnmanager.co.uk/blog/2012/08/the-quantum-universe-everything-that-can-happen-does-happen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Generators: Newton&#8217;s Laws of Motion</title>
		<link>http://alnmanager.co.uk/blog/2012/06/python-generators-newtons-laws-of-motion/</link>
		<comments>http://alnmanager.co.uk/blog/2012/06/python-generators-newtons-laws-of-motion/#comments</comments>
		<pubDate>Wed, 13 Jun 2012 22:55:42 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[education]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://alnmanager.co.uk/blog/?p=40</guid>
		<description><![CDATA[Earlier this week, I purchased a copy of the BBC&#8217;s Focus Magazine. I normally turn to the back to try my hand at the &#8216;BrainTraining&#8217; section which is basically a set of ridiculously difficult brain-teasers. A blend of historical knowledge in the area of science (I&#8217;m hopeless) and an agile MENSA type challenges both mathematical [...]]]></description>
				<content:encoded><![CDATA[<p>Earlier this week, I purchased a copy of the BBC&#8217;s Focus Magazine. I normally turn to the back to try my hand at the &#8216;BrainTraining&#8217; section which is basically a set of ridiculously difficult brain-teasers. A blend of historical knowledge in the area of science (I&#8217;m hopeless) and an agile MENSA type challenges both mathematical and logical (err&#8230;too hard).</p>
<p>However, this week, I managed to find one that was particularly relevant to my interests. During school, I remember studying the basics of Newton&#8217;s Laws of Motion. One of the basic challenges we were tasked with was to balance weights on a lever at different distances from its fulcrum such that the lever would remain in balance. The idea is to measure the weight in Newtons of each weight and multiply it by its distance from the fulcrum. For the lever to be in balance, these values to one side of the fulcrum should equate to the values on the other side.</p>
<p>So, the problem in this example is to imagine the following fulcrum:</p>
<p><a href="http://alnmanager.co.uk/blog/wp-content/uploads/2012/06/lever.png"><img class="aligncenter size-full wp-image-82" title="Lever" src="http://alnmanager.co.uk/blog/wp-content/uploads/2012/06/lever.png" alt="Focus Magazine Braintraining Problem" width="400" height="220" /></a></p>
<p>As shown above, the weights (2, 3, 5, 6, 7, 8), the weights should be placed on the lever in the way demonstrated by the empty chambers hanging from the lever.</p>
<p>To tackle this problem, I devised a script using Python given the formula where the letters a &#8211; f are assigned to the positions of the chambers hanging from left to right:</p>
<blockquote><p><code>4*a + 3*b + 2*c + d - (2*e + 3*f)= 0<br />
</code></p></blockquote>
<p>As stated earlier, the idea is that the weights, multiplied by the distances from the fulcrum on both sides should be equal and thus, taking one away from the other should result in the value 0.</p>
<p>To figure out the values for a thru f, I decided to use a <a title="generator function" href="http://docs.python.org/howto/functional.html#generators">generator </a>expression which I&#8217;ve recently been reading about in the Python documentation. The generator expression is a functional construct that is definitely worth a look at and the <a href="http://docs.python.org/howto/functional.html#generators">documentation</a> explains how it can be useful when iterating over potentially infinite lists of data.</p>
<p>Below is my attempt at writing such an expression to evaluate the weights that go in the positions a through f:</p>
<p><code><br />
<pre><code class="python">
#!/bin/python
weight_list = [2,3,5,6,7,8]
result = ((a,b,c,d,e,f) \
  for a in weight_list \
  for b in weight_list \
  for c in weight_list \
  for d in weight_list \
  for e in weight_list \
  for f in weight_list \
  if 4*a + 3*b + 2*c + d - (2*e + 3*f) is 0 \
  and a != b \
  and a != c \
  and a != d \
  and a != e \
  and a != f \
  and b != c \
  and b != d \
  and b != e \
  and b != f \
  and c != d \
  and c != e \
  and c != f \
  and d != e \
  and d != f \
  and e != f)
for solution in result:
  print solution
  raw_input(&#039;Key for next result&#039;)
</code></pre><br />
</code></p>
<p>As suggested by the answer to the teaser in the magazine, I calculated 7 different combinations of the arranging of the weights on the lever. Why do it in your head when you can write as easy as the above!</p>
<ol>
<li>( 2, 3, 5, 7, 8, 6 )</li>
<li>( 2, 3, 7, 5, 6, 8 )</li>
<li>( 2, 5, 3, 7, 6, 8 )</li>
<li>( 2, 5, 6, 3, 7, 8 )</li>
<li>( 2, 6, 3, 5, 8, 7 )</li>
<li>( 3, 5, 2, 6, 8, 7 )</li>
<li>( 5, 2, 3, 6, 7, 8 )</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://alnmanager.co.uk/blog/2012/06/python-generators-newtons-laws-of-motion/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Reflections on a Computer Science undergraduate degree</title>
		<link>http://alnmanager.co.uk/blog/2012/06/reflections-on-a-computer-science-undergraduate-degree/</link>
		<comments>http://alnmanager.co.uk/blog/2012/06/reflections-on-a-computer-science-undergraduate-degree/#comments</comments>
		<pubDate>Sun, 03 Jun 2012 22:28:16 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[education]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://alnmanager.co.uk/blog/?p=23</guid>
		<description><![CDATA[For all intents and purposes, my undergraduate degree has come to an end! A somewhat interesting adventure into the world of Computer Science and definitely a challenge that was worth the effort. I might be speaking prematurely, of course. I completed my last exam, Artificial Intelligence II (see module description here), yesterday but I still [...]]]></description>
				<content:encoded><![CDATA[<p>For all intents and purposes, my undergraduate degree has come to an end! A somewhat interesting adventure into the world of Computer Science and definitely a challenge that was worth the effort.</p>
<p>I might be speaking prematurely, of course. I completed my last exam, Artificial Intelligence II (see module description <a title="BSc Computer Science Cardiff Module Descriptions" href="http://www.cs.cf.ac.uk/">here</a>), yesterday but I still have a Viva Voce to present. As part of my final year project I was not only required to build a piece of software and write two reports on it but soon I will be required to present the software to my project supervisor and the moderator. This is, in essence, to prove I actually did the work myself and didn&#8217;t get someone else to do the work for me.</p>
<p>So, what have I learned? I&#8217;ve learned that Computer Science at <em>Cardiff University</em> has quite an academic approach to Computer Science and the course, in all fairness has quite a breadth of coverage. With regards to web application development there&#8217;s no one module that I think is targeted explicitly at web development but, I&#8217;ll try to give a brief description of a few that will certainly be of benefit.</p>
<h3>Human Computer Interaction (HCI)</h3>
<p>This module was a course covering Interaction Design and, despite initial impressions, turned out to be a very interesting module. I was not particularly aware of UX design when I first took the course and, like many of the other students, thought it was a waste of time.</p>
<p>But I&#8217;ve taken a few noteworthy and useful things from the module:</p>
<ul>
<li>An iterative process is crucial with regard to user-interface</li>
<li>End users must be involved in this process to ensure that the software is usable by your target audience</li>
<li>Frameworks for testing a user interface are important in order to ensure a consistent high-standard of design e.g.</li>
<ul>
<li>Heuristic Evaluation using Jakob Nielsen&#8217;s Usability Heuristics</li>
<li>KLM/GOMS Analysis</li>
</ul>
</ul>
<h3>Database Management</h3>
<p>A third year module that serves to introduce two different aspects. Half of the module delivered expanded on a second year module in using Oracle&#8217;s RDBMS in which we were taught to create Object-Relational databases.</p>
<p>The other half of this module, more relevant to the field of web development, introduced some unusual topics that might not normally be considered when thinking about a database module. This half of the module was concerned with the basics of Information Architecture and how it is vital in developing a usable information system.</p>
<p>The module then covered the basics of building an XML schema using a DTD (Document Type Declaration) or xml:schema. Another part of the course introduced SOAP, the document-oriented XML protocol for web applications.</p>
<h3>System Design and Group Project</h3>
<p>This second year module is split into two halves. Part of the module is a set of lectures that addresses key issues in software development and how they can be overcome. A particularly unique part of this set of lectures introduces Brian Wilson&#8217;s interpretation of the <em>Soft Systems Methodology</em> which is a framework to help one to understand a problem so that we can better tackle.</p>
<p>The second half of this module was a practice in group work. Students were picked with varying abilities to be put in groups to specify and design a system according to the requirements of a client (a member of staff in the department). A lot of fun in hindsight and certainly a way to find out what kind of role one takes in a team.</p>
<h3>Conclusion</h3>
<p>How would I rate this course? I certainly believe that Computer Science at Cardiff is a solid Computer Science with a strong academic bias. The course, as well as the above, contributes a great introduction to networking, object oriented programming and also gives a solid grounding in the understanding of algorithms and data structures which I feel should be understood by anyone programming any kind of non-trivial application.</p>
<p>It remains for me to find out how successful at web development I will become but I will say that, I am in no doubt that Computer Science is <em>a</em> way into the industry and not the <em>only</em> way. I&#8217;ve come to understand in the last year that the technically proficient are nothing without the creative artistic people in this realm, skills that I certainly have yet to perfect.</p>
]]></content:encoded>
			<wfw:commentRss>http://alnmanager.co.uk/blog/2012/06/reflections-on-a-computer-science-undergraduate-degree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smashing Book #3: Redesign The Web</title>
		<link>http://alnmanager.co.uk/blog/2012/05/smashing-book-3-redesign-the-web/</link>
		<comments>http://alnmanager.co.uk/blog/2012/05/smashing-book-3-redesign-the-web/#comments</comments>
		<pubDate>Tue, 22 May 2012 00:19:50 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://alnmanager.co.uk/blog/?p=13</guid>
		<description><![CDATA[Before I begin to review this book, I&#8217;d first of all like to note that I&#8217;m no front-end developer for the web, neither am I a graphical designer. The purpose of this blog, of course is to change all of that. That is, after all, the reason I&#8217;m reading this book. I&#8217;m on the verge [...]]]></description>
				<content:encoded><![CDATA[<p>Before I begin to review this book, I&#8217;d first of all like to note that I&#8217;m no front-end developer for the web, neither am I a graphical designer. The purpose of this blog, of course is to change all of that. That is, after all, the reason I&#8217;m reading this book.</p>
<p>I&#8217;m on the verge of completing my final year at University studying Computer Science in which time, my curricular experience of web development has been quite disappointing. I have, nonetheless learned XHTML and some CSS to a pretty good level and writing some plain JavaScript is not at all too painful.</p>
<p>I thought I&#8217;d known it all and that the only thing that web designers and the like bang on about is aesthetic of a page. But it turns out I was wrong. It seems that my skills are nothing compared to some of the things that web developers are considering at the moment.</p>
<p><em>Redesign the Web</em> is split into 11 chapters and is targeted at a whole range of developers of web-based applications including those who are coordinators of projects, graphic designers, UX designers as well as mobile application developers.</p>
<p>The first chapter and second chapter deal with the way in which our approach to the development process of a web application should be different. Ultimately these pages teach that lessons should be learned from the past; that functionality of web-based applications and websites is more important than giving in to feature-creep and using every new technology we learned this week because we can!</p>
<p>More guidance is given with regard to process such as how to develop and present wireframes to clients as well as how to find the best hosting solution for a product.</p>
<p>After both of these invaluable chapters, the third and fourth chapters cover a few new features in HTML5 and CSS3. The content covered is very forward thinking and covers some features such as client-side storage which are very likely to become standards in the web in the future.</p>
<p>We are further greeted with great foresight on the future of CSS as to how it will usurp jQuery and how plain JavaScript should be used to back up the new features in CSS.</p>
<p>Other features in the book include some great insight on how to build a better, more immersive user experience and how graphical designers should deal with issues in creating graphics for the ever growing range of devices with different pixel densities as their displays.</p>
<p>We&#8217;re also introduced to a way of redesigning a site with a consistent and appealing personality. There&#8217;s a comprehensive chapter on how to approach a redesign in a way that we are able to design for mobile devices, raises the issue of when to use a native application versus having a web application tailored for the screen size.</p>
<p>The tenth chapter is concerned with a developer&#8217;s workflow and how they can present wireframes in a way that the client doesn&#8217;t think that the product is close to being finished! And a final chapter covers the way in which you design the aesthetic of a website and how you present it to your client.</p>
<p>All very interesting content! The book is very relevant from my perspective of someone who, having basic knowledge of web front-end development, would like to work in this area. This third book in the Smashing Magazine book has certainly given me inspiration for the future in my approach to designing a web application for a client.</p>
<p>You can purchase the book from the Smashing Magazine <a title="Smashing Magazine Shop" href="https://shop.smashingmagazine.com/">shop</a>. I&#8217;ve purchased the printed copy along with the eBook however, in all honesty, I read the whole thing before the printed copy arrived. If you want a nice glossy colourful printed copy which smells great then go ahead and buy it. I recommend that if you only want the knowledge within then just purchase the eBook which comes in PDF, EBUP and MobiPocket formats.</p>
<p>It costs just shy of $20 at the time of this post which, if converted to pounds sterling is not a lot. A bargain!</p>
]]></content:encoded>
			<wfw:commentRss>http://alnmanager.co.uk/blog/2012/05/smashing-book-3-redesign-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
