<?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>ra`s fnord &#187; Coding</title>
	<atom:link href="http://ra.fnord.at/category/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://ra.fnord.at</link>
	<description>blog</description>
	<lastBuildDate>Sat, 29 Oct 2011 10:28:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Instant messaging file transfers just do not work</title>
		<link>http://ra.fnord.at/2009/05/instant-messaging-file-transfers-just-do-not-work/</link>
		<comments>http://ra.fnord.at/2009/05/instant-messaging-file-transfers-just-do-not-work/#comments</comments>
		<pubDate>Sat, 30 May 2009 12:34:49 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ra.fnord.at/?p=181</guid>
		<description><![CDATA[A few days ago I wanted to quickly send a file through  [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I wanted to quickly send a file through my instant messaging client which neither worked through xmpp nor icq. It came to my mind that I keep having this problem for years now and having to send files through email sucks.</p>
<p>So I decided to write a small script which is executed from the context menu of konqueror or dolphin (kde file browsers). It compresses a file or directory, sets a password and uploads it to filefactory.com .</p>
<p><a href="http://kde-apps.org/content/show.php?content=105900">project site on kde-apps.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2009/05/instant-messaging-file-transfers-just-do-not-work/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kmail auto add address to addressbook</title>
		<link>http://ra.fnord.at/2008/11/kmail-auto-add-address-to-addressbook/</link>
		<comments>http://ra.fnord.at/2008/11/kmail-auto-add-address-to-addressbook/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:45:22 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ra.fnord.at/?p=124</guid>
		<description><![CDATA[I just figured out how to automatically add addresses I [...]]]></description>
			<content:encoded><![CDATA[<p>I just figured out how to automatically add addresses I wrote an email to to my addressbook in <a href="http://kontact.kde.org/kmail/">kmail</a>. Christian Schaarschmidt wrote a <a href="https://bugs.kde.org/attachment.cgi?id=19248">small patch</a> which adds a filter you can define for your outgoing mails. Unfortunately it&#8217;s not available in vanilla kmail (yet?). I added an updated ebuild+patch to my <a href="http://code.google.com/p/ra-gentoo-overlay/source/browse/trunk/kde-base/kmail">gentoo repository</a> so one can easily use it.</p>
<p>I think got used to that feature with the previous mail client I used: <a href="http://www.mozilla.com/en-US/thunderbird/">thunderbird</a> and I am wondering if the mail client I used before thunderbird (<a href="http://www.mutt.org/">mutt</a>) has a similar feature.</p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2008/11/kmail-auto-add-address-to-addressbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mindmachine</title>
		<link>http://ra.fnord.at/2008/11/mindmachine/</link>
		<comments>http://ra.fnord.at/2008/11/mindmachine/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 16:39:45 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://ra.fnord.at/?p=120</guid>
		<description><![CDATA[I just created a new tumblelog/soup in which I will doc [...]]]></description>
			<content:encoded><![CDATA[<p>I just created a new <a href="http://mindmachine.soup.io/">tumblelog/soup</a> in which I will document the progress of creating a Sound&amp;Light-Machine with EEG feedback loop (aka Mindmachine). The soup is currently empty but I will feed it within the next weeks with the current status of the project.</p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2008/11/mindmachine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo overlay</title>
		<link>http://ra.fnord.at/2008/10/gentoo-overlay/</link>
		<comments>http://ra.fnord.at/2008/10/gentoo-overlay/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 19:55:31 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ra.fnord.at/?p=110</guid>
		<description><![CDATA[I finally put my local ebuilds online. Browse my Gentoo [...]]]></description>
			<content:encoded><![CDATA[<p>I finally put my local ebuilds online. <a href="http://code.google.com/p/ra-gentoo-overlay/source/browse/trunk">Browse</a> my <a href="http://www.gentoo.org/">Gentoo</a> <a href="http://code.google.com/p/ra-gentoo-overlay/">overlay</a>.</p>
<p>Update:<br />
New URL: <a href="git://github.com/ra--/ra-gentoo-overlay.git">git://github.com/ra&#8211;/ra-gentoo-overlay.git</a><br />
Browse online: <a href="http://github.com/ra--/ra-gentoo-overlay/tree/master">http://github.com/ra&#8211;/ra-gentoo-overlay/tree/master</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2008/10/gentoo-overlay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatic renewing at libraries using the aleph software (tested with Vienna University of Technology and University of Vienna)</title>
		<link>http://ra.fnord.at/2008/09/automatic-renewing-at-libraries-using-the-aleph-software-tested-with-vienna-university-of-technology-and-university-of-vienna/</link>
		<comments>http://ra.fnord.at/2008/09/automatic-renewing-at-libraries-using-the-aleph-software-tested-with-vienna-university-of-technology-and-university-of-vienna/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 10:12:33 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://ra.fnord.at/?p=108</guid>
		<description><![CDATA[Since I use the libraries of universities quite heavily [...]]]></description>
			<content:encoded><![CDATA[<p>Since I use the libraries of universities quite heavily I wrote a small perl script <a href="http://ra.fnord.at/wp-content/uploads/alephrenew.pl">&#8220;alephrenew.pl&#8221;</a> about two years ago which does the renewing of books for me.</p>
<p>The reason for writing it was that I gain an advantage (to other people using the library) when I renew every day (if there are reservations on the book one with the oldest renewing date has to bring it back &#8211; at least as far as I understand the behaviour of the <a href="http://www.exlibrisgroup.com/category/Aleph">Aleph</a> software).</p>
<p>The help should be self explaining:</p>
<blockquote><p>Usage: ./alephrenew.pl [-h] [-q] -b &lt;baseurl&gt; -u &lt;username&gt; -p &lt;password&gt; [-r &lt;seconds&gt;]</p>
<p>-h    : this help message<br />
-q    : quiet (suppress success message)<br />
-b    : baseurl without trailing slash (eg. http://aleph.ub.tuwien.ac.at)<br />
-u    : username (eg. $E123456) &#8211; you will probably need to escape the &#8220;$&#8221;<br />
-p    : password &#8211; your date of birth in the form of YYYYMMDD (eg. 19730425)<br />
if you did not change it<br />
-r    : wait random time between 1 and &#8220;seconds&#8221; seconds (before starting and<br />
1 to 30 seconds between the requests &#8211; so it does not look like a script)</p>
<p>Examples:<br />
./alephrenew.pl -q -b http://aleph.ub.tuwien.ac.at -u \$E123456 -p 19730425 -r 3600<br />
./alephrenew.pl -b http://aleph.univie.ac.at -u \$E098765 -p 19851224</p>
<p>A crontab entry may look like this:<br />
0 0 * * 2-6 /path/to/alephrenew.pl -q -b http://aleph.ub.tuwien.ac.at -u \$E3862419 -p 0wN4g3 -r 7200</p></blockquote>
<p>It&#8217;s tested with the libraries of the <a href="http://www.tuwien.ac.at/">Vienna University of Technology</a> and the <a href="http://www.univie.ac.at/">University of Vienna</a> but should work with any other library using the Aleph software.</p>
<p>It is released under the terms of the <a href="http://www.gnu.org/licenses/gpl-2.0.html#TOC1">GPLv2</a>.</p>
<p>I do appreciate your feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2008/09/automatic-renewing-at-libraries-using-the-aleph-software-tested-with-vienna-university-of-technology-and-university-of-vienna/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>suspend/hibernate buttons in kde shutdown dialog</title>
		<link>http://ra.fnord.at/2007/10/suspendhibernate-buttons-in-kde-shutdown-dialog/</link>
		<comments>http://ra.fnord.at/2007/10/suspendhibernate-buttons-in-kde-shutdown-dialog/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 15:05:59 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ra.fnord.at/2007/10/suspendhibernate-buttons-in-kde-shutdown-dialog/</guid>
		<description><![CDATA[I took a patch  which implements the suspend/hibernate  [...]]]></description>
			<content:encoded><![CDATA[<p>I took a <a href="http://archive.ubuntu.com/ubuntu/pool/main/k/kdebase/kdebase_3.5.7-1ubuntu28.diff.gz">patch</a>  which implements the suspend/hibernate buttons within the shutdown dialog in kde from the <a href="http://www.kubuntu.org/">kubuntu</a> guys and made it work on <a href="http://www.gentoo.org/">gentoo</a>.</p>
<p>If you have no clue what this is all about here are two screenshots <a href="http://www.kde-apps.org/content/preview.php?preview=1&amp;id=47593&amp;file1=47593-1.png&amp;file2=47593-2.png&amp;file3=&amp;name=Hibernate%2FSuspend+Button+for+KDE+Shutdown+Dialog">[1]</a> <a href="http://www.kde-apps.org/content/preview.php?preview=2&amp;id=47593&amp;file1=47593-1.png&amp;file2=47593-2.png&amp;file3=&amp;name=Hibernate%2FSuspend+Button+for+KDE+Shutdown+Dialog">[2]</a> (actually these do not represent the patch exactly, but you should get the idea).</p>
<p>The kde split ebuild for ksmserver: <a href="http://ra.fnord.at/wp-content/uploads/ksmserver-357_suspend_hibernatetar.bz2">ebuild </a>(I will do the update to the kde-all-in-one ebuild on request).</p>
<p>To make use of the feature emerge with USE=&#8221;dbus hal&#8221;.  If you don&#8217;t see any icons next to the suspend/hibernate buttons, make sure you use an icon set that provides the files &#8220;suspend.png&#8221; and &#8220;hibernate.png&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2007/10/suspendhibernate-buttons-in-kde-shutdown-dialog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel patches</title>
		<link>http://ra.fnord.at/2007/09/kernel-patches/</link>
		<comments>http://ra.fnord.at/2007/09/kernel-patches/#comments</comments>
		<pubDate>Sat, 29 Sep 2007 15:07:36 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ra.fnord.at/2007/09/kernel-patches/</guid>
		<description><![CDATA[I updated some kernel patches:

	disk-protection patc [...]]]></description>
			<content:encoded><![CDATA[<p>I updated some kernel patches:</p>
<ul>
<li>disk-protection patch for <a href="http://www.thinkwiki.org/wiki/HDAPS">hdaps</a> which is used for hard disk head parking on ibm/lenovo notebooks if acceleration is measured: <a href="http://ra.fnord.at/wp-content/uploads/disk-protect-2623-rc8.patch">disk-protect-2623-rc8.patch</a><br />
Source patch: <a href="http://article.gmane.org/gmane.linux.drivers.hdaps.devel/993">2.6.20</a></li>
<li>aggressive link power management (ALPM is a technique where the SATA AHCI controller will put the SATA link to the disk into a very low power mode when there&#8217;s no IO going on for some time)<br />
<a href="http://ra.fnord.at/wp-content/uploads/aggressive_link_power_management-2622.patch">aggressive_link_power_management-2622.patch</a><br />
<a href="http://ra.fnord.at/wp-content/uploads/aggressive_link_power_management-2623-rc8.patch">aggressive_link_power_management-2623-rc8.patch</a><br />
Some more information on <a href="http://www.lesswatts.org/tips/disks.php#alpm">lesswatts.org</a><br />
Source patches on <a href="http://www.kernel.org/pub/linux/kernel/people/kristen/patches/SATA/alpm/">kernel.org</a></li>
<li><a href="http://ra.fnord.at/wp-content/uploads/e1000-x60-fix.patch">e1000 fix on x60s</a> which fixes the initialization of e1000 on ibm/lenovo thinkpad x60s if no cable is connected.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2007/09/kernel-patches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel &#8220;Trusted Path Execution&#8221; patch (tpe)</title>
		<link>http://ra.fnord.at/2007/09/kernel-trusted-path-execution-patch-tpe/</link>
		<comments>http://ra.fnord.at/2007/09/kernel-trusted-path-execution-patch-tpe/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 17:33:29 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">https://sunkist.annessi.at/wordpress/2007/09/10/kernel-trusted-path-execution-patch-tpe/</guid>
		<description><![CDATA[I just finished a patch to the Linux kernel which imple [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished a patch to the <a href="http://www.kernel.org/">Linux kernel</a> which implements &#8220;trusted path execution&#8221;.</p>
<p>You can specifiy a trusted directory and a group as &#8220;trusted&#8221; or &#8220;untrusted&#8221;.<br />
If the group is untrusted all users belonging to this group will only be able to execute files from the trusted directory. If the group is trusted all users will only be able to execute files from the trusted directory but users belonging to the group (and root of course).</p>
<p>Get it here: <a href="http://ra.fnord.at/wp-content/uploads/linux-2618-tpe_restriction.patch" title="Trusted path execution patch for the linux kernel 2.6.18">linux-2.6.18-tpe_restriction</a> (patch, 5 KB)</p>
<p>The patch is based on <a href="http://www.grsecurity.org/">grsecurity</a> &#8211; so credits go to Brad Spengler.</p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2007/09/kernel-trusted-path-execution-patch-tpe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel Patches (proc &amp; dmesg restriction)</title>
		<link>http://ra.fnord.at/2007/07/kernel-patches-proc-dmesg-restriction/</link>
		<comments>http://ra.fnord.at/2007/07/kernel-patches-proc-dmesg-restriction/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 16:38:11 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">https://sunkist.annessi.at/wordpress/2007/07/31/kernel-patches-proc-dmesg-restriction/</guid>
		<description><![CDATA[I updated two kernel patches to the Linux kernel.

	l [...]]]></description>
			<content:encoded><![CDATA[<p>I updated two kernel patches to the <a href="http://www.kernel.org/">Linux kernel</a>.</p>
<ul>
<li><a href="http://ra.fnord.at/wp-content/uploads/linux-2618-proc_restrictions.patch" title="Linux Kernel Patch: Restrict users from viewing all processes + additional /proc restrictions">linux-2.6.18-proc_restrictions.patch</a> (patch, 12 KB) which basically restricts non-root users from viewing all processes (plus an option for some additional /proc restrictions). It is possible to define a GID which is not affected by the restrictions.</li>
<li><a href="http://ra.fnord.at/wp-content/uploads/linux-2618-dmesg_restriction.patch" title="Linux Kernel Patch: Restrict users from viewing kernel log buffer messages">linux-2.6.18-dmesg_restriction.patch</a> (patch, 1 KB) which restricts non-root users from viewing kernel log buffer messages.</li>
</ul>
<p>Both patches are based on <a href="http://www.grsecurity.org/">grsecurity</a> &#8211; so credits go to Brad Spengler.</p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2007/07/kernel-patches-proc-dmesg-restriction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java is free and open source now!</title>
		<link>http://ra.fnord.at/2006/11/java-is-free-and-open-source-now/</link>
		<comments>http://ra.fnord.at/2006/11/java-is-free-and-open-source-now/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 17:51:31 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">https://sunkist.annessi.at/wordpress/2006/11/13/java-is-free-and-open-source-now/</guid>
		<description><![CDATA[Finally.. it´s released under the GPLv2.
Source: http [...]]]></description>
			<content:encoded><![CDATA[<p>Finally.. it´s released under the GPLv2.</p>
<p>Source: <a href="http://www.sun.com/software/opensource/java/">http://www.sun.com/software/opensource/java/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2006/11/java-is-free-and-open-source-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google code search</title>
		<link>http://ra.fnord.at/2006/10/google-code-search/</link>
		<comments>http://ra.fnord.at/2006/10/google-code-search/#comments</comments>
		<pubDate>Thu, 05 Oct 2006 10:59:00 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">https://sunkist.annessi.at/wordpress/1970/01/01/google-code-search/</guid>
		<description><![CDATA[Now google offers the possibility to search in public s [...]]]></description>
			<content:encoded><![CDATA[<p>Now google offers the possibility to search in public source code with regular expressions and limit the results depending on the license used.</p>
<p><a href="http://www.google.com/codesearch">http://www.google.com/codesearch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2006/10/google-code-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux kernel patches</title>
		<link>http://ra.fnord.at/2006/09/linux-kernel-patches/</link>
		<comments>http://ra.fnord.at/2006/09/linux-kernel-patches/#comments</comments>
		<pubDate>Mon, 25 Sep 2006 20:14:02 +0000</pubDate>
		<dc:creator>ra</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">https://sunkist.annessi.at/wordpress/2006/09/25/linux-kernel-patches/</guid>
		<description><![CDATA[I put two patches online i put together some weeks ago: [...]]]></description>
			<content:encoded><![CDATA[<p>I put two patches online i put together some weeks ago:<br />
A patch to build the driver for the rt2500 wireless chipset within the linux kernel (statically or as a module): <a href="http://ra.fnord.at/wp-content/uploads/linux-2617-rt2500-1.diff">linux-2.6.17-rt2500-1.diff</a> (diff, 1,155 KB)<br />
A patch to build the kqemu module within the linux kernel (statically or as a module): <a href="http://ra.fnord.at/wp-content/uploads/kqemu-2617.diff">kqemu-2.6.17.diff</a> (diff, 19 KB)</p>
<p>As you can see, I do prefer a kernel without modules. (:</p>
]]></content:encoded>
			<wfw:commentRss>http://ra.fnord.at/2006/09/linux-kernel-patches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

