<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/2.4.6" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Robin Smidsr&#248;d</title>
		<link>http://blog.robin.smidsrod.no/index.php</link>
		<description></description>
		<language>nb-NO</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=2.4.6"/>
		<ttl>60</ttl>
				<item>
			<title>The new Catalyst book from Packt Publishing</title>
			<link>http://blog.robin.smidsrod.no/index.php/2010/08/14/the-new-catalyst-book-from-packt-publish</link>
			<pubDate>Sat, 14 Aug 2010 09:58:52 +0000</pubDate>			<dc:creator>Robin Smidsr&#248;d</dc:creator>
			<category domain="alt">Software</category>
<category domain="main">Perl</category>			<guid isPermaLink="false">82@http://blog.robin.smidsrod.no/</guid>
						<description>&lt;p&gt;Some weeks ago I got a copy of the &lt;a href=&quot;http://www.packtpub.com/catalyst-5-8-the-perl-mvc-framework/book?utm_source=blog.robin.smidsrod.no&amp;amp;utm_medium=bookrev&amp;amp;utm_content=blog&amp;amp;utm_campaign=mdb_004039&quot;&gt;new Catalyst book from Packt Publishing&lt;/a&gt; on the popular &lt;a href=&quot;http://www.catalystframework.org/&quot;&gt;MVC web framework for Perl&lt;/a&gt;. The new book covers the 5.8 release of Catalyst, which is based on Moose. The book also includes some chapters on Modern Perl topics, namely &lt;a href=&quot;http://moose.perl.org/&quot;&gt;Moose&lt;/a&gt; and &lt;a href=&quot;http://search.cpan.org/perldoc?DBIx::Class::Manual&quot;&gt;DBIx::Class&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I was planning to review the book, but it became quite obvious after a short time that I would not be able to read it thoroughly any time soon (I already have too many other books on my reading list).&lt;/p&gt;

&lt;p&gt;If you were wondering whether or not to buy it yourself, they have a &lt;a href=&quot;https://www.packtpub.com/sites/default/files/9249-chapter-3-building-a-real-application_0.pdf&quot;&gt;sample chapter (PDF)&lt;/a&gt; available that can help you make up your mind.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://blog.robin.smidsrod.no/index.php/2010/08/14/the-new-catalyst-book-from-packt-publish&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Some weeks ago I got a copy of the <a href="http://www.packtpub.com/catalyst-5-8-the-perl-mvc-framework/book?utm_source=blog.robin.smidsrod.no&amp;utm_medium=bookrev&amp;utm_content=blog&amp;utm_campaign=mdb_004039">new Catalyst book from Packt Publishing</a> on the popular <a href="http://www.catalystframework.org/">MVC web framework for Perl</a>. The new book covers the 5.8 release of Catalyst, which is based on Moose. The book also includes some chapters on Modern Perl topics, namely <a href="http://moose.perl.org/">Moose</a> and <a href="http://search.cpan.org/perldoc?DBIx::Class::Manual">DBIx::Class</a>.</p>

<p>I was planning to review the book, but it became quite obvious after a short time that I would not be able to read it thoroughly any time soon (I already have too many other books on my reading list).</p>

<p>If you were wondering whether or not to buy it yourself, they have a <a href="https://www.packtpub.com/sites/default/files/9249-chapter-3-building-a-real-application_0.pdf">sample chapter (PDF)</a> available that can help you make up your mind.</p><div class="item_footer"><p><small><a href="http://blog.robin.smidsrod.no/index.php/2010/08/14/the-new-catalyst-book-from-packt-publish">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://blog.robin.smidsrod.no/index.php/2010/08/14/the-new-catalyst-book-from-packt-publish#comments</comments>
		</item>
				<item>
			<title>Enda et intervju med meg, denne gangen i T&#248;nsbergs Blad</title>
			<link>http://blog.robin.smidsrod.no/index.php/2010/06/24/enda-et-intervju-med-meg-denne-gangen-i</link>
			<pubDate>Thu, 24 Jun 2010 09:15:57 +0000</pubDate>			<dc:creator>Robin Smidsr&#248;d</dc:creator>
			<category domain="alt">Professional</category>
