<?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>Karl Kraft &#187; Flotsam and Jetsam</title>
	<atom:link href="http://www.karlkraft.com/index.php/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.karlkraft.com</link>
	<description>Just a 2 bit programmer in a 64 bit world</description>
	<lastBuildDate>Thu, 24 Jun 2010 14:20:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to Panic people in line for the iPhone 4G</title>
		<link>http://www.karlkraft.com/index.php/2010/06/24/how-to-panic-people-in-line-for-the-iphone-4g/</link>
		<comments>http://www.karlkraft.com/index.php/2010/06/24/how-to-panic-people-in-line-for-the-iphone-4g/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 14:20:16 +0000</pubDate>
		<dc:creator>Karl Kraft</dc:creator>
				<category><![CDATA[Flotsam and Jetsam]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.karlkraft.com/?p=145</guid>
		<description><![CDATA[I arrived at the Apple store at The Domain in Austin this morning about 6:30.  The lines were so long there was no point in trying to get into line quickly, so I decided to spend a few minutes counting the number of people in line. As I went down the lines counting, I could [...]]]></description>
			<content:encoded><![CDATA[<p>I arrived at the Apple store at The Domain in Austin this morning about 6:30.  The lines were so long there was no point in trying to get into line quickly, so I decided to spend a few minutes counting the number of people in line.</p>
<p><span id="more-145"></span>
<p>As I went down the lines counting, I could not believe the amount of stress that I induced in those being counted.  People quickly began to worry about whether they were too far back in line to get a phone, or even if they were in the right line.  I was stopped about every 25 people asking what their number in line was. I had to explain over and over that I wasn&#8217;t counting for any purpose.</p>
<p>For the record, by the time 7 AM rolled around there were 700 total people in the two lines.  During that time I&#8217;m sure the line grew, because I started with the no-reservation line first, and then proceeded to the reserved line, which wound around the building in a different direction.  Between 7AM and 7:20, another 82 people showed up in the reserved line behind me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.karlkraft.com/index.php/2010/06/24/how-to-panic-people-in-line-for-the-iphone-4g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad day one?</title>
		<link>http://www.karlkraft.com/index.php/2010/02/02/ipad-day-one/</link>
		<comments>http://www.karlkraft.com/index.php/2010/02/02/ipad-day-one/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 16:08:20 +0000</pubDate>
		<dc:creator>Karl Kraft</dc:creator>
				<category><![CDATA[Flotsam and Jetsam]]></category>

		<guid isPermaLink="false">http://www.karlkraft.com/?p=134</guid>
		<description><![CDATA[In a recent blog post, Marco Arment asked about the timing of iPad deployment. This is my response. Either I’m missing something, the initial iPad apps are going to suck, or we haven’t yet been told that iPad-native apps won’t be available for some period of time after the iPad’s launch. You are missing something. [...]]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://www.marco.org/366130089">recent blog post</a>, Marco Arment asked about the timing of iPad deployment.  This is my response.</p>
<p><em>Either I’m missing something, the initial iPad apps are going to suck, or we haven’t yet been told that iPad-native apps won’t be available for some period of time after the iPad’s launch.</em></p>
<p>You are missing something.</p>
<p><span id="more-134"></span><em>The problem, of course, is that before day one, we won’t have iPads ourselves for development and testing. This wasn’t a problem for iPhone development: by the time the SDK was released, we had all been using iPhones for many months. We knew how iPhone apps should look and behave, and we could test our apps on our iPhones during development for three months before anyone could sell apps to customers.</em></p>
<p>No, <strong>we</strong> didn&#8217;t.  You might have, but thousands of others were left out in the cold, unwelcome to develop for the iPhone.  Apple tightly controlled who they allowed in, and many didn&#8217;t get developer keys until months after the App Store was opened for business.  Yes, <strong>we</strong> could develop on the simulator, but not on the phone itself.  This preferential treatment continued with the release of later beta SDKs and Firmwares. The entire time this was going on Apple was very coy about what they were doing.</p>
<p>You have based your 3 possibilities on a bed of false assumptions.</p>
<p><strong>You have assumed that you can go to the local Apple Retail store, buy an iPad and install software.</strong></p>
<p>This is not supported in the current SDK.  At this point you can&#8217;t even compile code to the A4.</p>
<p>Apple hasn&#8217;t said when it will be supported.</p>
<p>Most importantly there is no guarantee that your current developer certificate will allow you to cryptographically sign and install software on the iPad at all.</p>
<p>Your certificate may work for iPhone and iPod touch only.</p>
<p>Apple may require a separate enrollment fee to get a iPad certificate.</p>
<p>Apple may limit iPad certificates to a select few developers.  This limitation may be temporary or permanent.</p>
<p><strong>You have assumed that Apple will accept iPad apps from you sometime on or before &#8220;day 1&#8243;.</strong></p>
<p>Apple has made no such commitment.  </p>
<p>They have committed to their future iPad users that iPad specific apps will be ready on day 1, but they haven&#8217;t committed to any developers (AFAIK) that they can submit them.  </p>
<p>When it comes to the AppStore, Apple is not a matchmaker helping developers connect to users in a frictionless manner.  It sure seems that way and as an indie developer I like the AppStore, but it is what it is, which is Apples playground.</p>
<p><strong>You have assumed that there is a submission queue.</strong></p>
<p>Developers like data structures like FIFO, and lots of them refer to the &#8220;submission queue&#8221; but I have never seen documentation from Apple that submissions are handled in a first come first served manner.  Anecdotal evidence seems to indicate that the are several submission piles, and they are serviced at different rates.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.karlkraft.com/index.php/2010/02/02/ipad-day-one/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The iSlate</title>
		<link>http://www.karlkraft.com/index.php/2010/01/13/the-islate/</link>
		<comments>http://www.karlkraft.com/index.php/2010/01/13/the-islate/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 21:42:08 +0000</pubDate>
		<dc:creator>Karl Kraft</dc:creator>
				<category><![CDATA[Flotsam and Jetsam]]></category>

		<guid isPermaLink="false">http://www.karlkraft.com/?p=130</guid>
		<description><![CDATA[Been very busy with a new iPhone App, that and thinking about what the iSlate will be and how it will work. Rumor is that it will be an oversized iPhone, and run iPhone software. I&#8217;ve decided to run a contest to give one away. You can enter at http://www.relada.com/]]></description>
			<content:encoded><![CDATA[<p>Been very busy with a new iPhone App, that and thinking about what the iSlate will be and how it will work.  Rumor is that it will be an oversized iPhone, and run iPhone software.  I&#8217;ve decided to run a contest to give one away.  You can enter at <a href="http://www.relada.com/">http://www.relada.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.karlkraft.com/index.php/2010/01/13/the-islate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Versions &#8211; &#8220;Waiting for transactions to finish&#8221;</title>
		<link>http://www.karlkraft.com/index.php/2009/02/10/versions-waiting-for-transactions-to-finish/</link>
		<comments>http://www.karlkraft.com/index.php/2009/02/10/versions-waiting-for-transactions-to-finish/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 21:22:03 +0000</pubDate>
		<dc:creator>Karl Kraft</dc:creator>
				<category><![CDATA[Flotsam and Jetsam]]></category>

		<guid isPermaLink="false">http://www.karlkraft.com/?p=106</guid>
		<description><![CDATA[Every time I try to quit Versions it pops up an alert and says &#8220;Waiting for transactions to finish&#8221;. The alert will stay on the screen until I force quit Versions. This makes every reboot or logout a painful process. This has been driving me crazy for awhile now, so I looked into the problem [...]]]></description>
			<content:encoded><![CDATA[<p>Every time I try to quit Versions it pops up an alert and says &#8220;Waiting for transactions to finish&#8221;.  The alert will stay on the screen until I force quit Versions.  This makes every reboot or logout a painful process.</p>
<p>This has been driving me crazy for awhile now, so I looked into the problem and found a &#8220;solution&#8221;.  While I can&#8217;t vouch that it will work for everyone, I wanted to share it in the hopes that it might work for some.</p>
<p>This is going to be long so that everyone can understand the cause and possible soutions.</p>
<p><span id="more-106"></span></p>
<p>The problem firsrt showed up when I started using SVN 1.5.  I upgraded all my repositories on my linux and mac servers, and the mac server was working well, but the linux server would ocassionally just hang in Versions.  As part of the 1.5 upgrade there are some caches that you can either prebuild or build as needed, so I assumed the slowness was just those caches slowly being updated.</p>
<p>That was until this morning when I had the problem with a brand new empty repository.  I found that when Versions was running, access to the repository was slow even from the command line.  But if I wasn&#8217;t running Versions, performance was lightning fast from the command line.</p>
<p>It turns our the problem is related to the way SVN 1.5 uses random numbers.  On linux (and OS X), there are two sources of random numbers.  One is /dev/random, and the other is /dev/urandom.  /dev/random produces true cryptographically secure random numbers.  If there isn&#8217;t enough entropy available it will hang waiting for secure random numbers to become available.  urandom on the other hand will sacrafice cyrptographica quality and always produce random numbers.</p>
<p>Svnserve on my linux box uses /dev/random, and if the random numbers aren&#8217;t available it blocks until they are.  This in turn leads to Versions blocking waiting for svnserve to respond, which will happen eventually as sources of entropy like network traffic occur.</p>
<p>The problem is compounded when you turn on &#8220;Show Updates from Repository&#8221;.  For me this is the entire reason for having a program like Versions, so that I can keep track of what repositories I&#8217;m working with have experienced changes, so I can make sure my source stays up to date and that I&#8217;m aware of who is making what changes to the source.</p>
<p>The problem is that the SVN server doesn&#8217;t do much besides serve svn connections.  So there isn&#8217;t much entropy available. Eventually /dev/random runs out of random numbers and svnserve will hang, causing Versions to hang. Versions should be a bit smarter about realizing that if a request isn&#8217;t critical (like say a commit or update) that it can just terminate the connection on quit. </p>
<p>The solution is to either rebuild the Apache Portable Runtime library that svnserve from source and change it to use /dev/random instead of /dev/urandom. This would need to be done on the server.</p>
<p>The other choice is to simply remove /dev/random and replace it with the equivalent of urandom. This will affect all programs running on the server.</p>
<p>The commands are not for the faint of heart and can easily render the box unusable if done improperly.   These are for a Fedora Core 9 box, and won&#8217;t work on OSX or other platforms.  The commands must be run as root.</p>
<pre>rm /dev/random
mknod /dev/random c 1 9
chmod 666 /dev/random
</pre>
<p>For me, this has completely solved the problem of Versions hanging on quit, and I&#8217;m back to mostly happy with the product.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.karlkraft.com/index.php/2009/02/10/versions-waiting-for-transactions-to-finish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple just gave out my Apple ID password because someone asked &#8211; MK&amp;C</title>
		<link>http://www.karlkraft.com/index.php/2008/07/08/apple-just-gave-out-my-apple-id-password-because-someone-asked-mkc/</link>
		<comments>http://www.karlkraft.com/index.php/2008/07/08/apple-just-gave-out-my-apple-id-password-because-someone-asked-mkc/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 19:38:44 +0000</pubDate>
		<dc:creator>Karl Kraft</dc:creator>
				<category><![CDATA[Flotsam and Jetsam]]></category>

		<guid isPermaLink="false">http://www.karlkraft.com/?p=66</guid>
		<description><![CDATA[As much as I love the idea of MobileMe, this nightmare is why I will never use it. At some point I need to have some trust that the data it holds is secure, and Apple can&#8217;t possibly guarantee the long term security of the data and access. In the end the most they can [...]]]></description>
			<content:encoded><![CDATA[<p>As much as I love the idea of MobileMe,  <a href="http://blog.karppinen.fi/2008/07/apple-just-gave-out-my-apple-i.html">this nightmare</a> is why I will never use it.<br />
<span id="more-66"></span></p>
<p>At some point I need to have some trust that the data it holds is secure, and Apple can&#8217;t possibly guarantee the long term security of the data and access.  In the end the most they can do when a screw up occurs is shrug and say sorry.</p>
<p>If on the other hand there was a set of tools that came with OSX Server that allowed my iDisk and related mobile syncing to be on a server I or my organization control I would feel a lot more comfortable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.karlkraft.com/index.php/2008/07/08/apple-just-gave-out-my-apple-id-password-because-someone-asked-mkc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hi resolution Newton</title>
		<link>http://www.karlkraft.com/index.php/2008/01/22/hi-resolution-newton/</link>
		<comments>http://www.karlkraft.com/index.php/2008/01/22/hi-resolution-newton/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 01:03:43 +0000</pubDate>
		<dc:creator>Karl Kraft</dc:creator>
				<category><![CDATA[Flotsam and Jetsam]]></category>

		<guid isPermaLink="false">http://www.karlkraft.com/index.php/2008/01/22/hi-resolution-newton/</guid>
		<description><![CDATA[Another one day project from long ago, this was the basis for a newton skin I made as a joke for when I was using POSE to develop Palm software. The zip file (7.3MB) contains a high-rez image of the newton (1276&#215;2074) from scanning the face on a flat bed scanner. The original newton was [...]]]></description>
			<content:encoded><![CDATA[<p>Another one day project from long ago, this was the basis for a newton skin I made as a joke for when I was using <a href="http://en.wikipedia.org/wiki/POSE_(Palm_OS_Emulator)">POSE</a> to develop Palm software.<br />
<span id="more-41"></span></p>
<p>
<img src="http://www.karlkraft.com/wp-content/uploads/2008/01/newton-skin-web-size.jpg" alt="web_size.jpg" border="0" width="319" height="519" /></p>
<p>The <a href="http://www.karlkraft.com/wp-content/uploads/2008/01/NewtonSkin.zip ">zip file (7.3MB)</a> contains a high-rez image of the newton (1276&#215;2074) from scanning the face on a flat bed scanner.   The original newton was very beat up, an the photshop file is from after airbrusing some of the junk and scratches off.</p>
<p>This was then used to make a much smaller skin for POSE.</p>
<p>Included in the zip is also a 1200&#215;1920 version that I just created to use as a background for a 23&#8243; monitor in portrait style.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.karlkraft.com/index.php/2008/01/22/hi-resolution-newton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hulu sample video page</title>
		<link>http://www.karlkraft.com/index.php/2007/10/29/hulu-sample-video-page/</link>
		<comments>http://www.karlkraft.com/index.php/2007/10/29/hulu-sample-video-page/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 05:43:40 +0000</pubDate>
		<dc:creator>Karl Kraft</dc:creator>
				<category><![CDATA[Flotsam and Jetsam]]></category>

		<guid isPermaLink="false">http://www.karlkraft.com/index.php/2007/10/29/hulu-sample-video-page/</guid>
		<description><![CDATA[Hulu is a supposed &#8220;youtube-killer&#8221; from NBC and News Corp. While the site is currently in a &#8220;Private Beta&#8221;, they have still allowed and encouraged people to link directly to the videos. Therefore I present to use the Hulu Sample Video page, with 10 random hulu videos. If you want to make your own sample [...]]]></description>
			<content:encoded><![CDATA[<p>Hulu is a supposed &#8220;youtube-killer&#8221; from NBC and News Corp.  While the site is currently in a &#8220;Private Beta&#8221;, they have still allowed and encouraged people to link directly to the videos.   Therefore I present to use the <a href="http://www.karlkraft.com/hulu.php">Hulu Sample Video page</a>, with 10 random hulu videos.  If you want to make your own sample video page, just pick any 10 URLs of the form:</p>
<p><a href="http://www.hulu.com/embed/1734"> http://www.hulu.com/embed/1734 </a></p>
<p>The number at the end is the primary key in the database of the video.  They start at 1 and go up from there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.karlkraft.com/index.php/2007/10/29/hulu-sample-video-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
