<?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>0x89</title>
	<atom:link href="http://0x89.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://0x89.eu</link>
	<description>just a random mind dump</description>
	<lastBuildDate>Sun, 20 Sep 2009 17:55:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Having fun with Google and Wolfram Alpha</title>
		<link>http://0x89.eu/2009/09/64/having-fun-with-google-and-wolfram-alpha/</link>
		<comments>http://0x89.eu/2009/09/64/having-fun-with-google-and-wolfram-alpha/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 20:43:16 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://0x89.eu/?p=64</guid>
		<description><![CDATA[Wolfram Alpha
vs
Google
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wolframalpha.com/input/?i=round1%2F(fine+structure+constant)+in+hex">Wolfram Alpha</a></p>
<p>vs</p>
<p><a href="http://www.google.com/search?hl=en&amp;q=(the+answer+to+life+the+universe+and+everything%2Bnumber+of+horns+on+a+unicorn)*3%2B8+in+hex&amp;aq=f&amp;oq=&amp;aqi=">Google</a></p>
]]></content:encoded>
			<wfw:commentRss>http://0x89.eu/2009/09/64/having-fun-with-google-and-wolfram-alpha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>keeping your inbox tidy with mutt</title>
		<link>http://0x89.eu/2009/08/54/keeping-your-inbox-tidy-with-mutt/</link>
		<comments>http://0x89.eu/2009/08/54/keeping-your-inbox-tidy-with-mutt/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 15:17:37 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mutt]]></category>

		<guid isPermaLink="false">http://0x89.eu/?p=54</guid>
		<description><![CDATA[how to keep your inbox tidy with mutt, while keeping the messages that are unread, flagged, or newer than 2 weeks]]></description>
			<content:encoded><![CDATA[<p>I use <a title="the mutt email client" href="http://www.mutt.org">mutt</a> for mailing. It is a very powerful commandline email client. What I generally like about programs on the command line is that they usually start up very fast, so you don&#8217;t have to keep them running in the background in order to get back to them, but can just start them up when you need them.</p>
<p>In principle, this is also true for mutt. But mutt has the problem that it is not able to load a huge number of <a title="wikipedia entry for maildir" href="http://en.wikipedia.org/wiki/Maildir">maildir</a> messages effectively on startup, as it does not cache the titles and has to read all of the messages to show you the inbox.</p>
<p>This is no problem if you always have an <a title="inbox zero talk" href="http://www.youtube.com/watch?v=z9UjeTMb3Yk">empty inbox</a>.</p>
<p>Having a really empty inbox is no problem with mutt, as it automatically moves read mail to a folder called mbox with the setting <code>set move=yes</code>.<br />
This was not enough for me, as I wanted to keep the read mail of the last two weeks so that it does not move mails that I have already read but that still need processing (like answering..).</p>
<p>So this what I put into <code>~/.mutttrc</code> to achieve this:</p>
<pre>
folder-hook =INBOX 'push \
"&lt;tag-pattern&gt;~r&gt;2w~R!~F&lt;enter&gt;&lt;tag-prefix-cond&gt;&lt;save-essage&gt;=mbox"&lt;enter&gt;'
</pre>
<p>This moves all messages that are older than 2 weeks, but keeps messages that are flagged and/or unread, when I enter my INBOX.</p>
]]></content:encoded>
			<wfw:commentRss>http://0x89.eu/2009/08/54/keeping-your-inbox-tidy-with-mutt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remote python debugging with winpdb</title>
		<link>http://0x89.eu/2009/08/51/remote-python-debugging-with-winpdb/</link>
		<comments>http://0x89.eu/2009/08/51/remote-python-debugging-with-winpdb/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 21:18:18 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://0x89.eu/?p=51</guid>
		<description><![CDATA[While hacking cplay a bit for fun, I was annoyed that using pdb for debugging does not really work out for curses applications, as the console is used by the app. So I looked for a remote python debugger and found winpdb. This is really nice and also more comfortable for programs where pdb would ]]></description>
			<content:encoded><![CDATA[<p>While hacking <a title="cplay" href="http://github.com/marvinthepa/cplay">cplay</a> a bit for fun, I was annoyed that using pdb for debugging does not really work out for curses applications, as the console is used by the app. So I looked for a remote python debugger and found <a title="winpdb" href="http://winpdb.org">winpdb</a>. This is really nice and also more comfortable for programs where pdb would work.</p>
<p>Although the name suggests otherwise, winpdb is platform-independend, runs fine on unix and is free software (free as in freedom).</p>
]]></content:encoded>
			<wfw:commentRss>http://0x89.eu/2009/08/51/remote-python-debugging-with-winpdb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>abs, subversion, and kwallet to store svn passwords encrypted</title>
		<link>http://0x89.eu/2009/08/35/35/</link>
		<comments>http://0x89.eu/2009/08/35/35/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 21:16:07 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[encrypted]]></category>
		<category><![CDATA[kwallet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://0x89.eu/?p=35</guid>
		<description><![CDATA[How to build binary packages for archlinux using abs, with the example of subversion compiled with kwallet support]]></description>
			<content:encoded><![CDATA[<p>A long time ago, I wrote down <a href="http://cip.physik.uni-bonn.de/~sander/2007-11-25-making-deb-packages-of-gnuplot-linked-to-gnu-readline.html">how to make a gnuplot ubuntu package with gnu readline support on ubuntu</a>. I often used this as a reference when I had to build deb-packages from source packages and forgot how it is done.</p>
<p>Today I came by a similar problem in <a href="http://www.archlinux.org/">Arch Linux,</a> which ships with subversion 1.6 at the moment. Subversion finally got support for storing the password in an encrypted form, or rather support for using kwallet or GNOME keyring to store the passwords (very unixy, although I&#8217;d prefer a more <a href="http://suckless.org">suckless</a> alternative for storing passwords &#8211; preferably an open standard that a suckless keyring could implement).</p>
<p>For historic reasons I use some KDE apps from time to time (mainly konqueror when I am lazy and need a swiss army tool). So I decided to try the kwallet support as it was already installed.</p>
<p>The problem is that subversion is compiled without kwallet support on Arch. So I used the great <a href="http://wiki.archlinux.org/index.php/ABS_-_The_Arch_Build_System">abs</a> &#8211; Arch Linux Build System to make a package. That is much easier than it was on ubuntu. First, install an configure abs:</p>
<ul>
<li>install abs

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-S</span> abs</pre></div></div>

</li>
<li>configure it by editing <code>/etc/abs.conf</code>, I just changed the last line so that it looked like this:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">REPOS</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>core extra community <span style="color: #000000; font-weight: bold;">!</span>testing<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

</li>
<li>update the abs tree

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> abs</pre></div></div>

</li>
</ul>
<p>These steps have to be done only once, obviously.</p>
<p>Then, configure and build the subversion package:</p>
<ul>
<li>copy  the subversion slim ABS from the abs tree to a build directory in <code>~</code>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> ~<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>abs; <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>abs<span style="color: #000000; font-weight: bold;">/</span>extra<span style="color: #000000; font-weight: bold;">/</span>subversion ~<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>abs</pre></div></div>

</li>
<li> edit the <code>PKGBUILD</code>, just add <code>--with-kwallet</code> to the <code>./configure</code> step

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">    .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-apr</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-apr-util</span>=<span style="color: #000000; font-weight: bold;">/</span>usr \
               <span style="color: #660033;">--with-zlib</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-neon</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-apxs</span> \
               <span style="color: #660033;">--with-sqlite</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-kwallet</span> \
               <span style="color: #660033;">--enable-javahl</span> <span style="color: #660033;">--with-jdk</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>java-1.6.0-openjdk</pre></div></div>

</li>
<li>build the package

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> $ makepkg <span style="color: #660033;">-s</span></pre></div></div>

<p>the <code>-s</code> Flag tells makepkg to automatically fetch all dependencies and build-dependencies via pacman, so you might have to type in your password if you try that.</li>
<li>install the package

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> $ <span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-U</span> subversion-1.6.3-<span style="color: #000000;">1</span>-i686.pkg.tar.gz</pre></div></div>

</li>
</ul>
<p>Done. Annoyingly, I had to install Kwalletmanager to configure Kwallet to stay open when svn exits (so I don&#8217;t have to re-type the kwallet password in subsequent svn runs), which is not in a package of its own, but in kdeutils &#8211; another 250 MB largely wasted. But storage and bandwidth is cheap nowadays, so I don&#8217;t really care.</p>
]]></content:encoded>
			<wfw:commentRss>http://0x89.eu/2009/08/35/35/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using different Firefox profiles for save browsing</title>
		<link>http://0x89.eu/2009/08/27/using-different-firefox-profiles-for-save-browsing/</link>
		<comments>http://0x89.eu/2009/08/27/using-different-firefox-profiles-for-save-browsing/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 21:49:00 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://0x89.eu/?p=27</guid>
		<description><![CDATA[How to use different Firefox profiles to separate your online banking from casual, insecure usage of the web]]></description>
			<content:encoded><![CDATA[<p>Recently, I read <a title="joanna-rutkowska-rootkit-tomshardware" href="http://www.tomshardware.com/reviews/joanna-rutkowska-rootkit,2356.html">this</a> interview with security researcher <a href="http://theinvisiblethings.blogspot.com/">Joanna Rutkowska</a> on <a title="tom's hardware guide" href="http://tomshardware.com">Tom&#8217;s Hardware Guide</a>. The interview is hardcore stuff, but it is interesting to read. In the interview she  talks about her personal security measures regarding internet browsing. Joanna uses three different browsers, each in their own virtual machine. An &#8220;insecure&#8221; browser for everyday surfing, a browser used for shopping on the internet, and a very secure one that is only used for online banking.</p>
<p>What I particularly like about the idea is that you can roll back the &#8220;surfing&#8221;-VM to a known good snapshot once in a while, so that you&#8217;ll know it is not infected.</p>
<p>I think this idea is rather compelling, but using three different virtual machines is just too much overhead for my old computer at home. So I use the poor men&#8217;s solution for now:</p>
<p>Using different Firefox profiles.</p>
<p>To create a new firefox profile that you will only use for internet banking:</p>
<ul>
<li>start the Firefox profile manager:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ firefox <span style="color: #660033;">-ProfileManager</span> <span style="color: #660033;">-no-remote</span></pre></div></div>

</li>
<li>create a new profile (lets call it &#8220;secure&#8221;), and start it.</li>
<li> go to https://addons.mozilla.org/en-US/firefox/ and install the noscript extension for Firefox. You can also install the CookieSafe extension, it will make things a little bit easier.</li>
<li> open Firefox Preferences (Edit -&gt; Preferences on Unix, Tools-&gt;Preferences on some other Systems), and disable Java and Cookies.</li>
<li>clear your private data and restart Firefox</li>
<li> enter the full URL you use for homebanking in the URL-Bar, make it your homepage (Preferences -&gt; Main) if you want.</li>
<li> allow Javascript for this page using the NoScript &#8211; Icon in the Control-Bar</li>
<li> allow Cookies for this page using CookieSafe or add an exception manually if you know how to do it and don&#8217;t want to install that extension.</li>
</ul>
<p>Use this profile when, and only when, you want to do online-banking, and your default profile for all the rest. To make that easier, add an alias to your shell&#8217;s initialization file, e.g. <code>~/.bashrc</code> if you use bash:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> banking = <span style="color: #ff0000;">&quot;firefox -no-remote -P secure&quot;</span></pre></div></div>

<p>The &#8220;<code>-no-remote</code>&#8221; enables you to use both profiles at the same time. If all your firefoxes start with the banking profile, start firefox with the &#8220;<code>-ProfileManager</code>&#8221; switch and select your default profile.</p>
<p>You get the idea. I&#8217;ll create another profile with cookies and javascript turned off by default and only enabled on sites that I trust. And one that has all the bells and whistles of the internet enabled, but which is configured to clear private data every time it exits.</p>
<p>While using different profiles is not as secure as using different virtual machines, it should save you from most attempts of cross-site-scripting/cross-site-request-forgery.</p>
<p>Of course this is just a small addition to the more important security measures:</p>
<ul>
<li>Use your brain.</li>
<li>Keep your software up to date.</li>
<li>Use a privileged account (root/Administrator) only if you really need to. Seems like Redmond has finally learned that lesson, too.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://0x89.eu/2009/08/27/using-different-firefox-profiles-for-save-browsing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hello World</title>
		<link>http://0x89.eu/2009/07/3/hello-world/</link>
		<comments>http://0x89.eu/2009/07/3/hello-world/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 19:44:48 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[foo]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://0x89.eu/?p=3</guid>
		<description><![CDATA[Hello World.
I am me.
This is 0x89
It is not a blog, just a random mind dump.
]]></description>
			<content:encoded><![CDATA[<p>Hello World.</p>
<p>I am me.</p>
<p>This is <code>0x89</code></p>
<p>It is not a blog, just a random mind dump.</p>
]]></content:encoded>
			<wfw:commentRss>http://0x89.eu/2009/07/3/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

