<?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>pedant.dk &#187; IT</title>
	<atom:link href="http://www.pedant.dk/category/it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pedant.dk</link>
	<description>I hack on things that lets you find stuff.</description>
	<lastBuildDate>Sun, 13 Nov 2011 11:22:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mindful software</title>
		<link>http://www.pedant.dk/2011/04/19/mindful-software/</link>
		<comments>http://www.pedant.dk/2011/04/19/mindful-software/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 22:00:58 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/?p=843</guid>
		<description><![CDATA[I have spent considerable amounts of  time thinking about the concept of information and how to convey it in software.  Some years ago I came to the conclusion that I want to present information in context, e.g not present crude extracts from databases, but adapt it to the presentation context, with the user in mind. [...]]]></description>
			<content:encoded><![CDATA[<p>I have spent considerable amounts of  time thinking about the concept of information and how to convey it in software.  <a title="what is information?" href="http://www.pedant.dk/2009/08/10/what-is-information/" target="_blank">Some years ago</a> I came to the conclusion that I want to present information in context, e.g not present crude extracts from databases, but adapt it to the presentation context, with the user in mind.</p>
<p>Some useful contexts could be &#8220;location&#8221; or &#8220;social networks&#8221; &#8211; the context should be varied depending on the type of information context &#8211; e.g information about abstract concepts have no use of location information. The use of context should increase the likelihood of the information being conveyed to the user in a understandable manner.</p>
<p>When I observe users, I rarely see one user that uses only one tool to achieve her goal. Information gathering is usually done using a variety of sources &#8211; so a good system design principle could be to know where the system should stop &#8211; and how to present the information  in a such a manner that supplemental or related information can be retrieved from another system.</p>
<p>So , to me, presenting information in context is also about presenting the least amount of &#8220;friction&#8221; in the system. Here I consider any obstacles hindering information flow in and out of the system as &#8220;friction&#8221;. By minimizing the &#8220;friction&#8221; we make it easier to present information in context by connecting data between systems.</p>
<p>This has lead me to think that good system design should focus on how information is shared  between users via connected systems.  Turning the attention to how information is shared between users via connected systems, then we obtain a understanding what the data is (since we need to be able to share it).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2011/04/19/mindful-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On the untimely demise of google wave</title>
		<link>http://www.pedant.dk/2010/08/05/on-the-untimely-demise-of-google-wave/</link>
		<comments>http://www.pedant.dk/2010/08/05/on-the-untimely-demise-of-google-wave/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 16:07:49 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/?p=803</guid>
		<description><![CDATA[Alas, Google wave is no more. I knew it well. Or.. rather. I knew the api&#8217;s well. All the cool technology behind it &#8211; I knew that.  The google wave team tackled some tough issues to get it up and running. Google wave included an implementaion of  Operational transforms for largescale realtime collaboration. The google [...]]]></description>
			<content:encoded><![CDATA[<p>Alas, Google wave is no more. I knew it well.</p>
<p>Or.. rather. I knew the api&#8217;s well. All the cool technology behind it &#8211; I knew that.  The google wave team tackled some tough issues to get it up and running. Google wave included an implementaion of  <a title="Operational transforms" href="http://en.wikipedia.org/wiki/Operational_transformation">Operational transforms</a> for largescale realtime collaboration. <a title="google wave API" href="http://code.google.com/intl/uk/apis/wave/">The google wave api</a> was also pretty nifty.</p>
<p>Now &#8211; when thinking about it , I remember email conversations about google wave &#8211; facebook conversations about google wave. Real life conversations about wave. Hackathons about wave. I never actually did anything useful in wave itself.  All the fun memories I have about google wave is basically learning about new technologies and meeting new people. There is nothing bad in hacking on interesting tech &#8211; during this process I learned about google app engine, cloud computing, python,  protocol design and some longhaired math &#8211; all these things are usefull to me in the long run.</p>
<p>It looks like that <a href="http://googleblog.blogspot.com/2010/08/update-on-google-wave.html">some of  the technologies of google wave will live on in other google products</a>.  One of the main features &#8211; realtime collaboration in documents is now available in google docs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2010/08/05/on-the-untimely-demise-of-google-wave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>adventures with mingw , ruby,java, rhino and jspec</title>
		<link>http://www.pedant.dk/2009/10/21/adventures-with-mingw-rubyjava-rhino-and-jspec/</link>
		<comments>http://www.pedant.dk/2009/10/21/adventures-with-mingw-rubyjava-rhino-and-jspec/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 23:09:06 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/?p=689</guid>
		<description><![CDATA[update 2010-10-05: jspec has been deprecated in favour of jasmine update 2009-10-21: This post is a writeup of my early experiences with gemcutter and rubygems. The strange runtime error I did not understand was probably related to that I needed to update rubygems to 1.3.5. I now know how to use gemcutter from ruby1.8.6 using [...]]]></description>
			<content:encoded><![CDATA[<p><strong>update 2010-10-05: jspec has been deprecated in favour of <a title="jasmine" href="http://pivotal.github.com/jasmine/">jasmine</a></strong></p>
<p><strong>update 2009-10-21: This post is a writeup of my early experiences with gemcutter and rubygems. The strange runtime error I did not understand was probably related to that I needed to update rubygems to 1.3.5.  <a href="http://www.pedant.dk/2009/10/21/gemcutter-the-missing-manual/">I now know how to use gemcutter from ruby1.8.6 using the oneclick installer</a> .</strong></p>
<p>I have been using <a href="http://github.com/visionmedia/jspec/tree/3.x">jspec</a> on macosx for a while  and decided to give it a try on windows vista today. Installing jspec on macosx and linux can be done using the instructions <a href="http://github.com/visionmedia/jspec/blob/3.x/README.md">here</a> .</p>
<p>I want to run the automated jspec tests available via rhino at a client site. Sadly , I am forced to use windows there, so I have given some thought on how to make jspec run on windows.</p>
<p>First of all you need to install ruby.  I used the automated 1.8.6 One-Click Installer available <a href="http://www.ruby-lang.org/en/downloads/">here</a> . After installing i ran</p>
<p><code lang="bash"><br />
gem update<br />
</code></p>
<p>the instructions in the README file for jspec currently states that I should install gemcutter and install jspec via that . I was not able to do that on windows  ( my system decided to report an obscure runtime error that I did not understand). So i decided to do this instead:</p>
<p><code lang="bash"><br />
gem sources -a http://gems.github.com<br />
gem install visionmedia-jspec<br />
</code></p>
<p>I let gem install the required dependencies visionmedia-commander and visionmedia-bind. After this I had the jspec script available. Sadly this gave me version 2.7.2 (I noticed \ruby\lib\ruby\gems\1.8\gems\visionmedia-jspec-2.7.2 ) <a href="http://gemcutter.org/gems/jspec">The listing on gemcutter</a> told me that a version 2.11.10 is a avaiable , so I decided to dig deeper. Maybe I could make gemcutter work anyway?</p>
<p>After a little browsing on github.com I found the <a href="http://github.com/oneclick/rubyinstaller/">oneclick installer</a></p>
<p>I cloned this repo using git</p>
<p>using the following command:<br />
<code lang="bash"><br />
git clone git://github.com/oneclick/rubyinstaller.git<br />
</code></p>
<p>and pressed</p>
<p><code lang="bash"><br />
rake ruby19<br />
</code></p>
<p>This project creates a sandbox that compiles a working ruby environment using <a href="http://mingw.org/">mingw</a>.</p>
<p>After contemplating the insanity of what I was doing for a couple of minutes (remember : installing a working ruby on linux is a single shell command) I grabbed some coca cola and started browsing through the source code for ruby distro while the rubyinstall was compiling. I looked a bit at ruby.c and  vm_exec.c  and had grim flashbacks to my c days. Luckily the compile finished and I copied ruby19_mingw to my c:\ drive and set it up on my PATH variable. Then I could check which version I was using:</p>
<p><code lang="bash"><br />
C:\&gt;ruby -v<br />
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]<br />
</code></p>
<p>Now I was able to do:<br />
<code lang="bash"><br />
gem install gemcutter<br />
gem tumble<br />
gem install jspec<br />
</code></p>
<p>(Note that there is  information sent to the terminal during these steps)</p>
<p>Now for the interesting part(!) jspec was working , so I could do this:</p>
<p><code lang="bash"><br />
jspec init SolitaireCipher --freeze<br />
</code></p>
<p>This created a directory where I can train doing the <a href="http://www.rubyquiz.com/quiz1.html">SolitaireCipher</a> using javascript. I renamed lib/yourlib.core.js to lib/SolitaireCipher.js  and spec/spec.core.js to spec/spec.SolitaireCipher.js and spec/spec.dom.html accordingly.</p>
<p>After 20 mins of fiddling I managed to get some running tests in a browser by opening spec.dom.html. Then I decided I want to automate the tests using <a href="http://www.mozilla.org/rhino/download.html">mozilla rhino</a>. After installing rhino , I could run automated tests like this</p>
<p><code lang="bash"><br />
cd c:\projects\SolitaireCipher<br />
jspec --rhino<br />
</code></p>
<p>This opens up a proces that listens to file changes in the lib and spec folders. All very well &#8211; untill I discovered that jspec currently uses ANSI codes to render colors to the terminal screens. ANSI codes are not supported on windows vista (something with ANSI.SYS being obsoleted), so if I want the nice colors then I need an alternative terminal than my command prompt in vista.</p>
<p>I found rxvt available from <a href="http://code.google.com/p/msysgit/downloads/list">PortableGit</a> on google code. This renders the colors just nicely &#8211; but has some other drawbacks. If I just use rxvt for rendering feedback from the jspec tests, then it seems to work though.</p>
<p>One thing to note is that rhino needs the java sdk to be installed and js.jar needs to be on your CLASSPATH. when starting jspec from rxvt on the msys from PortableGit, then CLASSPATH could be set like this (assuming rhino is installed in c:\tools ):</p>
<p><code lang="bash"><br />
export CLASSPATH=/c/tools/rhino1_7R2/js.jar<br />
</code></p>
<p>I probably want to avoid using rxvt on PortableGit too much . There are some major flaws listed <a href="http://code.google.com/p/msysgit/wiki/WhyIsRxvtNotTheDefault">here</a> .</p>
<p>Maybe I should look into doing a adobe air frontend for jspec?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2009/10/21/adventures-with-mingw-rubyjava-rhino-and-jspec/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>BDD is not about testing</title>
		<link>http://www.pedant.dk/2009/10/03/bdd-is-not-about-testing/</link>
		<comments>http://www.pedant.dk/2009/10/03/bdd-is-not-about-testing/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 20:17:11 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[testing]]></category>
		<category><![CDATA[bdd]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/?p=671</guid>
		<description><![CDATA[When talking to people about BDD and my lame example using Paris Hilton, then I got the question &#8220;it was really interesting reading about Paris Hiliton .. but what is BDD really about?. The central insight of BDD is that TDD is really computer aided specifications of the executable behaviour of your system. BDD tries [...]]]></description>
			<content:encoded><![CDATA[<p>When talking to people about BDD and my lame example using Paris Hilton, then I got the question &#8220;it was really interesting reading about Paris Hiliton .. but what is BDD really about?.</p>
<p>The central insight of BDD is that TDD is really computer aided specifications of the executable behaviour of your system. BDD tries to express this using a Domain Specific language.</p>
<p>Back in 2006 , Dave Astels described how to ascend from the focus on 1-1 testing of production code to use the test proces as a way to describe the way you want your system to behave.</p>
<p><embed id="VideoPlayback" style="width: 400px; height: 326px;" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docid=8135690990081075324&amp;hl=da&amp;fs=true" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<p>In the video Dave makes the valid point that &#8220;The words you use shape how you think&#8221;.  So we should go away from thinking about &#8220;testing&#8221; constantly to think about describing how you want your system to work.</p>
<p>So to me &#8211; BDD sounds like a kickstart to be productive in TDD &#8211; and do it well from the start. So if you are starting out on TDD , you should really start out doing BDD.</p>
<p>Dave walks through some examples using rspec in ruby. I am  currently using <a href="http://github.com/visionmedia/jspec">jspec</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2009/10/03/bdd-is-not-about-testing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Paris Hilton and Behaviour Driven Development</title>
		<link>http://www.pedant.dk/2009/09/27/paris-hilton-and-behaviour-driven-development/</link>
		<comments>http://www.pedant.dk/2009/09/27/paris-hilton-and-behaviour-driven-development/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 18:36:20 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[bdd]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/?p=644</guid>
		<description><![CDATA[Recently, I have been giving Behaviour Driven Development some thought. Let&#8217;s take a an example of how to develop and test a music video search and storage system. A traditional way of developing this would require formulating a object oriented system architecture, thinking about streaming and metadata enabled search. The system architecture could consist of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I have been giving  <a href="http://behaviour-driven.org/Introduction">Behaviour Driven Development</a> some thought.</p>
<p>Let&#8217;s take a an example of how to develop and test a  music video search and storage  system. A traditional way of developing this would require formulating a object oriented system architecture, thinking about streaming and metadata enabled search. The system architecture could consist  of a well chosen database server, a streaming server and a metadata enabled search engine &#8211; combining these technologies with a modern UI  and encapsulating theme in carefully designed object oriented structures. During all these important choices , and all during development we would make sure to write tests before we write a single line of code.</p>
<p>All these things put together would lead to a well thought out system architecture , but all the effort put into the system architecture can be in vain &#8211; if we don&#8217;t have a solid business understanding of what a video storage system should do. What will the users expect?</p>
<p>While browsing on <a href="http://www.facebook.com">facebook</a> this other day I found the <a href="http://www.facebook.com/group.php?gid=5299495387">&#8220;The Paris Hilton &amp; Jacques Derrida Appreciation Society&#8221; </a> &#8211; this group explores the connections between the works of Paris Hilton and Jacques Derrida. When we deconstruct the &#8220;pretty blonde&#8221; facade of Paris Hilton, then you can actually find some deep insights. Take &#8220;Nothing in this world&#8221; for instance:</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/32DwYTRmmto&amp;hl=en&amp;fs=1&amp;" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/32DwYTRmmto&amp;hl=en&amp;fs=1&amp;" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>Take the phrase &#8220;when you are with somebody else, that&#8217;s me in your eye&#8221;.  There is the obvious interpretation of the sentence .  But thinking about that sentence also let&#8217;s you reflect on the <em>real meaning</em> . When you look at Paris Hilton in this video, what do you see? Do you see the pretty blonde or the millionaire , hard working young girl . In this video I am seeing the image of the pretty blonde &#8211; but I am also thinking about the millions of dollars she is earning portraying herself in this way.  So in a sense &#8211; I am reading the original message out of context. I am admiring what Paris Hilton in some other way than she intended &#8211; the original meaning of the words seem to have disappeared &#8211; but my understanding of the sentence is more useful to me.  I wish I could do what Paris Hilton does &#8211; but in a way that would make sense in my world .</p>
<p>The producers of the &#8220;Nothing in this world&#8221; video are not likely to convey information about the business empire of Paris Hilton in the metadata supplied for the video. So a system formulated as a &#8220;video storage system&#8221; would not let me exploit the information I found in the facebook group.</p>
<p>BDD introduces the use of a Domain Specific language to express the users expectations in a manner more directly focused on the behavioural aspects of the system. This lifts the clouds from the system aspects and focuses on <em>intent</em>.</p>
<p>A better way to formulate my expectations for the system would be:</p>
<pre>Describe the music video storage system:
  I should be able to search for videos using metadata
  it should play videos  in my browser
  I should be able to query facebook for information about it</pre>
<p>If I had those expectations formulated to me , then I would choose to implement this system as a mashup between youtube and facebook as a facebook application. This would be a radically different system architecture than the one describe above.</p>
<p>Furthermore , by leveraging one of the <a href="http://behaviour-driven.org/Implementations">several BDD test frameworks available</a>, then the expectations could be formulated in way that can be used as tests.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2009/09/27/paris-hilton-and-behaviour-driven-development/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>what is information?</title>
		<link>http://www.pedant.dk/2009/08/10/what-is-information/</link>
		<comments>http://www.pedant.dk/2009/08/10/what-is-information/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 19:25:56 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/?p=574</guid>
		<description><![CDATA[Listed as one of the of five deep questions in computing , this questions stands out to me as the one question we have to answer before we can answer questions like &#8220;what is computable&#8221; and &#8220;(how) can we build complex systems simply&#8221;. To me the concept of &#8220;information&#8221; only makes sense if it can [...]]]></description>
			<content:encoded><![CDATA[<p>Listed as one of the of <a href="http://mags.acm.org/communications/200801/?pg=60">five deep questions in computing</a> , this questions stands out to me as the one question we have to answer before we can answer questions like &#8220;what is computable&#8221; and &#8220;(how) can we build complex systems simply&#8221;.</p>
<p>To me the concept of &#8220;information&#8221; only makes sense if it can be extracted or related using wellknown techniques. In this sense &#8220;information&#8221; is put in the context of a &#8220;subject&#8221; and a &#8220;object&#8221; , e.g. the information identifies facts about the &#8220;object&#8221; in a manner that is understandable for the &#8220;subject&#8221;. When information allways should occur &#8220;in context&#8221;, then it should be clear that the information should be codified in a manner that is understandable by the &#8220;subject&#8221;.</p>
<p>This &#8220;codification process&#8221; is successfull  when the information about the &#8220;object&#8221; is conveyed to the &#8220;subject&#8221; in a manner that is easily understood &#8211; so in my interpretation &#8220;information&#8221; can be expressed in many ways , and still be intended as the same information about the  the same &#8220;object&#8221;.</p>
<p>In most concrete circumstances involving human communication &#8220;codification&#8221; will mean &#8220;telling&#8221; somebody &#8220;else&#8221;. E.g saying &#8220;I am hungry&#8221; .. or &#8220;do you mind passing me the water&#8221;. Information is revealed through use of language in a sentence and placed in the context of the situation where the sentence is spoken.</p>
<p>In most traditional computing software  information is stored to examine facts about phenomena or physical items. The wealth of information in context has been lost in the process of gathering these facts. Take a traditional supply store. It is not very common for the desk clerk to capture the facial expression of the customers while entering the  items bought in the cash register. So in this way, the information from the facial expression is available to the desk clerk but not the store manager.</p>
<p>In our current computing systems, then it is not easy to compute &#8220;the mood of the customers&#8221; &#8211; but if we understand the wealth of information lost in the &#8220;codification process&#8221; then we can exploit this  for a better understand of the market siutation . But we will still not be able the compute the &#8220;mood of the customers&#8221;.</p>
<p>So &#8211; to me information can only be understood as &#8220;information in context&#8221;.  I will try to design complex systems from this where it makes sense.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2009/08/10/what-is-information/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cloud computing man kan bruge til noget</title>
		<link>http://www.pedant.dk/2009/07/11/cloud-computing-man-kan-bruge-til-noget/</link>
		<comments>http://www.pedant.dk/2009/07/11/cloud-computing-man-kan-bruge-til-noget/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 12:08:30 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[Cloud]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/?p=499</guid>
		<description><![CDATA[Jeg har tidligere kigget på brugen af vmware ifm test og udvikling. Jeg har fundet ud af det det kan være fordelagtigt at opbevare udviklingsmiljøer og databaseopsætninger på virtuelle maskiner &#8211; det hjælper typisk med at min hoved-udviklingsmaskine ikke bliver &#8216;møget&#8217; til af diverse projekter jeg kigger på i løbet af ugen. Jeg har også [...]]]></description>
			<content:encoded><![CDATA[<p>Jeg har tidligere kigget på brugen af <a href="http://vmware.com">vmware</a> ifm test og udvikling. Jeg har fundet ud af det det kan være fordelagtigt at opbevare udviklingsmiljøer og databaseopsætninger på virtuelle maskiner &#8211; det hjælper typisk med at min hoved-udviklingsmaskine ikke bliver &#8216;møget&#8217; til af diverse projekter jeg kigger på i løbet af ugen.  Jeg har også kigget på <a href="http://code.google.com/intl/da/appengine/docs/java/overview.htmlhttp://">Google App Engine for java </a>- det er godt med nogle fasttømrede api&#8217;er der er klargjort til af fungere på en større gruppe af maskiner på en gang &#8211; så performance og skalerbarhed har været der fra starten ( Jeg hører også gode ting om Amazon EC2)</p>
<p>Det har dog bæret sådan at det bliver lidt bøvlet at vedligeholde diverse images rundt omkring &#8211; og Google App Engine for java stiller væsentlige begrænsninger på hvordan man kan skrive SQL &#8211; og det kan blive vanskeligt at få benyttet GIS operatorer på GAE (Bemærk at jeg slet ikke har prøvet microsofts <a href="http://www.microsoft.com/azure/default.mspx">nye Azure platform</a>)</p>
<p><a href="http://oddthesis.org">Bob McWhirter </a>kører iøjeblikket et projekt for jboss , hvor han iøjeblikket eksperimenterer med <a href="http://reductivelabs.com/trac/puppet">puppet </a> til at administrere virtuelle maskiner. Jboss håndterer udviklingen under projektet <a href="http://github.com/bobmcwhirter/jboss-cloud/tree/master">jboss cloud</a> . Ideen er at man kan benytte &#8220;metaappliance&#8221; til at generere de øvrige &#8220;appliances&#8221;.  <a href="http://github.com/bobmcwhirter/jboss-cloud/tree/master">Jboss understøttede clustering allerede fra version 4</a> &#8211; det nye i eksperimentet er nu maskin-håndteringen, hvor deployment-platformene inkluderer <a href="http://aws.amazon.com/ec2/"> ec2</a>, <a href="http://www.vmware.com/products/server/">vmware</a>, <a href="http://www.linux-kvm.org/page/Main_Page">kvm</a> .</p>
<p>Jeg håber at kunne bruge jboss-cloud projektet til at håndtere mine udviklingsservere på en mere fornuftig vis <img src='http://www.pedant.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2009/07/11/cloud-computing-man-kan-bruge-til-noget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>et nogenlunde hurtigt virtualiseret kodemiljø</title>
		<link>http://www.pedant.dk/2008/05/18/et-nogenlunde-hurtigt-virtualiseret-kodemilj%c3%b8/</link>
		<comments>http://www.pedant.dk/2008/05/18/et-nogenlunde-hurtigt-virtualiseret-kodemilj%c3%b8/#comments</comments>
		<pubDate>Sun, 18 May 2008 10:24:58 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[Cloud]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/2008/05/18/et-nogenlunde-hurtigt-virtualiseret-kodemilj%c3%b8/</guid>
		<description><![CDATA[Jeg har tidligere skrevet om min oplevelser med at kode J2EE på linux. Siden da har jeg fået lidt flere erfaringer med brugen af vmware og har gjort mig flg. observationer: Det er skidt at flytte datasæt &#8220;ind&#8221; i et vmware image. Så er det nemmere at lave filshares samt databaser på hostmaskinen . Kontorprogrammer [...]]]></description>
			<content:encoded><![CDATA[<p>Jeg har <a href="http://www.pedant.dk/2008/01/31/et-pragmatisk-milj%c3%b8-til-at-kode-j2ee-i/">tidligere</a> skrevet om min oplevelser med at kode J2EE på linux. Siden da har jeg fået lidt flere erfaringer med brugen af vmware og har gjort mig flg. observationer:</p>
<ul>
<li>Det er skidt at flytte datasæt &#8220;ind&#8221; i et vmware image. Så er det nemmere at lave filshares samt databaser på hostmaskinen .</li>
<li>Kontorprogrammer samt gængse applikationer er bedre placeret på hostmaskinen end i det vmware image der programmeres i.</li>
<li>wmare kræver ikke så meget RAM for at køre. Jo mindre RAM der tildeles det enkelte image &#8211; jo hurtigere går det med at åbne og lukke det.</li>
<li>Kode er  placeret bedst i versionskontrol på en anden server. Ideelt set så kan det brugte image rulles tilbage til start efter endt brug.</li>
</ul>
<p>Jeg kører nu med 256 mb tildelt mit windows image og har flyttet kontorprogrammer ud fra windows. Dvs at jeg nu kører alle andre programmer end de windows-specikke fra linux.<br />
En af de umiddelbare fordele der er kommet ud af at samle min arbejdsfiler på et enkelt share er at mine backupfiler er faldet drastisk i størrelse.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2008/05/18/et-nogenlunde-hurtigt-virtualiseret-kodemilj%c3%b8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vmware  workstation 6.0.3 default fejler på linux kerne 2.6.24</title>
		<link>http://www.pedant.dk/2008/04/27/vmware-workstation-603-default-fejler-pa-linux-kerne-2624/</link>
		<comments>http://www.pedant.dk/2008/04/27/vmware-workstation-603-default-fejler-pa-linux-kerne-2624/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 16:43:24 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[Cloud]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/2008/04/27/vmware-workstation-603-default-fejler-pa-linux-kerne-2624/</guid>
		<description><![CDATA[Jeg har for nyligt opgraderet til Ubuntu 8.04 . Efter at have opgraderet ubuntu, så oplevede jeg at vmware-config.pl ikke opgraderede min kernemoduler for vmware som vanligt. Dette skyldes øjensynligt at der er blevet flyttet rundt på nogle headere i kerne 2.6.24 som ubuntu 8.04 kører med. Efter at have kigge lidt rundt på nettet [...]]]></description>
			<content:encoded><![CDATA[<p>Jeg har for nyligt opgraderet til <a href="https://wiki.ubuntu.com/HardyHeron/RC">Ubuntu 8.04 . </a></p>
<p>Efter at have opgraderet ubuntu, så oplevede jeg at vmware-config.pl ikke opgraderede min kernemoduler for vmware som vanligt. Dette skyldes øjensynligt at der er blevet flyttet rundt på nogle headere i kerne 2.6.24 som ubuntu 8.04 kører med.</p>
<p>Efter at have kigge lidt rundt på nettet fandt jeg <a href="http://blog.creonfx.com/linux/how-to-install-vmware-player-workstation-on-2624-kernel">følgende løsning  </a>, der involverer brugen af &#8220;any-any&#8221; patchet for vmware . Jeg har selv valgt denne løsning selvom at den ikke er officielt supporteret af vmware ( jeg har kun gjort dette ifbm med min hjemmeserver, der ikke kører kritiske ting).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2008/04/27/vmware-workstation-603-default-fejler-pa-linux-kerne-2624/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Et pragmatisk miljø til at kode J2EE i</title>
		<link>http://www.pedant.dk/2008/01/31/et-pragmatisk-milj%c3%b8-til-at-kode-j2ee-i/</link>
		<comments>http://www.pedant.dk/2008/01/31/et-pragmatisk-milj%c3%b8-til-at-kode-j2ee-i/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 22:20:26 +0000</pubDate>
		<dc:creator>Jacob</dc:creator>
				<category><![CDATA[Cloud]]></category>

		<guid isPermaLink="false">http://www.pedant.dk/2008/01/31/et-pragmatisk-milj%c3%b8-til-at-kode-j2ee-i/</guid>
		<description><![CDATA[Efter at have kigget lidt på linux igen her i 2008, så har jeg fundet opdaget at det er forholdsvist nemt at begå sig med javaudvikling på serversiden i linux. Tilbage dengang da J2EE startede med at gribe om sig omkring år 1998- 2001 , så kan dem der var med den gang nok huske [...]]]></description>
			<content:encoded><![CDATA[<p>Efter at have kigget lidt på linux igen her i 2008, så har jeg fundet opdaget at det er forholdsvist nemt at  begå sig med javaudvikling på serversiden i linux. Tilbage dengang da J2EE startede med at gribe om sig omkring år 1998- 2001 , så kan dem der var med den gang nok huske hvilket helvede det var at vedligeholde et udviklingsmiljø for java.  Tingene har sandeligt ændret sig siden <a href="http://www.sun.com/software/opensource/java/index.jsp" title="Sun frigav java som Open source!">Sun frigav java som Open source</a>!</p>
<p>I dag har jeg installeret  et udviklingsmiljø på linux med:</p>
<ul>
<li>suns java sdk</li>
<li> eclipse</li>
<li>tomcat 5.5</li>
<li> ant og junit</li>
<li>php</li>
</ul>
<p>Det kunne jeg gøre forholdsvist nemt således:</p>
<p><strong>sudo apt-get install sun-java6-jdk eclipse tomcat5.5 ant junit</strong></p>
<p>jeg havde allerede installeret <a href="http://www.oracle.com/technology/products/database/xe/index.html" title="Oracle Express Edition">Oracle Express edition</a> og havde bemærket at jdbc driverne lå i</p>
<p><em>/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/jdbc/lib</em>/</p>
<p>Hvis  jeg havde databasen på en anden maskine, så ville jeg have hentet jdbc driverne  <a href="http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html" title="her">her</a></p>
<p>Da  dette er min hjemme maskine , så vil jeg også gerne kunne køre php ifbm andre ting &#8212;  så jeg vil gerne stadigvæk køre apache. Derfor ville jeg gerne have en måde at integrere php på apache2 og tomcat5.5. Jeg har tidligere gjort dette med mod-jk connectoren til projekter &#8211; og fandt heldigvis mod-jk og php5 hos ubuntu:</p>
<p><strong>sudo apt-get install libapache2-mod-jk php5<br />
</strong></p>
<p>Det viste sig at jeg skulle pille lidt ved jk.load opsætningen for mod-jk modulet for apache:</p>
<p>indhold af /etc/apache2/mods-enabled/jk.load:</p>
<p><em>LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so<br />
JkWorkersFile /etc/apache2/workers.properties<br />
JkLogFile /var/log/apache2/mod_jk.log<br />
JkLogLevel debug<br />
JkLogStampFormat &#8220;[%a %b %d %H:%M:%S %Y]&#8221;<br />
JkMount /java/* worker1</em></p>
<p><em><br />
</em> derefter skulle /etc/apache2/workers.properties indstilles:</p>
<p><em>workers.tomcat_home=/usr/share/tomcat5.5<br />
workers.java_home=/usr/lib/jvm/java-1.6.0-sun<br />
ps=/<br />
worker.list=worker1<br />
worker.worker1.port=8009<br />
worker.worker1.host=localhost<br />
worker.worker1.type=ajp13<br />
worker.worker1.lbfactor=1</em></p>
<p>Dernæst skulle apache2 og tomcat5.5 genstartes:</p>
<p><strong>sudo /etc/init.d/apache2 restart</strong></p>
<p><strong>sudo /etc/init.d/tomcat5.5 restart</strong></p>
<p>Nu kan urls med /java/* i køre på tomcat og resten på apache. Voila .</p>
<p>Bemærk iøvrigt at du nok gerne vil omdøbe /java/ til dit helt eget seje applikationsnavn i /usr/share/tomcat5.5/webapps/ . Du kan læse mere om hvordan du bruger servlets og jsp her : <a href="http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-5.5.html" title="coreservlets tomcat tutorial">http://www.coreservlets.com/Apache-Tomcat-Tutorial/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pedant.dk/2008/01/31/et-pragmatisk-milj%c3%b8-til-at-kode-j2ee-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

