<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Thomas Johansen's Blog</title><link>http://weblogs.asp.net/tjohansen/default.aspx</link><description>The Daily Highlight</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>My first tattoo</title><link>http://weblogs.asp.net/tjohansen/archive/2005/08/16/422680.aspx</link><pubDate>Tue, 16 Aug 2005 07:09:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:422680</guid><dc:creator>Aylar</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=422680</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/08/16/422680.aspx#comments</comments><description>&lt;p&gt;Today I finally got &lt;a href="http://www.flickr.com/photos/thomasjo/34459969/"&gt;my first tattoo&lt;/a&gt; -- I've been wanting one for a long, long time and now just seemed like the perfect time, so I went for it... I am very happy that I did! &lt;/p&gt;&lt;p&gt;The pain was noticeable, but absolutely worth it. My reasoning for getting it on the lower left arm is that it will be easily spotted there, but at the same time, I can hide it in e.g. a business situation or otherwise.&lt;/p&gt;&lt;p&gt;&lt;i&gt;Copied from &lt;a href="http://lonelywasabi.net/"&gt;my main blog&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=422680" width="1" height="1"&gt;</description></item><item><title>Looking for contract work</title><link>http://weblogs.asp.net/tjohansen/archive/2005/07/27/420664.aspx</link><pubDate>Wed, 27 Jul 2005 02:52:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:420664</guid><dc:creator>Aylar</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=420664</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/07/27/420664.aspx#comments</comments><description>It's that time of year again; I've currently got way too much leisure time, so I'm actively seeking contract work - both design and development work. Well, if you or anyone you know is on the look out for a designer/developer for contract work, head over to &lt;a href="http://lonelywasabi.net/contact/"&gt;my contact page&lt;/a&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=420664" width="1" height="1"&gt;</description></item><item><title>New blog</title><link>http://weblogs.asp.net/tjohansen/archive/2005/06/04/New-blog.aspx</link><pubDate>Fri, 03 Jun 2005 16:23:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:410308</guid><dc:creator>Aylar</dc:creator><slash:comments>10</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=410308</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/06/04/New-blog.aspx#comments</comments><description>&lt;p&gt;Ok guys, I am considering letting this blog die and move all of my blogging over to my &lt;a href="http://lonwas.net/"&gt;new site&lt;/a&gt;, so if you want to read about XHTML, CSS and graphic design, subscribe to my feed right away! ;-)&lt;/p&gt;&lt;p&gt;(I might keep this blog going for posting about .NET related topics, but most likely I will move that over to the new blog as well)&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=410308" width="1" height="1"&gt;</description></item><item><title>Flickr... is amazing!</title><link>http://weblogs.asp.net/tjohansen/archive/2005/05/01/405205.aspx</link><pubDate>Sun, 01 May 2005 10:34:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:405205</guid><dc:creator>Aylar</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=405205</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/05/01/405205.aspx#comments</comments><description>&lt;p&gt;Wow, I just decided to try out Flickr and I am blown away by how awesome it is! The interface is so damn easy to use. Another great example of how a UI should be created ;)&lt;/p&gt;
&lt;p&gt;If you feel like checking out my photos, you can find them &lt;a href="http://www.flickr.com/photos/thomasjo/"&gt;here&lt;/a&gt;  (also feel free to add me to your contact list if you use Flickr :)&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=405205" width="1" height="1"&gt;</description></item><item><title>Mono on OSX</title><link>http://weblogs.asp.net/tjohansen/archive/2005/03/23/395594.aspx</link><pubDate>Wed, 23 Mar 2005 03:31:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:395594</guid><dc:creator>Aylar</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=395594</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/03/23/395594.aspx#comments</comments><description>&lt;p&gt;Just installed the OSX build of Mono; it was a breeze! No problems at all!&lt;br/&gt;
Been mocking around with Cocoa# for a few hours, creating some simple applications -- .NET 1.x is suddenly fun again. Everything seems to be working great.&lt;/p&gt;
&lt;p&gt;Already started thinking about some cool ideas for some Mono/Cocoa# apps :-)&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=395594" width="1" height="1"&gt;</description></item><item><title>My reasoning for getting a PowerMac</title><link>http://weblogs.asp.net/tjohansen/archive/2005/03/15/394627.aspx</link><pubDate>Tue, 15 Mar 2005 07:41:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:394627</guid><dc:creator>Aylar</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=394627</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/03/15/394627.aspx#comments</comments><description>&lt;p&gt;Need I say more? ;-)&lt;/p&gt;&lt;p&gt;&lt;img src="http://photos7.flickr.com/6575390_8c0aadf707_m_d.jpg" alt="MacHottie"/ &gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Brought to you by &lt;a href="http://www.macmerc.com/index.php"&gt;MacMerc.com&lt;/a&gt;&lt;/small&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=394627" width="1" height="1"&gt;</description></item><item><title>My Power Mac rocks!</title><link>http://weblogs.asp.net/tjohansen/archive/2005/03/13/394444.aspx</link><pubDate>Sun, 13 Mar 2005 05:15:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:394444</guid><dc:creator>Aylar</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=394444</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/03/13/394444.aspx#comments</comments><description>&lt;p&gt;Got my Dual 2.5GHz Power Mac a few days ago -- so far I'm loving it! OS X is light-years ahead of Windows XP. Everything is so darn slick! Apple are still following the good UNIX tradition of having small specialized applications that usually only have one main task (and does that task _very_ well), instead of the other "standard" of BloatWare(tm).&lt;/p&gt;