<category domain="alt">Personal</category>
<category domain="main">Education</category>			<guid isPermaLink="false">81@http://blog.robin.smidsrod.no/</guid>
						<description>&lt;p&gt;&lt;a href=&quot;http://tb.no/nyheter/a-i-absolutt-alt-1.5405893&quot;&gt;http://tb.no/nyheter/a-i-absolutt-alt-1.5405893&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Den lokale avisen, &lt;a href=&quot;http://tb.no&quot;&gt;T&amp;#248;nsbergs Blad&lt;/a&gt;, var ogs&amp;#229; interessert i prestasjonene mine p&amp;#229; skolen. De har publisert et &lt;a href=&quot;http://tb.no/nyheter/a-i-absolutt-alt-1.5405893&quot;&gt;intervju&lt;/a&gt; med meg p&amp;#229; forsiden av nettutgaven av avisen.&lt;/p&gt;

&lt;p&gt;Intervjuet st&amp;#229;r ogs&amp;#229; i dagens utgave av avisen, 24. juni 2010, og opptar omtrent en halv side.&lt;/p&gt;

&lt;p&gt;Jeg ble oppringt av en annen journalist fra T&amp;#248;nsbergs Blad i dag, og de &amp;#248;nsket &amp;#229; intervjue meg til en annen spalte i avisen. Dette intervjuet skal etter sigende komme p&amp;#229; trykk i l&amp;#248;rdagsutgaven av avisen, 26. juni 2010.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://blog.robin.smidsrod.no/index.php/2010/06/24/enda-et-intervju-med-meg-denne-gangen-i&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><a href="http://tb.no/nyheter/a-i-absolutt-alt-1.5405893">http://tb.no/nyheter/a-i-absolutt-alt-1.5405893</a></p><p>Den lokale avisen, <a href="http://tb.no">T&#248;nsbergs Blad</a>, var ogs&#229; interessert i prestasjonene mine p&#229; skolen. De har publisert et <a href="http://tb.no/nyheter/a-i-absolutt-alt-1.5405893">intervju</a> med meg p&#229; forsiden av nettutgaven av avisen.</p>

<p>Intervjuet st&#229;r ogs&#229; i dagens utgave av avisen, 24. juni 2010, og opptar omtrent en halv side.</p>

<p>Jeg ble oppringt av en annen journalist fra T&#248;nsbergs Blad i dag, og de &#248;nsket &#229; intervjue meg til en annen spalte i avisen. Dette intervjuet skal etter sigende komme p&#229; trykk i l&#248;rdagsutgaven av avisen, 26. juni 2010.</p><div class="item_footer"><p><small><a href="http://blog.robin.smidsrod.no/index.php/2010/06/24/enda-et-intervju-med-meg-denne-gangen-i">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://blog.robin.smidsrod.no/index.php/2010/06/24/enda-et-intervju-med-meg-denne-gangen-i#comments</comments>
		</item>
				<item>
			<title>Intervju med meg p&#229; forsiden av hive.no</title>
			<link>http://blog.robin.smidsrod.no/index.php/2010/06/23/intervju-med-meg-pa-forsiden-av-hive-no</link>
			<pubDate>Wed, 23 Jun 2010 18:33:57 +0000</pubDate>			<dc:creator>Robin Smidsr&#248;d</dc:creator>
			<category domain="main">Education</category>			<guid isPermaLink="false">80@http://blog.robin.smidsrod.no/</guid>
						<description>&lt;p&gt;&lt;a href=&quot;http://www.hive.no/aktuelt/informatikkstudent-med-toppkarakterer-article14318-110.html&quot;&gt;http://www.hive.no/aktuelt/informatikkstudent-med-toppkarakterer-article14318-110.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Etter at jeg fullf&amp;#248;rte informatikkstudiet ved H&amp;#248;gskolen i Vestfold med sv&amp;#230;rt gode resultater &amp;#248;nsket redakt&amp;#248;ren for skolens nettsider, Jon Olav Sk&amp;#229;lid, et &lt;a href=&quot;http://www.hive.no/aktuelt/informatikkstudent-med-toppkarakterer-article14318-110.html&quot;&gt;intervju&lt;/a&gt; med meg.&lt;/p&gt;

