<?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/"
	>

<channel>
	<title>thoughts of the driver</title>
	<atom:link href="http://www.dr1ver.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.dr1ver.net</link>
	<description>Steinn Eldjarn Sigurdarson on tech, tel, digital freedom and possibly his life</description>
	<pubDate>Tue, 27 Apr 2010 14:22:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>the Nordic Perl Workshop&#8217;s (volcanic) woes&#8230;</title>
		<link>http://www.dr1ver.net/?p=142</link>
		<comments>http://www.dr1ver.net/?p=142#comments</comments>
		<pubDate>Tue, 27 Apr 2010 14:21:44 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=142</guid>
		<description><![CDATA[The Nordic Perl Workshop which was supposed to go ahead this weekend is now dying a slow and painful death as Eyjafjallajökull continues to spew it&#8217;s farts all over our skies, and the erratic yoyo-ish opening and closing of Keflavík airport puts more gray hairs on my head every day.
We (FSFÍ) somehow got ourselves involved [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://npw2010.fsfi.is">Nordic Perl Workshop</a> which was supposed to go ahead this weekend is now dying a slow and painful death as Eyjafjallajökull continues to spew it&#8217;s farts all over our skies, and the erratic yoyo-ish opening and closing of Keflavík airport puts more gray hairs on my head every day.</p>
<p>We (<a href="http://fsfi.is" target="_blank">FSFÍ</a>) somehow got ourselves involved with having the workshop, and since I happen to use Perl a lot (although I&#8217;m no guru) I stepped up to try and organize. Although the timing of the whole thing coincided rather badly for me due to personal and professional reasons, the rest of the FSFÍ board was even more busy with matters of digital freedom and law making in Iceland. Things started off peachy: we Icelanders have it easy when it comes to organizing conferences, everybody wants to come here (for the nature, not the people), so organizing an international event in Iceland is about as easy as e-mailing a couple of heavy hitters &#8220;Hey what up, wanna come to Iceland and talk about some shiiz?&#8221;, and whipping up a registration page.</p>
<p>For fans of Wayne&#8217;s World 2, you&#8217;ll love Iceland.. and my organizing &#8220;skills&#8221;. Just about the <strong>only</strong> thing powerful enough to upset plans of my caliber, would be the spontaneous <a href="http://en.wikipedia.org/wiki/2010_eruptions_of_Eyjafjallaj%C3%B6kull#Second_eruption" target="_blank">glacially enhanced glass-shard synthesizing volcanic eruption</a>, just the type which doesn&#8217;t really kill anyone, except if you are flying a jet-engined plane and very unlucky. I&#8217;ll leave it to others to discuss the legitimacy of the &#8220;great 2010 air-delay&#8221;, but for all it&#8217;s wonderful jokes </p>
<p>(who can forget classics such as <em>&#8220;Iceland! We said CASH, not ASH!!&#8221;</em>, the nationalistic: <em>&#8220;Sorry Europe, we were aiming for London and Amsterdam!!&#8221;</em>, or my favorite: the sublime <em>&#8220;The last wish of the Icelandic economy was to have it&#8217;s ashes scattered over Europe&#8221;</em>)</p>
<p>&#8230;I am no longer laughing.</p>
<p>To the brave souls who are coming here anyway, risking to fly through one of our countryside airports, willing to take the 8-12 hour bus-rides to get to Reykjavík, I salute you and will surely enjoy your fabulous company. To the rest who either postponed or cancelled, I understand and hope to see you later this year if we manage to salvage this (natural) disaster of a situation!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=142</wfw:commentRss>
		</item>
		<item>
		<title>Linux fork() zombie processes problems..</title>
		<link>http://www.dr1ver.net/?p=139</link>
		<comments>http://www.dr1ver.net/?p=139#comments</comments>
		<pubDate>Wed, 21 Apr 2010 10:44:45 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=139</guid>
		<description><![CDATA[Recently at work I was porting some code from HP-UX to Linux, and ran into a problem. The code in question belonged to a service which listens on a socket, and forks a child to handle each incoming request. The children among other things execute a sub-process using system(), and check it&#8217;s return value to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently at work I was porting some code from HP-UX to Linux, and ran into a problem. The code in question belonged to a service which listens on a socket, and forks a child to handle each incoming request. The children among other things execute a sub-process using system(), and check it&#8217;s return value to know if the sub-process executed successfully. When you fork without calling wait() your children become zombies apparently: I guess it&#8217;s because nobody is reaping their return values or something.</p>
<p>To fix this, on HP-UX you apparently do this:</p>
<p><code>signal(SIGCLD,SIG_IGN);</code></p>
<p>Note that the signal used is SIGCLD not SIGCHLD, this is probably due to the age of the code. If this same &#8220;fix&#8221; is applied on Linux however, the system() function can&#8217;t return the sub-processes return value, because the parent program is already set to ignore SIGCLD (and SIGCHLD?). I initially solved this by having the parent process wait() for it&#8217;s children, but failed to realize that wait() is a blocking call, so it effectively slowed my server down to processing 1 request at a time: BAD.</p>
<p>When I setup a signal handler for SIGCHLD like in the link below however, my problems were solved: my parent process didn&#8217;t block, and forked for new requests, no zombie processes (because of waitpid() in the SIGCHLD handler) and best of all, my system() calls managed to return the return values of the sub-processes.</p>
<p>Thank you <a href="http://www.linuxprogrammingblog.com/code-examples/SIGCHLD-handler">Linux Programming Blog</a> <img src='http://www.dr1ver.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=139</wfw:commentRss>
		</item>
		<item>
		<title>Excluding sites from Google Chrome Flashblock extension</title>
		<link>http://www.dr1ver.net/?p=136</link>
		<comments>http://www.dr1ver.net/?p=136#comments</comments>
		<pubDate>Fri, 19 Feb 2010 15:20:34 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=136</guid>
		<description><![CDATA[The Google Chrome flashblock extension is a must-have addition for users intending to browse the web in peace and safety from evil flash advertisements and other flash critters which infest websites in ever greater numbers. Especially for us Linux users who are forced to use the notably weak Linux version of Adobe&#8217;s flash player, which [...]]]></description>
			<content:encoded><![CDATA[<p>The Google Chrome flashblock extension is a must-have addition for users intending to browse the web in peace and safety from evil flash advertisements and other flash critters which infest websites in ever greater numbers. Especially for us Linux users who are forced to use the notably weak Linux version of Adobe&#8217;s flash player, which loves nothing more than using all the cpu cycles it can get its hands on, and probably memory like <a href="http://www.coolstuffinc.com/images/Products/mtg%20art/Revised/Atog.jpg" target="_blank">an atog</a>, because nothing humbles my dual core 2.53ghz 4GB ram (a few years ago this would have been a mighty fine server!) T400 thinkpad more than a couple of websites where greed fueled ad sales have overpowered the customer experience factors long ago.</p>
<p>Anyway, to the juice of the entry, if you&#8217;re running the google-chrome beta on Linux, and were as unable as I was to find the configuration interface to add exceptions to the flash, then this could be of help.</p>
<p><code><br />
$ cd .config<br />
$ cd google-chrome<br />
$ cd Default<br />
$ cd Extensions<br />
$ ls<br />
</code><br />
Now you should be in the google chrome extensions directory, and will find a directory with a weird name, in my case it was &#8220;cdngiadmnkhgemkimkhiilgffbjijcie&#8221; feel free to comment if you know this to have any meaning, I would guess it&#8217;s a hash/unique string of some sort. Within there, you should find another directory with the version of the extension, in my case &#8220;1.2.11.12&#8243;.</p>
<p><code><br />
$ cd cdngiadmnkhgemkimkhiilgffbjijcie<br />
$ cd 1.2.11.12<br />
</code></p>
<p>There in there should be a file called flashblock.js, after the comments, on the first line of the anonymous function (I guess that&#8217;s actually an anonymous object prototype or something? js experts feel free to correct me) which wraps the module, you should find a line defining some exclusions:<br />
<code><br />
var exclude = ['mail.google.com', 'blizzard.com', 'acid3.acidtests.org', 'megaupload.com', 'files.mail.ru', 'gs.statcounter.com', 'aniweather.com', 'google.com'];<br />
</code></p>
<p>Here you can modify the array quite easily, then unload and reload the module (you do that from the &#8220;Extensions&#8221; page accessible from the little settings wrench at the top right) and you should be good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=136</wfw:commentRss>
		</item>
		<item>
		<title>Why twitter, WHY?</title>
		<link>http://www.dr1ver.net/?p=128</link>
		<comments>http://www.dr1ver.net/?p=128#comments</comments>
		<pubDate>Thu, 10 Sep 2009 13:19:41 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=128</guid>
		<description><![CDATA[I have been a twitter user since June 2008 (not particularly long.. I admit), but I just didn&#8217;t really see the point of having a 140char blog, unless designed around sms&#8217;s or something. In any case, when suddenly everyone around me was using twitter I figured &#8220;Hey, I&#8217;ll go use that old twitter account, and [...]]]></description>
			<content:encoded><![CDATA[<p>I have been a twitter user since June 2008 (not particularly long.. I admit), but I just didn&#8217;t really see the point of having a 140char blog, unless designed around sms&#8217;s or something. In any case, when suddenly everyone around me was using twitter I figured &#8220;Hey, I&#8217;ll go use that old twitter account, and join my friends with all this cool #hashtaggery and whatnot!&#8221;. After all, we have a tradition of setting up a twitterwall in our office using a beamer when we have workshops at the lab, and we all participate and create a cool topical twitterwall experience.</p>
<p>However, my posts never appear on the twitterwall, and actually, when going to search.twitter.com I can&#8217;t find ANY posts from me, even if I search for &#8220;from:<a href="http://twitter.com/steinnes">steinnes</a>&#8220;. This has been the case for my account since the start, when I registered in June 2008, I did so to participate in <a href="http://www.prolearn-academy.org/Events/summer-school-2008">#scohrid</a> discussions. My posts did not appear, and I promptly decided that this wasn&#8217;t worth my time, so I focused on my work there (ie. drinking beer and spreading my questionable philosophies regarding the nature of data).</p>
<p>Last May, I decided to try and get some help from twitter because of this annoying predicament. Here&#8217;s my <a href="http://twitter.zendesk.com/requests/297044">support request</a>:</p>
<p><em>May 14 01:07</em></p>
<blockquote><p>
Good day.</p>
<p>I seem not to show up in any twitter search results. This is very inconvenient, as I am part of a research community where twitter is often used to coordinate information and happenings between conference/workshop guests. I tried it first last year, when I was at a week long summer school on technology-enhanced learning, which was using the #scohrid hashtag for communications. Needless to say, the fact that my (few) posts didn&#8217;t show up in the search for this tag, left me out of the discussion, and I gave up on twitter for a while.</p>
<p>Recently I started using it again, as it&#8217;s burst in popularity convinced me I had simply been using it wrong, last summer. However it turns out that now, when I am trying to collaborate in a workshop which has chosen to use the #mlss09 hashtag, and I am not showing up on searches for this tag, nor the wall we&#8217;ve set up, projecting a &#8220;twitterwallr&#8221; ambient twitterwall, made up from the search results for #mlss09.</p>
<p>Now, I wonder if my account is somehow flagged as a spam-account, or what could the reason be that even when searching for &#8220;from:steinnes&#8221; on search.twitter.com, I find nothing.</p>
<p>Best regards,<br />
Steinn E. Sigurðarson
</p></blockquote>
<p>The (automated?) reply I got from twitter support went so:<br />
<em>May 14 02:47</em></p>
<blockquote><p>
&#8230;<br />
We&#8217;re currently experiencing a couple of issues with finding people; if you can&#8217;t find yourself in search, make sure you&#8217;ve posted updates (so we can index you and your updates.) <strong>Profiles that haven&#8217;t posted updates aren&#8217;t indexed in search.</strong></p>
<p><strong>Profiles added in the last 8 weeks aren&#8217;t being indexed by search.</strong> We&#8217;re tracking this problem here:<br />
http://help.twitter.com/forums/31935/entries/29912</p>
<p>Support requests reporting this issue are being closed, as we&#8217;re aware of and working on the problem. Please check the thread above for updates.</p>
<p>When you&#8217;re using &#8216;Find People&#8217; to look for folks by name or user name, you can only perform 50 searches per hour before you&#8217;re limited&#8211; this is for abuse control and spam prevention. If you hit a search limit using Find People, try checking out Twitter Search&#8217;s advanced search:</p>
<p>http://search.twitter.com/advanced</p>
<p>If you&#8217;re not listed in search and your profile is public, we may be investigating your account for a violation listed here:<br />
http://help.twitter.com/forums/26257/entries/18311</p>
<p>If you&#8217;re sure that doesn&#8217;t pertain to you and you still can&#8217;t find yourself or your friends, add your comments here:<br />
http://help.twitter.com/forums/31935/entries/29912
</p></blockquote>
<p>At this point, my support request was closed and marked &#8220;solved&#8221;. I replied:<br />
<em>14 May 2009 03:47</em> </p>
<blockquote><p>
This is NOT a solution.</p>
<p>I have not violated any of the twitter rules, and my account was<br />
registered in June 2008 (so it is MORE than 2 weeks old!).</p>
<p>It really seems this is just an automated message, and no one took the<br />
time to read my request and respond appropriately. As far as I know my<br />
account is not &#8220;private&#8221; (it is accessible via twitter.com/steinnes<br />
for anyone), and I have not violated any of your rules?</p>
<p>Can you please take a look at what could be the problem (and no, I am<br />
not trying to search for myself, I am trying to see my tweets in a<br />
search for a twitter hashtag).</p>
<p>Frustrated regards,<br />
Steinn E. Sigurðarson
</p></blockquote>
<p>I got a couple more automated replies about my ticket being closed, and 2 weeks later I tried again to open <a href="http://twitter.zendesk.com/requests/297044">the ticket</a>, but to no luck &#8212; I still don&#8217;t show up in any twitter searches and can&#8217;t participate in hashtag-based discussions.</p>
<p>Now I realize twitter has been growing exponentially, this places a lot of load on the service both technically, and in terms of user support &#8212; people run into problems, often because they just don&#8217;t know how to use the system even, and I fully understand the need for automated support systems which try to reduce the load on actual people working support. I&#8217;ve worked computer support myself, and I wish I would have had something like this <img src='http://www.dr1ver.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>However I really wish I could somehow reach someone at twitter to get some help with this &#8212; I would like to use their service, and I like what they are doing, and I would like to recommend it to my friends, and include the possibility for building support for it in any applications I develop, however at this time I&#8217;m not really in a position to do so, and every time my colleagues use twitter and ask me to participate in hashtag discussions it inadvertently ends up as a negative discussion about twitter <img src='http://www.dr1ver.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>So, please twitter, help me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=128</wfw:commentRss>
		</item>
		<item>
		<title>Thinking about a Moodle flexitheme</title>
		<link>http://www.dr1ver.net/?p=127</link>
		<comments>http://www.dr1ver.net/?p=127#comments</comments>
		<pubDate>Wed, 02 Sep 2009 15:56:14 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[covcell]]></category>

		<category><![CDATA[grapple]]></category>

		<category><![CDATA[Moodle]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=127</guid>
		<description><![CDATA[I&#8217;m thinking that the mobile/contextual theme I&#8217;ve been developing at work could be the starting point for some pretty amazing improvements.
The number one problem I always have when developing stuff for Moodle is that people want to squeeze things in where they don&#8217;t &#8220;belong&#8221; according to the Moodle design (afaict). In the COVCELL project this [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m thinking that the mobile/contextual theme I&#8217;ve been developing at work could be the starting point for some pretty amazing improvements.</p>
<p>The number one problem I always have when developing stuff for Moodle is that people want to squeeze things in where they don&#8217;t &#8220;belong&#8221; according to the Moodle design (afaict). In the COVCELL project this meant hacking the weblib.php file to squeeze our presence block into the standard header, in the grapple project it means doing something similar or not having the indicators/reflection-amplifiers displayed in the most important contexts (resources).</p>
<p>Now I am hacking a rating/annotating feature rather boorishly into the contextualized theme I have been working on before, so as to easily display the mechanics for this on every page. Now I ask myself, why don&#8217;t I just design a generic plugin-interface so that my theme can display certain blocks on the resource page, if the block has &#8230; a certain php method, or a certain configuraton option set?</p>
<p>Any ideas?</p>
<p>P.S.<br />
I know Moodle supports displaying course blocks on resource pages, but as far as I&#8217;ve seen it displays all of them then, which is not what we had in mind.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=127</wfw:commentRss>
		</item>
		<item>
		<title>Regexps in vim!</title>
		<link>http://www.dr1ver.net/?p=125</link>
		<comments>http://www.dr1ver.net/?p=125#comments</comments>
		<pubDate>Tue, 04 Aug 2009 13:27:53 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[php regexp stdclass vim]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=125</guid>
		<description><![CDATA[This took me like 10 minutes to get right. Just because of the slight differences between vim&#8217;s regexp and perl&#8217;s.
%s/context\["\([a-z]*\)"\]/context->\1/
However I need to this often when working with php, as more and more things seem to return stdClass objects (such as php5&#8217;s built-in json functions) and I always seem to write hundreds of lines of [...]]]></description>
			<content:encoded><![CDATA[<p>This took me like 10 minutes to get right. Just because of the slight differences between vim&#8217;s regexp and perl&#8217;s.</p>
<pre>%s/context\["\([a-z]*\)"\]/context->\1/</pre>
<p>However I need to this often when working with php, as more and more things seem to return stdClass objects (such as php5&#8217;s built-in json functions) and I always seem to write hundreds of lines of code assuming to use the formerly more common &#8220;smart arrays&#8221; of php. Syntactically though I must admit I much prefer the stdClass stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=125</wfw:commentRss>
		</item>
		<item>
		<title>Reflections on the last few weeks</title>
		<link>http://www.dr1ver.net/?p=122</link>
		<comments>http://www.dr1ver.net/?p=122#comments</comments>
		<pubDate>Thu, 30 Jul 2009 14:02:27 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=122</guid>
		<description><![CDATA[These last few weeks have been eventful, and not always in a good way.
I will break my habit of being very topical and not-so personal here, in order to coherently explain to myself and others how the last few weeks have been. On June 19th, I wrote my last blogpost, and later that day I [...]]]></description>
			<content:encoded><![CDATA[<p>These last few weeks have been eventful, and not always in a good way.</p>
<p>I will break my habit of being very topical and not-so personal here, in order to coherently explain to myself and others how the last few weeks have been. On June 19th, I wrote my last blogpost, and later that day I started getting symptoms of flu. This flu I decided would not stop me, and so I decided to barricade myself inside, wearing woolen sweaters, scarves, thick socks, and sleeping in socks/pyjamas while wearing a scarf, etc.</p>
<p>Of course I also took my own advice of getting enough Vitamin C and Zinc, and tried to stay moderately active. The flu actually kept getting worse progressively, and after a week of getting weaker and sleeping up to 16 hours per day, on the 26th of June I lost my voice which did not return for 3 days. On the 29th of June I think I returned to work since I had a skype meeting I did not want to miss, although it was canceled. This was one of the worst flu&#8217;s I&#8217;ve ever had, and I was still having symptoms as late as the 10th of July, and on that day, I set off up north (Árskógssandur) to a family gathering which was pretty great fun. The fun of the family gathering might have been slightly overshadowed by the fact that on monday morning I woke up with my elbow swollen to about double it&#8217;s normal size. Turns out I managed to get an infection in my arm, which the doctors explained was most likely a staphylococcus infection.  I received some bandaging and a prescription for antibiots (dicloxacillin I believe, to be taken at 4&#215;500mg per day).  The next day, it was not just my elbow, but around 20% of my arm which was swelling up, getting red, and becoming quite hot to the touch. On Tuesday night when I arrived in Reykjavík, I went straight to the emergency room, and was given intravenous antibiotics, and still the infection seemed to get larger and worsen.</p>
<p>After 3 more IV doses on Wednesday, and one on Thursday morning, the doctors reluctantly cleared me to go to the Netherlands on Thursday evening, where I am located currently and writing this entry. Armed with a woozy head, right arm aching from 48 hours of having an IV plug in it, left arm hurting from the flesh eating staph infection, and a weeks worth of more oral antibiotics I left for my current few week stay in the Netherlands.</p>
<p>Now I have a little secret to share with anyone who would like to be a programmer: when you are ill, no work gets done, and the deadlines move closer. This is something I&#8217;ve noticed that not everyone realizes fullly perhaps, which may cause great frustration to all involved parties.</p>
<p>Personally I quite wonder if I may after all be suffering from the reactive arthritis I was supposedly misdiagnosed with in 2007, since my eyes are usually swollen every day, and my knees and left elbow hurt, the only missing part of the symptoms required would be some skin rashes, which I haven&#8217;t had since 2007 a.f.a.i.k.  I find it a little too much of a coincidence that I get this massive infection in my elbow, and that both of my elbows frequently hurt when I lean on them, additionally my immune system has been strangely weak this year, as I&#8217;ve caught 2-3 flu&#8217;s, and each time been hit quite badly (2+ weeks of severe symptoms, large amounts of rest required, stomach upsets, headaches, and of course respiratory symptoms). Another theory of mine is that perhaps it is time to take a long vacation, as I haven&#8217;t taken a vacation for more than a week since 2004 when I took 17 days off.</p>
<p>Naturally I&#8217;ve been a little depressed over the whole thing, especially as I&#8217;ve run into less understanding from certain people than I would expect. Additionally I have been unable to keep up any regular training for 6 weeks or so now. In that time I have managed perhaps a couple of judo sessions, as well as two bjj sessions &#8212; the latter of which was a no-gi session on 8th of July, which I wonder if could be the source of my staph infection (getting a small scab on my elbow + rolling with 10 different sweaty guys on an exceptionally warm day&#8230;?). I hope that was not the source of it, but in any case I would be avoiding further no-gi sessions as I must admit, beyond the increased tactical options afforded to me by the gi, I was slightly disgusted with the sheer amount of sweat I was exposed to while training no-gi. Call me a wimp, I don&#8217;t care <img src='http://www.dr1ver.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Anyway &#8212; reflection time over, back to work-ahh..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=122</wfw:commentRss>
		</item>
		<item>
		<title>New ICESAVE agreement compared to treaty of Versailles</title>
		<link>http://www.dr1ver.net/?p=118</link>
		<comments>http://www.dr1ver.net/?p=118#comments</comments>
		<pubDate>Fri, 19 Jun 2009 16:57:10 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=118</guid>
		<description><![CDATA[This morning, radio journalist Sigurður G. Tómasson of Útvarp Saga, had as a guest an Icelandic economist and assistant professor of economy at Reykjavík University, Ólafur Ísleifsson. They discussed the commitments of the new ICESAVE agreement entered into by the Icelandic government. Pundits are expressing extreme concern over the agreement&#8217;s terms, which are said to [...]]]></description>
			<content:encoded><![CDATA[<p>This morning, radio journalist Sigurður G. Tómasson of <a href="http://www.utvarpsaga.is">Útvarp Saga</a>, had as a guest an Icelandic economist and assistant professor of economy at Reykjavík University, Ólafur Ísleifsson. They discussed the commitments of the <a href="http://www.economicdisasterarea.com/index.php/news/a-debatable-agreement-reached-on-icesave/">new ICESAVE agreement</a> entered into by the Icelandic government. Pundits are expressing extreme concern over the agreement&#8217;s terms, which are said to include the right by either of the other parties (British and Dutch governments) to call in the loans before their due date for several reasons, such as the Icelandic government not honoring any payment of any loan of (approx.) 10 million pounds or more. Ólafur Ísleifsson said dishearteningly that he hadn&#8217;t read a single agreement or treaty between sovereign nations, where one party was addressed so one-sided-ly and defeated-ly, except for the treaty of Versailles.</p>
<p>For some very fuzzy/suspect reasons it was only &#8220;released&#8221; (leaked actually first) yesterday, while apparently signed by Steingrímur J. Sigfússon, finance minister of Iceland, on the 6th of June this year, myself and many other interested Icelanders have not yet had the time to read the agreement and come to any conclusions, but this comparison made by Ólafur this morning is very depressing, especially in the light of numerous legal experts of different nationalities who are claiming the legal grounds for the Icelandic government to assume these responsibilities are far from stable, and this matter is a matter for the courts to decide.</p>
<p>Naturally, I&#8217;m not a proponent of running to the courts every time you make a mistake, and indeed the Icelandic financial authorities may have made mistakes or failed to act. Why that happened, whether incompetence, corruption, or insufficiencies of the legal infrastructure has yet to be discovered, and as I pointed out <a href="http://www.dr1ver.net/?p=102">in an earlier entry</a>, the cost of those mistakes may just be too great for Iceland to pay. </p>
<p>Anyone interested in the actual agreements, <a href="http://www.economicdisasterarea.com/index.php/features/the-icesave-agreements-pdf/">here they are</a>, courtesy of Economic Disaster Area.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=118</wfw:commentRss>
		</item>
		<item>
		<title>The debts of Iceland, put into perspective?</title>
		<link>http://www.dr1ver.net/?p=102</link>
		<comments>http://www.dr1ver.net/?p=102#comments</comments>
		<pubDate>Wed, 03 Jun 2009 18:27:50 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[Economics]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=102</guid>
		<description><![CDATA[I heard an interesting thing today, from an Icelandic economist, who recently joined the parliament. The Icelandic debts due to Icesave and other failed banks, valued at $5.8 billion, would be a huge burden on the Icelandic economy &#8212; paying these debts would require several years of reduced infrastructure (healthcare, education, social services), as well [...]]]></description>
			<content:encoded><![CDATA[<p>I heard an interesting thing today, from an Icelandic economist, who recently joined the parliament. The Icelandic debts due to Icesave and other failed banks, valued at $5.8 billion, would be a huge burden on the Icelandic economy &#8212; paying these debts would require several years of reduced infrastructure (healthcare, education, social services), as well as selling some natural resources (at a time when it&#8217;s a buyers market, no less). He said, that if you take this debt as a proportion of the UK&#8217;s GDP, and and then multiply that percentage with the Icelandic GDP, the resulting number would be something rather trivial &#8212; around 300 million ISK (if I heard him correctly), which is equivalent to about 2.5 million dollars. Pocket change for a big country, right?</p>
<p>Now, because I thought this was pretty amazing, I went ahead and did some of my own calculations, and based on the GDP figures for Iceland and UK, as reported by Wolfram Alpha, and the (700.000.000.000 ISK = $5.8 billion) icesave-related debt, I decided to do some calculating.<br />
<iframe border="0" frameborder="0" width="450" height="1075" src="http://ses.odg.cc/dr1ver/isdebt_gdp_perspective.html">iframe content</iframe></p>
<p>As you can see here, I calculated that for an economy of the size of UK, to pay off the $5.8 billion, would be about the same load relative to the GDP, as if Iceland was paying off a debt of $39 million. Now, that&#8217;s obviously more than an order of magnitude away from what the Icelandic MP quoted (although him being an economist, and me being a programmer, I left the fields on my little calculator open for change!), it&#8217;s maybe not what I&#8217;d consider pocket change for the Icelandic government, as 0.21% of a country&#8217;s GDP shouldn&#8217;t be, but it&#8217;s a damn sight more possible than the possibility of paying more than 30% of a country&#8217;s GDP. To put the debt into more perspective, the entire Icelandic government budget for 2009 is $4.6 billion.</p>
<p>So, the idea of the exercise was pretty much to verify my MP&#8217;s claim, but on further examination, I figured out a couple of interesting things as well: what is currently happening to Iceland, if it were to happen to the UK, at the same scale the UK public would be asked to accept liabilities of around <strong>864 billion dollars</strong>. Now, I&#8217;m not defending any bankers, but I&#8217;m pretty sure that UK public opinion on that kind of &#8220;bailout&#8221; would be rather divided, to say the least.</p>
<p>I Hope to get some reactions &#8212; especially in case I&#8217;ve made some drastic mistake somewhere (excuse: this was a quick hack at the end of the day, in order to procrastinate a bit!).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=102</wfw:commentRss>
		</item>
		<item>
		<title>Slightly different take on javascript library detection..</title>
		<link>http://www.dr1ver.net/?p=97</link>
		<comments>http://www.dr1ver.net/?p=97#comments</comments>
		<pubDate>Wed, 03 Jun 2009 09:07:54 +0000</pubDate>
		<dc:creator>Steinn E. Sigurðarson</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dr1ver.net/?p=97</guid>
		<description><![CDATA[A small update in reference to this, a post I wrote earlier about upgrading my WordPress, and also a javascript method to safely check if a js library has already been loaded in a parent system of a widget or module.
I don&#8217;t know about you guys, but in my case, my earlier code would start [...]]]></description>
			<content:encoded><![CDATA[<p>A small update in reference to <a href="http://www.dr1ver.net/?p=77">this, a post I wrote earlier</a> about upgrading my WordPress, and also a javascript method to safely check if a js library has already been loaded in a parent system of a widget or module.</p>
<p>I don&#8217;t know about you guys, but in my case, my earlier code would start acting up on my firebug sometimes, and it would force me to step through the exception which it was catching &#8212; very annoying, so I made another version which doesn&#8217;t use exceptions.</p>
<pre>
if (typeof(MooTools) !== 'undefined')
{
                // We have MooTools, is it recent?
                var numv = parseInt(MooTools.version.replace(/\./g, ''));
                if (numv < 122)
                {
                        // old version, what do we do?
                }
                else
                {
                        // new version woohoo! do nothing!
                }
}
else
{
        // Failure, we assume MooTools is not setup, and we include it
        // XXX: check here for prototype/jquery and abort in that case

        var head = document.getElementsByTagName("head")[0];
        var newscript = document.createElement('script');
        newscript.type = 'text/javascript';
        newscript.src = '<?php echo $_REQUEST["path"];?>/blocks/indicators/code/mootools-1.2.js';
        head.appendChild(newscript);
}
</pre>
<p>I do however think that my firebug and firefox combo on the windows machine are simply f*!@#$% &#8230;. but who cares&#8230; more code, another post, we happy! =)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr1ver.net/?feed=rss2&amp;p=97</wfw:commentRss>
		</item>
	</channel>
</rss>
