<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><!-- generator="wordpress/2.1" --><rss 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/" version="2.0">

<channel>
	<title>The Niklas Lindblad Organisation</title>
	<link>http://nlindblad.org</link>
	<description>Code monkeys are monkeys too</description>
	<pubDate>Thu, 27 Dec 2007 17:19:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/nlindblad" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">409462</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://www.feedburner.com</feedburner:feedburnerHostname><item>
		<title>Applying NVIDIA Hotfix (KB940105) for Windows Vista</title>
		<link>http://nlindblad.org/2007/12/27/applying-nvidia-hotfix-kb940105-for-windows-vista/</link>
		<comments>http://nlindblad.org/2007/12/27/applying-nvidia-hotfix-kb940105-for-windows-vista/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 01:57:37 +0000</pubDate>
		<dc:creator>nlindblad</dc:creator>
		
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/12/27/applying-nvidia-hotfix-kb940105-for-windows-vista/</guid>
		<description><![CDATA[A few friends of mine running Vista have had troubles installing the NVIDIA hotfix described in KB940105. The hotfix is downloadable as Windows6.0-KB940105-x86.msu and can be installed using the following steps:
Unpack the hotfix
expand -f:* &#34;Windows6.0-KB940105-x86.msu&#34; %TEMP%
Apply the hotfix (you will be prompted about whether to allow or not)
pkgmgr.exe /n:%TEMP%Windows6.0-KB940105-x86.xml
]]></description>
			<content:encoded><![CDATA[<p>A few friends of mine running Vista have had troubles installing the NVIDIA hotfix described in <a href="http://support.microsoft.com/kb/940105">KB940105</a>. The hotfix is downloadable as <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A156E265-40FF-468E-BBA2-3D1E1929C416">Windows6.0-KB940105-x86.msu</a> and can be installed using the following steps:</p>
<p><b>Unpack the hotfix</b></p>
<pre>expand -f:* &quot;Windows6.0-KB940105-x86.msu&quot; %TEMP%</pre>
<p><b>Apply the hotfix (you will be prompted about whether to allow or not)</b></p>
<pre>pkgmgr.exe /n:%TEMP%Windows6.0-KB940105-x86.xml</pre>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/12/27/applying-nvidia-hotfix-kb940105-for-windows-vista/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP: Secure Your Included Files</title>
		<link>http://nlindblad.org/2007/11/13/php-secure-your-included-files/</link>
		<comments>http://nlindblad.org/2007/11/13/php-secure-your-included-files/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 18:35:05 +0000</pubDate>
		<dc:creator>nlindblad</dc:creator>
		
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/11/13/php-secure-your-included-files/</guid>
		<description><![CDATA[If you&#8217;re anything like me, you heavily rely on splitting things up. Even the simplest application needs to be separated into individual files for functions, database calls and user interface. The files are usually named and placed so that they are easily accessible for the index file and inconvenient to find for the potential attacker.
If [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re anything like me, you heavily rely on splitting things up. Even the simplest application needs to be separated into individual files for functions, database calls and user interface. The files are usually named and placed so that they are easily accessible for the index file and inconvenient to find for the potential attacker.</p>
<p>If the attacker where to reveal their path it would not necessarily pose a serious threat to the application&#8217;s security, assuming executing the individual file on its own does not give away any useful debugging information. To avoid  helping people exploit your applications you may consider to turn off the standard PHP behaviour of throwing out all possible information as soon as something goes wrong: Either set <em>“error_reporting”</em> to <em>“0”</em> in <strong>php.ini</strong> or through your <strong>.htaccess-file</strong>.</p>
<p>Additionally you might consider isolating your files from even executing on their own. The easy way to do this is to:</p>
<ul>
<li>define a function in the main file (index.php)</li>
<li>only allow execution of additional files if the defined function is able to execute</li>
</ul>
<p><b>index.php</b></p>
<pre>
&lt;?php function LoadedCorrectly() { return true; } ?&gt;
</pre>
<p><b>database.php</b></p>
<pre>
&lt;?php LoadedCorrectly() or die(); ?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/11/13/php-secure-your-included-files/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Interesting Photos Taken in Paris</title>
		<link>http://nlindblad.org/2007/10/14/interesting-photos-taken-in-paris/</link>
		<comments>http://nlindblad.org/2007/10/14/interesting-photos-taken-in-paris/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 10:54:10 +0000</pubDate>
		<dc:creator>nlindblad</dc:creator>
		
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/10/14/interesting-photos-taken-in-paris/</guid>
		<description><![CDATA[A close friend of mine recently visited Paris, France equipped with his brand new Nikon D40.



]]></description>
			<content:encoded><![CDATA[<p>A close <a href="http://www.flickr.com/photos/rasmusg/">friend of mine</a> recently visited Paris, France equipped with his brand new <a href="http://flickr.com/cameras/nikon/d40">Nikon D40</a>.</p>
<p><a href="http://www.flickr.com/photos/rasmusg/1560274098/"><img src="http://farm3.static.flickr.com/2035/1560274098_0adcd04e3d.jpg?v=0" /></a></p>
<p></p>
<p><a href="http://www.flickr.com/photos/rasmusg/1560261572/"><img src="http://farm3.static.flickr.com/2353/1560261572_515910e517.jpg?v=0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/10/14/interesting-photos-taken-in-paris/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Get Sound Working For Quake-based Games</title>
		<link>http://nlindblad.org/2007/10/07/get-sound-working-for-quake-based-games/</link>
		<comments>http://nlindblad.org/2007/10/07/get-sound-working-for-quake-based-games/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 11:52:46 +0000</pubDate>
		<dc:creator>nlindblad</dc:creator>
		
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/10/07/get-sound-working-for-quake-based-games/</guid>
		<description><![CDATA[Running games such as Quake III, Enemy Territory or Return To Castle Wolfenstein on Linux will sometimes fail to initialize sound. After modifying a generic fix for this problem I wrote this:

APP=&#34;${1}.x86&#34;
echo &#34;${APP} 0 0 disable&#34; &#62; /proc/asound/card0/pcm0c/oss
echo &#34;${APP} 0 0 direct&#34; &#62; /proc/asound/card0/pcm0p/oss
echo &#34;${APP} 0 0 disable&#34; &#62; /proc/asound/card0/pcm1c/oss

To use it, simply run the [...]]]></description>
			<content:encoded><![CDATA[<p>Running games such as <b>Quake III</b>, <b>Enemy Territory</b> or <b>Return To Castle Wolfenstein</b> on Linux will sometimes fail to initialize sound. After modifying a generic fix for this problem I wrote this:</p>
<p><code><br />
APP=&quot;${1}.x86&quot;<br />
echo &quot;${APP} 0 0 disable&quot; &gt; /proc/asound/card0/pcm0c/oss<br />
echo &quot;${APP} 0 0 direct&quot; &gt; /proc/asound/card0/pcm0p/oss<br />
echo &quot;${APP} 0 0 disable&quot; &gt; /proc/asound/card0/pcm1c/oss<br />
</code></p>
<p>To use it, simply run the script with the game binary&#8217;s name as an argument:</p>
<pre>
# Fix sound for RTCW single player
sh sound-fix.sh wolfsp
</pre>
<pre>
# Fix sound for Enemy Territory
sh sound-fix.sh et
</pre>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/10/07/get-sound-working-for-quake-based-games/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Possible Future Career</title>
		<link>http://nlindblad.org/2007/09/30/possible-future-career/</link>
		<comments>http://nlindblad.org/2007/09/30/possible-future-career/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 16:23:27 +0000</pubDate>
		<dc:creator>nlindblad</dc:creator>
		
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/09/30/possible-future-career/</guid>
		<description><![CDATA[I think I&#8217;ve finally figured what I want to do for the rest of my life. My humble dream is to get a Master of Science degree in Chemical Engineering, probably at Lund university or Chalmers (Gothenburg).
Some fields I think would be very fun to research:

Bio-fuel: Creating more efficient production methods and cheaper ways to [...]]]></description>
			<content:encoded><![CDATA[<p>I think I&#8217;ve finally figured what I want to do for the rest of my life. My humble dream is to get a <b>Master of Science degree in Chemical Engineering</b>, probably at Lund university or Chalmers (Gothenburg).</p>
<h3>Some fields I think would be very fun to research:</h3>
<ul>
<li><b>Bio-fuel</b>: Creating more efficient production methods and cheaper ways to &#8220;upgrade&#8221; the gas.</li>
<li><b>Nuclear waste management</b>: How to dispose of nuclear waste as safe and reliable as possible.</li>
<li><b>Chemical computing</b>: Initial attempts of creating a computer made out of chemicals has already been done successfully. In the future computers may consist of chemicals replacing the electronic grinds used to perform calculations today.</li>
<li><b>Hydrogen-fuel</b>: Better methods of extracting hydrogen for fuel-cells and engines.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/09/30/possible-future-career/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gmail said: You are currently …</title>
		<link>http://nlindblad.org/2007/09/19/gmail-said-you-are-currently/</link>
		<comments>http://nlindblad.org/2007/09/19/gmail-said-you-are-currently/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 17:06:06 +0000</pubDate>
		<dc:creator />
		
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/09/19/gmail-said-you-are-currently/</guid>
		<description><![CDATA[Gmail said: You are currently using 666 MB (22%) of your 2902 MB.
]]></description>
			<content:encoded><![CDATA[<p>Gmail said: You are currently using 666 MB (22%) of your 2902 MB.</p>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/09/19/gmail-said-you-are-currently/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Finally got my terminal server…</title>
		<link>http://nlindblad.org/2007/09/15/finally-got-my-terminal-server/</link>
		<comments>http://nlindblad.org/2007/09/15/finally-got-my-terminal-server/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 08:25:05 +0000</pubDate>
		<dc:creator />
		
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/09/15/finally-got-my-terminal-server/</guid>
		<description><![CDATA[Finally got my terminal server back!
]]></description>
			<content:encoded><![CDATA[<p>Finally got my terminal server back!</p>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/09/15/finally-got-my-terminal-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Finally online again after mor…</title>
		<link>http://nlindblad.org/2007/08/27/finally-online-again-after-mor/</link>
		<comments>http://nlindblad.org/2007/08/27/finally-online-again-after-mor/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 16:33:16 +0000</pubDate>
		<dc:creator />
		
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/08/27/finally-online-again-after-mor/</guid>
		<description><![CDATA[Finally online again after more than a week without a working computer.
]]></description>
			<content:encoded><![CDATA[<p>Finally online again after more than a week without a working computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/08/27/finally-online-again-after-mor/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Home for lunch, last week on m…</title>
		<link>http://nlindblad.org/2007/08/13/home-for-lunch-last-week-on-m/</link>
		<comments>http://nlindblad.org/2007/08/13/home-for-lunch-last-week-on-m/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 10:17:03 +0000</pubDate>
		<dc:creator>nlindblad</dc:creator>
		
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/08/13/home-for-lunch-last-week-on-m/</guid>
		<description><![CDATA[Home for lunch, last week on my summerjob where I&#8217;ve mostly been lawn mowing. Mowing the same spots for six weeks is sort of frustrating.
]]></description>
			<content:encoded><![CDATA[<p>Home for lunch, last week on my summerjob where I&#8217;ve mostly been lawn mowing. Mowing the same spots for six weeks is sort of frustrating.</p>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/08/13/home-for-lunch-last-week-on-m/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Chatting with blogosphere-king…</title>
		<link>http://nlindblad.org/2007/08/12/chatting-with-blogosphere-king/</link>
		<comments>http://nlindblad.org/2007/08/12/chatting-with-blogosphere-king/#comments</comments>
		<pubDate>Sun, 12 Aug 2007 20:12:22 +0000</pubDate>
		<dc:creator>nlindblad</dc:creator>
		
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://nlindblad.org/2007/08/12/chatting-with-blogosphere-king/</guid>
		<description><![CDATA[Chatting with blogosphere-king MenZa while talking with my girlfriend on the phone.
]]></description>
			<content:encoded><![CDATA[<p>Chatting with blogosphere-king <a href="http://menza.org/">MenZa</a> while talking with my girlfriend on the phone.</p>
]]></content:encoded>
			<wfw:commentRss>http://nlindblad.org/2007/08/12/chatting-with-blogosphere-king/feed/</wfw:commentRss>
		</item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.670 seconds -->
