<?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>Blog</title>
	<atom:link href="http://blog.bprog.no/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bprog.no</link>
	<description>Some personal and some technical posts</description>
	<lastBuildDate>Sun, 14 Jun 2009 19:04:11 +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>Windows 7 without IE</title>
		<link>http://blog.bprog.no/index.php/2009/06/windows-7-without-ie/</link>
		<comments>http://blog.bprog.no/index.php/2009/06/windows-7-without-ie/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 19:04:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/?p=146</guid>
		<description><![CDATA[That&#8217;s a shame. Internet Explorer is an excellent tool for downloading Firefox!
Read the press release here:
http://www.google.com/hostednews/afp/article/ALeqM5hGWpt2Jl279bg2BaPZz52moEnlnA
]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s a shame. Internet Explorer is an excellent tool for downloading Firefox!</p>
<p>Read the press release here:</p>
<p><a href="http://www.google.com/hostednews/afp/article/ALeqM5hGWpt2Jl279bg2BaPZz52moEnlnA">http://www.google.com/hostednews/afp/article/ALeqM5hGWpt2Jl279bg2BaPZz52moEnlnA</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/06/windows-7-without-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skummel trend dette med hinsides avanserte prismodeller</title>
		<link>http://blog.bprog.no/index.php/2009/06/skummel-trend-dette-med-hinsides-avanserte-prismodeller/</link>
		<comments>http://blog.bprog.no/index.php/2009/06/skummel-trend-dette-med-hinsides-avanserte-prismodeller/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 15:56:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nyheter]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/?p=144</guid>
		<description><![CDATA[I dag kan vi lese i VG at Norwegian har begynt å ta 40 kroner fra de som betaler med kredittkort. I og med at Norwegian selger billetter gjennom hjemmesiden sin på nett vil jeg tro at dette gjelder de aller fleste kundene deres. I følge Anne-Sissel Skanvik som er Norwegians informasjonsdirektør skal dette dekke [...]]]></description>
			<content:encoded><![CDATA[<p>I dag kan vi lese i VG at Norwegian har begynt å ta 40 kroner fra de som betaler med kredittkort. I og med at Norwegian selger billetter gjennom hjemmesiden sin på nett vil jeg tro at dette gjelder de aller fleste kundene deres. I følge Anne-Sissel Skanvik som er Norwegians informasjonsdirektør skal dette dekke beløpet kredittkortselskapene krever Norwegian for. Dette er så dumt at det er helt fantastisk! Det faller fullstendig på sin egen urimelighet at kredittkortselskaper tar 40 kroner per transaksjon!</p>
<p>Jeg sier ikke det at Norwegian ikke skal få love til å tjene penger, som alle andre bedrifter må de få pengene sine fra et sted, men jeg skulle ønske at denne trenden med hinsides vanskelige prismodeller tok slutt! Det hele startet da Post og Teletilsynet lanserte <a href="http://www.telepriser.no">Telepriser.no</a> hvor folk enkelt kan sammenligne mobilabbonementspriser. I ettertid har mobilbransjen med flere kommet opp med den ene prismodellen mer ubegripelig enn den andre.</p>
<p><a href="http://www.vg.no/reise/artikkel.php?artid=569822">Vg&#8217;s artikkel</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/06/skummel-trend-dette-med-hinsides-avanserte-prismodeller/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Intel X25-M rules on Ubuntu 9.04</title>
		<link>http://blog.bprog.no/index.php/2009/05/intel-x25-m-rules-on-ubuntu-904/</link>
		<comments>http://blog.bprog.no/index.php/2009/05/intel-x25-m-rules-on-ubuntu-904/#comments</comments>
		<pubDate>Sun, 17 May 2009 11:17:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Intel SSD]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[X25-M]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/?p=139</guid>
		<description><![CDATA[I finally got tired of waiting for the prices to drop further so I bought me a little from-me-to-me present, the Intel X25-M SSD. Ubuntu 9.04 already boots pretty fast, but with this drive it&#8217;s amazing! As you can read from the chart belove it takes around 10 seconds to get to the login screen. [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got tired of waiting for the prices to drop further so I bought me a little from-me-to-me present, the Intel X25-M SSD. Ubuntu 9.04 already boots pretty fast, but with this drive it&#8217;s amazing! As you can read from the chart belove it takes around 10 seconds to get to the login screen. When I bought it I had hoped that it would make NetBeans and compilation of some semi-heavy Java projects more snappy, but it turnes out that the CPU was a much larger bottleneck than I had expected.</p>
<p><img class="aligncenter size-full wp-image-142" title="Ubuntu 9.04 boot with Intel X25-M SSD" src="http://blog.bprog.no/wp-content/uploads/2009/05/lappis2-jaunty-20090515-11.png" alt="Ubuntu 9.04 boot with Intel X25-M SSD" width="588" height="2268" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/05/intel-x25-m-rules-on-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jøss NRK er ikke bekymret for utgiftene ved arrangering av MGP!!</title>
		<link>http://blog.bprog.no/index.php/2009/05/j%c3%b8ss-nrk-er-ikke-bekymret-for-utgiftene-ved-arrangering-av-mgp/</link>
		<comments>http://blog.bprog.no/index.php/2009/05/j%c3%b8ss-nrk-er-ikke-bekymret-for-utgiftene-ved-arrangering-av-mgp/#comments</comments>
		<pubDate>Sun, 17 May 2009 11:09:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Nyheter]]></category>
		<category><![CDATA[MGP]]></category>
		<category><![CDATA[NRK]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/?p=136</guid>
		<description><![CDATA[Jeg hadde heller ikke bekymret meg stort om penger hvis alle i landet med en tv var tvunget til å betale meg nesten tre tusen kroner i året!
http://e24.no/medier-og-reklame/article3079677.ece
]]></description>
			<content:encoded><![CDATA[<p>Jeg hadde heller ikke bekymret meg stort om penger hvis alle i landet med en tv var tvunget til å betale meg nesten tre tusen kroner i året!</p>
<p><a title="http://e24.no/medier-og-reklame/article3079677.ece" href="http://e24.no/medier-og-reklame/article3079677.ece">http://e24.no/medier-og-reklame/article3079677.ece</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/05/j%c3%b8ss-nrk-er-ikke-bekymret-for-utgiftene-ved-arrangering-av-mgp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stupid default setting in NetBeans</title>
		<link>http://blog.bprog.no/index.php/2009/05/stupid-default-setting-in-netbeans/</link>
		<comments>http://blog.bprog.no/index.php/2009/05/stupid-default-setting-in-netbeans/#comments</comments>
		<pubDate>Fri, 15 May 2009 23:43:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/index.php/2009/05/stupid-default-setting-in-netbeans/</guid>
		<description><![CDATA[One thing is that NetBeans wants to expand tabs into spaces, at least thats a hot topic. Although, why the hell would anyone use spaces when the keyboard actually has a dedicated key to produce a nice indentation is beyond me. But why in the name of all that is holy isn&#8217;t line numbering turned [...]]]></description>
			<content:encoded><![CDATA[<p>One thing is that NetBeans wants to expand tabs into spaces, at least thats a hot topic. Although, why the hell would anyone use spaces when the keyboard actually has a dedicated key to produce a nice indentation is beyond me. But why in the name of all that is holy isn&#8217;t line numbering turned on by default?! I know it&#8217;s a minor thing, but it&#8217;s stupid non the less! </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/05/stupid-default-setting-in-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash script for creating files in empty folders &#8211; Mercurial workaround</title>
		<link>http://blog.bprog.no/index.php/2009/05/bash-script-for-creating-files-in-empty-folders-mercurial-workaround/</link>
		<comments>http://blog.bprog.no/index.php/2009/05/bash-script-for-creating-files-in-empty-folders-mercurial-workaround/#comments</comments>
		<pubDate>Sun, 10 May 2009 01:00:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Empty folders]]></category>
		<category><![CDATA[Mercurial]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/?p=125</guid>
		<description><![CDATA[I was astonished to find out that Mercurial was unable to represent empty folders. The most obvious workaround is to create an empty file in each of those folders. But hey, you don&#8217;t want to do that by hand do you? Well luckily we&#8217;re all using a Linux based OS with an extremely powerful command [...]]]></description>
			<content:encoded><![CDATA[<p>I was astonished to find out that Mercurial was unable to represent empty folders. The most obvious workaround is to create an empty file in each of those folders. But hey, you don&#8217;t want to do that by hand do you? Well luckily we&#8217;re all using a Linux based OS with an extremely powerful command line. It took me just a couple of minutes to come up with a one-liner bash script which creates an empty file in every empty directory.</p>
<blockquote><p>find . -empty -type d | xargs &#8211;replace=EMPTYDIR touch &#8220;EMPTYDIR/.empty&#8221;</p></blockquote>
<p>This will put an empty file named &#8220;.empty&#8221; in every empty sub directory from where you&#8217;re standing.</p>
<p><strong><em><span style="color: #800000;">Please make sure that you copy the line correctly. There is an double hyphen before xargs&#8217;s replace parameter and regular double quotes around the touch argument. </span></em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/05/bash-script-for-creating-files-in-empty-folders-mercurial-workaround/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A first look at Mercurial &#8211; Bye bye Subversion?</title>
		<link>http://blog.bprog.no/index.php/2009/05/a-first-look-at-mercurial-bye-bye-subversion/</link>
		<comments>http://blog.bprog.no/index.php/2009/05/a-first-look-at-mercurial-bye-bye-subversion/#comments</comments>
		<pubDate>Sun, 10 May 2009 00:39:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mercurial SVN]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/?p=123</guid>
		<description><![CDATA[I&#8217;m so sick and tired of Subversion! A couple of days ago our repository server was down which caused the f&#8230; stupid svn client to hang. Not even pressing Ctrl-C would stop it. In the end I had to kill it the hard way. This obviously messed up the svn locks. You should think that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m so sick and tired of Subversion! A couple of days ago our repository server was down which caused the f&#8230; stupid svn client to hang. Not even pressing Ctrl-C would stop it. In the end I had to kill it the hard way. This obviously messed up the svn locks. You should think that they had implemented a timeout and sensible error message by 2009? And don&#8217;t even get me started on all those .svn directories laying around!</p>
<p>Anyway, this finally pushed me to have a look at alternatives. I&#8217;ve been wanting to try out Mercurial for some time now and this pushed me over the edge. My first impression is really good! I obviously have to spend some time getting used to the distributed model, but it seems like it might be worth it. Everything was looking rose red until I figured out that it doesn&#8217;t support tracking of empty folders!? It does make sense when I think about their architecture built up around sha1 sums, but I still think that it&#8217;s strange. I often create a directory structure before I start coding. The workaround seems to be creating empty files inside each folder, which sounds a little annoying to me.</p>
<p>That&#8217;s it for now. Man it felt good to shout and scream a little about Subversion! <img src='http://blog.bprog.no/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/05/a-first-look-at-mercurial-bye-bye-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBeans 6.7 is looking good!</title>
		<link>http://blog.bprog.no/index.php/2009/05/netbeans-67-is-looking-good/</link>
		<comments>http://blog.bprog.no/index.php/2009/05/netbeans-67-is-looking-good/#comments</comments>
		<pubDate>Fri, 08 May 2009 20:45:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/index.php/2009/05/netbeans-67-is-looking-good/</guid>
		<description><![CDATA[I&#8217;ve been trying out the beta build of NetBeans version 6.7 and it&#8217;s looking very good. The PHP support is becoming very good.
Even Grails support is coming along with support for Grails 1.1. Rumors has it that even debugging is supported now! Nice work!
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying out the beta build of NetBeans version 6.7 and it&#8217;s looking very good. The PHP support is becoming very good.</p>
<p>Even Grails support is coming along with support for Grails 1.1. Rumors has it that even debugging is supported now! Nice work!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/05/netbeans-67-is-looking-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grails converters not available in unit testing</title>
		<link>http://blog.bprog.no/index.php/2009/05/grails-converters-not-available-in-unit-testing/</link>
		<comments>http://blog.bprog.no/index.php/2009/05/grails-converters-not-available-in-unit-testing/#comments</comments>
		<pubDate>Fri, 08 May 2009 20:42:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[convertes]]></category>
		<category><![CDATA[grails]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/?p=117</guid>
		<description><![CDATA[Bah, can&#8217;t believe that it took me that long to figure it out. Apparently you need to have the Grails application context up and running in order to use convertes (as XML / JSON) in your unit tests. After moving my test from the unit test folder over into the integration test folder it worked [...]]]></description>
			<content:encoded><![CDATA[<p>Bah, can&#8217;t believe that it took me that long to figure it out. Apparently you need to have the Grails application context up and running in order to use convertes (as XML / JSON) in your unit tests. After moving my test from the unit test folder over into the integration test folder it worked like a charm. Well, I&#8217;ve wasted time and blogged about it so you won&#8217;t have to repeat the mistake. Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/05/grails-converters-not-available-in-unit-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedded Java LDAP server for unit testing</title>
		<link>http://blog.bprog.no/index.php/2009/04/embedded-java-ldap-server-for-unit-testing/</link>
		<comments>http://blog.bprog.no/index.php/2009/04/embedded-java-ldap-server-for-unit-testing/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 19:20:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[apacheds]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[opends]]></category>
		<category><![CDATA[unit testing]]></category>

		<guid isPermaLink="false">http://blog.bprog.no/?p=114</guid>
		<description><![CDATA[I&#8217;ve just spent about a day trying different embeddable Java LDAP servers. To save you from all the trouble I came across I&#8217;m going to share some of my experiences.
Basically you have three choices when it comes to  embeddable Java LDAP servers (at least open source). First of you have Sun&#8217;s OpenDS, they have a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just spent about a day trying different embeddable Java LDAP servers. To save you from all the trouble I came across I&#8217;m going to share some of my experiences.</p>
<p>Basically you have three choices when it comes to  embeddable Java LDAP servers (at least open source). First of you have Sun&#8217;s <a href="https://opends.dev.java.net/">OpenDS</a>, they have a page dedicated to <a href="https://www.opends.org/wiki/page/TipsAndTricksForWritingUnitTests">Tips and tricks for writing unit tests</a>. I have to say that I&#8217;m not very impressed by OpenDS. Don&#8217;t take me wrong it might be a fantastic LDAP server, but it certainly does not give me the feeling of being very embeddable! First of all the documentation refers to a mysterious class TestCaseUtils. I&#8217;ve checked builds from version 1.0.something to 1.2.something without finding it. The second drawback is that OpenDS is like a flesh-eating-configuration-monster sent back in time to kill the spirit of any developers getting near it. It comes with a 2000+ lines ldif config file, which is supposed to work for servers running embedded as well. It would be nice if they could provide a minimal configuration file for embedded use. To me it complained a lot about errors in the bundled schemas. Oh that&#8217;s right you need to set up a directory structure for config files, schemas and locks. Again, not very embeddable!</p>
<p>The second and third choise is <a href="http://directory.apache.org/">ApacheDS.</a> You have the newer version 1.5. with support for fancy things like triggers and stuff and you have the older 1.0 series. Both LDAPv3 compatible. The project is very well documented and they even maintain something they call Apache Directory Studio, which is a graphical LDAP GUI based on Eclipse. Very nice! If you don&#8217;t need the fancy stuff implemented in the 1.5 series I really recommend that you go for the older 1.0 series for your unit testing. You&#8217;ll find jars in Maven repos and it&#8217;s really simple to get started. It just works the way you expect it to! Just follow this <a href="http://directory.apache.org/apacheds/1.0/using-apacheds-for-unit-tests.html">guide</a> and you will be unit testing your LDAP code in no time.</p>
<p>At the time I&#8217;m writing this 1.5.4 is the newest version of the 1.5 series. They have a <a href="http://directory.apache.org/apacheds/1.5/42-using-apacheds-for-unit-tests.html">guide for doing unit testing with 1.5 as well</a>, but due to some problems it won&#8217;t work with 1.5.4 so you&#8217;ll have to build the trunk for your self or track down a Maven snapshot repo (good luck!).</p>
<p>Happy testing!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bprog.no/index.php/2009/04/embedded-java-ldap-server-for-unit-testing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
