<?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>www.hans-eric.com &#187; blogging</title>
	<atom:link href="http://www.hans-eric.com/category/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hans-eric.com</link>
	<description>Hans-Eric Grönlund on software development</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:32:29 +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>D Brush For SyntaxHighlighter</title>
		<link>http://www.hans-eric.com/2010/07/22/d-brush-for-syntaxhighlighter/</link>
		<comments>http://www.hans-eric.com/2010/07/22/d-brush-for-syntaxhighlighter/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 17:36:56 +0000</pubDate>
		<dc:creator>Hans-Eric</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[SyntaxHighlighter]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hans-eric.com/?p=400</guid>
		<description><![CDATA[I&#8217;ve been looking for a way to display prettier code snippets on this blog. The SyntaxHighlighter by Alex Gorbatchev, nicely packaged into a Wordpress plugin by Viper007Bond, had what I was looking for.
I&#8217;ve been using the plugin for a couple of months now and I&#8217;m quite happy with it. The only problem, for me, has been that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking for a way to display prettier code snippets on this blog. The SyntaxHighlighter by Alex Gorbatchev, <a title="SyntaxHighlighter Evolved" href="http://wordpress.org/extend/plugins/syntaxhighlighter/">nicely packaged into a Wordpress plugin</a> by Viper007Bond, had what I was looking for.</p>
<p>I&#8217;ve been using the plugin for a couple of months now and I&#8217;m quite happy with it. The only problem, for me, has been that it doesn&#8217;t support The D Programming Language. Since I couldn&#8217;t find any on the internet, I decided to implement a D brush myself. (It&#8217;s quite simple.)</p>
<p><a title="Adding a New Brush Language" href="http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/">Following Viper&#8217;s advice</a> I implemented the support as a tiny Wordpress plugin. If you&#8217;re using SyntaxHighligher Evolved and want to be able to display syntax highlighted D code, feel free to <a title="SyntaxHighlighter Evolved: D Brush Support" href="http://www.hans-eric.com/share/shbrushd/">download shBrushD</a> from my new Shared Stuff page.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hans-eric.com/2010/07/22/d-brush-for-syntaxhighlighter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ModRewrite Problems</title>
		<link>http://www.hans-eric.com/2008/07/05/modrewrite-problems/</link>
		<comments>http://www.hans-eric.com/2008/07/05/modrewrite-problems/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 14:26:05 +0000</pubDate>
		<dc:creator>Hans-Eric</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[off-topic]]></category>

		<guid isPermaLink="false">http://www.hans-eric.com/?p=119</guid>
		<description><![CDATA[As you may or may not have discovered I have been on a long vacation, and intentionally stayed far away from any computer. Unfortunately my blog seems to have broken while I have been gone, particularely the single post pages.
Somehow the ModRewrite rules got screwed up, no idea how. Anyway, it has been taken care [...]]]></description>
			<content:encoded><![CDATA[<p>As you may or may not have discovered I have been on a long vacation, and intentionally stayed far away from any computer. Unfortunately my blog seems to have broken while I have been gone, particularely the single post pages.</p>
<p>Somehow the ModRewrite rules got screwed up, no idea how. Anyway, it has been taken care of now and the site should be up and running as usual. Many thank&#8217;s to <a href="http://www.robertames.com">Robert Ames</a> who pointed it out for me.</p>
<p>Now, back to vacationing (I still have a week left).</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hans-eric.com/2008/07/05/modrewrite-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New looks and stuff</title>
		<link>http://www.hans-eric.com/2008/01/23/new-looks-and-stuff/</link>
		<comments>http://www.hans-eric.com/2008/01/23/new-looks-and-stuff/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 09:49:12 +0000</pubDate>
		<dc:creator>Hans-Eric</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[web-design]]></category>

		<guid isPermaLink="false">http://www.hans-eric.com/2008/01/23/new-looks-and-stuff/</guid>
		<description><![CDATA[I haven&#8217;t been happy with the way code snippets look on my blog. Yesterday I decided to do something about it, but, which is typical me, the number of changes got a lot more than I set out for, including a Wordpress upgrade and a new theme.
After a couple of minor layout and style sheet [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t been happy with the way code snippets look on my blog. Yesterday I decided to do something about it, but, which is typical me, the number of changes got a lot more than I set out for, including a Wordpress upgrade and <a href="http://www.doshdosh.com/prosense-adsense-ready-seo-theme/" title="ProSense Wordpress Theme from Dosh Dosh">a new theme</a>.</p>
<p>After a couple of minor layout and style sheet changes, I was satisfied with the new look &#8211; in Firefox that is; When I tested it in Internet Explorer 6.0, I noticed that the content of the sidebar got displaced when there were code snippets in a post.</p>
<p><a href="http://www.hans-eric.com/wp-content/uploads/2008/01/displacedsidebar.PNG" title="Display Bug in IE 6"><img src="http://www.hans-eric.com/wp-content/uploads/2008/01/displacedsidebar.thumbnail.PNG" alt="Display Bug in IE 6" /></a></p>
<p>With a little investigation, I discovered that the triggering factor of this annoying bug was the following css rule, or more precisely, the padding property.</p>
<pre><code>code{
  font:1.2em 'Courier New',Courier,Fixed;
  display:block;
  overflow:auto;
  text-align:left;
  margin: 10px 0 10px 0;
  background: #FBF5DF;
  border-top: solid 1px #EDE0B3;
  border-bottom: solid 1px #EDE0B3;
  <em>padding: 5px 10px 5px 10px;
</em>}</code></pre>
<p>When I changed it and removed the right hand side padding, the problem went away.</p>
<pre><code>code{
  font:1.2em 'Courier New',Courier,Fixed;
  display:block;
  overflow:auto;
  text-align:left;
  margin: 10px 0 10px 0;
  background: #FBF5DF;
  border-top: solid 1px #EDE0B3;
  border-bottom: solid 1px #EDE0B3;
  <strong>padding-left: 5px;
  padding-top: 10px;
  padding-bottom: 10px;</strong>
}</code></pre>
<p>One may wonder how an internal space property like padding could have this effect on the positioning of other objects, but then again, I&#8217;m not surprised. I can see why Internet Explorer is not the favorite browser among web designers, <a href="http://www.hans-eric.com/2007/09/12/the-firefox-domination/" title="The Firefox Domination">or among you</a> for that matter.</p>
<p>Anyway, I hope you like the new looks of my blog; If you don&#8217;t, please let me know.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hans-eric.com/2008/01/23/new-looks-and-stuff/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Support Your Favorite Small Software Vendor Day</title>
		<link>http://www.hans-eric.com/2007/12/01/support-your-favorite-small-software-vendor-day/</link>
		<comments>http://www.hans-eric.com/2007/12/01/support-your-favorite-small-software-vendor-day/#comments</comments>
		<pubDate>Sat, 01 Dec 2007 01:49:44 +0000</pubDate>
		<dc:creator>Hans-Eric</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.hans-eric.com/2007/12/01/support-your-favorite-small-software-vendor-day/</guid>
		<description><![CDATA[I support the initiative of Jeff Atwood who declared this day to be the &#8220;Support Your Favorite Small Software Vendor Day&#8220;.
]]></description>
			<content:encoded><![CDATA[<p>I support the initiative of Jeff Atwood who declared this day to be the &#8220;<a href="http://www.codinghorror.com/blog/archives/000735.html">Support Your Favorite Small Software Vendor Day</a>&#8220;.<span class="description"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hans-eric.com/2007/12/01/support-your-favorite-small-software-vendor-day/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I&#8217;m back!</title>
		<link>http://www.hans-eric.com/2007/10/28/im-back/</link>
		<comments>http://www.hans-eric.com/2007/10/28/im-back/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 19:47:59 +0000</pubDate>
		<dc:creator>Hans-Eric</dc:creator>
				<category><![CDATA[D Programming Language]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[test-driven]]></category>

		<guid isPermaLink="false">http://www.hans-eric.com/2007/10/28/im-back/</guid>
		<description><![CDATA[I&#8217;m back from my three week vacation!
I had a great time, but as suspected I wasn&#8217;t able to stay away from computers. In the warm evenings, just for fun, I started to implement a ray tracer in the D Programming Language.
I have been looking for a suitable project that would give me a chance to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m back from my three week vacation!</p>
<p>I had a great time, but as suspected I wasn&#8217;t able to stay away from computers. In the warm evenings, just for fun, I started to implement a <a href="http://en.wikipedia.org/wiki/Ray_tracing" title="Ray Tracing on Wikipedia">ray tracer</a> in the <a href="http://www.digitalmars.com/d/">D Programming Language</a>.</p>
<p>I have been looking for a suitable project that would give me a chance to get deep into D, and a ray tracer seems to be the perfect fit. D is supposed to be great at floating point programming and now I have the chance to find out on my own.</p>
<p>To make it a little more interesting I have used a more top-down breath-first kind of approach than I normally do. I want to see how that affects a <a href="http://en.wikipedia.org/wiki/Test-driven_development">test-driven development technique</a>. As a part of the experiment I keep a detailed development log which I plan to share with you when I reach a certain point. It could be within a week or take several months depending on work load and inspiration level.</p>
<p>So stay tuned. I&#8217;ll be back with ray tracing, or other topics that comes across my sphere of interest.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hans-eric.com/2007/10/28/im-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vacation &#8211; at last!</title>
		<link>http://www.hans-eric.com/2007/10/07/vacation-at-last/</link>
		<comments>http://www.hans-eric.com/2007/10/07/vacation-at-last/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 15:10:15 +0000</pubDate>
		<dc:creator>Hans-Eric</dc:creator>
				<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://www.hans-eric.com/2007/10/07/vacation-at-last/</guid>
		<description><![CDATA[Tomorrow I&#8217;m off to a well needed vacation. We&#8217;re going to Turkey for three weeks and I plan to stay as far away from computers as possible. That almost never works so don&#8217;t be surprised if posts keep coming.
Well, off I go, so
Cheers!
]]></description>
			<content:encoded><![CDATA[<p>Tomorrow I&#8217;m off to a well needed vacation. <a href="http://www.google.com/maps?ie=UTF8&amp;ll=39.423713,26.86051&amp;spn=0.454564,0.367355&amp;z=11&amp;om=1" title="We're going to Karaagac">We&#8217;re going to Turkey</a> for three weeks and I plan to stay as far away from computers as possible. That almost never works so don&#8217;t be surprised if posts keep coming.</p>
<p>Well, off I go, so</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hans-eric.com/2007/10/07/vacation-at-last/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Search Engine Game</title>
		<link>http://www.hans-eric.com/2007/10/02/the-search-engine-game/</link>
		<comments>http://www.hans-eric.com/2007/10/02/the-search-engine-game/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 10:25:07 +0000</pubDate>
		<dc:creator>Hans-Eric</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[web-design]]></category>

		<guid isPermaLink="false">http://www.hans-eric.com/2007/10/02/the-search-engine-game/</guid>
		<description><![CDATA[SEO is obviously something that is occupying a lot of people&#8217;s minds nowadays.  Digg and other community websites are full of posts with the three-letter abbreviation. The challenge is to outsmart the search engine algorithm so that your content (well, ads) will show amongst the first search results. The number of SEO experts out [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Search_engine_optimisation" title="Search Engine Optimization">SEO</a> is obviously something that is occupying a lot of people&#8217;s minds nowadays.  Digg and other community websites are full of posts with the three-letter abbreviation. The challenge is to outsmart the search engine algorithm so that your content (well, ads) will show amongst the first search results. The number of SEO experts out there are legio, but so are the skeptics. <a href="http://blogs.rrs.co.uk/revella/default.aspx" title="Alastair Revell's weblog">Alastair Revell</a>, for instance, <a href="http://blogs.rrs.co.uk/revella/PermaLink,guid,eab862f5-d03c-4749-8e49-f1d821cde44e.aspx" title="Alastair Revell: Search Engine Optimisation (SEO)">thinks that all you need is a good grip</a> of basic web design.</p>
<blockquote><p>&#8220;What I believe is that writing search engine optimised pages is part and parcel of good web design and not a black art to be practised by specialists.&#8221;</p></blockquote>
<p>I agree with Alastair on this. To me, SEO with the sole purpose of climbing as high as possible on the Google ladder, is a lot like cheating. It&#8217;s like skipping a cue. The effect is that more legitimate content could be pushed downwards. The problem then, is that if some does it, everyone needs to follow or lose their legitimate rank.</p>
<p>A parallel can be drawn to driving in big cities: in order to prevent cars from behind to pass and take your place, you need to keep a short distance to the car in front. This way of driving use up more fuel than necessary. It requires you to accelerate faster, and break more often than what is optimal. The same is true for SEO. The time you spend on optimizing search engine results is waste in the sense of content quality.</p>
<p>Instead of worrying about duplication or other SEO related problems, your time is better spent on improving content and users&#8217; experience. In my opinion, that is the only way to be a long-term winner in the Search Engine Game.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hans-eric.com/2007/10/02/the-search-engine-game/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How I Reward Good Blog Posts</title>
		<link>http://www.hans-eric.com/2007/10/01/how-i-reward-good-blog-posts/</link>
		<comments>http://www.hans-eric.com/2007/10/01/how-i-reward-good-blog-posts/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 11:54:15 +0000</pubDate>
		<dc:creator>Hans-Eric</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[reading]]></category>

		<guid isPermaLink="false">http://www.hans-eric.com/2007/10/01/how-i-reward-good-blog-posts/</guid>
		<description><![CDATA[I sometimes come across a blog post that makes me want to reward the author a little more than the normal Digg, Reddit or Stumble voting. This is usually the case for content that enlightens or inspires me, or just makes me feel good.
I wouldn&#8217;t go so far as to pay the blogger, but since [...]]]></description>
			<content:encoded><![CDATA[<p>I sometimes come across a blog post that makes me want to reward the author a little more than the normal <a href="http://www.digg.com">Digg</a>, <a href="http://reddit.com">Reddit </a>or <a href="http://www.stumbleupon.com/" title="Stumble Upon">Stumble</a> voting. This is usually the case for content that enlightens or inspires me, or just makes me feel good.</p>
<p>I wouldn&#8217;t go so far as to pay the blogger, but since I&#8217;m willing to spend a little time there is another way. Here&#8217;s how I do it:</p>
<p>When I decide to reward the author, I scan the post for an ad that catches my attention. If (and only if) I find an ad that is worth spending at least 30 seconds on, I go ahead and click it. In that way the author gets a little money (usually a fraction of a dollar), I accomplish my goal of rewarding him or her, and the advertiser gets the chance to present his offer to someone who is suffering from severe <a href="http://www.useit.com/alertbox/banner-blindness.html" title="Banner Blindness">ad blindness</a>.</p>
<p>Please note that this is not some kind of click fraud. I only click on ads that interest me, and I do spend time to investigate the offer. In fact, my habit of rewarding good posts is every advertisers dream. Since I use Firefox with the <a href="https://addons.mozilla.org/en-US/firefox/addon/1865" title="The Adblock Firefox Extension">Adblock Plus</a> extension, I need to turn that off in order to see the advertising on the page. Nothing but the wish to reward the blogger could make me go through that procedure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hans-eric.com/2007/10/01/how-i-reward-good-blog-posts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.412 seconds -->