&lt;p&gt;I tillegg til intervjuet fikk jeg ogs&amp;#229; utdelt en fin blomsterbukett, samt noen velvalgte ord om mine resultater, fra skolens ledelse under tildelingen av vitnem&amp;#229;l tirsdag 22. juni 2010.&lt;/p&gt;

&lt;p&gt;Jeg &amp;#248;nsker herved &amp;#229; overbringe min takk til skolens ledelse for oppmerksomheten og alle l&amp;#230;rerne for et sv&amp;#230;rt godt studium. Det har v&amp;#230;rt en forn&amp;#248;yelse!&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://blog.robin.smidsrod.no/index.php/2010/06/23/intervju-med-meg-pa-forsiden-av-hive-no&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><a href="http://www.hive.no/aktuelt/informatikkstudent-med-toppkarakterer-article14318-110.html">http://www.hive.no/aktuelt/informatikkstudent-med-toppkarakterer-article14318-110.html</a></p><p>Etter at jeg fullf&#248;rte informatikkstudiet ved H&#248;gskolen i Vestfold med sv&#230;rt gode resultater &#248;nsket redakt&#248;ren for skolens nettsider, Jon Olav Sk&#229;lid, et <a href="http://www.hive.no/aktuelt/informatikkstudent-med-toppkarakterer-article14318-110.html">intervju</a> med meg.</p>

<p>I tillegg til intervjuet fikk jeg ogs&#229; utdelt en fin blomsterbukett, samt noen velvalgte ord om mine resultater, fra skolens ledelse under tildelingen av vitnem&#229;l tirsdag 22. juni 2010.</p>

<p>Jeg &#248;nsker herved &#229; overbringe min takk til skolens ledelse for oppmerksomheten og alle l&#230;rerne for et sv&#230;rt godt studium. Det har v&#230;rt en forn&#248;yelse!</p><div class="item_footer"><p><small><a href="http://blog.robin.smidsrod.no/index.php/2010/06/23/intervju-med-meg-pa-forsiden-av-hive-no">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://blog.robin.smidsrod.no/index.php/2010/06/23/intervju-med-meg-pa-forsiden-av-hive-no#comments</comments>
		</item>
				<item>
			<title>Having problems to install CPAN modules that use Module::Install on Windows?</title>
			<link>http://blog.robin.smidsrod.no/index.php/2010/05/30/having-problems-to-install-cpan-modules</link>
			<pubDate>Sun, 30 May 2010 11:07:48 +0000</pubDate>			<dc:creator>Robin Smidsr&#248;d</dc:creator>
			<category domain="alt">Software</category>
<category domain="main">Perl</category>			<guid isPermaLink="false">79@http://blog.robin.smidsrod.no/</guid>
						<description>&lt;p&gt;I have been discussing this problem with Adam Kennedy and some other people at &lt;a href=&quot;irc://irc.perl.org/win32&quot;&gt;#win32@irc.perl.org&lt;/a&gt; today:&lt;/p&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;http://gist.github.com/418926.js&quot;&gt;&lt;/script&gt;&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Line 388 of Module/Install/Makefile.pm is a blank line, but the line after it is a simple two-arg open().&lt;/p&gt;

&lt;pre&gt;
open MAKEFILE, &quot;&gt; $makefile_name&quot; or
    die &quot;fix_up_makefile: Couldn't open $makefile_name: $!&quot;;
&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;Side-note: I don't know why they use two-arg open there, but it is probably because Module::Install needs to work back to the stone-age of Perl.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Since the file was opened for read access a couple of lines above it got me thinking. This invalid argument message Windows gives you is its way of saying &quot;hey, the file is locked somewhere else, you can't mess with it&quot;.&lt;/p&gt;

&lt;p&gt;In the end I figured out that the bad guy here was my anti-virus (AVG). An extremely crude workaround I found that worked was to just &lt;strong&gt;put the entire Strawberry Perl in the anti-virus exclusion list&lt;/strong&gt;. This solved the &quot;invalid argument&quot; message for me, and now my Module::Install-based CPAN modules install as they should.&lt;/p&gt;

