<?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>A Developer&#039;s Blog &#187; Fun</title>
	<atom:link href="http://blog.hoegaerden.be/tag/fun/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hoegaerden.be</link>
	<description>SQL Server, BI, .NET, IT and anything else I have been playing with.</description>
	<lastBuildDate>Sun, 11 Jul 2010 12:19:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Drawing In SQL Server 2008</title>
		<link>http://blog.hoegaerden.be/2010/02/26/drawing-in-sql-server-2008/</link>
		<comments>http://blog.hoegaerden.be/2010/02/26/drawing-in-sql-server-2008/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 21:18:34 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Hoegaarden]]></category>
		<category><![CDATA[spatial data]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/02/26/drawing-in-sql-server-2008/</guid>
		<description><![CDATA[A while ago I had been playing a bit with the new spatial data types in SQL Server 2008.  Not only can SQL Server store such data, it can also visualize it.  So I had come up with the following query:
select geometry::STPolyFromText
('POLYGON((1 1, 1.5 1.85, 2.5 1.85, 3 1, 2.5 0.15, 1.5 0.15, 1 1),
(1.5 [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I had been playing a bit with <a title="SQL Serve 2008: Spatial Data" href="http://www.microsoft.com/sqlserver/2008/en/us/spatial-data.aspx" target="_blank">the new spatial data types in SQL Server 2008</a>.  Not only can SQL Server store such data, it can also visualize it.  So I had come up with the following query:</p>
<pre class="code"><span style="color: blue;">select geometry</span><span style="color: gray;">::</span>STPolyFromText
<span style="color: gray;">(</span><span style="color: red;">'POLYGON((1 1, 1.5 1.85, 2.5 1.85, 3 1, 2.5 0.15, 1.5 0.15, 1 1),
(1.5 1.5, 1.5 0.5, 1.7 0.5, 1.7 0.9, 2.3 0.9, 2.3 0.5, 2.5 0.5, 2.5 1.5, 2.3 1.5,
2.3 1.1, 1.7 1.1, 1.7 1.5, 1.5 1.5))'</span><span style="color: gray;">, </span>0<span style="color: gray;">);
</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>Running that in the Management Studio produces something like this on the <strong>Spatial results</strong> tab:</p>
<p><img style="display: inline; border: 0px;" title="Hoegaerden - the polygon" src="http://blog.hoegaerden.be/wp-content/uploads/image193.png" border="0" alt="Hoegaerden - the polygon" width="486" height="404" /></p>
<p>I’m using the <a title="BOL 2008: STPolyFromText (geometry Data Type)" href="http://msdn.microsoft.com/en-us/library/bb933922.aspx" target="_blank">STPolyFromText</a> function to produce a six-sided polygon with a letter H in the center.  To get to the result, I’m passing a bunch of XY coordinates to the function.  A line gets drawn between two coordinates following each other.</p>
<p>The first list of coordinates (the first list of numbers enclosed in round brackets) creates the hexagon while the second list produces the letter H.  Each <em>list of coordinates</em> thus represents one <strong>polygon</strong>.   The starting XY coordinate must be equal to the ending coordinate to form a closed shape.  The shape is then filled with a color.  Overlapping shapes will be filled using different colors, as shown above.</p>
<p>Producing these coordinates was quite interesting: to be able to calculate the angled sides of the hexagon I used the following formulas.</p>
<p>With <strong>S</strong> being <em>the length of one side</em>:</p>
<p>Width = 2 * S</p>
<p>Height = S * SQRT(3)</p>
<p><strong>Note:</strong> these formulas are only applicable when the hexagon is rotated as shown above.</p>
<p>I needed to know these distances to be able to calculate how much I should increase the X/Y coordinates to get to the next connector.</p>
<p>Okay, enough theory, back to the story now.</p>
<p>Q: “So, why are you creating a helipad platform?”</p>
<p>A: No, it’s not supposed to look like a helipad platform.  The shape resembles the beer coasters for the beer called Hoegaarden.  And those coasters always have a funny drawing or comment on them.  Let’s see if I can find one that’s understandable for non-native Dutch-speakers…</p>
<p><em>(And half an hour later – turns out it’s really not easy to find one without text – luckily they’ve also created some in English!)</em></p>
<p><img style="display: inline; border: 0px;" title="Hoegaarden beer coaster" src="http://blog.hoegaerden.be/wp-content/uploads/image194.png" border="0" alt="Hoegaarden beer coaster" width="640" height="556" /></p>
<p>Initially I was planning on writing a longer article about the spatial data types but hadn’t found the time to do it yet.  And then a couple of days ago I came across a challenge that made me think of this query and so now I’m publishing it in this post.</p>
<p>The challenge to which I’m referring was started by Itzik Ben-Gan and is called <a title="Geekiest Sig Challenge" href="http://www.sqlmag.com/Articles/ArticleID/103518/103518.html" target="_blank">Geekiest Sig Challenge</a>.  The point is to use the new SQL Server spatial data types to create a signature for yourself.  Well, a perfect description for my query!</p>
<p>I was happy to just get an H on there, getting those coordinates right without first putting it on paper is really a challenge <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   And on top of that, I was never any good at drawing.  I remember in secondary school we got an assignment to draw a tree.  Any tree.  So at home I looked out the window and started drawing the tree.  I ended up with the most atrocious thing I’d ever seen (well, that may be a bit exaggerated), it could have starred in a Hitchcock movie straight away, really spiky, and probably spooky when encountered in the dark and with the right background noises playing.</p>
<p>Anyway, what I wanted to say, some people are just talented: check out <a title="More images from the Spatial Results tab" href="http://michaeljswart.com/?p=564" target="_blank">this submission by Michael J. Swart</a>!  No further words needed.</p>
<p>Right, enough geeky stuff to close the week, and remember: have fun!</p>
<p><em>(Hmm, now I’ve got something to build my favicon from…)</em></p>
<p>Valentino.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/02/26/drawing-in-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memory Dumps And Crazy Code Samples</title>
		<link>http://blog.hoegaerden.be/2010/02/06/memory-dumps-and-crazy-code-samples/</link>
		<comments>http://blog.hoegaerden.be/2010/02/06/memory-dumps-and-crazy-code-samples/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 10:53:29 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[memory dump]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/02/06/memory-dumps-and-crazy-code-samples/</guid>
		<description><![CDATA[I usually don’t write posts just to mention a link to another site.  Except when I’ve come across articles which are so good that I want everyone to know about them.  Here are a couple of articles in that particular category.
What Does Microsoft Do With Those Memory Dumps?
The first one is written by Adam W. [...]]]></description>
			<content:encoded><![CDATA[<p>I usually don’t write posts just to mention a link to another site.  Except when I’ve come across articles which are so good that I want everyone to know about them.  Here are a couple of articles in that particular category.</p>
<h2>What Does Microsoft Do With Those Memory Dumps?</h2>
<p>The first one is written by <strong>Adam W. Saxton</strong>, a member of the <a title="CSS SQL Server Engineers blog" href="http://blogs.msdn.com/psssql/default.aspx" target="_blank">Microsoft Customer Service and Support (CSS) SQL Server Escalation Services team</a>.</p>
<p>The subject of the post is an issue that developers of Reporting Services reports may come across: <strong><em>“InvalidReportParameterException</em></strong> <strong>with Data Driven Subscription”</strong>.  The report complains about an invalid parameter while the parameters seem to be okay, visually.  Then the author goes on to describe the actual issue: trailing spaces!  If you’ve been doing BI for a while, this is a quite common issue.  Adam also shows the difference between the <a title="BOL 2008: LEN (Transact-SQL)" href="http://msdn.microsoft.com/en-us/library/ms190329.aspx" target="_blank">LEN()</a> and the <a title="BOL 2008: DATALENGTH (Transact-SQL)" href="http://msdn.microsoft.com/en-us/library/ms173486.aspx" target="_blank">DATALENGTH()</a> functions.</p>
<p>But that’s not the reason that I’m mentioning that article here.  The best part starts following the Summary chapter, and is entitled <strong>Techie Details</strong>.  In that extra chapter he shows how the CSS team uses those crash memory dumps which I’m sure you’ve all seen now and then. </p>
<p>I won’t give you any details about that, just<strong> </strong><a title="InvalidReportParameterException with Data Driven Subscription" href="http://blogs.msdn.com/psssql/archive/2009/12/10/invalidreportparameterexception-with-data-driven-subscription.aspx" target="_blank"><strong>have a look at the article</strong></a>.  If you’re a developer, there’s some very valuable information there!</p>
<p>I am definitely looking forward to seeing his pre-conference session at the <a title="PASS European Conference 2010" href="http://www.sqlpass.org/summit/eu2010/" target="_blank">SQL PASS European Conference in Germany</a> this year: <a title="Pre-Conference Sessions: PASS European Conference 2010 - Tackling Top Reporting Services Issues" href="http://www.sqlpass.org/summit/eu2010/Agenda/PreConference/TacklingTopReportingServicesIssues.aspx" target="_blank">Tackling Top Reporting Services Issues</a>!</p>
<h2>Some Crazy Code Samples</h2>
<p>The second article that I’d like to mention here is written by <a title="Phil Factor" href="http://www.simple-talk.com/author/phil-factor/" target="_blank">Phil Factor</a>, a regular at the <a title="simple-talk" href="http://www.simple-talk.com" target="_blank">Simple-Talk</a> site.</p>
<p>This article is called <a title="Laying out SQL Code" href="http://www.simple-talk.com/sql/t-sql-programming/laying-out-sql-code" target="_blank">Laying out SQL Code</a> and mentions some database naming conventions and T-SQL coding layout, as the title already implies.  Even if you’re not interested in that (although as a serious developer you should be!!), the article is worth the effort of reading just for its code samples.</p>
<p>Here’s my favorite one:</p>
<pre class="code"><span style="color: blue">CREATE TABLE </span>"╚╦╩╗" <span style="color: gray">( </span>"└┬┴┐" <span style="color: blue">nvarchar</span><span style="color: gray">(</span>10<span style="color: gray">))
</span><span style="color: blue">DECLARE </span>@ <span style="color: blue">nvarchar</span><span style="color: gray">(</span>10<span style="color: gray">)  </span><span style="color: blue">set </span>@<span style="color: gray">=</span><span style="color: red">'═'
</span><span style="color: blue">INSERT  INTO </span>"╚╦╩╗"
        <span style="color: gray">( </span>"└┬┴┐" <span style="color: gray">)
        </span><span style="color: blue">SELECT  </span><span style="color: magenta">replicate</span><span style="color: gray">(</span>@<span style="color: gray">,</span>5<span style="color: gray">)

</span><span style="color: blue">SELECT  </span><span style="color: gray">*
</span><span style="color: blue">FROM    </span>"╚╦╩╗"</pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>And just to prove to you that this really is valid code, here’s the result:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Result of crazy query" src="http://blog.hoegaerden.be/wp-content/uploads/image173.png" border="0" alt="Result of crazy query" width="123" height="71" /></p>
<p>So, how about that database for that plumbing company? <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>BTW: when running that code without paying attention to the details (such as what DB your SSMS is connected to), you may end up with something like this:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Silly table stored in master DB - that's not a best practice!" src="http://blog.hoegaerden.be/wp-content/uploads/image174.png" border="0" alt="Silly table stored in master DB - that's not a best practice!" width="192" height="94" /> </p>
<p>So you may want to clean up after running the query using this statement:</p>
<pre class="code"><span style="color: blue">drop table </span>"╚╦╩╗"</pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/02/06/memory-dumps-and-crazy-code-samples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Name That Caption Contest</title>
		<link>http://blog.hoegaerden.be/2010/02/02/name-that-caption-contest/</link>
		<comments>http://blog.hoegaerden.be/2010/02/02/name-that-caption-contest/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 21:40:40 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/02/02/name-that-caption-contest/</guid>
		<description><![CDATA[With this short post I’m participating in a contest started by Thomas LaRock.  He has written a book called DBA Survivor: Become a Rock Star DBA and is giving a copy away to the winner of the contest.
In the banner I see a man looking out of a window at a grey, dull world.  Based [...]]]></description>
			<content:encoded><![CDATA[<p>With this short post I’m participating in a contest started by <a href="http://thomaslarock.com/" target="_blank">Thomas LaRock</a>.  He has written a book called<strong> DBA Survivor: Become a Rock Star DBA</strong> and is giving a copy away to the winner of the contest.</p>
<p>In the banner I see a man looking out of a window at a grey, dull world.  Based on that info, here’s my caption title:</p>
<blockquote><p>SQL Server – Color Your Day!</p></blockquote>
<p>And here’s another one:</p>
<blockquote><p>Waiting for that report to finish?  Hire A DBA!</p></blockquote>
<p>See <a href="http://dbasurvivor.com/?p=29" target="_blank">this post on his blog</a> for more info.</p>
<p>PS: first post from Windows 7 64-bit <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/02/02/name-that-caption-contest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The LNCP</title>
		<link>http://blog.hoegaerden.be/2010/01/19/the-lncp/</link>
		<comments>http://blog.hoegaerden.be/2010/01/19/the-lncp/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 23:35:26 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/01/19/the-lncp/</guid>
		<description><![CDATA[Before you read what I’ve written below, I suggest that you have a look at this blog post by Tim Ford first.&#160; Then it will become clear why this post is not related to SQL Server or even IT  
Let me tell you this little story about Luke, a bloke living down the street [...]]]></description>
			<content:encoded><![CDATA[<p><em>Before you read what I’ve written below, I suggest that you have a look at </em><a title="Whose Blog Is It Anyway?" href="http://thesqlagentman.com/2010/01/whose-blog-is-it-anyway/"><em>this blog post by Tim Ford</em></a><em> first.&#160; Then it will become clear why this post is not related to SQL Server or even IT <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </em></p>
<p>Let me tell you this little story about Luke, a bloke living down the street not far from the city center.&#160; Well, it was a Friday night and he was going to the pub, just like he usually does on Friday nights.&#160; It’s his favorite pub, the LNCP, and he has a habit of meeting his mates there.&#160; The LNCP, some people say it stands for the Live Nude Cats Pub because that’s what they’ve seen there after they’d had several drinks too many.&#160; Or at least, that’s what they think and claim to have seen.&#160; Luke wouldn’t know and he doesn’t mind, he’s allergic to cats anyway, nude or not!</p>
<p>LNCP, the real meaning is Local Natural Coffee Pub, which is a beverage that you can get there 24/7.&#160; It’s known for its high level of several substances, including caffeine obviously. But also some other rather undefined ingredients.&#160; The locals have come to appreciate this beverage &#8211; just like Luke &#8211; and especially in the weekend they consume quite a lot of it.&#160; The pub owner doesn’t want to give away her secret, no one knows how this magical drink is created.&#160; In fact, all that she’s told them about it so far is that the brewing process is done by simply using some magical tool, library or bong.&#160; Which isn’t of much use to those who’ve tried to reproduce it at home.&#160; They&#8217;ve searched all local libraries for books containing its formula, nothing.&#160; They’ve asked around if there were any wizards who knew of magical tools that could produce such a drink, no result either.&#160; And let’s not mention the bong – that’s what they’d use after yet another unsuccessful search to temporarily forget about the fact that once again they hadn’t succeeded.</p>
<p>Anyway, Carabella &#8211; which is the pub owner’s name – she was quite good-looking.&#160; (Isn’t that always the case with female pub owners in a fantasy story?)&#160; And Luke and his mates, as they were regular customers, they knew her quite well.&#160; And it happened to be that on this Friday night she showed them a special little hidden door at the back of her pub.&#160; She told them, if you drink three of my magical LNCs in less than five minutes time and then walk (or better, crawl, as the door was quite low) through this door, you’ll experience the most magical moment in your life!</p>
<p>So the guys &#8211; they didn’t have any other plans that night and they were quite curious after what she’d told them &#8211; they accepted the offer.&#160; They went through the door and came in a sort of stable.&#160; Looked a bit like a horse stable, only, it was different.&#160; They didn’t really know why, figured it was probably just some magic playing around with them.&#160; Then suddenly a little white horse came out from under the hay.&#160; It spoke to Luke!&#160; The guys first wondered about what was happening and then they saw: the pony had wings, it was a Pegasus!&#160; And as everyone knows, Pegasus can communicate with humans.</p>
<p>The Pegasus said to Luke: </p>
<blockquote><p>Could I assist you in any way?</p>
</blockquote>
<p>Luke thought about it for a while but answered negatively.&#160; Although they are strong creatures, he wouldn’t know why he would need assistance from a Pegasus.&#160; But the little pony insisted and said:</p>
<blockquote><p>Are you sure?</p>
</blockquote>
<p>But yeah, Luke was sure.</p>
<p>One of his mates shouted out that there was a door at the other end of the stable and suggested they should go and have a look.</p>
<p>Behind this door there was a magical landscape: a huge valley filled with large fruit trees singing all kinds of song, birds in many colors looking like rainbows all around, animals in all kinds of shapes.&#160; But there’s one problem.&#160; A huge problem.&#160; They are located at the top of a very steep mountain!&#160; When Luke will look out the door the first time, he will appreciate the gorgeous landscape but as soon as he looks down he’s going to be very sad about the pony, or better, about the fact that he refused the pony’s help!&#160; Because after all &#8211; as everyone knows &#8211; Pegasus can fly, even the small ones!</p>
<p>Then Luke woke up, all sweaty and reeking of something, he didn’t immediately know what it was.&#160; When he looked down he noticed that he was in the middle of some horse dung in a stable he didn’t recognize.&#160; He heard something move behind his back and turned around to face a small horse.&#160; He vaguely seemed to know this animal.&#160; Suddenly it spoke to him:</p>
<blockquote><p>As I’ve started, so I’ll finish!&#160; Would you require my help?</p>
</blockquote>
<p>Luke thought about it for a moment and replied: </p>
<blockquote><p>Sure, I’ll take your help.</p>
</blockquote>
<p>Then the horse said: </p>
<blockquote><p>Well done young Skywalker!&#160; Just ask George “Let’s Have Padme Die Of A Broken Heart Instead Of Anakin Crushing Her To Death” Lucas what on earth LNCP stands for next time you see him.</p>
</blockquote>
<p>And the little white horse took off its mask, or better, her mask.&#160; Luke didn’t know what was going on but heard her say:</p>
<blockquote><p>Shall we have a shower?&#160; You really need to get rid of that smell!</p>
</blockquote>
<p>Luke didn’t need to think twice this time!</p>
<p><strong>Morale to the story:</strong> any man given a second chance should think twice about it before answering!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/01/19/the-lncp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog.AgeInYears == 1</title>
		<link>http://blog.hoegaerden.be/2009/08/02/blogageinyears-1/</link>
		<comments>http://blog.hoegaerden.be/2009/08/02/blogageinyears-1/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 13:51:19 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Google Analytics]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/08/02/blogageinyears-1/</guid>
		<description><![CDATA[Now that my blog is about one year old (first article: 2008/07/27) it’s time to have a look at some statistics.  To analyze my blog’s usage I’m using Google Analytics.
Ow, I like Numb3rs btw.  I guess that’s one of the prerequisites to be a professional in the Business Intelligence zone of expertise.
Some General Statistics
Let’s start [...]]]></description>
			<content:encoded><![CDATA[<p>Now that my blog is about one year old (first article: 2008/07/27) it’s time to have a look at some statistics.  To analyze my blog’s usage I’m using <a title="Enterprise-class web analytics made smarter, friendlier and free." href="http://www.google.com/analytics/" target="_blank">Google Analytics</a>.</p>
<p>Ow, I like <a title="umb3rs is an American television show produced by brothers Ridley and Tony Scott." href="http://en.wikipedia.org/wiki/Numb3rs" target="_blank">Numb3rs</a> btw.  I guess that’s one of the prerequisites to be a professional in the Business Intelligence zone of expertise.</p>
<h2>Some General Statistics</h2>
<p>Let’s start off with this interesting graph:</p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image49.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Visitors overview graph for one year" src="http://blog.hoegaerden.be/wp-content/uploads/image-thumb29.png" border="0" alt="Visitors overview graph for one year" width="497" height="102" /></a></p>
<p>What the chart shows is the number of visitors for a whole year, starting at nothing and nicely going up to about 100 per day.  In case you’re wondering why the drawing looks like an irregular <a title="Trigonometric functions: sine" href="http://en.wikipedia.org/wiki/Trigonometric_functions#Sine" target="_blank">sine</a> graph, every cycle represents one week with the lowest parts being the weekend.  Which means that my blog is not as popular during off-time periods as it is during working hours.  Looking at its content that’s normal and acceptable.</p>
<p>Taking a more detailed look, the first few months are good for the lowest amounts of visitors.  Which is logical of course as my blog was built up from scratch.  In 2008 a peak day was 31 visits on November 26.  After New Year’s day, visits started increasing.  This is explained by the fact that the most popular article until now was posted on November 11 (more on that later) and that more and more posts are being added every month.  Some other peak moments were February 23 counting 54 visits, May 28 having 80 visits and July 21 with 108 visits, currently the record!</p>
<h3>Some more general numbers</h3>
<p><strong>Articles:</strong> 41 (well, <a title="Answer to Life, the Universe, and Everything (42)" href="http://en.wikipedia.org/wiki/Phrases_from_The_Hitchhiker%27s_Guide_to_the_Galaxy" target="_blank">42</a> after I post this one, what a coincidence <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
<p><strong>Comments:</strong> 36</p>
<p><strong>Visits (whole year):</strong> 8,898</p>
<p><strong>Unique visitors (whole year):</strong> 7,322</p>
<p><strong>Pageviews (whole year):</strong> 10,931</p>
<p><strong>Highest number of visits in one day:</strong> 108</p>
<p><strong>Countries where visits came from:</strong> 118</p>
<h2>The Visitors</h2>
<p>Following is some information about you, the visitor.</p>
<h3>Geography</h3>
<p>Where are you coming from?</p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image50.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="World map showing numbers of visits over a year" src="http://blog.hoegaerden.be/wp-content/uploads/image-thumb30.png" border="0" alt="World map showing numbers of visits over a year" width="498" height="307" /></a></p>
<p>Most visitors, 35% to be precise, came from the US.  Here’s the top 5:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Top 5 countries where visits came from" src="http://blog.hoegaerden.be/wp-content/uploads/image51.png" border="0" alt="Top 5 countries where visits came from" width="387" height="139" /></p>
<p>Belgium is at second place with almost 10%.  In most cases this would be weird for such a small country but as I’m Belgian it is quite normal and just a matter of social connections.</p>
<h3>Browser, Operating System and screen</h3>
<p>What are you using to read my blog?</p>
<p>The most popular <strong>browser</strong> is <a title="IE home page" href="http://www.microsoft.com/windows/internet-explorer/default.aspx" target="_blank">Internet Explorer</a>, with almost 62%.  <a title="FF home page" href="http://www.mozilla.com/en-US/firefox/personal.html" target="_blank">Firefox</a> is second with 31%, followed by <a title="Chrome home page" href="http://www.google.com/chrome" target="_blank">Chrome</a> with 5%.</p>
<p>Taking a closer look at browser versions for Internet Explorer we see that 7.0 is the most popular with 61%, followed by 6.0 at 22% and 8.0 at 17%.</p>
<p>For Firefox this statistic is a bit harder to read.  Let’s just say 3.0 is the more popular one when looking at the whole past year.  Here are some details in graphic form:</p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image52.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Firefox versions visiting my blog" src="http://blog.hoegaerden.be/wp-content/uploads/image-thumb31.png" border="0" alt="Firefox versions visiting my blog" width="483" height="353" /></a></p>
<p>When looking at the figures of last month we see that FF 3.5 was picked up quite well with 3.5 good for 19% and 3.5.1 counting 17%.</p>
<p>As for <strong>operating system</strong> the numbers are not very challenging: 98.45% is using Windows, followed by Macintosh with 1% and Linux with 0.5%.  Apparently my blog had 2 visits from an iPhone as well.</p>
<p>Now, a closer look into what version of Windows is being used.  Almost 70% uses XP, followed by Vista with 22%.  Windows 7 is not mentioned at all although I’ve used it to visit my blog.  Hmm, I wonder what happens with pre-release versions of OSes in Google Analytics&#8230;</p>
<p>The <strong>resolution</strong> at which you’re reading my blog is very diverse, 102 different screen resolution settings were used in this one year of visits.  The most popular are these:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Most popular screen resolutions" src="http://blog.hoegaerden.be/wp-content/uploads/image53.png" border="0" alt="Most popular screen resolutions" width="374" height="229" /></p>
<p>The lowest one in this list would be 1024&#215;768.  The template that my blog currently uses is 720 pixels wide.  I’ve been wanting to make the detail part a bit wider, this now confirms that I can do that without disturbing too many users.  Now it’s just a matter of finding some spare time <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h3>Traffic Sources and keywords</h3>
<p>How do you get on my blog?</p>
<p>The <strong>source</strong> that gives me the most visitors is <a title="Google" href="http://www.google.com" target="_blank">Google</a> with 72%, so no contest here either.  10% of you is going directly to my blog, without any search engine and another 10% is reaching my blog through <a title="Ordina's N-Technologies Blog" href="http://blog.n-technologies.be" target="_blank">blog.n-technologies.be</a>, which is <a title="Ordina: Consulting - ICT - Outsourcing" href="http://www.ordina.be" target="_blank">Ordina</a>’s blog where some of my posts are being duplicated.</p>
<p><a title="Bing" href="http://www.bing.com" target="_blank">Bing</a> is at position 6 with 0.86% but this number is not fair because Bing didn’t exist when my blog started.  If we look at the statistics of last month we see Bing at the fourth position with 3%.  Although still no competition for Google, it’s the second search engine in the list.  I’m interested to see how this will evolve.  Only time can tell <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Concerning the <strong>keywords</strong> used to find my blog the story is not that easy.  In total 5,120 different key phrases have been used during this past year.  Looking at the global list does not tell me that much except that “kb948109” is the most popular one with 1.18%, obviously leading to <a title="KB948109 fails with errorcode 0×80070643" href="http://blog.hoegaerden.be/2008/08/20/kb948109-fails-with-errorcode-0x80070643/" target="_blank">the article about this particular KB</a>.</p>
<h2>The Content</h2>
<p>What are you reading the most?</p>
<p>This is as far as I’m concerned the more interesting part because it tells me what articles are the most popular and thus gives me an indication what people are looking for.  It’s also satisfying to see a new article go up in the list.</p>
<p>Let’s have a look at the most popular articles since I started my blog.  One article is far ahead of all the others, with almost 23%.  That article is <a title="Calling a web service from SQL Server 2005" href="http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/" target="_blank">Calling a web service from SQL Server 2005</a>.  This is one of my longer posts.  It will be no surprise that this article is also the one with the most comments, 10 in total.  When examining the entrance sources for this post I noticed that 5% are finding this article through Stack Overflow.  With <a title="site:stackoverflow.com hoegaerden" href="http://www.google.be/search?hl=en&amp;q=site%3Astackoverflow.com+hoegaerden&amp;btnG=Search&amp;meta=" target="_blank">some Google magic</a> I indeed found two threads that are referencing my article!</p>
<p>The second most popular article is the one mentioned earlier about KB948109, with 4.5%.  It seems that quite some people are experiencing this issue, just like I did.</p>
<p>Position number three goes to <a title="Excel Automation: the CultureInfo bug" href="http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/" target="_blank">Excel Automation: the CultureInfo bug</a> with close to 4%.</p>
<p>As you’ll agree, the above statistics are not treating my newer articles fairly.  So let’s now take a look at the same list whilst only taking last month into account.</p>
<p>At number one it is still the same post of course, but it’s losing ground.  This time it’s scoring 17%, 6% less than over the whole year.  Actually, “losing” is not a correct statement, it’s just that the competition is getting tougher.</p>
<p>Second most popular post: <a title="Reporting Services 2008 and SSL" href="http://blog.hoegaerden.be/2009/05/24/reporting-services-2008-and-ssl/" target="_blank">Reporting Services 2008 and SSL</a> with 5.6%.</p>
<p>Third most popular post: <a title="SSRS and MDX: Detecting Missing Fields" href="http://blog.hoegaerden.be/2009/07/06/ssrs-and-mdx-detecting-missing-fields/" target="_blank">SSRS and MDX: Detecting Missing Fields</a> scoring 4%.  Interestingly, this one was posted less than a month ago.  It’s also one of my longer articles.</p>
<h2>Some Analysis Fun</h2>
<h3>Firebox</h3>
<p>A while back I posted <a title="A Flippin’ Penguins Tale" href="http://blog.hoegaerden.be/2009/05/30/a-flippin-penguins-tale/" target="_blank">an article about good customer service</a> from the people at Firebox.  This was on May 30, 2009.  The same day I emailed their customer service just to let them know that all was received in good order and to say thanks.  This email did not mention that I posted an article about their service on my blog but in my signature I do have a link to my blog.</p>
<p>And indeed, through Google Analytics I can see a result of that email, more precisely through the <a title="Using Network Location in Google Analytics" href="http://www.lunametrics.com/blog/2008/12/15/network-location-google-analytics/" target="_blank">Network Locations</a> page.  This shows a list of internet providers, but for companies it usually shows the name of the company.</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="List of Network Locations through which my blog is visited" src="http://blog.hoegaerden.be/wp-content/uploads/image54.png" border="0" alt="List of Network Locations through which my blog is visited" width="348" height="192" /></p>
<p>Hmm, number 3 is an interesting one <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   But that’s not what we’re looking for here.  This is:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Firebox.com" src="http://blog.hoegaerden.be/wp-content/uploads/image55.png" border="0" alt="Firebox.com" width="340" height="25" /></p>
<p>There were 19 visits from the people at Firebox!  Drilling down on this we get the following interesting graph:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="When did the people at Firebox visit my site?" src="http://blog.hoegaerden.be/wp-content/uploads/image56.png" border="0" alt="When did the people at Firebox visit my site?" width="196" height="130" /></p>
<p>As expected, this happened the days following my email to them.</p>
<p>We can now slice our data using another dimension, Browser for instance:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Firefox is most popular at Firebox!" src="http://blog.hoegaerden.be/wp-content/uploads/image57.png" border="0" alt="Firefox is most popular at Firebox!" width="431" height="53" /></p>
<p>I guess this is no surprise either, Firefox differs only by one letter from Firebox <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Operating System is another dimension showing interesting results:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="The people at Firebox use several OSes" src="http://blog.hoegaerden.be/wp-content/uploads/image58.png" border="0" alt="The people at Firebox use several OSes" width="396" height="78" /></p>
<p>It seems that the people at Firebox are quite free as to what OS they use.</p>
<p>The Screen Resolution dimension shows that maybe it’s time to get them some new screens <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Screen resolution at Firebox" src="http://blog.hoegaerden.be/wp-content/uploads/image59.png" border="0" alt="Screen resolution at Firebox" width="424" height="52" /></p>
<p>And lastly, guess what Landing Page shows?</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="What Landing Page are the Firebox people getting on?" src="http://blog.hoegaerden.be/wp-content/uploads/image60.png" border="0" alt="What Landing Page are the Firebox people getting on?" width="441" height="24" /></p>
<p>Right, as expected.</p>
<h3>Microsoft</h3>
<p>Out of curiosity I’m now going to slice the data related to the visitors coming through “microsoft corp”.</p>
<p>Guess what OS?</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="OS used by Microsoft people" src="http://blog.hoegaerden.be/wp-content/uploads/image61.png" border="0" alt="OS used by Microsoft people" width="445" height="21" /></p>
<p>Browser?</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Browsers used by Microsoft people" src="http://blog.hoegaerden.be/wp-content/uploads/image62.png" border="0" alt="Browsers used by Microsoft people" width="431" height="50" /></p>
<p>And now a really interesting one: Source!</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Google is the most popular search engine at Microsoft (as far as my blog visitors are concerned at least)" src="http://blog.hoegaerden.be/wp-content/uploads/image63.png" border="0" alt="Google is the most popular search engine at Microsoft (as far as my blog visitors are concerned at least)" width="402" height="314" /></p>
<p>See that number one?  It’s not Live, Bing or MSN, it’s Google!  Looks like there’s still some work to be done.</p>
<p>Where are they located?</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Microsoft locations visiting my blog" src="http://blog.hoegaerden.be/wp-content/uploads/image64.png" border="0" alt="Microsoft locations visiting my blog" width="399" height="166" /></p>
<h2>Conclusion</h2>
<p>The above shows that the longer a post, the more visitors it attracts.  Which is quite normal obviously.  And that Google Analytics can be used to have some fun.</p>
<p>To further conclude I would like to thank everyone who has visited my blog and/or posted a comment.  If you keep on visiting, I’ll keep on writing <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/08/02/blogageinyears-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
