<?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>elblogg</title>
	<atom:link href="http://blog.elzapp.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.elzapp.com</link>
	<description>blogge v1 (norr bloðga, av *blod) skjære, stikke fisk slik at blodet renner ut, jf *bløgge</description>
	<lastBuildDate>Wed, 01 Jul 2009 12:20:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ubuntu-user at Narvesen</title>
		<link>http://blog.elzapp.com/2009/07/01/ubuntu-user-at-narvesen.html</link>
		<comments>http://blog.elzapp.com/2009/07/01/ubuntu-user-at-narvesen.html#comments</comments>
		<pubDate>Wed, 01 Jul 2009 06:10:31 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[narvesen]]></category>
		<category><![CDATA[trondheim]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/?p=1323</guid>
		<description><![CDATA[When I&#8217;m travelling, I often visit the kiosks at the airport, to see what they have of intresting magazines, specially Linux and Digital Photography magazines. I was visiting Trondheim last weekend, and on the way back, while I were waiting for my plane back to Bergen, I was looking on the shelves at Narvesen at [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ubuntu-user.com/Issues/1"><img class="alignright" title="Ubuntu User Issue 1" src="http://www.ubuntu-user.com/var/ezwebin_site/storage/images/issues/1/955-3-eng-GB/1_medium.jpe" alt="" width="200" height="267" /></a>When I&#8217;m travelling, I often visit the kiosks at the airport, to see what they have of intresting magazines, specially Linux and Digital Photography magazines. I was visiting Trondheim last weekend, and on the way back, while I were waiting for my plane back to Bergen, I was looking on the shelves at Narvesen at Trondheim airport, Værnes. There were actually a quite good choice of Linux magazines, and one specially catched my eye. I had heard about the new Ubuntu User magazine at the <a href="http://podcast.ubuntu-uk.org/">Ubuntu UK podcast</a>, which by the way is a pretty good podcast. But I didn&#8217;t expect to find it in a news-stand in Norway, I thought I had to order it from the UK.</p>
<p>So I bought it.</p>
<p>The magazine was priced to around £7, which would translate to about 74 norwegian kroner, or €8.20. But at when I got to the counter, I had to pay 210 NOK for it, which is about £19 or €23. In comparison, one years subscription to the magazine is €29.90 if you live in Europe outside the UK, which would include Norway. €29.90 is 269NOK or £25.5</p>
<p><strong>This is a total rip-off</strong>. I understand that Narvesen needs a margin for magazines with a narrow group of readers, but this pricing is insane.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/07/01/ubuntu-user-at-narvesen.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Great news in the software world</title>
		<link>http://blog.elzapp.com/2009/06/30/python3-1-firefox3-5-php5-3.html</link>
		<comments>http://blog.elzapp.com/2009/06/30/python3-1-firefox3-5-php5-3.html#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:45:36 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[closures]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[namespaces]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/?p=1315</guid>
		<description><![CDATA[During the last week there has been a couple of great releases in the software I use every day.

First out was Python 3.1. It was released June 27th and features

An ordered dictionary type
Various optimizations to the int type
New unittest features including test skipping and new assert methods.
A much faster io module
Tile support for Tkinter
A pure [...]]]></description>
			<content:encoded><![CDATA[<p>During the last week there has been a couple of great releases in the software I use every day.</p>
<p><img class="alignright" title="Python logo" src="http://www.python.org/images/python-logo.gif" alt="" width="211" height="71" /><br />
First out was <a href="http://www.python.org/download/releases/3.1/"><strong>Python 3.1</strong></a>. It was released June 27th and features</p>
<ul>
<li>An ordered dictionary type</li>
<li>Various optimizations to the int type</li>
<li>New unittest features including test skipping and new assert methods.</li>
<li>A much faster io module</li>
<li>Tile support for Tkinter</li>
<li>A pure Python reference implementation of the import statement</li>
<li>New syntax for nested with statements</li>
</ul>
<p><img class="alignright" title="Mozilla Firefox logo" src="http://www.mozilla.com/img/tignish/home/feature-logo.png" alt="" width="400" height="105" /><br />
Next out was <a href="http://mozilla.com"><strong>Mozilla Firefox 3.5</strong></a>, which was released earlier today (June 30th), most noteworty items from that release is the <a href="http://hacks.mozilla.org/2009/06/web-typography/"><strong>@font-face</strong></a> css-attribute, that allows web-designers to bundle custom fonts with their website designs, and use custom fonts in their design.  I have used that feature to change the header of my blog, you would se a grudge font if you use the new Firefox or Safari. They have also released a new javascript-engine, which they claim to be a lot faster than the old one. Also, support for the <strong>&lt;video&gt;</strong>-tag has been added.</p>
<p><img class="alignright" title="PHP logo" src="http://no2.php.net/images/php.gif" alt="" width="120" height="67" /><br />
Then last, but not least, the long awaited <a href="http://www.php.net/archive/2009.php#id2009-06-30-1"><strong>PHP 5.3.0</strong></a> has been released, which provides <strong>namespaces</strong> and <strong>closures</strong> for PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/06/30/python3-1-firefox3-5-php5-3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux som kreativ platform</title>
		<link>http://blog.elzapp.com/2009/05/27/linux-som-kreativ-platform.html</link>
		<comments>http://blog.elzapp.com/2009/05/27/linux-som-kreativ-platform.html#comments</comments>
		<pubDate>Wed, 27 May 2009 20:02:55 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[blug]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[fb]]></category>
		<category><![CDATA[foto]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[musikk]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/?p=1301</guid>
		<description><![CDATA[
Jeg prøver å dra i gang en foredragsserie for BLUG (Bergen Linux User Group), &#8220;Linux som kreativ platform&#8220;, innenfor rammene av BLUGs foredragsserie Last Thursday, som avholdes siste torsdag hver måned i skole-året (jan-mai, aug-nov) i Auditorium Pi på matematisk institutt.
Jeg er på jakt etter folk som har erfaring med grafikk/lyd/video på linux, og som [...]]]></description>
			<content:encoded><![CDATA[<div style="overflow:hidden;"><a href="http://blog.elzapp.com/wp-content/uploads/dsc_0519-modified-in-gimp-image-editor1.jpg"><img src="http://blog.elzapp.com/wp-content/uploads/dsc_0519-modified-in-gimp-image-editor1.jpg" alt="dsc_0519-modified-in-gimp-image-editor1" title="dsc_0519-modified-in-gimp-image-editor1" width="850" height="224" class="alignnone size-full wp-image-1312" /></a></div>
<p>Jeg prøver å dra i gang en foredragsserie for <a href="http://blug.net">BLUG (Bergen Linux User Group)</a>, &#8220;<a href="http://www.blug.net/wiki/Linux_som_kreativ_platform">Linux som kreativ platform</a>&#8220;, innenfor rammene av BLUGs foredragsserie Last Thursday, som avholdes siste torsdag hver måned i skole-året (jan-mai, aug-nov) i Auditorium Pi på matematisk institutt.<br />
Jeg er på jakt etter folk som har erfaring med grafikk/lyd/video på linux, og som kunne tenke seg å holde foredrag om det.<br />
Målet med foredragsserien er å vise at Linux kan brukes til videoproduksjon, billedbehandling, 3D-modellering etc.</p>
<p>Følgende temaer har blitt foreslått:</p>
<ul>
<li> Linux som platform for musikkproduksjon (Jokosher, Rosegarden, &#8230;)</li>
<li>Linux som platform for billedbehandling (Gimp/F-spot/RAW-bildehåndtering&#8230;/&#8230;)</li>
<li>Linux som platform for tegning (Inkscape/Sodipodi/OOo-draw/&#8230;)</li>
<li>Linux som platform for 3d-grafikk (Blender/&#8230;)</li>
<li>Linux som platform for videoredigering (Cinelerra/Kino/&#8230;)</li>
<li>Linux som platform for desktop publishing (Scribus/&#8230;)</li>
<li>Linux som platform for sanntids media (Pure Data/FreeJ/&#8230;)</li>
</ul>
<p>Nylig har det også blitt foreslått et foredrag om lydteknikk, men som jeg føler ikke går inn under hverken &#8220;Linux&#8221;-paraplyen eller &#8220;kreativ platform&#8221;-paraplyen. Selv om det unektelig hadde vært interressant.</p>
<p>Det eneste feltet her der vi har et navn på blokken er musikkproduksjon, men forslag der også mottas med takk.</p>
<p>I morgen er det forresten foredrag om <a href="http://www.blug.net/wiki/M%C3%B8teinnkalling_28.mai_2009:_%22Kerberos%22_ved:Bj%C3%B8rn_Tore_Sund">Kerberos</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/05/27/linux-som-kreativ-platform.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ute og sykler</title>
		<link>http://blog.elzapp.com/2009/05/06/ute-og-sykler.html</link>
		<comments>http://blog.elzapp.com/2009/05/06/ute-og-sykler.html#comments</comments>
		<pubDate>Wed, 06 May 2009 06:00:38 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[sykling]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[norsk]]></category>
		<category><![CDATA[opencyclemap]]></category>
		<category><![CDATA[openstreetmap]]></category>
		<category><![CDATA[sykkel]]></category>
		<category><![CDATA[sykkelkart]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/?p=1289</guid>
		<description><![CDATA[Forrige torsdag var det BLUG-foredrag om Open Street Map, et prosjekt jeg har synest har vært interressant lenge, men som jeg aldri har fått meg til å bidra til. Mest fordi jeg ikke har hatt godt utstyr, og ikke har visst hvordan en skulle gjøre det. Jeg er glad i å sykle, og ble svært [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 260px"><img title="gps trace" src="http://openstreetmap.org/user/elzapp/traces/374053/picture" alt="" width="250" height="250" /><p class="wp-caption-text">Gps sporing av rute 1. Strekning Minde - Os, Distanse 30km</p></div>
<p>Forrige torsdag var det <a href="http://www.blug.net/wiki/M%C3%B8teinnkalling_30.apr_2009:_%22OpenStreetMap%22_ved:Knut_Arne_Bj%C3%B8rndal">BLUG-foredrag </a>om <a href="http://openstreetmap.org">Open Street Map</a>, et prosjekt jeg har synest har vært interressant lenge, men som jeg aldri har fått meg til å bidra til. Mest fordi jeg ikke har hatt godt utstyr, og ikke har visst hvordan en skulle gjøre det. Jeg er glad i å sykle, og ble svært glad for å høre at det fantes et <a href="http://opencyclemap.org/?zoom=11&amp;lat=60.3111&amp;lon=5.49848&amp;layers=B000">sykkelkart-prosjekt</a>, fordi det har det vært mangel på her til lands, både kommersiellt og fritt. Men som du kan se, er kartet foreløbig svært mangelfullt.</p>
<p>Jeg bestemte meg for å trace sykkelruten fra Bergen til Os, som er en del av rute 1 i Nasjonalt Sykkelveinett. Jeg hadde tenkt å gjøre dette på søndag, da det var fint vær og alt var fryd og gammen, men det ble ikke noe av. I stedet gjorde jeg det på mandag, i skikkelig sølevær. Jeg var ikke skikkelig kledd for anledningen, vel hadde jeg regntøy, men fottøyet mitt bestod av et par nike+ joggesko. De ble naturligvis søkk gjennomvåt. Jeg tenkte det ikke var så fryktelig farlig, fordi så lenge jeg holder meg fysisk aktiv ville jeg holde varmen. Og det gjorde jeg også.</p>
<p><div class="wp-caption alignleft" style="width: 260px"><iframe style="display:block;width:98%;margin:auto;margin-top:2px;" width="250" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=no&amp;geocode=&amp;q=http:%2F%2Felzapp.com%2F~base%2Fmaps%2Fsykkelrute1.kmz%3F&amp;ie=UTF8&amp;t=p&amp;ll=60.293618,5.361328&amp;spn=0.204163,0.274658&amp;z=10&amp;output=embed"></iframe><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=no&amp;geocode=&amp;q=http:%2F%2Felzapp.com%2F~base%2Fmaps%2Fsykkelrute1.kmz&amp;ie=UTF8&amp;t=p&amp;ll=60.293618,5.361328&amp;spn=0.204163,0.274658&amp;z=10" style="color:#0000FF;text-align:left">Vis større kart</a></small><p class="wp-caption-text">Sykkelturen på google maps...</p></div>Problemet oppsto da jeg kom til Os, da røk spilene i bakhjulet <em>igjen</em>. Syklingen i vår har vært en rekke problemer. I fjor høst før jeg parkerte sykkelen hadde spilene i bakhjulet røket. Jeg fikk meg ny felg i januar, og syklet glad avgårde til jobb fra midten av februar. Jeg skulle levere sykkelen inn til justering av ymse ting, deriblant stramme spilene etter et par uker. Det glemte jeg, og etter 6 uker røk spilene igjen, noen få dager etter at jeg hadde fått sykkelen i stand igjen etter forrige <em>punktering</em>. Dette skjedde midt i høysesongen for sykkelreperasjoner, så det tok en ukes tid å få spilene erstattet.</p>
<p>For en drøy uke siden punkterte jeg igjen, og jeg fikk lappet slangen på onsdag, men dekket hadde en flerre, og måtte også skiftes. Jeg kjøpte nytt dekk på torsdag, og skiftet det omgående. Som sagt hadde jeg fått erstattet de spilene som hadde røket, men når spiler ryker, strekkes spilene rundt, og de blir svakere. Så på mandag røk spilene igjen&#8230;</p>
<p>I går leverte jeg sykkelen inn hos Geng sykkelservice på Danmarks Plass, og skal etter planen hente den i ettermiddag med splitter nytt hjul.<br />
<br style="clear:left" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/05/06/ute-og-sykler.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Sugar</title>
		<link>http://blog.elzapp.com/2009/05/05/sugar.html</link>
		<comments>http://blog.elzapp.com/2009/05/05/sugar.html#comments</comments>
		<pubDate>Tue, 05 May 2009 13:17:27 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[debian edu]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[skolelinux]]></category>
		<category><![CDATA[sugar]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/?p=1278</guid>
		<description><![CDATA[Ok. It has been a while since my last post, and quite a few things have happened since then, some of which I will get back to in some later posts.
One of the things that have happened is that I attended the &#8220;Skolelinux developer summit&#8221; or Debian Edu developer summit here in Bergen, with the [...]]]></description>
			<content:encoded><![CDATA[<p>Ok. It has been a while since my last post, and quite a few things have happened since then, some of which I will get back to in some later posts.</p>
<p>One of the things that have happened is that I attended the &#8220;<a href="http://www.friprogramvareiskolen.no/Gathering/2009-03-Bergen">Skolelinux developer summit</a>&#8221; or Debian Edu developer summit here in Bergen, with the goal to do some real contribution to free software. I didn&#8217;t end up contributing any code at that event.</p>
<p>Cecilie had asked Knut Yrvin to do a talk about community based projects, which inspired some of the other attendees, <a href="http://en.wikipedia.org/wiki/Walter_Bender">Walter Bender</a>, to talk about his organization, <a href="http://www.sugarlabs.org/">Sugarlabs</a>. Sugarlabs organizes the development and promotion of <a href="http://www.sugarlabs.org/index.php?template=page&amp;page=teachers">Sugar</a>, the <a href="http://www.sugarlabs.org/index.php?template=gallery&amp;page=media_01">user interface</a> for the <a href="http://laptop.org/en/">One Laptop Per Child (OLPC)</a> project.
<p style="text-align: center;"><a href="http://www.sugarlabs.org/index.php?template=page&amp;page=learners"><img id="illustration" style="display:block;margin:auto;width:685px;" src="http://www.sugarlabs.org/assets/narrative_01.png" alt="" />from sugarlabs.org, click the image to show the whole series in context.</p>
<p></a><br />
Sugar is an user interface aimed at <a href="http://www.sugarlabs.org/index.php?template=page&amp;page=learners">kids</a> and learning, rather than changing the learning process to use the computer and the web, it changes the user interface, so it is suited for a classroom environment. That being said, using sugar will probably revolutionize the way learning is done in the classroom, to a much more collaborative approach. Everything in sugar is made for sharing between the pupils and/or the teacher.</p>
<p>I had seen some screenshots of Sugar before, but I was totally blown away about the collaboration part of the system, and also how it changes the approach to computers, where we make the computer suitable for the classroom, rather than making the classroom suitable for the computer.</p>
<p>My contribution during the developer summit ended up beeing translating the Turtle Art activity into Norwegian, and helping Mr. Bender finding some bugs.</p>
<p>Since then I&#8217;ve translated the <a href="http://wiki.sugarlabs.org/go/Downloads/lang-no">download pages</a> on the Sugarlabs wiki into Norwegian. Sadly the current state of Sugar is that it&#8217;s quite buggy as &#8220;Sugar on a Stick&#8221;, completely broken in Ubuntu, and probably somewhat buggy in Fedora.</p>
<p>Also, listen to the <a href="http://wiki.twit.tv/wiki/FLOSS_Weekly_66">Episode 66</a> of the <a href="http://twit.tv/FLOSS">FLOSS weekly</a> podcast about the implementation of the OLPC in Nepal, which goes more into detail about Sugar.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/05/05/sugar.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>armering</title>
		<link>http://blog.elzapp.com/2009/04/02/armering.html</link>
		<comments>http://blog.elzapp.com/2009/04/02/armering.html#comments</comments>
		<pubDate>Thu, 02 Apr 2009 19:56:07 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/2009/04/02/armering.html</guid>
		<description><![CDATA[



armering, originally uploaded by elzapp.


]]></description>
			<content:encoded><![CDATA[<div class="flickr-post">
<div class="flickr-frame">
<a href="http://www.flickr.com/photos/elzapp/3405050370/" title="photo sharing" class="flickr-link"><img src="http://farm4.static.flickr.com/3584/3405050370_c1ac58e5db.jpg" class="flickr-photo" alt="" /></a><br />
</p>
<div id="flickr-caption"><a href="http://www.flickr.com/photos/elzapp/3405050370/">armering</a>, originally uploaded by <a href="http://www.flickr.com/people/elzapp/">elzapp</a>.</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/04/02/armering.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tak</title>
		<link>http://blog.elzapp.com/2009/04/02/tak.html</link>
		<comments>http://blog.elzapp.com/2009/04/02/tak.html#comments</comments>
		<pubDate>Thu, 02 Apr 2009 19:53:57 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/2009/04/02/tak.html</guid>
		<description><![CDATA[



DSC_3722.JPG, originally uploaded by elzapp.


]]></description>
			<content:encoded><![CDATA[<div class="flickr-post">
<div class="flickr-frame">
<a href="http://www.flickr.com/photos/elzapp/3407826570/" title="photo sharing" class="flickr-link"><img src="http://farm4.static.flickr.com/3631/3407826570_d7f795d928.jpg" class="flickr-photo" alt="" /></a><br />
</p>
<div id="flickr-caption"><a href="http://www.flickr.com/photos/elzapp/3407826570/">DSC_3722.JPG</a>, originally uploaded by <a href="http://www.flickr.com/people/elzapp/">elzapp</a>.</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/04/02/tak.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hvit søle</title>
		<link>http://blog.elzapp.com/2009/04/01/hvit-soele.html</link>
		<comments>http://blog.elzapp.com/2009/04/01/hvit-soele.html#comments</comments>
		<pubDate>Wed, 01 Apr 2009 18:40:50 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/2009/04/01/hvit-s%c3%b8le.html</guid>
		<description><![CDATA[



hvit søle, originally uploaded by elzapp.


Jeg gikk forbi Florida i Bergen for noen dager siden, på det som skal bli en fotgjengerovergang over bybanen lå denne blåhvite sølen. 
Fascinerende farger


]]></description>
			<content:encoded><![CDATA[<div class="flickr-post">
<div class="flickr-frame">
<a href="http://www.flickr.com/photos/elzapp/3404238299/" title="photo sharing" class="flickr-link"><img src="http://farm4.static.flickr.com/3605/3404238299_e5e9138a20.jpg" class="flickr-photo" alt="" /></a><br />
</p>
<div id="flickr-caption"><a href="http://www.flickr.com/photos/elzapp/3404238299/">hvit søle</a>, originally uploaded by <a href="http://www.flickr.com/people/elzapp/">elzapp</a>.</div>
</div>
<p>
Jeg gikk forbi Florida i Bergen for noen dager siden, på det som skal bli en fotgjengerovergang over bybanen lå denne blåhvite sølen. </p>
<p>Fascinerende farger
</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/04/01/hvit-soele.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pusekatter</title>
		<link>http://blog.elzapp.com/2009/04/01/pusekatter.html</link>
		<comments>http://blog.elzapp.com/2009/04/01/pusekatter.html#comments</comments>
		<pubDate>Wed, 01 Apr 2009 17:50:10 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/2009/04/01/pusekatter.html</guid>
		<description><![CDATA[



pusekatter, originally uploaded by elzapp.


Våren er på vei&#8230;


]]></description>
			<content:encoded><![CDATA[<div class="flickr-post">
<div class="flickr-frame">
<a href="http://www.flickr.com/photos/elzapp/3405052548/" title="photo sharing" class="flickr-link"><img src="http://farm4.static.flickr.com/3426/3405052548_9a0295fd3d.jpg" class="flickr-photo" alt="" /></a><br />
</p>
<div id="flickr-caption"><a href="http://www.flickr.com/photos/elzapp/3405052548/">pusekatter</a>, originally uploaded by <a href="http://www.flickr.com/people/elzapp/">elzapp</a>.</div>
</div>
<p>
Våren er på vei&#8230;
</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/04/01/pusekatter.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merging two lists</title>
		<link>http://blog.elzapp.com/2009/03/12/merging-two-lists.html</link>
		<comments>http://blog.elzapp.com/2009/03/12/merging-two-lists.html#comments</comments>
		<pubDate>Thu, 12 Mar 2009 12:13:56 +0000</pubDate>
		<dc:creator>elzapp</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.elzapp.com/?p=1262</guid>
		<description><![CDATA[Lets say you have two lists, one of them containing the values [1,2,3] and the other one containing the values [4,5,6], and you want to combine these two lists into one list, like this one: [1,2,3,4,5,6].
Let&#8217;s see how this can be done in different (high level) programming (or scripting or templating) languages.
Java
Java has multiple list [...]]]></description>
			<content:encoded><![CDATA[<p>Lets say you have two lists, one of them containing the values [1,2,3] and the other one containing the values [4,5,6], and you want to combine these two lists into one list, like this one: [1,2,3,4,5,6].</p>
<p>Let&#8217;s see how this can be done in different (high level) programming (or scripting or templating) languages.</p>
<h3>Java</h3>
<p>Java has multiple list implementations, lets start with the most basic one, the builtin array.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw4">int</span><span class="br0">&#91;</span><span class="br0">&#93;</span> A = <span class="br0">&#123;</span><span class="nu0">1</span>,<span class="nu0">2</span>,<span class="nu0">3</span><span class="br0">&#125;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw4">int</span><span class="br0">&#91;</span><span class="br0">&#93;</span> B = <span class="br0">&#123;</span><span class="nu0">4</span>,<span class="nu0">5</span>,<span class="nu0">6</span><span class="br0">&#125;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw4">int</span><span class="br0">&#91;</span><span class="br0">&#93;</span> C = <span class="kw2">new</span> <span class="kw4">int</span><span class="br0">&#91;</span>A.<span class="me1">length</span> + B.<span class="me1">length</span><span class="br0">&#93;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw4">int</span> counter=<span class="nu0">0</span>;</div>
</li>
<li class="li2">
<div class="de2"><span class="kw1">for</span><span class="br0">&#40;</span><span class="kw4">int</span> e : A<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; C<span class="br0">&#91;</span>counter<span class="br0">&#93;</span>=e;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; counter++;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">for</span><span class="br0">&#40;</span><span class="kw4">int</span> e : B<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; C<span class="br0">&#91;</span>counter<span class="br0">&#93;</span>=e;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; counter++;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p>or with an ArrayList:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="coMULTI">/*Dropped importing the correct classes, </span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">and constructing the ArrayLists A and B, since thats not the focus here&#8230;*/</span></div>
</li>
<li class="li1">
<div class="de1">List&lt;Integer&gt; C = <span class="kw2">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AArrayList+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">ArrayList</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">C.<span class="me1">addAll</span><span class="br0">&#40;</span>A<span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">C.<span class="me1">addAll</span><span class="br0">&#40;</span>B<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<h3>PHP</h3>
<p>So, how is the same done in PHP?</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="re0">$A</span>=<a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="nu0">1</span>,<span class="nu0">2</span>,<span class="nu0">3</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$B</span>=<a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="nu0">4</span>,<span class="nu0">5</span>,<span class="nu0">6</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$C</span>=<a href="http://www.php.net/array_merge"><span class="kw3">array_merge</span></a><span class="br0">&#40;</span><span class="re0">$A</span>,<span class="re0">$B</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<h3>Python</h3>
<p>And at last, how does the Pythonistas do this?</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">A=<span class="br0">&#91;</span><span class="nu0">1</span>,<span class="nu0">2</span>,<span class="nu0">3</span><span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1">B=<span class="br0">&#91;</span><span class="nu0">4</span>,<span class="nu0">5</span>,<span class="nu0">6</span><span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1">C=A + B</div>
</li>
</ol>
</div>
<p>Note: the rubyists use the same approach.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elzapp.com/2009/03/12/merging-two-lists.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
