<?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>chobas.com&#039;s blog</title>
	<atom:link href="http://chobas.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://chobas.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 28 Jul 2012 07:08:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>What&#8217;s with this anti-directory structure movement?</title>
		<link>http://chobas.com/blog/2012/07/28/whats-with-this-anti-directory-structure-movement/</link>
		<comments>http://chobas.com/blog/2012/07/28/whats-with-this-anti-directory-structure-movement/#comments</comments>
		<pubDate>Sat, 28 Jul 2012 07:08:47 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=1055</guid>
		<description><![CDATA[What&#8217;s with this anti-directory structure movement? His fundamentally flawed premise is that people can remember where they put things. They can&#8217;t. People do fundamentally understand the concept of folders, but they: don&#8217;t know which folder something is in, and (assuming they can remember which folder it&#8217;s in) have a hard time navigating to that folder [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.osnews.com/story/26220/What_s_with_this_anti-directory_structure_movement_">What&#8217;s with this anti-directory structure movement?</a></p>
<p>His fundamentally flawed premise is that people can remember where they put things. They can&#8217;t.</p>
<p>People <em>do</em> fundamentally understand the concept of folders, but they:</p>
<ol>
<li>don&#8217;t know which folder something is in, and</li>
<li>(assuming they can remember which folder it&#8217;s in) have a hard time navigating to that folder (how do I get to the &#8220;My Photos&#8221; directory from whichever directory I&#8217;m currently in)</li>
</ol>
<p>For him, he can easily create, manipulate, and navigate a tailor-made structure of folders.  Most users cannot, and I&#8217;d argue the average user just puts stuff on their Desktop (which I&#8217;d guess isn&#8217;t too far off from what Apple is offering).</p>
<p>He brings up a good point, though, which is that just as most people don&#8217;t like naming directories, they don&#8217;t like naming files either.</p>
<p>But I don&#8217;t buy his premise that people can&#8217;t be bothered to remember &#8220;parts of its content&#8221;.  If you can&#8217;t remember some part of what you&#8217;re looking for, how can you ever hope to find it?  Do you open every file in the directory until you find the one you&#8217;re looking for? </p>
<p>If so, then this is a fundamental problem going forward.  If people aren&#8217;t inclined to search in general (or can&#8217;t remember to) and can&#8217;t remember distinguishing features to look for, then I have no idea how they will ever find anything.</p>
<p>What do people remember about what they&#8217;re looking for in this case if they can&#8217;t remember part of its content?  Colors?  Fonts?  Dates?</p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/07/28/whats-with-this-anti-directory-structure-movement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ed Sheeran &#8211; The A Team</title>
		<link>http://chobas.com/blog/2012/06/26/ed-sheeran-the-a-team/</link>
		<comments>http://chobas.com/blog/2012/06/26/ed-sheeran-the-a-team/#comments</comments>
		<pubDate>Tue, 26 Jun 2012 17:24:40 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=1047</guid>
		<description><![CDATA[#songinmyheadwheniwokeupthismorning]]></description>
			<content:encoded><![CDATA[<p><iframe width="480" height="270" src="http://www.youtube.com/embed/UAWcs5H-qgQ" frameborder="0" allowfullscreen></iframe></p>
<p>#songinmyheadwheniwokeupthismorning</p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/06/26/ed-sheeran-the-a-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weekend digest</title>
		<link>http://chobas.com/blog/2012/05/20/weekend-digest/</link>
		<comments>http://chobas.com/blog/2012/05/20/weekend-digest/#comments</comments>
		<pubDate>Mon, 21 May 2012 05:48:46 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=1036</guid>
		<description><![CDATA[Someone at work used to (and still might), post a digest of sorts of her weekend. This is mine: This weekend I was oncall, rode 15 miles on my bike, pulled weeds in my backyard, tested out a Seagate 3TB drive, procured a hoe and rake from Home Depot, vacuumed, swept and swiffered my kitchen [...]]]></description>
			<content:encoded><![CDATA[<p>Someone at work used to (and still might), post a digest of sorts of her weekend.  This is mine:</p>
<p>This weekend I was oncall, rode 15 miles on my bike, pulled weeds in my backyard, tested out a Seagate 3TB drive, procured a hoe and rake from Home Depot, vacuumed, swept and swiffered my kitchen floor, went to Church, read more in <em>Atlas Shrugged</em>, and ate some barbecue.</p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/05/20/weekend-digest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Netflix queue hacking</title>
		<link>http://chobas.com/blog/2012/05/20/netflix-queue-hacking/</link>
		<comments>http://chobas.com/blog/2012/05/20/netflix-queue-hacking/#comments</comments>
		<pubDate>Mon, 21 May 2012 03:00:58 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=1030</guid>
		<description><![CDATA[If ever you want to filter your queue by some min/max rating, and possibly look only for a specific genre. YMMV. Class names subject to change. Void where prohibited. function getstbrMaskFgSpan(element) { var spans = element.getElementsByTagName("span"); for (var span, k = 0; span = spans[k]; k++) { if (span.className.match(/stbrMaskFg/)) { return span; } } return [...]]]></description>
			<content:encoded><![CDATA[<p>If ever you want to filter your queue by some min/max rating, and possibly look only for a specific genre. YMMV. Class names subject to change.  Void where prohibited.</p>
<p><code>
<pre>function getstbrMaskFgSpan(element) {
  var spans = element.getElementsByTagName("span");
  for (var span, k = 0; span = spans[k]; k++) {
    if (span.className.match(/stbrMaskFg/)) {
      return span;
    }
  }
  return null;
}

var minRating = 3.7;
var maxRating = 5.0;
var tables = document.getElementsByTagName('table');
for (var table, i = 0; table = tables[i]; i++) {
  if (table.className != "qtbl") {
    continue;
  }

  var rows = table.getElementsByTagName('tr');
  for (var row, j = 0; row = rows[j]; j++) {
    // filter out tv shows
    if (row.innerHTML.match(/series_only/)) {
      row.style.display = "none";
      continue;
    }

    // possibly filter for just action movies
    if (!row.innerHTML.match(/Action/)) {
      row.style.display = "none";
      continue;
    }

    var span = getstbrMaskFgSpan(row);
    if (span != undefined) {
      var rating = span.className.replace(/.*sbmf-([0-9]+).*/g, "$1");
      rating = parseFloat(rating) / 10.;
      if (minRating < rating &#038;&#038; rating <= maxRating) {
        row.style.display = "";
      } else {
        row.style.display = "none";
      }
    }
  }
}</pre>
</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/05/20/netflix-queue-hacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still got it</title>
		<link>http://chobas.com/blog/2012/04/22/still-got-it/</link>
		<comments>http://chobas.com/blog/2012/04/22/still-got-it/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 00:19:53 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=1009</guid>
		<description><![CDATA[It&#8217;s a good feeling knowing that I can still bend ldap, kerberos, and radius to my will. :P Squid gave me some trouble; since it logs to a strange place, it took me longer than it should to find a configuration problem. By and large the important pieces are working again, and all running shiny [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a good feeling knowing that I can still bend ldap, kerberos, and radius to my will. :P Squid gave me some trouble; since it logs to a strange place, it took me longer than it should to find a configuration problem.  By and large the important pieces are working again, and all running shiny new 3.2 kernels (the first time I&#8217;ve used a 3+ kernel).  I&#8217;ll consider this my late contribution to the world backup day, since really I should have moved off of the hard drive in my domU ages ago (since it always seems to return errors whenever I try to backup xen images).  I really should go ahead and update my domU to a new fanless box that doesn&#8217;t take 10 minutes to boot up.  I&#8217;ve been eying some mini-itx fanless boxes, which would allow me to migrate the important things over to new hardware before the old hardware fails&#8230;  But all in all if I only have to spend one weekend every 2+ years doing (non-filer) admin work on the network, I think I have to consider that super win.</p>
<p>I should have been taking better notes, but here are some things I took away from the weekend:</p>
<ul>
<li><b>squid3:</b> Setting &#8220;error_directory /usr/share/squid-langpack/en&#8221; since it was looking in /usr/share/squid3/errors/templates/ for a reason I still haven&#8217;t figure out</li>
<li><b>installing testing debian:</b> requires stupid ethernet firmware. REally?1? I understand the whole free software thing, but this was a little too pure.  Reminds me of having to put ethernet drivers/modules on floppy during an install.  Made me think, &#8220;man, I really shouldn&#8217;t have to do this&#8221;.  Ditto for the netboot initrd not having the hard disk controller drivers I needed forcing me to connect up a cdrom.  I gave up on getting serial working, as it&#8217;s never worked out as well as I&#8217;d liked and always seems to bite me when I need to debug (e.g. no vga console output when I need it most).</li>
<li><b>dist-upgrade:</b> I&#8217;d like to think I could have upgraded the domU all the way from like 4.0 or whatever it was to current testing, but I just didn&#8217;t have the heart.  I figured it&#8217;d take me less time to just install from scratch than to fight with xen, udev, libc, grub, grub2, device naming, etc, etc.  I used to think that you always could dist-upgrade a box and it would usually work out ok.  Now I&#8217;m not so sure, since it seems like there have been a huge amount of changes, which make automagic dist-upgrading very painful.</li>
<li><b>backups:</b> I really should do a better job. Maybe one day it&#8217;ll bite me hard enough I&#8217;ll do better &#8212; that or it&#8217;ll teach me that the data wasn&#8217;t that important in the first place. :)</li>
<li><b>ldap:</b> There still seems like the current version of ldap has ssl/tls issues since it&#8217;s compiled against gnutls (<a href="http://bugs.debian.org/645810">http://bugs.debian.org/645810</a>).  I&#8217;m too lazy to fight with this one at this point, so I just disabled tls on both the client and serve side. I&#8217;d like to have tls working, but it&#8217;s not the end of the world. I did have to fight with the upgrade process to get it to complete.  Though I think the data should be cleaner now, since there was some cruft in there that I was able to remove.  It did take quite a bit of finagling, tho&#8230;</li>
<li><b>xen:</b> Installing the latest version of xen directly from a fresh install seemed pretty painless (though I don&#8217;t recall it being super painful before, either).  After a while I figured out the steps required to upgrade the dom0&#8242;s, so eventually it went smoothly (but did take some time to upgrade many++ packages to be able to install the correct kernel).</li>
<li><b>kerberos:</b> Since I had to restore my auth xen image from backups, the kerberos database was the only thing that I realized halfway into all of this had data that I really needed from the current copy (current passwords, machine credentials).  A chroot + kerberos dump/restore fixed it up nicely.  Dodged a bullet on that one.</li>
<li><b>freeradius:</b> I finally got this working this morning.  I thought it was fixed last night, but this morning my phone wasn&#8217;t connected to wifi.  After a while I realized that the config was borked.  Since my config was pretty old, it looks like there might be more standard ways to configure ldap, but after some time trying what appeared to be their way, I just reverted back to my old configs which did work with the current version of freeradius.  I wish it was a little less hacky (dummy certs and not the &#8220;recommended&#8221; way to setup ldap), but hey whatever works. :)</li>
<li><b>homogeneity:</b> While flipping back and forth between vms, I realized that several common configs (ldap, apt.conf, sources.list) varied some.  I think my plan was to get them all synced via puppet, but since that never got off the ground I really should sync them up now&#8230;</li>
<li><b>ipv6:</b> It continues to work out of the box, but I realized that sometimes I was doing apt-get downloads through my ipv6 tunnel, which means that it&#8217;s traversing the US &#8212; which explains why sometimes the downloads were slower than expected.  One of these days I&#8217;ll migrate to a closer endpoint. :)</li>
<li><b>linux 3.2:</b> I was a little apprehensive that everything (joe random userland tool) would work with a 3.2 kernel.  Haven&#8217;t yet found anything broken by it.</li>
</ul>
<p>My actual notes for upgrading dom0 vms:</p>
<blockquote><p>
# update console to listen on hvc0 instead of tty0 (before<br />
# starting the vm)<br />
mount /path/to/image /mnt/loop0<br />
vim /mnt/loop0/etc/inittab</p>
<p># start the vm<br />
xm create -c image.cfg</p>
<p># add hvc0 to the list of allowable local consoles<br />
# (so root can login locally);<br />
# h/t to <a href="http://docs.quantact.com/xen-fs-changes">http://docs.quantact.com/xen-fs-changes</a><br />
# (even though I didn&#8217;t wind up updating fstab or mknod&#8217;ing anything)<br />
echo &#8220;hvc0&#8243; >> /etc/securetty</p>
<p># update sources.list to use testing<br />
vim /etc/apt/sources.list</p>
<p># sync to testing<br />
apt-get update</p>
<p># these seem broken w/ the new kernel, so upgrade them first so<br />
# they don&#8217;t break other apt installs<br />
apt-get install findutils debconf</p>
<p># ditto my older version of cpio caused trouble during the<br />
# kernel install<br />
apt-get install cpio</p>
<p># install the kernel so when things depmod it won&#8217;t spew a warning<br />
apt-get install linux-image-3.2.0-2-686-pae
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/04/22/still-got-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>528 days</title>
		<link>http://chobas.com/blog/2012/04/21/528-days/</link>
		<comments>http://chobas.com/blog/2012/04/21/528-days/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 21:46:15 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=1006</guid>
		<description><![CDATA[[root@xen0 ~]# uptime 17:42:35 up 528 days, 14:29, 1 user, load average: 0.08, 0.11, 0.05 I&#8217;m probably going to regret this later this afternoon, but I think I&#8217;ve sort of painted myself into a corner and will need to upgrade my Xen setup. This wasn&#8217;t quite what I was planning on messing with today&#8230;]]></description>
			<content:encoded><![CDATA[<p>[root@xen0 ~]# uptime<br />
 17:42:35 up 528 days, 14:29,  1 user,  load average: 0.08, 0.11, 0.05</p>
<p>I&#8217;m probably going to regret this later this afternoon, but I think I&#8217;ve sort of painted myself into a corner and will need to upgrade my Xen setup.  This wasn&#8217;t quite what I was planning on messing with today&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/04/21/528-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squeeze</title>
		<link>http://chobas.com/blog/2012/04/21/squeeze/</link>
		<comments>http://chobas.com/blog/2012/04/21/squeeze/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 17:23:30 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=1004</guid>
		<description><![CDATA[It&#8217;s been quite a while since I spent an evening fighting to get Debian installed on a new machine. But my Realtek RTL2832 DVB-T arrived yesterday. So I wanted to try it out, which required a specific kernel + modules, etc, etc. So I pulled out an old machine and installed it. I didn&#8217;t quite [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been quite a while since I spent an evening fighting to get Debian installed on a new machine.  But my Realtek RTL2832 DVB-T arrived yesterday.  So I wanted to try it out, which required a specific kernel + modules, etc, etc.  So I pulled out an old machine and installed it.  I didn&#8217;t quite get the tuner working by the end of the night, but I did get it recognized properly by the kernel.  Since I didn&#8217;t really want to play with it too much anyway, I&#8217;ll probably call that good enough and pack it away to play with at some later date.</p>
<p>In other news, I did receive the tablet.  It doesn&#8217;t seem to have bluetooth and wouldn&#8217;t allow me to install some things like Maps, Youtube, and Chrome from Market directly.  But then I remembered I could side load them, so I was able to install them.  It seems a bit sluggish sometimes, like during rendering or touch.  Sometimes I have to toggle the screen off and on again for it to recognize touches.  So I guess there are some subtle bugs around.  But for the price I paid, I guess I can&#8217;t complain too much.  So all in all, not too bad of a purchase.</p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/04/21/squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>But it&#8217;s a dry heat</title>
		<link>http://chobas.com/blog/2012/04/13/but-its-a-dry-heat/</link>
		<comments>http://chobas.com/blog/2012/04/13/but-its-a-dry-heat/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 23:57:12 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Tweets]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/2012/04/13/but-its-a-dry-heat/</guid>
		<description><![CDATA[I guess it slipped my mind that it gets hot in Texas. :)]]></description>
			<content:encoded><![CDATA[<p>I guess it slipped my mind that it gets hot in Texas. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/04/13/but-its-a-dry-heat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Radio</title>
		<link>http://chobas.com/blog/2012/04/09/software-radio/</link>
		<comments>http://chobas.com/blog/2012/04/09/software-radio/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 17:48:51 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[radio]]></category>
		<category><![CDATA[rt]]></category>
		<category><![CDATA[sdr]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=1001</guid>
		<description><![CDATA[Since it became known that some software radio hardware was on the market pretty cheap, I figured I&#8217;d pick one up. It&#8217;s on a slow boat from China, so I expect it in a month. :) Not sure if I&#8217;ll do anything with it, but it&#8217;ll be nice to have around, just in case.]]></description>
			<content:encoded><![CDATA[<p>Since it became known that some software radio hardware was on the market pretty <a href="http://www.reddit.com/r/RTLSDR/comments/rbqfz/rtlsdr_compatibility_list_work_in_progress_please/">cheap</a>, I figured I&#8217;d pick <a href="http://www.aliexpress.com/product-gs/529362891-Mini-USB-DVB-T-TV-Tuner-Support-FM-DAB-MPEG-2-MPEG-4-H-264-TV28T-wholesalers.html">one</a> up.  It&#8217;s on a slow boat from China, so I expect it in a month. :)  Not sure if I&#8217;ll do anything with it, but it&#8217;ll be nice to have around, just in case.</p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/04/09/software-radio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gap</title>
		<link>http://chobas.com/blog/2012/04/02/gap/</link>
		<comments>http://chobas.com/blog/2012/04/02/gap/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 04:21:52 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Tweets]]></category>

		<guid isPermaLink="false">http://chobas.com/blog/?p=999</guid>
		<description><![CDATA[/me just noticed the 15 month gap in posting&#8230;]]></description>
			<content:encoded><![CDATA[<p>/me just noticed the 15 month gap in posting&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://chobas.com/blog/2012/04/02/gap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
