<?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>Jan Suomi</title>
	<atom:link href="http://www.jansuomi.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jansuomi.com</link>
	<description>What&#039;s on my mind today?</description>
	<lastBuildDate>Wed, 04 Apr 2012 08:20:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Moving away from eNom</title>
		<link>http://www.jansuomi.com/moving-away-from-enom/</link>
		<comments>http://www.jansuomi.com/moving-away-from-enom/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 08:20:13 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[eNom]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=394</guid>
		<description><![CDATA[Well, apparently I was down for a few days. Shit happens. In this case it was because I wanted to move my domain (which I originally bought through Google) away from eNom. Unlike a lot of other DNS providers, they don&#8217;t let you just click a button to get the auth code needed for moving [...]]]></description>
			<content:encoded><![CDATA[<p>Well, apparently I was down for a few days.</p>
<p>Shit happens.</p>
<p>In this case it was because I wanted to move my domain (which I originally bought through Google) away from eNom. Unlike a lot of other DNS providers, they don&#8217;t let you just click a button to get the auth code needed for moving a domain. No, you need to send an e-mail with your login details in clear-text(!) to their support and pray for a speedy answer.</p>
<p>I did get the auth code in a day or so after sending them the e-mail, entered it at my new provider to start the transfer and then had to wait 2-5 days for the transfer to go through. This new electronic, lightning-fast, world is amazing, isn&#8217;t it?</p>
<p>Admittedly, I screwed up a little in the process. I didn&#8217;t check back for when exactly the change went through, since I was pretty sure I had entered the same DNS settings at my new provider as I had at eNom. Turns out I forgot to change the nameservers for the domain, so it was still pointing at eNom this morning. Now though  it appears the changes have gone through to most DNS-servers and the blog is back again.</p>
<p>Anyway, back to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/moving-away-from-enom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel VBA: Function to compare words in two cells</title>
		<link>http://www.jansuomi.com/excel-vba-function-to-compare-words-in-two-cells/</link>
		<comments>http://www.jansuomi.com/excel-vba-function-to-compare-words-in-two-cells/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 09:44:51 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[partial match]]></category>
		<category><![CDATA[vba]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=388</guid>
		<description><![CDATA[I just had to invent something quickly  for a co-worker today. He needed to check a long list of phrases in two different columns to see if there were any matches. e.g. &#8220;pasta carbonara&#8221; vs &#8220;Spaghetti Carbonara&#8221; , this should be a match. So without further ado, here&#8217;s the VBA function to do it. Say [...]]]></description>
			<content:encoded><![CDATA[<p>I just had to invent something quickly  for a co-worker today.</p>
<p>He needed to check a long list of phrases in two different columns to see if there were any matches.<br />
e.g. &#8220;pasta carbonara&#8221; vs &#8220;Spaghetti Carbonara&#8221; , this should be a match.</p>
<p>So without further ado, here&#8217;s the VBA function to do it.</p>
<pre class="brush: vb; title: Code; notranslate">
Function PartialMatch(Cell1 As Range, Cell2 As Range)
    ' Convert both cells' contents to lowercase
    Dim sC1 As String: sC1 = LCase(Cell1.Value)
    Dim sC2 As String: sC2 = LCase(Cell2.Value)
    ' Split the words by space into an array
    Dim C1() As String: C1 = Split(sC1, Chr(32))
    Dim C2() As String: C2 = Split(sC2, Chr(32))

    ' Assume that there's no match
    Dim sResult As String: sResult = &quot;No match&quot;

    ' Loop through the words in both cells
    For Each sWord1 In C1
        For Each sWord2 In C2
            ' Compare the words to each other
            If (sWord1 = sWord2) Then
                sResult = &quot;Match&quot;
            End If
        Next sWord2
    Next sWord1
    ' Return the result
    PartialMatch = sResult
End Function
</pre>
<p>Say you have A1 = &#8220;pasta carbonara&#8221; and B1 = &#8220;Spaghetti Carbonara&#8221;.<br />
Insert =PartialMatch(A1,B1) in C1 and the function will return &#8220;Match&#8221;.<br />
Apply some conditional formatting for =&#8221;Match&#8221; and =&#8221;No match&#8221; to highlight.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/excel-vba-function-to-compare-words-in-two-cells/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick updates</title>
		<link>http://www.jansuomi.com/quick-updates/</link>
		<comments>http://www.jansuomi.com/quick-updates/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 21:50:21 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Rambling]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=378</guid>
		<description><![CDATA[I noticed that I needed to add a bunch of missing information to this site, and so the work has begun&#8230; again. It&#8217;s a shame that I never seem to have enough time over to do something really meaningful with this site. I did update the mandatory &#8220;about&#8220;-page with a little more information about myself [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed that I needed to add a bunch of missing information to this site, and so the work has begun&#8230; again.</p>
<p>It&#8217;s a shame that I never seem to have enough time over to do something really meaningful with this site. I did update the mandatory &#8220;<a title="About Jan Suomi" href="http://www.jansuomi.com/about/">about</a>&#8220;-page with a little more information about myself and what I do. One of these days I need to sit down and write more, but that will have to wait until I&#8217;m finished with all the late night coding I&#8217;ve been doing lately.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/quick-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally Ice Cream Sandwich for my Galaxy S II</title>
		<link>http://www.jansuomi.com/finally-ice-cream-sandwich-for-my-galaxy-s-ii/</link>
		<comments>http://www.jansuomi.com/finally-ice-cream-sandwich-for-my-galaxy-s-ii/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 09:07:27 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[galaxy]]></category>
		<category><![CDATA[ice cream sandwich]]></category>
		<category><![CDATA[ics]]></category>
		<category><![CDATA[s2]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[sgs2]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=368</guid>
		<description><![CDATA[About damn time Samsung stopped stalling and released ICS for the Galaxy S2&#8230;]]></description>
			<content:encoded><![CDATA[<p>About damn time Samsung stopped stalling and released ICS for the Galaxy S2&#8230;</p>
<div id="attachment_369" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.jansuomi.com/uploads/2012/03/SGS2_Ice_Cream_Sandwich.jpg"><img class="size-medium wp-image-369" title="SGS2_Ice_Cream_Sandwich" src="http://www.jansuomi.com/uploads/2012/03/SGS2_Ice_Cream_Sandwich-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Ice Cream Sandwich installing on SGS2</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/finally-ice-cream-sandwich-for-my-galaxy-s-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel how-to: Color an entire line with conditional formatting</title>
		<link>http://www.jansuomi.com/excel-how-to-color-an-entire-line-with-conditional-formatting/</link>
		<comments>http://www.jansuomi.com/excel-how-to-color-an-entire-line-with-conditional-formatting/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 10:49:18 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[conditional formatting]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=361</guid>
		<description><![CDATA[Sometimes you want to highlight a row in a table depending on say, a category in the B-column. Here&#8217;s how to do it: Add a new conditional formatting rule to the table Select &#8220;Use a formula to determine which cells to format&#8221; Enter the formula =IF(INDEX($B:$B;ROW();1)=&#8221;Misc&#8221;;TRUE;FALSE) Note: You might have to use a colon instead [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you want to highlight a row in a table depending on say, a category in the B-column.</p>
<p style="text-align: center;">Here&#8217;s how to do it:<br />
<a href="http://www.jansuomi.com/uploads/2012/03/excel-2010-conditional-formatting-color-whole-line.png"><img class="aligncenter  wp-image-362" title="Excel 2010 Conditional Formatting - Color a whole line" src="http://www.jansuomi.com/uploads/2012/03/excel-2010-conditional-formatting-color-whole-line.png" alt="" width="535" height="330" /></a></p>
<ul>
<li>Add a new conditional formatting rule to the table</li>
<li>Select &#8220;Use a formula to determine which cells to format&#8221;</li>
<li>Enter the formula =IF(INDEX($B:$B;ROW();1)=&#8221;Misc&#8221;;TRUE;FALSE)<br />
Note: You might have to use a colon instead of a semi-colon as a separator, depending on your Excel version.</li>
<li>Click Format and select your color of choice</li>
</ul>
<p>&nbsp;</p>
<p>What the formula does is use the INDEX-function (the arguments are: array, row, column) to lookup the value on the current row  number (as returned by the ROW-function) in the B-column (using number 1, because the array is just 1 column wide). The IF-function just makes sure TRUE or FALSE are returned so the rule knows when to apply the color.</p>
<p>Then you just add more rules to the table for the different categories you need to color.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/excel-how-to-color-an-entire-line-with-conditional-formatting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New computer, part 2</title>
		<link>http://www.jansuomi.com/new-computer-part-2/</link>
		<comments>http://www.jansuomi.com/new-computer-part-2/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 19:32:33 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[experience]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=344</guid>
		<description><![CDATA[So, some additional tweaking today and here&#8217;s where my li&#8217;l baby is at now:]]></description>
			<content:encoded><![CDATA[<p>So, some additional tweaking today and here&#8217;s where my li&#8217;l baby is at now:</p>
<div id="attachment_345" class="wp-caption aligncenter" style="width: 555px"><a href="http://www.jansuomi.com/uploads/2011/12/windows7_experience_index_musti.png"><img class="size-full wp-image-345" title="windows7_experience_index_musti_part2" src="http://www.jansuomi.com/uploads/2011/12/windows7_experience_index_musti.png" alt="Windows Experience Index, part 2" width="545" height="212" /></a><p class="wp-caption-text">Experience Index Part 2</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/new-computer-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New computer</title>
		<link>http://www.jansuomi.com/new-computer/</link>
		<comments>http://www.jansuomi.com/new-computer/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 21:53:53 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[new]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=339</guid>
		<description><![CDATA[Christmas came early this year, or to be slightly more precise, the Swedish postal service delivered my brand new computer 3 days before Christmas. Took roughly 2,5 hours to screw it all together. (Yes, yes. I know, I know. I&#8217;m really rusty.) I already knew before hand what probably the weakest link in the new [...]]]></description>
			<content:encoded><![CDATA[<p>Christmas came early this year, or to be slightly more precise, the Swedish postal service delivered my brand new computer 3 days before Christmas.</p>
<p>Took roughly 2,5 hours to screw it all together. (Yes, yes. I know, I know. I&#8217;m really rusty.)</p>
<p>I already knew before hand what probably the weakest link in the new power-chain would be, and I was right. The RAM is way too slow compared to the rest of the computer. I&#8217;ll throw the experience index from Win7 up for good measure, not exactly accurate, but before I get all giddy and just <em>have</em> to install three billion different performance test suites, it&#8217;ll have to do.</p>
<p>Without further ado, here it is:</p>
<div id="attachment_340" class="wp-caption aligncenter" style="width: 562px"><a href="http://www.jansuomi.com/uploads/2011/12/exp_index.png"><img class="size-full wp-image-340" title="Win7 Experience index for Musti" src="http://www.jansuomi.com/uploads/2011/12/exp_index.png" alt="Windows 7 Experience Index Score" width="552" height="217" /></a><p class="wp-caption-text">Windows 7 Experience Index Score</p></div>
<p>I&#8217;ll update the true stats a little later as well as all the parts that this little black baby has eaten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/new-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hämä-hämähäkki</title>
		<link>http://www.jansuomi.com/hama-hamahakki/</link>
		<comments>http://www.jansuomi.com/hama-hamahakki/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 18:40:06 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Elina]]></category>
		<category><![CDATA[elina]]></category>
		<category><![CDATA[hämä-hämähäkki]]></category>
		<category><![CDATA[hämähäkki]]></category>
		<category><![CDATA[laulaa]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=323</guid>
		<description><![CDATA[Elina laulaa Hämä-hämähäkkiä&#8230;]]></description>
			<content:encoded><![CDATA[<p>Elina laulaa Hämä-hämähäkkiä&#8230;</p>
<p><br /><img src="http://www.jansuomi.com/uploads/2011/12/elina_hama-hamahakki.png" width="640" height="360" alt="media" /><br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/hama-hamahakki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 &#8211; Setting up automatic connection to wlan</title>
		<link>http://www.jansuomi.com/ubuntu-11-10-setting-up-automatic-connection-to-wlan/</link>
		<comments>http://www.jansuomi.com/ubuntu-11-10-setting-up-automatic-connection-to-wlan/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 11:04:23 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=317</guid>
		<description><![CDATA[More or less some notes to myself again: (Assuming, of course, that the wlan interface is wlan0.) The magic command for generating the required PSK for WPA/WPA2 is wpa_passphrase. When that&#8217;s done add the information to /etc/network/interfaces: &#8230;and finally you might want to remove network-manager to avoid conflicts. Now this combined with automatic login lets [...]]]></description>
			<content:encoded><![CDATA[<p>More or less some notes to myself again:</p>
<p>(Assuming, of course, that the wlan interface is wlan0.)</p>
<p>The magic command for generating the required PSK for WPA/WPA2 is wpa_passphrase.</p>
<pre class="brush: bash; title: Code; notranslate">janne@pingu:~$ wpa_passphrase ExampleSSID DamnLongPassword
network={
  ssid=&quot;ExampleSSID&quot;
  #psk=&quot;DamnLongPassword&quot;
  psk=9981ece75e0eb563acbc783b1ce4250e7383d9ce7f71caa0d8406c0d1495f4bb
}</pre>
<p>When that&#8217;s done add the information to /etc/network/interfaces:</p>
<pre class="brush: bash; title: Code; notranslate">auto wlan0
iface wlan0 inet dhcp
wpa-ssid &quot;ExampleSSID&quot;
wpa-psk 9981ece75e0eb563acbc783b1ce4250e7383d9ce7f71caa0d8406c0d1495f4bb</pre>
<p>&#8230;and finally you might want to remove network-manager to avoid conflicts.</p>
<p>Now this combined with automatic login lets me reboot my laptop at home without having to a) login and b) connect to the wireless.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/ubuntu-11-10-setting-up-automatic-connection-to-wlan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to: Resize hard disk in VirtualBox</title>
		<link>http://www.jansuomi.com/how-to-resize-hard-disk-in-virtualbox/</link>
		<comments>http://www.jansuomi.com/how-to-resize-hard-disk-in-virtualbox/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 15:12:08 +0000</pubDate>
		<dc:creator>Janne</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.jansuomi.com/?p=308</guid>
		<description><![CDATA[Just a note to myself again, this time on how to resize a virtual hard disk in VirtualBox. Stupid as I was I never changed from the really small 8GB disk VirtualBox suggested per default and had to pay up quickly after I started fiddling around in my virtual Ubuntu installation. Here are the steps: [...]]]></description>
			<content:encoded><![CDATA[<p>Just a note to myself again, this time on how to resize a virtual hard disk in VirtualBox. Stupid as I was I never changed from the really small 8GB disk VirtualBox suggested per default and had to pay up quickly after I started fiddling around in my virtual Ubuntu installation.</p>
<p>Here are the steps:</p>
<ol>
<li>Run cmd.exe and <em>cd C:\Program Files\Oracle\VirtualBox</em></li>
<li><em>VBoxManage.exe modifyhd &#8220;&lt;full path to the vhd/vdi&gt;&#8221; &#8211;resize &lt;new size in MB&gt;<br />
</em>(Note: there are two dashes before resize)</li>
<li>Boot up the virtual machine from i.e. a Ubuntu live-cd .iso</li>
<li>Start gparted (if not installed run <em>sudo apt-get install gparted</em> and when it&#8217;s done <em>sudo gparted</em>)</li>
<li>Delete the swap-partition within the extended partition, move the extended to the end of the unallocated space</li>
<li>Recreate the swap within the extended partition</li>
<li>Resize the primary / partition to include all the unallocated space left over</li>
<li>Shutdown the virtual and remove the iso-image</li>
<li>Try starting up the virtual and check disk space available with <em>df -ah</em> in the Terminal</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.jansuomi.com/how-to-resize-hard-disk-in-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