&lt;p&gt;This is obviously not a very good long-term solution. So this got me thinking a bit more. Who is really at fault here? Is it perl or AVG? Should AVG not allow open() to return before it is finished with its scanning stuff, or should perl handle open() for write differently on Windows, considering the OS itself forces write locking.&lt;/p&gt;

&lt;p&gt;I'd really like to hear more about what you guys that know the perl internals have to say about this subject.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Kenichi Ishigaki replied a bit later with a &lt;a href=&quot;http://fisheye2.atlassian.com/browse/cpan/trunk/Module-Install/lib/Module/Install/Makefile.pm?r1=12384&amp;amp;r2=12198&quot;&gt;patch&lt;/a&gt; to Module::Install that works around the problem. He applied the web counter solution mentioned in perlfaq5 to the problem, and it worked for me. I guess it is now just to wait for Adam Kennedy to release a new version of Module::Install and file bugs against the CPAN modules that show problems on Windows with a message that they should upgrade their Module::Install version and issue a new release of their module.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update2:&lt;/strong&gt; Adam Kennedy has released &lt;a href=&quot;http://search.cpan.org/dist/Module-Install&quot;&gt;Module::Install 0.98&lt;/a&gt;, which contains the patch. Please tell all CPAN module authors that use it to upgrade to the new version and Windows users will be very happy.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://blog.robin.smidsrod.no/index.php/2010/05/30/having-problems-to-install-cpan-modules&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>I have been discussing this problem with Adam Kennedy and some other people at <a href="irc://irc.perl.org/win32">#win32@irc.perl.org</a> today:</p>

<script type="text/javascript" src="http://gist.github.com/418926.js"></script><p></p>

<p>Line 388 of Module/Install/Makefile.pm is a blank line, but the line after it is a simple two-arg open().</p>

<pre>
open MAKEFILE, "> $makefile_name" or
    die "fix_up_makefile: Couldn't open $makefile_name: $!";
</pre>

<p><em>Side-note: I don't know why they use two-arg open there, but it is probably because Module::Install needs to work back to the stone-age of Perl.</em></p>

<p>Since the file was opened for read access a couple of lines above it got me thinking. This invalid argument message Windows gives you is its way of saying "hey, the file is locked somewhere else, you can't mess with it".</p>

<p>In the end I figured out that the bad guy here was my anti-virus (AVG). An extremely crude workaround I found that worked was to just <strong>put the entire Strawberry Perl in the anti-virus exclusion list</strong>. This solved the "invalid argument" message for me, and now my Module::Install-based CPAN modules install as they should.</p>

<p>This is obviously not a very good long-term solution. So this got me thinking a bit more. Who is really at fault here? Is it perl or AVG? Should AVG not allow open() to return before it is finished with its scanning stuff, or should perl handle open() for write differently on Windows, considering the OS itself forces write locking.</p>

<p>I'd really like to hear more about what you guys that know the perl internals have to say about this subject.</p>

<p><strong>Update:</strong> Kenichi Ishigaki replied a bit later with a <a href="http://fisheye2.atlassian.com/browse/cpan/trunk/Module-Install/lib/Module/Install/Makefile.pm?r1=12384&amp;r2=12198">patch</a> to Module::Install that works around the problem. He applied the web counter solution mentioned in perlfaq5 to the problem, and it worked for me. I guess it is now just to wait for Adam Kennedy to release a new version of Module::Install and file bugs against the CPAN modules that show problems on Windows with a message that they should upgrade their Module::Install version and issue a new release of their module.</p>

<p><strong>Update2:</strong> Adam Kennedy has released <a href="http://search.cpan.org/dist/Module-Install">Module::Install 0.98</a>, which contains the patch. Please tell all CPAN module authors that use it to upgrade to the new version and Windows users will be very happy.</p><div class="item_footer"><p><small><a href="http://blog.robin.smidsrod.no/index.php/2010/05/30/having-problems-to-install-cpan-modules">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://blog.robin.smidsrod.no/index.php/2010/05/30/having-problems-to-install-cpan-modules#comments</comments>
		</item>
				<item>
			<title>Apple, the devil in our midst</title>
			<link>http://blog.robin.smidsrod.no/index.php/2010/05/19/apple-the-devil-in-our-midst</link>
			<pubDate>Wed, 19 May 2010 08:10:53 +0000</pubDate>			<dc:creator>Robin Smidsr&#248;d</dc:creator>
			<category domain="main">Perl</category>			<guid isPermaLink="false">78@http://blog.robin.smidsrod.no/</guid>
						<description>&lt;p&gt;So Matt Trout has lost the Iron Man Challenge.&lt;/p&gt;