&lt;p&gt;Well enough praising and bashing; I'm posting this entry from &lt;a href="http://ranchero.com/marsedit/"&gt;Ranchero MarsEdit&lt;/a&gt;. It's a sweet little cutie and it looks and behaves very much like Apple Mail (which also kicks serious ass ;)
My feeds have been moved over to &lt;a href="http://ranchero.com/netnewswire/"&gt;NetNewsWire 2.0 beta&lt;/a&gt; (also from Ranchero -- any Ranchero execs out there that feel like giving me free licenses to these two awesome apps? :)&lt;/p&gt;

&lt;p&gt;I'll keep everyone posted on how much my Mac 0wns j00!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=394444" width="1" height="1"&gt;</description></item><item><title>Wicked little web app</title><link>http://weblogs.asp.net/tjohansen/archive/2005/02/26/380715.aspx</link><pubDate>Fri, 25 Feb 2005 15:09:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:380715</guid><dc:creator>Aylar</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=380715</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/02/26/380715.aspx#comments</comments><description>While going through my blogroll I came across &lt;a href="http://www.pentacom.jp/soft/ex/font/edit.html"&gt;this awesome little bitmap font maker web app &lt;/a&gt;&amp;ndash; it&amp;rsquo;s so darn cute! :)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=380715" width="1" height="1"&gt;</description></item><item><title>Bye, bye Sage -- Hello Onfolio!</title><link>http://weblogs.asp.net/tjohansen/archive/2005/02/25/380625.aspx</link><pubDate>Fri, 25 Feb 2005 12:20:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:380625</guid><dc:creator>Aylar</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=380625</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/02/25/380625.aspx#comments</comments><description>&lt;a href="http://robfuller.blogspot.com/"&gt;Rob Fuller&lt;/a&gt; commented my post about &lt;a href="http://weblogs.asp.net/tjohansen/archive/2005/02/21/377257.aspx"&gt;Sage&lt;/a&gt; and recommended that I&amp;rsquo;d give &lt;a href="http://www.onfolio.com/"&gt;Onfolio&lt;/a&gt; a try &amp;mdash; I have, and damn, it is smokin&amp;rsquo;! I&amp;rsquo;ve only used it for a couple of hours, but I can already heartily recommend it.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=380625" width="1" height="1"&gt;</description></item><item><title>SQL 'SELECT CASE' problem</title><link>http://weblogs.asp.net/tjohansen/archive/2005/02/24/379541.aspx</link><pubDate>Thu, 24 Feb 2005 02:34:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:379541</guid><dc:creator>Aylar</dc:creator><slash:comments>10</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tjohansen/rsscomments.aspx?PostID=379541</wfw:commentRss><comments>http://weblogs.asp.net/tjohansen/archive/2005/02/24/379541.aspx#comments</comments><description>&lt;p&gt;&lt;A href="http://weblogs.asp.net/dneimke"&gt;Darren &lt;/a&gt;came to me today requesting some help with an SQL&amp;nbsp; problem had run into; he was trying to return some conditional data using a ‘SELECT CASE’ in his&amp;nbsp;query, but he kept being served NULL values for all the rows that did not match his ‘WHEN’ statements. He tried to check if the returned value from the CASE was a NULL in a WHERE clause:&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;select&lt;/font&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#ff00ff"&gt;case&lt;/font&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000ff"&gt;when&lt;/font&gt; shipcountry = &lt;font color="#ff0000"&gt;'norway'&lt;/font&gt; &lt;font color="#9a9a9a"&gt;and&lt;/font&gt; @year1 = &lt;font color="#ff00ff"&gt;datepart&lt;/font&gt;(yy, orderdate) &lt;font color="#0000ff"&gt;then&lt;/font&gt; employeeid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000ff"&gt;when&lt;/font&gt; shipcountry = &lt;font color="#ff0000"&gt;'brazil'&lt;/font&gt; &lt;font color="#9a9a9a"&gt;and&lt;/font&gt; @year2 = &lt;font color="#ff00ff"&gt;datepart&lt;/font&gt;(yy, shippeddate) &lt;font color="#0000ff"&gt;then&lt;/font&gt; employeeid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000ff"&gt;end&lt;/font&gt;&lt;br /&gt;&lt;font color="#0000ff"&gt;from&lt;/font&gt; orders&lt;br /&gt;&lt;font color="#0000ff"&gt;where&lt;/font&gt; 1 &lt;font color="#0000ff"&gt;is&lt;/font&gt; &lt;font color="#808080"&gt;not null&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;That didn’t work because what he was checking was whether the column value was NULL or not and not the value of the actual value returned from the CASE. That’s when I suggested the following example to Darren:&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;select&lt;/font&gt; employeeid&lt;br /&gt;&lt;font color="#0000ff"&gt;from&lt;/font&gt; orders&lt;br /&gt;&lt;font color="#0000ff"&gt;where&lt;/font&gt; orderid in (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000ff"&gt;select&lt;/font&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#ff00ff"&gt;case&lt;/font&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000ff"&gt;when&lt;/font&gt; shipcountry = &lt;font color="#ff0000"&gt;'norway'&lt;/font&gt; &lt;font color="#9a9a9a"&gt;and&lt;/font&gt; @year1 = &lt;font color="#ff00ff"&gt;datepart&lt;/font&gt;(yy, orderdate) &lt;font color="#0000ff"&gt;then&lt;/font&gt; orderid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000ff"&gt;when&lt;/font&gt; shipcountry = &lt;font color="#ff0000"&gt;'brazil'&lt;/font&gt; &lt;font color="#9a9a9a"&gt;and&lt;/font&gt; @year2 = &lt;font color="#ff00ff"&gt;datepart&lt;/font&gt;(yy, shippeddate) &lt;font color="#0000ff"&gt;then&lt;/font&gt; orderid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000ff"&gt;end&lt;/font&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This works perfectly and does exactly what he wanted — you have got to love the power of nested queries ;)&lt;/p&gt; &lt;p&gt;NOTE: the actual sample queries have been modified for the Northwind database for your testing pleasure.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=379541" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tjohansen/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category></item></channel></rss>