<?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>thorx.net &#187; Uncategorized</title>
	<atom:link href="http://blog.thorx.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thorx.net</link>
	<description>...to confuse &#38; unexpect?</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:15:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<image>
  <link>http://blog.thorx.net</link>
  <url>http://blog.thorx.net/wp-uploads/2009/06/sunriselogo_32_white.png</url>
  <title>thorx.net</title>
</image>
		<item>
		<title>6 weeks of computer hell &#8230; so far</title>
		<link>http://blog.thorx.net/2012/02/6-weeks-of-computer-hell-so-far/</link>
		<comments>http://blog.thorx.net/2012/02/6-weeks-of-computer-hell-so-far/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 01:15:18 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=366</guid>
		<description><![CDATA[<p>So, dear reader[12], you may have noticed that it&#8217;s been a month since the last update in my $HOME rebuild, and may be wondering what&#8217;s going on. I have had ongoing issues, so here is the summary, broken down per-machine&#8230;</p> <p>home server</p> <p>Disk failures (Dec23) which led to a new disk, and rebuild. Ongoing <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2012/02/6-weeks-of-computer-hell-so-far/">6 weeks of computer hell &#8230; so far</a></span>]]></description>
			<content:encoded><![CDATA[<p>So, dear reader[12], you may have noticed that it&#8217;s been a month since the last update in my $HOME rebuild, and may be wondering what&#8217;s going on. I have had ongoing issues, so here is the summary, broken down per-machine&#8230;<span id="more-366"></span></p>
<p><strong>home server</strong></p>
<p>Disk failures (Dec23) which led to a new disk, and rebuild. Ongoing issues led to cannibalisation of my home desktop to provide parts (case/mobo/cpu/ram) and reinstall the server from scratch. I still am getting issues if I push the drives too hard, but is now usable for my home server use.</p>
<p><strong>home desktop</strong></p>
<p>&#8230;was cannibalised for the server, and so I started using my iMac for desktop use&#8230;</p>
<p><strong>iMac</strong></p>
<p>Stopped returning from sleep mode reliably (would instead power up all fans to max without giving me monitor) for a few days before then failing to power up properly at all. (no power chime, disk activity or monitor,  but I&#8217;d get the power LED pulsing, and after a minute or so, fans at full speed&#8230;</p>
<p>so I decided it was time to build a new desktop!</p>
<p><strong>new home desktop</strong></p>
<p>Using the case from the server, I bought a new mobo/cpu/ram/SSD HD combo. However, the mobo does not recognise my PCI-E video card (power to the PCI-E slot on a microATX?) &#8230; so until that is resolved a little better, it&#8217;s sitting awaiting attention.</p>
<p>I can, in theory, use the onboard video, but then I have a shiny external card (with its own RAM) that goes unused&#8230;</p>
<p><strong>iPhones</strong></p>
<p>Yeah, seriously, my phone(s) gets to play too.</p>
<p>Vodafone offered me a new phone at a great deal, and I accepted. They sent it through along with the new SIM it needs. I got it, but the SIM wasn&#8217;t in the package. I went to the vodafone shop, and they gave me a new SIM and activated it for me&#8230; uh oh</p>
<p>This made my old phone not work, and I&#8217;m not wanting to use the new phone till I can backup the current state of the old phone, and then restore it to the new one. But I can&#8217;t do that, because <strong>iMac. </strong></p>
<p>Technically, the new phone works and gets on the network &#8211; and I could start using it.</p>
<p>&#8230;But I suspect that if I do that (eg, receive SMSs), then I have a discontinuity of use between the old one and the new one that will cause issues later on. ie, when I eventually backup the old and restore it to the new, then I&#8217;ll lose any history in my &#8216;new&#8217; use. I&#8217;d rather a clean changeover (and I do not want to use &#8220;someone else&#8217;s computer&#8221; (aka: iCloud) for this), so until I have a functioning and up-to-date iTunes, I can&#8217;t use my new phone, and the activated SIM means I can&#8217;t use my old phone either&#8230; <strong><br />
</strong></p>
<p><strong>Powerbook G4</strong></p>
<p>So, I pull out my old Powerbook G4, which has a broken Ubuntu install on it. One OSX disk later, and it&#8217;s back to a clean Tiger install. But research suggests that for the iPhone 4s, I need the latest iTunes, and that it will only run on Leopard. Leopard will run on the G4, I just need a install disk. The one I have wasn&#8217;t liked by the Powerbook&#8217;s combo drive (as I recall), but I decide to test it anyway&#8230;</p>
<p>Putting the disk into the drive = system crash!</p>
<p>The disk didn&#8217;t even spin up before the system crashed totally, and now nothing will eject the disk (not even open firmware), and the system profiler says that I no longer have an optical drive attached (maybe something in hardware died, and that would explain the crash)</p>
<p>So&#8230;</p>
<p><strong>tl;dr</strong></p>
<ul>
<li>server: been rebuilt, is OK if I don&#8217;t stress the filesystems&#8230;</li>
<li>linux desktop: been rebuilt, I can proceed forward if I use the onboard video&#8230; and if nothing else goes wrong&#8230;</li>
<li>iMac desktop: power issues of some form, so goodbye iTunes there&#8230;</li>
<li>iPhone 3Gs: old one has a deactivated SIM, but I can&#8217;t back it up without iTunes somewhere&#8230;</li>
<li>iPhone 4s: works, but I&#8217;m unwilling to start using it until I can restore contacts, SMS, etc, from the old one, and so have a clean changeover.</li>
<li>Powerbook laptop: optical drive failure, so cannot get a Leopard install to get iTunes&#8230;</li>
</ul>
<p>PS: I had a windows desktop machine too&#8230; it blew a power supply a couple of months ago, so hasn&#8217;t been included in this 6 weeks of hell summary</p>
<p><strong>Next step?</strong></p>
<p>Well, I have been saying for a while that I need a new media center/HTPC, and I wasn&#8217;t thinking about building up something from scratch&#8230; sometime later this year.  I&#8217;ve also thought for a while that for my occasional Mac usage, moving to an Intel Mac was likely to happen, though I&#8217;d not seen any great need as yet. But now I&#8217;m toying with the idea of killing two birds with one stone, and buying a mac mini. It&#8217;ll run xmbc/boxee, and also solve my iTunes dilemma. It wont be a third monitor in my computer room any more, but I guess I can deal with that&#8230; <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>[12] deliberately non-plural <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2012/02/6-weeks-of-computer-hell-so-far/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new $HOME days 3-6: Desktop Distro Distractions</title>
		<link>http://blog.thorx.net/2012/01/new-home-days-3-6-desktop-distro-distractions/</link>
		<comments>http://blog.thorx.net/2012/01/new-home-days-3-6-desktop-distro-distractions/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 16:18:45 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[nemo]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=359</guid>
		<description><![CDATA[Like I said, KDE has grown on me, but I'm not quite sure yet if it's a beauty spot, or merely a wart. <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2012/01/new-home-days-3-6-desktop-distro-distractions/">new $HOME days 3-6: Desktop Distro Distractions</a></span>]]></description>
			<content:encoded><![CDATA[<p><em>﻿rebuilding $HOME: Days 3 through 6</em></p>
<p>I was intending on building up my zsh(1) and mutt(1) configs before tackling the rebuild of my desktop &#8211;  the original catalyst of the idea.</p>
<p>But since I was rebuilding my account from across a nearby spare account, I thought I&#8217;d use it to take a peek at gnome3 and Unity, and so did &#8220;apt-get dist-upgrade&#8221; my Ubuntu 11.04 install.</p>
<p>&#8230;</p>
<p>A broken update later, I figured I&#8217;d install from scratch, and have gotten distracted these last few days with exploring XFCE, LXDE, Unity, Gnome3 and KDE. I&#8217;m testing them in a spare account, so as to not clutter up my main $HOME with cruft too quickly while I learn the ropes.</p>
<p>I gotto say, KDE has grown on me. I think its interface is a horrible hodgepodge when it comes to usability &#8211; especially out-of-the-box usability, but behind the stab-your-eyes-out bling, it&#8217;s really quite feature rich, and I&#8217;m all but thinking I&#8217;ll be moving to it. The real question for me is how many of my existing gnome-ish apps do I bring with me (eg: rhythmbox, pidgin), and how many will I adopt the KDE equivalents (konsole probably, dolphin&#8230;</p>
<p>Assuming I *do* go with KDE, mind you&#8230;</p>
<p>Like I said, KDE has grown on me, but I&#8217;m not quite sure yet if it&#8217;s a beauty spot, or merely a wart. (or indeed, a tumor.<em> Itz not a toomaaaa!!</em></p>
<p>Interesting times indeed&#8230; full reviews will come later? =)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2012/01/new-home-days-3-6-desktop-distro-distractions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new $HOME day 1: restoring my files</title>
		<link>http://blog.thorx.net/2011/12/new-home-day-1-restoring-my-files/</link>
		<comments>http://blog.thorx.net/2011/12/new-home-day-1-restoring-my-files/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 00:49:30 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[nemo]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=352</guid>
		<description><![CDATA[<p>rebuilding $HOME: Days 1 and 2</p> <p>The first thing to do with a new clean (empty) $HOME, is to populate it with my actual files. Not the configuration cruft that is of concern, but my actual &#8220;stuff&#8221;. </p> <p>For my own use, these consist of a variety of directories that are a mix of <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2011/12/new-home-day-1-restoring-my-files/">new $HOME day 1: restoring my files</a></span>]]></description>
			<content:encoded><![CDATA[<p><em>rebuilding $HOME: Days 1 and 2</em></p>
<p>The first thing to do with a new clean (empty) $HOME, is to populate it with my actual files. Not the configuration cruft that is of concern, but my actual &#8220;stuff&#8221;. <span id="more-352"></span></p>
<p>For my own use, these consist of a variety of directories that are a mix of traditional unix system style directory names (eg: etc, lib, var, bin, public_html, Maildir, sin (for <span style="text-decoration: line-through;">tempting</span> tmp files) &#8211; with expected purposes, and more modern GUI styled names (eg: Photos, Videos, Public, Desktop), as well as a few of my own naming (verb, ketchup (for <span style="text-decoration: line-through;">sauce</span> src files <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p>Restoring these has largely been a matter of a paranoid comparison between my old recovered $HOME and the last nightly backup (I now have many ~/*/.md5sums files!)</p>
<p>In many cases both versions of a directory were the same, so restore was easy. In a few cases, they were different and a series of `diff -r` between the backup and recovered directories clarified that the changes were only new files, not the corruption of old ones.</p>
<p>Without too much difficulty, some 218 of the 221gig of my original $HOME was restored.</p>
<p>Regarding dotfiles&#8230; I moved a few over quickly &#8211; .ssh .cliverc and .tmux.conf for example (the latter two moving into ~/etc with symlinks), and a few others were created in opening usages (.selected_editor, .lesshst, .cache</p>
<p>Once I start using a GUI again, the dotfile population will explode. I hope I have a greater measure of sanity before then.</p>
<p>Coming soon: shell and email configurations&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/12/new-home-day-1-restoring-my-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>but that was my $HOME</title>
		<link>http://blog.thorx.net/2011/12/but-that-was-my-home/</link>
		<comments>http://blog.thorx.net/2011/12/but-that-was-my-home/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 02:47:03 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[nemo]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=342</guid>
		<description><![CDATA[This is my $HOME. There are many like it, but this one is mine. I'm rebuilding it.  <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2011/12/but-that-was-my-home/">but that was my $HOME</a></span>]]></description>
			<content:encoded><![CDATA[<ul>
<li>I&#8217;m a linux user &#8230;In fact, I&#8217;ve been using linux for a long time &#8211; my first account on a Linux box was at least a year before 1.0 came out.</li>
</ul>
<ul>
<li>I&#8217;m a bit of a hoarder &#8230;arguably more than a &#8220;bit&#8221;, actually.</li>
</ul>
<p>Combine these two points, and I can point to dotfiles in my $HOME directory that date back over a decade. In fact, the oldest four date to 2001&#8230;<span id="more-342"></span></p>
<p>How has this come about? Well, as I&#8217;ve upgraded machines over the years, I&#8217;ve carried my $HOME with me. After all, it has my stuff in it!  Including my customisations. The .bash_profile (2001) for instance, contains the last iteration of my bash prompt before I moved to zsh. (my current zsh prompt can trace it&#8217;s derivation through bash in 2001, all the way back to a <a href="http://en.wikipedia.org/wiki/4DOS">4DOS</a> prompt configuration that I set up around 1994. For the record, I&#8217;ve searched for my old 4DOS configurations, but failed to find them.)</p>
<p>I have dotfiles from obscure chat programs that I no longer use (.goofeypw &#8211; 2002), from apps I&#8217;ve forgotten I ever used (.coldsyncrc &#8211; 2003), apps I&#8217;ve long avoided using (.lynxrc &#8211; 2005), and so on. In some cases they&#8217;re newer files from a utility I still use, but which has changed where it keeps it&#8217;s dotfile data:</p>
<pre>-rw-r--r-- 23 nemo 24576 Oct  6  2009 .clivecache
-rw-r--r-- 23 nemo    43 Oct  6  2009 .clivelast

-rw-r--r-- 2 nemo 364544 Dec 19 22:16 .cache/clive/cache
-rw-r--r-- 2 nemo     26 Dec 19 22:17 .cache/clive/last</pre>
<p>Worst though, is that some of this dotfile cruft causes issues with current apps, since they sometimes attempt to maintain backwards compatibility with older configurations. Notably, I once had competing flash plugins in firefox &#8211; which had the effect that one flash-video based website would refuse to play videos and tell me I had to upgrade to flash 9, whilst about:plugins would happily announce that I HAD flash9. From memory, it was fixed when I found and removed an old flash8 .so that I found sitting in ~/.netscape. Ouch! Other similar oddities have crept into my Gnome2 configuration also, but have as yet resisted resolution.</p>
<p>All of this has driven me to ask&#8230;</p>
<blockquote><p>Am considering a complete $HOME dotfile cruft purge. Reconfigure from scratch all but vitals (eg: .ssh) Anyone else done this? !lazyweb<br />
— <a href="http://identi.ca/conversation/76497802#notice-79056239">@nemo / identi.ca &#8211; July 2011</a></p></blockquote>
<hr />
Now fast forward to Christmas 2011. Now. A system drive crashed and whilst the two RAID1s that constitute the basis of my $HOME LVM were not lost, one did seem a little funny, so I&#8217;ve taken the opportunity to wipe both, and to restore my $HOME from backups.</p>
<p>&#8230;and in doing so, to also clear my dotfile cruft &#8211; only importing what I need, and taking the effort to clean up the configuration of apps which have spaghetti conf files. (mutt, I&#8217;m looking at you especially!)</p>
<p><strong>This is my $HOME. There are many like it, but this one is mine.</strong></p>
<p><strong>&#8230;and I&#8217;m rebuilding it.</strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong>This is my story. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/12/but-that-was-my-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>browser warts</title>
		<link>http://blog.thorx.net/2011/12/browser-warts/</link>
		<comments>http://blog.thorx.net/2011/12/browser-warts/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 13:28:38 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=334</guid>
		<description><![CDATA[<p>Recently I&#8217;ve seen a few &#8216;if browsers were girls&#8217; analogy pictures. Usually with IE being the ugly one, opera being the forgotten one, firefox being the former hot one, and chrome being the new hot one&#8230;</p> <p>But I think it&#8217;s wrong. I&#8217;m not a fan of chrome, basically. This is how I see them&#8230;</p> <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2011/12/browser-warts/">browser warts</a></span>]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve seen a few &#8216;if browsers were girls&#8217; analogy pictures. Usually with IE being the ugly one, opera being the forgotten one, firefox being the former hot one, and chrome being the new hot one&#8230;</p>
<p>But I think it&#8217;s wrong. I&#8217;m not a fan of chrome, basically. This is how I see them&#8230;</p>
<p><span id="more-334"></span><strong>IE</strong></p>
<p>She used to be ugly and obnoxious, but she&#8217;s had quite a makeover in both departments. Not enough to want to spend time with her, but you don&#8217;t feel dirty if your friends spend time with her at least.</p>
<p><strong>Opera</strong></p>
<p>She&#8217;s slightly-more-attractive-than-average, slightly-more-smarter-than-average, but is astonishingly arrogant and thinks she&#8217;s a mensa supermodel. She had one clever idea once as a kid (though in truth, Galeon thought of it first). Some people are swayed by her confidence/arrogance, but most don&#8217;t want to get involved.</p>
<p><strong>Safari</strong></p>
<p>She&#8217;s the anonymous quiet one. She does seem to always have the latest shiny phone gadget though&#8230;</p>
<p><strong>Chrome</strong></p>
<p>She&#8217;s the kid who grew up and is suddenly a whole bunch of hot, fast and easy.  &#8230;But if you spend time with her, you&#8217;ll  quickly discover she has the depth of a puddle &#8211; and if you don&#8217;t want  to do things her way &#8211; well, she can&#8217;t easily think of another way to do them, so you probably end up adjusting yourself to suit her and/or getting  frustrated&#8230;</p>
<p><strong>Firefox</strong></p>
<p>She used to be THE hot one, but looks a bit ordinary in comparison to Chrome. But she&#8217;s working to keep trim. You can talk to her, but she&#8217;s got so many ideas that you may have to work with her a little bit to get her to talk your own language. Basically, she&#8217;s can be a bit high maintenance at first, but then she&#8217;s just your seamless companion who Knows What You Like! <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Galeon</strong></p>
<p>She was the genius child savant who, according to the few that met her, was going to grow up to be a revolutionary. So they left her to do that, and she starved to death on the side of the information superhighway instead&#8230;</p>
<hr />
<p>&#8230;for the record, I&#8217;ve ordered this list from my least-to-most favourite browser, normalising my experience with them over the years by vague instinct.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/12/browser-warts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Multi quality JPEG hack</title>
		<link>http://blog.thorx.net/2011/07/multi-quality-jpeg-hack/</link>
		<comments>http://blog.thorx.net/2011/07/multi-quality-jpeg-hack/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 05:55:50 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=284</guid>
		<description><![CDATA[<p>tl;dr: In which I attempt to montage jpeg which comprises areas of differing internal jpeg quality, for fun and, er&#8230; artistic geeky interest. You see, once upon a time, I was thinking about lossless jpeg editing. The sort that jpegtran can do.</p> jpegtran (1) - lossless transformation of JPEG files <p>Specifically, jpegtran can (with <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2011/07/multi-quality-jpeg-hack/">Multi quality JPEG hack</a></span>]]></description>
			<content:encoded><![CDATA[<p><strong>tl;dr:</strong> In which I attempt to montage jpeg which comprises areas of differing <strong>internal jpeg quality</strong>, for fun and, er&#8230;<span style="text-decoration: line-through;"> artistic</span> geeky interest.<br />
<span id="more-284"></span>You see, once upon a time, I was thinking about lossless jpeg editing. The sort that jpegtran can do.</p>
<pre>jpegtran (1)         - lossless transformation of JPEG files</pre>
<p>Specifically, jpegtran can (with some understandable limits) rotate/flip and mirror losslessly, and also crop &#8211; for values of &#8220;lossless&#8221; that only apply to the cropped image data.</p>
<p>I soon got to wondering if the reverse could also be true. If jpeg image data can be cropped losslessly; then it must not rely on surrounding data and so surely paste is equally possible.</p>
<p>I researched some and found&#8230; <a href="http://www.imagemagick.org/Usage/formats/#jpg_lossless">http://www.imagemagick.org/Usage/formats/#jpg_lossless</a>. If you scroll down to the &#8216;Mixed JPEG Quality&#8217; section it&#8217;s suggested:</p>
<blockquote><p>* use jpegtran to merge the q60 on top of the q100</p></blockquote>
<p>&#8220;So&#8221;, I thinks to myself, &#8220;&#8230;jpegtran can do that, huh?&#8221;</p>
<p>Turns out that it can&#8217;t. Not the version currently in Debian anyway.</p>
<p>&#8230;But an experimental version can. See the version that the chaps have here: <a href="http://jpegclub.org/jpegtran/">http://jpegclub.org/jpegtran/</a></p>
<div id="attachment_285" class="wp-caption alignleft" style="width: 310px"><a rel="attachment wp-att-285" href="http://blog.thorx.net/2011/07/multi-quality-jpeg-hack/kwalitee/"><img class="size-medium wp-image-285" title="kwalitee" src="http://blog.thorx.net/wp-uploads/2011/06/kwalitee-300x192.jpg" alt="Multi Quality JPEG" width="300" height="192" /></a><p class="wp-caption-text">Only the original 1600x1024 is a true quality hybrid</p></div>
<p>The information on that page indicates to me that the &#8216;drop&#8217; option has been experimental since 2000 at least&#8230; and I wonder why it&#8217;s not mainstream then. But, let&#8217;s take a look anyway. There are helpful binaries and a sample script provided, but I had something a bit more fun in mind.</p>
<p>One download later, and some fiddling around&#8230; and here is this! IMAG KWALITEE for all!</p>
<p>Counting from the bottom where it&#8217;s most evident, the rows of 80 pixels high each are of quality 1, 4, 5, 6, 7, 8, 9, 10, 15, 20, 50, and the final 144 pixels at the top are original (ie, camera sourced jpeg with text composited in and saved at quality 100).</p>
<p>The resulting image is 153k in size. In this example, a normal save of the source (captioned) image at a quality of 72 results in an image of equivalent size.</p>
<p>Speaking of size, since the cropped rows exist as images on their own, I can also see how much space each quality section uses.  So the  q1 row (80pixels high &#8211; or about 8% of the final image) is just a tad  over 3k in size &#8211; that is, about 2% of the bytes, and even the quality 50  stripe is only 8k &#8211; 5.5% of the bytes. However, the q100 stripe at the  top &#8211; 144 pixels comprising 14% of the pixel space, and is a whopping 66% of  the bytes!</p>
<p>In another example image, I discovered that you cannot drop a  colour segment onto a greyscale image (but you CAN drop a greyscale  segment onto a colour image, and then subsequently drop a colour segment  within the greyscale. The resulting possum is shown, but I wont go into the making-of here.</p>
<h3>Additional notes</h3>
<p>In creating this, I found a few caveats&#8230;</p>
<div id="attachment_296" class="wp-caption alignright" style="width: 310px"><a rel="attachment wp-att-296" href="http://blog.thorx.net/2011/07/multi-quality-jpeg-hack/possum_final/"><img class="size-medium wp-image-296" title="Possum with border" src="http://blog.thorx.net/wp-uploads/2011/06/possum_final-300x200.jpg" alt="Jpeg multi-quality hack of a possum " width="300" height="200" /></a><p class="wp-caption-text">This tree is terrible! It has a monotone border bits AND bad compression</p></div>
<ul>
<li> Make sure the crops and drops are aligned on the jpeg iMCU  boundaries, or headaches ensue since the crop size will be silently  altered in position (as, I think, is the drop). I made all my changes on  the boundary of 16&#215;16 blocks, though 8&#215;8 is also possible (I believe this may depend on  the jpeg)</li>
<li> I had to set the caption text to a light grey after I found that pure white  would cause jpeg errors when dropping (DCT coefficient out of range). I  don&#8217;t know if this is a bug, or just a limitation in what&#8217;s possible due  to jpeg encoding.</li>
<li> A colour jpeg loses it&#8217;s colour when dropped onto a greyscale jpeg. Specifically:
<ol>
<li> crop &#8216;cropped.jpg&#8217; from colour source.jpg</li>
<li> also create greyscale.jpg from source.jpg</li>
<li> drop &#8216;cropped.jpg&#8217; back onto the original location within greyscale.jpg to create merged.jpg</li>
<li> merged.jpg is not a grey-with-colour-segment jpeg, but is all grey. in fact, it&#8217;s so grey that merged.jpg and greyscale.jpg are binary identical!</li>
</ol>
<ul>
<li> note: tested just once :)</li>
</ul>
</li>
<li> real-world practical applications of this? <a href="http://www.photopla.net/wwp0703/stripes.php">http://www.photopla.net/wwp0703/stripes.php</a> &#8230;that&#8217;s probably about it. Any stylistic effect from this is likely achievable with less effort via a standard photo editor (The GIMP, etc) with the cost of a few % in filesize when saving at a high enough quality to ensure actual jpeg artifacts don&#8217;t spoil the effect.</li>
</ul>
<p>This page is derived from my wiki notes on the subject, which include additional information/updates for the inquisitive.</p>
<p>See: <a href="http://wiki.thorx.net/wiki/JPEGhack">http://wiki.thorx.net/wiki/JPEGhack</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/07/multi-quality-jpeg-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>getting to the core of the matter</title>
		<link>http://blog.thorx.net/2011/06/blogcore/</link>
		<comments>http://blog.thorx.net/2011/06/blogcore/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 13:33:18 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=280</guid>
		<description><![CDATA[<p>Sometimes lazy bloggers just quote IRC&#8230;</p> <p>&#60;QuantumNinja&#62; if I ever decide to start a queer core band I am making sure to do a tour entirely in katters district &#60;Screwtape&#62; In *both* pubs! * Screwtape wonders what kind of core &#8220;queer core&#8221; is. * Screwtape checks: grep &#8216;ard$&#8217; /usr/share/dict/words &#124; sed -e &#8216;s/$/core/&#8217; &#124; <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2011/06/blogcore/">getting to the core of the matter</a></span>]]></description>
			<content:encoded><![CDATA[<p>Sometimes lazy bloggers just quote IRC&#8230;</p>
<p>&lt;QuantumNinja&gt; if I ever decide to start a queer core band I am making sure to do a tour entirely in katters district<br />
&lt;Screwtape&gt; In *both* pubs!<br />
* Screwtape wonders what kind of core &#8220;queer core&#8221; is.<br />
* Screwtape checks: grep &#8216;ard$&#8217; /usr/share/dict/words | sed -e &#8216;s/$/core/&#8217; | less<br />
<span id="more-280"></span>&lt;Screwtape&gt; &#8220;fuseboardcore&#8221; &lt;&#8211; high-voltage electronica<br />
&lt;nemo&gt; Blackbeardcore  &lt;&#8211; what&#8217;s inside the dread pirates&#8230;<br />
&lt;Screwtape&gt; &#8220;guardcore&#8221; &lt;&#8211; music for prisons<br />
&lt;nemo&gt; Howardcore  &lt;&#8211; for Liberals<br />
&lt;nemo&gt; Julliardcore   &lt;&#8211; for modern Liberals who hate Julia<br />
&lt;Screwtape&gt; &#8220;Hansardcore&#8221; &lt;&#8211; filled with samples from your favourite politicians<br />
&lt;Screwtape&gt; &#8220;beardcore&#8221; &lt;&#8211; ZZ Top<br />
&lt;nemo&gt; Shepardcore   &lt;&#8211; it&#8217;s what the SHEEPLE listen to<br />
&lt;nemo&gt; Wardcore   &lt;&#8211; hospital music<br />
&lt;Screwtape&gt; &#8220;lanyardcore&#8221; &lt;&#8211; Where *everybody* gets a backstage pass.<br />
&lt;nemo&gt; churchyardcore   &lt;&#8211; you aint heard Gospel Music like *THIS* before<br />
&lt;nemo&gt; drunkardcore  &lt;&#8211; what pub bands are in the FUTURRRRRRRRE<br />
&lt;Screwtape&gt; &#8220;leopardcore&#8221; &lt;&#8211; Tribal rhythms with animal skins.<br />
&lt;nemo&gt; graveyardcore   &lt;&#8211; for zombies<br />
&lt;Screwtape&gt; &#8220;laggardcore&#8221; &lt;&#8211; I was into that band *way* after it was cool.<br />
&lt;nemo&gt; &#8220;heavenwardcore&#8221;  &lt;&#8211; music for the Rapture<br />
&lt;Screwtape&gt; &#8220;orchardcore&#8221; &lt;&#8211; The Apples In Stereo<br />
&lt;nemo&gt; &#8220;straightforwardcore&#8221;  &lt;&#8211; this music is exactly what it says it is <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
&lt;nemo&gt; &#8220;substandardcore&#8221;   &lt;&#8211; nobody listens to this much, except ironically<br />
&lt;Screwtape&gt; &#8220;overheardcore&#8221; &lt;&#8211; musique concréte<br />
&lt;nemo&gt; &#8220;wizardcore&#8221;   &lt;&#8211; from JK&#8217;s unfinished draft of &#8220;Harry Potter and the Four Seasons&#8221;<br />
&lt;Screwtape&gt; &#8220;Picardcore&#8221; &lt;&#8211; o/~ Star Trekkin&#8217;, across the universe&#8230; o/~<br />
&lt;Screwtape&gt; &#8220;placardcore&#8221; &lt;&#8211; The music video to Weird Al&#8217;s &#8220;Bob&#8221;<br />
&lt;Screwtape&gt; &#8220;Rjchardcore&#8221; &lt;&#8211; I think my /usr/dict/words has an OCR error. <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
&lt;nemo&gt; not seen that<br />
&lt;nemo&gt; haha<br />
&lt;nemo&gt; mine is good<br />
* Screwtape blames Fedora.<br />
&lt;Screwtape&gt; &#8220;schoolyardcore&#8221; &lt;&#8211; skipping rhymes, with a heavy beat.<br />
&lt;Screwtape&gt; &#8220;shipyardcore&#8221; &lt;&#8211; Authentic Pirate Hip-Hop<br />
&lt;nemo&gt; Rjchard   &lt;&#8211; Scientific Linux (a sibling of CentOS) has the same problem<br />
&lt;Screwtape&gt; rpm says the wordlist comes from http://en.wikipedia.org/wiki/Moby_Project<br />
&lt;Screwtape&gt; I wonder where Debian gets theirs.<br />
&lt;nemo&gt; not sure to be honest<br />
&lt;Screwtape&gt; Apparently from wordlist.sf.net.<br />
&lt;nemo&gt; there you go then<br />
&lt;nemo&gt; http://dict-common.alioth.debian.org/  &lt;&#8211; nice logo</p>
<p>Thanks @afda. Thafda.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/06/blogcore/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Davo Double-Crossing Tasmania For Charity</title>
		<link>http://blog.thorx.net/2011/03/double-crossing-for-charity/</link>
		<comments>http://blog.thorx.net/2011/03/double-crossing-for-charity/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 12:41:58 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[charity]]></category>
		<category><![CDATA[family]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=259</guid>
		<description><![CDATA[<p>Launceston long-distance runner David “Davo” Brelsford will soon be attempting to double-cross his adopted state of Tasmania in an attempt to raise money and public awareness of the deadly Motor Neurone Disease.</p> <p>The Motor Neurone disease is an incurable disease that basically prevents the muscles from working – including the heart. Some famous people <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2011/03/double-crossing-for-charity/">Davo Double-Crossing Tasmania For Charity</a></span>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: medium;">Launceston long-distance runner David “Davo” Brelsford will soon be attempting to double-cross his adopted state of Tasmania in an attempt to raise money and public awareness of the deadly Motor Neurone Disease.</span></p>
<p><span style="font-size: medium;">The Motor Neurone disease is an incurable disease that basically prevents the muscles from working – including the heart. Some famous people who have died from this disease include famous British actor David Niven, Australian athletics coach Percy Cerutty, and artist Pro Hart.</span></p>
<p><span style="font-size: medium;">68 year-old grandfather Davo will start his run in Launceston on 12 March and hopes to reach Hobart three days later. Then after a day’s rest he will travel to the West coast town of Strahan, and commence to run through central Tasmania to finish on the East coast at Bicheno on 22 March. Davo hopes to average 66k per day for the total distance of 600k.</span></p>
<p><span style="font-size: medium;">Donations to the Motor Neurone Disease Association helps to fund research into the disease, and also to buy equipment that is needed to assist affected people. Wheelchairs, special beds and crutches are just some of the things that are needed.</span></p>
<p><span style="font-size: medium;"><span style="font-size: medium;">More information about the disease can be found at </span><span style="color: #0000ff;"><span style="text-decoration: underline;"><a href="http://www.mndatas.asn.au/"><span style="font-size: medium;">www.mndatas.asn.au</span></a></span></span><span style="font-size: medium;"> </span></span></p>
<p><span style="font-size: medium;">There are three ways you can help Davo raise money for this worthy cause;</span></p>
<ol>
<li><span style="font-size: medium;">Straight cash to Davo, who will give you a receipt.</span></li>
<li><span style="font-size: medium;">Cheque or money order made out to “Motor Neurone Disease Association of Tasmania” and sent c/- 	Dave Brelsford, 41 Beach Rd., Legana, Tasmania 7277.</span></li>
<li><span style="font-size: medium;">By depositing your donation in the MNDA’s bank account at :</span></li>
</ol>
<blockquote><address>Commonwealth Bank of Australia,<br />
BSB 067 013,<br />
Account no. 2800 5202﻿</address>
</blockquote>
<p><span style="font-size: medium;">The Motor Neurone Disease Association does not receive any government funding. It relies solely on public donations.</span></p>
<p><span style="font-size: medium;">Please make a donation to help Motor Neurone sufferers now and into the future.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/03/double-crossing-for-charity/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TNG: Condensed?</title>
		<link>http://blog.thorx.net/2011/01/tng-condensed/</link>
		<comments>http://blog.thorx.net/2011/01/tng-condensed/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 12:21:45 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=218</guid>
		<description><![CDATA[<p>A friend recently noted he was lacking in cultural awareness of Star Trek:TNG, and so struck up a conversation about what eps should be watched.</p> <p>And I got thinking about that. I watched all of TNG many years ago, and have long held the view that I wont watch it all again. Just not <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2011/01/tng-condensed/">TNG: Condensed?</a></span>]]></description>
			<content:encoded><![CDATA[<p>A friend recently noted he was lacking in cultural awareness of Star Trek:TNG, and so struck up a conversation about what eps should be watched.</p>
<p>And I got thinking about that. I watched all of TNG many years ago, and have long held the view that I wont watch it all again. Just not worth it, too many crap episodes. But there are many good episodes too, and so it solidified a thought I&#8217;d had for a while &#8211; to compile approximately a season worth of episodes from the 7 seasons produced, that would cover the best that TNG had to offer.</p>
<p><span id="more-218"></span>So beginning with the opening and closing episodes, it was pretty logical then to include the entire Q arc. Not a difficult call since Q is arguably the most entertaining recurring character. Q&#8217;s arc intersects with the most famous of TNG aliens, the Borg, so the entire Borg arc was then also an easy choice. Continuing in this style, the Borg arc intersects with Lore&#8217;s arc, and with one additional non-Lore episode, this arguably covers the main Data character arc. I then included the episodes with cameos from the original series&#8230; and a few bonus that are notable for being of high quality anyway, or just personal favourites.</p>
<h3>Season1</h3>
<ul>
<li> Encounter at Farpoint
<ul>
<li>introduction, Q</li>
</ul>
</li>
<li>Hide and Q
<ul>
<li>Q</li>
</ul>
</li>
<li>Datalore
<ul>
<li>Data / Lore</li>
</ul>
</li>
</ul>
<h3>Season 2</h3>
<ul>
<li>The Measure of a Man
<ul>
<li>Data</li>
</ul>
</li>
<li>Q Who
<ul>
<li>Q, Borg</li>
</ul>
</li>
</ul>
<h3>Season 3</h3>
<ul>
<li>The Survivors
<ul>
<li>Personal favourite episode</li>
</ul>
</li>
<li>Deja Q
<ul>
<li>Q</li>
</ul>
</li>
<li>The Best of Both Worlds &#8211; Part I
<ul>
<li>Borg</li>
</ul>
</li>
</ul>
<h3>Season 4</h3>
<ul>
<li>The Best of Both Worlds &#8211; Part II
<ul>
<li>Borg</li>
</ul>
</li>
<li>Family
<ul>
<li>Picard (and Worf) after Best of Both Worlds</li>
</ul>
</li>
<li>Brothers
<ul>
<li>Data / Lore</li>
</ul>
</li>
<li>Qpid
<ul>
<li>Q</li>
</ul>
</li>
</ul>
<h3>Season 5</h3>
<ul>
<li>Darmok
<ul>
<li>Notably good episode, Picard</li>
</ul>
</li>
<li>Unification &#8211; Part I
<ul>
<li>Spock</li>
</ul>
</li>
<li>Unification &#8211; Part II
<ul>
<li>Spock</li>
</ul>
</li>
<li>I, Borg
<ul>
<li>Borg</li>
</ul>
</li>
<li>The Inner Light
<ul>
<li>Notably excellent episode, Picard</li>
</ul>
</li>
</ul>
<h3>Season 6</h3>
<ul>
<li>Relics
<ul>
<li>Scotty</li>
</ul>
</li>
<li>True Q
<ul>
<li>Q</li>
</ul>
</li>
<li>Chain of Command &#8211; Part I
<ul>
<li>Picard</li>
</ul>
</li>
<li>Chain of Command &#8211; Part II
<ul>
<li>Picard</li>
</ul>
</li>
<li>Tapestry
<ul>
<li>Q, Picard</li>
</ul>
</li>
<li>Frame of Mind
<ul>
<li>Riker</li>
</ul>
</li>
<li>Descent &#8211; Part I
<ul>
<li>Borg, Lore</li>
</ul>
</li>
</ul>
<h3>Season 7</h3>
<ul>
<li>Descent &#8211; Part II
<ul>
<li>Borg, Lore</li>
</ul>
</li>
<li>Lower Decks
<ul>
<li>Interesting episode</li>
</ul>
</li>
<li>All Good Things
<ul>
<li>Q</li>
</ul>
</li>
</ul>
<p>So what have I missed? The main arcs left uncovered would be Wesley Crusher character arc, Worf&#8217;s character/Klingon Empire story arc, and Romulan Empire arc. But, including too many arcs has the danger of this ending with &#8220;hell, just watch it all&#8221; and that would defeat the purpose.</p>
<p>So this posts asks&#8230; are there any truly notable TNG episodes or arcs that would be worth including for the sake of a watchable TNG:condensed &#8220;season&#8221; of episodes?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/01/tng-condensed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Movember timetable</title>
		<link>http://blog.thorx.net/2010/11/movember-timetable/</link>
		<comments>http://blog.thorx.net/2010/11/movember-timetable/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 11:05:54 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[culture]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=212</guid>
		<description><![CDATA[<p>It&#8217;s that time of the year. Movember.</p> <p>Anyone who has ever grown a moustache knows there are some key milestones in its growth, and anyone who has seen Movember come and go before will know that it, too, has its key moments.</p> <p>But for the uninitiated in the ways of growing and wearing a <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.thorx.net/2010/11/movember-timetable/">Movember timetable</a></span>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time of the year. <strong>Movember</strong>.</p>
<p>Anyone who has ever grown a moustache knows there are some key milestones in its growth, and anyone who has seen Movember come and go before will know that it, too, has its key moments.</p>
<p>But for the uninitiated in the ways of growing and wearing a mo&#8217;, here is a handy timetable that I have prepared&#8230; <span id="more-212"></span></p>
<p><strong>Oct 31</strong>: Last full shave</p>
<p><strong>Nov 4</strong>: Action-Hero stubble day</p>
<p><strong>Nov 7</strong>: First shave to begin shaping and defining the mo&#8217;. This is when the  TYPE of mo&#8217; you aim for begins to take place.</p>
<p><strong>Nov 15</strong>: After two weeks, your mo&#8217; is now long enough to catch food in it</p>
<p><strong>Nov 16</strong>: This is about when you <em>discover</em> that your mo&#8217; is now long enough to catch food in it&#8230;</p>
<p><strong>Nov 17</strong>: Time to trim and shape the mo into something near it&#8217;s final form. It&#8217;s ok if you stuff it up, because even a bad mo&#8217; looks suitable on a pornstar!</p>
<p><strong>Nov 18</strong>: Pornstar mo&#8217; day. (18 is legal, right? <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Nov 23-30</strong>: In the final week of Movember, imagine that you&#8217;re in a tacky 70s cop show every time you see a policeman with a mo&#8217;. (as bonus: this experience can be shared by everyone, be they mo&#8217; endowed or not).</p>
<p><strong>Nov 30 at 10pm</strong>: Completely shave off the mo&#8217;</p>
<p><strong>&#8230;10 minutes later</strong>: Enjoy the feeling of air on your clean upper lip. Also, enjoy that your partner is likely to want to kiss you for the first time this month&#8230; <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2010/11/movember-timetable/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