&lt;p&gt;As part of the competition rules it is time to make a vote for a hair color for him and a talk title that he will present at an upcoming Perl conference.&lt;/p&gt;

&lt;p&gt;My vote goes to &lt;a href=&quot;http://shadowcat.co.uk/blog/matt-s-trout/iron-man-lost?colour=light+blue+as+the+sky&amp;amp;title=Apple,+the+devil+incarnate&quot;&gt;a light blue color as the sky, and the talk title 'Apple, the devil in our midst'&lt;/a&gt;.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://blog.robin.smidsrod.no/index.php/2010/05/19/apple-the-devil-in-our-midst&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>So Matt Trout has lost the Iron Man Challenge.</p>

<p>As part of the competition rules it is time to make a vote for a hair color for him and a talk title that he will present at an upcoming Perl conference.</p>

<p>My vote goes to <a href="http://shadowcat.co.uk/blog/matt-s-trout/iron-man-lost?colour=light+blue+as+the+sky&amp;title=Apple,+the+devil+incarnate">a light blue color as the sky, and the talk title 'Apple, the devil in our midst'</a>.</p><div class="item_footer"><p><small><a href="http://blog.robin.smidsrod.no/index.php/2010/05/19/apple-the-devil-in-our-midst">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://blog.robin.smidsrod.no/index.php/2010/05/19/apple-the-devil-in-our-midst#comments</comments>
		</item>
				<item>
			<title>Are you unable to run the JavaME SDK 3.0 emulator on Windows 7? Workaround found!</title>
			<link>http://blog.robin.smidsrod.no/index.php/2010/05/08/are-you-unable-to-run-the-javame-sdk-3-0</link>
			<pubDate>Sat, 08 May 2010 17:57:46 +0000</pubDate>			<dc:creator>Robin Smidsr&#248;d</dc:creator>
			<category domain="main">Software</category>
<category domain="alt">Professional</category>			<guid isPermaLink="false">77@http://blog.robin.smidsrod.no/</guid>
						<description>&lt;p&gt;If you get this error message when trying to run midlets through the built-in emulator of the JavaME SDK 3.0, &lt;strong&gt;try disabling DEP for runMidlet.exe&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Error message given by Netbeans and/or Eclipse:&lt;/p&gt;
&lt;pre&gt;
*** Error ***
Failed to connect to device 0!
Reason:
Emulator 0 terminated while waiting for it to register!
&lt;/pre&gt;

&lt;p&gt;Data Execution Prevention (DEP) configuration can be found at the following place in Windows: &lt;em&gt;Control Panel &gt; System Security &gt; System &gt; Advanced system Settings &gt;  Advanced tab &gt; Performance &gt; Data Execution Prevention&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Add this file to the DEP exclusion list:&lt;/p&gt;
&lt;pre&gt;
&amp;lt;javame-install-dir&amp;gt;\runtimes\cldc-hi-javafx\bin\runMidlet.exe
&lt;/pre&gt;
&lt;p&gt;If things work for you now, complain loudly to Sun (now Oracle) that they need to make software without buffer overflows.&lt;/p&gt;

&lt;p&gt;Personally I filed a bug-report against the JavaME SDK 3.0. You should do that too, or make your voice heard on the same bug-report that you're having this problem as well.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://blog.robin.smidsrod.no/index.php/2010/05/08/are-you-unable-to-run-the-javame-sdk-3-0&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>If you get this error message when trying to run midlets through the built-in emulator of the JavaME SDK 3.0, <strong>try disabling DEP for runMidlet.exe</strong>.</p>

<p>Error message given by Netbeans and/or Eclipse:</p>
<pre>
*** Error ***
Failed to connect to device 0!
Reason:
Emulator 0 terminated while waiting for it to register!
</pre>

