<?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>Chris&#039; Blog &#187; Linux</title>
	<atom:link href="http://www.cs278.org/blog/category/technology/os/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cs278.org/blog</link>
	<description>“A metal loving, web developing, open source contributor.”</description>
	<lastBuildDate>Sun, 03 Apr 2011 14:36:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Folding again</title>
		<link>http://www.cs278.org/blog/2011/04/03/folding-again/</link>
		<comments>http://www.cs278.org/blog/2011/04/03/folding-again/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 14:36:34 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[folding]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=16650</guid>
		<description><![CDATA[So after a break of a few years I&#8217;ve got back into Folding, this time I&#8217;ve started from scratch discarding my old account. As of writing my new account has a score of 37304 more than doubling my previous score &#8230; <a href="http://www.cs278.org/blog/2011/04/03/folding-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So after a break of a few years I&#8217;ve got back into <a href="http://folding.stanford.edu/" rel="external">Folding</a>, this time I&#8217;ve started from <a href="http://fah-web.stanford.edu/cgi-bin/main.py?qtype=userpage&#038;username=cs278&#038;teamnum=35947" rel="external">scratch</a> discarding my <a href="http://fah-web.stanford.edu/cgi-bin/main.py?qtype=userpage&#038;username=toonarmy" rel="external">old account</a>. As of writing my new account has a score of 37304 more than doubling my previous score in 10 days rather than the 2 years it took me to accumulate my previous score! I&#8217;m using my Intel Core i7 for most of the work, one SMP core using 6 threads and another single process core. I&#8217;m supplementing my i7 with an AMD Athlon II Neo which is left running 24/7, it&#8217;s nowhere near as powerful the i7 but it&#8217;s CPU cycles are otherwise wasted.</p>
<p>Right now my i7 has a nVidia GTX260 sitting mostly idle just shifting dust, which I&#8217;d like to employ as well. However I&#8217;ve not had much luck getting the FAH core, CUDA and Wine to cooperate in the name of science, any pointers greatly appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2011/04/03/folding-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One Down</title>
		<link>http://www.cs278.org/blog/2010/02/18/one-down/</link>
		<comments>http://www.cs278.org/blog/2010/02/18/one-down/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 00:20:15 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[Upgrades]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=536</guid>
		<description><![CDATA[Well one of my gripes with Ubuntu 9.10 &#8216;Karmic Koala&#8217; has been cured at least, Firebug 1.5 now works after upgrades to Firefox 3.5.8. Shame that I&#8217;ve found out my bash completion is broken.]]></description>
			<content:encoded><![CDATA[<p>Well one of my <a href="http://www.cs278.org/blog/2010/01/31/why-do-i-bother/">gripes</a> with Ubuntu 9.10 &#8216;Karmic Koala&#8217; has been cured at least, Firebug 1.5 now works after upgrades to Firefox 3.5.8.</p>
<p>Shame that I&#8217;ve found out my bash completion is broken. <img src='http://www.cs278.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/02/18/one-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>N900 Sharing</title>
		<link>http://www.cs278.org/blog/2010/02/06/n900-sharing/</link>
		<comments>http://www.cs278.org/blog/2010/02/06/n900-sharing/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 16:21:23 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[Social]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=529</guid>
		<description><![CDATA[Since my earlier post about sharing photos from the N900 I have discovered Pixelpipe, which includes support for Gallery2 uploads as part of a huge array of supported services. You can read more about Pixelpipe and the N900 here and &#8230; <a href="http://www.cs278.org/blog/2010/02/06/n900-sharing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since my <a href="http://www.cs278.org/blog/2010/02/01/sharing-photos-from-n900-to-gallery2/">earlier post</a> about sharing photos from the N900 I have discovered <a href="http://pixelpipe.com/" rel="external">Pixelpipe</a>, which includes support for Gallery2 uploads as part of a huge array of supported services. You can read more about Pixelpipe and the N900 <a href="http://blog.pixelpipe.com/2009/10/17/enabling-the-nokia-n900-to-the-social-web-with-pixelpipe/" rel="external">here</a> and <a href="http://blog.pixelpipe.com/2009/12/28/posting-to-status-updates-and-blog-posts-from-your-n900-instant-messaging-client-via-pixelpipe/" rel="external">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/02/06/n900-sharing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharing photos from N900 to Gallery2</title>
		<link>http://www.cs278.org/blog/2010/02/01/sharing-photos-from-n900-to-gallery2/</link>
		<comments>http://www.cs278.org/blog/2010/02/01/sharing-photos-from-n900-to-gallery2/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 21:49:51 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[sharing]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=522</guid>
		<description><![CDATA[I recently treated myself to a new mobile phonecomputer, so I bought a Nokia N900 which eXpansys eventually shipped to me. Now to the point, you can easily share content to Facebook, Ovi, and Flickr but I maintain my own &#8230; <a href="http://www.cs278.org/blog/2010/02/01/sharing-photos-from-n900-to-gallery2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently treated myself to a new mobile <del>phone</del><ins>computer</ins>, so I bought a <a href="http://maemo.nokia.com/n900/" rel="external">Nokia N900</a> which <a href="http://www.expansys.com/" rel="external">eXpansys</a> eventually shipped to me. Now to the point, you can easily share content to <a href="http://www.facebook.com/" rel="external">Facebook</a>, <a href="http://share.ovi.com/" rel="external">Ovi</a>, and <a href="http://www.flickr.com/" rel="external">Flickr</a> but I maintain my own <a href="http://gallery.menalto.com/" rel="external">Gallery2</a> <a href="http://gallery.cs278.org/">installation</a> and I wanted to upload my photos there as well. Luckily the sharing infrastructure is pluggable, so all I needed was a plugin which I <a href="https://garage.maemo.org/projects/g2-sharing/" rel="external">found</a>. <img src='http://www.cs278.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Configuring it was a bit of a headache so here is how I did it. <span id="more-522"></span></p>
<p class="note">I assume you are familiar with installing packages and whatnot on the N900/Maemo OS.</p>
<ol>
<li>First off I grabbed the <a href="https://garage.maemo.org/projects/g2-sharing/" rel="external">plugin</a> from the <a href="https://garage.maemo.org/frs/?group_id=1114" rel="external">download page</a>.</li>
<li>I installed it from the terminal using <code>dpkg --install</code>.</li>
<li>Next I entered my Gallery2 Administration interface and added a new user, I called it <var>mobile</var>. I configured it with a random password, which I jotted down to enter into the N900.</li>
<li>After that I enabled the <em>Remote</em> plugin in the administration interface.</li>
<li>I created a <a href="http://gallery.cs278.org/v/photos/mobile/">new album</a>, with the <em>title</em> <var>Mobile</var> (<em>note case is important here</em>)</li>
<li>I adjusted the permissions on the album to permit the <var>mobile</var> user full access, I could probably lock this down a bit to only allow addition of new items but I&#8217;m not too worried.</li>
<li>Next I grabbed my N900 and went to configure the Gallery2 sharing service, this is where the fun began for me. I ended up using tcpdump over ssh to diagnose the problems!</li>
<li>I filled out the form with the following variables:
<dl>
<dt>User name</dt>
<dd><var>mobile</var></dd>
<dt>Passsword</dt>
<dd><var>Pa$Sw0rd</var></dd>
<dt>URL</dt>
<dd><var>gallery.cs278.org</var> (<em>leave off the scheme, https is not supported.</em>)</dd>
<dt>Album</dt>
<dd><var>Mobile</var> (<em>Case is important here, use the same as the album title you set.</em>)</dd>
</dl>
<p>If you get a network error, basically the plugin couldn&#8217;t authenticate to Gallery2 or you didn&#8217;t have the Remote interface enabled. Hopefully this helps somebody and saves you heading for tcpdump and some head scratching.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/02/01/sharing-photos-from-n900-to-gallery2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Why do I bother?</title>
		<link>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/</link>
		<comments>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 13:52:23 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kinslayer]]></category>
		<category><![CDATA[Upgrades]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=514</guid>
		<description><![CDATA[Updated my desktop from Ubuntu &#8216;Jaunty&#8217; 9.04 to Ubuntu &#8216;Karmic&#8217; 9.10, the upgrade process worked flawlessly. Sadly the number of regressions has kind of taken the shine of the various improvements to the distribution. The big kicker for me is &#8230; <a href="http://www.cs278.org/blog/2010/01/31/why-do-i-bother/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Updated my desktop from Ubuntu &#8216;Jaunty&#8217; 9.04 to Ubuntu &#8216;Karmic&#8217; 9.10, the upgrade process worked flawlessly. Sadly the number of regressions has kind of taken the shine of the various improvements to the distribution.</p>
<p>The big kicker for me is the breaking of VLC and/or Gnome Screensaver, now VLC fails to suppress the screensaver in full screen which is kind of useless when you want to watching anything over 5 minutes long. To workaround this I use <code>gnome-screensaver-command --inhibit</code> to prevent the screensaver from activating, and set a command to kill that after 2 hours. The next problem I&#8217;ve observed is that even when the suppression and the film have both ended, the screensaver still doesn&#8217;t want to activate for ages; leaving my desktop burning the image into the screen until I lock the screen myself. Not a problem but I often hit the hay with a film on and usually fall asleep midway through, got up yesterday morning to find my desktop sat there still being projected from my display. <a href="https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/428884" rel="external">LP #428884</a>.</p>
<p>My second gripe is Flash player under a x86-64 installation using nspluginwrapper and the x86 Flash player provided in the repositories works, what&#8217;s so bad about that? Well you can&#8217;t actually click on any controls on the Flash object, which kind of rules out embedded YouTube, BBC iPlayer, etc. roll on &lt;video&gt; with Ogg Theora. I resolved this by purging the packaged Flash and nspluginwrapper, and then installing the native 64 bit alpha version <a href="http://labs.adobe.com/downloads/flashplayer10_64bit.html" rel="external">from Adobe</a>.</p>
<p>Finally <a href="http://getfirebug.com/" rel="external">Firebug 1.5</a> doesn&#8217;t support 64 bit builds of Firefox, which to be fair Mozilla don&#8217;t support so I don&#8217;t really have a problem with this. You need to get an <a href="http://getfirebug.com/releases/firebug/1.4/" rel="external">older release</a> from the 1.4 branch, I&#8217;ve heard that the 1.6 alphas work again.</p>
<p>Good grumbling done for the morning!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vacuum Firefox on Ubuntu</title>
		<link>http://www.cs278.org/blog/2009/10/15/vacuum-firefox-on-ubuntu/</link>
		<comments>http://www.cs278.org/blog/2009/10/15/vacuum-firefox-on-ubuntu/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 23:14:04 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=497</guid>
		<description><![CDATA[It was suggested to me to use vacuum places to improve my Firefox awesome bar performance, as I&#8217;m still using Firefox 3.0 which is packaged with Jaunty; I do have 3.5 installed I just use it for testing sites at &#8230; <a href="http://www.cs278.org/blog/2009/10/15/vacuum-firefox-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It was suggested to me to use <a href="https://addons.mozilla.org/en-US/firefox/addon/13824" rel="external"><em>vacuum places</em></a> to improve my Firefox awesome bar performance, as I&#8217;m still using Firefox 3.0 which is packaged with Jaunty; I do have 3.5 installed I just use it for testing sites at the moment. However realising that I didn&#8217;t need an addon a single line of bash will probably do what I want I headed to Google and found an <a href="http://www.gettingclever.com/2008/06/vacuum-your-firefox-3.html" rel="external">explaining</a> it all and a suitable one-liner to optimise all my Firefox SQLite DBs.</p>
<p>You will need the <var>sqlite3</var> package installed and you should close Firefox prior to running the command.</p>
<pre class="terminal">for i in ~/.mozilla/firefox/*/*.sqlite; do echo "VACUUM;" | sqlite3 $i ; done</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2009/10/15/vacuum-firefox-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can anybody explain?</title>
		<link>http://www.cs278.org/blog/2009/01/19/can-anybody-explain/</link>
		<comments>http://www.cs278.org/blog/2009/01/19/can-anybody-explain/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 20:53:25 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Humour]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[confused]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=441</guid>
		<description><![CDATA[chris@sandman:/mnt$ sudo df -h . Filesystem Size Used Avail Use% Mounted on /dev/sdb1 459G -1.9G 461G 0% /mnt chris@sandman:/mnt$ sudo du -hs . 4.0G . I sure as hell cannot!]]></description>
			<content:encoded><![CDATA[<pre class="terminal">chris@sandman:/mnt$ sudo df -h .
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             459G -1.9G  461G   0% /mnt
chris@sandman:/mnt$ sudo du -hs .
4.0G	.</pre>
<p>I sure as hell cannot!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2009/01/19/can-anybody-explain/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Home</title>
		<link>http://www.cs278.org/blog/2008/11/30/new-home/</link>
		<comments>http://www.cs278.org/blog/2008/11/30/new-home/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 16:16:12 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=409</guid>
		<description><![CDATA[My blog has a new home on a VPS hosted by Host Europe shared between me and a friend. It has a nice lean installation of Debian Lenny, running a variety of low profile or tuned applications to provide various &#8230; <a href="http://www.cs278.org/blog/2008/11/30/new-home/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My blog has a new home on a VPS hosted by <a href="http://www.hosteurope.de/" rel="external">Host Europe</a> shared between me and a <a href="http://nokarma.org/" rel="friend">friend</a>. It has a nice lean installation of Debian Lenny, running a variety of low profile or tuned applications to provide various services. We also have another 50MiB of free memory to play with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/11/30/new-home/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>X2X</title>
		<link>http://www.cs278.org/blog/2008/11/17/x2x/</link>
		<comments>http://www.cs278.org/blog/2008/11/17/x2x/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 10:48:45 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[x]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=406</guid>
		<description><![CDATA[X2X is this awesome little utility I found which allows you to control an X session on a remote computer with the keyboard and mouse on your local computer, by remote computer I for example mean the laptop sat beside &#8230; <a href="http://www.cs278.org/blog/2008/11/17/x2x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://x2x.dottedmag.net/" rel="external"><em>X2X</em></a> is this awesome little utility I found which allows you to control an X session on a remote computer with the keyboard and mouse on your local computer, by remote computer I for example mean the laptop sat beside you as it relies on you being able to see the output of the remote computers monitor. The Ubuntu Community Documentation has a <a href="https://help.ubuntu.com/community/X2xHowto" rel="external">quick how to</a> on using this handy tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/11/17/x2x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Punching holes in Firewalls</title>
		<link>http://www.cs278.org/blog/2008/11/16/punching-holes-in-firewalls/</link>
		<comments>http://www.cs278.org/blog/2008/11/16/punching-holes-in-firewalls/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 16:37:09 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=402</guid>
		<description><![CDATA[It is a lot easier than you think. OpenSSH, which can only be described as the best utility of all time, is quite a versatile tool one feature people use frequently is port forwarding. This allows you to open a &#8230; <a href="http://www.cs278.org/blog/2008/11/16/punching-holes-in-firewalls/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It is a lot easier than you think.</p>
<p><a href="http://www.openssh.com/" rel="external">OpenSSH</a>, which can only be described as the best utility of all time, is quite a versatile tool one feature people use frequently is port forwarding. This allows you to open a port on your computer that forwards the data over the SSH connection to the destination you specify, very useful when needing access to the an intranet web server when you don&#8217;t have a proper VPN set up for example. However, SSH can also do this in reverse! It opens a listening port up on the remote machine which then relays data to the destination you specify. For example you can SSH into a remote host and get SSH to open a port on that host which relays data back to the SSH port on the machine you are connection from, thereby allowing SSH access to a machine where it would normally be impossible.</p>
<p>A practical example:</p>
<pre class="terminal">chris@ktulu:~$ ssh sandman.cs278.org -R 2222:localhost:22</pre>
<p>This connects to the server <var>sandman.cs278.org</var> and opens port 2222 which forwards traffic to <var>localhost:22</var> (localhost is the machine I am connecting from). Once logged into the server I can do this:</p>
<pre class="terminal">chris@sandman:~$ ssh localhost -p 2222</pre>
<p>Which opens a connection back to the remote machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/11/16/punching-holes-in-firewalls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

