<?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>vanutsteen.nl =&#62; nerds only &#187; development</title>
	<atom:link href="http://www.vanutsteen.nl/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vanutsteen.nl</link>
	<description>A blog on rails, php, computing, my bass guitar and stuff</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:07:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>git add -u</title>
		<link>http://www.vanutsteen.nl/2012/01/21/git-add-u/</link>
		<comments>http://www.vanutsteen.nl/2012/01/21/git-add-u/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 18:40:54 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=593</guid>
		<description><![CDATA[This is a nice one: PLAIN TEXT CODE: git add -u This only adds already commited files to a new commit. And leaves files not in the git repository alone.]]></description>
			<content:encoded><![CDATA[<p>This is a nice one:</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showPlainTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">git add -u </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This only adds already commited files to a new commit. And leaves files not in the git repository alone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2012/01/21/git-add-u/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sublime Text 2</title>
		<link>http://www.vanutsteen.nl/2011/10/26/sublime-text-2/</link>
		<comments>http://www.vanutsteen.nl/2011/10/26/sublime-text-2/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 21:36:30 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[gvim]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=562</guid>
		<description><![CDATA[I installed sublime text on my Ubuntu 11.10 box but I had some troubled loading external python modules: PLAIN TEXT CODE: loaded 937 snippets &#62;&#62;&#62; import distutils Traceback &#40;most recent call last&#41;: &#160; File "&#60;string&#62;", line 1, in &#60;module&#62; ImportError: No module named distutils This is how I solved it: Edited ~/.local/share/applications/sublime.desktop Especially this line: PLAIN [...]]]></description>
			<content:encoded><![CDATA[<p>I installed sublime text on my Ubuntu 11.10 box but I had some troubled loading external python modules:</p>
<div class="igBar"><span id="lcode-6"><a href="#" onclick="javascript:showPlainTxt('code-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-6">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">loaded <span style="color:#800000;color:#800000;">937</span> snippets</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&gt;&gt;&gt; import distutils</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Traceback <span style="color:#006600; font-weight:bold;">&#40;</span>most recent call last<span style="color:#006600; font-weight:bold;">&#41;</span>:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; File <span style="color:#CC0000;">"&lt;string&gt;"</span>, line <span style="color:#800000;color:#800000;">1</span>, in &lt;module&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ImportError: No module named distutils </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This is how I solved it:</p>
<p>Edited ~/.local/share/applications/sublime.desktop<br />
Especially this line:</p>
<div class="igBar"><span id="lcode-7"><a href="#" onclick="javascript:showPlainTxt('code-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-7">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Exec=<span style="color:#CC0000;">"/home/leon/Software/bin/sublime"</span> %U </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>/home/leon/Software/bin/sublime contains this:</p>
<div class="igBar"><span id="lcode-8"><a href="#" onclick="javascript:showPlainTxt('code-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-8">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#!/bin/bash</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cd /usr/lib/python2.<span style="color:#800000;color:#800000;">7</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/home/leon/Software/SublimeText2/sublime_text </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Then I installed some excellent plugins:</p>
<ul>
<li><a href="http://wbond.net/sublime_packages/package_control">http://wbond.net/sublime_packages/package_control</a></li>
<li><a href="https://github.com/Kronuz/SublimeCodeIntel">https://github.com/Kronuz/SublimeCodeIntel</a></li>
<li><a href="https://github.com/JulianEberius/SublimeRope">https://github.com/JulianEberius/SublimeRope</a></li>
<li><a href="https://bitbucket.org/sublimator/sublime-2-zencoding">https://bitbucket.org/sublimator/sublime-2-zencoding</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2011/10/26/sublime-text-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice: github resumé</title>
		<link>http://www.vanutsteen.nl/2011/02/08/nice-github-resume/</link>
		<comments>http://www.vanutsteen.nl/2011/02/08/nice-github-resume/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 11:40:43 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[github resumé]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=509</guid>
		<description><![CDATA[Generate your own Github resumé]]></description>
			<content:encoded><![CDATA[<p>Generate your own <a title="My own github resumé" href="http://resume.github.com/?LeonB">Github resumé</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2011/02/08/nice-github-resume/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing packages marked rc</title>
		<link>http://www.vanutsteen.nl/2010/10/18/removing-packages-marked-rc/</link>
		<comments>http://www.vanutsteen.nl/2010/10/18/removing-packages-marked-rc/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 12:42:52 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[makefile]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=493</guid>
		<description><![CDATA[I got an error when building the 2.32 version for ubuntu. Some packages once where installed but got removed. But they still had the status rc. So I purged them with the help of this blog. I compiled evolution with the help of a Makefile that I downloaded. I had to add the "maverick" distro [...]]]></description>
			<content:encoded><![CDATA[<p>I got an error when building the 2.32 version for ubuntu. Some packages once where installed but got removed. But they still had the status rc.</p>
<p>So I purged them with the help of <a href="http://joysofprogramming.com/remove-packages-marked-rc/">this blog</a>.</p>
<p>I compiled evolution with the help of <a href="http://mad-scientist.us/evolution.html">a Makefile that I downloaded</a>.</p>
<p>I had to add the "maverick" distro and install some additional packages such as:</p>
<ul>
<li>gobject-introspection</li>
<li>autopoint</li>
<li>libgdata-dev</li>
</ul>
<p>I removed the evolution-exchange plugin.</p>
<p>The master branch of gweather required gtk3 so I changed that to: gnome-2.30 (or something)<br />
I had to apply <a href="http://www.mail-archive.com/evolution-list@gnome.org/msg15575.html">a patch</a> to solve a build error.</p>
<p>Bottom of this post: http://www.mail-archive.com/evolution-hackers@gnome.org/msg03863.html</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">http://www.mail-archive.com/evolution-list@gnome.org/msg15575.html</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2010/10/18/removing-packages-marked-rc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend_db</title>
		<link>http://www.vanutsteen.nl/2010/09/26/zend_db/</link>
		<comments>http://www.vanutsteen.nl/2010/09/26/zend_db/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 21:31:02 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend_db]]></category>
		<category><![CDATA[zf]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=494</guid>
		<description><![CDATA[The last few days I've been spending my time on creating a website with Zend Framework. A lot of it I liked but the Zend_db stuff is is a complicated piece of crap. I've worked with a lot of ORM's and db api's but the Zend_db stuff is really the most awfull I've had till [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2010/09/zf_logo.png"><img class="alignright size-full wp-image-495" title="Zend Framework logo" src="http://www.vanutsteen.nl/wp-content/uploads/2010/09/zf_logo.png" alt="Zend Framework logo" width="200" height="97" /></a>The last few days I've been spending my time on creating a website with Zend Framework. A lot of it I liked but the Zend_db stuff is is a complicated piece of crap. I've worked with a lot of ORM's and db api's but the Zend_db stuff is really the most awfull I've had till now.</p>
<p>I really, really don't want to work with it ever again and I regret that I chose ZF for this particular project just because of the db layer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2010/09/26/zend_db/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice guide to upgrading magento</title>
		<link>http://www.vanutsteen.nl/2010/08/06/nice-guide-to-upgrading-magento/</link>
		<comments>http://www.vanutsteen.nl/2010/08/06/nice-guide-to-upgrading-magento/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 08:15:50 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[upgrade moneybooker]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=486</guid>
		<description><![CDATA[http://www.nicksays.co.uk/2010/03/fool-proof-magento-upgrades/ PLAIN TEXT CODE: ./pear upgrade --force magento-core/Mage_All_Latest]]></description>
			<content:encoded><![CDATA[<p>http://www.nicksays.co.uk/2010/03/fool-proof-magento-upgrades/</p>
<div class="igBar"><span id="lcode-10"><a href="#" onclick="javascript:showPlainTxt('code-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-10">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">./pear upgrade --force magento-core/Mage_All_Latest </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2010/08/06/nice-guide-to-upgrading-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>python libindicate</title>
		<link>http://www.vanutsteen.nl/2009/10/19/python-libindicate/</link>
		<comments>http://www.vanutsteen.nl/2009/10/19/python-libindicate/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 20:18:53 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[libindicate]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[weechat]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=421</guid>
		<description><![CDATA[I saw that there are python bindings for libindicate. They're called "python-indicate". There's also a wiki about this new feature from Ubuntu. I thought about creating a plugin for weechat that uses this library. Especially because the notify-plugins is useless if you're away and somebody mentions you on irc. Libindicate would be perfect for this. [...]]]></description>
			<content:encoded><![CDATA[<p>I saw that there are python bindings for libindicate. They're called "<a title="python-indicate bindings home" href="https://launchpad.net/indicator-applet">python-indicate</a>".</p>
<p>There's also a wiki about this <a href="https://wiki.ubuntu.com/MessagingMenu/">new feature from Ubuntu</a>. I thought about creating a plugin for weechat that uses this library. Especially because the notify-plugins is useless if you're away and somebody mentions you on irc. Libindicate would be perfect for this. First have to find out how the behaviour of the applet would be.</p>
<p>[update]<br />
I asked my question on the <a title="my question on the libindicate launchpad" href="https://answers.launchpad.net/indicator-applet/+question/86361">libindicate launchpad</a> so I'm very curious about the answer(s).<br />
[/update]</p>
<p><img class="aligncenter size-full wp-image-422" title="messaging-menu-karmic ubuntu 9.10 libindicate" src="http://www.vanutsteen.nl/wp-content/uploads/2009/10/messaging-menu-karmic.png" alt="messaging-menu-karmic ubuntu 9.10 libindicate" width="319" height="265" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2009/10/19/python-libindicate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Choosing a new editor: Emacs vs. Vim</title>
		<link>http://www.vanutsteen.nl/2009/10/15/choosing-a-new-editor-emacs-vs-vim/</link>
		<comments>http://www.vanutsteen.nl/2009/10/15/choosing-a-new-editor-emacs-vs-vim/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 07:27:49 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[gvim]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=393</guid>
		<description><![CDATA[For php I use Zend Studio for Linux. We have a license at work for it and it is in my opinion the best editor for php. It's relatively fast and you can use it to quickfix php over an ftp connection. For Ruby I use netbeans. I would also like to use it for [...]]]></description>
			<content:encoded><![CDATA[<p>For php I use Zend Studio for Linux. We have a license at work for it and it is in my opinion the best editor for php. It's relatively fast and you can use it to quickfix php over an ftp connection.</p>
<p>For Ruby I use netbeans. I would also like to use it for php but it doesn't allow to quicly open a file via ftp/scp or whatever. And it can sometimes be sloooooowwww. I've  seen netbeans used on a Windows platform and there it is much faster.</p>
<p>When I right-click on a project in netbeans for the first time, it takes 5 seconds (not lying!) to render the popup-menu. Come onm take forever!</p>
<p>And because I was now developing with Python I decided to try a new editor. Something more hardcore and lighter. Something nerdy <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So ofcourse I only have two decent options: Vim &amp; Emacs.</p>
<p>I already had try them with Ruby. But I found good Ruby (&amp; Rails) support rather lacking by both of them. I believe that the python comminity is more <em>hardcore</em> and therefore are using more arcane editors <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  And maybe because they aren't afraid to hack away in another language than their own (lisp, vimscript).</p>
<p>I think I have been comparing the two editors for nearly two weeks now. I have spent hours and hours comparing, trying and browsing for blog posts about the two. At the end, I really didn't know which one to choose. I really suck at deciding something <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So I made a little list of what I find to be strong points of each editor:</p>
<p><strong>VIM:</strong></p>
<ul>
<li> Better syntax highlighting/theming supprt (wombat ftw!!)</li>
<li> Faster/smaller</li>
<li> No weird handling of new buffers like with emacsclient</li>
<li> No daemon like: emacs --daemon</li>
<li> Better python integration</li>
<li> Easier to make extensions</li>
<li> Preview of docstrings when using omni completion</li>
</ul>
<p><strong>EMACS:</strong></p>
<ul>
<li> Better python-mode</li>
<li> No commandmode/normalmode</li>
<li> Directory browser/editor</li>
<li> Debugger (better integration with external tools)</li>
<li> easier to begin</li>
<li> Everyting is a buffer™</li>
</ul>
<p>And now I have chosen to be the editor with which I am going to work is...... (drum roll please) .......:</p>
<p>Gedit!</p>
<p>No, it's (g)Vim <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And while writing this article I was looking for a <a title="Using VIM to Blog (WordPress)" href="http://garoth.com/?p=54" target="_blank">WordPress/blog plugin for Vim</a> and Emacs. At a glance it looked like the wordpress plugin for Emacs was a little bit better. So already I was doubting my decision... So it could be that I switch editor in the next few months <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  But I'm first going to really use gvim to see if it fits with my workflow and is really useable for me.</p>
<p>As cherry on the pie, a nice screenshot of my gvim in action:</p>
<p style="text-align: left;"><a href="http://www.vanutsteen.nl/wp-content/uploads/2009/10/vim_python.png"><img class="aligncenter size-medium wp-image-403" title="Vim with python-mode" src="/wp-content/plugins/com-resize/phpthumb/phpThumb.php?src=/wp-content/uploads/2009/10/vim_python.png&w=400" alt="Vim with python-mode" width="400" /></a></p>
<p style="text-align: left;">[update]<br />
I've installed Netneans 6.8m2 and it feels a lot faster than 6.7 but python completion is as bad as in 6.7.<br />
[/update]</p>
<p style="text-align: left;">[update2]<br />
Found out about Vim's <a title="Vim's netrw" href="http://vimdoc.sourceforge.net/htmldoc/pi_netrw.html#netrw">netrw</a>. So Emacs no longer got "Directory browser/editor" as a strong point.<br />
[/update2]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2009/10/15/choosing-a-new-editor-emacs-vs-vim/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rmp -&gt; Pmpd</title>
		<link>http://www.vanutsteen.nl/2009/09/24/rmp-pmpd/</link>
		<comments>http://www.vanutsteen.nl/2009/09/24/rmp-pmpd/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 05:40:00 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[mpd]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=362</guid>
		<description><![CDATA[I've ditched Ruby for my mpd project and started using Python. Not that I like python that much more but the Gstreamer library for python is much more complete. I really wanted gapless playback and the Ruby Gstreamer libray just doesn't support that. If it does by the time you read this: please let me [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-363" title="monty-python" src="http://www.vanutsteen.nl/wp-content/plugins/com-resize/phpthumb/phpThumb.php?src=/wp-content/uploads/2009/09/monty-python.jpg&h=207&w=280" alt="monty-python" width="280" height="207" />I've ditched <a title="github project: rmpd" href="http://github.com/LeonB/rmpd">Ruby for my mpd project</a> and started using Python. Not that I like python that much more but the Gstreamer library for python is much more complete. I really wanted gapless playback and the Ruby Gstreamer libray just doesn't support that. If it does by the time you read this: please let me know <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The new Pmpd project (looking for a better name) can be found on <a title="python mpd project: pmpd" href="http://github.com/LeonB/pmpd">github</a>. The hardest part so far is having to restructure the sources. Python is not a difficult language to master at all but I'm very picky on how everything fits together. My ruby project felt right on that part. But the python equivelant has some things I just don't like enough up to now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2009/09/24/rmp-pmpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phoogle: a _good_ fixed version</title>
		<link>http://www.vanutsteen.nl/2008/11/28/phoogle-a-_good_-fixed-version/</link>
		<comments>http://www.vanutsteen.nl/2008/11/28/phoogle-a-_good_-fixed-version/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 09:55:13 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[phoogle]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=279</guid>
		<description><![CDATA[Recently phoogle broke because of some Google maps update. The original creators of Phoogle haven't updated the code (yet). And when searching online for newer, fixed versions all that showed up were crappy hacked Phoogle files by people who don't know what they're doing. So hereby I present to you: a fixed Phoogle files which [...]]]></description>
			<content:encoded><![CDATA[<p>Recently phoogle broke because of some Google maps update. The original creators of Phoogle haven't updated the code (yet). And when searching online for newer, fixed versions all that showed up were crappy hacked Phoogle files by people who don't know what they're doing.</p>
<p>So hereby I present to you: a <a title="Phoogle/google maps fixed version for error" href="http://www.vanutsteen.nl/wp-content/uploads/2008/11/phoogle.zip">fixed Phoogle files</a> which is hacked decent.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/11/28/phoogle-a-_good_-fixed-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails: custom fields on a per-user basis</title>
		<link>http://www.vanutsteen.nl/2008/11/12/ruby-on-rails-custom-fields-on-a-per-user-basis/</link>
		<comments>http://www.vanutsteen.nl/2008/11/12/ruby-on-rails-custom-fields-on-a-per-user-basis/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 16:42:01 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[bmw]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=259</guid>
		<description><![CDATA[I'm now developing a flexible car database for a couple of hours per week. Our first customer, a Beemer dealer, has a lot of fancy requests. Well, the hired-in Flash developer has these requests actually. One of them is that they want to save a field in the database that contains a unique identification number [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-260" title="Britain / American flag" src="http://www.vanutsteen.nl/wp-content/uploads/2008/11/english-300x200.gif" alt="" width="300" height="200" />I'm now developing a flexible car database for a couple of hours per week. Our first customer, a Beemer dealer, has a lot of fancy requests. Well, the hired-in Flash developer has these requests actually.</p>
<p>One of them is that they want to save a field in the database that contains a unique identification number for the secondhand cars they sell. But this number is set-up in a way that is unique to BMW's. So actually, I didn't want to add this column to the database, 'cause that will mess up my clean database tables.</p>
<p>But then I came up with the idea to add functionality to the website where users (dealers in this case) can add custom columns to their cars / profiles.</p>
<p>Instead of creating this functionality from scratch, I first wanted to know if there are any plugins that have this functionality already. I found these three:</p>
<ol>
<li>acts_as_free_form</li>
<li><a title="has_magic_columns" href="http://code.google.com/p/has-magic-columns/">has-magic-columns</a></li>
<li><a title="acts_as_customizable" href="http://redmine.rubyforge.org/svn/trunk/vendor/plugins/acts_as_customizable/lib/acts_as_customizable.rb">acts_as_customizable</a></li>
</ol>
<p>I haven't decided (yet) which is best.</p>
<p>And if you want to roll your own, here's a nice article about choosing the <a title="Choosing a Schema for Dynamic Records" href="http://www.vaporbase.com/postings/Choosing_a_Schema_for_Dynamic_Records">best structure for dynamic fields</a>.</p>
<p>I realize that the story above is written in truly horrible English. But I really didn't have the energy to make something nice of it...</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/11/12/ruby-on-rails-custom-fields-on-a-per-user-basis/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Compiling jruby from source in Ubuntu Intrepid Ibex</title>
		<link>http://www.vanutsteen.nl/2008/11/05/compiling-jruby-from-source-in-ubuntu-intrepid-ibex/</link>
		<comments>http://www.vanutsteen.nl/2008/11/05/compiling-jruby-from-source-in-ubuntu-intrepid-ibex/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 06:34:55 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[ibex]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jruby]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=256</guid>
		<description><![CDATA[Very easy to do: PLAIN TEXT CODE: sudo aptitude install ant openjdk-6-jdk cd ~/src svn co http://svn.codehaus.org/jruby/trunk/jruby/ cd jruby ant bin/jruby --version]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-257" title="jruby_logo" src="http://www.vanutsteen.nl/wp-content/uploads/2008/11/jruby_logo.png" alt="" width="223" height="100" /><br />
Very easy to do:</p>
<div class="igBar"><span id="lcode-12"><a href="#" onclick="javascript:showPlainTxt('code-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-12">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo aptitude install ant openjdk-<span style="color:#800000;color:#800000;">6</span>-jdk</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cd ~/src</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">svn co http:<span style="color:#FF9933; font-style:italic;">//svn.codehaus.org/jruby/trunk/jruby/</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cd jruby</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ant</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bin/jruby --version </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/11/05/compiling-jruby-from-source-in-ubuntu-intrepid-ibex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Released github widget</title>
		<link>http://www.vanutsteen.nl/2008/10/01/released-github-widget/</link>
		<comments>http://www.vanutsteen.nl/2008/10/01/released-github-widget/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 08:32:30 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=241</guid>
		<description><![CDATA[I think you all noticed my fabulous new sidebar widget: My projects It shows all of my github projects. I directly turned it into a plugin for you to enjoy. You can download and read the documentation in the wordpress plugin directory.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/10/github_logo.png"><img class="alignright size-medium wp-image-242" title="Github logo" src="http://www.vanutsteen.nl/wp-content/uploads/2008/10/github_logo.png" alt="" width="157" height="60" /></a>I think you all noticed my fabulous new sidebar widget: My projects <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>It shows <em>all</em> of my github projects. I directly turned it into a plugin for you to enjoy. You can download and read the documentation in the <a title="Wordpress plugin directory: github widget" href="http://wordpress.org/extend/plugins/github-widget/">wordpress plugin directory</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/10/01/released-github-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails vs. Merb</title>
		<link>http://www.vanutsteen.nl/2008/09/24/rails-vs-merb/</link>
		<comments>http://www.vanutsteen.nl/2008/09/24/rails-vs-merb/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 21:25:12 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[datamapper]]></category>
		<category><![CDATA[merb]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[tim_online]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=236</guid>
		<description><![CDATA[This will be a short post: I like merb/datamapper better. It's cleaner and faster. But, I have to finish a project this week and merb/datamapper is not just stable yet, has less documentation, less plugins, less helpers and less features. For example, the "has and belongs to many" association in datamapper isn't fully implemented (look [...]]]></description>
			<content:encoded><![CDATA[<p>This will be a short post: I like merb/datamapper better. It's cleaner and faster.</p>
<p>But, I have to finish a project <em>this week</em> and merb/datamapper is not just stable yet, has less documentation, less plugins, less helpers and less features.</p>
<p>For example, the "has and belongs to many" association in datamapper isn't fully implemented (look a the tests). There are some nice backend generators for Rails. And if you have to finish a project in too little time, it's a quick decision.</p>
<p>I know, I could also make/fix this stuff for merb and datamapper myself and I would love to. But there just isn't enough time! Aaarghhh...</p>
<p style="text-align: center;"><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/09/white_rabbit.gif"><img class="size-medium wp-image-237 aligncenter" title="White Rabbit" src="http://www.vanutsteen.nl/wp-content/uploads/2008/09/white_rabbit-300x218.gif" alt="" width="300" height="218" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/09/24/rails-vs-merb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying, merb, capistrano &amp; passenger</title>
		<link>http://www.vanutsteen.nl/2008/09/10/deploying-merb-capistrano-passenger/</link>
		<comments>http://www.vanutsteen.nl/2008/09/10/deploying-merb-capistrano-passenger/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 12:38:08 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[merb]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=196</guid>
		<description><![CDATA[First of all I did a: PLAIN TEXT CODE: capify . And used this deploy.rb Then to setup the current, releases, etc. directories: PLAIN TEXT CODE: cap deploy:setup Then, when I tried to login via ssh with shared key: nothing! After some searching I found out that capistrano messed up the permissions on the .ssh [...]]]></description>
			<content:encoded><![CDATA[<p>First of all I did a:</p>
<div class="igBar"><span id="lcode-16"><a href="#" onclick="javascript:showPlainTxt('code-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-16">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">capify . </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>And used this <a title="Capistrano deploy.rb" href="http://www.vanutsteen.nl/wp-content/uploads/2008/09/deploy.rb">deploy.rb</a></p>
<p>Then to setup the current, releases, etc. directories:</p>
<div class="igBar"><span id="lcode-17"><a href="#" onclick="javascript:showPlainTxt('code-17'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-17">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cap deploy:setup </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Then, when I tried to login via ssh with shared key: nothing!<br />
After some searching I found out that capistrano messed up the permissions on the .ssh directory <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>To fix it:</p>
<div class="igBar"><span id="lcode-18"><a href="#" onclick="javascript:showPlainTxt('code-18'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-18">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">chmod <span style="color:#800000;color:#800000;">755</span> $HOME</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">chmod <span style="color:#800000;color:#800000;">755</span> $HOME/.<span style="">ssh</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">chmod <span style="color:#800000;color:#800000;">644</span> $HOME/.<span style="">ssh</span>/authorized_keys </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/09/10/deploying-merb-capistrano-passenger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New ticket/issue tracking software</title>
		<link>http://www.vanutsteen.nl/2008/07/16/new-ticketissue-tracking-software/</link>
		<comments>http://www.vanutsteen.nl/2008/07/16/new-ticketissue-tracking-software/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 21:41:07 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[open source redmine]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=121</guid>
		<description><![CDATA[I was surfing for some ticketing / project management software and it returned the following result: Sifter Beanstalk Redmine Unfuddle Lighthouse JIRA 16 bugs Bugzilla Fogbugz Trac Especially Sifter looks really nice! But... it isn't open source. So too bad. I went with Redmine: open source, ruby on rails and already a nice feature set! [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/07/bug.png"><img class="size-medium wp-image-147 alignright" title="bug" src="http://www.vanutsteen.nl/wp-content/uploads/2008/07/bug-260x300.png" alt="" width="260" height="300" /></a><br />
I was surfing for some ticketing / project management software and it returned the following result:</p>
<ul>
<li><a title="Sifter" href="http://nextupdate.com">Sifter</a></li>
<li><a title="Beanstalk" href="http://beanstalkapp.com">Beanstalk</a></li>
<li><a title="Redmine" href="http://www.redmine.org">Redmine</a></li>
<li><a title="Unfuddle" href="http://unfuddle.com">Unfuddle</a></li>
<li><a title="Lighthouse app" href="http://www.lighthouseapp.com">Lighthouse</a></li>
<li><a title="JIRA" href="http://www.atlassian.com/software/jira">JIRA</a></li>
<li><a title="16 bugs" href="http://16bugs.com">16 bugs</a></li>
<li><a title="Bugzilla" href="http://www.bugzilla.org/">Bugzilla</a></li>
<li><a title="FogBUGZ" href="http://www.fogcreek.com/FogBUGZ">Fogbugz</a></li>
<li><a title="Trac" href="http://trac.edgewall.org">Trac</a></li>
</ul>
<p>Especially Sifter looks really nice! But... it isn't open source. So too bad. I went with Redmine: open source, ruby on rails and already a nice feature set!</p>
<p>A nice overview of bug/issue tracking systems can be found on <a title="Wikipedia" href="http://en.wikipedia.org/wiki/Comparison_of_issue_tracking_systems">wikipedia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/07/16/new-ticketissue-tracking-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Css flash messages</title>
		<link>http://www.vanutsteen.nl/2008/07/15/css-flash-messages/</link>
		<comments>http://www.vanutsteen.nl/2008/07/15/css-flash-messages/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 20:13:14 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=125</guid>
		<description><![CDATA[I was reading a nice article on Ruby on Rails flesh messages. It linked to an article about styling message boxes with css. I'm a real sucker for nice message boxes. If you are too: this is a must-read.]]></description>
			<content:encoded><![CDATA[<p>I was reading <a title="RoR flash messages" href="http://rubypond.com/articles/2008/07/11/useful-flash-messages-in-rails/">a nice article on Ruby on Rails flesh messages</a>. It linked to an article about <a title="Css styled message boxes" href="http://www.jankoatwarpspeed.com/post/2008/05/22/CSS-Message-Boxes-for-different-message-types.aspx">styling message boxes with css</a>.</p>
<p>I'm a real sucker for nice message boxes. If you are too: this is a must-read.</p>
<p><img class="size-medium " title="Flash message box example" src="http://www.vanutsteen.nl/wp-content/plugins/com-resize/phpthumb/phpThumb.php?src=/wp-content/uploads/2008/07/flash_message.png&w=480" alt="" width="480" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/07/15/css-flash-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vpnc with openssl!</title>
		<link>http://www.vanutsteen.nl/2008/07/02/vpnc-with-openssl/</link>
		<comments>http://www.vanutsteen.nl/2008/07/02/vpnc-with-openssl/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 20:22:20 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[building]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[vpns]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=96</guid>
		<description><![CDATA[The default vpnc in Ubuntu comes without openssl support. Bugger... But with these few lines of code this is solved: PLAIN TEXT CODE: sudo apt-get update sudo apt-get build-dep vpnc sudo apt-get install libssl-dev mkdir ~/src/vpnc -p cd ~/src/vpnc apt-get source vpnc cd vpnc-* dpkg-buildpackage sudo dpkg -i ../vpnc*.deb Et voila: vpnc with openssl!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/07/cisco_logo.jpg"><img class="alignnone size-medium wp-image-113 alignright" style="float: right;" title="Cisco logo" src="http://www.vanutsteen.nl/wp-content/uploads/2008/07/cisco_logo-300x162.jpg" alt="" width="300" height="162" /></a>The default vpnc in Ubuntu comes <span style="text-decoration: underline;">without</span> openssl support. Bugger... But with these few lines of code this is solved:</p>
<div class="igBar"><span id="lcode-20"><a href="#" onclick="javascript:showPlainTxt('code-20'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-20">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo apt-get update</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo apt-get build-dep vpnc</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo apt-get install libssl-dev</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mkdir ~/src/vpnc -p</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cd ~/src/vpnc</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apt-get source vpnc</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cd vpnc-*</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">dpkg-buildpackage</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo dpkg -i ../vpnc*.<span style="">deb</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Et voila: vpnc with openssl!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/07/02/vpnc-with-openssl/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Installing ruby 1.8.7 (and guessnet) on Hardy</title>
		<link>http://www.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/</link>
		<comments>http://www.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 11:52:04 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[guessnet]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[sources]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=111</guid>
		<description><![CDATA[There were some vulnerabilities in Ruby which are supposedly fixed in ruby 1.8.7. Because of that and because it's always nice to have the latest, I installed ruby from Ubuntu Intrepid on Hardy Herron. And while I was doing that I also decided to install guessnet from Intrepid. So I don't have to compile guessnet [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/06/intrepid_ibex.gif"><img class="alignnone size-medium wp-image-112 alignright" style="float: right;" title="Intrepid Ibex" src="http://www.vanutsteen.nl/wp-content/uploads/2008/06/intrepid_ibex-220x300.gif" alt="" width="220" height="300" /></a>There were some <a title="Ruby vulnerabilities" href="http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html">vulnerabilities in Ruby</a> which are supposedly fixed in ruby 1.8.7. Because of that and because it's always nice to have the latest, I installed ruby from Ubuntu Intrepid on Hardy Herron.</p>
<p>And while I was doing that I also decided to install guessnet from Intrepid. So I don't have to <a href="2008/05/28/building-and-installing-the-latest-version-of-guessnet/">compile guessnet</a> anymore.</p>
<p>It involves two steps:</p>
<ol>
<li>Updating you apt sources</li>
<li>Making sure only ruby and guessnet are going to be installed from the new sources. Not all the packages!</li>
</ol>
<h2>1. Updating your sources</h2>
<p>Create /etc/apt/sources.list.d/intrepid.list and copy the following code into it:</p>
<div class="igBar"><span id="lcode-23"><a href="#" onclick="javascript:showPlainTxt('code-23'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-23">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deb http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid main restricted multiverse</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deb-src http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid main restricted</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## Major bug fix updates produced after the final release of the</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## distribution.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="">deb</span> http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted multiverse</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deb-src http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## N.<span style="">B</span>. <span style="">software</span> from this repository is ENTIRELY UNSUPPORTED by the Ubuntu</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## team, and may not be under a free licence. <span style="">Please</span> satisfy yourself as to</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## your rights to use the software. <span style="">Also</span>, please note that software in</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## universe WILL NOT receive any review or updates from the Ubuntu security</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## team.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="">deb</span> http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid universe</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deb-src http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid universe</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deb http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid-updates universe</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deb-src http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid-updates universe</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## N.<span style="">B</span>. <span style="">software</span> from this repository is ENTIRELY UNSUPPORTED by the Ubuntu</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## team, and may not be under a free licence. <span style="">Please</span> satisfy yourself as to</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## your rights to use the software. <span style="">Also</span>, please note that software in</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## multiverse WILL NOT receive any review or updates from the Ubuntu</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## security team.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## Uncomment the following two lines to add software from the <span style="color:#CC0000;">'backports'</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## repository.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## N.<span style="">B</span>. <span style="">software</span> from this repository may not have been tested as</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## extensively as that contained in the main release, although it includes</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## newer versions of some applications which may provide useful features.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## Also, please note that software in backports WILL NOT receive any review</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## or updates from the Ubuntu security team.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="">deb</span> http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># deb-src http:<span style="color:#FF9933; font-style:italic;">//nl.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## Uncomment the following two lines to add software from Canonical<span style="color:#CC0000;">'s</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">## '</span>partner<span style="color:#CC0000;">' repository. This software is not part of Ubuntu, but is</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">## offered by Canonical and the respective vendors as a service to Ubuntu</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">## users.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">deb http://archive.canonical.com/ubuntu intrepid partner</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;"># deb-src http://archive.canonical.com/ubuntu intrepid partner</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"></li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">deb http://security.ubuntu.com/ubuntu intrepid-security main restricted multiverse</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">deb http://security.ubuntu.com/ubuntu intrepid-security universe</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">deb-src http://security.ubuntu.com/ubuntu intrepid-security universe </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<h2>2. Apt preferences</h2>
<p>If /etc/apt/preferences does not exist, touch it!</p>
<p>Then copy this code into it:</p>
<div class="igBar"><span id="lcode-24"><a href="#" onclick="javascript:showPlainTxt('code-24'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-24">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: *</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: -<span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: ruby</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: ruby1.<span style="color:#800000;color:#800000;">8</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: libruby</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: libruby1.<span style="color:#800000;color:#800000;">8</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: rdoc</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: rdoc1.<span style="color:#800000;color:#800000;">8</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: ri</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: ri1.<span style="color:#800000;color:#800000;">8</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: irb</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: irb1.<span style="color:#800000;color:#800000;">8</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: libopenssl-ruby</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: libreadline-ruby</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: libreadline-ruby1.<span style="color:#800000;color:#800000;">8</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: ruby-dev</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: ruby1.<span style="color:#800000;color:#800000;">8</span>-dev</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">500</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Package: guessnet</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin: release v=<span style="color:#800000;color:#800000;">8</span>.<span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Pin-Priority: <span style="color:#800000;color:#800000;">501</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>That's all! "Aptitude update" &amp; "aptitude install ruby guessnet" and you are good to go.</p>
<p>I tried using the "Package" keyword with wildcards, but that's a no-go <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Downloading Netbeans nightly builds</title>
		<link>http://www.vanutsteen.nl/2008/06/29/downloading-netbeans-nightly-builds/</link>
		<comments>http://www.vanutsteen.nl/2008/06/29/downloading-netbeans-nightly-builds/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 23:00:21 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[gtkbuilder]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=109</guid>
		<description><![CDATA[I'm starting with Python/GtkBuilder and I wanted a nice IDE for Python. Because I really like using netbeans for coding ruby, I gave it a try for python. But the support for python is still alpha. For it to work you have to download the latest (nightly) netbeans build and the netbeans python plugin(s)]]></description>
			<content:encoded><![CDATA[<p>I'm starting with Python/GtkBuilder and I wanted a nice IDE for Python. Because I really like using netbeans for coding ruby, I gave it a try for python. But the support for python is still alpha. <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>For it to work you have to download the <a title="Nightl netbeans build" href="http://bits.netbeans.org/download/trunk/nightly/latest/">latest (nightly) netbeans build</a> and the <a title="python plugins for netbeans" href="http://bits.netbeans.org/download/trunk/nightly/latest/">netbeans python plugin(s)</a></p>
<p><img class="alignnone size-medium wp-image-110" title="Netbeans python logo" src="http://www.vanutsteen.nl/wp-content/plugins/com-resize/phpthumb/phpThumb.php?src=/wp-content/uploads/2008/06/nbpythonlogo2.png&w=440" alt=""  width="440" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/06/29/downloading-netbeans-nightly-builds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a diff/patch</title>
		<link>http://www.vanutsteen.nl/2008/06/26/how-to-make-a-diffpatch/</link>
		<comments>http://www.vanutsteen.nl/2008/06/26/how-to-make-a-diffpatch/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 08:51:06 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[diff]]></category>
		<category><![CDATA[patch]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=107</guid>
		<description><![CDATA[I had to make a couple of diff's lately and I always forget what switch to use So here is it: PLAIN TEXT CODE: diff orig_file patched_file -u]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/06/patch.jpg"><img class="alignnone size-medium wp-image-106 alignright" style="float: right;" title="Software patch" src="http://www.vanutsteen.nl/wp-content/uploads/2008/06/patch.jpg" alt="" width="250" height="161" /></a><br />
I had to make a couple of diff's lately and I always forget what switch to use <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>So here is it:</p>
<div class="igBar"><span id="lcode-26"><a href="#" onclick="javascript:showPlainTxt('code-26'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-26">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">diff orig_file patched_file -u </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/06/26/how-to-make-a-diffpatch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache2 umask: testserver purposes!</title>
		<link>http://www.vanutsteen.nl/2008/06/25/apache2-umask-testserver-purposes/</link>
		<comments>http://www.vanutsteen.nl/2008/06/25/apache2-umask-testserver-purposes/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 09:59:21 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=104</guid>
		<description><![CDATA[On v2 of my website I wrote a post on configuring a webserver for testing/developing purposes. In that post I explained how to adjust the umask of Apache. I did that by changing the Apache startup script. But, of course, when apache is updated/upgraded, you custom mod will dissapear. In coincidence I stumbled upon a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/06/apache.gif"><img class="alignnone size-medium wp-image-105 alignleft" style="float: left;" title="Apache simulator game" src="http://www.vanutsteen.nl/wp-content/uploads/2008/06/apache-300x225.gif" alt="" width="300" height="225" /></a>On v2 of my website I wrote a post on <a title="configuring a webserver for testing/developing purposes" href="http://v2.vanutsteen.nl/projects/configuring-a-testserver.html">configuring a webserver for testing/developing purposes</a>. In that post I explained how to adjust the umask of Apache. I did that by changing the Apache startup script. But, of course, when apache is updated/upgraded, you custom mod will dissapear. In coincidence I stumbled upon a post that explained <a title="Apache environment variables" href="http://ubuntuforums.org/showthread.php?t=549457">how to add environment variables to apache without modding the distribution scripts</a>.</p>
<p>All you do is adding the desired variables to "/etc/apache2/envars". That's it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/06/25/apache2-umask-testserver-purposes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Puppet troubles</title>
		<link>http://www.vanutsteen.nl/2008/06/20/puppet-troubles/</link>
		<comments>http://www.vanutsteen.nl/2008/06/20/puppet-troubles/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 20:17:41 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[system administration]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=100</guid>
		<description><![CDATA[I've installed puppet recently and I'm know trying to understand how it works and make use of it If that's not difficult enough, I encountered this weird behaviour that the --noop argument didn't do anything. After an hour of searching I realized it was my own stupid fault! I had to puppet configuration files: /etc/puppet/puppetd.conf [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-101 alignright" style="float: right;" title="Puppet logo" src="http://www.vanutsteen.nl/wp-content/uploads/2008/06/puppet.png" alt="" width="175" height="272" />I've installed <a title="Homepage of puppet" href="http://reductivelabs.com/trac/puppet">puppet</a> recently and I'm know trying to understand how it works and make use of it <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If that's not difficult enough, I encountered this weird behaviour that the --noop argument didn't do anything. After an hour of searching I realized it was my own stupid fault!</p>
<p>I had to puppet configuration files: /etc/puppet/puppetd.conf (old way) and /etc/puppet/puppet.conf (new way). I browsed throught the source code and it looks like puppet first checks the old file, if it is found it parses that one. If it's not found, the new file is parsed. I don't know why, but if the old file is used, the --noop argument isn't parsed by puppet. So removing /etc/puppet/puppetd.conf was all I had to do. Pffff....</p>
<p>But why did I create the puppetd.conf file? Because I'v read the "Pulling strings with puppet"-book. And althought it's fairly new, puppet is advancing at a very high rate. So the book is becoming out-of-date already.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/06/20/puppet-troubles/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>compiling suexec: the fast way (because your website is down)</title>
		<link>http://www.vanutsteen.nl/2008/06/14/compiling-suexec-the-fast-way-because-your-website-is-down/</link>
		<comments>http://www.vanutsteen.nl/2008/06/14/compiling-suexec-the-fast-way-because-your-website-is-down/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 18:17:23 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=79</guid>
		<description><![CDATA[At Tim_online we have several webservers and each of them have apache2 installed running php with fcgid (a fastcgi implementation). Why this configuration and not mod_php? Because it is reasonably fast (at leaster faster than plain cgi) an secure (because it doesn't run under the apache user). For it to run php scripts as the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/06/time_equals_money.gif"><img class="alignnone size-medium wp-image-89 alignright" style="float: right;" title="Time equals money" src="http://www.vanutsteen.nl/wp-content/uploads/2008/06/time_equals_money-300x151.gif" alt="" width="300" height="151" /></a></p>
<p>At <a title="Tim_online website" href="http://www.tim-online.nl">Tim_online</a> we have several webservers and each of them have apache2 installed running php with fcgid (a fastcgi implementation). Why this configuration and not mod_php? Because it is reasonably fast (at leaster faster than plain cgi) an secure (because it doesn't run under the apache user).</p>
<p>For it to run php scripts as the website owner, you need <a title="Definitive guide to suexec" href="http://www.unix.com.ua/orelly/linux/apache/ch04_07.htm">suexec</a>.</p>
<p style="padding-left: 30px;">Suexec is a mechanism supplied with Apache that allows to execute CGI scripts as the user they belong to, rather than Apache's <tt>wwwrun</tt> user. This improves security in situations where multiple mutually distrusting users have the possibility to put CGI content on the server.</p>
<p>So when u visitor requests one of the webpages of one of my customers the proces looks like this:</p>
<p style="padding-left: 30px;">request -&gt; apache -&gt; fastcgi -&gt; suexec -&gt; proxy -&gt; php file</p>
<p>I don't exactly know anymore why the proxy is required, but it is <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Know the problem is: suexec (by default) can't execute the proxy file, because it isn't owned by the php file owner. So you have to hack suexec to make this work.</p>
<p>I did this. And everything worked. The webservers were happy to serve al these requests untill one day apache get updated. The automatic ubuntu updates push a new version of apache with a new suexec binary. Problem!</p>
<p>So when you come at work there are 16 "missed incoming calls" and you co-workers are going mad with all the <em>dissapointed</em> customers. You look at the apache logs: hmzzz, suexec is giving 120 errors... What could that be? !Ping! Suexec ofcourse. Let's see, how did I solve this problem the last time. First let's download the apache sources. ./configure. Yes. now where's suexec.c? Ah, cd support. Now,  make suexec. Wait, missing headers. Let's install those first. Make suexec. Arrgh. It doesn't work! Suexec -v. Wait, forgot to adjust the ap_httpd_user, ow, and comment out the offending lines. Yes, this should work. Ok. Copy it to /usr/lib/apache2. Ok, it works!</p>
<p>But at that time, an hour has past. If you can find the right files at once. So I decided to write down the steps I took to download, configure and compile suexec the quickest and simplest way. Here we go:</p>
<div class="igBar"><span id="lcode-29"><a href="#" onclick="javascript:showPlainTxt('code-29'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-29">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo apt-get install apache2-threaded-dev</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mkdir -p ~/src/suexec</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cd ~/src/suexec</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo apt-get install apache2-threaded-dev</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">wget http:<span style="color:#FF9933; font-style:italic;">//svn.apache.org/repos/asf/httpd/httpd/trunk/support/suexec.c</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">wget http:<span style="color:#FF9933; font-style:italic;">//svn.apache.org/repos/asf/httpd/httpd/trunk/support/suexec.h</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">wget http:<span style="color:#FF9933; font-style:italic;">//www.vanutsteen.nl/wp-content/uploads/2008/06/suexecc.patch</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">patch suexec.<span style="">c</span> suexec.<span style="">c</span>.<span style="">patch</span> -o suexec.<span style="">patched</span>.<span style="">c</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">gcc -DLOG_EXEC=<span style="color:#CC0000;">'&quot;/var/log/apache2/suexec.log&quot;'</span> -DAP_HTTPD_USER=<span style="color:#CC0000;">'&quot;www-data&quot;'</span> -DAP_DOC_ROOT=<span style="color:#CC0000;">'&quot;/var/www&quot;'</span> -I/usr/include/apr-<span style="color:#800000;color:#800000;">1</span>.<span style="color:#800000;color:#800000;">0</span> -I/usr/include/apache2  -o suexec suexec.<span style="">patched</span>.<span style="">c</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>That's it! Test it by doing: sudo ./suexec -V<br />
That should output:</p>
<div class="igBar"><span id="lcode-30"><a href="#" onclick="javascript:showPlainTxt('code-30'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-30">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-D AP_DOC_ROOT=<span style="color:#CC0000;">"/var/www"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-D AP_GID_MIN=<span style="color:#800000;color:#800000;">100</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-D AP_HTTPD_USER=<span style="color:#CC0000;">"www-data"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-D AP_LOG_EXEC=<span style="color:#CC0000;">"/var/log/apache2/suexec.log"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-D AP_SAFE_PATH=<span style="color:#CC0000;">"/usr/local/bin:/usr/bin:/bin"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-D AP_UID_MIN=<span style="color:#800000;color:#800000;">100</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-D AP_USERDIR_SUFFIX=<span style="color:#CC0000;">"public_html"</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Basically what I did:</p>
<ol>
<li>I installed the necessary headers</li>
<li>Got the latests suexec code from the apache svn repo</li>
<li>Downloaded the suexec patch from my blog</li>
<li>Patched suexec to disable the file owner check</li>
<li>Compiled suexec with the default ubuntu options</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/06/14/compiling-suexec-the-fast-way-because-your-website-is-down/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Images &amp; why you need com_resize</title>
		<link>http://www.vanutsteen.nl/2008/05/24/images-why-you-need-com_resize/</link>
		<comments>http://www.vanutsteen.nl/2008/05/24/images-why-you-need-com_resize/#comments</comments>
		<pubDate>Sat, 24 May 2008 21:37:18 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[com_resize]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=72</guid>
		<description><![CDATA[I the release post of com_resized there was asked the question why one should use com_resize. There are three reasons to use it: The generated images aren the size you want them to be. So they're smaller of size than the original images. You won't get any ugly resized images (see the example below). It [...]]]></description>
			<content:encoded><![CDATA[<p>I the <a href="2008/04/27/com_resize-on-wordpress-plugins/">release post of com_resized</a> there was asked the question why one should use com_resize. There are three reasons to use it:</p>
<ol>
<li>The generated images aren the size you want them to be. So they're smaller of size than the original images.</li>
<li>You won't get any ugly resized images (see the example below).</li>
<li>It works with remote images. So you can link to an image one someone else's blog and they get resized to the size you want + cached. So that way they get loaded from your own server: so faster.</li>
</ol>
<h2>No more ugly resized images:</h2>
<p><img class="alignleft" style="float: left; width: 200px;" title="space_station" src="http://www.vanutsteen.nl/wp-content/uploads/2008/05/space_station.jpg" alt="" /><img style="margin-left: 25px;" title="space_station" src="http://www.vanutsteen.nl/wp-content/plugins/com-resize/phpthumb/phpThumb.php?src=/wp-content/uploads/2008/05/space_station.jpg&w=200" alt="" width="200" /></p>
<p>The one on the left is without com_resize. The one on the right is _with_ com_resize. If you don't see any difference. Your browser is probably doing some fancy stuff with the image. In that case you don't need com_resize. But maybe the readers of your blog do!</p>
<p>For the people who don't see any difference (leave a comment with your OS + browser, please!) I have attached a screenshot. Made in IE6, so the font is ugly too <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.vanutsteen.nl/wp-content/uploads/2008/05/com_resize_example.jpg"><img class="alignnone size-medium wp-image-75" title="com_resize_example" src="http://www.vanutsteen.nl/wp-content/uploads/2008/05/com_resize_example.jpg" alt="" style="border: 1px solid grey;" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2008/05/24/images-why-you-need-com_resize/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