<p>Data Execution Prevention (DEP) configuration can be found at the following place in Windows: <em>Control Panel > System Security > System > Advanced system Settings >  Advanced tab > Performance > Data Execution Prevention</em>.</p>

<p>Add this file to the DEP exclusion list:</p>
<pre>
&lt;javame-install-dir&gt;\runtimes\cldc-hi-javafx\bin\runMidlet.exe
</pre>
<p>If things work for you now, complain loudly to Sun (now Oracle) that they need to make software without buffer overflows.</p>

<p>Personally I filed a bug-report against the JavaME SDK 3.0. You should do that too, or make your voice heard on the same bug-report that you're having this problem as well.</p><div class="item_footer"><p><small><a href="http://blog.robin.smidsrod.no/index.php/2010/05/08/are-you-unable-to-run-the-javame-sdk-3-0">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://blog.robin.smidsrod.no/index.php/2010/05/08/are-you-unable-to-run-the-javame-sdk-3-0#comments</comments>
		</item>
				<item>
			<title>How to get a PSGI app running with mod_fastcgi on Ubuntu with Apache2</title>
			<link>http://blog.robin.smidsrod.no/index.php/2009/10/25/how-to-get-a-psgi-app-running-with-mod_f</link>
			<pubDate>Sun, 25 Oct 2009 14:24:20 +0000</pubDate>			<dc:creator>Robin Smidsr&#248;d</dc:creator>
			<category domain="alt">Software</category>
<category domain="alt">Professional</category>
<category domain="main">Perl</category>			<guid isPermaLink="false">76@http://blog.robin.smidsrod.no/</guid>
						<description>&lt;p&gt;First make sure you activate the &lt;em&gt;multiverse&lt;/em&gt; repository for apt.&lt;/p&gt;

