<?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>Fellinghaug Blog &#187; Funny</title>
	<atom:link href="http://asbjorn.fellinghaug.com/blog/category/funny/feed/" rel="self" type="application/rss+xml" />
	<link>http://asbjorn.fellinghaug.com/blog</link>
	<description>&#62;&#62;&#62; from fellinghaug import asbjorn; asbjorn.play()</description>
	<lastBuildDate>Thu, 19 Nov 2009 21:22:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AC/DC was awesome</title>
		<link>http://asbjorn.fellinghaug.com/blog/2009/02/acdc-was-awesome/</link>
		<comments>http://asbjorn.fellinghaug.com/blog/2009/02/acdc-was-awesome/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 18:14:07 +0000</pubDate>
		<dc:creator>Asbjørn Alexander Fellinghaug</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[acdc]]></category>
		<category><![CDATA[concert]]></category>
		<category><![CDATA[oslo]]></category>
		<category><![CDATA[telenor arena]]></category>

		<guid isPermaLink="false">http://asbjorn.fellinghaug.com/blog/?p=203</guid>
		<description><![CDATA[I was on the AC/DC Black Ice concert in Oslo 18.Feb, and I must say, it was an incredible live performance of the AC/DC. The concert was held in the new &#8220;Telenor Arena&#8221;
Classic songs like &#8220;Highway to hell&#8221;, &#8220;Thunderstruck&#8221;, &#8220;T.N.T.&#8221;.. Also the fact that these guys ain&#8217;t getting any younger, the sure did impress me. [...]]]></description>
			<content:encoded><![CDATA[<p>I was on the AC/DC Black Ice concert in Oslo 18.Feb, and I must say, it was an incredible live performance of the AC/DC. The concert was held in the new &#8220;Telenor Arena&#8221;</p>
<div id="attachment_205" class="wp-caption alignnone" style="width: 310px"><a href="http://asbjorn.fellinghaug.com/blog/wp-content/uploads/2009/02/acdc.jpg"><img class="size-medium wp-image-205" title="acdc" src="http://asbjorn.fellinghaug.com/blog/wp-content/uploads/2009/02/acdc-300x283.jpg" alt="AC/DC" width="300" height="283" /></a><p class="wp-caption-text">AC/DC</p></div>
<p>Classic songs like &#8220;Highway to hell&#8221;, &#8220;Thunderstruck&#8221;, &#8220;T.N.T.&#8221;.. Also the fact that these guys ain&#8217;t getting any younger, the sure did impress me. I would serious consider attending to another concert with these guys, even it means I have to put my arse on a plain to another country.</p>
]]></content:encoded>
			<wfw:commentRss>http://asbjorn.fellinghaug.com/blog/2009/02/acdc-was-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>distribuering av MS Office 2007 dokumenter</title>
		<link>http://asbjorn.fellinghaug.com/blog/2008/10/distribuering-av-ms-office-2007-dokumenter/</link>
		<comments>http://asbjorn.fellinghaug.com/blog/2008/10/distribuering-av-ms-office-2007-dokumenter/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 09:42:52 +0000</pubDate>
		<dc:creator>Asbjørn Alexander Fellinghaug</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[general IT]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[norsk]]></category>
		<category><![CDATA[odt]]></category>
		<category><![CDATA[ooxml]]></category>

		<guid isPermaLink="false">http://asbjorn.fellinghaug.com/blog/?p=98</guid>
		<description><![CDATA[Hei.
Jeg tenkte å ta for meg et voksende problem innen utveksling av dokumenter rundt omkring i Norge (og resten av verdenen). Etter at MS Office 2007 kom ut, og med det innførte et nytt filformat (docx, pptx, xlsx, ..), så har folk som tidligere har benyttet MS Office 2003/XP (og eldre) ikke vært istand til [...]]]></description>
			<content:encoded><![CDATA[<p>Hei.</p>
<p>Jeg tenkte å ta for meg et voksende problem innen utveksling av dokumenter rundt omkring i Norge (og resten av verdenen). Etter at MS Office 2007 kom ut, og med det innførte et nytt filformat (docx, pptx, xlsx, ..), så har folk som tidligere har benyttet MS Office 2003/XP (og eldre) ikke vært istand til å lese dokumentene lagret i disse formatene. Enda verre er det for de som benytter OpenOffice (et gratis verktøy av tilsvarende funksjonalitet som MS Office).</p>
<p>Så, problemet ligger i at MS Office 2007 lagrer som default alle dokumenter i disse nye formatene. Og som kjent så tenker ikke folk flest over dette, og derfor vil mesteparten av produserte dokumenter bli lagret i slike obskure formater. Det skal nevnes at formatet er svært lik OOXML (dog oppfyller den ikke helt spesifikasjonene). Uansett, dette innebærer problemer for folk som benytter andre tilsvarende programmer.</p>
<p>Jeg har selv erfart å få e-post med slike dokumenter, da jeg konsekvent svarer at formatet er ukjent for meg og at de enten skal lagre i det (gamle) &#8220;doc&#8221; formatet eller ODT (OpenDocument format for tekstbehandling), eventuelt PDF. Sistnevnte byr på problemer dersom du er avhengig av å redigere dokumentet dog.</p>
<p>Hovedpoenget er at folk må slutte å benytte formater som er svært dårlig utbredt, da de innsnevrer mulighetene for andre å lese dokumentene. Inntil det faktisk er mulig for andre enn MS Office å lese og skrive i de respektive formatene, så anbefales det <strong>sterkt </strong>å unngå dem.</p>
]]></content:encoded>
			<wfw:commentRss>http://asbjorn.fellinghaug.com/blog/2008/10/distribuering-av-ms-office-2007-dokumenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter from commandline</title>
		<link>http://asbjorn.fellinghaug.com/blog/2008/05/twitter-from-commandline/</link>
		<comments>http://asbjorn.fellinghaug.com/blog/2008/05/twitter-from-commandline/#comments</comments>
		<pubDate>Mon, 05 May 2008 19:26:44 +0000</pubDate>
		<dc:creator>Asbjørn Alexander Fellinghaug</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lucene]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://asbjorn.fellinghaug.com/blog/?p=24</guid>
		<description><![CDATA[I&#8217;ve been taken by the Twitter storm these days.. Damn, I should focus a hole lot more on my master report. Well, this took me only one little hour, so it&#8217;s not that waste of time..    So, I guess you have heard about the new &#8220;facebook&#8221; called Twitter? Well, its this new [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been taken by the Twitter storm these days.. Damn, I should focus a hole lot more on my master report. Well, this took me only one little hour, so it&#8217;s not that waste of time.. <img src='http://asbjorn.fellinghaug.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   So, I guess you have heard about the new &#8220;facebook&#8221; called <a title="Twitter" href="http://www.twitter.com">Twitter</a>? Well, its this new web community thing were people can write their current status for what they are doing in the world.. And, of course, one can follow friends and pay attention to were / what they are doing.. Now, after some time I found it rather heavy to enter the twitter webpage, login, and then post a new twitter message for each time I want to update my status. So, as a python fan I am, I created myself a little python script to capture this problem. It relies on the <a title="Python Twitter" href="http://code.google.com/p/python-twitter/">python-twitter</a> module available at the Google Code pages. So, lets have a look at the code. I have named this file &#8220;update.py&#8221;, however feel free to rename it.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
</pre></td><td class="code"><pre class="python python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/env python</span>
<span style="color: #ff7700;font-weight:bold;">import</span> twitter
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span>
&nbsp;
USERNAME=<span style="color: #483d8b;">&quot;&quot;</span>
PASSWORD=<span style="color: #483d8b;">&quot;&quot;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> postNewMessage<span style="color: black;">&#40;</span>msg<span style="color: black;">&#41;</span>:
    api = twitter.<span style="color: black;">Api</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    api = twitter.<span style="color: black;">Api</span><span style="color: black;">&#40;</span>username=<span style="color: #483d8b;">&quot;&quot;</span>, password=<span style="color: #483d8b;">&quot;&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">isinstance</span><span style="color: black;">&#40;</span>msg, <span style="color: #008000;">list</span><span style="color: black;">&#41;</span>:
        msg = <span style="color: #483d8b;">&quot; &quot;</span>.<span style="color: black;">join</span><span style="color: black;">&#40;</span>msg<span style="color: black;">&#41;</span>
    msg = <span style="color: #008000;">unicode</span><span style="color: black;">&#40;</span>msg, <span style="color: #483d8b;">&quot;utf-8&quot;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>msg<span style="color: black;">&#41;</span> <span style="color: #66cc66;">&gt;</span> <span style="color: #ff4500;">140</span>:
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;ERROR: Message can't be over 140 chars.&quot;</span>
        <span style="color: #ff7700;font-weight:bold;">return</span>
    <span style="color: #ff7700;font-weight:bold;">try</span>:
        api.<span style="color: black;">PostUpdate</span><span style="color: black;">&#40;</span>msg<span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;OK. Was %i chars in msg.&quot;</span> <span style="color: #66cc66;">%</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>msg<span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">Exception</span>, e:
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;FUck..&quot;</span>
&nbsp;
    api.<span style="color: black;">ClearCredentials</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> __name__ == <span style="color: #483d8b;">&quot;__main__&quot;</span>:
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#41;</span> <span style="color: #66cc66;">&gt;</span> <span style="color: #ff4500;">1</span>:
        t = <span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">1</span>:<span style="color: black;">&#93;</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>t<span style="color: black;">&#41;</span> == <span style="color: #ff4500;">1</span> <span style="color: #ff7700;font-weight:bold;">and</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>t<span style="color: black;">&#91;</span>0<span style="color: black;">&#93;</span><span style="color: black;">&#41;</span> <span style="color: #66cc66;">&gt;</span> <span style="color: #ff4500;">10</span>:
            <span style="color: #808080; font-style: italic;"># writes ./update &quot;hi there mate&quot;</span>
            postNewMessage<span style="color: black;">&#40;</span>t<span style="color: black;">&#91;</span>0<span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            <span style="color: #808080; font-style: italic;"># writes ./update hello world</span>
            postNewMessage<span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">1</span>:<span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;fuck&quot;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://asbjorn.fellinghaug.com/blog/2008/05/twitter-from-commandline/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I major fucked my laptop!</title>
		<link>http://asbjorn.fellinghaug.com/blog/2008/04/major-fucked-my-laptop/</link>
		<comments>http://asbjorn.fellinghaug.com/blog/2008/04/major-fucked-my-laptop/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 12:01:43 +0000</pubDate>
		<dc:creator>Asbjørn Alexander Fellinghaug</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[blooper]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://asbjorn.fellinghaug.com/blog/?p=20</guid>
		<description><![CDATA[Hi everyone.
Allow me to share a rather embarrassing episode I had yesterday that resulted in the doom of my laptop screen. So, I was on my way home from another hard-working-good-lookin day at school, and as always I was kind of stressed. The &#8220;walking&#8221; part was to the parking lot not far from the school, [...]]]></description>
			<content:encoded><![CDATA[<p>Hi everyone.</p>
<p>Allow me to share a rather embarrassing episode I had yesterday that resulted in the doom of my laptop screen. So, I was on my way home from another hard-working-good-lookin day at school, and as always I was kind of stressed. The &#8220;walking&#8221; part was to the parking lot not far from the school, and I was talking to a friend at the same time as I had my brother on the phone. (You know, we boys can&#8217;t multitask things). When I was about to unlock my car from the passenger side, I had to drop my backsack on the ground infront of my car. Unlocking my car from the passenger side and then open the driver door from the inside is the algorithm to unlock my car (quite old car). The idea was that I was suppose to fetch my backsack when walking around the car. However, in all the mess and stress, I take the other way around the car.</p>
<p>Jumping into the car thinking everything is OK, igniting the car, adjusting the stereo, need the right moood and sound before driving you know. Then, shifting into 1th gear and flooring the throttle. I was soon to discovery a rather unusual sound from the front of the car. Hmm, what could it be? Hitting the break a millisecond  later, I came to realize that I was missing my backpack.  WTF?! Backup up the car I find my backpack rather flat and dusty. The first thing that goes through my mind was the laptop&#8230;. Was it OK? Taking a quick physical check tells me it survived, so far so good. But, what&#8217;s that next to my laptop? Noooooooo, my coffee cup is broooken!! So, I drive home rather grumpy, but thinking it went OK since my laptop survived. I keept that thought to the next morning. Sitting in the reading hall at the university I suddenly realized that my laptop screen was big time fucked. Unable to read a single character.</p>
<p>Now, you may have your bad mornings, but this as so far been my worst..</p>
<p>EDIT: I&#8217;ve now added a photo of my laptop.. I haz proof!</p>
<p><a href="http://asbjorn.fellinghaug.com/blog/wp-content/uploads/2008/07/dsc00839.jpg"><img class="alignnone size-medium wp-image-38" title="dsc00839" src="http://asbjorn.fellinghaug.com/blog/wp-content/uploads/2008/07/dsc00839-300x225.jpg" alt="" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://asbjorn.fellinghaug.com/blog/2008/04/major-fucked-my-laptop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Abnormal behavior in the gents</title>
		<link>http://asbjorn.fellinghaug.com/blog/2008/04/abnormal-behavior-in-the-gents/</link>
		<comments>http://asbjorn.fellinghaug.com/blog/2008/04/abnormal-behavior-in-the-gents/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 08:07:28 +0000</pubDate>
		<dc:creator>Asbjørn Alexander Fellinghaug</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[gents]]></category>
		<category><![CDATA[observation]]></category>

		<guid isPermaLink="false">http://asbjorn.fellinghaug.com/wp/?p=12</guid>
		<description><![CDATA[
Okey, so this post is somewhat special since its not geeky in any way, it is much more an observation from my side.
At NTNU there is several lavatories around, and there is one observation in the gentlemens lavatory thats been bugging me. In most lavatories at NTNU there is two urinals pr lavatory, and here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div class="entrytext">
<p>Okey, so this post is somewhat special since its not geeky in any way, it is much more an observation from my side.</p>
<p>At <a href="http://www.ntnu.no/">NTNU</a> there is several lavatories around, and there is one observation in the gentlemens lavatory thats been bugging me. In most lavatories at NTNU there is two urinals pr lavatory, and here&#8217;s the case. You know when you&#8217;re just let the &#8220;water&#8221; flow and there is one &#8220;spare&#8221; place besides you and there is not much space between the urinals? Well, for some reason many people find it natural to occupy the urinal right next to the one you&#8217;re using. Those people are <strong>wrong!</strong> The available urinal next to another one in use is <strong>not</strong> meant to be used, its purpose is only <span class="green"><span class="black">psychological.This behavior is only allowed in cases where there is at least more than a half meter between each urinal!</span></span></p>
<p>So, to summeraize, if you find yourself in this situation and you&#8217;re that poor person already in action at the urinal, then you&#8217;re entitled to take verbal action. If you&#8217;re that other horrible person, then I would urge you to think twice before you use the urinal.</p>
</div>
<div class="entrytext"><a href="http://asbjorn.fellinghaug.com/wp/wp-content/uploads/2008/04/dsc00746.jpg"><img class="alignnone size-medium wp-image-14" title="dsc00746" src="http://asbjorn.fellinghaug.com/wp/wp-content/uploads/2008/04/dsc00746-300x225.jpg" alt="Urinal" width="300" height="225" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://asbjorn.fellinghaug.com/blog/2008/04/abnormal-behavior-in-the-gents/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu brus!</title>
		<link>http://asbjorn.fellinghaug.com/blog/2008/04/ubuntu-brus/</link>
		<comments>http://asbjorn.fellinghaug.com/blog/2008/04/ubuntu-brus/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 19:53:07 +0000</pubDate>
		<dc:creator>Asbjørn Alexander Fellinghaug</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[brus]]></category>
		<category><![CDATA[soda]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://asbjorn.fellinghaug.com/wp/?p=9</guid>
		<description><![CDATA[Her om dagen ble jeg gjort oppmerksom på at en meget spesiell ny type boks brus var ute. Noen få underinger senere og et lite besøk innom Tapir kiosken på Gløshaugen, NTNU, så satt jeg og noen klassekamerater med en Ubuntu brus å hånda.
En rask prøvesmaking var på sin plass, og verdt å merke, til [...]]]></description>
			<content:encoded><![CDATA[<p>Her om dagen ble jeg gjort oppmerksom på at en meget spesiell ny type boks brus var ute. Noen få underinger senere og et lite besøk innom Tapir kiosken på Gløshaugen, NTNU, så satt jeg og noen klassekamerater med en Ubuntu brus å hånda.<a href="http://asbjorn.fellinghaug.com/wp/wp-content/uploads/2008/04/ubuntu.jpg"><br />
<img class="alignnone size-medium wp-image-8" title="ubuntu" src="http://asbjorn.fellinghaug.com/wp/wp-content/uploads/2008/04/ubuntu-300x225.jpg" alt="" width="300" height="225" /></a>En rask prøvesmaking var på sin plass, og verdt å merke, til å være en relativt ukjent brus smakte den faktisk godt. I og med at dette var en sukkerholdig leskedrikk var det begrenset med slurker jeg klarte å innta (les: diabetiker), men det smakte.</p>
]]></content:encoded>
			<wfw:commentRss>http://asbjorn.fellinghaug.com/blog/2008/04/ubuntu-brus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
