<?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>philipp's weblog &#187; other stuff</title>
	<atom:link href="http://philipp.wagner.name/blog/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://philipp.wagner.name/blog</link>
	<description>whatever comes to a developer's mind</description>
	<lastBuildDate>Mon, 23 Jan 2012 21:44:46 +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>See you at FOSDEM</title>
		<link>http://philipp.wagner.name/blog/2012/01/see-you-at-fosdem/</link>
		<comments>http://philipp.wagner.name/blog/2012/01/see-you-at-fosdem/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 21:44:46 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=191</guid>
		<description><![CDATA[If you want to know more how to use XForms and XULRunner for application development and how the Mozilla Rapid Release Cycle has affected the development of such applications, join me for my talk as FOSDEM this year. More information is available at the FOSDEM website! See you there!]]></description>
			<content:encoded><![CDATA[<p>If you want to know more how to use XForms and XULRunner for application development and how the Mozilla Rapid Release Cycle has affected the development of such applications, join me for my talk as FOSDEM this year. More information is available at the <a href="http://fosdem.org/2012/schedule/event/developing_a_medical_application_using_xulrunner_and_xforms">FOSDEM website</a>! See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2012/01/see-you-at-fosdem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make VirtualBox USB Support Work in openSUSE 11.4</title>
		<link>http://philipp.wagner.name/blog/2011/03/make-virtualbox-usb-support-work-in-opensuse-11-4/</link>
		<comments>http://philipp.wagner.name/blog/2011/03/make-virtualbox-usb-support-work-in-opensuse-11-4/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 10:03:39 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=155</guid>
		<description><![CDATA[VirtualBox and its USB support always have caused some trouble. Since VirtualBox 4, the USB support is not part of a different binary any more (PUEL vs. OSE), but lives inside an extension pack, which you can download from the VirtualBox download site. On openSUSE, this means you can install the VirtualBox package using Yast [...]]]></description>
			<content:encoded><![CDATA[<p>VirtualBox and its USB support always have caused some trouble. Since VirtualBox 4, the USB support is not part of a different binary any more (PUEL vs. OSE), but lives inside an extension pack, which you can download from the <a href="http://www.virtualbox.org/wiki/Downloads">VirtualBox download site</a>.</p>
<p>On openSUSE, this means you can install the VirtualBox package using Yast (or zypper, or whatever you&#8217;d like to use) and then open VirtualBox, go to File &gt; Preferences &gt; Extensions, click the top &#8220;Add package&#8221; button, select the downloaded file and you&#8217;re done.</p>
<p>Well, almost done. After you add a USB device filter to your VM and boot it, you&#8217;ll notice that all entries in the Devices &gt; USB menu are grayed out.</p>
<p>Reason for this is a permission problem. Usually, VirtualBox installs a udev rule that gives all users in the vboxusers group permission to access all USB files. openSUSE chose to disable this udev rule by default for security reasons without visible notice to the users.<br />
So, to cut a long story short, open /etc/udev/rules.d/60-vboxdrv.rules, and replace the lines that are commented out with the ones below (these are almost like the commented-out lines, but replace NAME with SYMLINK+):</p>
<p><code>KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"<br />
#these two lines give access permission to vboxusers to properly work with usb nodes, this could be security risk (bnc#664520) !!<br />
SUBSYSTEM=="usb_device", ATTR{devnum}=="?*", ATTR{busnum}=="?*",<code>SYMLINK+</code>="vboxusb/$attr{busnum}/$attr{devnum}", GROUP="vboxusers"<br />
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{devnum}=="?*", ATTR{busnum}=="?*",SYMLINK+="vboxusb/$attr{busnum}/$attr{devnum}", GROUP="vboxusers"</code></p>
<p>Now reboot and you should have all USB devices available (at least if you&#8217;re in the vboxusers group, check this with the <code>id</code> command in a terminal window).</p>
<p>And while you&#8217;re at it, please ignore forum posts that modify usbfs or anything like that, newer VirtualBox versions don&#8217;t need these things any more.</p>
<p>If you only have a 10-vboxdrv.rules file, then you most likely installed VirtualBox not from the openSUSE repositories, but from the VirtualBox download site. Remove this version first and install the openSUSE version if you want to use this guide (and save you from recompiling the kernel module with every update).</p>
<p><em>(Post updated on 2011-08-15 to incorporate some user comments. Thanks guys!)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2011/03/make-virtualbox-usb-support-work-in-opensuse-11-4/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Skype, KDE4, OpenSUSE 11.3 and PulseAudio</title>
		<link>http://philipp.wagner.name/blog/2011/01/skype-kde4-opensuse-11-3-and-pulseaudio/</link>
		<comments>http://philipp.wagner.name/blog/2011/01/skype-kde4-opensuse-11-3-and-pulseaudio/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 21:50:48 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=141</guid>
		<description><![CDATA[This combination seems to be a bit hard for openSUSE. While PulseAudio solves many problems Linux users have with audio (and creates others), openSUSE seems to make it even harder for users to make use of it. That&#8217;s usually not a problem, until Skype comes into the game. As soon as it detects PulseAudio being [...]]]></description>
			<content:encoded><![CDATA[<p>This combination seems to be a bit hard for openSUSE. While PulseAudio solves many problems Linux users have with audio (and creates others), openSUSE seems to make it even harder for users to make use of it. That&#8217;s usually not a problem, until Skype comes into the game. As soon as it detects PulseAudio being present on the system, it uses it. For me, this lead to no sound on my headset, and the common suggestions in forums seems to be uninstall PulseAudio, reinstall your system, install Ubuntu and other useless suggestions.</p>
<p>But actually there is a way to get it all work together nicely and it&#8217;s not hard at all:</p>
<ol>
<li>Enable PulseAudio (#&gt; is a root console)
<pre>#&gt; setup-pulseaudio --enable</pre>
</li>
<li>Install the missing PulseAudio mixer (without it it&#8217;s like sitting in a car without driving wheel)
<pre>#&gt; zypper install pavucontrol</pre>
</li>
<li>Reboot (just to make sure &#8230;)</li>
<li>Start pavucontrol. You&#8217;ll see your sound devices (e.g. the sound card and your headset), the per-application volume controls as soon as an application uses an input or output and everything else you dreamed of.</li>
</ol>
<p>Now you can start Skype and do a test call, and you&#8217;ll be able to use pavucontrol to route its output and input to the right device (e.g. to your headset).</p>
<p>Enjoy!</p>
<p>PS: It seems that there <a href="http://fedoraproject.org/wiki/Features/KDE_PulseAudio_Integration">has been some progress</a> on KDE4 integration with PulseAudio, and I hope in openSUSE 11.4 everything will work out of the box.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2011/01/skype-kde4-opensuse-11-3-and-pulseaudio/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Majordomo Web API</title>
		<link>http://philipp.wagner.name/blog/2010/07/majordomo-web-api/</link>
		<comments>http://philipp.wagner.name/blog/2010/07/majordomo-web-api/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 16:26:39 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=90</guid>
		<description><![CDATA[Did you ever want to sync your Majordomo mailing list with another address database? Or make it easy for users to unsubscribe using a web interface? Then you will have noticed that Majordomo only offers you a mail interface or an admin tool that you have install on your mailserver. So what if you don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Did you ever want to sync your Majordomo mailing list with another address database? Or make it easy for users to unsubscribe using a web interface? Then you will have noticed that Majordomo only offers you a mail interface or an admin tool that you have install on your mailserver. So what if you don&#8217;t have access to the mailserver?</p>
<p>Then I got the solution for you: introducing Majordomo Web API</p>
<p>I needed to sync an address database in eGroupware with different Majordomo mailing lists (every night). I did this by building a small API that looks like a normal asynchronous API &#8211; just with the difference that in be background a mail request to Majordomo is sent and the results are retrieved from an IMAP or POP3 account.</p>
<p><a href="http://philipp.wagner.name/hg/majordomo-web/">Get the code</a><a href="http://philipp.wagner.name/hg/majordomo-web/"></a>, or look at <a href="http://philipp.wagner.name/hg/majordomo-web/file/5e5168295125/egroupware_update_mailinglists.php">egroupware_update_mailinglists.php</a> script for an example. It should be easy to build a modern AJAX web interface on top of the JSON-based RPC interface.</p>
<p>As it always is, our mailing list provider switched from Majordomo to Mailman only a couple weeks after I finished the scripts. So the work didn&#8217;t really pay off, but I hope it&#8217;s useful to somebody out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2010/07/majordomo-web-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Note to myself: NFS4 is not yet ready</title>
		<link>http://philipp.wagner.name/blog/2010/03/note-to-myself-nfs4-is-not-yet-ready/</link>
		<comments>http://philipp.wagner.name/blog/2010/03/note-to-myself-nfs4-is-not-yet-ready/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 21:16:13 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=85</guid>
		<description><![CDATA[I have several PCs mounting its home directory as well as other data directories from a NFS server. Until now I was using good (?) old NFSv3. Today I tried a switch to NFSv4 in order to decrease locking the problems Firefox has with its sqlite databases being on a NFS filesystem. Quick notes: if [...]]]></description>
			<content:encoded><![CDATA[<p>I have several PCs mounting its home directory as well as other data directories from a NFS server. Until now I was using good (?) old NFSv3. Today I tried a switch to NFSv4 in order to decrease locking the problems Firefox has with its sqlite databases being on a NFS filesystem. Quick notes:</p>
<ul>
<li>if you use (and need) ACLs (the default POSIX ACLs), do not switch to NFSv4. It probably will take ten more years to be fully working (the speed of NFS development seems to be close to GNU Hurd).</li>
<li>if you modify the &#8220;Domain&#8221; entry in /etc/idmapd.conf, modify it on all clients and the server, otherwise all users and groups will be mapped to &#8220;nobody&#8221;.</li>
<li>I don&#8217;t know yet if the Firefox locking problems are gone (I hope so &#8230;)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2010/03/note-to-myself-nfs4-is-not-yet-ready/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XForms for Firefox 3.6</title>
		<link>http://philipp.wagner.name/blog/2010/01/xforms-for-firefox-3-6/</link>
		<comments>http://philipp.wagner.name/blog/2010/01/xforms-for-firefox-3-6/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 09:55:43 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=79</guid>
		<description><![CDATA[Firefox 3.6 will be released today, Januar 21st. Unfortunately the XForms extension for this version is not yet ready. We&#8217;re planning an official release for Firefox 3.6 within this quarter, see bug 539184 for details. The nightly builds for 3.6 are currently broken as well, I hope to get this fixed until the end of [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox 3.6 will be released today, Januar 21st. Unfortunately the XForms extension for this version is not yet ready. We&#8217;re planning an official release for Firefox 3.6 within this quarter, see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=539184">bug 539184</a> for details. The nightly builds for 3.6 are currently broken as well, I hope to get this fixed until the end of the week.</p>
<p>As a side note, there will be no official release for XForms for Firefox 3.5. The XPI package available at my builds page has been tested by many people and works well, but no further development efforts will go into that version.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2010/01/xforms-for-firefox-3-6/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MDC go, go, go!</title>
		<link>http://philipp.wagner.name/blog/2009/12/mdc-go-go-go/</link>
		<comments>http://philipp.wagner.name/blog/2009/12/mdc-go-go-go/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 09:51:10 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=68</guid>
		<description><![CDATA[Yeah, documentation in an unstable wiki is great. I wonder if MDC uses HTTPS only to make it even slower &#8230;]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-69 aligncenter" title="MDC unavailable" src="http://philipp.wagner.name/blog/wp-content/uploads/2009/12/mdc-unavailable.jpg" alt="MDC unavailable" width="540" height="144" /></p>
<p>Yeah, documentation in an unstable wiki is great. I wonder if MDC uses HTTPS only to make it even slower &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2009/12/mdc-go-go-go/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speiseplan Studentenwerk München als RSS</title>
		<link>http://philipp.wagner.name/blog/2009/10/speiseplan-studentenwerk-munchen-als-rss/</link>
		<comments>http://philipp.wagner.name/blog/2009/10/speiseplan-studentenwerk-munchen-als-rss/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 22:05:27 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=65</guid>
		<description><![CDATA[Damit alle, die kein KDE4 benutzen (oder sich noch nicht von Ubuntu trennen können), dennoch in Genuss des Mensa-Speiseplans bekommen, habe ich die RSS-Feeds aktualisiert (die gab es schon länger, aber eher so als Service unter Freunden): http://philipp.wagner.name/cafeteriamenu/ Der Quellcode ist ebenfalls im Mercurial Repository verfügbar (nein, Code zum Parsen von HTML-Seiten ist nicht schön). [...]]]></description>
			<content:encoded><![CDATA[<p>Damit alle, die kein KDE4 benutzen (oder sich noch nicht von Ubuntu trennen können), dennoch in Genuss des Mensa-Speiseplans bekommen, habe ich die RSS-Feeds aktualisiert (die gab es schon länger, aber eher so als Service unter Freunden):</p>
<p><a href="http://philipp.wagner.name/cafeteriamenu/">http://philipp.wagner.name/cafeteriamenu/</a></p>
<p>Der Quellcode ist ebenfalls im <a href="http://philipp.wagner.name/hg/cafeteria">Mercurial Repository</a> verfügbar (nein, Code zum Parsen von HTML-Seiten ist nicht schön).</p>
<p>Have a lot of fun&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2009/10/speiseplan-studentenwerk-munchen-als-rss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New version of the Cafeteria plasmoid</title>
		<link>http://philipp.wagner.name/blog/2009/10/new-version-of-the-cafeteria-plasmoid/</link>
		<comments>http://philipp.wagner.name/blog/2009/10/new-version-of-the-cafeteria-plasmoid/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:09:47 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=58</guid>
		<description><![CDATA[The semester starts again and I took the chance to get back to the cafeteria plasmoid and fix some old issues. Changes include: Fix the cmake build files to work with newer KDE versions. Add caching and network status detection to the data engine. The menu for the next week is cached if you are [...]]]></description>
			<content:encoded><![CDATA[<p>The semester starts again and I took the chance to get back to the cafeteria plasmoid and fix some old issues. Changes include:</p>
<ul>
<li>Fix the cmake build files to work with newer KDE versions.</li>
<li>Add caching and network status detection to the data engine. The menu for the next week is cached if you are online and available without network connection. The cached data is only used if no network connection is available and refreshed as soon as you&#8217;re online again.</li>
</ul>
<p>Download the source packages:<a href="http://philipp.wagner.name/sw/cafeteria_engine-0.2.tar.bz2"><br />
cafeteria_engine-0.2.tar.bz2</a><br />
<a href="http://philipp.wagner.name/sw/cafeteria_plasmoid-0.2.tar.bz2">cafeteria_plasmoid-0.2.tar.bz2</a></p>
<p>Build instructions are included in the README files.</p>
<p>I&#8217;ve added the code to my <a href="http://philipp.wagner.name/hg/cafeteria">Mercurial repository</a> as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2009/10/new-version-of-the-cafeteria-plasmoid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy files with dd and netcat</title>
		<link>http://philipp.wagner.name/blog/2009/10/copy-files-with-dd-and-netcat/</link>
		<comments>http://philipp.wagner.name/blog/2009/10/copy-files-with-dd-and-netcat/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 07:59:08 +0000</pubDate>
		<dc:creator>Philipp Wagner</dc:creator>
				<category><![CDATA[other stuff]]></category>

		<guid isPermaLink="false">http://philipp.wagner.name/blog/?p=54</guid>
		<description><![CDATA[Today I had to copy several LVM partitions to another machine. The first tools I thought of were dd and netcat (nc), the swiss army knife for every sysadmin. But the following two lines didn&#8217;t make me happy: source$ ssh root@192.168.66.2 -- nc -l 3333 \&#124; dd of=/dev/VolGroupData/data1 &#38; source$ dd if=/dev/VolGroupData/data1 &#124; nc 192.168.66.2 [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to copy several LVM partitions to another machine. The first tools I thought of were dd and netcat (nc), the swiss army knife for every sysadmin. But the following two lines didn&#8217;t make me happy:</p>
<pre>source$ ssh root@192.168.66.2 -- nc -l 3333 \| dd of=/dev/VolGroupData/data1 &amp;
source$ dd if=/dev/VolGroupData/data1 | nc 192.168.66.2 3333</pre>
<p>dstat on the target host shows:</p>
<pre>----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
[... removed first few lines until memory caches are full ...]
 0   1  88  10   0   0|  15M   15M|  16M  493k|   0     0 |  15k 9177
 0   1  88  10   0   0|  16M   17M|  17M  538k|   0     0 |  16k 9597
 0   1  89  10   0   0|  16M   16M|  17M  547k|   0     0 |  16k 9767
 0   1  88  10   0   0|  16M   15M|  17M  541k|   0     0 |  16k 9413</pre>
<p>Only 17 MB/s over Gigabit ethernet? And where are the disk reads coming from? Well, after some more experimenting, the answer was not that hard: block size. dd uses a default block size of 512 Bytes, increasing it to 4 KB shows an entirely different picture:</p>
<pre>source$ ssh root@192.168.66.2 -- nc -l 3333 \| dd <strong>obs=4K</strong> of=/dev/VolGroupData/data1 &amp;
source$ dd <strong>ibs=4K</strong> if=/dev/VolGroupData/data1 | nc 192.168.66.2 3333</pre>
<pre>----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
[... removed first few lines until memory caches are full ...]
1   6  92   0   0   0|   0    74M|  77M 1821k|   0     0 |  57k   85k
1   7  92   0   0   0|1638B   73M|  77M 1819k|   0     0 |  59k   88k
1   8  91   0   0   0|   0    70M|  74M 1724k|   0     0 |  49k   72k
1   7  92   0   0   0|   0    70M|  74M 1737k|   0     0 |  56k   82k
1   6  92   0   0   0|   0    73M|  76M 1795k|   0     0 |  57k   86k
1   6  93   0   0   0|   0    72M|  75M 1779k|   0     0 |  56k   85k</pre>
<p>Now, how about that? Average was in the end around 65 MB/s, which is much closer to what I expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://philipp.wagner.name/blog/2009/10/copy-files-with-dd-and-netcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

