<?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>Why didn't anyone tell me... &#187; Projects</title>
	<atom:link href="http://www.davebphotography.com/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davebphotography.com</link>
	<description>Things I wish people would document, plus some original fiction. Weird, huh?</description>
	<lastBuildDate>Fri, 10 Sep 2010 08:02:14 +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>Video playback on the PS3, some notes</title>
		<link>http://www.davebphotography.com/2010/04/09/video-playback-on-the-ps3-some-notes/</link>
		<comments>http://www.davebphotography.com/2010/04/09/video-playback-on-the-ps3-some-notes/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 06:52:51 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/?p=201</guid>
		<description><![CDATA[Notes that seem to need clearing up on the internet:
1. Handbrake is still your friend. In 0.9.4 (current version) use the profiles named &#8220;High&#8221; or &#8220;Normal&#8221; and all is well. They support HD if you see note 2.
2. Keep it under 4 gig. If you&#8217;re encoding to HD &#8211; make sure to use the &#8216;target [...]]]></description>
			<content:encoded><![CDATA[<p>Notes that seem to need clearing up on the internet:</p>
<p>1. Handbrake is still your friend. In 0.9.4 (current version) use the profiles named &#8220;High&#8221; or &#8220;Normal&#8221; and all is well. They support HD if you see note 2.</p>
<p>2. Keep it under 4 gig. If you&#8217;re encoding to HD &#8211; make sure to use the &#8216;target size&#8217; instead of the quality slider. I usually set it to Normal, 3900 meg, 2 passes. Then &#8211; and this is important &#8211; <em>go do something else for 12 hours</em>.</p>
<p>3. The ElGato Turbo HD encoder DOES make PS3 friendly files in 1080p mode, size permitting (see 2). A friend is performing vicarious encodes of the Iron Man 2 trailer for me, so I can&#8217;t answer all your questions yet. But they do play and look good. Oddly, they are bigger than the source, but we&#8217;ll worry about that more later.</p>
<p>4. ps3mediaserver works great, especially if you don&#8217;t feel like compressing your ISO images. This includes seeking, playback from ISO images, etc. If you do decide to encode down to the PS3 native formats, it&#8217;s just like having it on your local disk. And the price is right!</p>
<p>This is as of April 2010 and an up-to-date PS3. Kids currently watching *redacted* without scratching discs, thank you very much.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2010/04/09/video-playback-on-the-ps3-some-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home virtualization: a hardware revisit</title>
		<link>http://www.davebphotography.com/2009/12/11/home-virtualization-a-hardware-revisit/</link>
		<comments>http://www.davebphotography.com/2009/12/11/home-virtualization-a-hardware-revisit/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 20:54:59 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[House and Home]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/?p=170</guid>
		<description><![CDATA[&#8220;What, Dave, more?&#8221; you ask. Yes, I&#8217;m afraid so. I&#8217;m afraid so. Trying to keep it short this time.
All builds have a server, 4+ disk RAID5, and offer flexible storage expansion to keep them around for about 2 to 4 years. Each has a &#8220;Priced from scratch&#8221; number. Remember that this includes 4x $100 drives [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;What, Dave, more?&#8221; you ask. Yes, I&#8217;m afraid so. I&#8217;m afraid so. Trying to keep it short this time.</p>
<p>All builds have a server, 4+ disk RAID5, and offer flexible storage expansion to keep them around for about 2 to 4 years. Each has a &#8220;Priced from scratch&#8221; number. Remember that this includes 4x $100 drives (currently the 1.5 to 2TB range) that you might already own, or be willing to substitute your old 200-300 gig drives for instead, or whatever. I think you get the idea.</p>
<h3><strong>Optimize for money, with Mac guest:</strong></h3>
<h4>Priced from scratch: $1900ish<strong><br />
</strong></h4>
<ul>
<li> Mac mini (any flavor), add RAM to 4. ($600-1000) ($300-700 on craigslist)</li>
<li>VMware Fusion ($70)</li>
<li>Mac OS Server (presumably the license you got from buying the Mini Server, right?) ($500 or included with mac)</li>
<li>Drobo via local connection for the host, guests live on the Drobo ($400)</li>
<li>disks ($400)</li>
<li> Apple USB dongle (technically support is only for the MBAir, but it works. Trust me.) if you want to use a VM router. ($30)</li>
</ul>
<p>Pro:</p>
<ul>
<li>Low electricity.</li>
<li>Low heat.</li>
<li>Few surprises.</li>
<li>Drobo adds the ability to just keep expanding your storage for either more VMs or more space on them without having to worry about iSCSI components losing power between you and the array.</li>
<li>Easy UI and remote control with Back to my Mac and/or VNC.</li>
<li>Low TCO &#8211; macs depreciate slowly. If it&#8217;s time to upgrade to something more powerful later, you <em>can </em>sell it.</li>
</ul>
<p>Con:</p>
<ul>
<li> Few server-quality expansion options.</li>
<li>No internal high-speed RAID.</li>
<li>The Drobo will only hit 40ish meg a second, but honestly for home, you&#8217;ll probably not need that much all the time.</li>
<li>VMs limited to 100mbit connections.</li>
</ul>
<h1></h1>
<h4><strong>Optimize for money, without Mac guest:</strong></h4>
<h4><strong>New</strong></h4>
<h4>Priced from scratch: $1550ish<strong><br />
</strong></h4>
<ul>
<li> DIY Intel Core2 quad based on LGA775, 8 gig of ram (priceout on newegg: $550 + hard drives)</li>
<li>ESXi $0</li>
<li>Adaptec 2405 RAID controller ($200ish) and SAS case/enclosure ($400)(or other supported card/case/enclosure setup)</li>
<li>disks ($400)</li>
<li>Optional substitution: iSCSI remote storage (like FreeNAS or Drobo Pro)(-1000, +cost of chosen iSCSI target)</li>
</ul>
<p>Pro:</p>
<ul>
<li>ESXi is really the right tool for the job.</li>
<li>Can sometimes get away with a very cheap hardware build.</li>
<li>Some VMs can go up to gigabit connections if you absolutely must have it.</li>
<li>Optional iSCSI/fiberchannel storage growth paths open to you.</li>
<li>Faster and more powerful than the Mac Mini option, but you&#8217;ll have some surprises building the box. There is always a hidden surprise.</li>
</ul>
<p>Con:</p>
<ul>
<li>ESXi doesn&#8217;t support lots of cheap hardware, so you&#8217;ll have to be careful about the hardware you pick.</li>
<li>You still need a separate windows box/VM around to manipulate things, or get really comfortable with the VMware CLI.</li>
<li>Higher overall TCO? It&#8217;s usually harder selling a used medium-low power server in two to four years.</li>
<li>It will use more electricity for those extra cores and extra RAM, but if you do video work with this box, it may pay off to have them.</li>
<li>Electricity/heat in the middle range. Initial expense may convince you that the maintenance is worth it.</li>
<li>Doesn&#8217;t support the mac guest, but there are alternatives to OS X Server&#8217;s two most attractive features for the home: iCal server and TimeMachine on flexible storage. Dang, that&#8217;s a pro. Moving on.</li>
</ul>
<h4>Used</h4>
<p>I will point out that the previous generation of HP/Dell ESX supported servers are regularly on craigslist for cheap &#8211; usually $400 and under. Rackmounted and everything, but usually running &#8220;real&#8221; SCSI disks, very loud, very hot, very small. They still will need $1000 in storage, the same as the rest, so buyer beware, but if you&#8217;re just going for the VM server and can skip the storage, you can get in on the cheap.</p>
<h3>Optimize for speed, with Mac guest:</h3>
<h4>Priced from scratch: $5000ish<strong> + 2 kidneys<br />
</strong></h4>
<ul>
<li>Mac Pro 8-cores Nehalem, 16GB RAM ($kidney)</li>
<li>Mac OS X Supported RAID controller plus enclosure and disks. ($other kidney + $1000)</li>
<li>Mac OS X Server (bundle with Mac?) ($500)</li>
<li>VMware Fusion ($70)</li>
<li>disks ($400)</li>
<li>Alternate to RAID controller and enclosure: Drobo plus disks ($300-3000)</li>
</ul>
<p>Pro:</p>
<ul>
<li>Fast.</li>
<li>Very fast.</li>
<li>Lots of memory for lots of VMs.</li>
<li>Lots of very fast storage.</li>
<li>Potential no-downtime storage growth.</li>
</ul>
<p>Cons:</p>
<ul>
<li>Dude, you&#8217;re out of kidneys.</li>
<li>Limited hardware choices for SAS RAID.</li>
<li>Limited iSCSI options.</li>
<li>Speed gain over Core-2 chips might not enough to warrant price differential unless you do a lot more math than most of us do.</li>
<li>TCO for depreciation can be large when initial investment is also large.</li>
<li>Hot. Cooling is expensive.</li>
</ul>
<h1></h1>
<h3>Optimize for speed, without Mac guest:</h3>
<p>Stop. At this point we&#8217;re priced out of reasonable home options. A similar spec to the Mac Pro can be built on Newegg for about $1200 with a RAID card. But at that point, you might as well get one of the Asus barebones servers that are fully VMware certified and attach to external RAID storage. When I get as far as this, I know we&#8217;ve exited &#8220;home&#8221; and reached &#8220;business&#8221; expense levels, at which point the economics of consolidation have already broken down. How many systems do you have to sell and turn off &#8211; <em><strong>in your house </strong></em>- to cover the depreciation of a Mac Pro, over the same for a Mini?</p>
<p>Hope that was short enough. Comment away!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2009/12/11/home-virtualization-a-hardware-revisit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home Virtualization: my own kind of layer cake</title>
		<link>http://www.davebphotography.com/2009/11/10/home-virtualization-my-own-kind-of-layer-cake/</link>
		<comments>http://www.davebphotography.com/2009/11/10/home-virtualization-my-own-kind-of-layer-cake/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 20:45:06 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[House and Home]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/?p=155</guid>
		<description><![CDATA[One of the abstraction problems I had with plotting out home virtualization is that I&#8217;ve already solved a number of these problems, and I don&#8217;t have a dedicated budget to go about replacing my whole &#8211; working &#8211; infrastructure. But knowing how much electricity is lost and heat generated with each little power brick and [...]]]></description>
			<content:encoded><![CDATA[<p>One of the abstraction problems I had with plotting out home virtualization is that I&#8217;ve already solved a number of these problems, and I don&#8217;t have a dedicated budget to go about replacing my whole &#8211; working &#8211; infrastructure. But knowing how much electricity is lost and heat generated with each little power brick and redundant device I owned, I needed a way to plan the flow from real to virtual. I finally found a way I like, and I&#8217;ll offer it as a time-saver for you. Comments welcome, maybe there&#8217;s a better way.</p>
<p>Eventually I settled on a layer cake analogy, more or less a table that showed what I was doing and where it was possible, and the game was to shift as much as possible to the left, into the VM column. But this also let me pick how the progression went. I can keep several of my layer cake tables showing a phased motion toward the virtual.</p>
<p>My first step was to document exactly what services require this mess at home and where it&#8217;s currently being handled:</p>
<table border=1>
<tr>
<td></td>
<td>Mini-Linux VMs</td>
<td>OS X Server VM</td>
<td>Host-only</td>
<td>appliance</td>
</tr>
<tr>
<td>iCal Server</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
</tr>
<tr>
<td>RadioLover</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
</tr>
<tr>
<td>TimeMachine</td>
<td></td>
<td></td>
<td></td>
<td>X</td>
</tr>
<tr>
<td>Router/Gateway/DHCP/etc.</td>
<td></td>
<td></td>
<td></td>
<td>X</td>
</tr>
<tr>
<td>Proxy</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>MythBackend</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Storage</td>
<td></td>
<td></td>
<td></td>
<td>X</td>
</tr>
<tr>
<td>VPN/Remote access</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Indigo</td>
<td></td>
<td></td>
<td>X</td>
<td></td>
</tr>
<tr>
<td>Video encoding</td>
<td></td>
<td></td>
<td>X</td>
<td></td>
</tr>
<tr>
<td>Twonkymedia server</td>
<td></td>
<td></td>
<td></td>
<td>X</td>
</tr>
<tr>
<td>Bittorrent</td>
<td></td>
<td></td>
<td></td>
<td>X</td>
</tr>
</table>
<p>Some of those things were not yet implemented but were wish-list items, like the proxy, video encoder as VM, and MythBackend. Anyway, the point is that now I want to move as many things as possible, independent of each other, to the leftmost column available. So the next table shows the eligible places that each service <i>could</i> move:</p>
<table border=1>
<tr>
<td></td>
<td>Mini-Linux VMs</td>
<td>OS X Server VM</td>
<td>Host-only</td>
<td>appliance</td>
</tr>
<tr>
<td>iCal Server</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow>X</td>
<td></td>
<td></td>
</tr>
<tr>
<td>RadioLover</td>
<td></td>
<td bgcolor=yellow>X</td>
<td></td>
<td></td>
</tr>
<tr>
<td>TimeMachine</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow></td>
<td></td>
<td bgcolor=yellow>X</td>
</tr>
<tr>
<td>Router/Gateway/DHCP/etc.</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow></td>
<td></td>
<td bgcolor=yellow>X</td>
</tr>
<tr>
<td>Proxy</td>
<td bgcolor=yellow></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>MythBackend</td>
<td bgcolor=yellow></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Storage</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow></td>
<td bgcolor=yellow></td>
<td bgcolor=yellow>X</td>
</tr>
<tr>
<td>VPN/Remote access</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow>X</td>
<td bgcolor=yellow></td>
<td></td>
</tr>
<tr>
<td>Indigo</td>
<td></td>
<td bgcolor=yellow>broken?</td>
<td bgcolor=yellow>X</td>
<td></td>
</tr>
<tr>
<td>Video encoding</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow></td>
<td bgcolor=yellow>X</td>
<td></td>
</tr>
<tr>
<td>Twonkymedia server</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow></td>
<td></td>
<td bgcolor=yellow>X</td>
</tr>
<tr>
<td>Bittorrent</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow></td>
<td></td>
<td bgcolor=yellow>X</td>
</tr>
</table>
<p>For the record? This is a lot easier on a pad of paper. </p>
<p>There are now two missing pieces. One is to investigate the technical options for moving each service into a separated VM to provide that service. Second is to plot the order and requirements in such a way that everything eventually ends up where you actually want it. That&#8217;s a lot harder than it sounds. </p>
<p>Options are Optional<br />
Now I want to start with the observation that while VMware does have an appliance marketplace, there are <strong>entirely too many</strong> all-in-one appliances in there. But with the advent of this newfangled thing called the internet, I found that it&#8217;s almost as easy to do an easy-install of Ubuntu and install the one package I want, and make that the new dedicated virtual appliance I need. After all, to me the point of this is to have a lot of little VMs doing dedicated jobs, not to have yet another monolithic appliance that does it all. </p>
<p>So I started on my list of service requirements and did some reading. For instance I found instructions on how to build up an iCal server using Apple&#8217;s server, but on Ubuntu instead of the integrated OS X Server one. So that&#8217;s a VM I built and have on hand. The only issue there will be handling upgrades manually if they change the schema. I&#8217;m not sure I&#8217;m willing to risk it, but I have a backup server anyway.<br />
Next I built a MythBuntu backend-only install and configured it for my network, then another for just a frontend. I don&#8217;t have an encoder card installed anywhere anymore, but it&#8217;s good to know it&#8217;s ready when I want it. And it&#8217;s SO MUCH EASIER THAN IT WAS 5 YEARS AGO. Wow.<br />
The proxy was probably the easiest one &#8211; I found one prebuilt in the VM Library that was nothing more or less than a proxy server with virus scanning built in. Perfect!<br />
RadioLover was easy, I just copied my license and settings into the OS X Server VM and started it up. The only Mac I can virtualize is server, so that&#8217;s pretty much it unless I switch to other software.<br />
Indigo did not go so well. I was moving this service off an old G4 mac mini where it had been running time out of mind. The issues started when I decided to try to run it inside the VM. Something about the driver doesn&#8217;t get along with the USB control unit, and no amount of fiddling fixed it. I&#8217;ll have to bring it in to the USB devices team and have them poke about. However, as my mac mini host is still going to be on, I just reinstalled it there, where it was happy enough.<br />
At some point I&#8217;m going to have to resolve (in money) my storage solution. It has to live in the noisy, hot garage where I don&#8217;t have to hear it. It has to be reasonably fast. There is an option to have it as a virtualized software RAID, so it&#8217;s available. I know, I&#8217;ve discussed this before, but it <em>needles </em>me so.<br />
So after a day or two of contemplation and migration, this is the new reality:</p>
<table border=1>
<tr>
<td></td>
<td>Mini-Linux VMs</td>
<td>OS X Server VM</td>
<td>Host-only</td>
<td>appliance</td>
</tr>
<tr>
<td>iCal Server</td>
<td bgcolor=yellow>(iCal server Ubuntu)</td>
<td bgcolor=yellow>X</td>
<td></td>
<td></td>
</tr>
<tr>
<td>RadioLover</td>
<td bgcolor=yellow>(streamripper)</td>
<td bgcolor=yellow>X</td>
<td></td>
<td></td>
</tr>
<tr>
<td>TimeMachine</td>
<td bgcolor=yellow>(FreeNAS)</td>
<td bgcolor=yellow>(needs local RAID)</td>
<td></td>
<td bgcolor=yellow>X &#8211; ReadyNAS</td>
</tr>
<tr>
<td>Router/Gateway/DHCP/etc.</td>
<td bgcolor=yellow>pfSense</td>
<td bgcolor=yellow>(does NOT like pppoe)</td>
<td></td>
<td bgcolor=yellow>(linksys plus dd-wrt)</td>
</tr>
<tr>
<td>Proxy</td>
<td bgcolor=yellow>Squid appliance, optional install in pfSense</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>MythBackend</td>
<td bgcolor=yellow>MythBuntu VM/Ubuntu with MythTV package</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Storage</td>
<td bgcolor=yellow>(FreeNAS via iSCSI)</td>
<td bgcolor=yellow>(zfs from source)</td>
<td bgcolor=yellow>(FreeNAS host with RAID controller cards)</td>
<td bgcolor=yellow>X &#8211; ReadyNAS</td>
</tr>
<tr>
<td>VPN/Remote access</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow>BackToMyMac/DynDNS</td>
<td bgcolor=yellow>BackToMyMac/DynDNS</td>
<td></td>
</tr>
<tr>
<td>Indigo</td>
<td></td>
<td bgcolor=yellow>(fails to control USB device)</td>
<td bgcolor=yellow>X</td>
<td></td>
</tr>
<tr>
<td>Video encoding</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow>testing</td>
<td bgcolor=yellow>(X)</td>
<td></td>
</tr>
<tr>
<td>Twonkymedia server</td>
<td bgcolor=yellow>(testing)</td>
<td bgcolor=yellow>(needs local RAID)</td>
<td></td>
<td bgcolor=yellow>X &#8211; ReadyNAS plugin</td>
</tr>
<tr>
<td>Bittorrent</td>
<td bgcolor=yellow></td>
<td bgcolor=yellow>(default BT mac client)</td>
<td></td>
<td bgcolor=yellow>X &#8211; ReadyNAS</td>
</tr>
</table>
<p>Items in parenthesis are alternative options, or things I&#8217;ve tried but plan not to use. But now it&#8217;s time to see how much more can make the leftward shift. </p>
<p>I hope this makes sense to other people, it sure helped me see how I could start doing this at home. I honestly think we&#8217;ll start to see a commercial product doing something like this in the near future. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2009/11/10/home-virtualization-my-own-kind-of-layer-cake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Additional research into home virtualization</title>
		<link>http://www.davebphotography.com/2009/10/19/additional-research-into-home-virtualization/</link>
		<comments>http://www.davebphotography.com/2009/10/19/additional-research-into-home-virtualization/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 19:52:52 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[House and Home]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/?p=138</guid>
		<description><![CDATA[In my previous post on the topic, I presented a couple alternative ways to get a lot of home infrastructure with little redundancy and some virtualization. The fact is, it&#8217;s pricey to do it &#8216;properly&#8217;. So I set out to look at the pros and cons of some alternative methods that make it a more [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous post on the topic, I presented a couple alternative ways to get a lot of home infrastructure with little redundancy and some virtualization. The fact is, it&#8217;s pricey to do it &#8216;properly&#8217;. So I set out to look at the pros and cons of some alternative methods that make it a more practical for home (a.k.a. cheapskate) implementation.</p>
<h3>Know thyself</h3>
<p>Part of the problem I realized is that I probably don&#8217;t need an 8-core Xeon server on 24/7/365 to power my firewall and backup streaming (sorry Apple!). As much as I&#8217;d love to have one, I just can&#8217;t justify the amount of calories it would produce and feed into my [garage|basement] and the number of kilowatt-hours it would consume. Even with clever power management schemes as turning it off during the 1 A.M. to 1 P.M. periods, spinning down hard drives, etc., I&#8217;m just not using that much processor that much time. So I started dividing up jobs into two major categories: always-on services vs. on-demand services. Then I came up with this list, which I&#8217;m sure will be different than other people&#8217;s:</p>
<p>Always On:</p>
<ul>
<li>PPPoE dialer</li>
<li>Firewall/router/gateway</li>
<li>wifi-n access point</li>
<li>DHCP</li>
<li>dyndns.com updater daemon</li>
<li>Remote access; VPN, Back to my Mac, whatever</li>
<li>iCal server; reachable from the outside</li>
<li>vCenter, maybe; reachable from the outside</li>
<li>Backup server (RAID, growable)</li>
<li>PS3 media server (or by schedule, details later) (RAID, growable)</li>
<li>Web proxy</li>
<li>&#8220;Warm storage&#8221; file server &#8211; stuff that can go to cold storage if unused for a while</li>
<li>Home control software (lights, security, HVAC, whatever)</li>
<li>[unplanned] MythTV backend</li>
</ul>
<p>On Demand:</p>
<ul>
<li>Quicken</li>
<li>Audiobook downloads</li>
<li>Video encoding</li>
<li>Work-VPN VM (it&#8217;s just easier this way)</li>
<li>iTunes to manage files in PS3 media server directories</li>
<li>daily use items (raw hardware)</li>
<li>Games (raw hardware)</li>
</ul>
<p>Note that I have re-ordered this list to make grouping them easier than I had originally done on paper.</p>
<h3>Group into hardware</h3>
<p>At this point I started drawing circles around things that were obviously easy to tie together, such as the first 5 items. These are currently done by my $80 linksys router with a power draw of something like 10w and almost no maintenance or downtime. Hard to argue with that. So I left those together. Then I looked at how I want to access my home resources from work (or the road) and decided that I still like Back to my Mac as an easy way to get in and see if I really do have that video on my home iTunes server. So that&#8217;s not hard. It&#8217;s functional so long as I feel like coughing up for the $100/yr service. Which I may be able to stop doing after this project is over. But I digress. The next set of things on the list is the set of &#8220;services provided from home&#8221;. A free account with dyndns.com or similar services allow me to reach home, so long as the bandwidth and processor power required to provide these to basically myself any my immediate family is small, I don&#8217;t need to shell out to a remote company to provide it. So I can host my own iCal server. It&#8217;s even open source if I don&#8217;t care to come up with an OS X Server license.</p>
<p>Now we get into the range of things that I really had a hard time deciding I could live with leaving in their current state. The backup server and the media server. Currently I have a pair of beat up ReadyNAS sparc-based units. One I bought new after a particularly bad hard drive crash, and the other I bought in a &#8216;company is folding, see if it works&#8217; sale. I love these units for three main reasons: 1. they don&#8217;t need a lot of playing with. 2. they grow the shared volumes without me having to do much work to make it happen. 3. they don&#8217;t use a whole lot of power. But: these much older units that I have are not really good at sharing time. As single-purpose appliances they shine, especially because you can let them resize the volume by just inserting new drives. And they don&#8217;t ask for lots of maintenance upgrades and security upgrades, etc. They really are great little units if you can find them under $600. So with the luxury of having two already on hand, I decided that with jumbo frames turned on at both ends and a suitable Netgear switch in the middle, they really do perform these two jobs quite suitably. So my cheapest and most sane option is to repurpose them as dedicated appliances instead of general-purpose storage systems. And I also realized this was my migration path &#8211; essentially turn them into hardware incarnations of the VMs that they will be replaced by in the eventual ideal solution. This made me happy. So now I can dedicate one to be the growable backup unit and the other to be the growable media server unit. Which they already do.</p>
<p>Web proxy is honestly an optional extra I&#8217;d love to implement if I can arrange it. It has its own pitfalls, as the fabled &#8220;one more thing to go wrong&#8221; as well as being something else to maintain &#8211; something I&#8217;m usually quite set against. It&#8217;s there, we&#8217;ll see if it can be done.</p>
<p>&#8220;Warm storage&#8221; is the place I put things like setup files for downloaded products, project files for Audiobook Builder, iMovie project files I&#8217;m done working on but not ready to shelve, that kind of thing. Anything that is in warm storage for about 6 months will eventually get moved to offline cold storage and kept powered off, in a box, either at work or at home. As this is something that I want access to and won&#8217;t use often, and really is just about a terabyte of things that I&#8217;m not quite done with yet, I could group this with the hardware that does the backups. Speed isn&#8217;t an issue, just the access and the space, as these are quite regularly bigger than a DVD. Again, as this could easily be defined as something like a FreeNAS VM or a slice of a file server VM, I don&#8217;t mind this as a standalone role that can be virtualized in the final ideal solution.</p>
<p>Now we&#8217;re down to the on-demand services. Re-evaluating what these roles are helped me see that most of this can be handled in two places before the &#8220;final ideal solution&#8221; comes around. Currently the Quicken VM lives on my laptop. The Audiobook downloader lives on my low power mini server at home. Video encoding is done on the native OS of the mini server. The work VPN VM is on my laptop, as that&#8217;s where I use it most often. The iTunes library is on the native OS of the mini. I don&#8217;t mind this arrangement, but it helped me realize again the eventual arrangement in virtual machines I&#8217;d like to use, breaking them into specific roles let me see the migration path as hardware permits.</p>
<p>Now that I have the new role-based model to help me see what is where now and where I want it to be later, I came up with this diagram:</p>
<div id="attachment_140" class="wp-caption alignnone" style="width: 783px"><img class="size-full wp-image-140 " title="Migration paths" src="http://www.davebphotography.com/wp-content/uploads/2009/10/Everything.png" alt="Big line flow charty thing" width="773" height="567" /><p class="wp-caption-text">Big line flow charty thing</p></div>
<p>There are still a few stray points to clear up. I could entirely abandon the Linksys if I can find a way to control a wifi card like an access point. I don&#8217;t have to give up my growable storage arrays yet, but I could if I can find a 3ware card and enough drive bays (I already have, next post, I swear).</p>
<p>Note that this is just the role flowchart. I have additional charts that I&#8217;m working on to deal with network paths, storage, and so on. It&#8217;s not a trivial study as I originally thought. But there you have the original thoughts on how to organize it into hardware groups in a more realistic home environment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2009/10/19/additional-research-into-home-virtualization/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Home Server Taketh Form</title>
		<link>http://www.davebphotography.com/2009/09/14/the-home-server-taketh-form/</link>
		<comments>http://www.davebphotography.com/2009/09/14/the-home-server-taketh-form/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 22:11:02 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[House and Home]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/?p=131</guid>
		<description><![CDATA[How will Dave centralize his home infrastructure?]]></description>
			<content:encoded><![CDATA[<p>So I work for this place called VMware that takes the idea of consolidating servers into a single monolithic megaserver that should (and nearly always does) save you money and increase data travel speeds and so on. I&#8217;m looking at the house and I was able to count 7 computers, 4 of which are user-centric and 3 of which (maybe 4) are data-centric, meaning to me that I could really turn 4 of them off in exchange for running one far more powerful one. And throw into the mix that I already use 3 VMs that I would rather not run on my laptop. So in a small, cheap way, I am a potential target for such consolidation already. But I don&#8217;t run megasuper servers with fiberchannel cards to mega-racked storage arrays. I run a pair of slowish RAID units, an old busted down windows box, a newer mac mini, an older mac mini, a pair of apple laptops, a PS3, and a Linksys firewall/wifi device. Looking into the pile I figure there&#8217;s some electricity and storage to be consolidated and a lot of upgrading to do. So what would it take.</p>
<ul>
<li>First I had to identify what actually needs to get done on the network.</li>
<li>Second I had to identify how much space that is, and how and where to store it.</li>
<li>Third I had to identify how much to get that kind of performance.</li>
<li>Fourth I had to identify how to sell a kidney. Because that&#8217;s how much it would take. But, seeing as I&#8217;m rather attached to mine, I think I&#8217;ll just look for a less expensive way.</li>
</ul>
<p>So let&#8217;s look.</p>
<h3>1: What gets done and where will it go.</h3>
<p>Central Server: I&#8217;m going to skip a long discussion of why and tell you now that I want  to run OS X Server on my home network to do a number of jobs. We can put why in another article. It will handle the backups properly, the file sharing properly, the calendar serving properly, etc. I like what it does and how it does it. I&#8217;m not going back into serving email with it this round, but it&#8217;s nice to know it can. This can be virtualized, but only on Apple host hardware. I can live with that. It will hold offline photos, backups, media server for sharing to the PS3, and well anything else I can think of that can just be piled into one server.</p>
<p>Satellite VMs: I also run Quicken in a VM. And I have to download Audiobooks from the public library in Windows. And so help me I want a web proxy. And so long as we&#8217;re on it, I&#8217;d like to have a VM that does most of the work the Linksys box does. Possible, but not probable.</p>
<p>Backup server: currently on a ReadyNAS box, but getting hard to administer.</p>
<p>Cold storage server: For keeping uncompressed ISO images of movies, lossless compressed audio of CDs, audiobook builder project files, iMovie project files, etc. that should be kept, but maybe not online. This is currently done by cold-swapping in older hard drives via USB and leaving them in the desk, off.</p>
<p>Then the user-only boxes I don&#8217;t plan to make virtual currently:</p>
<p>Desktop mac mini: My scanner/iTunes/movie sync station.</p>
<p>Gaming PC: I don&#8217;t have one any more, because mine is so out of date, but I want one. I&#8217;ll put it in the list.</p>
<p>Wife laptop: Photo editing, daily tasks, etc.</p>
<p>My laptop: Photo editing, daily tasks, etc.</p>
<p>Kid browser box: web games, run Indigo (to turn on/off lights in the house).</p>
<h3>2: How much space do I really need in the coming year?</h3>
<p>Doing all the math on a sheet of real dead-tree paper (with blue lines no less!) I worked out that I need about 16 TB total for all that, online all at once:</p>
<p>7 online data &#8211; VMs, media, photos.</p>
<p>4 backups</p>
<p>4 cold storage space</p>
<p>2 growing space to prevent having to rebuild next year.</p>
<h3>3: How?</h3>
<p>In order to get all that storage in one server, I&#8217;ll want something quite serious. But I can&#8217;t afford quite serious. Which leads to a problem. How fast is fast enough? My current network is gigabit, but the transfer rate to the low-power out-of-date RAID units I have caps out at 5 meg a second. Hardly fast enough for the kind of things I plan to make them do. In fact a serious factor in doing this all in the first place is that the two units I have keep bogging down doing things like playing a movie while deleting files or well, anything else, at the same time. So they&#8217;re essentially serial RAID units, you can only use them from one location at a time. And that won&#8217;t fly.</p>
<p>So the problems to solve are now boiled down a bit to this:</p>
<p>I want a powerful server to run VMs.</p>
<p>It will need about 8 GB of RAM and a super-fast 12-16TB RAID shared over the network.</p>
<p>I want to run MacOS X Server, preferably as a VM.</p>
<p>I want to be able to share lots and lots of data from a hopefully centralized point.</p>
<p>I want to use less power and rack mount this mess in the garage, out of reach of little fingers.</p>
<p>I want to be able to grow the storage with a minimum of fuss, and incrementally.</p>
<h3>4: Can it be done in a house?</h3>
<p>The simple solution would be to buy an Intel based XServe with a fiberchannel card and XRaid, install them in the rack (sideways, so I can still fit the car in), run the VMs in Fusion and call it a day. But the price puts that idea out of reach.</p>
<p>Price ballpark: Over 5 kilobucks.</p>
<p>The next notch down is to get a Mac Pro with a 3ware 9690 card plus gobs of RAM, run regular OS X on it, Fusion in the middle, OS X Server in a VM, other VMs on Fusion.</p>
<p>Price ballpark: Over 3 kilobucks.</p>
<p>The next notch down after that is to decouple the mac jobs from the non-mac jobs, so keep the mini and the McServer VM together, but move all the other VMs to a beefy-ish ESXi server and slowly learn to do each of those other tasks on the ESXi server, and eventually write off OS X Server. But as the idea was to consolidate instead of fragmenting more, this is counterproductive at the moment.</p>
<p>Price ballpark: 1.5 kilobucks.</p>
<p>The least attractive option (from a consolidation view) is to just rebuild the ReadyNAS units I have with bigger drives and continue to live with the slower transfers, put bigger drives in all the user boxes and only transfer backups and cold storage over the network. This would also require putting something like a Drobo on the mini to give the OS X Server VM enough storage for the media library and other tasks that the Mini would have to absorb. This method has its advantages, as the mini and storage would be &#8216;local&#8217; on USB, it would support incremental storage growth, etc. But it only has RAM space enough for 1 VM (the server), the mini is NOT a powerhouse, the bus speed is really too low for heavy use, and while it&#8217;s low power, it probably won&#8217;t stand up well to long term usage at that level. I&#8217;d probably need a cheap used Dell or something similar to run the other VMs, and I have a hardware raid card I can throw into that. Storage probably 1 TB (x2 for redundant), 8 GB of inexpensive RAM, would need another $220 in hard drives for it.</p>
<p>Price ballpark: .5 kilobucks.</p>
<p>But the options aren&#8217;t quite over. There are a set of machines called &#8220;Hackintoshes&#8221; that purport to be quasi-legally able to run Mac OS. The fact is they&#8217;re not entirely on the legal end of the stick, but may be technically capable. Do I dare risk building a machine that might run Mac OS X for half the price of a Mac Pro? Is it worth the risk? Personally, I&#8217;m inclined to wait out the lawyers. This would reduce the price of building an XServe quality unit from $3000 to $1100. That&#8217;s not insignificant.</p>
<p>And since I don&#8217;t need cutting-edge abilities, I could go with a used Mac Pro/XServe, which go around $1400 instead of $2500.</p>
<p>Then consider the selloff of the existing infrastructure components. Maybe $500 for the RAID units would be something. So we&#8217;re not entirely lost here.</p>
<p>Initial speed tests done by installing a 3 year old RAID card in my Windows box shows I can get a 4x network share speed increase by using a new server, so it can be done, and that box is so old it only has a 133 bus and runs the RAID card at half speed. There is much to be gained.</p>
<p>So what to do? Comment away, I&#8217;ll read and consider, then we&#8217;ll see what real dollars get spent.</p>
<p>Oh, and there was research along the way into using iSCSI to store the RAID in the garage and keep the brainy server local, but the lack of iSCSI initiators for the mac under $200 a pop discouraged me. The free one doesn&#8217;t like Snow Leopard x64 at the moment. And the option of using afp protocol on top of zfs surfaced, but the combination in FreeNAS proved unstable and the zfs availability issue keeps getting in the way. It&#8217;s possible, but the hassle doesn&#8217;t pay for the payoff in my situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2009/09/14/the-home-server-taketh-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I encode that pile of DVDs?</title>
		<link>http://www.davebphotography.com/2009/01/05/how-do-i-encode-that-pile-of-dvds/</link>
		<comments>http://www.davebphotography.com/2009/01/05/how-do-i-encode-that-pile-of-dvds/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 20:13:53 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[House and Home]]></category>
		<category><![CDATA[Kids]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/?p=89</guid>
		<description><![CDATA[encode
Back Story
We finally stepped part way into the HD era, by attaching a PS3 to our SD television. Sacrilege, I know, but it&#8217;s what I have for now, and the economy isn&#8217;t getting any better this week. But, as we only have two games for it (Little Big Planet and Mater-National Racing), we have found [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.davebphotography.com/wp-content/uploads/2009/01/encode.pl">encode</a></p>
<h3>Back Story</h3>
<p>We finally stepped part way into the HD era, by attaching a PS3 to our SD television. Sacrilege, I know, but it&#8217;s what I have for now, and the economy isn&#8217;t getting any better this week. But, as we only have two games for it (Little Big Planet and Mater-National Racing), we have found that it has another wonderful use. The Videos menu.</p>
<p>(Keep in mind that I have 3 little kids in the house, and while most of their viewing is in the broadcast-DVR, I still have hopes that they will take an interest in longer attention span viewing, or at least the Muppet Show season sets and Looney Tunes sets I have waiting. But handing them DVDs is a great way to have things get destroyed. Enter digital viewing on the TV.)</p>
<p>So, having an Infrant ReadyNAS x600 in the garage, I bought a copy of the far more predictable TwonkyMedia server that handles all the gross stuff related to sharing your video folder with the PS3. The built-in server just wasn&#8217;t maintaining itself well, no matter how I tried. I&#8217;m sure someone can make it go, but I needed something a bit more turn-key. But the bigger problem still remained: I have something along the line of 300 DVDs between movies, television series, and home-made things. Ripping is the tetchy topic, and if you have questions we can talk via email, but the fact is that ripping even the most difficult DVDs is now possible. But now you have at least one hard drive full of DVD folders or ISO images of DVDs, and you have to turn this into something a bit more manageable.</p>
<p>This is the PS3 specific portion &#8211; if you are comfortable with how your player plays back and what encoder settings you can get from Handbrake, then feel free to skip forward. As clients to my encoded DVDs, the first priority was everything was to be HD resolution for the PS3 and/or my TViX 4100. There was also a smaller subset that I wanted to play back on my iPhone. After much experimenting with  Handbrake, I settled on a set of 2 encoding strings that made me happy. One was the default PS3 profile, plus chapter markers (for computer playback), plus 2-pass encoding. The other was the same, but with deinterlacing turned on, for those titles like the Muppet show that were interlaced on the discs. (If you don&#8217;t deinterlace those, then the frames come out in the wrong order when replaying on the PS3, and make things jump around forward-backward-forward and drive you to turn it off.) Fortunately, the TViX plays these files without modification, so I was set for both devices. So those two strings were written and set aside. Then I came up with a parallel pair of strings for the iPhone setting.</p>
<p>So I had my 4 preferred encoding settings and a pile of 300ish ripped DVD images or folders to eat through. I knew there was a problem. At PS3-2pass resolution, each encode was about 4 hours. That&#8217;s a lot of hours, and queuing each in Handbrake&#8217;s GUI takes more time than I want to do. I already knew exactly what I wanted, but I didn&#8217;t want to do it by hand.</p>
<h3>What I Did</h3>
<p>So I did a little digging on Google and discovered that for some reasonably old version of Handbrake, someone wrote a bash script that would turn VIDEO_TS folders into mp4&#8217;s. As time had left this little gem behind, I did some minor repairs and used that for a couple encodes. But it had some limitations I didn&#8217;t like, and didn&#8217;t work at all for Windows machines, and so on. I even modified the original VIDEO_TS script to work with ISO images, and that saved me some more work. I could then do massive batch encodes using my two scripts. I took images to work and left the far faster work computers cooking m4v&#8217;s for me over weekends and nights. It was great for saving me weeks of computing at home. But I had to custom-build the scripts for Windows via shared folders on the mac, and it still took too long to manage two scripts across multiple machines. Enter the perl experience. At work I&#8217;ve been working with cross-platform scripting for a while now by using Perl. I opened up the guts of the VIDEO_TS script again, figured out how to do what they were doing, added the new abilities of Handbrake&#8217;s latest versions, and got to work giving the Windows machines the same logic the Mac had with the bash script.</p>
<p>The new script, stupidly named encode.pl, now handles pretty much anything that Handbrake can handle &#8211; or at least anything I encountered. First, you queue a directory. It simultaneously queues VIDEO_TS directories, ISO images, wmv/avi/mov/etc. files for encoding. Then it proceeds to do discovery via Handbrake about what it should encode. It does this by querying the title list for the duration and then applying a filter for length. For instance, my default setting is anything between 20 and 600 minutes, but that can be tuned with the &#8211;minimum or &#8211;maximum settings. Then it goes through them one by one, handing the whole thing off to Handbrake to be encoded. As each one finishes, it goes to the next one. No mess, no fuss. Until you run out of hard drive space that is. Can&#8217;t help you there.</p>
<p>So then I had to tune the way I organized my DVD images for feeding into this thing. My ReadyNAS had enough space at the time, so I put things into distinct folders. In the media share, I had a Videos folder. Inside I created the following:</p>
<p>/Volumes/media/Videos/todo/&#8230;</p>
<p>&#8230;/deinterlace/long</p>
<p>&#8230;/deinterlace/episodes</p>
<p>&#8230;/long</p>
<p>&#8230;/episodes</p>
<p>- and here&#8217;s why. The long directories were for things that I wanted only the titles that were over an hour and ten minutes. This let me get a single file for all of the Looney Tunes shows, strung together, instead of a pile of 7-9 minute shorts. There are enough per DVD to make it frustrating to have to return to the menu for each new show. Kids will just give up, and so will I. They already have a title with all of them together, so I just added the &#8211;minimum 70 setting when I do the long directories.The episodes directories were for things no longer than an hour. These are the opposite of the long things. So for cartoons, sitcoms, and other 22-44-minute episodes, I don&#8217;t want the whole DVD as one title, I want each show as an individual m4v file. That directory got the &#8211;maximum 50 setting. This pretty much handled everything except for a couple odd cases that I just encoded more or less by hand with the GUI &#8211; mabye 3 discs total.</p>
<p>For output directories, I created:</p>
<p>&#8230;/m4v</p>
<p>&#8230;/iPhone</p>
<p>Now, because I had central storage for both the input directory and the output directory, I also considered using multiple computers. I was able to use the 4 computers under my desk to all work on a central queue. I would go to each computer, mount the share, and put together the encode string for that machine, and set it running. Each computer when it starts an encode creates the file it&#8217;s starting on, and then starts the Handbrake line. I had to do this because with 2-pass encodes, the output file is not present until the second pass starts. Because of this, if you have computer A starting on title 1, then computer B might start on it too. If the file is present, then computer B says, &#8220;Oh, that one&#8217;s there, let&#8217;s start the next one.&#8221; So you get a cheap claim-before-starting system built in if encoding to the same destination. Then another thing came up. I could do encodes on my laptop while away from the main servers. So I added the ability to keep a log of what&#8217;s encoded and copy that to remote locations (*cough* work) and still not get double encodes. It&#8217;s not a perfect system, but it&#8217;s better than nothing.</p>
<h3>The Interesting Part</h3>
<p>So the result is a semi-distributed way of encoding a seriously big pile of movies into a standardized format using both Macs and PCs, possibly central storage, and getting a pile of files with at least standardized names.</p>
<p>I&#8217;ve actually considered trying to add a way to use STAF to auto-distribute encodes to available systems, but that takes a bit more time than I have at the moment. But that could allow you to have a central &#8220;encode controller&#8221; and some &#8220;encode slaves&#8221; that you hand out single encode jobs to. It&#8217;s within reach, I just need an hour here or there to try it.</p>
<p>Anyway, here&#8217;s how you use it:</p>
<pre>perl encode.pl -i /Volumes/media/Videos/todo/long -o /Volumes/media/Videos/m4v --minimum 5 --maximum 70 -e "-Z PS3"</pre>
<p>or the equivalent in Windows paths:</p>
<pre>perl encode.pl -i M:\Videos\todo\long -o M:\Videos\m4v --minimum 5 --maximum 70 -e "-Z PS3"</pre>
<p>-i for an input directory</p>
<p>-o for an output directory</p>
<p>-e for anything you want to hand directly to the encoder. &#8220;-Z PS3&#8243; is the default PS3 string, but be careful with &#8220;-Z &#8216;iPhone &amp; iPod Touch&#8217;&#8221; because the shells differ in quote handling. Try it on a single command line to get it right and then keep it around in a text file somewhere to be sure. Also, because of the funny quoting problems, I usually try to make the -e setting the last one I hand in.</p>
<p>&#8211;minimum is the minimum time in minutes that you want to approve a title for encoding</p>
<p>&#8211;maximum is the opposite. Note that minimum and maximum ignore seconds.</p>
<p>Note that almost everything is optional. You can open the perl code and change to your favorite defaults. On the Mac, the default input and output directory is ~/Movies, on PC it&#8217;s in My Documents. The pitfall of using the output directory as the input directory is if you cancel any encode, you&#8217;ll try to re-encode anything you&#8217;ve finished in the last pass. So try to keep them separated for sanity&#8217;s sake. I ended up one morning with MY_MOVIE.ISO_T2(through7)_T1.m4v trying to figure out what the heck went wrong.</p>
<p>So here you are readers, a new and improved mass encoder script for using Handbrake to eat massive piles of DVDs with one or more computers and Handbrake. Enjoy!</p>
<p>&#8211;edit</p>
<p>A little more experience added a few more things.</p>
<p>1. Favorites, so you can save your favorite encoding strings by name. Mine are PS3 PS3-d PS32 iPhone and iPhone-d with predictable results. But this is easier to type. So replace your -e arg with a favorite -f iPhone and you can save yourself a world of hurt. But -e still works as it did before.</p>
<p>2. Partial encodes are saved to blah.part.m4v until they complete, when they take on the name of their finished product. This was supposed to handle the situation of an unfinished encode displacing the encoder&#8217;s next pass, but alas, something doesn&#8217;t consider it an error when it&#8217;s interrupted *cough handbrake* so I&#8217;ll have to work on that some more.</p>
<p>Upload to follow shortly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2009/01/05/how-do-i-encode-that-pile-of-dvds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quicken 2009 as a Virtual Machine Appliance</title>
		<link>http://www.davebphotography.com/2008/09/09/quicken-2009-as-a-virtual-machine-appliance/</link>
		<comments>http://www.davebphotography.com/2008/09/09/quicken-2009-as-a-virtual-machine-appliance/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 18:17:19 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[House and Home]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[quicken]]></category>
		<category><![CDATA[virutual machine]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/?p=83</guid>
		<description><![CDATA[My wandering uses of Quicken started with very early versions on Mac OS, back in the black and white days. Then there was the new age of color macs, and then shortly after was the Windows Revolution, where they discovered that there were greener fields on green screens. Then, suddenly, there was not one product [...]]]></description>
			<content:encoded><![CDATA[<p>My wandering uses of Quicken started with very early versions on Mac OS, back in the black and white days. Then there was the new age of color macs, and then shortly after was the Windows Revolution, where they discovered that there were greener fields on green screens. Then, suddenly, there was not one product called Quicken. There were two. Quicken for the Mac and Quicken for Windows were only named the same &#8211; nothing  else was common. The Mac version had features the Windows version did not and vice versa. I stuck on the Mac version for a long time, and then a few things happened that made me give up on the Mac. One, Macs got a lot more expensive than I could justify on the budget I had. Two, the PC version suddenly got online syncing and the Mac versions were busted. Three, and this is a big one, games came to the PC. I wanted a PC, and I bought a PC, and my mac was not dismissed, but it was not permitted to hold my Quicken data any more. The online sync feature was the dealbreaker, and I had a PC on hand. And that was how it was for another 5 years.</p>
<p>During that 5 years I lost 4 different hard drives, and those were the days when backups were nearly impossible, RAID meant enterprise hardware, and hard drives were not the most reliable. This made me very grumpy. Various methods of backing up were tried, but none ultimately worked very well, and I lost small segments of data, recovered at the cost of time. One of the things most annoying was that every time you re-installed Quicken on a new hard drive, you had to re-register, which forced you to make up yet another new identity for their web site, which you didn&#8217;t want to use anyway. Because, of course, you would never reinstall software if you didn&#8217;t intend to make up a new identity for yourself.</p>
<p>Then I started working at VMware, and this was an idea I&#8217;d had before but was too cheap to try. I moved my Quicken data inside a VM. Hard drives had since come down to the dollar-a-gig range, and I was tired of the risk of leaving my Quicken data just laying on a drive that was vulnerable to being scanned by anything that came by. Around this same time, the MacIntel thing started, and I was able to start using used MacOS machines for Mail.app, which moved the risk of viruses down about 10000%. But I was more after the isolation, backup, and management problems associated with Quicken. Like the little known replacement keyboard driver they use. Like the data files just sitting on your drive waiting to be explored. Like the fragile backup strategy they use. Those <em>wrankle</em>.</p>
<p>So when I started working at VMware, I installed a copy of Windows (legally &#8211; my laptop had died) in a VM, installed Quicken, and did the backup and restore as Intuit intended. Then I fixed everything. Then &#8211; and here&#8217;s the big one &#8211; I took a snapshot, and burned the whole thing to a DVD. Now, worst case, I can always get back to that point without question &#8211; no registration, no stupidity &#8211; just copy files and hit go. And I&#8217;ve continued to work this VM exactly this way for a couple years now. I&#8217;ve traded 5gb of space for the knowledge that no matter what happens, I can always copy the VM from my MacBook Pro to my PC and boot Quicken in case of disaster.</p>
<p>So, when this morning I was told, &#8220;hey look, 2009 is out&#8221; and knowing they don&#8217;t offer upgrade paths beyond 2 years any more, I decided to take a snapshot and jump in, knowing if all went horribly wrong, I&#8217;d just rewind, wait 2 weeks, and try again. That kind of assurance is worth the 5 gb of space in my opinion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2008/09/09/quicken-2009-as-a-virtual-machine-appliance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audiobook mania</title>
		<link>http://www.davebphotography.com/2008/06/25/audiobook-mania/</link>
		<comments>http://www.davebphotography.com/2008/06/25/audiobook-mania/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 18:06:23 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[audiobook]]></category>
		<category><![CDATA[Audiobook Builder]]></category>
		<category><![CDATA[consolidation]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/?p=74</guid>
		<description><![CDATA[I&#8217;ll fess up now. I like audiobooks. I spend too much time commuting and too little time with the paper books in hand, so I got hooked on audiobooks back in 1998 when I discovered the Rob Ingles version  of Lord of the Rings on Napster. I since found the whole set on ebay, so [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll fess up now. I like audiobooks. I spend too much time commuting and too little time with the paper books in hand, so I got hooked on audiobooks back in 1998 when I discovered the Rob Ingles version  of Lord of the Rings on Napster. I since found the whole set on ebay, so don&#8217;t panic. But in those days, my MP3 player was a Sony Vaio that ran very cool and could be kept in a backpack with the player going. Then I&#8217;d get in the car and play the actual CDs. These days, with my iPhone plugged directly into the car, I finally broke down and picked up a $10 copy of Audiobook Builder, and nested The Hobbit through The Return of the King (and the appendix, Annals of the Kings and Rulers) into a single run of 5 segments as a single audiobook.</p>
<p>In practice this changes my original collection of 20ish files per CD times what, 15ish CDs per book into about 5 for the entire set of 4 books. The original rip I had done was in the early, bad days of MP3, 32kbps, 22mhz, blah blah blah, and plainly it sounded like a robot squawking into your ear, but you could tell what it was and after about 2 minutes, you were tuned out of the noise issue. And the files were tiny, which was my intent. So when I did this project, I ripped to Lossless and then had Audiobook Builder downsize to the current audiobook norm format: 64kbps, 22mhz, mono, and the sound is spectacular by comparison. Space savings? Probably negative in total. But the joining of the files was not all I got out of this.</p>
<p>I also did this with the Harry Potter audio collection, although I didn&#8217;t merge all the books into a single string of files (Parts 1-15 at 12 hours each?) But what is extremely cool about the newer iPhone/iPod generation plus Audiobook Builder is that you can add the chapter art (found via google) to the chapter headings. It makes it just that much more interesting to listen to and remember, as the art changes with each chapter. I wish Audible had that feature. Heck, I wish Audible books more often had chapter marks that matched the book&#8217;s chapters.</p>
<p>I also did something that I&#8217;m not sure is smart, but I&#8217;m pretty sure it&#8217;s not dumb. I re-ripped <strong>all </strong>those discs as Lossless AAC, so the next time a cooler, better codec comes along, I can just re-encode them from the lossless source (idea originally from pixelknave). Disk space is becoming cheap enough and I can just stash the files on my 2TB ReadyNAS, out of the way of my iTunes library.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2008/06/25/audiobook-mania/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital bookshelf maintenance report</title>
		<link>http://www.davebphotography.com/2008/03/29/digital-bookshelf-maintenance-report/</link>
		<comments>http://www.davebphotography.com/2008/03/29/digital-bookshelf-maintenance-report/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 18:41:11 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[House and Home]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/2008/03/29/digital-bookshelf-maintenance-report/</guid>
		<description><![CDATA[If you&#8217;re like me you read a lot of, &#8220;wow, that&#8217;d be neat&#8221; type of articles. Like on creating that Digital Bookshelf you&#8217;ve always been meaning to do. Or organizing your photos, or your parent&#8217;s photos, or writing that cool app you wish you had time for, or whatever it might be. I notice that [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me you read a lot of, &#8220;wow, that&#8217;d be neat&#8221; type of articles. Like on creating that Digital Bookshelf you&#8217;ve always been meaning to do. Or organizing your photos, or your parent&#8217;s photos, or writing that cool app you wish you had time for, or whatever it might be. I notice that a lot of them spend a lot of time talking about the &#8220;will&#8221; and &#8220;should&#8221; and a lot less time talking about what happens once they start or when they&#8217;re in mid-cycle. I hope to clear some of that up here about my digital bookshelf project.</p>
<p>I am now some months into it, well into maintenance mode. I&#8217;m pleased to report that I haven&#8217;t given up, and it&#8217;s actually working for me. I have a path for pretty much all paper that enters the house. It comes in and goes through junk filtering. Junk gets tossed, the interesting stuff gets sat on the desk next to the scanner, generally unopened. Magazines go in the magazine basket, never to be seen again (except by the 1 year old, who eats them), catalogs go in the recycle bin before my wife can see them, anything with an account number, name, etc. go in the pile to be checked for scanning and shredding. Once or twice a week, I go sit down, open the envelopes and repeat the junk filtering above. Any offers, especially credit offers, are shredded. I have enough to keep my life busy. Statements are scanned and then put on the shredder for later batch shredding. DMV and periodic payments are scanned and then put on the same pile. This accounts for most of the things that come in. Afterward, I shred the paper and it&#8217;s done. The next phase is done on the laptop.</p>
<p>On my particular laptop (MacBook Pro), I installed a bit called MarcoPolo, which lets me have things happen when it things you&#8217;re in a particular place. So the next time I open the laptop at home, it will go get those scans off the network share and put them in my Pending Documents directory. Next time after that I open Yep, I have a list of files to be tagged and dealt with. The statements are generally a one-step into Quicken in my VMware Fusion Windows XP Quicken Box (longer article pending there), where I put in the amounts and hit send once I&#8217;ve done them all. Easy. Then I put the tags on those files and they&#8217;re no longer &#8220;new&#8221;. Sometimes, when I&#8217;m filing without quicken up, I just tag them &#8220;todo&#8221; and come back to them later. It&#8217;s quick enough I usually do it all at once. Once this is done, I&#8217;ve pretty much dealt with everything on the pending list. Occasionally I&#8217;ll get a bill that&#8217;s due some months out (Car insurance, etc.) and they get put in the Scheduled Transactions in Quicken, to be sent either automatically within 2 weeks beforehand or whatever. </p>
<p>I have another thing that I&#8217;ve learned to do for forms that I fill out occasionally. I picked up a ScanSnap for my mac, and it came with an older version of Adobe Acrobat Pro. I scanned in the form for my flexible spending plan and turned it into a form to turn in our babysitting and health stuff. So now I go type a couple amounts, print, sign, and fax. If I had thought ahead enough to sign it first, I could probably just email it in, but that has other dangers. Fax is more obscure if nothing, so I&#8217;ve stuck to that for now. </p>
<p>So the tagging itself for documents hasn&#8217;t changed much. I have added a new category called Articles that covers newspaper clippings, interesting bits PDF&#8217;d off the internet, etc. that I want to keep static and offline. Otherwise, things are just as I&#8217;ve described before. The whole process from start to finish takes less than 10 minutes for each step, done maybe once or twice a week in three steps. Heck, I don&#8217;t even have to remember to download the files anymore, saving me a serious step (rsync to an unmounted network share via auto-launched Applescript &#8211; beautiful). </p>
<p>Remind me to write up more on what I do with MarcoPolo, I&#8217;m very pleased with it once it&#8217;s configured, but I hate the configuration. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2008/03/29/digital-bookshelf-maintenance-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time Machine on your network share!</title>
		<link>http://www.davebphotography.com/2008/01/09/time-machine-on-your-network-share/</link>
		<comments>http://www.davebphotography.com/2008/01/09/time-machine-on-your-network-share/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 17:43:59 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Bookshelf]]></category>
		<category><![CDATA[House and Home]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://www.davebphotography.com/2008/01/09/time-machine-on-your-network-share/</guid>
		<description><![CDATA[I have an Infrant ReadyNAS x600 or whatever they were back in those days, and it&#8217;s a rock solid little network server. I also run lots of differing Macs and PCs in the house. My backup solution up until Leopard was to take complete disk images. Since SuperDuper is still a week out of releasing [...]]]></description>
			<content:encoded><![CDATA[<p>I have an Infrant ReadyNAS x600 or whatever they were back in those days, and it&#8217;s a rock solid little network server. I also run lots of differing Macs and PCs in the house. My backup solution up until Leopard was to take complete disk images. Since SuperDuper is still a week out of releasing their Leopard update and I decided I&#8217;ve been risking things too long, I figured I&#8217;d try this Time Machine thing. But, Time Machine wouldn&#8217;t let me do network backups to a non-OS X Server network share. Made me unhappy. And then yesterday I stumbled across this command:</p>
<blockquote>
<pre>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</pre>
</blockquote>
<p>And guess what.</p>
<p>I&#8217;m happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davebphotography.com/2008/01/09/time-machine-on-your-network-share/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
