<?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>Clockwork Evolution</title>
	<atom:link href="http://www.clockwork-evolution.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clockwork-evolution.com</link>
	<description>Languages, from PHP to Japanese</description>
	<lastBuildDate>Tue, 08 May 2012 19:54:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Japanese sentence patterns &#8211; asking permission (~te mo ii desu ka)</title>
		<link>http://www.clockwork-evolution.com/japanese-sentence-patterns-asking-permission-te-mo-ii-desu-ka/</link>
		<comments>http://www.clockwork-evolution.com/japanese-sentence-patterns-asking-permission-te-mo-ii-desu-ka/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 13:35:40 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Japanese]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=187</guid>
		<description><![CDATA[<p>The structure for this sentence pattern is quite simple:</p> <p>action in its &#8220;te form&#8221; mo ii desu ka?</p> <p>Here are some examples:</p> <p>でんきをけしてもいいですか。<br /> Is it okay if I switch off the light?</p> <p>テレビをつけてもいいですか。<br /> Is it okay if I switch on the television?</p> <p>ドアをしめてもいいですか。<br /> Is it okay if I close the door?</p> <p>まどをあけてもいいですか。<br /> [...]]]></description>
			<content:encoded><![CDATA[<p>The structure for this sentence pattern is quite simple:</p>
<p><span style="color: #000080;"><em><span style="text-decoration: underline;">action in its &#8220;te form&#8221;</span></em></span> mo ii desu ka?</p>
<p>Here are some examples:</p>
<blockquote><p>でんきをけしてもいいですか。<br />
Is it okay if I switch off the light?</p>
<p>テレビをつけてもいいですか。<br />
Is it okay if I switch on the television?</p>
<p>ドアをしめてもいいですか。<br />
Is it okay if I close the door?</p>
<p>まどをあけてもいいですか。<br />
Is it okay if I open the window?</p>
<p>しつれいします、トイレへ行ってもいいですか。<br />
Excuse me, do you mind if I went to the toilet?</p>
<p>しつれいします、トイレをつかってもいいですか。<br />
Excuse me, do you mind if I use the toilet?</p>
<p>しつれいします、トイレにはいってもいいですか。<br />
Excuse me, do you mind if I go into the kitchen?</p>
<p>すみません、英語のパンフレットがありますか。あっ、ありがとう、このパンフレットもらってもいいですか。<br />
Excuse me, do you have an English pamphlet.  Ah, thank you, may I take this pamphlet?</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/japanese-sentence-patterns-asking-permission-te-mo-ii-desu-ka/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why WordPress</title>
		<link>http://www.clockwork-evolution.com/why-wordpress/</link>
		<comments>http://www.clockwork-evolution.com/why-wordpress/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 12:35:37 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=184</guid>
		<description><![CDATA[<p>Over the years, my website has gone through many iterations, and variations (and one or two domain changes).  Usually I&#8217;ve had a website running on the &#8220;latest thing&#8221;, which has been through variations of everything from static and pseudo-static sites, to my own framework, other frameworks, and mainstream CMS systems like Drupal.</p> <p>The problem with [...]]]></description>
			<content:encoded><![CDATA[<p>Over the years, my website has gone through many iterations, and variations (and one or two domain changes).  Usually I&#8217;ve had a website running on the &#8220;latest thing&#8221;, which has been through variations of everything from static and pseudo-static sites, to my own framework, other frameworks, and mainstream CMS systems like Drupal.</p>
<p>The problem with using a system that I like to develop or work on, means that my site is liable to many changes, and things like adding comments, blogs, or other things that I&#8217;ve learned, or found interesting, can often get lost in an obsolete version of a site.  By WordPress, I&#8217;m separating my own &#8220;controller / model&#8221; from WordPress&#8217; &#8220;view&#8221;.  So now, I will have separate projects that are installed in isolation to this site, and don&#8217;t affect it as I try out new things.</p>
<p>I&#8217;d also wondered what the point of having a &#8220;blog&#8221; actually was, and much of the time, I still have that feeling.  However, it is useful to catalog certain events or thoughts as they occur, and although it may never actually get any useful traffic (or actually interest anyone), it can be interesting to look back on later.  I&#8217;ve now got quite a good set-up for web development too, so it&#8217;s nice to be able to give feedback or updates on that.</p>
<p>I am likely to want to &#8220;tinker&#8221; with my WordPress installation at some point, but if I do, I&#8217;ll likely just limit that to a plugin that pulls information from another app.  Anyway, in reflection, I think it&#8217;s worked out quite well using WordPress for this purpose, and I&#8217;ve never looked back again, or be tempted to change it / update it to something new.  It&#8217;s just great at basic no-nonsense content.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/why-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PC-Fit2 Web Server</title>
		<link>http://www.clockwork-evolution.com/pc-fit2-web-server/</link>
		<comments>http://www.clockwork-evolution.com/pc-fit2-web-server/#comments</comments>
		<pubDate>Sat, 17 Mar 2012 23:10:02 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=182</guid>
		<description><![CDATA[<p>I&#8217;m now running a test web server on a <a href="http://fit-pc.co.uk/" target="_blank">PC-Fit2</a> which is the coolest little PC.  It&#8217;s got the same footprint as a coffee mug coaster, and is just a couple of centimetres high.</p> <p>On it, I&#8217;m using Ubuntu server with Apache2 and Webmin.  Webmin also takes a lot of the effort out [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m now running a test web server on a <a href="http://fit-pc.co.uk/" target="_blank">PC-Fit2</a> which is the coolest little PC.  It&#8217;s got the same footprint as a coffee mug coaster, and is just a couple of centimetres high.</p>
<p>On it, I&#8217;m using Ubuntu server with Apache2 and Webmin.  Webmin also takes a lot of the effort out of configuring your website server, and I used ProtFTP to allow me to add users and lock them into their home folders and changed their default group to &#8220;www-data&#8221;.  This also makes it easier to set-up new sites, and manage them.  I&#8217;m using Mercurial, and have also installed it on the web server, although I haven&#8217;t quite got to the stage of using it to publish changes.  Theoretically I could also use BitBucket to backup my own development files.</p>
<p>I also found a nice HTML5 base template that I&#8217;ve used as a basis for a home page for the webserver, that points to the webmin administration key areas, and also links to the main websites that I&#8217;m working on &#8211; both testing and live versions.</p>
<p>Before using this set-up I&#8217;d been using either a local LAMP server or a VirtualBox image.  Both these worked well, but they have their own limitations.  Having a LAMP (or WAMP) server has an overhead on your own PC, and it also is reliant on your own PC not changing.  So if you buy a new laptop or something, then you have to set it all up again.  Having a virtual image running solves this problem, but it has an overhead of its own, and especially if you&#8217;re working on the same PC as your virtualisation host, then it uses quite a few resources.</p>
<p>By having a dedicated (silent and efficient) web server, makes such a difference.  It&#8217;s so much quicker than the other options, and it also can be configured to be almost exactly like your live site.  The only caveat is that by using virtual hosts, I also need to set-up my hosts file to point my client PC to the right place.  However, I&#8217;m sure that there&#8217;s also a way to set-up a local DNS server&#8230; but that&#8217;s for another day, and certainly not necessary.</p>
<p>One other huge benefit of the set-up I have now, is that I can take my server to and from work.  This means that I can be testing directly on a site I&#8217;m working on, and do the same from home without complicated set-ups, or it taking a long time to copy files from one system to another.</p>
<p>One thing that I might fancy trying in the future, would be to have a virtualised server that I can have different images running on it.  However, although the PC-Fit2 model I have does support hardware accelerated virtualisation, I don&#8217;t think it has enough memory or processing to handle that really effectively.  Virtualisation does, however, allow for much easier back-ups and also allows you to experiment with different set-ups, or have servers configured slightly differently that you can easily swap between.</p>
<p>Anyway, I&#8217;m still also going to be experimenting a little with Yii among other things&#8230; at least when I get back from Japan, and have some spare time!  And assuming that I haven&#8217;t got a Raspberry Pi to play with!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/pc-fit2-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBeans on Ubuntu</title>
		<link>http://www.clockwork-evolution.com/netbeans-on-ubuntu/</link>
		<comments>http://www.clockwork-evolution.com/netbeans-on-ubuntu/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 21:27:06 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[java sdk]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[proxy error]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=176</guid>
		<description><![CDATA[<p>I&#8217;ve been using NetBeans 6.9.1 which was the latest PHP version that I&#8217;d found, but also found that it wasn&#8217;t automatically updating.  I also tried using the standard package install, but had the same issues (a reported proxy error).  It turns out that the error is related to the version of Java SDK that NetBeans [...]]]></description>
			<content:encoded><![CDATA[<p><!--:en-->I&#8217;ve been using NetBeans 6.9.1 which was the latest PHP version that I&#8217;d found, but also found that it wasn&#8217;t automatically updating.  I also tried using the standard package install, but had the same issues (a reported proxy error).  It turns out that the error is related to the version of Java SDK that NetBeans is using, and OpenSDK is what it was using.</p>
<p>You can get the latest version here:</p>
<p>http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.html</p>
<p>After downloading, right-click the file and add execute permissions to it, and run it from the command prompt.  You can install the PHP plugins when it&#8217;s installed, and it checks for updates immediately.<!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/netbeans-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My LAMP Server using VirtualBox</title>
		<link>http://www.clockwork-evolution.com/my-lamp-server-using-virtualbox/</link>
		<comments>http://www.clockwork-evolution.com/my-lamp-server-using-virtualbox/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 19:50:04 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[lamp server]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[xdebug]]></category>
		<category><![CDATA[xubuntu]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=168</guid>
		<description><![CDATA[<p>I&#8217;m working on a VirtualBox image for a LAMP server.  There are a few good reasons to use a virtualised LAMP server:</p> Easy to back-up &#8211; you essentially only have a few files to back-up, rather than mirroring thousands of them. The footprint of the backup can also be kept small as you only need [...]]]></description>
			<content:encoded><![CDATA[<p><!--:en-->I&#8217;m working on a VirtualBox image for a LAMP server.  There are a few good reasons to use a virtualised LAMP server:</p>
<ul>
<li>Easy to back-up &#8211; you essentially only have a few files to back-up, rather than mirroring thousands of them.</li>
<li>The footprint of the backup can also be kept small as you only need to keep installed what you need.</li>
<li>You can play around with settings, and if anything badly goes wrong then you can drop back to a previously made version.</li>
<li>Your host machine&#8217;s OS (the operating system you&#8217;re computer uses) can be anything, so your own preferences needn&#8217;t be restricted to work / web development.</li>
<li>Testing can be configured to a set-up that&#8217;s almost exactly like your live server hosting (i.e. you can add the same apache modules, etc)</li>
<li>When you back-up your VirtualBox image, then you are also backing up any test sites you have installed.</li>
<li>It&#8217;s relatively easy to set-up XDebug and SVN (or others) and play around with those settings without it being a burden on your own operating system.</li>
<li>You can easily try it and see.  If it doesn&#8217;t work for you, try a different image, or try installing a different set-up.  It&#8217;s so easy!</li>
<li>If you want to, you can reasonably easily (depending on hardware) port your image from the virtual environment to an actual computer (search for VirtualBox image and CloneZilla to get some ideas where to start).</li>
</ul>
<p>My own set-up is a host OS of Ubuntu 11.04, and a guest OS (the VirtualBox image) of Xubuntu 11.04.  There are smaller distros, and it&#8217;s probably a good idea for more advanced/confident Linux users to use the server edition, but only if you want to keep the requirements low and focus only on basic LAMP.</p>
<p>I also wanted the installation to be as generic as possible, so I also set my main user to be <strong>webdev</strong>.  It doesn&#8217;t really matter, but for me it helps distinguish the roles of the LAMP server and that of the host OS and development.</p>
<p>There are a few optional steps, and a few steps I&#8217;ve taken that have incomplete instruction.  I&#8217;ll make references to other useful links in these cases, and mention if something is required or not.  I also should point out that these are really just notes for myself, and things I found useful for the installation along the way.  It won&#8217;t cover certain basics of LAMP and a basic level of understanding of both LAMP and Linux is required.</p>
<h2>Setting up the LAMP server</h2>
<p>First off you need to download Xubuntu (or other), mount it to the VirtualBox drive and install. You might also want to make sure that everything is up-to-date by loading up the terminal and typing:</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo apt-get update
sudo apt-get upgrade</pre>
<p>Then to install the LAMP server, use the following:</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo apt-get install tasksel
sudo tasksel install lamp-server</pre>
<p>You will be asked for a new root MySQL password (and username, I think).  You can test if it&#8217;s worked by browsing to &#8220;localhost&#8221; in your browser, and you should be getting a page that says something along the lines of &#8220;It works!&#8221;</p>
<p>Then you will most likely want PHPMyAdmin:</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo apt-get install phpmyadmin</pre>
<p>Here you will be asked if you want to use apache2 (you do) and you will be asked for a username and password for phpmyadmin and the root password that you assigned to mysql during the LAMP installation above.</p>
<p>Once your basic LAMP server is installed you will most likely want mod_rewrite which allows you to test &#8220;clean URLS&#8221; in your web apps:</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart</pre>
<p>There is a list of commonly used modules that I also found that you can install:</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json

sudo /etc/init.d/apache2 restart</pre>
<p>Howerver, you can always add new modules as and when they may be required, at any point.  Just make sure that you restart the apache server to enable the changes (i.e. the &#8220;/etc/init.d/apache2 restart&#8221; command)</p>
<h2>Assign a static IP</h2>
<p>The most useful things to do once you have installed and updated your host OS (Xubuntu) are to install Guest Additions (which better supports networking and display, among other things).  After that you probably would like to set-up a fixed IP for the LAMP server so it can be available to your host operating system, or even across your local network.  There are many ways of accomplishing this, although I have tested just two &#8211; one method allows you to use a fixed IP that&#8217;s on the same domain as your local network (often 192.168.0.xxx) and another that adds the LAMP server to a different subdomain IP of your local network (i.e. 192.168.56.xxx).  The benefit of the latter is that it won&#8217;t interfere with your local network, and as this is for testing on only one PC it&#8217;s not necessary to use an IP from your local network.</p>
<p>Anyway, if you do want your virtual LAMP server to work as an extension of your local network then you simply need to set-up the network card in VirtualBox to &#8220;<strong>Bridged Network</strong>&#8220;.  To use a separate subdomain IP then set Adapter 1 to <strong>NAT</strong> (using default DHCP settings) and Adapter 2 to <strong>Host-only Adapter</strong>.  In your Xubuntu LAMP server Adapter 2 will probably appear as Auto eth1 and you can change it to a static IP of something like 192.168.56.101 and use 192.168.56.1 as the Gateway and DNS server (you can additionally use Google DNS 8.8.8.8 and 8.8.4.4 or something like OpenDNS).</p>
<p>Once you have a static IP, then it&#8217;s easy to add things like FTP, SSH and hosts aliases for your test websites.</p>
<h2>SSH (secure shell)</h2>
<p>It can be a good idea (but not essential), especially if you would like to use the LAMP image more flexibly, to install SSH.  Then you can have the option to make certain changes (like to apache.conf or php.ini without actually using the guest operating system, the LAMP server, directly):</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo apt-get install ssh</pre>
<p>You can connect to the LAMP server from your host computer with:</p>
<pre class="brush: plain; title: Code Preview; notranslate">ssh webdev@server.dev</pre>
<p>&#8220;webdev&#8221; is your username and &#8220;server.dev&#8221; is the name of your lamp server.  To determine these (if you&#8217;re unsure), in your LAMP server you can use &#8220;<strong>whoami</strong>&#8221; and &#8220;<strong>hostname</strong>&#8221; at the command prompt.</p>
<p>You might also want to set-up Nautilus (Ubuntu&#8217;s file browser) to be able to access the virtual LAMP server&#8217;s files using SSH.  This allows you to browse the files almost like they&#8217;re local files.  There is an option &#8220;Connect to server&#8230;&#8221; where you can add those details: the static IP address, username, and folder &#8220;/var/www&#8221;</p>
<h2>Adding a test site</h2>
<p>Now you have a choice where your site files can be located.  For this example I&#8217;m using /home/webdev/Projects, but they could also be in the default location of &#8220;/var/www&#8221;.  You only need to be aware of the permissions.  I&#8217;m not really going to discuss permissions in any detail as it&#8217;s outside of the scope of this article.  Create your Projects folder; from the command prompt type:</p>
<pre class="brush: plain; title: Code Preview; notranslate">cd ~
mkdir Projects
cd Projects
mkdir -p testside.local/public_html</pre>
<p>Then you will need to point apache to that site (also notice that I&#8217;m using &#8220;public_html&#8221; which allows you to have a different public root folder to the root of your site, and you can have an exact duplicate of your live site.  Of course, it could be &#8220;htdocs&#8221; rather than &#8220;public_html&#8221; depending on your live environment (note, we&#8217;re not setting up a live web server, only a testing LAMP server!).</p>
<p>Enter the code, substituting &#8220;gedit&#8221; with your preferred editor (&#8220;kate&#8221; on Kubuntu; &#8220;mousepad&#8221; on Xubuntu, or &#8220;scite&#8221; as a cool alternative)</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo gedit /etc/apache2/sites-available/testsite.local</pre>
<p>In the text editor, put in something like this (you might also need to create the weblogs folder):</p>
<pre class="brush: plain; title: Code Preview; notranslate">&lt;VirtualHost *:80&gt;
ServerName testsite.local
DocumentRoot /home/webdev/Projects/testsite.local/public_html
ErrorLog /home/webdev/WebLogs/testsite-error.log
CustomLog /home/webdev/WebLogs/testsite-access.log common
DirectoryIndex index.php index.html
&lt;/VirtualHost&gt;</pre>
<p>Then save the file and enable it with:</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo a2ensite testsite.local
sudo /etc/init.d/apache2 restart</pre>
<p>As an additional step you may find it useful to be able to access your test site from the host OS&#8217;s browser by using &#8220;testsite.local&#8221;.  In order to do this you need to add a line to the /etc/hosts file:</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo gedit /etc/hosts</pre>
<p>And in this file, add a line like:</p>
<pre class="brush: plain; title: Code Preview; notranslate">192.168.56.101 testsite.local</pre>
<h2>Optional things</h2>
<p>Some optional things might be to install FTP access to your LAMP server:</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo apt-get install pure-ftpd</pre>
<p>And also add the group &#8220;www-data&#8221; to your server&#8217;s &#8220;webdev&#8221; user.  If you&#8217;re lazy, like me, you can just change the permissions of the files on your website files to 777 (&#8220;chmod -R 777 /home/webdev/Projects&#8221;) and use your &#8220;webdev&#8221; user to access the FTP.  It doesn&#8217;t really matter for these files as it&#8217;s only for testing, but I&#8217;ll perhaps write another article delving into the correct permissions / settings at a later stage.</p>
<h2>XDebug</h2>
<p>Copy the output of phpinfo() into the site http://xdebug.org/find-binary.php and follow the instructions.</p>
<h2>Content versioning</h2>
<p>I&#8217;m currently investigating the best options for myself.  Bzr is really easy to work with and install, especially using Eclipse as your IDE, but it&#8217;s support is less good for NetBeans so I&#8217;m looking now at Git which purportedly has better performance than Bzr, and is certainly more widely used (although it&#8217;s harder to set-up initially).</p>
<p>I may add / amend anything in here as it&#8217;s a reference for myself as much as anyone else.  I&#8217;ve tested the entire process a few times now, so the theory is sound, even if I may have made a few typos or errors writing this <img src='http://www.clockwork-evolution.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<h2>Email Server</h2>
<p>I haven&#8217;t done much with this yet, but you can install basic support for email, on the LAMP server, simply by installing sendmail (which php&#8217;s mail() function uses):</p>
<pre class="brush: plain; title: Code Preview; notranslate">sudo apt-get install sendmail</pre>
<p>However, you may or may not need to make changes to the configuration to get it working (correctly).  Again, all I&#8217;m interested in is getting something basic that I can make tests with.</p>
<p>Update: for sendmail, I also needed to add my hostname (server.dev) and localhost.localdomain.  This fixed a problem where it was taking ages to send an email via PHP.</p>
<pre class="brush: plain; title: Code Preview; notranslate">127.0.0.1    localhost localhost.localdomain server.dev</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/my-lamp-server-using-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beauty in simplicity &#8211; CSS</title>
		<link>http://www.clockwork-evolution.com/beauty-in-simplicity-css/</link>
		<comments>http://www.clockwork-evolution.com/beauty-in-simplicity-css/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 21:21:22 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[writing games]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=158</guid>
		<description><![CDATA[<p>I haven&#8217;t always worked with CSS, as much of my work is involved with coding.  However I love playing with CSS, and I love that in its purest sense it&#8217;s so very elegant and powerful.  I&#8217;ve always been of the philosophy that you should be able to take one basic html structure, and apply virtually [...]]]></description>
			<content:encoded><![CDATA[<p><!--:en-->I haven&#8217;t always worked with CSS, as much of my work is involved with coding.  However I love playing with CSS, and I love that in its purest sense it&#8217;s so very elegant and powerful.  I&#8217;ve always been of the philosophy that you should be able to take one basic html structure, and apply virtually any style you like to it.  It&#8217;s the zen CSS and it&#8217;s a proven technique.</p>
<p>I&#8217;ve known about the grid system for CSS for quite some time, as there have always been templates available that use it, but I&#8217;d never really investigated in more detail as to what it actually meant.  I&#8217;d made do with basic templates, and tweaked them to my liking.  The grid system boils down that philosophy even more, by dividing up the standard 960 pixel width site into 60 pixel blocks.  Group together those blocks in different arrangements and you have a very flexible yet easy to manage layout.  Actually the 60 pixel blocks allow for 18 columns in the page.  In a way it takes me back to when I started writing games way back when I was a child.  I&#8217;d use graph paper to design the sprites, and block out the pixels to design a sprite for a character or an object.</p>
<p>Now web development is taking those same practices&#8230; we have the grid system, which is like the lego of design, and we have CSS sprite maps and even Javascript frameworks for handling sprites, vectors, sounds, physics, animation and tweening, and even parallax scrolling.  That was something that caused excitement back in the 80s, and now there&#8217;s a new revolution with modern web development.  It&#8217;s like the joy of discovery in development has begun again, but this time the development platforms are ubiquitous.  OS&#8217;s may be proprietary, but thankfully the internet is still driven by open standards.  Long may it last!</p>
<p>It&#8217;s never been a more exciting time to be in web / application development.<!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/beauty-in-simplicity-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sony &#8211; are they really treating their loyal customers with respect?</title>
		<link>http://www.clockwork-evolution.com/sony-are-they-really-treating-their-loyal-customers-with-respect/</link>
		<comments>http://www.clockwork-evolution.com/sony-are-they-really-treating-their-loyal-customers-with-respect/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 21:44:27 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[playstation]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sony]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=148</guid>
		<description><![CDATA[<p>Today I got this email:</p> <p>Tell us what you think of PlayStation® apps/services</p> <p>Dear Alex</p> <p>We value your opinion. Please help us by completing a short survey on your views on some PlayStation® apps/services. The questionnaire should take 5-10 minutes to complete.</p> <p>Simply click on the link below to take part&#8230;</p> <p>http://survey.euro.confirmit.com/wix/p999999.aspx?r=9999&#038;s=IVQKWILF</p> <p>(If you encounter [...]]]></description>
			<content:encoded><![CDATA[<p><!--:en-->Today I got this email:</p>
<blockquote><p><strong>Tell us what you think of PlayStation® apps/services</strong></p>
<p>Dear Alex</p>
<p>We value your opinion. Please help us by completing a short survey on your views on some PlayStation® apps/services. The questionnaire should take 5-10 minutes to complete.</p>
<p>Simply click on the link below to take part&#8230;</p>
<p>http://survey.euro.confirmit.com/wix/p999999.aspx?r=9999&#038;s=IVQKWILF</p>
<p>(If you encounter problems with the link please try copying it and pasting it into your browser&#8217;s address bar)</p>
<p>Please note that this survey is being conducted by an independent research company, Join The Dots Ltd. If you have any problems with the survey itself, please contact andy.smithATjointhedotsmr.com. Join The Dots subscribes to the MRS code of conduct and would therefore like to assure you that your answers are completely confidential and that your responses will not be passed onto anyone at an individual level.</p>
<p>Thank you very much for your help.</p>
<p>The PlayStation® Team</p></blockquote>
<p>I really don&#8217;t know what it is about Sony&#8217;s thinking.  I guess it is a valid email but I seem to have got a lot more of these type of emails since Sony was hacked.  Additionally there is nothing in the main &#8216;survey&#8217; that actually links back to Sony&#8217;s official website, what point there is in anyone taking it, or what their reasons are for making it.  The footer section looks like it was from a Sony newsletter though, with the usual gubbins.  If it is from an official Sony survey, then it&#8217;s really poor.  I&#8217;d advise anyone not sure about it, just to delete it.</p>
<p>Are they really testing to see how gullible, or willing to divulge personal information without any sort of reasonable justification we all are?  It does irritate me that they continue to disregard the sanctity of personal information.  After all, it wasn&#8217;t 5 minutes after they went live after the site went down before they &#8216;realised&#8217; (someone warned them) that their password reset process had a fundamental vulnerability.</p>
<p>Back in the 21st of May I wrote an email to Sony expressing my concerns.  Not necessarily objective or completely rational and considered as I was a little annoyed at the time, but it was how I thought at the time:</p>
<blockquote><p>Firstly I do want to thank everyone at Sony for (eventually) being open and candid about the attacks and progress to getting it working again.  I&#8217;ve been following the blog and all updates that I could to track progress.</p>
<p>So when I was able to change my password, I did so as soon as I could.</p>
<p>However it didn&#8217;t go smoothly.  I tried several times and every time I either got a server time-out problem or got the same error code that happened before the &#8220;psn is down for maintenance&#8221; error.  At no time did it say that my password change was successful, on my Playstation.  While I was trying, I did get an email stating that the password change was successful&#8230; although I never got that message on my Playstation.</p>
<p>I am able to log in successfully now, but it worries me that you subsequently stated that there was a vulnerability in the URL for password resets.  I&#8217;m sorry, but I work in website development, and that is such a fundamental and inexcusable omission, especially after spending so long to get things back up and running.</p>
<p>I&#8217;m also concerned that Sony&#8217;s own home country isn&#8217;t willing to allow the network to go live until they are absolutely happy with it.  Yet, you launch it in the UK and several other countries and immediately there is another vulnerability.  It&#8217;s simply not good enough.</p>
<p>As for your Welcome Back package&#8230; it&#8217;s a nice gesture, sure, and I understand that it&#8217;s impossible to keep everyone happy, but&#8230;</p>
<p>Your most valued customers are those of us who have been loyal to Sony.  I&#8217;ve had a Playstation 1, 2 and now the PS3.  I regularly buy online games and commercial games, and always buy any game that I&#8217;m interested in usually as quickly as I can.  Therefore offering 2 games from a limited selection of existing titles is a meaningless offer to someone who either already has them or has no interest in them.</p>
<p>The extra month&#8217;s subscription is also moot as the network was down for one month, and I heard it&#8217;s expected that the market will be down for another week or two, so there&#8217;s no benefit for me there.  I pay for Playstation Plus for the benefits in the service, rather than any online gaming, so I&#8217;m getting absolutely nothing from that either.</p>
<p>Then there is the fraud protection scheme.  Thus far you have only provided us with details on companies.  I know this is a complicated process, but it&#8217;s one that&#8217;s going to cost me money, and I imagine Sony get referral commission on, so again this is a valueless offer.</p>
<p>I&#8217;m already getting spam sent to me with my own full name.  I&#8217;ve never had spam get through Google&#8217;s filtering (it&#8217;s genuinely very good) until now, and it&#8217;s too much of a coincidence to assume that it&#8217;s anything other than data obtained illegally via your hacked data.  And actually, again as a web programming professional, the notion that you had unencrypted passwords (encoded or not) is absolutely unthinkable.  Calling it negligent is being far too kind.</p>
<p>So, I can I ask of you a few things, please:</p>
<ul>
<li>That we are all able to change our online usernames (i.e. change mine from user123 to something else) free of charge.  I&#8217;ve heard this is available in Japan, so I have no idea why we can&#8217;t do that here too.  I personally see this now as a necessary additional security step.  I hope that you share my opinion.</li>
<li>I want reassurance that my account wasn&#8217;t hacked again while I was trying to reset it (and getting the error messages on my Playstation).  I also want unbiased and professional support to protect the data I have and to properly assure me that I&#8217;m as safe as can be from identity theft / fraud, etc.</li>
<li>I&#8217;d suggest that as an option in case someone (a loyal customer) isn&#8217;t interested in any of the free titles on offer, that either a cash value that could be used in the Market, or discount codes that could be used for any online games.</li>
<li>I also suggest that you somehow need to convince us in the UK (and other countries) as much as you do for the Japanese government that our data is safe with us.  As it stands you have already lost the data that could potentially destroy the lives of your users through identity theft, fraud, phishing scams, etc, etc.  The password reset vulnerability, and hacked website have done a lot more damage to our trust&#8230;</li>
<li>Also, can you please provide detailed information (on your blog) to users that may not know the intricacies and scope of the breach &#8211; how they can help secure their other accounts, etc. Many ordinary people don&#8217;t understand about &#8220;phishing&#8221; &#8220;spam&#8221;, etc, so they need to know exactly what was stolen, and how it could be used illegally, and how they can best act to prevent that from happening.  Other websites and companies have provided advice, but I think it&#8217;s best to summarise that candidly.  The fact that you&#8217;ve stated that &#8220;credit card data may have been stolen&#8221; means that one should assume that it HAS been stolen, and may well be used if/when it&#8217;s deciphered by whomever gains access to it.  Even if no card data has been abused for months afterwards, it&#8217;s no guarantee that it will never be used&#8230;</li>
</ul>
<p>The damage done is not just to Sony.  It&#8217;s to all your millions of loyal supporters and those of us that love games.  I don&#8217;t blame anyone at Sony for the problem, even though there was obvious negligence that has taken place, it&#8217;s a harsh lesson to all companies that run services online and rely on the internet for commerce.</p>
<p>It&#8217;s not what has been done that could destroy Sony, but what you do now.  So please do the right things for us.  Show us your commitment to us, and that our loyalty is rewarded.</p>
<p>Thanks for your time reading this,</p>
<p>Yours Faithfully,</p></blockquote>
<p>I haven&#8217;t had a reply from them&#8230;<!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/sony-are-they-really-treating-their-loyal-customers-with-respect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clive Barker exhibition at the Crown Gallery</title>
		<link>http://www.clockwork-evolution.com/clive-barker-exhibition-at-the-crown-gallery/</link>
		<comments>http://www.clockwork-evolution.com/clive-barker-exhibition-at-the-crown-gallery/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 20:22:42 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=132</guid>
		<description><![CDATA[<p><a href="http://www.clockwork-evolution.com/wp-content/uploads/2011/07/IMAG0070.jpg"></a>There was a rather cool exhibition at the Crown Gallery earlier today.  Clive Barker made a rare visit to show his work and to sign autographs for his fans.</p> <p>Many years ago I read Weaveworld, and it was my favourite fiction book for quite a long time.  I also read (and recommend) The Great [...]]]></description>
			<content:encoded><![CDATA[<p><!--:en--><a href="http://www.clockwork-evolution.com/wp-content/uploads/2011/07/IMAG0070.jpg"><img class="alignright size-medium wp-image-134" title="Clive Barker's Weaveworld" src="http://www.clockwork-evolution.com/wp-content/uploads/2011/07/IMAG0070-189x300.jpg" alt="" width="189" height="300" /></a>There was a rather cool exhibition at the Crown Gallery earlier today.  Clive Barker made a rare visit to show his work and to sign autographs for his fans.</p>
<p>Many years ago I read Weaveworld, and it was my favourite fiction book for quite a long time.  I also read (and recommend) The Great and Secret Show, and his Books of Blood.  He is probably most well known for his film Hellraiser, and has also been a prolific artist.</p>
<p>It was amazing to see him after being a fan for a long time, and he signed copies of Weaveworld and the catalog for me.</p>
<p><a href="http://www.amazon.com/Weaveworld-Clive-Barker/dp/0743417356?SubscriptionId=1P7N7N9V2X45Q22E6C82&tag=wp-amazon-associate-20" target="_blank" rel="nofollow"><img src="http://ecx.images-amazon.com/images/I/5111ZS3HPEL._SL160_.jpg" height="160" width="103" rel="nofollow" title="Weaveworld" /></a><!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/clive-barker-exhibition-at-the-crown-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Successful web application design</title>
		<link>http://www.clockwork-evolution.com/successful-web-application-design/</link>
		<comments>http://www.clockwork-evolution.com/successful-web-application-design/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 18:56:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[application developer]]></category>
		<category><![CDATA[functionality]]></category>
		<category><![CDATA[interactive elements]]></category>
		<category><![CDATA[interactivity]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=123</guid>
		<description><![CDATA[<p>As an application developer I sometimes get a little frustrated with some attitudes towards functionality.  There is all too often too much temptation to throw in as many different aspects and functions to a design rather than to focus on streamlining the user experience for the core of what you&#8217;re developing.</p> <p>As an example, you [...]]]></description>
			<content:encoded><![CDATA[<p><!--:en-->As an application developer I sometimes get a little frustrated with some attitudes towards functionality.  There is all too often too much temptation to throw in as many different aspects and functions to a design <strong>rather than to focus on streamlining the user experience</strong> for the core of what you&#8217;re developing.</p>
<p>As an example, you might have a resource booking system; just because it ends up having certain functionality that allows users to communicate with one-another, it doesn&#8217;t mean that it should have full social interactivity built-in.</p>
<p>Another example might be if you&#8217;re adding WYSIWYG editing to content areas, then <strong>does the client really need to be able to choose purple text in &#8220;Comic Sans&#8221;</strong>, and add images anywhere in the content?  Do they really need to be able to add nested tables?</p>
<p>It&#8217;s a case really of evaluating what actually adds real value to the end-user (not you, or even the client), rather than what might add extra cost or something else that you could sell to them.  It might also be that the client is asking you to do add spurious functionality, and it doesn&#8217;t always actually make sense to add it just because they think they need it.</p>
<p>Often someone who wants a new website will start to look around at what other websites to, and want to take elements of what they do.  Sure, some of those bells and whistles will be appreciated by some visitors, but do you really want to be faced by a myriad options, and a smörgåsbord of links on a website you&#8217;ve never seen before.</p>
<p>To look at it another way, try to think about what websites have been the most successful (and also how they may be starting to get it &#8220;wrong&#8221;):</p>
<ul>
<li>YouTube allows you to look for, upload, and watch videos &#8211; the elegance of simply being able to upload your own video, and comment on other people&#8217;s is something that&#8217;s proven to work.Other things have evolved from then, like the favourites, play-lists, adverts and interactive elements embedded in the movies.  Of course advertisers and maintainers of YouTube love the advertising, and companies like the revenue and publicity from it, does that benefit the end-user?  Do you really enjoy sitting through an advert before you watch a video you have no idea about, or have your video tutorial obfuscated with adverts?  No, I didn&#8217;t think so.</li>
<li>Google started with their logo, and a search box.  The search engine worked extremely fast, and gave you the results you needed.  Their simplistic approach to design and aesthetic has carried over pretty much throughout their other applications, although they did stumble a bit when amending the way their search results worked; their is intelligent design, and there is design that condescends to or makes too many assumptions to be useful (something that Microsoft have been guilty of many times).</li>
<li>Facebook arguably beat MySpace through making the interface and design so much more consistent and clean.  This is a classic example of when not to allow the end-user (or client) too much control over design aspects of your site.  People love to have things to tinker with like adding huge, animated images, videos and music to their personal page, but not everyone else wants to see it.  Facebook stripped it back down to keeping in touch.  Now Google Plus have stripped it down yet again, while <strong>adding extra subtle functionality that is intuitive and non-obtrusive</strong>.</li>
<li>Twitter, I think, will outlast Facebook and not even be a competitor to Google+ as they really have the simplicity sewn up.  There is so much you can do, and so little that you need do with 140 characters&#8230;</li>
</ul>
<p>So I do believe that the message is to focus on only one or two main points of your design, and only consider additions if they are truly adding value to the end-user.  Those extra bits and pieces may seem cool at first, and they may draw users in for curiosity, but as soon as the novelty wears off you really just want to do what you need to as quickly and easily as possible.  It&#8217;s much better to streamline that key USP, and make it as simple and effective as possible for the end-user to get from A to Z.<!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/successful-web-application-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oomiwa Jinja Shrine in Nara, Japan</title>
		<link>http://www.clockwork-evolution.com/oomiwa-jinja-shrine-in-nara-japan/</link>
		<comments>http://www.clockwork-evolution.com/oomiwa-jinja-shrine-in-nara-japan/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 21:35:23 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Japan]]></category>
		<category><![CDATA[journals]]></category>
		<category><![CDATA[language learners]]></category>

		<guid isPermaLink="false">http://www.clockwork-evolution.com/?p=113</guid>
		<description><![CDATA[<p></p> <p>Next year is going to introduce some big changes to my life, and I&#8217;m really looking forward to it.  Sometimes life has hard lessons, and just sometimes it seems that fate plays you the most wonderful cards.  One of the things that I&#8217;m looking forward to most is a rather significant trip to a [...]]]></description>
			<content:encoded><![CDATA[<p><!--:en--><div id="attachment_117" class="wp-caption alignright" style="width: 310px"><a href="http://www.clockwork-evolution.com/wp-content/uploads/2011/07/%E5%A5%88%E8%89%AF%EF%BC%92_opt.jpg"><img class="size-medium wp-image-117" title="Oomiwa jinja (大神神社)" src="http://www.clockwork-evolution.com/wp-content/uploads/2011/07/%E5%A5%88%E8%89%AF%EF%BC%92_opt-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">大神神社、奈良</p></div></p>
<p>Next year is going to introduce some big changes to my life, and I&#8217;m really looking forward to it.  Sometimes life has hard lessons, and just sometimes it seems that fate plays you the most wonderful cards.  One of the things that I&#8217;m looking forward to most is a rather significant trip to a beautiful shrine in Nara:</p>
<p><a href="http://www.japan-hopper.com/2008/08/15_182101.php">http://www.japan-hopper.com/2008/08/15_182101.php</a><br />
<a href="http://www.kotodamaya.com/oomiwa-jinja/">http://www.kotodamaya.com/oomiwa-jinja/</a></p>
<p>I started learning Japanese more seriously from sometime around late 2009, and joined a certain website called <a href="http://Lang-8.com">Lang-8.com</a> in mid December that year.  I lapse at times, but writing journals on it is a fantastic way to learn and engage with other language learners on a variety of topics.</p>
<p>It can be really hard work, and something that takes dedication, but just occasionally it opens up the most amazing opportunities.  Make the most of life, push the limits, stay optimistic, and you never know what may happen.<!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clockwork-evolution.com/oomiwa-jinja-shrine-in-nara-japan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

