<?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>CarpĂ© Cocoa &#187; Computers</title>
	<atom:link href="http://carpe-cocoa.com/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://carpe-cocoa.com</link>
	<description>My journey into iPhone development</description>
	<lastBuildDate>Tue, 24 Nov 2009 21:03:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Extended Warranties Value for Money</title>
		<link>http://carpe-cocoa.com/2009-11-24/extended-warranties-value-for-money/</link>
		<comments>http://carpe-cocoa.com/2009-11-24/extended-warranties-value-for-money/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 21:03:31 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[failure analysis]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[warranties]]></category>

		<guid isPermaLink="false">http://carpe-cocoa.com/?p=319</guid>
		<description><![CDATA[Alexander Micek&#8217;s post &#8220;When Information Overwhelms Facts&#8221; (via Daring Fireball) has some interesting commentary on a laptop reliability study that has been making the rounds recently.
In the comments Tonio Loewald stated that
Laptop failure rates of 20-30% over three years certainly seem pretty accurate based on my experience (and that’s how Ars Technica looked at it), [...]]]></description>
			<content:encoded><![CDATA[<p>Alexander Micek&#8217;s post &#8220;<a href="http://tumbledry.org/2009/11/20/when_information_overwhelms" target="_blank">When Information Overwhelms Facts</a>&#8221; (<a href="http://daringfireball.net/linked/2009/11/24/micek-information-facts" target="_blank">via Daring Fireball</a>) has some interesting commentary on a <a href="http://www.squaretrade.com/pages/laptop-reliability-1109/." target="_blank">laptop reliability study</a> that has been making the rounds recently.</p>
<p>In the comments <a href="http://loewald.com/blog/">Tonio Loewald</a> stated that</p>
<blockquote><p>Laptop failure rates of 20-30% over three years certainly seem pretty accurate based on my experience (and that’s how Ars Technica looked at it), so the “value for money” equation for extended warranties pretty much comes down to 0.15 x purchase cost (since your laptop has about a 15% chance of failing due to reliability issues after its standard warranty expires).</p></blockquote>
<p>This would mean that AppleCare on a $1699 MacBook Pro is worth about $255. Apple charges $349 for this coverage, but it also includes 3 years (well, 33 extra months) of phone support. You can decide if that&#8217;s worth it for you, but it&#8217;s certainly not unreasonable.</p>
<p>Looking a bit closer, the report claims a 31% <em>total</em> failure rate over 3 years, with 10.6% from accidental damage and 20.4% from hardware malfunctions. You might be able to get accidental damage covered under warranty, especially if the company uses 3rd-party vendors (I&#8217;ve been told by Dell techs &#8220;I don&#8217;t care if you poured a can of Coke in the machine&#8221;), but such failures are generally specifically excluded from coverage, so lets go with the 20.4%. The paper shows that the 1-year hardware malfunction rate is 4.7%, so that leaves a 15.7% failure rate over the 2 out-of-warranty years. This agrees quite well with Tonio&#8217;s claim.</p>
<p>The other term in the equation is more suspect. The Square Trade report doesn&#8217;t give any details on the failures making up that 20.4%, but it seems likely that almost all are single-component failures, which would <em>not</em> require replacing the whole system. The actual value equation is more like:
<pre><em>value = 0.16 * average repair cost.</em></pre>
<p>Of the 7 laptops I&#8217;ve owned over the past 15 years I&#8217;ve had one screen, one hard drive, one trackpad, one motherboard, and one power supply fail. None of the repairs were significantly over $300, and none of the machines were under $1000 new (most were quite a bit more!). A bit of lazy Googling seems to back this sub-$300 average repair bill, if someone has current, reliable numbers on this I&#8217;d love to see them.</p>
<p>Even if we&#8217;re generous (pessimistic?) and<em> double</em> the repair bill, that extended warranty has an expected value of about $95. And since we&#8217;re on a 3-year cycle here, what happens if the failure happens in the 35th month? Are you going to pay for the repair or just buy that replacement system a month early?</p>
<p>The bottom line is that, like most kinds of insurance, the vendor on an extended warranty is assuming a risk in exchange for profit. The average consumer isn&#8217;t going to get back anywhere near the cost of the coverage. Even those needing one typical repair are going to break even at best. You might be able to get additional value out of extras like battery replacement, but in general extended warranties don&#8217;t make a lot of sense.</p>
]]></content:encoded>
			<wfw:commentRss>http://carpe-cocoa.com/2009-11-24/extended-warranties-value-for-money/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using WPA WiFi Networks With the Nintendo DSi</title>
		<link>http://carpe-cocoa.com/2009-05-26/wpa-wifi-on-nintendo-dsi/</link>
		<comments>http://carpe-cocoa.com/2009-05-26/wpa-wifi-on-nintendo-dsi/#comments</comments>
		<pubDate>Tue, 26 May 2009 18:59:37 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[DSi]]></category>
		<category><![CDATA[Nintendo]]></category>
		<category><![CDATA[Nintendo DSi]]></category>
		<category><![CDATA[WiFi]]></category>
		<category><![CDATA[WPA]]></category>

		<guid isPermaLink="false">http://carpe-cocoa.com/?p=216</guid>
		<description><![CDATA[The Nintendo DSi has support for WiFi networks, including WPA. Most personal WPA networks use a passphrase instead of the hexadecimal keys used in older WEP setups. The WPA standard supports passphrases of 8 to 63 printable ASCII characters, which are converted to a 64 digit hexadecimal number using a hash of the passphrase and [...]]]></description>
			<content:encoded><![CDATA[<p>The Nintendo DSi has support for WiFi networks, including WPA. Most personal WPA networks use a passphrase instead of the hexadecimal keys used in older WEP setups. The WPA standard supports passphrases of 8 to 63 printable ASCII characters, which are converted to a 64 digit hexadecimal number using a hash of the passphrase and the SSID (see more at <a title="Wi-Fi Protected Access" href="http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access#Security_in_pre-shared_key_mode" target="_blank">WikiPedia</a>).</p>
<p>Unfortunately, the DSi does not allow you to enter a passphrase, you have to enter the 64 digit hexadecimal key. If your router doesn&#8217;t show the key (mine doesn&#8217;t), you can calculate it using the <a title="WPA PSK Generator" href="http://www.wireshark.org/tools/wpa-psk.html" target="_blank">WPA PSK Generator</a> from the authors of <a title="Wireshark" href="http://www.wireshark.org/" target="_blank">Wireshark</a> (a great network analysis tool).</p>
<p>If you have access to a Linux system with the wpa_supplicant tools installed, you can do this at the command line using:</p>
<pre style="padding-left: 30px;">wpa_passphrase <em>ssid</em> <em>passphrase</em></pre>
]]></content:encoded>
			<wfw:commentRss>http://carpe-cocoa.com/2009-05-26/wpa-wifi-on-nintendo-dsi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing AdHoc Applications on the iPhone</title>
		<link>http://carpe-cocoa.com/2009-05-12/installing-adhoc-applications-on-the-iphone/</link>
		<comments>http://carpe-cocoa.com/2009-05-12/installing-adhoc-applications-on-the-iphone/#comments</comments>
		<pubDate>Tue, 12 May 2009 19:26:19 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone Development]]></category>

		<guid isPermaLink="false">http://www.szczerba.net/?p=73</guid>
		<description><![CDATA[If you&#8217;ve received an AdHoc iPhone application (a file with a .app extension) and associated provisioning file (a file with a .mobileprovision extension), follow these simple steps to install it on your iPhone.

Connect your iPhone or iPod Touch to a computer with iTunes installed.
Launch iTunes and switch to the Applications section of the Library

If this [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve received an AdHoc iPhone application (a file with a <code>.app</code> extension) and associated provisioning file (a file with a <code>.mobileprovision</code> extension), follow these simple steps to install it on your iPhone.</p>
<ol>
<li>Connect your iPhone or iPod Touch to a computer with iTunes installed.</li>
<li>Launch iTunes and switch to the Applications section of the Library<br />
<a title="Open iTunes to the Applications section of the Library" href="http://www.szczerba.net/wp-content/uploads/2009/05/picture-11.png" rel="lightbox[steps]"><img src="http://www.szczerba.net/wp-content/uploads/2009/05/picture-11-150x118.png" alt="iTunes Library Application Section" title="iTunes Library Application Section" width="150" height="118" class="alignnone size-thumbnail wp-image-93" /></a></li>
<li>If this is your first install of an app
<ol style="list-style-type:lower-alpha">
<li>Save the provisioning file to your desktop&#8230;<br />
<a title="Save the provisioning file to your desktop..." href="http://www.szczerba.net/wp-content/uploads/2009/05/picture-10.png" rel="lightbox[steps]"><img src="http://www.szczerba.net/wp-content/uploads/2009/05/picture-10.png" alt="Saved Provisioning File on Desktop" title="Saved Provisioning File on Desktop" width="151" height="112" class="alignnone size-full wp-image-74" /></a></li>
<li>and drag it into iTunes<br />
<a title="Drag the provisioning file into iTunes" href="http://www.szczerba.net/wp-content/uploads/2009/05/picture-12.png" rel="lightbox[steps]"><img src="http://www.szczerba.net/wp-content/uploads/2009/05/picture-12-150x117.png" alt="Dragging the provisioning file into iTunes Library" title="Dragging the provisioning file into iTunes Library" width="150" height="117" class="alignnone size-thumbnail wp-image-94" /></a></li>
</ol>
</li>
<li>Save the application to your desktop&#8230;<br />
<a title="Save the application to your desktop..." href="http://www.szczerba.net/wp-content/uploads/2009/05/picture-13.png" rel="lightbox[steps]"><img src="http://www.szczerba.net/wp-content/uploads/2009/05/picture-13.png" alt="App saved on Desktop" title="App saved on Desktop" width="139" height="102" class="alignnone size-full wp-image-80" /></a></li>
<li>and drag it into iTunes<br />
<a title="Drag the application into iTunes" href="http://www.szczerba.net/wp-content/uploads/2009/05/picture-14.png" rel="lightbox[steps]"><img src="http://www.szczerba.net/wp-content/uploads/2009/05/picture-14-150x116.png" alt="Dragging the app into the iTunes Library" title="Dragging the app into the iTunes Library" width="150" height="117" class="alignnone size-thumbnail wp-image-94" /></a></li>
<li>Select your to your iPhone or iPod in the Device section in the left column of iTunes; then go to the Applications tab.<br />
<a title="Check device's application settings in iTunes" href="http://www.szczerba.net/wp-content/uploads/2009/05/picture-151.png" rel="lightbox[steps]"><img src="http://www.szczerba.net/wp-content/uploads/2009/05/picture-151-150x112.png" alt="iTunes Device Applications Tab" title="iTunes Device Applications Tab" width="150" height="112" class="alignnone size-thumbnail wp-image-92" /></a></li>
<p>Make sure you&#8217;ve either selected &#8220;All Applications&#8221; or that the checkbox next to the new app is selected.</p>
<li>Click &#8220;Sync&#8221;</li>
<li>Enjoy!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://carpe-cocoa.com/2009-05-12/installing-adhoc-applications-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CPU vs GPU</title>
		<link>http://carpe-cocoa.com/2009-01-11/cpu-vs-gpu/</link>
		<comments>http://carpe-cocoa.com/2009-01-11/cpu-vs-gpu/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 18:44:27 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://www.szczerba.net/2009-01-11/cpu-vs-gpu/</guid>
		<description><![CDATA[The Mythbusters demonstrate the difference between a CPU and a modern GPU using paintball-wielding robots:
CPU vs GPU from Juan Diez on Vimeo.
]]></description>
			<content:encoded><![CDATA[<p>The Mythbusters demonstrate the difference between a CPU and a modern GPU using paintball-wielding robots:</p>
<p><object width="504" height="344"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1616258&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1616258&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="504" height="344"></embed></object><br /><a href="http://vimeo.com/1616258">CPU vs GPU</a> from <a href="http://vimeo.com/user483962">Juan Diez</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://carpe-cocoa.com/2009-01-11/cpu-vs-gpu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare network devices and udev</title>
		<link>http://carpe-cocoa.com/2007-09-16/vmware-network-devices-and-udev/</link>
		<comments>http://carpe-cocoa.com/2007-09-16/vmware-network-devices-and-udev/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 22:41:52 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.szczerba.net/2007-09-16/vmware-network-devices-and-udev/</guid>
		<description><![CDATA[I&#8217;ve been struggling for a while trying to get udev to maintain device names for vmxnet devices when running in a virtual machine. Well, I finally figured it out. The 75-persistent-net-generator.rules script in Gentoo was making rules that looked like:
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:0b:02:d2", NAME="eth0"
These seemed to be silently ignored.
After an emerge --sync; emerge -u world last [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been struggling for a while trying to get udev to maintain device names for vmxnet devices when running in a virtual machine. Well, I finally figured it out. The <code>75-persistent-net-generator.rules</code> script in Gentoo was making rules that looked like:</p>
<p><code>SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:0b:02:d2", NAME="eth0"</code></p>
<p>These seemed to be silently ignored.</p>
<p>After an <code>emerge --sync; emerge -u world</code> last night, the vmware devices started getting IDs following the highest-numbered eth device. These rules would be added to <code>70-persistent-net.rules</code>, and on the next boot the devices would move up even higher, causing all network device config settings to be ignored.</p>
<p>I noticed that the new rules added to <code>70-persistent-net.rules</code> were of the form:</p>
<p><code>SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:0c:29:0b:02:d2", NAME="eth0"</code></p>
<p>(ATTRS was replaced with ATTR), which just means the match is done on the specific node rather than checking all of the parents.</p>
<p>After a lot of painful attempts to fix this, I finally found the problem. Apparently the DRIVERS key is unset at this point for the vmxnet driver. I removed that test, so that I have:</p>
<p><code>SUBSYSTEM=="net", ATTR{address}=="00:0c:29:0b:02:d2", NAME="eth0"</code></p>
<p>which now works.</p>
<p>Phew!</p>
]]></content:encoded>
			<wfw:commentRss>http://carpe-cocoa.com/2007-09-16/vmware-network-devices-and-udev/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving to Vista</title>
		<link>http://carpe-cocoa.com/2007-09-08/moving-to-vista/</link>
		<comments>http://carpe-cocoa.com/2007-09-08/moving-to-vista/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 00:39:02 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.szczerba.net/2007-09-08/moving-to-vista/</guid>
		<description><![CDATA[My desktop PC&#8217;s power supply blew up (literally) a few days ago. The family was unwilling to wait for the RMA process, so this gave a good excuse to upgrade (which, of course, I&#8217;ve been itching to do anyway).
Of course, the new machine came with Vista, which actually runs fairly well (the quad-core 2.4 GHz [...]]]></description>
			<content:encoded><![CDATA[<p>My desktop PC&#8217;s power supply blew up (literally) a few days ago. The family was unwilling to wait for the RMA process, so this gave a good excuse to upgrade (which, of course, I&#8217;ve been itching to do anyway).</p>
<p>Of course, the new machine came with Vista, which actually runs fairly well (the quad-core 2.4 GHz processor may have something to do with that&#8230; or it could be the 3 GB of RAM or the SATA RAID hard disks&#8230;). I put the drive from the old system in and started moving things over, but I ran into problems trying to delete some old directory trees (particularly the old Cygwin install) due to permission problems.</p>
<p>A bit of poking around on Google led to a useful tip on Tim Sneath&#8217;s MSDN blog: <a href="http://blogs.msdn.com/tims/archive/2006/11/10/windows-vista-secret-11-deleting-the-undeletable.aspx">Windows Vista Secret #11: Deleting the Undeletable</a>. The short version is:</p>
<pre><code>    takeown /f <em>directory</em> /r /d y
    icacls <em>directory</em> /grant administrators:F /T</code></pre>
<p>Works like a charm. Just use a command prompt with administrator privileges.</p>
]]></content:encoded>
			<wfw:commentRss>http://carpe-cocoa.com/2007-09-08/moving-to-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hard Drive Hell</title>
		<link>http://carpe-cocoa.com/2007-01-12/hard-drive-hell/</link>
		<comments>http://carpe-cocoa.com/2007-01-12/hard-drive-hell/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 03:43:25 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.szczerba.net/2007-01-12/hard-drive-hell/</guid>
		<description><![CDATA[So I decided it was time to upgrade to a big, fast SATA hard drive. I found a good deal at CompUSA on a 500 GB Western Digital SATA-2 drive to replace my aging 160 GB ATA-100. I&#8217;ve been through this process many, many times since I got my first 40 MB drive back in [...]]]></description>
			<content:encoded><![CDATA[<p>So I decided it was time to upgrade to a big, fast SATA hard drive. I found a good deal at CompUSA on a 500 GB Western Digital SATA-2 drive to replace my aging 160 GB ATA-100. I&#8217;ve been through this process many, many times since I got my first 40 MB drive back in the day, so I didn&#8217;t expect too many issues.</p>
<p>Installation was pretty painless, the ASUS A8N-SLI mobo has support for 4 SATA drives, and my Antec Sonata case has SATA power connectors (which, interestingly, are about twice the size of the data cable), so I plugged it in, turned the SATA interface on in the BIOS (I tend to disable things I&#8217;m not using) and booted into Windows.</p>
<p>XP recognized the new hardware, asked for the nForce4 SATA drivers (the latest of which were already sitting on the IDE drive) and installed them. A quick click through the WD install software and the drive was formatted. I started the WD drive migration tool on the expectedly long process of copying 140 or so GB of data from the old drive to the new and headed to bed. I was a bit suspicious of the tool&#8217;s ability to copy everything over while XP was running, but I figured I&#8217;d give it a shot and headed to bed.</p>
<p>In the morning the copy was done, so I shut down Windows, removed the IDE drive, and powered back up. The BIOS screens flashed by, then I saw it: &#8220;Error Loading Operating System&#8221;. Apparently my drive, which was perfectly accessible from a fully booted XP install, was not bootable.</p>
<p>To make a (very) long story short, I tried a <em>lot</em> of things to fix this. I started by using <a href="http://www.acronis.com/">Acronis</a> <a href="http://www.acronis.com/homecomputing/download/trueimage/">True Image</a> to reimage the drive without XP running. No luck, so off to Google.</p>
<p>I saw lots of recommendations to do a repair install, which requires a driver floppy to access the SATA drives in this system. Since I don&#8217;t have a floppy (and the ultra-modern XP operating system doesn&#8217;t seem to think this is possible) I couldn&#8217;t use my boot media, so I downloaded a fresh copy of <a href="http://www.nliteos.com/">nLite</a> and bundled the drivers into a new, custom install CD (along with SP2, which was already on the system). I tried using the recovery console from this CD (which could access the drive just fine), but no amount of &#8220;fixboot&#8221; type stuff helped. I tried a repair install and still couldn&#8217;t boot. Finally I reformatted the disk and did a new install. It <em>still</em> would not boot.</p>
<p>Then I found a post that recommended changing the disk access mode setting in the BIOS from &#8220;Auto&#8221; to &#8220;Large&#8221; (the only other setting&#8230;). This changed the boot error message, so I started another clean XP install. This time I made it through the reboot and into the GUI installer, so I shut down, reinstalled the IDE drive, and reimaged (with True Image). Everything is now working beautifully!</p>
<p>This only took about 14 hours for someone with 20+ years of computer experience and a degree in the field. No wonder people pay Best Buy to do this crap!</p>
]]></content:encoded>
			<wfw:commentRss>http://carpe-cocoa.com/2007-01-12/hard-drive-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
