<?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; python</title>
	<atom:link href="http://www.vanutsteen.nl/category/python/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>Fri, 06 Aug 2010 08:15:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>installing macvim with python interpreter</title>
		<link>http://www.vanutsteen.nl/2010/04/10/installing-macvim-with-python-interpreter/</link>
		<comments>http://www.vanutsteen.nl/2010/04/10/installing-macvim-with-python-interpreter/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 13:43:02 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=482</guid>
		<description><![CDATA[As easy as: sudo port install macvim +python]]></description>
			<content:encoded><![CDATA[<p>As easy as: sudo port install macvim +python <img src='http://www.vanutsteen.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2010/04/10/installing-macvim-with-python-interpreter/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[Linux]]></category>
		<category><![CDATA[development]]></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>Weechat 0.3.0 on Ubuntu 9.10</title>
		<link>http://www.vanutsteen.nl/2009/10/18/weechat-0-3-0-on-ubuntu-9-10/</link>
		<comments>http://www.vanutsteen.nl/2009/10/18/weechat-0-3-0-on-ubuntu-9-10/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 20:58:34 +0000</pubDate>
		<dc:creator>LeonB</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[irc. ubuntu]]></category>
		<category><![CDATA[weechat]]></category>

		<guid isPermaLink="false">http://www.vanutsteen.nl/?p=415</guid>
		<description><![CDATA[Ubuntu 9.10 comes with an older version of weechat. So I downloaded the stable release 0.3.0 and installed it: PLAIN TEXT CODE: ./configure --prefix=/home/leon/Software/local/ --enable-gtk --enable-demo make make install Note: gtk is not very usable so you better use the ncurses interface! I wrote a little plugin for it that autosaves the current connected channels [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 9.10 comes with an older version of weechat. So I downloaded the stable release 0.3.0 and installed it:</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;">./configure --prefix=/home/leon/Software/local/ --enable-gtk --enable-demo</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">make</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;">make install </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Note: gtk is not very usable so you better use the ncurses interface!</p>
<p>I wrote a little plugin for it that autosaves the current connected channels and enables autojoin for them. It can be found on <a title="Weechat autojoin plugin on github" href="http://github.com/LeonB/weechat-autojoin/">my github page</a> and on the <a title="Weechat plugins page" href="http://www.weechat.org/files/scripts/autojoin.py">plugins page of weechat</a> (if FlashCode aprobes the new version 0.2).</p>
<p>And here a nice plugin of weechat in action with the autojoin plugin (Nice!!):</p>
<p style="text-align: center;"><a href="http://www.vanutsteen.nl/wp-content/uploads/2009/10/Screenshot.png"><img class="aligncenter size-full wp-image-416" title="Screenshot of weechat in action" src="http://www.vanutsteen.nl/wp-content/plugins/com-resize/phpthumb/phpThumb.php?src=/wp-content/uploads/2009/10/Screenshot.png&w=500" alt="Screenshot of weechat in action" width="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vanutsteen.nl/2009/10/18/weechat-0-3-0-on-ubuntu-9-10/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[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[python]]></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[Ruby]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[python]]></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>
	</channel>
</rss>
