<?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>Rickard Andersson</title>
	<atom:link href="http://rickardandersson.com/feed" rel="self" type="application/rss+xml" />
	<link>http://rickardandersson.com</link>
	<description>The general consensus among clients is that they are your only client.</description>
	<lastBuildDate>Mon, 29 Jun 2009 11:31:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Whine about your Mac</title>
		<link>http://rickardandersson.com/whine-about-your-mac</link>
		<comments>http://rickardandersson.com/whine-about-your-mac#comments</comments>
		<pubDate>Tue, 02 Jun 2009 18:30:08 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=304</guid>
		<description><![CDATA[One of my favorite podcasts, MacBreak Weekly, used to include a segment called Mac whines. This was the part of the podcast where the otherwise extremely pro-Mac cast got to whine about stuff they didn&#8217;t like regarding Macs, iPods, iPhones and other Apple products. It&#8217;s been a while since the last Mac whine segment was [...]]]></description>
			<content:encoded><![CDATA[<p>One of my favorite podcasts, MacBreak Weekly, used to include a segment called Mac whines. This was the part of the podcast where the otherwise extremely pro-Mac cast got to whine about stuff they didn&#8217;t like regarding Macs, iPods, iPhones and other Apple products. It&#8217;s been a while since the last Mac whine segment was featured in the podcast though, and as a switcher coming up on his third anniversary, I think there&#8217;s more to whine about! I absolutely love my Macs, but I&#8217;ll be the first to admit that there are things that annoy and sometimes confuse me.</p>
<p>So, as a pet project, I put together <a href="http://macwhines.com/">MacWhines.com</a>. It&#8217;s a very simple voting website where you get to bitch and whine about all things Apple. While creating the website, I took the opportunity to learn a little about OpenID and decided to rely completely on OpenID for the sign in mechanism. Additionally, I added &#8220;Sign in with a Google Account&#8221; and &#8220;Sign in with Yahoo! ID&#8221; buttons that redirect you to Google or Yahoo! and allow you to sign in via their federated login systems. Give it a spin and let me know what you think.</p>
<p>PS. There&#8217;s not a lot of functionality on the website apart from signing in, voting for whines, submitting your own whines and commenting on existing whines, but that&#8217;s kind of the idea. I didn&#8217;t want to overshoot the target so to speak.</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/whine-about-your-mac/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best iPhone game so far</title>
		<link>http://rickardandersson.com/best-iphone-game-so-far</link>
		<comments>http://rickardandersson.com/best-iphone-game-so-far#comments</comments>
		<pubDate>Fri, 17 Apr 2009 18:35:49 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=299</guid>
		<description><![CDATA[I haven&#8217;t tried a lot of games on the iPhone, but so far, the best I&#8217;ve encountered is FlightControl. I must warn you though, It&#8217;s extremely addictive.

]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t tried a lot of games on the iPhone, but so far, the best I&#8217;ve encountered is <a href="http://www.firemint.com/flightcontrol/">FlightControl</a>. I must warn you though, It&#8217;s extremely addictive.</p>
<p><img src="http://rickardandersson.com/wp-content/uploads/2009/04/fc_highscore.jpg" alt="My FlightControl highscore" title="My FlightControl highscore" width="480" height="320" /></p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/best-iphone-game-so-far/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>I want a Drobo</title>
		<link>http://rickardandersson.com/i-want-a-drobo</link>
		<comments>http://rickardandersson.com/i-want-a-drobo#comments</comments>
		<pubDate>Wed, 25 Mar 2009 00:03:20 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=296</guid>
		<description><![CDATA[Scott Bourne is giving away Drobos on Twitter like it was Christmas! Here&#8217;s a link to the new Managing Your Digital Life Podcast in hopes that I will be a a lucky winner.
Fingers crossed!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/ScottBourne">Scott Bourne</a> is giving away <a href="http://www.drobo.com/">Drobos</a> on Twitter like it was Christmas! Here&#8217;s a link to the new <a href="http://mydl.me/">Managing Your Digital Life Podcast</a> in hopes that I will be a a lucky winner.</p>
<p>Fingers crossed!</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/i-want-a-drobo/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Getting SPSS 17 to work with Softgrid/App-V</title>
		<link>http://rickardandersson.com/getting-spss-17-to-work-with-softgridapp-v</link>
		<comments>http://rickardandersson.com/getting-spss-17-to-work-with-softgridapp-v#comments</comments>
		<pubDate>Fri, 20 Mar 2009 15:43:32 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=290</guid>
		<description><![CDATA[As I&#8217;ve mentioned in previous posts, we use Softgrid (or Microsoft Application Virtualization as it&#8217;s called these days) at the university. Every now and then, I run into problems sequencing an application. My latest encounter with a troublesome application was SPSS Statistics 17.
The problem I encountered was that the installer would hang at the very [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;ve mentioned in <a href="http://rickardandersson.com/the-joys-of-sequencing-applications">previous</a> <a href="http://rickardandersson.com/this-is-getting-ridiculous">posts</a>, we use Softgrid (or Microsoft Application Virtualization as it&#8217;s called these days) at the university. Every now and then, I run into problems sequencing an application. My latest encounter with a troublesome application was <a href="http://www.spss.com/statistics/">SPSS Statistics 17</a>.</p>
<p>The problem I encountered was that the installer would hang at the very end of the installation process. In some cases, the box would even blue screen at this stage. I scratched my head on this problem for some time, but today, I finally figured out how to solve it.</p>
<p>I had a look at the Windows Task Manager when the installation had hung and discovered that there were a couple of processes called spsslinit.exe that appeared to be doing nothing. So I fired up the installer once more with MSI logging enabled and when it had hung, I looked at the end of the log. There, I found mention of a script function called PostInstallCommands. From the log, I could tell that the script function started up 7 spsslinit.exe processes (with various different parameters). I don&#8217;t know for sure what the spsslinit.exe processes do, but I believe they are somehow related to SPSS licensing when running in standalone mode. We use a network license, so we don&#8217;t need the standalone stuff.</p>
<p>The next step was to somehow prevent the SPSS installer from running the PostInstallCommands script. So I fired up Orca (Microsoft&#8217;s MSI editor) and looked in the InstallExecuteSequence table sorted by sequence number. Sure enough, at the end of the sequence, there was PostInstallCommands. I then created a new transform and dropped the PostInstallCommands row together with another row called SPSSlinit. I&#8217;m not sure the latter is needed, but I thought it can&#8217;t hurt.</p>
<p><img src="http://rickardandersson.com/wp-content/uploads/2009/03/orca_spss17.png" alt="Modifications to SPSS 17 MSI via Orca" title="Modifications to SPSS 17 MSI via Orca" width="600" height="230" /></p>
<p>With my brand new MST file, I started the sequencer and fired up the installer with the following command line:</p>
<p>msiexec /i &#8220;SPSS Statistics 17.0.msi&#8221; TRANSFORMS=1033.mst;SPSS17_Softgrid_Fix.mst</p>
<p>It worked beautifully! After the install, I upgraded to 17.0.1 and even that went without a hitch. I&#8217;ve done some testing and the app is running just fine with our network license. If you&#8217;re trying to do this with a standalone or site license, I&#8217;m not sure this is the way to go, but then again, I don&#8217;t think SPSS can be sequenced using anything other than a network license.</p>
<p>I&#8217;ve uploaded the <a href="http://rickardandersson.com/drop/SPSS17_Softgrid_Fix.mst">MST file</a> if anyone needs it.</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/getting-spss-17-to-work-with-softgridapp-v/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Manual MAC address for a VMware guest</title>
		<link>http://rickardandersson.com/manual-mac-address-for-a-vmware-guest</link>
		<comments>http://rickardandersson.com/manual-mac-address-for-a-vmware-guest#comments</comments>
		<pubDate>Mon, 16 Mar 2009 20:21:12 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=286</guid>
		<description><![CDATA[If you&#8217;ve ever tried to manually specify a MAC address for a VMware ESX virtual machine, you might have encountered the error message:
The MAC address entered is not in the valid range. Valid values are between 00:50:56:00:00:00 and 00:50:56:3f:ff:ff.
The reasons why VMware force manual MAC addresses into this scope are unclear to me (probably to [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever tried to manually specify a MAC address for a VMware ESX virtual machine, you might have encountered the error message:</p>
<blockquote><p>The MAC address entered is not in the valid range. Valid values are between 00:50:56:00:00:00 and 00:50:56:3f:ff:ff.</p></blockquote>
<p>The reasons why VMware force manual MAC addresses into this scope are unclear to me (probably to prevent collisions), but regardless, it can be an issue. I needed to specify a particular MAC address in the 00:04 range. The reason being we were retiring an old physical server running the FLEXlm licensing service and the licenses were granted for the MAC address of the NIC on that machine. Renewing the licenses for the new virtual machine turned out to be ridiculously expensive so our only real option was to &#8220;spoof&#8221; the MAC address.</p>
<p>I then ran into the aforementioned issue. However, the problem was easily solved by setting the MAC address from within the guest operating system instead. In this case, the server was running Windows Server 2003 and changing the MAC address was as simple as modifying the parameter &#8220;networkaddress&#8221; in the properties for the NIC in device manager. Voila!</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/manual-mac-address-for-a-vmware-guest/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iPhoto face recognition, the verdict</title>
		<link>http://rickardandersson.com/iphoto-face-recognition-the-verdict</link>
		<comments>http://rickardandersson.com/iphoto-face-recognition-the-verdict#comments</comments>
		<pubDate>Tue, 10 Mar 2009 15:35:55 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=283</guid>
		<description><![CDATA[Having used iPhoto 09 for a couple of weeks/months now, my verdict is that it sucks. Unless all you have is high resolution, high contrast photos of people taken perfectly perpendicularly to their face, it just doesn&#8217;t work. The same applies for people who sometimes were glasses (me for example). If I import a batch [...]]]></description>
			<content:encoded><![CDATA[<p>Having used iPhoto 09 for a couple of weeks/months now, my verdict is that it sucks. Unless all you have is high resolution, high contrast photos of people taken perfectly perpendicularly to their face, it just doesn&#8217;t work. The same applies for people who sometimes were glasses (me for example). If I import a batch of pictures containing only people that I have already added to the database, I would say it gets it right maybe 25% of the time. And that&#8217;s provided that it detected all the faces, which it does maybe 80% of the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/iphoto-face-recognition-the-verdict/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Isolation mode on VMware ESX servers</title>
		<link>http://rickardandersson.com/isolation-mode-on-vmware-esx-servers</link>
		<comments>http://rickardandersson.com/isolation-mode-on-vmware-esx-servers#comments</comments>
		<pubDate>Wed, 25 Feb 2009 20:49:24 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=276</guid>
		<description><![CDATA[Last week at work, we had a network engineer look into some issued we&#8217;d been having with one of the switches in the server room. The switch in question was the main LAN switch to which all our servers are connected. Turns out, the switch needed to be rebooted to solve the problem. We didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Last week at work, we had a network engineer look into some issued we&#8217;d been having with one of the switches in the server room. The switch in question was the main LAN switch to which all our servers are connected. Turns out, the switch needed to be rebooted to solve the problem. We didn&#8217;t think anything of it apart from the fact that the servers would be off the net for a few minutes.</p>
<p>The morning after we discovered, as we logged in to a few of the servers, that all virtual machines had shut down unexpectedly the night before. My first instinct was that the network engineer must have disconnected the power to the VMware servers for some odd reason and that this was the cause for the disturbance. But after some digging around, we found that none of the ESX servers had rebooted. So why had all the virtual machines shut down?</p>
<p>Turns out, there&#8217;s a feature in ESX called isolation mode. When you&#8217;ve setup your ESX cluster for HA (High Availability) and an ESX server loses contact with the other ESX servers and with its gateway, the server considers itself to be isolated and the default action when isolated is to shut down all virtual machines! In other words, if you have to disconnect your ESX servers from the network, look into isolation mode first.</p>
<p>I&#8217;m still not sure why the default is to shut down the machines. I mean, won&#8217;t forcibly shutting down a virtual machine potentially cause more problems than letting it run without a network connection?</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/isolation-mode-on-vmware-esx-servers/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS sprites are cool</title>
		<link>http://rickardandersson.com/css-sprites-are-cool</link>
		<comments>http://rickardandersson.com/css-sprites-are-cool#comments</comments>
		<pubDate>Wed, 11 Feb 2009 20:40:09 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=260</guid>
		<description><![CDATA[As someone who doesn&#8217;t really keep up with what&#8217;s going on in the world of web design (as in HTML, CSS etc), I was pleasantly surprised when I ran into an article on CSS sprites. The term sprite will be familiar to those of you who have encountered any kind of graphics programming on old [...]]]></description>
			<content:encoded><![CDATA[<p>As someone who doesn&#8217;t really keep up with what&#8217;s going on in the world of web design (as in HTML, CSS etc), I was pleasantly surprised when I ran into an article on CSS sprites. The term sprite will be familiar to those of you who have encountered any kind of graphics programming on old hardware such as Commodore 64 and Amiga. A sprite, according to Wikipedia, is a two-dimensional/three-dimensional image or animation that is integrated into a larger scene.</p>
<p>How does this apply to web design? Well, some clever web designer figured out that you can composite a number of smaller images into one large image and then use CSS to display a particular part of that image. The advantage is that the browser only needs to request one image from the web server even though there appears to be many on the page. This leads to fewer HTTP requests and all-round improved performance. Additionally, it decreases any kind of lag that might be introduced when switching images.</p>
<p><img style="float:right;margin:0 0 1em 2em" src="http://rickardandersson.com/wp-content/themes/rickard3/img/nav_sprites.png" alt="nav_sprites.png" />Using CSS sprites is easy. Just combine a number of images into one and use the offset parameters of the CSS background property to define which part of the image you want to display. I use CSS sprites for the icons in the main navigation of this blog. The composite image is called <a href="http://rickardandersson.com/wp-content/themes/rickard3/img/nav_sprites.png">nav_sprites.png</a>. As you can see, the first sprite in the image is the blog icon (the plus sign). In CSS, I&#8217;ve defined this as:</p>
<blockquote><p>background: url(img/nav_sprites.png) 0 0 no-repeat;</p></blockquote>
<p>The hover style for that link is defined as:</p>
<blockquote><p>background: url(img/nav_sprites.png) 0 -28px no-repeat;</p></blockquote>
<p>In other words, the same image, but the image for the hover style is offset by -28 pixels from the top of nav.png. The next image is offset -56 pixels and so and and so forth. It should be worth mentioning that in addition to setting the offset, you might also need to set a width or height for the element in question to prevent stuff from the adjacent sprites to be displayed.</p>
<p>In my case, I placed all sprites in one &#8220;column&#8221;, but there&#8217;s nothing stopping you from adding multiple columns to the master image. In that case, you need to use the horizontal offset parameter as well (0 in my case).</p>
<p>Personally, I love these kinds of tweaks. CSS sprites are really easy to implement and even though the performance gains might not be huge, I&#8217;m a big fan of anything that streamlines the operation of computers and technology in general. There&#8217;s been some discussion on where to draw the line when it comes to CSS sprites. One could, in theory, include all images that are used on a website in one big composite image, but I think that&#8217;s taking it too far. If the browser needs to download a huge image before it can display any graphics at all on the page, the user experience will suffer. I think a good practice is to group images together. In other words, one composite image for icons, one for general UI elements, one for borders/corners etc. And don&#8217;t forget, this only applies to images that you display with the CSS background property, not the &lt;img /&gt; tag.</p>
<p>Happy spriting!</p>
<p>Edit: I forgot something. If you&#8217;re a bit lazy and you already have a large number of images that you want to combine into one master image, there are a couple of generators online that will do the job for you. I&#8217;ve tried <a href="http://www.csssprites.com/">CSS Sprites Generator</a> and it worked great. There&#8217;s also <a href="http://spritegen.website-performance.org/">this one</a> which appears to have more features, but I have yet to test it myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/css-sprites-are-cool/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset iPhoto &#8216;09 face recognition database</title>
		<link>http://rickardandersson.com/reset-iphoto-09-face-recognition-database</link>
		<comments>http://rickardandersson.com/reset-iphoto-09-face-recognition-database#comments</comments>
		<pubDate>Mon, 02 Feb 2009 00:37:06 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=255</guid>
		<description><![CDATA[Edit: Solution in the comments.
I&#8217;ve been playing around with the iPhoto &#8216;09 face detection and face recognition stuff today. Having tried a lot of stuff to get the best results, I now want to &#8220;reset&#8221; the face recognition database or whatever so that I can start from scratch and teach it properly. Does anyone have [...]]]></description>
			<content:encoded><![CDATA[<p>Edit: Solution in the comments.</p>
<p>I&#8217;ve been playing around with the iPhoto &#8216;09 face detection and face recognition stuff today. Having tried a lot of stuff to get the best results, I now want to &#8220;reset&#8221; the face recognition database or whatever so that I can start from scratch and teach it properly. Does anyone have any idea how to do this apart from emptying my library and re-importing everything again? There must be a way, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/reset-iphoto-09-face-recognition-database/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Exchange migration from hell</title>
		<link>http://rickardandersson.com/the-exchange-migration-from-hell</link>
		<comments>http://rickardandersson.com/the-exchange-migration-from-hell#comments</comments>
		<pubDate>Tue, 20 Jan 2009 22:30:44 +0000</pubDate>
		<dc:creator>Rickard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rickardandersson.com/?p=253</guid>
		<description><![CDATA[I work at Lund University. So does approximately 5,500 other people. Each employee has a 250 MB mailbox in a horribly outdated and buggy e-mail system called iPlanet Messaging Server. Work is currently under way to migrate all those mailboxes to Exchange. In the process, the mailbox quota will be increased to 2 GB (!). [...]]]></description>
			<content:encoded><![CDATA[<p>I work at <a href="http://www.lu.se/">Lund University</a>. So does approximately 5,500 other people. Each employee has a 250 MB mailbox in a horribly outdated and buggy e-mail system called iPlanet Messaging Server. Work is currently under way to migrate all those mailboxes to Exchange. In the process, the mailbox quota will be increased to 2 GB (!). That&#8217;s a potential 11 terabytes of mailboxes. I&#8217;m glad I&#8217;m not involved in that project :)</p>
]]></content:encoded>
			<wfw:commentRss>http://rickardandersson.com/the-exchange-migration-from-hell/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
