<?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>Truben's Journal &#187; Annet</title>
	<atom:link href="http://truben.no/journal/category/annet/feed/" rel="self" type="application/rss+xml" />
	<link>http://truben.no/journal</link>
	<description>truben</description>
	<lastBuildDate>Thu, 18 Aug 2011 12:24:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Stay away from this game!</title>
		<link>http://truben.no/journal/stay-away-from-this-game/</link>
		<comments>http://truben.no/journal/stay-away-from-this-game/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 22:09:10 +0000</pubDate>
		<dc:creator>Truben</dc:creator>
				<category><![CDATA[Annet]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[flash game]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://truben.no/journal/?p=243</guid>
		<description><![CDATA[I can honestly say that I very rarely play &#8220;Flash&#8221; games on the web. I typically think they&#8217;re too simple, and you&#8217;re rarely left with the feeling to have accomplished anything afterwards. This game is no exception. The problem with that is that it has managed to lure me to play it over and over [...]


<strong>Related posts:</strong><ul><li><a href='http://truben.no/journal/how-to-run-windows-3-1x-in-dosbox-using-d-box/' rel='bookmark' title='Permanent Link: How to run Windows 3.1x in Dosbox using D-Box'>How to run Windows 3.1x in Dosbox using D-Box</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>I can honestly say that I very rarely play &#8220;Flash&#8221; games on the web. I typically think they&#8217;re too simple, and you&#8217;re rarely left with the feeling to have accomplished anything afterwards. This game is no exception. The problem with that is that it has managed to lure me to play it over and over again. 316 times to be exact.</p>
<p>I lost two hours of my life. If you don|t want to suffer the same fate as me, I advise you to stay away. Can you do it? Not? Thought so!</p>
<div id="attachment_245" class="wp-caption aligncenter" style="width: 502px"><a href="http://www.kongregate.com/games/MonkeyWantBanana/shopping-cart-hero-2"><img class="size-full wp-image-245" title="Shopping Cart Hero 2" src="http://truben.no/journal/wp-content/uploads/2010/01/Skjermbilde-2010-01-21-kl.-23.05.34.png" alt="" width="492" height="204" /></a><p class="wp-caption-text">(Click on the image above to start the game)</p></div>
<p style="text-align: center;">
<p>Here&#8217;s what I accomplished:</p>
<p style="text-align: center;"><a href="http://truben.no/journal/wp-content/uploads/2010/01/Skjermbilde-2010-01-21-kl.-22.43.17.png" rel="lightbox[243]"><img class="aligncenter size-medium wp-image-244" title="Victory!" src="http://truben.no/journal/wp-content/uploads/2010/01/Skjermbilde-2010-01-21-kl.-22.43.17-300x219.png" alt="" width="300" height="219" /></a></p>


<p><strong>Related posts:</strong><ul><li><a href='http://truben.no/journal/how-to-run-windows-3-1x-in-dosbox-using-d-box/' rel='bookmark' title='Permanent Link: How to run Windows 3.1x in Dosbox using D-Box'>How to run Windows 3.1x in Dosbox using D-Box</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://truben.no/journal/stay-away-from-this-game/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wisdomTeeth.length() == 0</title>
		<link>http://truben.no/journal/wisdomteeth/</link>
		<comments>http://truben.no/journal/wisdomteeth/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 11:59:16 +0000</pubDate>
		<dc:creator>Truben</dc:creator>
				<category><![CDATA[Annet]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[hurt]]></category>
		<category><![CDATA[teeth]]></category>

		<guid isPermaLink="false">http://truben.no/journal/?p=172</guid>
		<description><![CDATA[This morning I had my final wisdom teeth (or mandibular third molar if you prefer) removed. Not surprisingly, my mouth has seen better days. Thanks to Ibuprofen for making the day better No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>This morning I had my final wisdom teeth (or mandibular third molar if you prefer) removed. Not surprisingly, my mouth has seen better days. Thanks to <a href="http://en.wikipedia.org/wiki/Ibuprofen">Ibuprofen</a> for making the day better <img src='http://truben.no/journal/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_171" class="wp-caption aligncenter" style="width: 410px"><a href="http://truben.no/journal/wp-content/uploads/2009/09/ibux.png" rel="lightbox[172]"><img class="size-full wp-image-171" title="Ibuprofen" src="http://truben.no/journal/wp-content/uploads/2009/09/ibux.png" alt="Me &amp; Ibuprofen" width="400" height="300" /></a><p class="wp-caption-text">Me &amp; Ibuprofen</p></div>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://truben.no/journal/wisdomteeth/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Brand new iPod Shuffle review</title>
		<link>http://truben.no/journal/brand-new-ipod-shuffle-review/</link>
		<comments>http://truben.no/journal/brand-new-ipod-shuffle-review/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 10:07:21 +0000</pubDate>
		<dc:creator>Truben</dc:creator>
				<category><![CDATA[Annet]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[gadgets]]></category>

		<guid isPermaLink="false">http://truben.no/journal/?p=71</guid>
		<description><![CDATA[Tobias is just finished writing an excellent review of the new (at least newest) iPod shuffle. Read about his experience with this incredible tiny gadget! No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://saiboten.com">Tobias</a> is just finished writing an excellent review of the new (at least newest) iPod shuffle. <a href="http://saiboten.com/blog/?p=127">Read about his experience with this incredible tiny gadget!</a></p>
<dl id="attachment_72" class="wp-caption alignleft" style="width: 110px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-72" title="iPod Shuffle" src="http://truben.no/journal/wp-content/uploads/2009/06/ipod.png" alt="The 3rd generation of Apple's iPod Shuffle" width="100" height="117" /></dt>
</dl>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://truben.no/journal/brand-new-ipod-shuffle-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tjeld på taket</title>
		<link>http://truben.no/journal/tjeld-pa-taket/</link>
		<comments>http://truben.no/journal/tjeld-pa-taket/#comments</comments>
		<pubDate>Sat, 23 May 2009 14:20:04 +0000</pubDate>
		<dc:creator>Truben</dc:creator>
				<category><![CDATA[Annet]]></category>
		<category><![CDATA[Norwegian]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tjeld]]></category>

		<guid isPermaLink="false">http://truben.no/journal/?p=53</guid>
		<description><![CDATA[I eksamensperioden er det som oftest mye annet som fasinerer en det en skal ha eksamen i, og i år er det Tjeld som hekker på taket av realfagbygget.  Har tatt noen snapshots fra hekkingen som jeg har lagt ut på http://truben.no/photo/tjeld/. Albumet er forresten generert med et lite program jeg lagde for anledningen. Du [...]


<strong>Related posts:</strong><ul><li><a href='http://truben.no/journal/puggeprogram/' rel='bookmark' title='Permanent Link: Puggeprogram'>Puggeprogram</a></li>
<li><a href='http://truben.no/journal/ampl-java-ide/' rel='bookmark' title='Permanent Link: AMPL Java IDE'>AMPL Java IDE</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>I eksamensperioden er det som oftest mye annet som fasinerer en det en skal ha eksamen i, og i år er det Tjeld som <a href="http://tjeld.uib.no/">hekker på taket av realfagbygget</a>.  Har tatt noen snapshots fra hekkingen som jeg har lagt ut på <a href="http://truben.no/photo/tjeld/">http://truben.no/photo/tjeld/</a>. Albumet er forresten generert med et lite program jeg lagde for anledningen. Du finner kildekoden hvis du trykker på les mer.</p>
<p><span id="more-53"></span></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.BufferedWriter</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.File</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.IOException</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.PrintWriter</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.ArrayList</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.List</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> PhotoAlbum <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> args<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">IOException</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #003399;">String</span> path<span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>args.<span style="color: #006633;">length</span> <span style="color: #339933;">&lt;=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
			path <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;.&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">else</span>
			path <span style="color: #339933;">=</span> args<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #003399;">List</span> pictures <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">ArrayList</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #003399;">File</span> f <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">File</span><span style="color: #009900;">&#40;</span>path<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> filen <span style="color: #339933;">:</span> f.<span style="color: #006633;">getCanonicalFile</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">list</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>filen.<span style="color: #006633;">endsWith</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;.png&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> filen.<span style="color: #006633;">endsWith</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;.gif&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> filen.<span style="color: #006633;">endsWith</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;.jpg&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
				pictures.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span>filen<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// Thumbnails</span>
		<span style="color: #003399;">PrintWriter</span> pw <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">PrintWriter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;index.html&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">BufferedWriter</span> bw <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">BufferedWriter</span><span style="color: #009900;">&#40;</span>pw<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
		bw.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> <span style="color: #339933;">+</span>
				<span style="color: #0000ff;">&quot;
&lt;!--
.thumb { border-width:3px; border-color:#AAAAAA; padding:10px; float:left; }.imgthumb{width:150px;border:0;}iframe{border:0px;}
--&gt;
&nbsp;
&quot;</span> <span style="color: #339933;">+</span>
				<span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> s<span style="color: #339933;">:</span> pictures<span style="color: #009900;">&#41;</span>
			bw.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;
&lt;div class=&quot;</span>\<span style="color: #0000ff;">&quot;thumb<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> target=&quot;</span>\<span style="color: #0000ff;">&quot;fullimage<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">&gt;&lt;</span>img <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>imgthumb<span style="color: #000099; font-weight: bold;">\&quot;</span>/&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> alt=&quot;</span><span style="color: #0000ff;">&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		bw.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		bw.<span style="color: #006633;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		bw.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		pw.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>



<p><strong>Related posts:</strong><ul><li><a href='http://truben.no/journal/puggeprogram/' rel='bookmark' title='Permanent Link: Puggeprogram'>Puggeprogram</a></li>
<li><a href='http://truben.no/journal/ampl-java-ide/' rel='bookmark' title='Permanent Link: AMPL Java IDE'>AMPL Java IDE</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://truben.no/journal/tjeld-pa-taket/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>AMPL Java IDE</title>
		<link>http://truben.no/journal/ampl-java-ide/</link>
		<comments>http://truben.no/journal/ampl-java-ide/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 12:32:21 +0000</pubDate>
		<dc:creator>Truben</dc:creator>
				<category><![CDATA[Annet]]></category>
		<category><![CDATA[ampl]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://truben.no/journal/?p=26</guid>
		<description><![CDATA[Fakta: Jeg tar INF170 i år, og jeg bruker Mac. Det finnes ingen gode IDE (hvis det kan kalles det) til språket AMPL, som vi bruker i dette faget, for Mac. Folka bak AMPL har derimot laget et program som heter AMPL/Java, som ble sist oppgradert i 1999. Dette programmet er rimelig håpløst, og jeg [...]


<strong>Related posts:</strong><ul><li><a href='http://truben.no/journal/tjeld-pa-taket/' rel='bookmark' title='Permanent Link: Tjeld på taket'>Tjeld på taket</a></li>
<li><a href='http://truben.no/journal/puggeprogram/' rel='bookmark' title='Permanent Link: Puggeprogram'>Puggeprogram</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p><strong>Fakta</strong>:</p>
<ul>
<li>Jeg tar INF170 i år, og jeg bruker Mac.</li>
<li>Det finnes ingen gode IDE (hvis det kan kalles det) til språket AMPL, som vi bruker i dette faget, for Mac.</li>
</ul>
<p>Folka bak AMPL har derimot laget et program som heter AMPL/Java, som ble sist oppgradert i 1999. Dette programmet er rimelig håpløst, og jeg har mistet mang et program på grunn av dets hjelpeløse GUI. I tillegg er det ganske problematisk å programmere i en texteditor som bruker systemets vanlige font istedenfor en <span style="font-family: courier new;">monotype</span> font.</p>
<p>Derfor fant jeg frem programmeringshanskene og ordnet litt i programmet, så nå funker det <em>helt greit</em>. Ikke noe store greier altså, har ikke tid til å reimplimentere det i SWING eller no (ja, bruker AWT). Men det er iaffal bedre for meg å bruke!<br />
<br/></p>
<div lang="en"><strong>English:</strong> In case you need an editor for <a href="http://www.ampl.com/">AMPL</a>, and you&#8217;re running Mac, you&#8217;re out of luck. There aren&#8217;t any good alternatives. The Java version is very outdated, and the user friendliness is debatable. It is for example quite difficult to see if you&#8217;re saving the model or data file. I have hacked the <a href="http://www.ampl.com/GUI/expermt.html#java">official version</a> and assembled a version that sucks <em>less</em>. Give it a try!</div>
<ul>
<li><a href="http://truben.no/journal/wp-content/uploads/2008/11/ampl.jar">AMPL for Java (jar file)<br />
</a></li>
<li><a href="http://truben.no/journal/wp-content/uploads/2008/11/kildekode.zip">AMPL for Java (source)</a></li>
</ul>


<p><strong>Related posts:</strong><ul><li><a href='http://truben.no/journal/tjeld-pa-taket/' rel='bookmark' title='Permanent Link: Tjeld på taket'>Tjeld på taket</a></li>
<li><a href='http://truben.no/journal/puggeprogram/' rel='bookmark' title='Permanent Link: Puggeprogram'>Puggeprogram</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://truben.no/journal/ampl-java-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

