<?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>navelfluff &#187; geek</title>
	<atom:link href="http://www.navelfluff.org/category/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.navelfluff.org</link>
	<description>Morjens bara</description>
	<lastBuildDate>Fri, 14 May 2010 13:50:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Chumba! Wamba!</title>
		<link>http://www.navelfluff.org/2010/01/30/chumba-wamba/</link>
		<comments>http://www.navelfluff.org/2010/01/30/chumba-wamba/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 10:19:32 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[chumby]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[home network]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/2010/01/30/chumba-wamba/</guid>
		<description><![CDATA[ I was informed by my colleague the other week that the Chumbies have invaded Finland and that the Chumby One model is for sale at Verkkokauppa for 99€. Weak spot. I have dreamed for this cute but kind of useless … no, just cute device since the original “Latte” model was introduced, yonks ago. [...]]]></description>
			<content:encoded><![CDATA[<p><img style="display: inline; margin-left: 0px; margin-right: 0px" align="left" src="http://farm3.static.flickr.com/2719/4120702236_409509778c_m_d.jpg" /> I was informed by <a title="Jörgen Z" href="http://www.twitter.com/jorgenecraft">my colleague</a> the other week that the <a title="Chumby Industries" href="http://www.chumby.com/">Chumbies</a> have invaded Finland and that the Chumby One model is for sale at Verkkokauppa for 99€. Weak spot. I have dreamed for this cute but kind of useless … no, just cute device since the original “Latte” model was introduced, yonks ago. Checking my archives, that would be the 13th of November 2006. Whoa.</p>
<p>With little sanity to hesitate me, i ordered not one but two of these puppies. One to hack and the other just to toy gently with [0]. And yesterday they arrived. I named them Chumba and Wamba (<a href="http://en.wikipedia.org/wiki/Chumbawamba">yeah</a>). Wamba is still in the cardboard box because my wife is still in a state of denial that i paid a hundred euros for a clock radio [1]. The closest thing to a nod of approval was received upon informing her that it can work as alarm clock.</p>
<p>Currently, i am in two confused minds. And one blissful. I have a device which shows the time, displays pretty pictures and <a title="Listen to the prog stream" href="http://www.thedividingline.com/playlist.m3u">plays The Dividing Line</a>. Which is nice. Also, i have this wonderful little thingy, an embedded Linux computer with a wireless network connection and a touch display and i can’t even begin to think what funky things i should be doing with it! But most of all, i’m fascinated by how my kids react to the physical user interface, how effortlessly and naturally they interact with the <a title="Chumby motion sensor test app" href="http://www.chumby.com/guide/widget/Chumby%20Tip%20-%20Motion%20Sensor">dangling spider</a> on the display by tilting the box, or how they make it <a title="Moo box Chumby app" href="http://www.chumby.com/guide/widget/MOO%20BOX">moo</a> by turning it upside down.</p>
<p> <a href="http://picasaweb.google.com/lh/photo/STs8aW2m8F-iIagmLkJY0Q?authkey=Gv1sRgCJiuj9-Ol8CdSg&amp;feat=embedwebsite"><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://lh5.ggpht.com/_cJfxYuekHKo/S2QIz07hEoI/AAAAAAAAAnA/dhI4hni9jcM/s400/IMG_1187.JPG" /></a>
<p>So even if i won’t ever get this to be my wireless link between home and office, or a controller of my yet-to-be-realized home automation network, or even a music library controller, i can still learn how to do things differently. I guess it’s about time to start learning <a title="Open web plaform that emits Flash" href="http://www.openlaszlo.org/">Open Laszlo</a>, since Flash is the native UI platform on the Chumby. Or <a href="http://www.flashdevelop.org">FlashDevelop</a>. Or <a href="http://haxe.org/">HaXe</a> or the <a href="http://www.libming.org/">Ming lib</a>. Or just port Silverlight to the Chumby and have our guys dev some really slick schtick for it <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (or maybe not)</p>
<p>A usability guru Don Norman once wrote <a href="http://www.amazon.com/gp/product/0262640414?ie=UTF8&amp;tag=nados-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0262640414">about information appliances</a><img style="border-bottom-style: none !important; border-right-style: none !important; margin: 0px; border-top-style: none !important; border-left-style: none !important" border="0" alt="" src="http://www.assoc-amazon.com/e/ir?t=nados-20&amp;l=as2&amp;o=1&amp;a=0262640414" width="1" height="1" />, and i think a Chumby is well suited&#160; to become one once i decide what one or two things it is supposed to do well. Now it’s more a twitter-like miracle that you can do <em>anything </em>with and hence there’s not really anything to do with it well. No focus, so to say. The only thing i’ve done so far is to ssh into it and create a cron script that switches between night mode and day mode at 22:00 and 7:00 respectively. But once i come up with something, i’ll surely let you know. </p>
<p class="footnote">[0] <strong>Update:</strong> Wamba’s power supply was broken so now i’ve got to make it an RMA to Verkkokauppa. And bob knows when i’ll have another one. Yeah, they want me to return the whole device, not just the psu. <a title="It&#39;s a bird!" href="http://en.wikipedia.org/wiki/Bustard">Bustards</a>.</p>
<p class="footnote">[1] The fact that she showed me the <em>two </em>pairs of nice but not entirely cheap pairs of nearly identical shoes she got for herself might have saved me from more excruciating scrutiny. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2010/01/30/chumba-wamba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thedividingline.com/playlist.m3u" length="390" type="audio/x-mpegurl" />
		</item>
		<item>
		<title>Rolling backup on the cheap</title>
		<link>http://www.navelfluff.org/2010/01/28/rolling-backup-on-the-cheap/</link>
		<comments>http://www.navelfluff.org/2010/01/28/rolling-backup-on-the-cheap/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 15:36:51 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[backup]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/2010/01/28/rolling-backup-on-the-cheap/</guid>
		<description><![CDATA[Within, i’ll present a free and low-pain solution to implement a backup copy method for Windows using an external hard disk. The same method could also be used for backups over the network.
A user at a customer of mine needed a way to copy his documents to an external disk which is easy and cheap. [...]]]></description>
			<content:encoded><![CDATA[<p><em>Within, i’ll present a free and low-pain solution to implement a backup copy method for Windows using an external hard disk. The same method could also be used for backups over the network.</em></p>
<p>A user at a customer of mine needed a way to copy his documents to an external disk which is easy and cheap. While it would be possible to use Windows backup, it’s not the nicest of programs to work with (he’s on Windows XP, the backup software on Win7 is probably much nicer), so i decided against it.</p>
<p>My requirements were:<img style="display: inline; margin-left: 0px; margin-right: 0px" src="http://portableapps.com/files/images/logos/toucan.png" alt="" align="right" /></p>
<ul>
<li>Simplicity – easy to use for the user</li>
<li>Unobtrusive – doesn’t require complex installs to the computer which may be against the company IT policy</li>
<li>Open – doesn’t lock out the user if the backup program fails or goes out of date</li>
<li>Maintainable – even if i went away, somebody else could update and maintain the system</li>
</ul>
<p>So with some painful research, i ended up with the Toucan backup Portable App. In fact, i had done an installation like this before but with less elegance, which is to say that i will here spare you from some lack-of-elegance. Not bad.</p>
<p>The whole method is based on example code from the Toucan help files.</p>
<h2>Step 0: A wee bit of theory (won’t hurt … much)</h2>
<p>We’re going to create two backup routines. One will create a full backup of a source directory onto a target directory on a removable disk. The other one will create an archive containing all files that have changed since the last full backup. Both of these are created with Toucan’s <em>differential </em>backup. Five full backup files will be kept and automagically cleaned out when a full backup is performed. Everything is configurable and probably also schedule-able.</p>
<h2>Step 1: Preparation</h2>
<p>The first thing to do is to give the external hard disk a <a href="http://www.navelfluff.org/2009/08/25/drive-letters-suck/">persistent mapping</a>. With the external hard disk plugged in, right click My Computer, choose Manage, select the Disk management tool. Right click the external disk, choose Change Drive Letter and Paths and select a nice and backup-friendly letter, say Q.</p>
<p>Then, <a href="http://portableapps.com/apps/utilities/toucan">get the Toucan Portable App</a>. Toucan portable is designed to run within the PortableApps framework but it’ll work nice by itself. By design, that means it will run without making any changes on your system, and we’ll use that to actually run Toucan from the external disk itself. If you want <a href="http://portableapps.com/">the PortableApps framework</a>, go ahead. It won’t hurt. Much <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Install Toucan on the external disk, Q:. Due to the PortableApps framework, it’ll install in some directory structure underneath the root of Q. Navigate to the Toucan executable and run it.</p>
<h2>Step 2: Configure what to back up</h2>
<p><a title="Toucan user interface" href="http://portableapps.com/files/images/screenshots/toucan.png"><img style="display: inline; margin-left: 0px; margin-right: 0px" src="http://portableapps.com/files/images/screenshots/toucan_small.png" alt="" align="left" /></a> The Toucan user interface is a bit scary, but don’t worry. I’ll keep you company until we’re ready to run. Click on the Backup tab. Click the big plus-sign button in the Job Name box to create a new Job. Give the job the name Full backup. In the Type box, select Differential (which may seem misleading but bear with me).</p>
<p>From the big area on the left, select one directory (or even one whole disk, but that’s going to be a lot to backup) you want backed up. I suggest you choose a reasonably small hierarchy to start with, otherwise the testing phase will take some time. Press the plus-sign button in the middle of the screen to have that directory added to your backup list. Unfortunately, Toucan doesn’t support differential backups on multiple source directories. If you want that, you’ll need to repeat this article multiple times. But there are worse pains than that.</p>
<p>In the Backup Location text box, enter <tt>@backupfolder@\</tt> (we’ll get to that shortly – oh, and don’t miss that backslash \ at the end of @backupfolder@ as it’s probably important).</p>
<p>Press the Save button which is in the Job Name box.</p>
<h2>Step 3: The automagic bits</h2>
<p>Click the Variables tab. Click the plus-sign button to create a variable. Name it backupfolder. You’ll get two lines of text in the big box below, one being your computer’s name. Double click that one and enter <tt>Q:\backup</tt> (or <tt>@drive@\backup</tt> which would be the cooler and more portable notation). Click the save button.</p>
<p>Click the Script tab. Press the plus-sign button and name a script Backup-rotational. Paste the following into the edit window:</p>
<p><code>Delete "@backupfolder@\BaseFile-5.zip"<br />
Rename "@backupfolder@\BaseFile-4.zip" "@backupfolder@\BaseFile-5.zip"<br />
Rename "@backupfolder@\BaseFile-3.zip" "@backupfolder@\BaseFile-4.zip"<br />
Rename "@backupfolder@\BaseFile-2.zip" "@backupfolder@\BaseFile-3.zip"<br />
Rename "@backupfolder@\BaseFile-1.zip" "@backupfolder@\BaseFile-2.zip"<br />
Rename "@backupfolder@\BaseFile.zip" "@backupfolder@\BaseFile-1.zip"<br />
Backup "Full backup" </code></p>
<p>Press the save button.</p>
<p>Yeah, i know it’s ugly, but the Toucan scripting language is just about that developed. It does get worse though.</p>
<p>Anew, press the plus-sign button and create another script. Call it Diff-backup. The only code it will have is:</p>
<p><code>Backup "Full backup" </code></p>
<p>Press the save button.</p>
<h2>Step 4: Intermediate testing</h2>
<p>Still within the Script tab, select the Backup-rotational script and press Run. You should get a few warnings that there aren’t any BaseFile-<em>n</em>.zip files to delete or rename but the backup bit should work fine. The jolly magic here which we couldn’t really influence is that when Toucan runs a differential backup but there is no file to “different against”, it will save the full backup into the file BaseFile.zip.</p>
<p>A reasonably big hierarchy will backup in 15 minutes, a smaller one in a minute or so. If there were severe errors, check your code. If it matches mine, there must be a bug in my code, which you should remark about in the comments section below.</p>
<p>When the Backup-rotational script has run, choose the Diff-backup script and run that. If you want to, you can make some changes to the source hierarchy before running the Diff-backup to see some reality in the process.</p>
<h2>Step 5: Enter Batman</h2>
<p>You’ll still need two batch files to make the whole magic run. In the directory where Toucan.exe is installed, create the following two files with the contents below:</p>
<p><strong>do-full-backup.cmd</strong></p>
<p><code>del Q:\backup\20*.zip Toucan Script "Backup-rotational" </code></p>
<p><strong>do-diff-backup.cmd</strong></p>
<p><code>Toucan Script "Diff-backup" </code></p>
<p>The sad bit is that you need to delete the incremental files from the batch file, as Toucan doesn’t expand wildcards (caveat: this script only works in the 3rd millennium Gregorian time – if you’re reading this in another time zone, please edit your script to suite).</p>
<p>Run the two batch files. Watch the output and observe what happens in your backup directory.</p>
<h2>Step 6: Shortcuts or schedules</h2>
<p>Add shortcuts to your user’s desktop or set a schedule using your favourite cron replacement. Educate said user to run those shortcuts on a regular basis.</p>
<h2>Step 7: Restoring files (this should never happen)</h2>
<p>In case Bad Things happen, go to the backup directory of your external hard disk. Check out the BaseFile.zip (or an older BaseFile-<em>n</em>.zip if you realize the Bad Thingness only weeks later) or the relevant timestamp-named file if the Bad Thing just happened. Navigate and restore. Take a bow.</p>
<p>You’re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2010/01/28/rolling-backup-on-the-cheap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The iPad is real (finally)</title>
		<link>http://www.navelfluff.org/2010/01/27/the-ipad-is-real-finally/</link>
		<comments>http://www.navelfluff.org/2010/01/27/the-ipad-is-real-finally/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 20:45:00 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[irrelevant]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[irony]]></category>
		<category><![CDATA[must have]]></category>
		<category><![CDATA[portable]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/2010/01/27/the-ipad-is-real-finally/</guid>
		<description><![CDATA[ After much speculation and a lot of waiting, The Steve Jobs Magic Factory has released the iPad. After all, i did suggest – heck, request – the iPad already in December 2007. I’m sure Steve will want to deliver me a slate in person when he has one manufactured. You know, for my suggestion/request [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apple.com/ipad"><img style="display: inline; margin-left: 0px; margin-right: 0px" align="right" src="http://images.apple.com/ipad/home/images/best_experience_20100127.png" /></a> After much speculation and a lot of waiting, The Steve Jobs Magic Factory has released the <a title="Apple iPad" href="http://www.apple.com/ipad/">iPad</a>. After all, i did suggest – heck, <em>request – </em><a href="http://www.navelfluff.org/2007/12/27/ipad/">the iPad already in December 2007</a>. I’m sure Steve will want to deliver me a slate in person when he has one manufactured. You know, for my suggestion/request which <em>must </em>have been the source of his inspiration. And for the name i suggested. Right, Steve?</p>
<p>And i’m kinda buggered that i didn’t register ipad.com back then just in case he’s forgotten about me now <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2010/01/27/the-ipad-is-real-finally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wanted: Networked ePaper photo frame</title>
		<link>http://www.navelfluff.org/2010/01/06/wanted-networked-epaper-photo-frame/</link>
		<comments>http://www.navelfluff.org/2010/01/06/wanted-networked-epaper-photo-frame/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 20:00:12 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[home network]]></category>
		<category><![CDATA[innovations]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/?p=1209</guid>
		<description><![CDATA[I just realized what was wrong with digital photo frames. The fact that they shine, like monitors do. They emit light to display a picture.
If they would require light to show a picture, much like a printout, they would look a whole lot more natural. And the answer to that is to use e-paper. Colour [...]]]></description>
			<content:encoded><![CDATA[<p>I just realized what was wrong with digital photo frames. The fact that they shine, like monitors do. They emit light to display a picture.</p>
<p>If they would <em>require </em>light to show a picture, much like a printout, they would look a whole lot more natural. And the answer to that is to use <a title="Technology Review reviews colour e-paper" href="http://www.technologyreview.com/computing/22627/?a=f">e-paper</a>. Colour e-paper to be specific. It doesn&#8217;t even have to be touch sensitive, though that would be a bonus. I&#8217;m just not sure if touch sensitive electronic paper is invented yet. Could be. Should be.</p>
<p>So if somebody out there just got a terrific business idea with this, the least you can do is send me a few networked epaper photo frames for making you stinking rich. Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2010/01/06/wanted-networked-epaper-photo-frame/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enter Aylee</title>
		<link>http://www.navelfluff.org/2009/12/28/enter-aylee/</link>
		<comments>http://www.navelfluff.org/2009/12/28/enter-aylee/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 16:17:22 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[home network]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[mediaplayer]]></category>
		<category><![CDATA[nslu2]]></category>
		<category><![CDATA[slug]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/?p=1202</guid>
		<description><![CDATA[&#8230;or &#8220;Installing Debian and the Coherence UPnP media server on a Linksys NSLU2 NAS thing&#8221;.
My two Slugs Bun-bun and Kiki are getting a new companion, Aylee. Aylee is a shape-shifter by nature, which means she is running Debian.
Getting Debian on the Slug was surprisingly uncomplicated. I first booted the off-the-shelf Slug. Using  ping -b [...]]]></description>
			<content:encoded><![CDATA[<p><em><a href="http://www.sluggy.com/nvg"><img class="alignleft" title="Bun-bun, the homicidal lop" src="http://www.sluggy.com/images/nvg/headerbun.gif" alt="" width="151" height="126" /></a><strong>&#8230;or &#8220;Installing Debian and the Coherence UPnP media server on a Linksys NSLU2 <small>NAS </small>thing&#8221;.</strong></em></p>
<p>My two <a title="NSLU2 Slug @ Wikipedia" href="http://en.wikipedia.org/wiki/NSLU2">Slugs</a> Bun-bun and Kiki are getting a new companion, Aylee. Aylee is a shape-shifter by nature, which means she is running Debian.</p>
<p><a title="HOWTO install Debian on the NSLU2" href="http://www.cyrius.com/debian/nslu2/install.html">Getting Debian on the Slug</a> was surprisingly uncomplicated. I first booted the off-the-shelf Slug. Using <tt> ping -b 192.168.1.255 </tt> i figured out it was using the &#8220;standard Slug IP address&#8221; 192.168.1.77. Using its web interface (which still was running the old R24 firmware), i sent it the Debian installer and waited. A few minutes later, the installer was on the Slug, which then booted.</p>
<p>The next step was to <tt>ssh installer@192.168.1.77</tt>. The password is <tt>install</tt>. This will start the actual installing process, which will get all the freshest Debian files for the Slug from o&#8217;er the Internets. I chose all the easiest and blankest defaults with the only added spice that my Slug would also be a file server. This comes late in the process from Tasksel. The whole installation process takes a number of hours to complete, which was a reminder from the days of old when installations, well, took hours.</p>
<p>The installation process also asked which hard disk it should use and format. I had gone through the extra work of formatting it on the off-the-shelf NSLU2 interface, but this was unnecessary.</p>
<p>During the installation, i was recommended to install ntp or ntpdate. So when the Slug finally had done its installing magic and rebooted (which it does automagically after it &#8220;cannot stress enough&#8221; the importance about rebooting), i ran <tt>apt-get update</tt> and <tt>apt-get upgrade</tt>. Much to my surprise, my system was already up to date. Take that, Windows <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>The next step was to <tt>apt-get install ntpdate</tt>. This installed ntpdate but didn&#8217;t seem to configure it, so i had to do some manual labour.</p>
<p><code>cd /etc/cron.hourly<br />
cat &gt; ntpdate<br />
#!/bin/sh<br />
ntpdate fi.pool.ntp.org &gt; /dev/null<br />
^D<br />
chmod +x ntpdate<br />
run-parts --verbose .<br />
</code></p>
<p>Replace <tt>fi</tt> in <tt>fi.pool.ntp.org</tt> to whichever country you&#8217;re in, or just leave the country bit out (i.e. just write <tt>ntpdate pool.ntp.org</tt>) for the automagia to do its thing. At <tt>^D</tt>, press Control-D. <tt>run-parts --verbose . </tt> will run the scripts in the current directory (you saw the <strong><tt>.</tt></strong>, right?) and report how things went. It was this way i realized that the script <tt>ntpdate</tt> needs to start with the magic line <tt>#!/bin/sh</tt> and that it must be made executable with <tt>chmod +x</tt>. You can leave out the <tt>&gt; /dev/null </tt>bit to begin with and if you get an hourly email from root that ntpdate has adjusted the clock with zero point zero something seconds, everything works as it should and you can add the <em>&gt; /dev/null</em> bit which will silently keep your Slug in time and not give you more email.</p>
<p>My aim with Aylee is to have it as a photo server. As a challenge, i&#8217;m going to use the <a href="http://coherence.beebits.net/"><em>Coherence </em>UPnP server</a> for this. If all goes pear-shaped, i should still be able to re-flash and shape-shift Aylee back into something easier to handle <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Coherence runs on Python and Python is already on the base Debian installation. There are a number of ways to install Coherence. One is using aptitude, but that will install an old version of Coherence. Another option is to manually install all the dependencies. Not fun. And the Simple way is to use <tt>EasyInstall</tt>er which in itself first must be installed. For that you need to <a title="Python Setup tools" href="http://pypi.python.org/pypi/setuptools#files">get setuptools</a> for your version of Python (say <tt>python --version</tt> to your slug to find out) and run the downloaded file as a script, i.e. <tt>sh setuptools-<em>version</em>-py2.<em>x</em>-egg</tt>.</p>
<p>At this time, i thought i would be installing Coherence (<tt>easy_install Coherence</tt>) but ran into a dependency problem. And i thought easy_install would take care of just those. Pfft. I was missing the packages Twisted and Twisted.Web and was suggested to install them. Not knowing exactly how, i said <tt>easy_install Twisted</tt>. This looked promising for a moment until i was informed the easy_installer was missing <tt>gcc</tt>, the GNU C compiler..</p>
<p>Duh. This was going to take some time. Compiling stuff <em>on </em>the Slug? Not my idea of fun.</p>
<p>After successfully installing Coherence 0.5.8 with aptitude instead (<tt>aptitude install python-coherence</tt>) i became a bit disappointed that the offered version was about one year old. Also, i could not get my photos to show on XBMC using UPnP though they showed okay on my Samsung telly. So it was <a title="Coherence installation on Debian" href="http://coherence.beebits.net/wiki/DocumentationDepartment#RecentDebianbasedOS">back to the documentation</a>. According to it, the dependencies can be installed with apt-get as well:</p>
<p><code>apt-get install python-twisted-core<br />
apt-get install python-twisted-web<br />
apt-get install python-configobj</code></p>
<p>You could also <a href="http://coherence.beebits.net/wiki/DocumentationDepartment#ViatheCheeseShop">install the dependencies with <tt>easy_install</tt></a>, which i only read after having installed the above packages with apt-get. Not that it should matter much.</p>
<p>After that, i could  finally get the latest greatest Coherence installed using <tt>easy_install Coherence</tt>. About time, i say <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There were a bunch of warnings during the installation, but a <tt>coherence --version</tt> at least confirmed that the software did install.</p>
<p>Finally, i installed rsync so i could copy the jpeg versions of my photos from my laptop to Aylee. Which it is doing currently. It&#8217;ll take a while. Unfortunately, the kids are now watching Moomins from the telly, so i can&#8217;t test my XBMC now. But i have hopes. And the hardware.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2009/12/28/enter-aylee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minimal bginfo</title>
		<link>http://www.navelfluff.org/2009/12/14/minimal-bginfo/</link>
		<comments>http://www.navelfluff.org/2009/12/14/minimal-bginfo/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 08:56:58 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[bginfo]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/?p=1187</guid>
		<description><![CDATA[Update: The VBscript code i had was both long and buggy. The new code is short and sweet, and at least works no less than the previous code.
BGinfo is a nifty piece of software which can print out a whole lot of technical information on the desktop background of a Windows box. As an administrator [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> The VBscript code i had was both long and buggy. The new code is short and sweet, and at least works no less than the previous code.</p>
<p><a href="http://technet.microsoft.com/en-us/sysinternals/bb897557.aspx">BGinfo</a> is a nifty piece of software which can print out a whole lot of technical information on the desktop background of a Windows box. As an administrator for a bunch of client machines, BGinfo has proven Most Useful.</p>
<p>There are two issues, however. Sometimes the information i use on my backgrounds can be a bit over the top. And then there&#8217;s one little bit of info not included in the admittedly colossal BGinfo arsenal: whether the computer needs rebooting after having been updated. So here&#8217;s my fix.</p>
<p>Step Zero is to download BGinfo from the link above and save it anywhere that can be addressed over the Windows network during a logon procedure. I chose the  domain controller&#8217;s Netlogon share, or \\%LOGONSERVER%\NETLOGON in the examples below. In reality, i used the real name of the logon server instead of %LOGONSERVER% but i suppose the variable name will work just as well. You might need to add %-signs for added magic.</p>
<p>I then created a minimal BGinfo template with just the hostname, IP address and a custom field i call Is Reboot Required. The template uses the user&#8217;s own default wallpaper and the BGinfo data is aligned to the top right of the window. Your mileage may vary. Save the template with the BGinfo executive. My path is \\%LOGONSERVER%\NETLOGON\bginfo-minimal.bgi</p>
<p>The custom field <tt>Is Reboot Required</tt> points to the output of a certain is-reboot-required Visual basic script, saved with above two files as is-reboot-required.vbs:</p>
<p><code><br />
If CreateObject("Microsoft.Update.SystemInfo").RebootRequired Then<br />
Echo "Reboot required"<br />
End if<br />
</code></p>
<p>Old code. Don&#8217;t use:<br />
<code><br />
<del datetime="2010-01-08T11:11:08+00:00">function readFromRegistry (strRegistryKey, strDefault )</p>
<p>Dim WSHShell, value<br />
On Error Resume Next<br />
Set WSHShell = CreateObject("WScript.Shell")<br />
value = WSHShell.RegRead( strRegistryKey )</p>
<p>if err.number &lt;&gt; 0 then<br />
readFromRegistry= strDefault<br />
else<br />
readFromRegistry=value<br />
end if</p>
<p>set WSHShell = nothing</p>
<p>end function</p>
<p>str = readFromRegistry( "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations", "no" )<br />
if( isNull( str )) then<br />
msg = ""<br />
else<br />
msg = "Reboot required"<br />
end if</p>
<p>Echo msg<br />
</del><br />
</code></p>
<p><del datetime="2010-01-08T11:11:08+00:00">What the script does is check whether (Windows Update, usually) requires some files to be renamed during the next reboot cycle. This information is stored in the <tt>PendingFileRenameOperations</tt> registry key. If it&#8217;s non-empty,</del>If our computer&#8217;s Microsoft Update client deems a reboot is required, we emit the administrator-friendly message &#8220;Reboot required&#8221;, otherwise we just shut up (having a &#8220;Reboot not required&#8221; message on the wallpaper isn&#8217;t what i call good usability).</p>
<p><strong>Disclaimers:</strong> This script works when plugged in but not when run on the command line, oddly enough. And, i&#8217;m no VBS guru. The script was created by creative copy-pasting from other resources on the &#8216;Net.</p>
<p>To paste things together, i created the following one-liner batch file <tt>bginfo-minimal.cmd</tt>:</p>
<p><code><br />
\\%LOGONSERVER%\NETLOGON\bginfo.exe \\%LOGONSERVER%\NETLOGON\bginfo-minimal.bgi /timer:0 /nolicprompt<br />
</code></p>
<p>Finally, i added \\%DOMAINCONTROLLER%\NETLOGON\bginfo-minimal.cmd in the startup scripts. Since this happened a week ago, i can&#8217;t remember if i did it through Group Policy or through the Administrator&#8217;s logon script or (ungh) through the Startup group in the Start menu but in any case it works. If i did it the Right Way (through Group Policy), that means i had to create a new Organizational Unit &#8220;Wizards&#8221;, add a custom group Admins, add Domain Administrators to it, create a new Group Policy to the Wizards, and apply the bginfo-minimal.cmd from the right path to that group, for that is the way of Windows Server 2003. But then again, i might just have been lazy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2009/12/14/minimal-bginfo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revo InstallFail</title>
		<link>http://www.navelfluff.org/2009/11/28/revo-installfail/</link>
		<comments>http://www.navelfluff.org/2009/11/28/revo-installfail/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 12:35:13 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[home network]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mediaplayer]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/?p=1160</guid>
		<description><![CDATA[I have it! I have it! I have my rhombic computer!   (yes, it looks as a skewed box and i don&#8217;t know why)
After much searching, the customs did find my little Asus. I went to the customs office, checked out the computer (no tax but 22% VAT) and happily drove home.
Plugging in was [...]]]></description>
			<content:encoded><![CDATA[<p>I have it! I have it! I have my rhombic computer! <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (yes, it looks as a skewed box and i don&#8217;t know why)</p>
<p>After much searching, the customs did find my little Asus. I went to the customs office, checked out the computer (no tax but 22% VAT) and happily drove home.</p>
<p>Plugging in was easy as pie. The power brick is of the laptop kind, which means it has a detachable power cord with a &#8220;mickey mouse&#8221; connector, so changing it from a US cord to an EU one was no problem. I would have hated having an ugly adapter around. Kudos to Asus for that.</p>
<p>Two seconds after powering up, i was greeted with a <a title="From zero to Internet in seconds" href="http://www.splashtop.com/">Splashtop</a>-powered minimal interface with a web browser, chat and Skype. The setup also included a media player but since it didn&#8217;t play media resources on the network, didn&#8217;t give it much more thought. Also, it seemed like i wasn&#8217;t seeing full HD resolution on the telly. Quite a shame really. A near-instantly starting media centre would be&#8230; nice!</p>
<p>The next step was going to the system installation feature. And even though i&#8217;d bought a Linux computer, the installer only offered me one choice: Windows Vista. With no license key. So counting Splashtop as Linux, i indeed got a computer with Linux.</p>
<p>Next i&#8217;m going to test booting from an <a title="XBMC Media Centre" href="http://xbmc.org">XBMC</a> Live distribution on USB.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2009/11/28/revo-installfail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raiders of the lost box</title>
		<link>http://www.navelfluff.org/2009/11/26/raiders-of-the-lost-box/</link>
		<comments>http://www.navelfluff.org/2009/11/26/raiders-of-the-lost-box/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 21:00:27 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[customs]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[home network]]></category>
		<category><![CDATA[Itella]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[media]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/2009/11/26/raiders-of-the-lost-box/</guid>
		<description><![CDATA[The home entertainment network project has progressed with the box having been located.
After having waited nearly a week for the customs department to signal me that i can come and fetch my Asus, a colleague of mine suggested i’d give ‘em a ring. Unlike many other official instances here, the customs still live in the [...]]]></description>
			<content:encoded><![CDATA[<p>The home entertainment network project has progressed with the box having been located.</p>
<p>After having waited nearly a week for the customs department to signal me that i can come and fetch my Asus, a colleague of mine suggested i’d give ‘em a ring. Unlike many other official instances here, the customs still live in the Soviet era when they were stiff and unfriendly and in such a monopolistic position that they didn’t have to care [0]. So i did call them.</p>
<p>I was a bit surprised when my call was answered nearly immediately. I told the receptionist that i had this EMS tracking number and i wanted to know where my box was. According to the tracking, it has been under their wings for a week now. But no, when it comes to EMS tracking numbers, i would have to call the postal services, Itella [1].</p>
<p>Which i did.</p>
<p>The AVR [2] at Itella calmly told me that i was in line, that the typical waiting time was eight minutes, that the call was being recorded and that queuing was going to cost me. Schweet. From there on, things took a turn for the better.</p>
<p>Seven and a half minutes later, a gentleman with butler-like qualities answered, clearly stating his full name and enquiring what i might be enquiring today. Upon telling him, he agreed that the package indeed should be at the customs but instead of asking me to call back, he double checked by recipient address and said he’d check with the customs. </p>
<p>One minute later, he confirmed that my computer indeed was where i had suspected but that he was not able to get its current status at this notice. Could he perhaps call me back after handling the issue with the customs? </p>
<p>Heck yeah!</p>
<p>He repeats his name (in case i want to call him back, i suppose?) and gets on the job.</p>
<p>Another ten minutes and my phone rings again. We now know that the computer is at the customs’ location by the airport and i should ring the customs tomorrow mid day to confirm i can pick it up. Incidentally i’m going for a customer meeting tomorrow just by the airport. How excellent!</p>
<p>I tell him what a hoopy frood he’s been and how much i appreciate his efforts. I give a pile of thanks over the wire and a happy so-long. He responds with a butler’s calmness, thank you and goodbye sir.</p>
<p>Respex and kudos to the Itella customer service. You rule.</p>
<p>I wish the coming weekend was longer, so that i could get down and do some serious tinkering. Thankfully, going to see Riverside (and hopefully interview/photograph) on Saturday is a valid reason not to be too buggered about it.</p>
<p>And there are other, more architectural problems, of which i’ll be writing shortly.</p>
<p>&#160;</p>
<p><font size="2">[0] Thinking of it, couldn’t there be competing customs? </font></p>
<p><font size="2">[1] Long gone are the times when the post was called the post.</font></p>
<p><font size="2">[2] automated voice recognition, which was able to tell my “no” apart from the other option (“yes”)</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2009/11/26/raiders-of-the-lost-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geeky passwords</title>
		<link>http://www.navelfluff.org/2009/11/24/geeky-passwords/</link>
		<comments>http://www.navelfluff.org/2009/11/24/geeky-passwords/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 09:53:45 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[bofh]]></category>
		<category><![CDATA[euler]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[water]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/?p=1109</guid>
		<description><![CDATA[It&#8217;s kinda sad when my ungeeky users don&#8217;t understand the sheer brilliance of the passwords i create for them.

c=0.3Gm/s
H2O=water
Pi&#60;=22/7

Shame regular users can&#8217;t type out funny characters. Otherwise π ≈ 22/7  and c ≈ 0.3 Gm/s would be both more correct and more secure. On the other hand, i do occasionally include spaces in passwords but sometimes get weird [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s kinda sad when my ungeeky users don&#8217;t understand the sheer brilliance of the passwords i create for them.</p>
<ul>
<li>c=0.3Gm/s</li>
<li>H2O=water</li>
<li>Pi&lt;=22/7</li>
</ul>
<p>Shame regular users can&#8217;t type out funny characters. Otherwise π ≈ 22/7  and c ≈ 0.3 Gm/s would be both more correct and more secure. On the other hand, i do occasionally include spaces in passwords but sometimes get weird looks when i inform them their new password &#8220;Cheers, matey!&#8221;.</p>
<p>One day i&#8217;m going to give somebody the password e^(i*phi)=cos(phi)+i*sin(phi) out of sheer frustration. Or<em> </em>e<sup><em>i</em>φ</sup> = <em>cos</em> φ + <em>i sin</em> φ, if i&#8217;m particularly nasty. Let&#8217;s see how they insert italics and superscripts into their passwords.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2009/11/24/geeky-passwords/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The call for a media centre</title>
		<link>http://www.navelfluff.org/2009/11/23/the-call-for-a-media-centre/</link>
		<comments>http://www.navelfluff.org/2009/11/23/the-call-for-a-media-centre/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 20:01:31 +0000</pubDate>
		<dc:creator>llauren</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[boxee]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[home network]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[mediaplayer]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[tvkaista]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://www.navelfluff.org/?p=1106</guid>
		<description><![CDATA[Two or three weeks ago, our digibox gave up. Over its last months, it got slower and slower. The boot-up times became increasingly sluggish, and eventually it became so laggy that it couldn’t even record stuff anymore.

Digibox?
For those outside Finland, a digibox is what we call the “set top box” (which, in these times of [...]]]></description>
			<content:encoded><![CDATA[<p>Two or three weeks ago, our digibox gave up. Over its last months, it got slower and slower. The boot-up times became increasingly sluggish, and eventually it became so laggy that it couldn’t even record stuff anymore.</p>
<div class="insert insertright">
<h3>Digibox?</h3>
<p>For those outside Finland, a <em>digibox </em>is what we call the “set top box” (which, in these times of thin television sets, resides under the set, not on top of it) which allows our analogue TVs receive DVB television or, which is increasingly their job, record stuff. So in all essence, the modern day VCR.</div>
<p>I did two things. First, i backed up all essential stuff (mostly moomins [0]). Then i did a whole bunch of testing. Our digibox is a Linux appliance, a <a title="Maximum 8000 specs @ Afterdawn" href="http://fin.afterdawn.com/vertailu/tuote.cfm/2693/maximum_t-8000_pvr">Maximum 8000</a> [1], so there were a few things i could figure out. I did a <a title="man fsck(8)" href="http://www.manpagez.com/man/8/fsck/">disk check</a>, first on the device itself and then connected to my laptop. I tried running the box without an Ethernet connection. I formatted the disk’s partitions with the built in formatting tool and I re-installed the whole damn box with factory settings. Turned out that &#8220;formatting&#8221; it only removed the files, so using <a title="Maximum-foorumi" href="http://www.5wwwww5.com/maximum/viewtopic.php?p=3476">instructions on the Maximum discussion board</a>, i <em>really </em>formatted the disk using a laptop. The box came back up but was just as sluggish. I even took it to a friend who has an identical box (sans problemos) and tried it there. But all to no avail.</p>
<p>Finally, i asked on Twitter what the best recording digibox out there would be. The answer was TVkaista.fi.</p>
<p><a href="http://www.tvkaista.fi/">TVkaista</a> is a service, basically “your VCR on the ‘net” with which you watch or download any program on the free-to-air stations in Finland. Legally [2]. A bit like the Hulus and BBC services that exist in the big world. All for a nice fee of 98 € a year. And with some reading of their news pages, i was able to subscribe to a free testing account. Not bad.</p>
<p>Turns out that there is hope for integration (ah! there’s that word again!) with TVkaista. On the pages for your recordings, you can “import to iTunes”. What happens is that iTunes connects to your recordings as a podcast. If you check out the properties of that podcast, there’s a regular URL to a regular RSS feed behind it. It just requires authentication, which wget can handle just fine.</p>
<p>The integration doesn&#8217;t stop there though. For a more hard core approach, i could apply some magick to the RSS feed and with that be able to download the full resolution shows instead of the iTunes-ely compressed ones. Or i could get the <a href="http://code.google.com/p/tvkaistaforxbmc/">TVkaista-XBMC plugin</a> and have the magick applied for me. Which would be nice. And if the plugin isn&#8217;t magick enough, i&#8217;ll just have to learn enough <a title="Python (the language) web site" href="http://www.python.org/">Python</a> to improve it (oh the joys of open source <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). <em>Or </em>&#8211; this just in &#8212; i could use the <a title="I may need this link in a few weeks" href="http://alpha.tvkaista.fi/Info?page=Boxee">Boxee feed</a> which uses <a title="Tubes for the intertubes" href="http://pipes.yahoo.com/pipes/">Yahoo! Pipes</a> magick. Whoa.</p>
<p>But i&#8217;m getting <em>way </em>ahead of me. Right now the <a title="Reg HW reviews the R3600" href="http://www.reghardware.co.uk/2009/06/25/review_desktop_pc_acer_aspire_revo/print.html">Asus Revo</a> i&#8217;ve ordered for the project is sitting in the customs, and have done so for nearly a week. Turns out you <a title="Tietokone on tullivapaa (muttei ALV-vapaa)" href="http://www.tulli.fi/fi/yksityisille/netista_ostaminen/tullit_ja_verot/esimerkkeja/index.jsp">don&#8217;t have to pay customs for imported computers</a> but you have to pay 22% VAT. I guess that&#8217;s what the customs are thinking about. Or then their department is just filled with imported computers waiting to become media centres.</p>
<p>If you&#8217;ve actually read this far, here&#8217;s an easter egg. Post a nice comment if you want a two weeks&#8217; free TVkaista trial account from me!</p>
<p>More to follow.</p>
<p><small><br />
[0] I never said they were essential <em>to me</em> <img src='http://www.navelfluff.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </small></p>
<p><small>[1] the name, pretentious as a progressive concept double album</p>
<p></small></p>
<p><small>[2] OK, <a title="Onko TVkaista laillinen?" href="http://www.google.fi/search?q=onko+tvkaista+laillinen">this has been disputed</a>, but so far not actually deemed illegal.<br />
</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.navelfluff.org/2009/11/23/the-call-for-a-media-centre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
