<?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>Bluehorn's Blog</title>
	<atom:link href="http://www.landschoff.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.landschoff.net/blog</link>
	<description>Ramblings of Torsten Landschoff</description>
	<lastBuildDate>Sun, 07 Nov 2010 18:24:29 +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>Accessing the Eclipse source code</title>
		<link>http://www.landschoff.net/blog/2010/11/accessing-the-eclipse-source-code/</link>
		<comments>http://www.landschoff.net/blog/2010/11/accessing-the-eclipse-source-code/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 18:24:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=221</guid>
		<description><![CDATA[Sometimes I really want to know how Eclipse implements one feature or another, because Eclipse sometimes feels like magic. Usually it turns out they are also just cooking with water. Most open source code is easily available by checking out a project from some SCM. For eclipse it is not as easy. But there is [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I really want to know how Eclipse implements one feature or another, because Eclipse sometimes feels like magic. Usually it turns out they are also just cooking with water.</p>
<p>Most open source code is easily available by checking out a project from some SCM. For eclipse it is not as easy. But there is a nice <a href="http://www.vogella.de/articles/EclipseCodeAccess/article.html">tutorial</a> how to access eclipse source code by Lars Vogel. This post is just so I can recover the link next time instead of googling for an hour. Thanks, Lars!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/11/accessing-the-eclipse-source-code/feed/</wfw:commentRss>
		<slash:comments>94</slash:comments>
		</item>
		<item>
		<title>Fun with my Sony PRS-600 eBook reader</title>
		<link>http://www.landschoff.net/blog/2010/10/fun-with-my-sony-prs-600-ebook-reader/</link>
		<comments>http://www.landschoff.net/blog/2010/10/fun-with-my-sony-prs-600-ebook-reader/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 19:18:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[ebooks]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=216</guid>
		<description><![CDATA[I finally bought myself an eBook reader. To be precise, I got the Sony PRS-600 Reader Touch Edition. Two reasons: I bought a lot of technical literature in digital (PDF) format and want to read it without looking at a CRT while on a train. The idea of having a lot of reference material with [...]]]></description>
			<content:encoded><![CDATA[<p>I finally bought myself an eBook reader. To be precise, I got the <a href="http://www.sonystyle.com/webapp/wcs/stores/servlet/ProductDisplay?storeId=10151&#038;catalogId=10551&#038;langId=-1&#038;productId=8198552921665921180">Sony PRS-600 Reader Touch Edition</a>. Two reasons:</p>
<ul>
<li>I bought a lot of technical literature in digital (PDF) format and want to read it without looking at a CRT while on a train.
<li>The idea of having a lot of reference material with me appeals me.
<li>Many of my books are read only once (especially Star Trek etc.) and I don&#8217;t want to waste paper and the energy for shipping.
</ul>
<p>First of all, the display is only really great with a powerful light source. The reflection is a bit of a nuisance but I can live with it. What I don&#8217;t like is the PDF support of the device. Viewing a normal page, the font faces are so tiny that it is not readable in any way. The zoom feature works around that, but you can&#8217;t switch pages from there. Instead you have to unzoom, go to the next page and zoom again. Crappy! There is also the reflow option, which does not mix with source code figures in my books.</p>
<p>I am glad that most of my electronic books are from <a href="http://pragprog.com/">The Pragmatic Bookshelf</a>, which means that I can download them in Epub as well, all without DRM. Thanks, guys!</p>
<p>For the PDFs I would like to carry, I googled a while and stumbled across <a href="http://www.charlietanksley.net/philtex/reading-pdfs-on-portables/">this blog post</a>. The example to work with source documents worked fine for <a href="http://greenteapress.com/semaphores/">The Little Book of Semaphores</a> at least. But even with <a href="http://sourceforge.net/projects/briss/">BRISS</a> I did not (yet) manage to crop books I bought from <a href="http://apress.com/">APress</a>. Most likely I will try doing it via a bit of python scripting and the poppler bindings for python.</p>
<p>I also bought my first DRM content: <a href="http://www.ebooks.com/ebooks/book_details.asp?IID=235007">Star Trek Vanguard: Harbinger</a>. I really enjoyed the book, but the download was a PITA. After buying, you only get a link to a ASCM file, which is not useful by itself. One needs Adobe Digital Editions to download it. So I installed it into a virtual machine which has XP installed. After that, I was able to read it on the PC, which wasn&#8217;t the goal of the exercise. To put it on the reader, one needs to authorize it from the same Windows software and upload the file.</p>
<p>All that stuff took almost an hour and of course the digital edition of the book is more expensive than getting it from amazon germany. But at least I did not have to wait for delivery. Having finished the book I wanted to buy the <a href="http://www.ebooks.com/ebooks/book_details.asp?IID=262044">second part</a>, but of course it is only available for canadian residents on ebooks.com. I researched a number of ebook sites which mostly sell it only in the US. Funny enough, the first hits when searching where pirated versions of the book in full text. Why do they make it so hard to get stuff legally? *sigh*</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/10/fun-with-my-sony-prs-600-ebook-reader/feed/</wfw:commentRss>
		<slash:comments>63</slash:comments>
		</item>
		<item>
		<title>Merged wxWidgets 2.8.11.0 for Debian</title>
		<link>http://www.landschoff.net/blog/2010/08/merged-wxwidgets-2-8-11-0-for-debian/</link>
		<comments>http://www.landschoff.net/blog/2010/08/merged-wxwidgets-2-8-11-0-for-debian/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 21:37:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[wxwidgets]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=210</guid>
		<description><![CDATA[Just in case I forget the link again: 7 weeks ago (says git) I merged upstream 2.8.11.0 into the Debian packaging git. The changes are available at a personal alioth repo if anybody cares. Edit: I just wanted to file a bug, only to notice that I did this weeks ago. Need more memory!]]></description>
			<content:encoded><![CDATA[<p>Just in case I forget the link again: 7 weeks ago (says git) I merged upstream 2.8.11.0 into the Debian packaging git. The changes are available at <a href="http://git.debian.org/?p=users/torsten/wx.git;a=shortlog;h=refs/heads/debian-wx2.8">a personal alioth repo</a> if anybody cares.</p>
<p>Edit: I just wanted to file a bug, only to notice that I <a href="http://bugs.debian.org/586129">did this weeks ago</a>. Need more memory!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/08/merged-wxwidgets-2-8-11-0-for-debian/feed/</wfw:commentRss>
		<slash:comments>65</slash:comments>
		</item>
		<item>
		<title>How to run a single unit test/unit test module with py.test</title>
		<link>http://www.landschoff.net/blog/2010/07/how-to-run-a-single-unit-testunit-test-module-with-py-test/</link>
		<comments>http://www.landschoff.net/blog/2010/07/how-to-run-a-single-unit-testunit-test-module-with-py-test/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 10:43:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[py.test]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=203</guid>
		<description><![CDATA[Note to self: It is actually possible to select a single test module or a single test function in py.test. But passing the file name as argument to a py.test invocation selects only the doctest from that file (wtf!?). Instead, you need to call it like this: $ py.test -k test_module # to run the [...]]]></description>
			<content:encoded><![CDATA[<p>Note to self: It is actually possible to select a single test module or a single test function in <a href="http://pytest.org/">py.test</a>.</p>
<p>But passing the file name as argument to a py.test invocation selects only the doctest from that file (wtf!?). Instead, you need to call it like this:</p>
<pre lang="bash">
$ py.test -k test_module    # to run the tests from test_module.py
$ py.test -k test_func      # to run tests having the function name test_func
</pre>
<p>This is documented in the section <a href="http://codespeak.net/py/dist/test/features.html#advanced-test-selection-and-running-modes">advanced test selection and running modes</a> of the py.test documentation, although I fail to see how this is advanced.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/07/how-to-run-a-single-unit-testunit-test-module-with-py-test/feed/</wfw:commentRss>
		<slash:comments>136</slash:comments>
		</item>
		<item>
		<title>Postprocessing conference videos</title>
		<link>http://www.landschoff.net/blog/2010/07/postprocessing-conference-videos/</link>
		<comments>http://www.landschoff.net/blog/2010/07/postprocessing-conference-videos/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 22:03:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[mlt]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=167</guid>
		<description><![CDATA[I was planning to attend DebConf New York this year, but for a number of reasons I decided not to go. Fortunately, Ferdinand Thommes organized a MiniDebConf in Berlin at LinuxTag and I managed to attend. Thanks, Ferdinand! There were a number of interesting Talks. I especially liked the talk of our DPL, and those [...]]]></description>
			<content:encoded><![CDATA[<p>I was planning to attend <a href="http://debconf10.debconf.org/">DebConf New York</a> this year, but for a number of reasons I decided not to go. Fortunately, Ferdinand Thommes organized a <a href="http://www.minidebconf.de/2010/berlin/">MiniDebConf</a> in Berlin at <a href="http://www.linuxtag.org/">LinuxTag</a> and I managed to attend. Thanks, Ferdinand!</p>
<p>There were a number of interesting <a href="http://wiki.debconf.org/wiki/Miniconf-LT-Berlin/2010#Schedule">Talks</a>. I especially liked the talk of our DPL, and those about piuparts and git-buildpackage. In contrast to the other LinuxTag talks, we had a livestream of our talks and recorded (most) of them. The kudos for setting this up goes to Alexander Wirt, who spent quite a few hours to get it up and running.</p>
<p>I have to apologize for being late in bringing my Notebook, which was intended to do the theora encoding of the livestream. This was a misunderstanding on my part, I should have known that this is not going to be setup in the night before show time&#8230; So to compensate the extra hours he had to put in for me, I offered to do the post processing of the videos.</p>
<h2>Basic approach for post processing</h2>
<p>The main goal of post processing the videos was (of course) to compress them to a usable size from the original 143 GB. I also wanted to have a title on each video, and show the sponsors at the end of the video.</p>
<p>My basic idea to implement that consisted of the following steps:</p>
<ol>
<li>Create a title animation template.</li>
<li>Generate title animations from template for all talks.</li>
<li>Use a video editor to create a playlist of the parts title &#8211; talk &#8211; epilogue.</li>
<li>Run the video editor in batch mode to generate the combined video.</li>
<li>Encode the resulting video as ogg theora.</li>
</ol>
<p>As always with technology, it turned out that the original plan needed a few modifications.</p>
<h2>Title animations</h2>
<div style="float:right; border:1px dashed; padding:3px;"><video width="360 "height="288" src="http://www.landschoff.net/blog/uploads/2010/07/mdc2010_title_anim1.ogv" controls="controls"></video></div>
<p>Originally I wanted to use <a href="http://www.blender.org/">Blender</a> for the title animation, but I knew it is quite a complicated bit of software. So I looked for something simpler, and stumbled across an <a href="https://www.lwn.net/Articles/377939/">article</a> that pointed me towards <a href="http://www.synfig.org/">Synfig Studio</a> for 2D animation. This is also in Debian, so I gave it a try.</p>
<p>I was delighted that Synfig Studio has a command line renderer which is just called <tt>synfig</tt> and that the file format is XML, which would make it simple to batch-create the title animations. My title template can be found in <a href="http://landschoff.net/git/?p=mdc-video.git;a=summary">this git repository</a>.</p>
<h3>Batch creation of title animations</h3>
<p>I used a combination of <tt>make</tt> and a simple <a href="http://landschoff.net/git/?p=mdc-video.git;a=blob;f=doit.py;h=2601eac32d653056e6f516ce148bb8a7bda70dd5;hb=18026583d915c166b19fd26535cb49019d1158af">python script</a> to replace the author name and the title of the talk into the synfig XML file. The data for all talks is another XML file <tt>talks.xml</tt>. Basically, I used a simple <a href="http://www.w3.org/TR/xpath/">XPath</a> expression to find the relevant text node and change the data using the ElementTree API of <a href="http://codespeak.net/lxml/">lxml python module</a>.</p>
<p>The same could be done using <a href="http://www.w3.org/TR/xslt">XSLT</a> of course (for a constant replacement, see <a href="http://landschoff.net/git/?p=mdc-video.git;a=blob;f=test.xsl;h=ba2a20d545c5076ea1b78707ab5e585ffa219262;hb=18026583d915c166b19fd26535cb49019d1158af">this file</a>) but I found it easier to combine two XML files in python.</p>
<p>Note that I create PNG files with synfig and use <a href="http://www.ffmpeg.org/">ffmpeg</a> to generate a DV file from those. Originally, I had synfig create DV files directly but those turned out quite gray for some reason. I am now unable to reproduce this problem.</p>
<h2>Combining the title animation with the talk</h2>
<p>For joining the title animation with the talk, I originally went with <a href="http://www.openshotvideo.com/">OpenShot</a>, which somebody of the video team had running at the conference. My idea was to mix a single video manually and just replace the underlying data files for each talk. I expected that this would be easy using the <tt>openshot-render</tt> command, which renders the output video from the input clips and the <a href="http://landschoff.net/git/?p=mdc-video.git;a=blob;f=master/master.osp;h=f32c0c2dc5e8ca88c69eff88fd46f70318064beb;hb=18026583d915c166b19fd26535cb49019d1158af">OpenShot project file</a>. However, OpenShot stores the video lengths in the project file and will take those literally, so this did not work for talks of different play times&#8230;</p>
<p>I considered working with <a href="http://www.kinodv.org/">Kino</a> or <a href="http://kdenlive.org/">Kdenlive</a> but they did not look more appropriate for this use case. I noticed that OpenShot and Kdenlive both use the <a href="http://www.mltframework.org/">Media Lovin&#8217; Toolkit</a> under the hood, and OpenShot actually serializes the MLT configuration to <tt>$HOME/.openshot/sequence.xml</tt> when rendering. I first tried to read that XML file from python (using the mlt python bindings from the <tt>python-mlt2</tt> package) but did not find an API function to do that. So I just hard coded the <a href="http://landschoff.net/git/?p=mdc-video.git;a=blob;f=sequence.py;h=030ea9e2b2cfcb279d0baa19d03f09397583d644;hb=18026583d915c166b19fd26535cb49019d1158af">video sequence</a> in python.</p>
<p>I ran into a few gotchas on the way:</p>
<ul>
<li>it&#8217;s easy to segfault MLT from Python (something is wrong with the refcounting)</li>
<li>generating ogg theora using MLT from Python (which uses libavformat) resulted in a bad audio/video synchronisation of the output (more than 1 second for 1 hour of video)</li>
<li>generating dv from MLT and running <a href="http://v2v.cc/~j/ffmpeg2theora/">ffmpeg2theora</a> on the result is disk-bound on my quad core system &#8211; so use a pipe to ffmpeg2theora</li>
</ul>
<h2>Things to improve</h2>
<p>While the results look quite okay for me now, there is a lot of room for improvement.</p>
<ul>
<li>What bothers me the most is the unequal audio volume between talks. We should apply something like <a href="http://replaygain.hydrogenaudio.org/">replay gain</a> for normalization. I did not find an easy way to add this to the processing pipeline, otherwise it would have been included already.</li>
<li>Original recordings have different aspect ratios, so after combining them, there is a letterbox added. This is the case for <a href="http://meetings-archive.debian.net/pub/debian-meetings/2010/minidebconf-berlin/MDC2010_Brederlow_MultiArch.ogv">Goswin&#8217;s talk on Multiarch</a> for example. I&#8217;d rather have the title distorted or letter boxed, if I get around to it, I will fix it in the script.</li>
<li>Most of the recordings concentrate on showing the slides. As we did not keep the raw camera data, but recorded the <a href="http://dvswitch.alioth.debian.org/wiki/">DVswitch</a> output, we missed the opportunity to show the speaker more often in full screen. Looking at the same slide becomes quite boring after half a minute, so it would be better<br />
to show the speaker more often. That would require quite a bit of man power for post processing though, I have to admit that I did not watch all the hours of video.</li>
<li>We could cut a bit off the talk at start and end, when the speaker discusses where he is available for questions. It is not of interest anymore after the conference is over.</li>
</ul>
<h2>Availability</h2>
<ul>
<li>git repo (browsing): <a href="http://www.landschoff.net/git/?p=mdc-video.git;a=summary">http://www.landschoff.net/git/?p=mdc-video.git;a=summary</a></li>
<li>git repo (clone): <a href="git://landschoff.net/mdc-video">git://landschoff.net/mdc-video</a></li>
<li>Videos: <a href="http://meetings-archive.debian.net/pub/debian-meetings/2010/minidebconf-berlin/">http://meetings-archive.debian.net/pub/debian-meetings/2010/minidebconf-berlin/</a> (<strong>note:</strong> most of these are in german, apart from the DPL and the LXDE talk)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/07/postprocessing-conference-videos/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.landschoff.net/blog/uploads/2010/07/mdc2010_title_anim1.ogv" length="369157" type="video/ogg" />
<enclosure url="http://meetings-archive.debian.net/pub/debian-meetings/2010/minidebconf-berlin/MDC2010_Brederlow_MultiArch.ogv" length="426287215" type="video/ogg" />
		</item>
		<item>
		<title>New notebook: Dell Latitude E6400</title>
		<link>http://www.landschoff.net/blog/2010/03/new-notebook-dell-latitude-e6400/</link>
		<comments>http://www.landschoff.net/blog/2010/03/new-notebook-dell-latitude-e6400/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 23:22:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[linux hardware dell]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=161</guid>
		<description><![CDATA[It has been some time since I blogged about something. I wanted to write this post for a while, but never got around. Since beginning of february 2010, I have a new job and got a new work notebook: A shiny Dell Latitude E6400. Interestingly, the company usually relies on getting Lenovo Notebooks due to [...]]]></description>
			<content:encoded><![CDATA[<p>It has been some time since I blogged about something. I wanted to write this post for a while, but never got around.</p>
<p>Since beginning of february 2010, I have a new job and got a new work notebook: A shiny Dell Latitude E6400. Interestingly, the company usually relies on getting Lenovo Notebooks due to good Linux support, but we were unable to find a notebook without integrated camera and decent specs. We also researched some HP Notebooks. We ended up with a Dell since the website makes it really easy to find a system that fits your requirements.</p>
<p>There is still room for improvement though &#8211; you still have to select between Vostro, Latitude, Precision Mobile and XPS before you are allowed to configure the system. There is a filter on the left side of the shop, but filtering for a Core 2 Duo and 4 GB RAM won&#8217;t show you the notebook I got. Instead there is some overpriced Latitude (~ €3000) and an XPS system. I just tried the XPS, but was unable to find a Core 2 Duo processor in the options.</p>
<p>Anyway, somehow I made it through and got the following configuration:</p>
<table>
<tr>
<th>Processor
<td>Intel(R) Core(TM)2 Duo CPU  P8700  @ 2.53GHz</p>
<tr>
<th>RAM
<td>4 GB 800MHz DDR2</p>
<tr>
<th>Graphics
<td>Mobile Intel Integrated Graphics Media Accelerator X4500HD</p>
<tr>
<th>Display
<td>14.1&#8243; Widescreen WXGA+ (1440X900), LED backlight, non-glare</p>
<tr>
<th>Hard Drive
<td>Seagate ST9250410ASG 250GB</p>
<tr>
<th>Webcam
<td>None, but microphone fitted</p>
<tr>
<th>Battery
<td>9-cell 85 Wh</p>
<tr>
<th>WLAN
<td>Intel Wireless WiFi Link 5100 (according to lspci, I did not care too much)</p>
<tr>
<th>LAN
<td>Intel 82567LM Gigabit Network Connection<br />
</table>
<p>I installed Ubuntu karmic (amd64) the day it arrived and I am impressed. I have yet to find a serious problem with  hardware support. Everything just worked out of the box, installation was done after half an hour (I needed 10 minutes to find a network cable since the installer did not support the wireless). I wanted to install Debian on it but so far I did not get around to actually do it. But I expect sid to perform just as well with lenny probably lacking some of the needed drivers.</p>
<p>So why am I writing this? The main point is that you can buy a notebook today and have it fully supported wrt. Linux. Open Source has come a long way! </p>
<p>Second: If I replace my personal notebook (a Sony Vaio), I will probably buy Dell as well. Definitely nothing from Sony, because I did not find any way to change the display brightness for the 3 years old system, which makes it usable only next to a power outlet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/03/new-notebook-dell-latitude-e6400/feed/</wfw:commentRss>
		<slash:comments>108</slash:comments>
		</item>
		<item>
		<title>Watching TV with vlc on Linux via T-Home Entertain</title>
		<link>http://www.landschoff.net/blog/2010/02/watching-tv-with-vlc-on-linux-via-t-home-entertain/</link>
		<comments>http://www.landschoff.net/blog/2010/02/watching-tv-with-vlc-on-linux-via-t-home-entertain/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 22:25:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=159</guid>
		<description><![CDATA[For quite a while we are receiving TV via Internet. The original reason is that I got at most 2 MBit/s via ADSL due to line noise, but VDSL supports 25 MBit/s on the same line. Of course, you couldn&#8217;t order the DSL line without also getting a phone flat rate and IPTV. Most of [...]]]></description>
			<content:encoded><![CDATA[<p>For quite a while we are receiving TV via Internet. The original reason is that I got at most 2 MBit/s via ADSL due to line noise, but VDSL supports 25 MBit/s on the same line. Of course, you couldn&#8217;t order the DSL line without also getting a phone flat rate and IPTV.</p>
<p>Most of the channels are encrypted and can only be received with the original &#8220;Media Receiver&#8221;, which is a proprietary (and Microsoft) solution. But at least, I can watch the public service broadcasts using <a href="http://www.ard-digital.de/index.php?id=14028&#038;languageid=1">these playlists</a> for VLC or mplayer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/02/watching-tv-with-vlc-on-linux-via-t-home-entertain/feed/</wfw:commentRss>
		<slash:comments>106</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.5.1 mouse event problems with gtk &gt;= 2.18</title>
		<link>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/</link>
		<comments>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 11:59:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[gtk]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=155</guid>
		<description><![CDATA[Recently, Eclipse started ignoring clicks on dialog buttons for me. This seems to be due to some changes in gtk 2.18. It does not use native windows for all widgets anymore, and SWT seems to rely on it. Thanks to this blog post, I have this fix in my bashrc: alias eclipse="GDK_NATIVE_WINDOWS=true eclipse" The Debian [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, Eclipse started ignoring clicks on dialog buttons for me. This seems to be due to some changes in gtk 2.18. It does not use native windows for all widgets anymore, and SWT seems to rely on it.</p>
<p>Thanks to <a href="http://www.bernie.net.my/blog/2009/10/16/gtk2-2182-1-breaks-eclipse-351/">this blog post</a>, I have this fix in my bashrc:</p>
<pre lang="bash">
alias eclipse="GDK_NATIVE_WINDOWS=true eclipse"
</pre>
<p>The Debian bug tracker also knows about <a href="http://bugs.debian.org/552480">this problem</a>, which is partly fixed for the eclipse packages. Bad luck that I am using a download from eclipse.org.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/feed/</wfw:commentRss>
		<slash:comments>117</slash:comments>
		</item>
		<item>
		<title>quiltrc for Debian packaging</title>
		<link>http://www.landschoff.net/blog/2010/01/quiltrc-for-debian-packaging/</link>
		<comments>http://www.landschoff.net/blog/2010/01/quiltrc-for-debian-packaging/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 14:50:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[debian quilt]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=149</guid>
		<description><![CDATA[Working on another laptop, I was missing my quiltrc settings. I think, I got them from a this email by Marco d&#8217;Itri. Perhaps it is of help to somebody (for example, when I go searching for it again). BTW, I changed it locally to check only for debian folder in parent directories and create debian/patches [...]]]></description>
			<content:encoded><![CDATA[<p>Working on another laptop, I was missing my quiltrc settings. I think, I got them from a <a href="http://lists.debian.org/debian-devel/2008/05/msg00065.html">this email by Marco d&#8217;Itri</a>. Perhaps it is of help to somebody (for example, when I go searching for it again).</p>
<p>BTW, I changed it locally to check only for <tt>debian</tt> folder in parent directories and create <tt>debian/patches</tt> automatically if needed:</p>
<pre lang="bash">
for d in . .. ../.. ../../.. ../../../.. ../../../../..; do
    if [ -d $d/debian ]; then
        if ! [ -d $d/debian/patches ]; then
            mkdir $d/debian/patches
        fi
        export QUILT_PATCHES=debian/patches
    fi
done
</pre>
<p>I&#8217;d rather end up with a <tt>patches</tt> dir inside the <tt>debian</tt> folder instead of having it at a random place in the package sources when adding the first quilt patch.</p>
<p>I wonder if we should ship this with the quilt package!?</p>
<p><b>Update:</b> After discussion with James Vega on IRC, the quiltrc evolved into this version:</p>
<pre lang="bash">
d=.
while [ ! -d "$d/debian" -a `readlink -e $d` != / ]; do
    d="$d/.."
done

if [ -d "$d/debian" ]; then
    export QUILT_PATCHES=debian/patches
    if ! [ -d $d/debian/patches ]; then
        mkdir $d/debian/patches
    fi
fi
</pre>
<p>This works with any directory depth while the original would only support 5 levels from the package base directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/01/quiltrc-for-debian-packaging/feed/</wfw:commentRss>
		<slash:comments>105</slash:comments>
		</item>
		<item>
		<title>libtool silently skips shared libraries without -rpath</title>
		<link>http://www.landschoff.net/blog/2009/12/libtool-silently-skips-shared-libraries-without-rpath/</link>
		<comments>http://www.landschoff.net/blog/2009/12/libtool-silently-skips-shared-libraries-without-rpath/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 16:04:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Observations]]></category>
		<category><![CDATA[libtool]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=139</guid>
		<description><![CDATA[Ouch! This is the second time I am running into this so I&#8217;ll write it up this time. I used libtool via automake for building a python module. Quite unhelpfully, libtool happens to build only the static library. It does that even though I passed the -module option, which should make it clear that a [...]]]></description>
			<content:encoded><![CDATA[<p>Ouch! This is the second time I am running into this so I&#8217;ll write it up this time.</p>
<p>I used libtool via automake for building a python module. Quite unhelpfully, libtool happens to build only the static library. It does that even though I passed the <tt>-module</tt> option, which should make it clear that a static library does not help at all. There is also no mention why it skips the shared library.</p>
<p>After some research, my memory came back: libtool requires to pass the <tt>-rpath</tt> option to actually build shared libraries. I did not want to pass that options, since it is <a href="http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#rpath">considered harmful</a> where multiple variants of a library are available. It is even less useful in my specific case, as the module is only used inside the source tree for unit testing.</p>
<p>Solution: I changed the <tt>Makefile.am</tt> to use</p>
<pre lang="make">
_helper_la_LDFLAGS = -module -rpath /freaking/libtool/requires/at/least/a/dummy/path
</pre>
<p>Interestingly, the same scheme (apart from the wording) is used in libtool&#8217;s own source.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/12/libtool-silently-skips-shared-libraries-without-rpath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

