<?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>Slopjongs weblog &#187; Programming</title>
	<atom:link href="http://slopjong.de/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://slopjong.de</link>
	<description>Speedskating, tech stuff &#38; lots more</description>
	<lastBuildDate>Wed, 08 Sep 2010 22:35:04 +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>Java kills people</title>
		<link>http://slopjong.de/2010/07/08/java-kills-man/</link>
		<comments>http://slopjong.de/2010/07/08/java-kills-man/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 14:48:42 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=4046</guid>
		<description><![CDATA[





www.youtube.com/watch?v=A-Rp6wMZ1-s
]]></description>
			<content:encoded><![CDATA[<p><span class="youtube">
<object width="425" height="344">
<param name="movie" value="http://www.youtube-nocookie.com/v/A-Rp6wMZ1-s&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showsearch=0?rel=0" />
<param name="allowFullScreen" value="true" />
<embed wmode="transparent" src="http://www.youtube-nocookie.com/v/A-Rp6wMZ1-s&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showsearch=0?rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed>
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=A-Rp6wMZ1-s"><img src="http://img.youtube.com/vi/A-Rp6wMZ1-s/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=A-Rp6wMZ1-s">www.youtube.com/watch?v=A-Rp6wMZ1-s</a></p></p>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F07%2F08%2Fjava-kills-man%2F&amp;linkname=Java%20kills%20people" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/07/08/java-kills-man/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch printing</title>
		<link>http://slopjong.de/2010/02/01/batch-printing/</link>
		<comments>http://slopjong.de/2010/02/01/batch-printing/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:30:51 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[printing]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3400</guid>
		<description><![CDATA[I often upload some pdf files on a server to print them at my faculty. On the server I follow these steps:
1. Convert the uploaded pdf files to postscript 

for file in `ls -1`; do pdftops $file; done

ls -11 lists all the files of the current directory, one file per line. pdftops actually converts the [...]]]></description>
			<content:encoded><![CDATA[<p>I often upload some pdf files on a server to print them at my faculty. On the server I follow these steps:</p>
<p><strong>1. Convert the uploaded pdf files to postscript</strong> </p>
<pre>
<code>for file in `ls -1`; do pdftops $file; done</code>
</pre>
<p><em>ls -1</em><sup class='footnote'><a href='#fn-3400-1' id='fnref-3400-1'>1</a></sup> lists all the files of the current directory, one file per line. <em>pdftops</em> actually converts the pdf files to postscript.</p>
<p><strong>2. Delete the pdf files</strong></p>
<pre>
<code>rm *.pdf</code>
</pre>
<p>We need to delete the pdf files to only list postscript files in the next command.</p>
<p><strong>3. Put two pages on one page and print them</strong></p>
<pre>
<code>for file in `ls -1`; do psnup -2 -d0 $file | lpr -Pscit32411d; done</code>
</pre>
<p>Again we walk through the file list but this time <em>psnup</em> prints two pages on one page and we pipe its result to the print command <em>lpr</em>. The argument P is the printer name of our destination.</p>
<p>I&#8217;m sure this can be done in only one line but I&#8217;m not a big shell scripter so I make the batch printing in three lines.
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-3400-1'>The parameter is a <strong>one</strong> and not a <strong>l</strong> <span class='footnotereverse'><a href='#fnref-3400-1'>&#8617;</a></span></li>
</ol>
</div>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F02%2F01%2Fbatch-printing%2F&amp;linkname=Batch%20printing" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/02/01/batch-printing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>source url not under source root</title>
		<link>http://slopjong.de/2010/01/26/source-url-not-under-source-root/</link>
		<comments>http://slopjong.de/2010/01/26/source-url-not-under-source-root/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 16:57:17 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3390</guid>
		<description><![CDATA[I&#8217;ve tried to mirror a svn repository and svk (yes svk and not svn!) told me that the source url is not under source root whatever this means.
An escaped space character caused svk fail the check:

if substr( $source_path, 0, length( $source_root ), '') ne $source_root;

in line 162 in SVNRa.pm.
I fixed this problem while adding a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried to mirror a svn repository and svk (yes svk and not svn!) told me that the <em>source url is not under source root</em> whatever this means.</p>
<p>An escaped space character caused svk fail the check:</p>
<pre>
<code>if substr( $source_path, 0, length( $source_root ), '') ne $source_root;</code>
</pre>
<p>in line 162 in SVNRa.pm.</p>
<p>I fixed this problem while adding a line which replaces %20 by a space character because an URL with the file protocol must not be escaped. These resources are accessed directly from the disk and not from a webserver. </p>
<pre>
<code>$source_path =~ s/ /%20/g if $source_path =~ m,^file://,;

# XXX: this shouldn't happen. kill this substr
die "source url not under source root"
if substr( $source_path, 0, length( $source_root ), '') ne $source_root;</code>
</pre>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F26%2Fsource-url-not-under-source-root%2F&amp;linkname=source%20url%20not%20under%20source%20root" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/01/26/source-url-not-under-source-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Let SVN accept revision propchanges</title>
		<link>http://slopjong.de/2010/01/20/let-svn-accept-revision-propchanges/</link>
		<comments>http://slopjong.de/2010/01/20/let-svn-accept-revision-propchanges/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 18:33:47 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3375</guid>
		<description><![CDATA[The following message appears if you try to modify properties (e.g. the log message) while the propchanges hook is not enabled.

Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook

This hook is nothing else than an executable script located in repos/hooks/ that exits with 0 or 1 if defined [...]]]></description>
			<content:encoded><![CDATA[<p>The following message appears if you try to modify properties (e.g. the log message) while the propchanges hook is not enabled.</p>
<pre>
<code>Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook</code>
</pre>
<p>This hook is nothing else than an executable script located in <em>repos/hooks/</em> that exits with 0 or 1 if defined conditions are not fulfilled. You can remove the file suffix tmpl from <em>pre-revprop-change.tmpl</em><sup class='footnote'><a href='#fn-3375-1' id='fnref-3375-1'>1</a></sup> if the template already exists or you create it from the scratch.</p>
<p>For Unix systems the script looks like</p>
<pre>
<code>#!/bin/sh
exit 0;</code>
</pre>
<p>and for Windows it&#8217;s</p>
<pre>
<code>@echo off
exit /B 0</code>
</pre>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-3375-1'>On Windows the suffix shouldn&#8217;t be removed but changed from <em>tmpl</em> to <em>bat</em> instead. <span class='footnotereverse'><a href='#fnref-3375-1'>&#8617;</a></span></li>
</ol>
</div>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2010%2F01%2F20%2Flet-svn-accept-revision-propchanges%2F&amp;linkname=Let%20SVN%20accept%20revision%20propchanges" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/01/20/let-svn-accept-revision-propchanges/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing line numbers from a source code</title>
		<link>http://slopjong.de/2009/07/24/removing-line-numbers-from-a-source-code/</link>
		<comments>http://slopjong.de/2009/07/24/removing-line-numbers-from-a-source-code/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 20:17:18 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3068</guid>
		<description><![CDATA[At the moment I&#8217;m learning developping eclipse plugins for my work. Therefore I had to copy some code 1 from this tutorial. Unfortunately I had to remove the stupid line numbers. It&#8217;s best to let remove them by a script. Because I spent a lot of time in WordPress plugin development few weeks ago I [...]]]></description>
			<content:encoded><![CDATA[<p>At the moment I&#8217;m learning developping eclipse plugins for my work. Therefore I had to copy some code <sup class='footnote'><a href='#fn-3068-1' id='fnref-3068-1'>1</a></sup> from this <a href="http://www.eclipsepluginsite.com/views.html" target="_blank">tutorial</a>. Unfortunately I had to remove the <del datetime="2009-07-24T20:17:58+00:00">stupid</del> line numbers. It&#8217;s best to let remove them by a script. Because I spent a lot of time in WordPress plugin development few weeks ago I chose PHP to do the work.</p>
<pre>
<code>&lt;?php
$code = '
1.   package com.myplugin.rmp.views;
2.   import java.util.ArrayList;
3.   import org.eclipse.core.resources.IFile;
4.   import org.eclipse.core.resources.IFolder;
5.   import org.eclipse.core.resources.IProject;
6.   import org.eclipse.core.resources.IResource;
7.   import org.eclipse.core.resources.IWorkspace;
8.   import org.eclipse.core.resources.ResourcesPlugin;
9.   import org.eclipse.core.runtime.IAdaptable;
10.  import org.eclipse.jface.action.Action;
11.  import org.eclipse.jface.action.MenuManager;
12.  import org.eclipse.jface.dialogs.MessageDialog;

...

199.         public void setFocus() {
200.                  viewer.getControl().setFocus();
201.         }
202. }
';

echo "&lt;pre&gt;". preg_replace("/\d+\./", "", $code) ."&lt;/pre&gt;";
?&gt;</code>
</pre>
<p>The script is self descriptive but be sure that you adopt the regular expression to your needs. The regex I used destroys  code containing constructs like <em>anyObject12.doAnything();</em>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-3068-1'>Copy &#038; paste is bad but 200 lines are too many to rewrite <img src='http://slopjong.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  <span class='footnotereverse'><a href='#fnref-3068-1'>&#8617;</a></span></li>
</ol>
</div>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F07%2F24%2Fremoving-line-numbers-from-a-source-code%2F&amp;linkname=Removing%20line%20numbers%20from%20a%20source%20code" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2009/07/24/removing-line-numbers-from-a-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the menu text with jQuery</title>
		<link>http://slopjong.de/2009/06/23/changing-the-menu-text-with-jquery/</link>
		<comments>http://slopjong.de/2009/06/23/changing-the-menu-text-with-jquery/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 18:44:36 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3003</guid>
		<description><![CDATA[If you need to toggle the menu text client-side when you click it some JavaScript is required. This is best done with a framework like jQuery. All you need is an event handler bound to the menu item. It uses a counter variable to store the state which will be checked for oddness. If it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to toggle the menu text client-side when you click it some JavaScript is required. This is best done with a framework like jQuery. All you need is an event handler bound to the menu item. It uses a counter variable to store the state which will be checked for oddness. If it&#8217;s odd use the one otherwise the other text.</p>
<pre>
<code><a id="owad_show_defects" href="#">Show only defect entries</a>

&lt;script type="text/javascript"&gt;
  jQuery(document).ready( function(){
    var flip = 0;
    jQuery('#owad_show_defects').bind( "click", function(e){
      flip++;

      if ( flip % 2 == 0 )
        jQuery('#owad_show_defects').text('Show all entries');
      else
        jQuery('#owad_show_defects').text('Show only defect entries');

    });
  });
&lt;/script&gt;</code>
</pre>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F06%2F23%2Fchanging-the-menu-text-with-jquery%2F&amp;linkname=Changing%20the%20menu%20text%20with%20jQuery" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2009/06/23/changing-the-menu-text-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using sub-patterns in regular expressions</title>
		<link>http://slopjong.de/2009/05/29/using-sub-patterns-in-regular-expressions/</link>
		<comments>http://slopjong.de/2009/05/29/using-sub-patterns-in-regular-expressions/#comments</comments>
		<pubDate>Fri, 29 May 2009 17:17:20 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regular expression]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=2785</guid>
		<description><![CDATA[Using sub-patterns allows you to just filter a part of a specific content. These are patterns in patterns. In the following example I show you how to get the text This text is what I want to filter.

&#60;html&#62;
&#60;body&#62;
This is a &#60;u&#62;sample text&#60;/u&#62; to show you how to filter
some text surrounded by quotes. "Here's a dummy [...]]]></description>
			<content:encoded><![CDATA[<p>Using sub-patterns allows you to just filter a part of a specific content. These are patterns in patterns. In the following example I show you how to get the text <em>This text is what I want to filter.</em></p>
<pre>
<code>&lt;html&gt;
&lt;body&gt;
This is a &lt;u&gt;sample text&lt;/u&gt; to show you how to filter
some text surrounded by quotes. "Here's a dummy text to
make our example more complicated". Now here's the text we
are interested in: "This text is what I want to filter."
&lt;/body&gt;
&lt;/html&gt;</code>
</pre>
<p>There are several php commands that handles regular expressions but only <a href="http://php.net/manual/en/function.preg-match-all.php" target="_blank">preg_match_all</a> is the most interesting for us now.</p>
<p>Let us consider the the sub-pattern first. We&#8217;re looking for any characters  surrounded by quotes that are different to the quote itself. </p>
<pre>
<code>"([^"]+)"</code>
</pre>
<table>
<tr>
<td><strong>()</strong></td>
<td>represents a group</td>
</tr>
<tr>
<td><strong>[^"]</strong></td>
<td>any character that is not the quote</td>
</tr>
<tr>
<td><strong>+</strong></td>
<td>tells the regex engine to look for repeated characters one or more times</td>
</tr>
</table>
<p>We&#8217;re not interested in the quotes itself so we put them to the left and right of the opening and closing braces. Thus the quotes don&#8217;t appear in the final result. </p>
<p>Now we have to specify which match of the sub-pattern we&#8217;d like to filter. This is quite easy. Just take some text in front of it, for example <em>we are interested in: </em></p>
<pre>
<code>we are interested in: "([^"]+)"</code>
</pre>
<p>In this example there&#8217;s only one space between the colon and the first quote. If the number of spaces is unknown we have to use the meta-character \s followed by an asterisk that represents a space appearing zero or more times. So the final expression looks like</p>
<pre>
<code>we are interested in:\s*"([^"]+)"</code>
</pre>
<p>And now some php code to get the final result <img src='http://slopjong.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<pre>
<code>$pattern = '/we are interested in:\s*"([^"]+)"/';
preg_match_all( $pattern, $input, $matches );
$final_result = $matches[1][0];</code>
</pre>
<p>The pattern has to be surrounded by delimiters which have to be non-alphanumeric. With <a href="http://php.net/manual/en/function.preg-match-all.php" target="_blank">preg_match_all</a> we&#8217;re looking for any matches stored in the array $matches. $matches[0] contains the matches by the full expression and $matches[1] those of the sub-pattern. They can be accessed by a further index variable. In this example $matches[1][0] contains <em>This text is what I want to filter.</em></p>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F05%2F29%2Fusing-sub-patterns-in-regular-expressions%2F&amp;linkname=Using%20sub-patterns%20in%20regular%20expressions" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2009/05/29/using-sub-patterns-in-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Matlab for C++ programmers</title>
		<link>http://slopjong.de/2009/01/15/matlab-for-c-programmers/</link>
		<comments>http://slopjong.de/2009/01/15/matlab-for-c-programmers/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 19:12:25 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Frankfurt]]></category>
		<category><![CDATA[matlab]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=571</guid>
		<description><![CDATA[Today I went to Frankfurt to a seminar provided by MathWorks. It was about &#8220;Matlab for C++ programmers&#8221;. I learnt more about features that I didn&#8217;t know before like the Matlab engine. There&#8217;s more stuff that I&#8217;m going to tell you about later on but first some words about my trip.
When I came out of [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://slopjong.de/wp-content/gallery/post_frankfurt/DSCN0339.JPG" title="" class="thickbox" rel="singlepic403" >
	<img class="ngg-singlepic ngg-left" src="http://slopjong.de/index.php?callback=image&amp;pid=403&amp;width=80&amp;height=60&amp;mode=" alt="          " title="          " />
</a>

<p>Today I went to Frankfurt to a seminar provided by MathWorks. It was about &#8220;Matlab for C++ programmers&#8221;. I learnt more about features that I didn&#8217;t know before like the Matlab engine. There&#8217;s more stuff that I&#8217;m going to tell you about later on but first some words about my trip.</p>

<a href="http://slopjong.de/wp-content/gallery/post_frankfurt/DSCN0340.JPG" title="" class="thickbox" rel="singlepic404" >
	<img class="ngg-singlepic ngg-right" src="http://slopjong.de/index.php?callback=image&amp;pid=404&amp;width=80&amp;height=60&amp;mode=" alt="          " title="          " />
</a>

<p>When I came out of the train I rememberd my trip to a congress in Napoli two years ago. The train station in Frankfurt bear a resemblance to that one of Milano. Outside the first car I saw was an Italian. &#8220;Am I in Italy or in Frankfurt?&#8221; I asked myself. While I walked to the venue I took <a href="/pictures/?album=1&#038;gallery=20">these pictures</a>.<br style="clear:both;" /></p>

<a href="http://slopjong.de/wp-content/gallery/post_frankfurt/DSC00595.JPG" title="" class="thickbox" rel="singlepic407" >
	<img class="ngg-singlepic ngg-right" src="http://slopjong.de/index.php?callback=image&amp;pid=407&amp;width=80&amp;height=60&amp;mode=" alt="DSC00595.JPG" title="DSC00595.JPG" />
</a>


<a href="http://slopjong.de/wp-content/gallery/post_frankfurt/DSC00594.JPG" title="" class="thickbox" rel="singlepic408" >
	<img class="ngg-singlepic ngg-right" src="http://slopjong.de/index.php?callback=image&amp;pid=408&amp;width=80&amp;height=60&amp;mode=" alt="DSC00594.JPG" title="DSC00594.JPG" />
</a>

<p>Back to topic. At the seminar we were shown how easy data can be plotted with Matlab probably generated by a C/C++ application. With some sample codes the Matlab language was introduced. The following code plots a unit circle.</p>
<pre>
<code>t = linspace(0, 2*pi, 200);
x = sin(t);
y = cos(t);
plot(x,y)</code>
</pre>
<p>There is more stuff in the Matlab tool chain that was new to me:</p>
<ul>
<li>The <strong>Matlab Engine</strong> is used to call Matlab software from C/C++ and Fortran.</li>
<li><strong>Embedded Matlab</strong> is a subset of the Matlab language. Efficient code can be generated for embedded implementation with Embedded Matlab.</li>
<li><strong>PolySpace</strong> products verify C, C++, and Ada code for embedded applications by detecting run-time errors before code is compiled and executed. This advanced verification technology uses formal methods not only to detect errors, but to prove mathematically that certain classes of run-time errors do not exist.</li>
<li>With the <strong>Matlab Compiler</strong> you are able to generate a standalone application from your Matlab code. This application can be ported to other computers without Matlab installed on it. You just need the <strong>Matlab Compiler Runtime (MCR)</strong> to execute the Matlab instructions. If MCR comes with the application the end user doesn&#8217;t need anything else of the Matlab tool chain. There&#8217;s no obstacle anymore to share your Matlab algorithms.</li>
</ul>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2009%2F01%2F15%2Fmatlab-for-c-programmers%2F&amp;linkname=Matlab%20for%20C%2B%2B%20programmers" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2009/01/15/matlab-for-c-programmers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8216;staticMetaObject&#8217; is not a member</title>
		<link>http://slopjong.de/2008/10/07/staticmetaobject-is-not-a-member/</link>
		<comments>http://slopjong.de/2008/10/07/staticmetaobject-is-not-a-member/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 15:33:18 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Qt]]></category>

		<guid isPermaLink="false">http://blog.romainschmitz.eu/?p=56</guid>
		<description><![CDATA[I tried to compile a code looking like this:

#ifndef CONTROLLER_H_
#define CONTROLLER_H_

#include&#60;QObject&#62;

class AbstractClass
{
public:
    virtual ~AbstractClass() {}
    virtual void update() = 0;
};

class Controller :
      public AbstractClass, public QObject
{
      Q_OBJECT

public:
      Controller();
      virtual [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to compile a code looking like this:</p>
<pre>
<code>#ifndef CONTROLLER_H_
#define CONTROLLER_H_

#include&lt;QObject&gt;

class AbstractClass
{
public:
    virtual ~AbstractClass() {}
    virtual void update() = 0;
};

class Controller :
      public AbstractClass, public QObject
{
      Q_OBJECT

public:
      Controller();
      virtual ~Controller();
      virtual void update();

public slots:
      void m();
};

#endif /*CONTROLLER_H_*/</code>
</pre>
<p>If you&#8217;re trying to compile it you get an error:</p>
<pre>
<code>tmp/moc/moc_Controller.cpp:45: error: 'staticMetaObject' is not a member of 'AbstractClass'
tmp/moc/moc_Controller.cpp: In member function 'virtual void* Controller::qt_metacast(const char*)':
tmp/moc/moc_Controller.cpp:61: error: 'qt_metacast' is not a member of 'AbstractClass'
tmp/moc/moc_Controller.cpp: In member function 'virtual int Controller::qt_metacall(QMetaObject::Call, int, void**)':
tmp/moc/moc_Controller.cpp:66: error: 'qt_metacall' is not a member of 'AbstractClass'
make: *** [tmp/objects/moc_Controller.o] Error 1</code>
</pre>
<p>The error is caused by a bad order of inheritance.</p>
<p>Instead of this</p>
<pre>
<code>class Controller :
	public AbstractClass, public QObject
{
   ...</code>
</pre>
<p>you should use this</p>
<pre>
<code>class Controller :
	public QObject, public AbstractClass
{
   ...</code>
</pre>
<p> </p>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F07%2Fstaticmetaobject-is-not-a-member%2F&amp;linkname=%26%238216%3BstaticMetaObject%26%238217%3B%20is%20not%20a%20member" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2008/10/07/staticmetaobject-is-not-a-member/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>error: stray &#8216;\160&#8242; in program</title>
		<link>http://slopjong.de/2008/10/03/error-stray-160-in-program/</link>
		<comments>http://slopjong.de/2008/10/03/error-stray-160-in-program/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 21:27:20 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://blog.romainschmitz.eu/?p=55</guid>
		<description><![CDATA[I was experimenting with virtual and pure virtual methods in C++. I introduced an inline implementation for a pure method and then I couldn&#8217;t compile my code anymore.
I turned into the &#8220;show invisibles&#8221; mode and found the malefactor. The problem was an invisible character in the source file.
]]></description>
			<content:encoded><![CDATA[<p>I was experimenting with virtual and pure virtual methods in C++. I introduced an inline implementation for a pure method and then I couldn&#8217;t compile my code anymore.</p>
<p>I turned into the &#8220;show invisibles&#8221; mode and found the malefactor. The problem was an invisible character in the source file.</p>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Delicious" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Digg" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Reddit" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Facebook" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/spurl?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Spurl" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/spurl.png" width="16" height="16" alt="Spurl"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Twitter" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/webnews?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Webnews" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/webnews.png" width="16" height="16" alt="Webnews"/></a> <a href="http://www.addtoany.com/add_to/yigg?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="YiGG" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yigg.png" width="16" height="16" alt="YiGG"/></a> <a href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="MySpace" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a> <a href="http://www.addtoany.com/add_to/yahoo_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Yahoo Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/yahoo.png" width="16" height="16" alt="Yahoo Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/livejournal?linkurl=http%3A%2F%2Fslopjong.de%2F2008%2F10%2F03%2Ferror-stray-160-in-program%2F&amp;linkname=error%3A%20stray%20%26%238216%3B%5C160%26%238242%3B%20in%20program" title="LiveJournal" rel="nofollow" target="_blank"><img src="http://slopjong.de/wp-content/plugins/add-to-any/icons/livejournal.png" width="16" height="16" alt="LiveJournal"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://slopjong.de/wp-content/plugins/add-to-any/favicon.png" width="16" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2008/10/03/error-stray-160-in-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
