<?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>crazed</title>
	<atom:link href="http://www.crazed.org.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crazed.org.uk</link>
	<description>Musings of a web developer</description>
	<lastBuildDate>Sat, 22 Oct 2011 15:14:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>So you need to transfer almost a GB of files&#8230;</title>
		<link>http://www.crazed.org.uk/2011/10/so-you-need-to-transfer-almost-a-gb-of-files/</link>
		<comments>http://www.crazed.org.uk/2011/10/so-you-need-to-transfer-almost-a-gb-of-files/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 15:14:44 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=166</guid>
		<description><![CDATA[and the source server is too slow to tar -z all these files without having the tar process killed (and the thought of waiting several hours to trickle 50,000 files down the pipe is too much)&#8230; rsync is your friend! With compression, efficiency, and resume-able, it took only several minutes to shrink-send 700MB. Background: a [...]]]></description>
			<content:encoded><![CDATA[<p>and the source server is too slow to tar -z all these files without having the tar process killed (and the thought of waiting several hours to trickle 50,000 files down the pipe is too much)&#8230;</p>
<p>rsync is your friend!</p>
<p>With compression, efficiency, and resume-able, it took only several minutes to shrink-send 700MB.</p>
<p>Background: a website running on a dual-core Atom server all the way over in the US needs to be migrated over to a faster host elsewhere. My several attempts at compressing the files with tar -zcf failed with &#8216;Process killed&#8217;  &#8211; presumably too much processing time was being allocated to this one task. Rsync, as well as being a synchronising superstar, is fantastic at transferring large number of files. I also use rsync to pull manual updates over to live sites (leaving bazaar for the test site).</p>
<p>Caveat: both sides need access to the rsync command with SSH access (or a running rsync daemon). The more files needed, the more free RAM needed &#8211; approximately 100MB for every million files <img src='http://www.crazed.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2011/10/so-you-need-to-transfer-almost-a-gb-of-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BBC iPlayer greasemonkey script update v2.0</title>
		<link>http://www.crazed.org.uk/2010/10/bbc-iplayer-greasemonkey-script-update-v2-0/</link>
		<comments>http://www.crazed.org.uk/2010/10/bbc-iplayer-greasemonkey-script-update-v2-0/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 01:48:05 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[Net]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[iplayer]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=155</guid>
		<description><![CDATA[I&#8217;ve taken the liberty to rewrite the greasemonkey script to handle the new iPlayer layout. I&#8217;ve taken a different approach to this by injecting a stylesheet inline and toggling it on. Various videos did not have the &#8216;Pop-out&#8217; player option, so I&#8217;ve added a button to enable/disable this feature in the top-right TV favourites panel. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve taken the liberty to rewrite the greasemonkey script to handle the new iPlayer layout. I&#8217;ve taken a different approach to this by injecting a stylesheet inline and toggling it on. Various videos did not have the &#8216;Pop-out&#8217; player option, so I&#8217;ve added a button to enable/disable this feature in the top-right TV favourites panel. I&#8217;m sure most of you will find this works well enough to not use the pop-out option!</p>
<p><a href="http://www.crazed.org.uk/wp-content/uploads/2010/10/iplayer-greasemonkey-2010-3.jpg" rel="lightbox[155]"><img src="http://www.crazed.org.uk/wp-content/uploads/2010/10/iplayer-greasemonkey-2010-3.jpg" alt="" title="iplayer-greasemonkey-2010-3" width="500" height="226" class="alignnone size-full wp-image-161" /></a></p>
<p>Install/update <a href="https://addons.mozilla.org/en-US/firefox/addon/748/" target="_blank">greasemonkey</a>, install/update the <a href="http://userscripts.org/scripts/show/34039">iplayer script</a>, browse to <a href="http://www.bbc.co.uk/iplayer/" target="_blank">iPlayer</a>, choose a film, toggle it on, and press F11 to set your browser to full screen <img src='http://www.crazed.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I have only tested this in FF3.6 but assuming xPath support is consistant among Firefox versions it should work as long as you have greasemonkey installed.</p>
<p>@See the <a href="http://www.crazed.org.uk/2008/09/bbc-iplayer-greasemonkey-script/">original post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2010/10/bbc-iplayer-greasemonkey-script-update-v2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using svn+ssh in TortoiseSVN over a custom port</title>
		<link>http://www.crazed.org.uk/2010/06/using-svnssh-in-tortoisesvn-over-a-custom-port/</link>
		<comments>http://www.crazed.org.uk/2010/06/using-svnssh-in-tortoisesvn-over-a-custom-port/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 19:21:19 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[tortoisesvn]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=148</guid>
		<description><![CDATA[Just discovered this &#8211; to connect to subversion over a SSH tunnel that&#8217;s not on the usual port 22, you need to save a PuTTY session using the custom port, and refer to the session name in place of the hostsname in TortoiseSVN. It seems whilst TortoiseSVN accepts the usual svn+ssh://myhost/repository/path URI (and even the [...]]]></description>
			<content:encoded><![CDATA[<p>Just discovered this &#8211; to connect to subversion over a SSH tunnel that&#8217;s not on the usual port 22, you need to save a PuTTY session using the custom port, and refer to the session name in place of the hostsname in TortoiseSVN.</p>
<p>It seems whilst TortoiseSVN accepts the usual <code>svn+ssh://myhost/repository/path</code> URI (and even the <code>svn+ssh://name@myhost/repository/path</code> variation), this assumes that SSH is running on the usual port 22. I have tried (using port 333 as an example) <code>svn+ssh://myhost:333/repository/path</code> and <code>svn+ssh+333://myhost/repository/path</code>, however these will cause a host not found error.</p>
<p>It turns out that TortoiseSVN accepts a session name in place of &#8216;<code>myhost</code>&#8216;, and the session name can include characters such as &#8220;<code>:</code>&#8221; so this would be one way of making the innocent looking <code>svn+ssh://myhost:333/</code> work!</p>
<p>i.e. create a PuTTY session named &#8216;new-sess:ion2&#8242; using the SSH protocol connecting to port 333 &#8211; and this should work in TortoiseSVN:  </p>
<p><code>svn+ssh://new-sess:ion2/repository/path</code></p>
<p> &#8211; or a session named  mysession:333  &#8211; </p>
<p><code>svn+ssh://mysession:333/repository/path</code></p>
<p>Now thankfully I do not have to be at home to view log information!</p>
<p>Reference: http://svn.haxx.se/tsvnusers/archive-2007-01/0272.shtml</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2010/06/using-svnssh-in-tortoisesvn-over-a-custom-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cultural observations</title>
		<link>http://www.crazed.org.uk/2010/01/culture/</link>
		<comments>http://www.crazed.org.uk/2010/01/culture/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 09:04:50 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[japanese]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=139</guid>
		<description><![CDATA[Found this quote in a comment in Engadget: psmisc Posted Jan 20th 2010 1:39AM @Abe I was in China a few years back, and I was surprised at how well people dressed. In fact, demand for name brand clothes were so high that they cost more in China than in North America, even though a lot [...]]]></description>
			<content:encoded><![CDATA[<p>Found this quote in a comment in Engadget:</p>
<p><strong>psmisc </strong>Posted Jan 20th 2010 1:39AM</p>
<blockquote>
<div class="comment_rank neutral">@Abe</div>
<p class="cmt_contents">I was in China a few years back, and I was surprised at how well people dressed. In fact, demand for name brand clothes were so high that they cost more in China than in North America, even though a lot of them were made there. It was a cliche for a secretary to spend many months of salary on a designer bag.</p>
<p>I always thought culturally the Chinese are the Italians of Asia. They are picky on clothes and food, like saving faces, and are loud in restaurants. Japanese are the Germans, punctual, precise, and kinky. Koreans are the Russians, melancholic, serious, and dramatic. Indians are the Greeks. Lively, passionate, and along with China, one of the remaining civilizations of the classical era.</p></blockquote>
<p>Cultural observations are rather intriguing&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2010/01/culture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Wave meets Pulp Fiction</title>
		<link>http://www.crazed.org.uk/2009/10/google-wave-meets-pulp-fiction/</link>
		<comments>http://www.crazed.org.uk/2009/10/google-wave-meets-pulp-fiction/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 01:02:41 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=135</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="304" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/xcxF9oz9Cu0&amp;hl=en&amp;fs=1&amp;" /><embed type="application/x-shockwave-flash" width="500" height="304" src="http://www.youtube.com/v/xcxF9oz9Cu0&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2009/10/google-wave-meets-pulp-fiction/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Home</title>
		<link>http://www.crazed.org.uk/2009/07/home/</link>
		<comments>http://www.crazed.org.uk/2009/07/home/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 14:00:14 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=133</guid>
		<description><![CDATA[&#8220;Home is never far from our thoughts, though. How many times have you looked forward for months to a holiday, only to find that on day three you’re already dreaming of your own bed? But when you return, the process starts all over again.&#8221; Mark Mason in The Times, July 20th]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;Home is never far from our thoughts, though.  How many times have you looked forward for months to a holiday, only to find  that on day three you’re already dreaming of your own bed? But when you  return, the process starts all over again.&#8221;</p>
<p><a href="http://www.timesonline.co.uk/tol/comment/columnists/guest_contributors/article6719667.ece">Mark Mason</a> in The Times, July 20th</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2009/07/home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cassetteboy vs The Bloody Apprentice</title>
		<link>http://www.crazed.org.uk/2009/06/cassetteboy-apprentice/</link>
		<comments>http://www.crazed.org.uk/2009/06/cassetteboy-apprentice/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 22:48:47 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[tv]]></category>
		<category><![CDATA[apprentice]]></category>
		<category><![CDATA[casetteboy]]></category>
		<category><![CDATA[splicing]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=124</guid>
		<description><![CDATA[Someone&#8217;s spent months splicing up The Apprentice&#8230; http://www.youtube.com/watch?v=Yxi6QDwQyLU Credits to Cassetteboy.]]></description>
			<content:encoded><![CDATA[<p>Someone&#8217;s spent months splicing up The Apprentice&#8230;</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="527" height="320" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/Yxi6QDwQyLU&amp;hl=en&amp;fs=1&amp;" /><embed type="application/x-shockwave-flash" width="527" height="320" src="http://www.youtube.com/v/Yxi6QDwQyLU&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.youtube.com/watch?v=Yxi6QDwQyLU">http://www.youtube.com/watch?v=Yxi6QDwQyLU</a></p>
<p>Credits to <a href="http://cassetteboy.wordpress.com/">Cassetteboy</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2009/06/cassetteboy-apprentice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revenge is bad mkay?</title>
		<link>http://www.crazed.org.uk/2009/03/revenge-is-bad-mkay/</link>
		<comments>http://www.crazed.org.uk/2009/03/revenge-is-bad-mkay/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 18:48:17 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=122</guid>
		<description><![CDATA[&#8220;According to the German national socio-economic database, vengeful people are more likely to be unemployed, have fewer friends and are less satisfied with their lives than those who occasionally let a bad turn go unpunished.&#8221; http://www.theregister.co.uk/2009/03/27/german_revenge_inefficient/]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;According to the German national socio-economic database, vengeful people are more likely to be unemployed, have fewer friends and are less satisfied with their lives than those who occasionally let a bad turn go unpunished.&#8221;</p></blockquote>
<p><a href="http://www.theregister.co.uk/2009/03/27/german_revenge_inefficient/">http://www.theregister.co.uk/2009/03/27/german_revenge_inefficient/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2009/03/revenge-is-bad-mkay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook killed TV</title>
		<link>http://www.crazed.org.uk/2009/03/facebook-killed-tv/</link>
		<comments>http://www.crazed.org.uk/2009/03/facebook-killed-tv/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 00:27:57 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=119</guid>
		<description><![CDATA[&#8220;After decades of running an IV drip right into their audience, people in the entertainment business had understandably come to think of them as rather passive. They thought they&#8217;d be able to dictate the way shows reached audiences. But they underestimated the force of their desire to connect with one another.&#8221; Why TV lost: http://www.paulgraham.com/convergence.html]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;After decades of running an IV drip right into their audience, people in the entertainment business had understandably come to think of them as rather passive.  They thought they&#8217;d be able to dictate the way shows reached audiences.  But they underestimated the force of their desire to connect with one another.&#8221;</p></blockquote>
<p>Why TV lost: <a href="http://www.paulgraham.com/convergence.html" target="_blank">http://www.paulgraham.com/convergence.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2009/03/facebook-killed-tv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using your phone as a modem via bluetooth</title>
		<link>http://www.crazed.org.uk/2008/12/using-your-phone-as-a-modem-via-bluetooth/</link>
		<comments>http://www.crazed.org.uk/2008/12/using-your-phone-as-a-modem-via-bluetooth/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 19:35:02 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[Mobile phones]]></category>
		<category><![CDATA[Net]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[browsing]]></category>
		<category><![CDATA[dial up]]></category>
		<category><![CDATA[gprs]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[mobile phone]]></category>
		<category><![CDATA[modem]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=115</guid>
		<description><![CDATA[Anyone ever have issues with not finding a decent WiFi connection? Anyone else can&#8217;t be bothered to shell out for those mobile broadband USB dongle adapters plus the associated 15 odd quid contract just to be able to go online on the go without wifi away from home or work? Me neither! I thought about [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone ever have issues with not finding a decent WiFi connection? Anyone else can&#8217;t be bothered to shell out for those mobile broadband USB dongle adapters plus the associated 15 odd quid contract just to be able to go online on the go without wifi away from home or work? Me neither!</p>
<p>I thought about connecting online through the phone in the past, but there was a need to carry around a USB cable plus the needing to install a CD full of software to do so &#8211; kind of uselss if you don&#8217;t have the CD on you when you need it.</p>
<p>There is a way however; I found this sometime back whilst searching for a way to connect wirelessly online on my laptop without needing to install the 100-odd MB of software that Sony Ericsson seems to demand. Without access to a decent WiFi connection, the alternative was the phone browser &#8211; but who wants to browse the full web via a phone browser?! Opera Mini does the job for short runs, but a computer screen wins hands down if I have the choice.</p>
<p>I will tell you how.</p>
<p>I&#8217;ve managed to get this working successfully on my sister&#8217;s Lenovo, and my Vaio laptop &#8211; both had bluetooth built in (YMMV), with three different phones &#8211; a SE P1i, SE C905, and a Nokia 6500 slide, so it is definitely not an isolated ability &#8211; AFAIK it is part of some GSM standard. Don&#8217;t count on iPhones being able to do this though (correct me if I am wrong though).</p>
<p>Now, first thing to do is to pair up the phone with your computer. The Dial-up networking service will have to be enabled for that bluetooth connection; again YMMV &#8211; in my case, I just checked a few boxes.</p>
<p>Once that&#8217;s sorted, this is where the magic lies: you create a new Dial-Up Connection:</p>
<ul>
<li>With XP, this is achieved by going to the Network Connections, and clicking on Create a new connection in the task panel. The New Connection dialog pops up &#8211; follow this with &#8220;Connect to the Internet&#8221;, &#8220;Set up my connection manually&#8221;, &#8220;Connect using a dial-up modem&#8221;</li>
<li>on Vista, open up the Network and Sharing Center window, then click on &#8216;Set up a connection or network&#8217; in the Task panel. Again, a dialog should appear with the &#8216;Set up a dial-up connection&#8217; in the list somewhere. Select this.</li>
</ul>
<p>A list of possible dial-up devices should appear. If the bluetooth pairing was setup properly, you should see a &#8216;Standard Modem over Bluetooth link&#8217; or some variation of this. If you&#8217;ve paired multiple phones, then there might be more entries. Once you&#8217;ve got the right connection for your phone, proceed through the wizard.</p>
<p>The only detail you need to enter here is the phone number for this connection. Username and password does not matter AFAIK &#8211; I personally leave it blank &#8211; but the connection name should be meaningful.</p>
<p>This is the important part: the telephone number should be in this format: *99***x#  where x is the number that corresponds to the data account ID. Normally I try *99***2# first, then *99***3#  as these seem to correspond to Orange&#8217;s GPRS  / Internet accounts &#8211; *99***1# is usually the MMS account on my phones, but it might be the internet on yours.</p>
<p>This is a special number that the phone would recognise as a command to connect to the data accounts.</p>
<p>Once that&#8217;s set up, test dial it &#8211; Windows should confirm with you if it was successfully or not. Quick google test should confirm everything afterwards.</p>
<p>Obviously, running with 3G enabled is much nicer, but old phones or tariffs with 2.5G GPRS only can still do it, albeit at speeds harking back to the days of actual dial up modems. Pair this up with a Three £5/month phone internet add on, and that&#8217;s a new mobile road warrior in the making!</p>
<p><small class="aside">*unfortunately for me, I don&#8217;t have a spare unlocked 3G-enabled phone since my P1 was stolen. Such is life when you find a good thing, and it slaps you back in the face with a taunt.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2008/12/using-your-phone-as-a-modem-via-bluetooth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

