<?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>ursecta.com &#187; OSX Dev</title>
	<atom:link href="http://ursecta.com/wp/category/developing-on-osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://ursecta.com/wp</link>
	<description>J. Martin Wehlou on Security, Software Development, and Medicine</description>
	<lastBuildDate>Sun, 05 Sep 2010 11:27:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>3.3.1 with a twist</title>
		<link>http://ursecta.com/wp/2010/04/3-3-1-with-a-twist/</link>
		<comments>http://ursecta.com/wp/2010/04/3-3-1-with-a-twist/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:52:23 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX Dev]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/?p=567</guid>
		<description><![CDATA[The by now famous paragraph 3.3.1 in the iPhone Developer Program License Agreement for iPhone OS 4.0 says that &#8220;Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited&#8221;. Which, of course, ruins the day for Adobe and Flash CS5. The idea was to have Flash scripts run [...]]]></description>
			<content:encoded><![CDATA[<p>The by now famous paragraph 3.3.1 in the iPhone Developer Program License Agreement for iPhone OS 4.0 says that &#8220;Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited&#8221;. Which, of course, ruins the day for Adobe and Flash CS5. The idea was to have Flash scripts run on the iPhone on just such a compatibility layer.</p>
<p>The theories as to the reason why are, generally speaking: f*ck Adobe, preserve performance on the iPhone and iPad, and/or make multiprocessing efficient on these devices. With regard to that last, the theory goes that the OS figures out how the app works and hooks into the app and the app framework, but if there&#8217;s a compatibility layer in between, that becomes very difficult and inefficient. Actually, purely technically, without any fanboyisms, it does make sense to me.</p>
<p>In that case, and reading the 3.3.1 literally, nothing stops me, or Adobe, from implementing a translation from our own specific languages using a precompiler, as long as you end up compiling actual Objective-C code using XCode into the app. That&#8217;s what I would do, and I find it a better solution, anyway.</p>
<p>But the anti-Adobe conspiration theorists may claim Apple doesn&#8217;t want you to do this, either. I don&#8217;t know if they do, but let&#8217;s assume.</p>
<p>Now it gets interesting. There is no way that Apple can detect from the runtime code, or even the source code, that the code has been produced by a precompiler, if that precompiler does a decent job. If they want to stop that from happening, they&#8217;ll have to monitor the user&#8217;s machine for precompilers and editing tools, like World of Warcraft is monitoring for bots. What a fascinating circus that would be.</p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2010/04/3-3-1-with-a-twist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad: the lowest common denominator</title>
		<link>http://ursecta.com/wp/2010/03/ipad-the-lowest-common-denominator/</link>
		<comments>http://ursecta.com/wp/2010/03/ipad-the-lowest-common-denominator/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 09:00:36 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[OSX Dev]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iota]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/?p=538</guid>
		<description><![CDATA[After watching Apple vs Predator, a short YouTube video, I had a blinding flash of the somewhat obvious and this is it: no other interface but the iPhone/iPad interface can seamlessly transfer to a virtual surface and gestures. Let&#8217;s expand on this. If you&#8217;ve seen &#8220;Minority Report&#8221;, the movie, you must remember the interface Tom [...]]]></description>
			<content:encoded><![CDATA[<p>After watching <a href="http://ursecta.com/wp/go.php?http://www.youtube.com/watch?v=HWeZOS8ta04" target="_blank" title="(45 hits)">Apple vs Predator</a>, a short YouTube video, I had a blinding flash of the somewhat obvious and this is it: no other interface but the iPhone/iPad interface can seamlessly transfer to a virtual surface and gestures. Let&#8217;s expand on this.</p>
<p>If you&#8217;ve seen &#8220;Minority Report&#8221;, the movie, you must remember the interface Tom Cruise uses to access files. He pulls on gloves, then works the displays as if he touches a virtual surface in space. There are a number of projects doing gloves like this, such as the <a href="http://ursecta.com/wp/go.php?http://www.anthrotronix.com/index.php?option=com_content&amp;view=article&amp;id=87&amp;Itemid=138" target="_blank" title="(28 hits)">AcceleGlove</a> by AnthroTronix.</p>
<p>It&#8217;s obvious, to me at least, that you can&#8217;t usefully move just any graphical interface to a virtual surface like in &#8220;Minority Report&#8221;. There are UI elements that work and others that don&#8217;t work. Obviously, you can&#8217;t use a mouse, there&#8217;s nowhere to let it rest, there&#8217;s just air. You can&#8217;t use a pen. The only thing you can use is your fingers. In other words, it&#8217;s a multi-touch interface, albeit virtually and in the middle of the air.</p>
<p>Could you imagine if you developed a useful virtual surface like this and you wanted to use the same user interface on a hard, real surface device. How would that look? Surprise, surprise, it would look exactly like the iPad. Not like Windows for Tablets, not like any other smartphone UI I&#8217;ve ever seen, but exactly like the iPhone and iPad UI.</p>
<p>I don&#8217;t think this is accidental. I think this is the fundamental reason that the iPhone and iPad have never had, and never will have, a pen or other pointing device. As long as they are entirely useable using only one or more fingers, the UI translates seamlessly to a virtual surface in the air.</p>
<p>There are signs one can do using a glove and a virtual surface that aren&#8217;t useable on a real surface with multi-touch. Example: making the &#8220;ok&#8221; sign using your thumb and index finger could work with a glove, but not with an iPad. On the other hand, it seems such signs are rarely used even in science fiction movies, and I think there&#8217;s a fundamental reason why not, simply because they are less suitable for an intuitive command interface. This leads to the rule that one should probably not introduce any visual signs in virtual surfaces that cannot be translated to gestures using a hardware device surface.</p>
<p>For medicine, all this is great news. This means that if you develop a medical records interface, or the interface to any other medical system, on an iPad, it will automatically be just right for a virtual interface, such as those we will need in operating theatres and bedside.</p>
<p>That makes the iPad user interface the lowest common denominator. If you develop for this UI, your medical app is future proof. MS Windows based medical apps, on the other hand, are living on borrowed time.</p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2010/03/ipad-the-lowest-common-denominator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion server on Snow Leopard server</title>
		<link>http://ursecta.com/wp/2009/11/subversion-server-on-snow-leopard-server/</link>
		<comments>http://ursecta.com/wp/2009/11/subversion-server-on-snow-leopard-server/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 22:19:59 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX Dev]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/?p=391</guid>
		<description><![CDATA[As I already bragged about, I got me one of those delicious little OSX Mini Snow Leopard Server boxes. So sweet you could kiss it. I just got everything together to make it run a subversion server through Apache, too, and as a way to document that process, I could just as well make a [...]]]></description>
			<content:encoded><![CDATA[<p>As I already bragged about, I got me one of those delicious little OSX Mini Snow Leopard Server boxes. So sweet you could kiss it. I just got everything together to make it run a subversion server through Apache, too, and as a way to document that process, I could just as well make a post out of it. Then I can find it again later for my own needs.</p>
<p>First of all, subversion server is already a part of the OSX Snow Leopard distribution, so there is no need to go get it anywhere. Mine seems to be version 1.6.5, according to svnadmin. Out of the box, however, apache is not enabled to connect to subversion, so that needs to be fixed.</p>
<p>We&#8217;ll start by editing the httpd.conf for apache to load the SVN module. You&#8217;ll find the file at:</p>
<pre>/etc/apache2/httpd.conf</pre>
<p>Uncomment the line:</p>
<pre>#LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so</pre>
<p>Somewhere close to the end of the file, add the following line:</p>
<pre>Include "/private/etc/apache2/extra/httpd-svn.conf"</pre>
<p>Now we need to create that httpd-svn.conf file. If you don&#8217;t have the &#8220;extra&#8221; dir, make it, then open the empty file and add in:</p>
<pre>&lt;Location /svn&gt;
  DAV svn
  SVNParentPath /usr/local/svn
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /private/etc/apache2/extra/svn-auth-file
  Require valid-user
&lt;/Location&gt;</pre>
<p>Save and exit. Then create the password file and add the first password by:</p>
<pre>sudo htpasswd -c svn-auth-file username</pre>
<p>&#8230;where &#8220;username&#8221; is your username, of course. You&#8217;ll be prompted for the desired password. You can add more passwords with the same command, while dropping the -c switch.</p>
<p>Time to create svn folders and repository. Create /usr/local/svn. Then create your first repository by:</p>
<pre>svnadmin create firstrep</pre>
<p>Since apache is going to access this, the owner should be apache. Do that:</p>
<pre>sudo chown -R www firstrep</pre>
<p>Through Server Admin, stop and restart Web service. Check if no errors appear. Then use your fav SVN client to check if things work. Normally, you&#8217;d be able to adress your subversion repository using:</p>
<pre>http://yourserver/svn/firstrep</pre>
<p>Finally, don&#8217;t forget to use your SVN client to create two folders in the repository, namely &#8220;trunk&#8221; and &#8220;tags&#8221;. Your project should end up under &#8220;trunk&#8221;.</p>
<p>Once up and running, this repository works perfectly with <a href="http://ursecta.com/wp/go.php?http://www.panic.com/coda/" target="_blank" title="(103 hits)">Panic&#8217;s Coda</a>, which is totally able to completely source code control an entire website. If you don&#8217;t know Coda, it&#8217;s a website editor of the text editor kind, not much fancy graphic tools, but it does help with stylesheets and stuff. It&#8217;s for the hands-on developer, you could say. </p>
<p>The way you manage a site in Coda is that you have a local copy of your site, typically a load of PHP files, which are version controlled against the subversion repository, then you upload the files to the production server. Coda keeps track of both the repository server and the production server for each site. The one feature that is missing is a simple way of having staged servers, that is uploading to a test server, and only once in a while copy it all up to the production server. But that can be considered a bit outside of the primary task of the Coda editor, of course.</p>
<p>You could say that if your site isn&#8217;t mission critical, but more of the 200 visitors a month kind, you can work directly against the production server, especially since rolling back and undoing changes is pretty slick using the Coda/subversion combo. But it does require good discipline, good nerves, and a site you don&#8217;t really, truly need for your livelihood. You can break it pretty bad and jumble up your versions, I expect. Plus, don&#8217;t forget, the database structure and contents aren&#8217;t any part of your version control if you don&#8217;t take special steps to accomplish that.</p>
<p>Coda doesn&#8217;t let you access all the functionality of subversion. As far as I can determine, it doesn&#8217;t have provisions for tag and branch, for instance. But it does have comparisons, rollbacks and most of the rest. The easiest way to do tagging would be through the command line. Or possibly by using a GUI SVN client, there are several for OSX. I&#8217;m just in the process of testing the SynchroSVN client. Looks pretty capable, but not all that cheap.</p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2009/11/subversion-server-on-snow-leopard-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The cutest little muscle machine ever</title>
		<link>http://ursecta.com/wp/2009/11/the-cutest-little-muscle-machine-ever/</link>
		<comments>http://ursecta.com/wp/2009/11/the-cutest-little-muscle-machine-ever/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 17:36:05 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX Dev]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/?p=382</guid>
		<description><![CDATA[I got me that brand new Apple Mini with Snow Leopard OSX Server unlimited edition included. This is such an adorable machine, you wouldn&#8217;t believe it. It has everything you can wish for in a server, as far as I can make out after just a couple of hours with it. It&#8217;s super easy to [...]]]></description>
			<content:encoded><![CDATA[<p>I got me <a href="http://ursecta.com/wp/go.php?http://www.apple.com/macmini/server/" target="_blank" title="(76 hits)">that brand new Apple Mini with Snow Leopard OSX Server unlimited edition</a> included. This is such an adorable machine, you wouldn&#8217;t believe it. It has everything you can wish for in a server, as far as I can make out after just a couple of hours with it. It&#8217;s super easy to set up and to monitor. It&#8217;s small, it&#8217;s beautiful, it&#8217;s almost totally noiseless, and seems to use hardly any power. When you feel the case, it&#8217;s just barely warmer than the environment and the same goes for the power supply. When I switch off everything else in the room, I can only hear the server running from less than a meter&#8217;s distance. It seems to produce about the same noise level my 13&#8243; white MacBook does when it&#8217;s just started and perfectly cool. In other words, practically inaudible. Still, it&#8217;s running two 500 Gb drives in there, which I&#8217;ve set up as a mirrored (Raid 1) set.</p>
<p>I&#8217;ll probably brag about this system some more once I get to know it better. But meanwhile, it&#8217;s the nicest computer purchasing experience I&#8217;ve ever had. Except for the Mac Pro. And the MacBook. And the iMac, of course. And the iPhone. And Apple TV.</p>
<p><img class="aligncenter size-full wp-image-385" title="server_dimensions_20091020" src="http://ursecta.com/wp/wp-content/uploads/2009/11/server_dimensions_20091020.jpg" alt="server_dimensions_20091020" width="207" height="142" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2009/11/the-cutest-little-muscle-machine-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s up with Snow Leopard and file sizes?</title>
		<link>http://ursecta.com/wp/2009/10/whats-up-with-snow-leopard-and-file-sizes/</link>
		<comments>http://ursecta.com/wp/2009/10/whats-up-with-snow-leopard-and-file-sizes/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 11:12:02 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[OSX Dev]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/?p=330</guid>
		<description><![CDATA[Yes, I know Snow Leopard changed the way they calculate file and volume sizes, but what I&#8217;m seeing here is too weird to be explained by that. I&#8217;ve got a few image files in a folder on my desktop and the filesizes I&#8217;m seeing with ls -al is: Now watch the png file sizes when [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I know Snow Leopard changed the way they calculate file and volume sizes, but what I&#8217;m seeing here is too weird to be explained by that. I&#8217;ve got a few image files in a folder on my desktop and the filesizes I&#8217;m seeing with <em>ls -al</em> is:</p>
<p><img class="alignnone size-full wp-image-332" title="583" src="http://ursecta.com/wp/wp-content/uploads/2009/10/5831.jpg" alt="583" width="329" height="143" /></p>
<p>Now watch the png file sizes when I look at it using Finder:</p>
<p><img class="alignnone size-full wp-image-337" title="584" src="http://ursecta.com/wp/wp-content/uploads/2009/10/5841.jpg" alt="584" width="501" height="191" /></p>
<p>Oops&#8230; WTF was that??! A display bug! Let&#8217;s try again after juggling the column widths so the selection bar straightens itself out again:</p>
<p><img class="alignnone size-full wp-image-334" title="585" src="http://ursecta.com/wp/wp-content/uploads/2009/10/585.jpg" alt="585" width="327" height="181" /></p>
<p>Just to be sure, I opened up the info panel on the first file:</p>
<p><img class="alignnone size-full wp-image-335" title="586" src="http://ursecta.com/wp/wp-content/uploads/2009/10/586.jpg" alt="586" width="287" height="217" /></p>
<p>Yes, truly, here it says 109,207 bytes while<em> ls -al</em> says 15,843 bytes for the same file. And yes, I&#8217;ve checked and double checked and triple checked, I do indeed look at the same file. Doing a spotlight search also only returns one image. Uploading the image to a webserver and checking through Transmit shows the 15k size. Here it is, the file, from a webserver: <a href="http://ursecta.com/wp/go.php?http://vard-it.com/images/20091019/interaktioner1.png" title="(67 hits)">http://vard-it.com/images/20091019/interaktioner1.png</a>, so you can check for yourself.</p>
<p><em>So why is Finder reporting a size value seven times larger?</em></p>
<p><strong>Update</strong> a little later: yes, I used the<em> ls -al@ </em>to find the resource fork and that is what is making the difference. Maybe Finder should have the option of showing that separately at least in the inspector? Maybe I should read the man pages before posting? Maybe I should wonder what exactly are in those resources? Maybe I should just shut up and crawl under a rock?</p>
<p><strong>Yet another update</strong>: I used <a href="http://ursecta.com/wp/go.php?http://www.suavetech.com/" target="_blank" title="(62 hits)">0xED</a> to look into the file and the fork. The fork is full of Adobe info, since I used Photoshop CS4 to convert from a BMP to PNG. And, obviously, when uploading the image using <a href="http://ursecta.com/wp/go.php?http://www.panic.com/" target="_blank" title="(59 hits)">Transmit</a>, that fork is stripped off. Well, now I know that Photoshop saves a load of info in a resource fork, possibly including  info I don&#8217;t want them to save. Can&#8217;t see any obvious way of excluding that in the Photoshop save dialog box. So take care when passing on images to others that you strip off the resource fork first. Somehow.</p>
<p><strong>Update about &#8220;Somehow&#8221;</strong>, this is how to do it: create an empty file, copy it over the resource fork, then delete the empty file. Like so, in terminal:</p>
<p><img class="alignnone size-full wp-image-344" title="588" src="http://ursecta.com/wp/wp-content/uploads/2009/10/588.jpg" alt="588" width="287" height="84" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2009/10/whats-up-with-snow-leopard-and-file-sizes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Anything but games are illegal?</title>
		<link>http://ursecta.com/wp/2009/08/anything-but-games-are-illegal/</link>
		<comments>http://ursecta.com/wp/2009/08/anything-but-games-are-illegal/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 16:28:37 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX Dev]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/?p=267</guid>
		<description><![CDATA[I&#8217;m having this most surrealistic dialog with a very agreeable iTunes support person, about invoicing. The thing is I bought a few apps from the iTunes app store, among which Omni Focus for the iPhone, but the invoice (or &#8220;receipt&#8221;) I got from Apple doesn&#8217;t mention sales tax at all. Just the net amount in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m having this most surrealistic dialog with a very agreeable iTunes support person, about invoicing. The thing is I bought a few apps from the iTunes app store, among which Omni Focus for the iPhone, but the invoice (or &#8220;receipt&#8221;) I got from Apple doesn&#8217;t mention sales tax at all. Just the net amount in Swedish crowns. It is, however, correctly addressed to my company.</p>
<p>As practically anyone realizes, this is super weird and means I can&#8217;t recover the sales tax when I enter this document into my accounting. So I wrote to iTunes support and asked for a correct invoice. The ensuing conversation follows (I took out the name of the iTunes representative).</p>
<p><span id="more-267"></span></p>
<blockquote><p><em>Hi,</em></p>
<p><em>I got this invoice through email but there is no mention of VAT.<br />
Since the invoice is Swedish, there ought to be VAT (MOMS) and IT<br />
MUST BE SPECIFIED! I can&#8217;t use this invoice in my accounting like<br />
this. I&#8217;m buying on a company account, which is clear from my<br />
account info.</em></p>
<p><em>What do I do now?</em></p>
<p><em>Thx<br />
&#8211; Martin</em></p></blockquote>
<p>Reply 1:</p>
<blockquote><p><em>Dear Martin,</em></p>
<p><em>I understand you are concerned as to why your email receipt for an<br />
iTunes Store purchase does not summarize the amount of tax you paid<br />
on the purchase.  You require this information due to purchasing<br />
this music on a company account.</em></p>
<p><em>I am sorry that the receipt is not completely to your requirements,<br />
however The iTunes Store sells only to customers as end-users for<br />
personal, noncommercial use in their respective countries of<br />
residence.   The amount you see on your receipt is a total<br />
(including tax) with this purpose in mind.</em></p>
<p><em>For more information, you can review the iTunes Store Terms and<br />
Conditions:</em></p>
<p><em>http://www.apple.com/legal/itunes/ww</em></p>
<p><em>I apologize for any inconvenience this has caused you Martin.</em></p>
<p><em>Regards,</em></p>
<p><em>D<br />
iTunes Store Customer Support</p>
<p>http://www.apple.com/support/itunes/ww/</em></p></blockquote>
<p>My response:</p>
<blockquote><p><em>D&#8230;.,</em></p>
<p><em>Ok, so you officially claim that iTunes Store products are NOT for<br />
commercial use??! THAT is an interesting observation, if I&#8217;ve ever<br />
seen one. Especially since I&#8217;m developing commercial applications for<br />
the iTunes store! Oh, boy, is this going to be an interesting article&#8230;</em></p>
<p><em>But may I also point you to the Swedish law, if that is of any<br />
consequence to you?</em></p>
<p><em>http://www.skatteverket.se/skatter/mervardesskattmoms/sarskilt/faktureringsregler.4.18e1b10334ebe8bc80001420.html#Vadskaframgaavenfaktura</em></p>
<p><em>The above is a page on the Swedish tax department page that says in<br />
detail what MUST be part of a receipt, and VAT/MOMS is one of those<br />
REQUIRED details.</em></p>
<p><em>So, please, D&#8230;.., don&#8217;t brush me off. Take this higher, pronto. I<br />
want a better answer than what you just provided me with. I&#8217;m<br />
certainly not going to settle for that.</em></p>
<p><em>Regards,</em></p>
<p><em>&#8211; Martin<br />
</em></p></blockquote>
<p>His response:</p>
<blockquote><p><em>Martin,</em></p>
<p><em>D&#8230;.., here again from iTunes.   Thank you for writing back to me.   Although I do understand your concern here, I want you to know that before I responded to you I spoke to my supervisors and again this morning with regards to your issue.</em></p>
<p><em>Again the response is the same.  Purchases from the iTunes Store are for non commercial purposes only (as referenced in the usage section of the terms of sale).  Although I do realize you may be working on projects for Apple, this does not change the fact that the items sold on the iTunes Store can only be used for personal reasons.</em></p>
<p><em>I wish that I could help you further here Martin, but keep in mind that Apple does not own the content that we distribute.   We are selling on behalf of our content providers, and the specific terms of your agreement with Apple when purchasing from the iTunes Store is that the content may not be used for commercial purposes (even if you are working on projects for us).  Thus, any attempts to claim your purchases for tax reasons would be in violation of the terms of sale.</em></p>
<p><em>Again Martin, please accept my apologies.</em></p>
<p><em>Regards,</em></p>
<p><em>D&#8230;&#8230;<br />
iTunes Store Customer Support</p>
<p>http://www.apple.com/support/itunes/ww/</em></p></blockquote>
<p>My response today:</p>
<blockquote><p><em>D&#8230;..,</em></p>
<p><em>Yes, but you&#8217;re avoiding my two main arguments. One is that I&#8217;m developing business applications, while you&#8217;re telling me that you don&#8217;t sell applications for business use. So I can&#8217;t sell my applications on the app store. Right? It&#8217;s only for games, right? How come you seem to approve applications that are clearly intended to help with accounting, time management, or even professional health care apps, like what your own VP Forrestal bragged about during a keynote? These applications are clearly against your own policy and should never be approved for distribution.</em></p>
<p><em>So, tell me again, why should I bother developing professional applications? Just to have them refused on policy grounds, because they&#8217;re not games?</em></p>
<p><em>Secondly, Swedish law requires you to specify sales tax, REGARDLESS of if you sell to a business or a private person. You didn&#8217;t answer this one either.</em></p>
<p><em>Regards,</em></p>
<p><em>&#8211; Martin</em></p></blockquote>
<p>Yes, I did check the Apple iTunes store policy on the Swedish site, and sure enough, it says they only sell for &#8220;end-user&#8221; consumption and not for business purposes. This seems to preclude most of the things one would use the iPhone application platform for. Very, very strange. It seems as if D&#8230;. is thinking I&#8217;m buying music on a company account, which would be weird, I admit, but that&#8217;s not what I&#8217;m doing. I&#8217;m buying business apps on a company account, but the iTunes policy makes no allowance for anything but music and games, it seems.</p>
<p><strong>Update: </strong>I very quickly got this response from D&#8230;:</p>
<blockquote><p><em>Hey Martin,</em></p>
<p><em>D&#8230;.., here again from iTunes.   You make some good arguments here Martin, but I really am sorry that as a 1st level representative there is little myself, or my supervisors can to to alter the way the receipts are sent out, or make any adjustments to our terms of sale to suit individual needs.</em></p>
<p><em>Please know that I do understand how this may feel frustrating to you.   I have felt the same way before in similar circumstances.  I have found in situations like this that voicing your opinion is a good way to get the &#8220;ball rolling&#8221;.</em></p>
<p><em>Please note that Apple does take the feedback from our customers very seriously.  This is the reason for our feedback page &#8211; to create a forum where our users can vent, praise or share whatever feelings they have to allow us to meet your needs, and grow as a company.</em></p>
<p><em>I would encourage you to share this link with all of your friends and family who wish to see the changes you require, and have them all submit the same request.</em></p>
<p><em>Here is that link for you.</em></p>
<p><em>http://www.apple.com/feedback/itunesapp.html</em></p>
<p><em>I know it can seem like a straight feedback link will yield no results so I will also invite you to check out the following link. This is a letter from Apple&#8217;s CEO addressing customers who purchased an iPhone very early on at $599, then the price was reduced to $399 shortly after.   Mr. Jobs heard our customers and Apple responded accordingly.</em></p>
<p><em>http://www.apple.com/hotnews/openiphoneletter/</em></p>
<p><em>I hope that you will consider sharing your thoughts on the feedback page.</em></p>
<p><em>Regards,</em></p>
<p><em>D&#8230;..<br />
iTunes Store Customer Support</p>
<p>http://www.apple.com/support/itunes/ww/</em></p></blockquote>
<p>Now, that&#8217;s a great idea! I&#8217;ll do that. I hope others will as well. This is what I sent in through the feedback page:</p>
<blockquote><p><em>Hi,</em></p>
<p><em>After purchasing a professional app from the app store (OmniFocus) I received a receipt without Swedish VAT specified. When I complained to the iTunes support, I was told that the iTunes store, by policy, only sells non-business applications for non-business purposes to private persons, and does not allow any professional use. Which explains why receipts don&#8217;t specify VAT so they can&#8217;t easily be used for accounting purposes. I checked you policies and sure enough, you don&#8217;t allow business apps.</em></p>
<p><em>Now, this is clearly absurd. Many people like me buy apps for business purposes from the iTunes app store and many organizations like mine do or plan to develop business applications for the iPhone.</em></p>
<p><em>In other words, your policy and sales both effectively stop us from both buying and selling business related software for the iPhone. This can&#8217;t possibly be your intention, or is it? Especially since Scott Forrestal demoed a number of clearly business oriented apps in his keynotes. This makes no sense!</em></p>
<p><em>You&#8217;ll find the details on my blog, with a copy of the email exchange I had with your support:</em></p>
<p><em>http://ursecta.com/wp/2009/08/anything-but-games-are-illegal/</em></p>
<p><em>Regards,</em></p>
<p><em>&#8211; Martin</em></p>
<p><em>PS: this feedback form requires me to check all the things I use iTunes for, but nowhere do you mention anything related to the app store. Don&#8217;t you even know it exists?</em></p>
<p><em><br />
</em></p>
<p><em><br />
</em></p></blockquote>
<p>Update: <a title="The Register article (286 hits)" href="http://ursecta.com/wp/go.php?http://www.theregister.co.uk/2009/08/24/iphone_apps_not_for_business/" target="_blank">The Register picked up the story</a>, as did an Italian site and a few others. If you want <a title="The story in Italian (3 hits)" href="http://ursecta.com/wp/go.php?http://www.setteb.it/news-App-Store-la-dose-è-solo-per-uso-personale-2009-08-24-007070.xhtml" target="_blank">the story in Italian: setteB.IT</a><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2009/08/anything-but-games-are-illegal/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>The end of .NET? I can&#8217;t wait.</title>
		<link>http://ursecta.com/wp/2008/12/the-end-of-net-i-cant-wait/</link>
		<comments>http://ursecta.com/wp/2008/12/the-end-of-net-i-cant-wait/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 13:43:54 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Dotnet]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX Dev]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/?p=167</guid>
		<description><![CDATA[Ok, I admit, that title is a bit over the edge, but still that is how I feel. Developing for .NET is increasingly becoming not fun and far too expensive. The only reason to do it is because customers expect products for .NET, but under slowly increasing pressure from developers, that is going to change. [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I admit, that title is a bit over the edge, but still that is how I feel. Developing for .NET is increasingly becoming not fun and far too expensive. The only reason to do it is because customers expect products for .NET, but under slowly increasing pressure from developers, that is going to change. It may take a while, but it will happen. There are a number of reasons for this.</p>
<p>.NET development is single platform. Admittedly the largest platform, but a platform that is increasingly having to share the market with other platforms. And already, according to some, there&#8217;s more sales potential for small developers in the OSX market than in the Windows market, due to a number of factors like customers that are more willing to buy and to pay for software, less competition in each market segment, etc.</p>
<p>.NET development is also entirely dependent on Microsoft&#8217;s development tools and those are increasingly expensive. For reasonable development, you need an IDE, a good compiler, version control, bug handler, coverage analysis, profiling, and a few more. We used to have most of that in the regular Visual Studio, but recently MS has removed all the goodies and plugged them into the Team system only, which carries an obscene pricetag (in Sweden around USD 13,000 + VAT for the first year&#8230;). This means that a regular one-man development shop can barely afford the crippled Visual Studio Professional at USD 1,500 for the first year. Sadly, there aren&#8217;t even any decent and affordable third party products to complement the VS Pro so it becomes a &#8220;real&#8221; development suite. And with every version of Visual Studio this only gets worse. More and more features are added to the Team suite and removed from the Pro. This is not the way to breed a happy following.</p>
<p>Meanwhile, OSX comes with XCode, which is almost as good as Visual Studio Pro, and is free. Objective-C is also a much more modern language with more depth than any .NET language, even though it is actually older. But, sadly, it&#8217;s not cross platform either and I don&#8217;t see how you can get the Windows fanboys of the Scandiavian healthcare scene to even consider another platform. Same probably goes for most other industries.</p>
<p>I&#8217;m no fan of Java, but on the other hand I&#8217;ve never worked much with it so that opinion doesn&#8217;t count. Eclipse, the IDE often used for Java development, is cross platform, very capable, and open for other languages such as Python, Flex, and many more. Yes, I know, in theory so is Visual Studio, but how many real languages do you have there? You&#8217;ve got one: Basic, masquerading as C#, J#, and, um, Basic.</p>
<p>Using Eclipse on any platform, you&#8217;ve got a real good chance of covering the line of tools you need, profilers, coverage, version control, without much pain and without breaking the bank. And you can write crossplatform integrated larger systems.</p>
<p>So, I guess it&#8217;s time to bite the bullet. I really like XCode and OSX, I really know C# and .NET, but I really only believe in Java, Flex, Python, Perl, C++ under Eclipse for enterprise development in vertical markets. And in XCode under OSX for regular shrinkwrapped desktop apps.</p>
<p>Not even Silverlight is very attractive and that is largely due to the marketing and pricing of the tools for it. A small developer organisation can&#8217;t afford it. Flex and AIR looks like serious contenders, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2008/12/the-end-of-net-i-cant-wait/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mac Vista</title>
		<link>http://ursecta.com/wp/2008/02/mac-vista/</link>
		<comments>http://ursecta.com/wp/2008/02/mac-vista/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 13:29:04 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[OSX Dev]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/2008/02/mac-vista/</guid>
		<description><![CDATA[Since I have both Parallels and Fusion running, I found it useful to try out Vista under Fusion. According to tests, Vista runs better under Fusion, while Parallels&#8217; forte is XP. No, I haven&#8217;t verified that, I&#8217;m entirely happy assuming those tests are right. Windows Vista is kinda pretty, even though I don&#8217;t see any [...]]]></description>
			<content:encoded><![CDATA[<p>Since I have both <a href="http://ursecta.com/wp/go.php?http://www.parallels.com/en/products/desktop/" target="_blank" title="(38 hits)">Parallels</a> and <a href="http://ursecta.com/wp/go.php?http://www.vmware.com/products/fusion/" target="_blank" title="(38 hits)">Fusion</a> running, I found it useful to try out Vista under Fusion. <a href="http://ursecta.com/wp/go.php?http://www.mactech.com/articles/mactech/Vol.24/24.02/VirtualizationBenchmark/" target="_blank" title="(47 hits)">According to tests</a>, Vista runs better under Fusion, while Parallels&#8217; forte is XP. No, I haven&#8217;t verified that, I&#8217;m entirely happy assuming those tests are right.</p>
<p>Windows Vista is kinda pretty, even though I don&#8217;t see any aqua or aero effects, or whatever they&#8217;re called. (<a href="/images/20080221/090.jpg" target="_blank">Here&#8217;s a full size view</a> on how it looks while it is huffing and puffing its way through the initial 49 updates of the OS.)</p>
<p>But, even the Mac Pro I&#8217;m running now, with its 8 Gb of RAM is starting to page out when I&#8217;m running Vista. Admittedly, I&#8217;m running a few more things at the same time&#8230;</p>
<p><img src="/images/20080221/091.jpg" title="task bar, pretty full" alt="task bar, pretty full" height="22" width="401" /></p>
<p>&#8230; as you can see. Two XPs (1 Gb, resp 768 Mb) are running, Photoshop, Transit, the Fusion with Vista (1 Gb), Skype, Safari, OmniFocus, Mail, NeoOffice Writer, iTunes, Preview, Transit, and Activity monitor. As you can see on the activity pie chart, there&#8217;s just a gig of blue and nothing green to be seen. I guess the next move will be to fill&#8217;er up to 16 Gb of RAM, and if that&#8217;s not enough, I have to go to 32 Gb, which this machine is supposed to handle. I&#8217;m sooo spoiled&#8230;</p>
<p>Just like on OSX, I just now created a separate admin account and changed my regular account from admin status to &#8220;standard&#8221;. I&#8217;m very curious to see if it&#8217;s workable. While running as admin, I got a deluge of &#8220;Please approve this action&#8221; dialog boxes. Let&#8217;s see what happens if I&#8217;m not an admin and I try to install <a href="http://ursecta.com/wp/go.php?http://www.openoffice.org" target="_blank" title="(39 hits)">Open Office</a>.</p>
<p>First, it blocked the download, warned me about the dangers of the internet, but it&#8217;s easy enough to approve it and proceed. Then it warned me about the installation program being unsigned, fair enough. Then it asked me for an admin logon to install the program (perfect!). And then the installation threw up an error box:</p>
<p><img src="/images/20080221/092.jpg" title="Failed Open Office installation" alt="Failed Open Office installation" height="327" width="433" /></p>
<p>Did a quick Google and didn&#8217;t find anything about this error (&#8220;Wrapper.CreateFile failed with error 123&#8243;). Interestingly, after clicking &#8220;OK&#8221;, the installation proceeded, where I would have expected it to abort, rewarding me with:</p>
<p><img src="/images/20080221/093.jpg" title="Installation Completed dialog box" alt="Installation Completed dialog box" height="309" width="402" /></p>
<p>And, hey, it seems to work! Ok, so far so good under a limited user account. That is definitely good news.</p>
<p>Next little test, let&#8217;s open Task Manager:</p>
<p><img src="/images/20080221/094.jpg" title="Task manager" alt="Task manager" height="366" width="333" /></p>
<p>No problem, up it comes. Fine. Now let&#8217;s click &#8220;Resource Monitor&#8221;, which I know only admins can use:</p>
<p><img src="/images/20080221/095.jpg" title="Needs permission" alt="Needs permission" height="292" width="353" /></p>
<p>Darn it, I&#8217;m bloody impressed! Instead of having to do that cumbersome &#8220;RunAs&#8230;&#8221; stuff, Vista does exactly what OSX does, asks for admin credentials (it even put in the right admin user name, which I rubbed out with a bit of yellow mud just above the password prompt). And up comes the resource monitor.</p>
<p>Phew, never thought I&#8217;d have to say I like this very limited first look at Vista after what I&#8217;ve heard about it. I think I&#8217;ll keep exploring it.</p>
<p>Now, let&#8217;s look at what Vista sees as the underlying machine, that is what Fusion pretends to be:</p>
<p><img src="/images/20080221/096.jpg" title="Basic info about computer" alt="Basic info about computer" height="427" width="504" /></p>
<p>It sees a dual 64 bit processor and 1 Gb of RAM. Nice. If you look at the very bottom you see a new MS policy of automatically activating the OS, instead of letting the user do it. Normally I wouldn&#8217;t care, but if you&#8217;re running MSDN copies, you should be aware of this, since you often don&#8217;t want to waste activations on every installation you do. Vista isn&#8217;t going to wait for you to approve if I interpret that statement correctly. (I&#8217;ll wait and see if it goes ahead without asking or not after another three days, will keep you updated about it.)</p>
<p>So, what about the &#8220;Windows Experience Index&#8221;? It says &#8220;1.0&#8243; here, can&#8217;t be lower than that. Hm. Better check out the details:</p>
<p><img src="/images/20080221/097.jpg" title="Windows Experience details" alt="Windows Experience details" height="360" width="448" /></p>
<p>Ah, now I see, the overall rating is equal to the lowest rating, which I got for gaming graphics. I have enabled &#8220;3D graphics&#8221; but I get no aero. I think Fusion doesn&#8217;t support Aero yet, but I couldn&#8217;t find anything on the web to confirm that, so I may be wrong. Apart from that, I find the above scores pretty impressive. Vista, at first blush, seems useable on this machine, not too sluggish, but then nothing is sluggish on this setup, really.</p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2008/02/mac-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parallels or Fusion?</title>
		<link>http://ursecta.com/wp/2008/02/parallels-or-fusion/</link>
		<comments>http://ursecta.com/wp/2008/02/parallels-or-fusion/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 20:19:33 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[OSX Dev]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/2008/02/parallels-or-fusion/</guid>
		<description><![CDATA[Way back when, I used to use VMware desktop on my Dell for development. When I switched to the Mac, I naturally selected Parallels desktop to let me run Windows instances under OSX. A couple of days ago I was offered a review license for VMware Fusion, so I tried it out to see if [...]]]></description>
			<content:encoded><![CDATA[<p>Way back when, I used to use VMware desktop on my Dell for development. When I switched to the Mac, I naturally selected <a href="http://ursecta.com/wp/go.php?http://www.parallels.com/en/products/desktop/?from=homepage" target="_blank" title="(30 hits)">Parallels desktop</a> to let me run Windows instances under OSX. A couple of days ago I was offered a review license for <a href="http://ursecta.com/wp/go.php?http://www.vmware.com/products/fusion/" target="_blank" title="(38 hits)">VMware Fusion</a>, so I tried it out to see if it&#8217;s better than Parallels, even though I actually have very few complaints about Parallels.</p>
<p>So what I&#8217;m comparing here is Parallels Desktop 3.0 for Mac and VMware Fusion 1.1.1. My comparison isn&#8217;t in any way exhaustive, just a first impression after a few days of use and for a fairly limited application, namely software development and backups and stuff.</p>
<p><img src="/images/20080211/081.jpg" title="Parallels about" alt="Parallels about" height="200" width="170" /><img src="/images/20080211/080.jpg" title="VMware Fusion about" alt="VMware Fusion about" height="137" width="118" /></p>
<p>The machine I&#8217;m running these guys on is my brand new Mac Pro with dual quadcore Xeons at 2.8 GHz and 8 Gb of RAM. On this machine it&#8217;s hard to have any software perform poorly, so I wouldn&#8217;t be able to detect much in the way of inefficiencies, if there are any. Nice for me, but it hobbles my advice somewhat. For details on the machine, see my <a href="http://ursecta.com/wp/go.php?http://ursecta.com/wp/2008/02/mac-xp-some-stuff-arrives/" title="(28 hits)">earlier entries</a> on &#8220;Mac XP&#8221;.</p>
<p>I&#8217;m running an old Win 2000, and two instances of Windows XP under Parallels. One XP is equipped with MS SQL Server developer&#8217;s edition and Visual Studio 2005, while the other one harbours Visual Studio 2008. They have 1 Gb resp. 768 Mb of RAM allocated in Parallels. The Win 2000 has just 512 Mb, but I don&#8217;t use that one much.</p>
<p>For this comparison, I created a third Win XP and gave it 512 Mb of RAM. I plan on using this VM as a &#8220;utility VM&#8221;, containing stuff like backup software. The first thing I installed in it was <a href="http://ursecta.com/wp/go.php?http://www.emcinsignia.com/en/products/homeandoffice/retroforwindows/" target="_blank" title="(39 hits)">Retrospect 7.5 for Windows</a> that came bundled with my <a href="http://ursecta.com/wp/go.php?http://www.netgear.com/Products/Storage/ReadyNASNVPlus.aspx" title="Netgear ReadyNAS (41 hits)" target="_blank">Netgear ReadyNAS+</a> (5 clients included) and then I purchased and added a further 5 client licenses. So it can now backup 10 clients, mixed Mac OSX and Win clients.</p>
<p>It turns out that Fusion is a pretty good choice for this &#8220;utility&#8221; VM, since it allows me to allocate 2 virtual CPUs. Retrospect does exploit multiple CPUs if you have them, so this allows Retrospect to use two of the eight cores I have in the machine. Parallels would limit Retrospect to just one core.</p>
<p><img src="/images/20080211/085.jpg" title="Retrospect" alt="Retrospect" /></p>
<p>Running Retrospect in one of the other XP VMs would make that VM go very slowly. All it&#8217;s activities would be limited to one core on the Mac and I would have a nasty time of working in Visual Studio in the same VM at the same time. Having Retrospect run on two cores in its own VM allows me to work in the other VMs without noticing any slowdown at all. It&#8217;s great! In all fairness, running Retrospect in a Parallels VM would have had the exact same result, except Retrospect would have run slightly slower.</p>
<p>I&#8217;m usually writing quite a bit of multithreaded code, making it practically necessary to run on a multiprocessor to avoid subtle bugs. That would seem to mandate Fusion. But I don&#8217;t know how fully it emulates two CPUs. Does it interrupt right in the middle of memory accesses like a true multiprocessor machine would do, or is it more civilized than that? The lack of documentation about this is a problem, just like for hyperthreaded CPUs. In both these cases, it&#8217;s very unclear how close they mimic a true multiprocessor machine.</p>
<p>As far as simply running most software, I think both these products do a grand job. I&#8217;ve not encountered any problems with either, but remember I&#8217;ve done much more on Parallels than on Fusion. The network setups are also practically identical with choices for host sharing, bridged, and host only. The intricate and flexible network configurations we see in VMware&#8217;s Windows product aren&#8217;t found in Fusion (yet). What&#8217;s also lacking is a decent snapshot management in Fusion. You can take snapshots and revert, but there&#8217;s no management of multiple snapshots like in the Windows product or in Parallels.</p>
<p><strong>Miserable keyboard handling</strong></p>
<p>Now for my real beef with both of these products: the keyboard. Obviously, most keystrokes should be passed on to the virtual machine, some should be converted, and some intercepted and sent to the host OS. Both these products have made a mess of this even though it ought to be simple to get right.</p>
<p>In Parallels, the command and control keys swap nicely on the left side of the keyboard while remaining unswapped on the right side. Kinda confusing, but I don&#8217;t mind getting used to it. But function keys is a real problem. Sometimes I succeed in getting them through to the VM using different combinations of command and control or something, then I can&#8217;t remember exactly what I did. It also varies according  exactly which function keys we&#8217;re talking about. The function keys that have predefined uses for dashboard, exposé, and similar, behave differently from other function keys. Parallels does have a menu where one can select magic key combinations to send to the VM, but it would have been great to have these keystrokes pass right through under their own steam, so to speak. Having to select function keys from a menu is good for once or twice, but get&#8217;s old real quick. This is how it looks under the &#8220;Actions&#8221; menu in Parallels:</p>
<p><img src="/images/20080211/083.jpg" title="The Actions menu" alt="The Actions menu" height="465" width="367" /></p>
<p>Under VMware, there&#8217;s a setting in the &#8220;Preferences&#8221;, which means that it is the same for all VMs under VMware:</p>
<p><img src="/images/20080211/082.jpg" title="Preferences in VMware" alt="Preferences in VMware" height="263" width="441" /></p>
<p>As you can see, there&#8217;s a single checkbox &#8220;Enable Mac OS keyboard shortcuts&#8221; and it works admirably. A little too admirably, in fact. Once you deselect it, all keystrokes go to the VM, including command-tab. Now there&#8217;s no point in passing command-tab to the VM since Windows doesn&#8217;t know what a command key is. But it makes sure I can&#8217;t easily switch between apps on the Mac. This is ridiculous, since Windows reacts to alt-tab, so they could just as well left command-tab for OSX. The new Mac keyboards also have a special &#8220;Fn&#8221; key where the useless &#8220;Help&#8221; key used to be. That ought to be exploited by Parallels and Fusion somehow, but isn&#8217;t.</p>
<p>I don&#8217;t know which of the systems, Parallels or VMware, got the key settings most wrong; it&#8217;s a close call. To me it&#8217;s obvious they really could spend a little effort in getting this right, since it&#8217;s the one thing that makes working with VMs hard; everything else is almost perfect.  Having options allowing <em>all </em>keystrokes to pass to the VM except <em>command-tab</em> and possibly <em>control-space</em> (which I use for QuickSilver), would be absolutely great. Allow the user to freely define another couple of magic combinations that should not pass to the VM, and you&#8217;re set.</p>
<p><strong>Converting: defeated by Mickeysoft</strong></p>
<p>Both products are able to convert a VM from the other product to its own system. Both of them take forever to do it, but seem to do a good job of it, ultimately. But Windows isn&#8217;t happy about it, since it sees the conversion as a move to another machine and then insists on needing a new activation. Just to be a real PITA, Windows only gives you three days to reactivate, if it was already activated. Considering that you get 60 days to activate (for the MSDN version of XP), you are actually severely punished for having activated your XP in the first place before the conversion. How very nice of MS. Actually, WGA being what it is, it&#8217;s not a good idea to convert Windows installations from Parallels to VMware or vice versa at all. Actually, if you can avoid activating at all, that&#8217;s even better, but it limits you to 60 days per setup.</p>
<p><strong>Dock difference</strong></p>
<p>Parallels shows an actual live image of the VMs screen in the dock and in the task switcher, so even though a VM is hidden behind a stack of other apps, I can keep an eye on the dock icon and see if some compile has finished or a dialog box is waiting for input:</p>
<p><img src="/images/20080211/087.jpg" title="Parallels dock icon" alt="Parallels dock icon" height="152" width="311" /></p>
<p>Fusion, on the other hand, just shows a Fusion logo, missing an opportunity to display something useful:</p>
<p><img src="/images/20080211/088.jpg" title="Fusion dock icon" alt="Fusion dock icon" height="152" width="311" /></p>
<p><strong>Conclusion</strong></p>
<p>My current conclusion is that both products are great and work just fine. Both need serious work in the keyboard handling. Fusion has dual CPUs, a major advantage, especially on a multicore machine. Parallels has better snapshot handling and really useful dock icons.</p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2008/02/parallels-or-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parental controls done right</title>
		<link>http://ursecta.com/wp/2008/02/parental-controls-done-right/</link>
		<comments>http://ursecta.com/wp/2008/02/parental-controls-done-right/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 16:17:20 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[OSX Dev]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://ursecta.com/wp/2008/02/parental-controls-done-right/</guid>
		<description><![CDATA[Just gave my iMac to my 6 year old daughter, so I got a chance to explore the parental controls in Leopard. Which is why I gave her this machine in the first place. Now, this stuff is done right all the way. First, having a limited user account on a Mac is not a [...]]]></description>
			<content:encoded><![CDATA[<p>Just gave my iMac to my 6 year old daughter, so I got a chance to explore the parental controls in Leopard. Which is why I gave her this machine in the first place.</p>
<p>Now, this stuff is done right all the way.<img src="/images/20080210/076.jpg" title="Parental controls logo" alt="Parental controls logo" align="right" height="152" width="155" /></p>
<p>First, having a limited user account on a Mac is not a problem for anything, which is a major first step. Then I set up her account to have &#8220;parental controls&#8221;, which is just a checkbox to click. Then I used system preferences on *my* Mac Pro, went to Parental controls, saw her machine with her account listed and logged in twice, once as admin on my machine, once as admin on hers.</p>
<p>After that, I can select, one by one, the apps she can use. For Safari, I can enter the websites she can access (I can approve new sites on the fly on her machine using my password, for that once or permanently). For iChat I can set which users she can chat with, except I simply disabled it for now. For Mail, I can set which email addresses she can write to and receive from.</p>
<p><img src="/images/20080210/078.jpg" title="Selecting allowed apps" alt="Selecting allowed apps" height="423" width="371" /></p>
<p>Interestingly, if she receives mail from an unapproved mail address, it&#8217;s redirected to my account and my Mac Mail shows me the email and asks me if this source is allowed to write to her. If I approve, inside Mac Mail, the address is added to her list of approved emails and she gets the mail in the next round. Same thing if she writes a mail to an unapproved address, she gets a popup saying it&#8217;s not approved and gives her the choice of asking for permission. If she does, I get the mail and again get the chance to approve it or decline.</p>
<p>I can also set how many hours per day she can use the machine. <em>(Buggy, see update below.)</em> One setting for weekdays, another for weekends, and there is even a setting for excluded hours, for instance after bedtime.</p>
<p><img src="/images/20080210/079.jpg" title="Hours per day setting" alt="Hours per day setting" height="423" width="371" /></p>
<p>Lastly, a very complete logging. Every app she used, number of times and for how long, plus date and time. Every website visited, including the URL parameters, so I can, from my own machine, see exactly *which* videos she watched on YouTube, for instance.</p>
<p><img src="/images/20080210/077.jpg" title="Log of URLs" alt="Log of URLs" height="423" width="371" /></p>
<p>Not everything is as totally controlled, for instance Skype is an allow/decline kind of thing. I can&#8217;t lock down who she adds, but I sure can check visually every now and then. If I&#8217;d excluded Skype and only allowed iChat, I would have had total control, but I can&#8217;t expect everyone to go get a Mac. Not just quite yet, anyway.</p>
<p>There&#8217;s just one thing missing and that is that I don&#8217;t get copies of all her email. But OTOH, that would be too intrusive, I think, especially since she can&#8217;t receive or send to anyone I haven&#8217;t already approved.</p>
<p>I&#8217;m amazed at how simple and well done this is in Leopard. Not really a surprise, but still. To me it&#8217;s worth giving her the iMac, just for this one thing.</p>
<p><em>Update on Feb 13, 2008: the time limits on use seem to only work intermittently and are thus unreliable. Depending on use they may not kick in. To my daughter&#8217;s delight, she seems able to keep watching YouTube videos forever, regardless of settings. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://ursecta.com/wp/2008/02/parental-controls-done-right/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