&lt;p&gt;Then install the required modules (if you don't already have them enabled)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;sudo aptitude install libapache2-mod-fastcgi apache2-suexec
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Enable the fastcgi and rewrite modules:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;sudo a2enmod fastcgi
sudo a2enmod rewrite
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Edit &lt;strong&gt;/etc/apache2/mods-enabled/fastcgi.conf&lt;/strong&gt; and enable the FastCgiWrapper so that the .fcgi script is run as the owner of the script. This is why apache2-suexec above is needed.&lt;/p&gt;

&lt;p&gt;Then add the following to the file if you like to be able to just touch the psgi.fcgi file to get it to reload your app.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;FastCgiConfig -autoUpdate
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;My /etc/apache2/mods-enabled/fastcgi.conf is like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;IfModule mod_fastcgi.c&amp;gt;
  AddHandler fastcgi-script .fcgi
  FastCgiWrapper /usr/lib/apache2/suexec
  FastCgiIpcDir /var/lib/apache2/fastcgi
  FastCgiConfig -autoUpdate
&amp;lt;/IfModule&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then you need a small wrapper script to actually run your PSGI app. I call it &lt;strong&gt;psgi.fcgi&lt;/strong&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/usr/bin/perl
use strict;
use warnings;
# For CPAN modules in your home-dir (see local::lib)
use lib &quot;/home/robin/perl5/lib/perl5&quot;;
use lib &quot;/home/robin/perl5/lib/perl5/i486-linux-gnu-thread-multi&quot;;
use Plack::Server::FCGI;
Plack::Server::FCGI-&amp;gt;new-&amp;gt;run(do &quot;app.psgi&quot;);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The use lib statements are there because I use local::lib. I just grabbed them from the PERL5LIB environment variable. If someone has a better solution on how to write this wrapper with support for local::lib, I'd like to hear it.&lt;/p&gt;

&lt;p&gt;The next thing is to add a nice &lt;strong&gt;.htaccess&lt;/strong&gt; file so that you can make flexible apps that use PATH_INFO and other nice things (this is where mod_rewrite comes in).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ psgi.fcgi/$1 [QSA,L]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Change this one if you'd like Apache to handle static files by itself instead of forwarding the requests to your application.&lt;/p&gt;

&lt;p&gt;Finally I just made a small &lt;strong&gt;app.psgi&lt;/strong&gt; that prints the environment as you try out different paths below your base folder. Pay close attention to how PATH_INFO changes as you try it out.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/usr/bin/perl

use strict;
use warnings;

sub {
    my ($env) = @_;
    my @out = ( &quot;Your \$env hash:\n\n&quot; );
    foreach my $key ( sort keys %{ $env } ) {
        push @out, $key, ' = ', $env-&amp;gt;{$key}, &quot;\n&quot;;
    }
    return [
        200,
        [ 'Content-Type' =&amp;gt; 'text/plain' ],
        \@out,
    ];
};
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I'm using &lt;a href=&quot;http://search.cpan.org/perldoc?Plack&quot;&gt;Plack 0.9006&lt;/a&gt; from CPAN for this little experiment.&lt;/p&gt;

&lt;p&gt;I think this will be my quick-and-easy way to deploy PSGI apps from now on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; It seems the suexec wrapper doesn't do its job properly. The FastCGI script, psgi.fcgi, is apparently still running as www-data(33). If you know how to fix this problem please shout out in the comments.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://blog.robin.smidsrod.no/index.php/2009/10/25/how-to-get-a-psgi-app-running-with-mod_f&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>First make sure you activate the <em>multiverse</em> repository for apt.</p>

<p>Then install the required modules (if you don't already have them enabled)</p>

<pre><code>sudo aptitude install libapache2-mod-fastcgi apache2-suexec
</code></pre>

<p>Enable the fastcgi and rewrite modules:</p>

<pre><code>sudo a2enmod fastcgi
sudo a2enmod rewrite
</code></pre>

<p>Edit <strong>/etc/apache2/mods-enabled/fastcgi.conf</strong> and enable the FastCgiWrapper so that the .fcgi script is run as the owner of the script. This is why apache2-suexec above is needed.</p>

<p>Then add the following to the file if you like to be able to just touch the psgi.fcgi file to get it to reload your app.</p>

<pre><code>FastCgiConfig -autoUpdate
</code></pre>

<p>My /etc/apache2/mods-enabled/fastcgi.conf is like this:</p>

<pre><code>&lt;IfModule mod_fastcgi.c&gt;
  AddHandler fastcgi-script .fcgi
  FastCgiWrapper /usr/lib/apache2/suexec
  FastCgiIpcDir /var/lib/apache2/fastcgi
  FastCgiConfig -autoUpdate
&lt;/IfModule&gt;
</code></pre>

<p>Then you need a small wrapper script to actually run your PSGI app. I call it <strong>psgi.fcgi</strong>:</p>

<pre><code>#!/usr/bin/perl
use strict;
use warnings;
# For CPAN modules in your home-dir (see local::lib)
use lib "/home/robin/perl5/lib/perl5";
use lib "/home/robin/perl5/lib/perl5/i486-linux-gnu-thread-multi";
use Plack::Server::FCGI;
Plack::Server::FCGI-&gt;new-&gt;run(do "app.psgi");
</code></pre>

<p>The use lib statements are there because I use local::lib. I just grabbed them from the PERL5LIB environment variable. If someone has a better solution on how to write this wrapper with support for local::lib, I'd like to hear it.</p>

<p>The next thing is to add a nice <strong>.htaccess</strong> file so that you can make flexible apps that use PATH_INFO and other nice things (this is where mod_rewrite comes in).</p>

<pre><code>RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ psgi.fcgi/$1 [QSA,L]
</code></pre>

<p>Change this one if you'd like Apache to handle static files by itself instead of forwarding the requests to your application.</p>

<p>Finally I just made a small <strong>app.psgi</strong> that prints the environment as you try out different paths below your base folder. Pay close attention to how PATH_INFO changes as you try it out.</p>

<pre><code>#!/usr/bin/perl

use strict;
use warnings;

sub {
    my ($env) = @_;
    my @out = ( "Your \$env hash:\n\n" );
    foreach my $key ( sort keys %{ $env } ) {
        push @out, $key, ' = ', $env-&gt;{$key}, "\n";
    }
    return [
        200,
        [ 'Content-Type' =&gt; 'text/plain' ],
        \@out,
    ];
};
</code></pre>

<p>I'm using <a href="http://search.cpan.org/perldoc?Plack">Plack 0.9006</a> from CPAN for this little experiment.</p>

<p>I think this will be my quick-and-easy way to deploy PSGI apps from now on.</p>

<p><strong>Update:</strong> It seems the suexec wrapper doesn't do its job properly. The FastCGI script, psgi.fcgi, is apparently still running as www-data(33). If you know how to fix this problem please shout out in the comments.</p><div class="item_footer"><p><small><a href="http://blog.robin.smidsrod.no/index.php/2009/10/25/how-to-get-a-psgi-app-running-with-mod_f">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://blog.robin.smidsrod.no/index.php/2009/10/25/how-to-get-a-psgi-app-running-with-mod_f#comments</comments>
		</item>
				<item>
			<title>Talk: Morality and Pragmatism in Free Software and Open Source</title>
			<link>http://blog.robin.smidsrod.no/index.php/2009/10/03/morality-and-pragmatism-in-free-software</link>
			<pubDate>Sat, 03 Oct 2009 18:27:39 +0000</pubDate>			<dc:creator>Robin Smidsr&#248;d</dc:creator>
			<category domain="main">Software</category>
<category domain="alt">Perl</category>
<category domain="alt">Education</category>			<guid isPermaLink="false">75@http://blog.robin.smidsrod.no/</guid>
						<description>&lt;p&gt;I just wanted to inform you about a talk I'll be making on my local college about the &lt;a href=&quot;http://files.smidsrod.no/morality_pragmatism/&quot;&gt;differences in philosophy of the Free Software movement and the Open Source movement&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Feedback about content, accuracy etc. most wanted.&lt;/p&gt;

&lt;p&gt;The talk is mostly about summarizing the content of Dave Yeats writings in the book &lt;a href=&quot;http://books.google.com/books?id=75KT6GdcWbYC&amp;amp;lpg=PP8&amp;amp;ots=s34bwDUV-k&amp;amp;dq=dave%20yeats%20morality%20and%20pragmatism%20in%20free%20software%20and%20open%20source&amp;amp;hl=no&amp;amp;pg=PA23#v=onepage&amp;amp;q=dave%20yeats%20morality%20and%20pragmatism%20in%20free%20software%20and%20open%20source&amp;amp;f=false&quot;&gt;The Handbook of Research on Open Source Software: Technological, Economic, and Social Perspectives&lt;/a&gt; (Chapter 3).&lt;/p&gt;

&lt;p&gt;Thanks to the Dave Rolsky, Ricardo Signes, Florian Ragwitz and others in #moose@irc.perl.org for valuable input on the subject matter.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://blog.robin.smidsrod.no/index.php/2009/10/03/morality-and-pragmatism-in-free-software&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>I just wanted to inform you about a talk I'll be making on my local college about the <a href="http://files.smidsrod.no/morality_pragmatism/">differences in philosophy of the Free Software movement and the Open Source movement</a>.</p>

<p>Feedback about content, accuracy etc. most wanted.</p>

<p>The talk is mostly about summarizing the content of Dave Yeats writings in the book <a href="http://books.google.com/books?id=75KT6GdcWbYC&amp;lpg=PP8&amp;ots=s34bwDUV-k&amp;dq=dave%20yeats%20morality%20and%20pragmatism%20in%20free%20software%20and%20open%20source&amp;hl=no&amp;pg=PA23#v=onepage&amp;q=dave%20yeats%20morality%20and%20pragmatism%20in%20free%20software%20and%20open%20source&amp;f=false">The Handbook of Research on Open Source Software: Technological, Economic, and Social Perspectives</a> (Chapter 3).</p>

<p>Thanks to the Dave Rolsky, Ricardo Signes, Florian Ragwitz and others in #moose@irc.perl.org for valuable input on the subject matter.</p><div class="item_footer"><p><small><a href="http://blog.robin.smidsrod.no/index.php/2009/10/03/morality-and-pragmatism-in-free-software">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://blog.robin.smidsrod.no/index.php/2009/10/03/morality-and-pragmatism-in-free-software#comments</comments>
		</item>
			</channel>
</rss>
