<?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"
	>

<channel>
	<title>Andreas Ebbert-Karroum</title>
	<atom:link href="http://blog.karroum.dyndns.org/andreas/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.karroum.dyndns.org/andreas</link>
	<description>Various Aspects of my Life.</description>
	<pubDate>Sat, 04 Apr 2009 18:48:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Fail: Sun JDK 6 Update 13 German Updater Welcome Message</title>
		<link>http://blog.karroum.dyndns.org/andreas/2009/04/04/fail-sun-jdk-6-update-13-german-updater-welcome-message/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2009/04/04/fail-sun-jdk-6-update-13-german-updater-welcome-message/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 18:48:06 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Private]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Sprache]]></category>

		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/?p=129</guid>
		<description><![CDATA[Just started the upgrade to the latest and greatest Sun JDK. The german welcome message is &#8230; well &#8230; Altavista Babelfish would have done a better job in 1995 of translating the English original. Luckily, the JDK itself is of much better quality.
I really would like to know the amount of downloads of OpenOffice this [...]]]></description>
			<content:encoded><![CDATA[<p>Just started the upgrade to the latest and greatest Sun JDK. The german welcome message is &#8230; well &#8230; Altavista Babelfish would have done a better job in 1995 of translating the English original. Luckily, the JDK itself is of much better quality.</p>
<p>I really would like to know the amount of downloads of OpenOffice this is triggering.</p>
<div id="attachment_131" class="wp-caption aligncenter" style="width: 417px"><a href="http://blog.karroum.dyndns.org/andreas/files/6u13de.png"><img class="size-full wp-image-131" src="http://blog.karroum.dyndns.org/andreas/files/6u13de.png" alt="Sun JDK 6 Update 13 Installer Welcome Message" width="407" height="321" /></a><p class="wp-caption-text">Sun JDK 6 Update 13 Installer Welcome Message</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2009/04/04/fail-sun-jdk-6-update-13-german-updater-welcome-message/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu Intrepid and Fritz!WLAN USB</title>
		<link>http://blog.karroum.dyndns.org/andreas/2009/01/01/ubuntu-intrepid-and-fritzwlan-usb/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2009/01/01/ubuntu-intrepid-and-fritzwlan-usb/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 21:34:25 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Private]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Fritz! WLAN USB]]></category>

		<category><![CDATA[intrepid]]></category>

		<category><![CDATA[ndiswrapper]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/?p=125</guid>
		<description><![CDATA[Since it&#8217;s currently not possible to take advantage of the native Linux driver fwlanusb from AVM for the Fritz!WLAN USB stick (see my earlier post), I now tried to use the Windows native driver with the help of ndiswrapper. Surprisingly, this was a task of 15 minutes, and all works fine. I tried to use [...]]]></description>
			<content:encoded><![CDATA[<p>Since it&#8217;s currently not possible to take advantage of the native Linux driver fwlanusb from AVM for the Fritz!WLAN USB stick (see my earlier post), I now tried to use the Windows native driver with the help of ndiswrapper. Surprisingly, this was a task of 15 minutes, and all works fine. I tried to use ndiswrapper for another stick and another distro 2 years ago or so, and it was a pain to use, but now it&#8217;s really easy:</p>
<ol>
<li>Since Intrepid, there&#8217;s a graphical user interface for ndiswrapper, so install <a href="http://packages.ubuntu.com/intrepid/ndisgtk">ndisgtk </a>and all the dependencies (they are also on the default installation disk)</li>
<li>Download the <a href="http://www.avm.de/de/frame/frame.php?destination=http%3A%2F%2Fwebgw.avm.de%2Fdownload%2FDownload.jsp%3Flang%3Dde%26os%3Dwinxp%26product%3DFRITZ!WLAN+USB+Stick%26category%3D">Windows XP driver from AVM for the Fritz!WLAN USB</a> stick. (I downloaded avm_fritz!wlan_usb_stick_build_080905.exe,Version 05.04.21 from 2008-09-28)</li>
<li>Use WinRAR (or possibly any other archive manager) to extract the content of the downloaded exe file to a usb memory stick.</li>
<li>Copy the windows driver to some place on your Ubuntu box (~/System/avm for example)</li>
<li>Open ndisgtk from a terminal or browse to the system management (german menu: System -&gt; Systemverwaltung -&gt; Windows WLAN Treiber)</li>
<li>Plug in the Fritz!WLAN USB stick</li>
<li>Install the new driver and browse to the fwlan.inf file. Ndisgtk will install all files and should show that the hardware is present. After that I was automatically asked for the WPA password of my WLAN.</li>
</ol>
<p>Easy to install and even works better than the native driver, the signal strength bars are working properly. So after all, it&#8217;s now working, but why does it always have to be such a hassle?!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2009/01/01/ubuntu-intrepid-and-fritzwlan-usb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Thou Shalt Insert No Scratched CDs or DVDs</title>
		<link>http://blog.karroum.dyndns.org/andreas/2008/12/28/thou-shalt-insert-no-scratched-cds-or-dvds/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2008/12/28/thou-shalt-insert-no-scratched-cds-or-dvds/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 22:17:24 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Private]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/2008/12/28/thou-shalt-insert-no-scratched-cds-or-dvds/</guid>
		<description><![CDATA[We rented four DVDs with a christmas offer to watch over the weekend on my laptop. But already during the first movie (The Mummy - Tomb of the Dragon Emperor) problems were apparent. Now, wife and kid sleeping, I had time to dig into the problem. Which is that we were trying to listen to [...]]]></description>
			<content:encoded><![CDATA[<p>We rented four DVDs with a christmas offer to watch over the weekend on my laptop. But already during the first movie (The Mummy - Tomb of the Dragon Emperor) problems were apparent. Now, wife and kid sleeping, I had time to dig into the problem. Which is that we were trying to listen to a heavily scratched CD with kids music (guess who scratched it&#8230;). Windows falls back to slow and CPU hungry PIO mode after having problems while in DMA mode, like problems you have that have nothing to do with your PC configuration, but with the disc you inserted. Fine, it could be, if Windows did not remember that decision, and (nearly) nothing can convince it from the opposite. After quite some time of googling and reading, I came <a href="http://winhlp.com/node/10">across this site</a>, which explains the problem, and offers a solution: Deleting some hashcode for your primary and secondary IDE channels from the Windows registry, so that Windows is re-discovering the drive capabilities. Nuts.</p>
<p>Anyway, problem fixed, now I&#8217;m going to spend the rest of the evening with &#8220;No Country For Old Men&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2008/12/28/thou-shalt-insert-no-scratched-cds-or-dvds/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Merry Christmas</title>
		<link>http://blog.karroum.dyndns.org/andreas/2008/12/24/merry-christmas/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2008/12/24/merry-christmas/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 08:12:17 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Private]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/?p=121</guid>
		<description><![CDATA[All my readers and followers, I&#8217;d like to wish a merry little Christmas and happy new year. Enjoy the time &#8220;between the years&#8221; and spend time with those whom we tend to neglect in the hectic daily business, those we love, depend upon and cannot live without.
Merry Christmas!
]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #008000">All my readers and followers, I&#8217;d like to wish a merry little Christmas and happy new year. Enjoy the time &#8220;between the years&#8221; and spend time with those whom we tend to neglect in the hectic daily business, those we love, depend upon and cannot live without.</span></strong></p>
<p><strong><span style="color: #008000">Merry Christmas!</span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2008/12/24/merry-christmas/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to upgrade from Ubuntu 8.04 (Hardy Heron) to 8.10 (Intrepid Ibex) without internet access</title>
		<link>http://blog.karroum.dyndns.org/andreas/2008/12/22/how-to-upgrade-from-ubuntu-804-hardy-heron-to-810-intrepid-ibex-without-internet-access/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2008/12/22/how-to-upgrade-from-ubuntu-804-hardy-heron-to-810-intrepid-ibex-without-internet-access/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 23:07:03 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Private]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Fritz! WLAN USB]]></category>

		<category><![CDATA[fwlanusb]]></category>

		<category><![CDATA[hardy]]></category>

		<category><![CDATA[intrepid]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/?p=119</guid>
		<description><![CDATA[This seems like an easy task, but it&#8217;s not. Is more complicated than expected for several reasons:

Why does the PC not have an internet connection? Because the Wifi USB stick got a broken device driver in hardy (fwlanusb). I had to manually patch the kernel but after an automated security update, the driver is broken [...]]]></description>
			<content:encoded><![CDATA[<p>This seems like an easy task, but it&#8217;s not. Is more complicated than expected for several reasons:</p>
<ol>
<li>Why does the PC not have an internet connection? Because the Wifi USB stick got a broken device driver in hardy (<a href="https://bugs.launchpad.net/bugs/200589">fwlanusb</a>). I had to manually patch the kernel but after an automated security update, the driver is broken again. The bug is now fixed, so I think updating to the latest Ubuntu should do the trick make the Wifi USB stick connect to the net again.</li>
<li>First I downloaded, from another PC, the regular Ubuntu 8.10 installation ISO Image, burnt it on CD and tried to convince Ubuntu to update from there. I first tried to boot into the installed system and then tried by booting from the CD. That worked but I could only erase the earlier system (/lib, /etc were about to be gone) and decided that there must be an easier route.</li>
<li>I realized that the alternate download CD is not only for installation problems, but also offers update possibilities for offline clients. Great, exactly what I was looking for. But after finding out what I needed, how do I get it? You actually have to go to the<a href="http://www.ubuntu.com/getubuntu/downloadmirrors#mirrors"> list of mirrors</a>, select one, remember that the <a href="http://de.archive.ubuntu.com/ubuntu-releases/8.10/">version you&#8217;re looking for is 8.10</a> and the select the alternate download. How convenient, my grand-ma could easily do that.</li>
<li>OK, so I got the alternate ISO image, burnt it to an empy CD (with Roxio under Windows XP), and Ubuntu suggested to update from the CD after inserting. Nice.</li>
<li>Not so nice, the update process stopped after doing things for half an hour or so that it could not download a package (linux-restricted-modules-common). I tried to open it manually, and got an error that the file is broken.</li>
<li>I went back to the other pc, downloaded the iso image again from another mirror, burnt it on another cd (this time with verification on, which produced some warnings), checked the file again with ubuntu, same result - the file is corrupted. WTF?!</li>
<li>Copied the ISO image to a USB memory stick and burnt the CD from the ISO image with Ubuntu. File is ok. WTF²?!</li>
<li>Anyway, starting the upgrade process again, seems to work now.</li>
<li>BUT, after reading the comments on the bug for the Wifi stick again, it dawns to me, that the bug is only fixed in 8.04.2 but not in 8.10! Also, 8.04.2 is scheduled for 2009-01-01, which is not far away, but it&#8217;s not available now. The bug still shows on the list of <a href="http://people.ubuntu.com/~ogasawara/intrepid-buglist.html">kernel bugs for intrepid</a>, but it&#8217;s not marked for a intrepid release yet.</li>
</ol>
<p>After all, it appears that after managing to upgrade Ubuntu (the process is still ongoing), it still is not able to connect again, because of a simple bugfix, that apparently is preventing a string to be written over a boundary.</p>
<p>Amazing Fail! Well done. I mean, net connectivity is core, how can you do anything serious without it nowadays, and how can the priorities in bugfixing and releaseing be so wrong?!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2008/12/22/how-to-upgrade-from-ubuntu-804-hardy-heron-to-810-intrepid-ibex-without-internet-access/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Thank You, America</title>
		<link>http://blog.karroum.dyndns.org/andreas/2008/11/05/thank-you-america/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2008/11/05/thank-you-america/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 07:49:18 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Private]]></category>

		<category><![CDATA[america]]></category>

		<category><![CDATA[obama]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/?p=114</guid>
		<description><![CDATA[Thank You for pulling this through, yes You can! I do want to like You. Thank You for making that possible again for me. Thank You for turning into reality what I had hoped for but could not dare to believe.
]]></description>
			<content:encoded><![CDATA[<p>Thank You for pulling this through, yes You can! I do want to like You. Thank You for making that possible again for me. Thank You for turning into reality what I had hoped for but could not dare to believe.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2008/11/05/thank-you-america/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More Focus on The Value</title>
		<link>http://blog.karroum.dyndns.org/andreas/2008/10/16/more-focus-on-the-value/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2008/10/16/more-focus-on-the-value/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 07:30:51 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Management]]></category>

		<category><![CDATA[Business]]></category>

		<category><![CDATA[agile]]></category>

		<category><![CDATA[customer value]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/?p=110</guid>
		<description><![CDATA[The truth is so simple, yet so difficult to realize for many managers. In times of crisis, headcount is the first thing that is reduced. When companies merge, focus is to monetize synergies (read: lay off people) instead of thinking about how combined competencies can increase the generated customer value.
Especially when the markets struggle, it [...]]]></description>
			<content:encoded><![CDATA[<p>The truth is so simple, yet so difficult to realize for many managers. In times of crisis, headcount is the first thing that is reduced. When companies merge, focus is to monetize synergies (read: lay off people) instead of thinking about how combined competencies can increase the generated customer value.</p>
<p>Especially when the markets struggle, it is extremely important to focus on the customer value. In the Agile Advice Blog, this has <a href="http://www.agileadvice.com/2008/10/16/theoryofagile/the-agile-recession-challenge-de-bureaucratize/">been wrapped up nicely</a>:</p>
<blockquote><p>It’s true, of course, that staff are a substantial cost for most businesses.  However, we sometimes lose sight of the fact that in any business where staff is a substantial cost, it also probably means that staff are responsible for a large proportion of the value your business generates.  <strong>Cutting staff therefore means reducing value, and that just puts your business into a vicious cycle.</strong> Cut staff, deliver less value, customers and clients don’t get as much value, they start looking elsewhere, you get more revenue pressure, you cut more staff, etc.  Not only that, but if you cut staff, but leave the bureaucracy in place, then the ratio of bureaucratic overhead to staff is increased leading to even worse productivity!</p></blockquote>
<p>I can only hope that in future, more companies understand and are able to react accordingly. However, if insight comes relativly easy, the art is to transform the new knowledge into the state of reality!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2008/10/16/more-focus-on-the-value/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Updated Twitter updater</title>
		<link>http://blog.karroum.dyndns.org/andreas/2008/10/01/updated-twitter-updater/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2008/10/01/updated-twitter-updater/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 16:45:51 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Private]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[twitter]]></category>

		<category><![CDATA[twitter updater]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/?p=91</guid>
		<description><![CDATA[Yesterday I claimed that I won&#8217;t post any PHP code &#8230; and today I find myself patching the Twitter updater, which is supposed to forward infos about my new blog posts  After updating Wordpress however, tweets are duplicated for new blog posts, which is a known problem, but only adressed in a fork of [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I claimed that I won&#8217;t post any PHP code &#8230; and today I find myself patching the <a href="http://blog.victoriac.net/blog/twitter-updater">Twitter updater</a>, which is supposed to forward infos about my new blog posts <img src='http://blog.karroum.dyndns.org/andreas/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> After updating Wordpress however, tweets are duplicated for new blog posts, which is a known problem, but only adressed in <a href="http://www.ingoal.info/archives/2008/07/08/twitter-updater/">a fork of the Twitter updater by Ingo &#8220;Ingoal&#8221; Hildebrandt</a>. Unfortunatly that does not contain my modifications to only post the english post title to Twitter. Additionally, there seems to be a problem with scheduled posts, which are tweeted as soon as you save it. If all goes well both issues are adressed in my version. These are my chages (<a href="http://blog.karroum.dyndns.org/wp-content/plugins/twitter_updater/twitter_updater.patch?language=en&amp;backToDocuments=1">download patch file</a>):<br />
<strong>twitter_updater.php</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
</pre></td><td class="code"><pre class="diff diff" style="font-family:monospace;">--- twitter_updater.php_orig	<span style="">2008</span>-08-04 <span style="">20</span>:<span style="">42</span>:<span style="">26.000000000</span> +0200
<span style="color: #888822;">+++ twitter_updater.php	<span style="">2008</span>-<span style="">10</span>-09 06:<span style="">32</span>:<span style="">18.000000000</span> +0200</span>
<span style="color: #440088;">@@ -<span style="">3</span>,<span style="">8</span> +<span style="">3</span>,<span style="">8</span> @@</span>
 Plugin Name: Twitter updater
 Plugin URI: http://www.ingoal.info/archives/<span style="">2008</span>/07/08/twitter-updater/
 Description: Updates Twitter when you create a new blog or publish one
<span style="color: #991111;">-Version: 2.06</span>
<span style="color: #991111;">-Author: Ingo &quot;Ingoal&quot; Hildebrandt</span>
<span style="color: #00b000;">+Version: 2.06.1</span>
<span style="color: #00b000;">+Author: Ingo &quot;Ingoal&quot; Hildebrandt and Andreas Ebbert-Karroum</span>
 Author URI: http://www.ingoal.info/archives/<span style="">2008</span>/07/08/twitter-updater/
&nbsp;
 Based on Version <span style="">1.0</span>
<span style="color: #440088;">@@ -<span style="">45</span>,<span style="">6</span> +<span style="">45</span>,<span style="">15</span> @@</span>
 Edited by
 Ingo &quot;Ingoal&quot; Hildebrandt <span style="">&#40;</span>v2.06<span style="">&#41;</span>
 Edit: - added cascading short-url generation <span style="">&#40;</span>if zz.gd is down, it'll cascade to tinyurl.com<span style="">&#41;</span>
<span style="color: #00b000;">+</span>
<span style="color: #00b000;">+Edited by</span>
<span style="color: #00b000;">+Andreas Ebbert-Karroum <span style="">&#40;</span>v2.06.1<span style="">&#41;</span></span>
<span style="color: #00b000;">+Edit: - hook to wp_insert_post instead of save_post</span>
<span style="color: #00b000;">+      - retrieve post title with get_the_title</span>
<span style="color: #00b000;">+      - shorten text if it grows over <span style="">140</span> characters</span>
<span style="color: #00b000;">+      - urlencode text</span>
<span style="color: #00b000;">+      - add option to use zz.gd or tinyurl <span style="">&#40;</span>tinyurl keeps trailing slash<span style="">&#41;</span></span>
<span style="color: #00b000;">+      - if qtranslate is present, set language to 'en'</span>
 */
&nbsp;
&nbsp;
<span style="color: #440088;">@@ -<span style="">66</span>,<span style="">7</span> +<span style="">75</span>,<span style="">7</span> @@</span>
 			fputs<span style="">&#40;</span>$fp, &quot;Authorization: Basic &quot;.$thisLoginDetails.&quot;\r\n&quot;<span style="">&#41;</span>;
 			fputs<span style="">&#40;</span>$fp, &quot;User-Agent: &quot;.$agent.&quot;\n&quot;<span style="">&#41;</span>;
                         fputs<span style="">&#40;</span>$fp, &quot;Host: $host\n&quot;<span style="">&#41;</span>;
<span style="color: #991111;">-			fputs<span style="">&#40;</span>$fp, &quot;Content-type: application/x-www-form-urlencoded\n&quot;<span style="">&#41;</span>;</span>
<span style="color: #00b000;">+			fputs<span style="">&#40;</span>$fp, &quot;Content-type: application/x-www-form-urlencoded; charset=utf8\n&quot;<span style="">&#41;</span>;</span>
 			fputs<span style="">&#40;</span>$fp, &quot;Content-length: &quot;.strlen<span style="">&#40;</span>$twit<span style="">&#41;</span>.&quot;\n&quot;<span style="">&#41;</span>;
 			fputs<span style="">&#40;</span>$fp, &quot;Connection: close\n\n&quot;<span style="">&#41;</span>;
 			fputs<span style="">&#40;</span>$fp, $twit<span style="">&#41;</span>;
<span style="color: #440088;">@@ -<span style="">83</span>,<span style="">9</span> +<span style="">92</span>,<span style="">12</span> @@</span>
 function vc_twit<span style="">&#40;</span>$post_ID<span style="">&#41;</span>  <span style="">&#123;</span>
    $twitterURI = &quot;/statuses/update.xml?source=ingoalstwitterupdate&quot;;
    $thisposttitle = &quot;&quot;;
<span style="color: #991111;">-   $thisposttitle = $_POST<span style="">&#91;</span>'post_title'<span style="">&#93;</span>;</span>
<span style="color: #00b000;">+   global $q_config;</span>
<span style="color: #00b000;">+   if <span style="">&#40;</span>isset<span style="">&#40;</span>$q_config<span style="">&#41;</span><span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #00b000;">+      $q_config<span style="">&#91;</span>'language'<span style="">&#93;</span>='en'; // <span style="">135</span><span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #00b000;">+						$thisposttitle = substr<span style="">&#40;</span> $thisposttitle, 0, <span style="">140</span>-strlen<span style="">&#40;</span>$tinyurl<span style="">&#41;</span>-strlen<span style="">&#40;</span>'... <span style="">&#40;</span>  <span style="">&#41;</span>'<span style="">&#41;</span>-strlen<span style="">&#40;</span>$sentence<span style="">&#41;</span>+strlen<span style="">&#40;</span>'#title#'<span style="">&#41;</span><span style="">&#41;</span> . '...';</span>
 					<span style="">&#125;</span>
                                         $thisposttitle = $thisposttitle . ' <span style="">&#40;</span> ' . $tinyurl . ' <span style="">&#41;</span>';
 				<span style="">&#125;</span>
 				$sentence = str_replace <span style="">&#40;</span> '#title#', $thisposttitle, $sentence<span style="">&#41;</span>;
 			<span style="">&#125;</span>
<span style="color: #991111;">-		<span style="">&#125;</span></span>
 	<span style="">&#125;</span>else if <span style="">&#40;</span>$_POST<span style="">&#91;</span>'prev_status'<span style="">&#93;</span> == 'publish'<span style="">&#41;</span> <span style="">&#123;</span>
 		// is old post
 		if<span style="">&#40;</span>get_option<span style="">&#40;</span>'oldpost-edited-update'<span style="">&#41;</span> == '<span style="">1</span>'<span style="">&#41;</span> <span style="">&#123;</span>
<span style="color: #440088;">@@ -<span style="">130</span>,<span style="">23</span> +<span style="">132</span>,<span style="">16</span> @@</span>
 			if <span style="">&#40;</span>strlen<span style="">&#40;</span>trim<span style="">&#40;</span>$thisposttitle<span style="">&#41;</span><span style="">&#41;</span> == 0<span style="">&#41;</span> <span style="">&#123;</span>
 				$post = get_post<span style="">&#40;</span>$post_ID<span style="">&#41;</span>;
 				if <span style="">&#40;</span>$post<span style="">&#41;</span> <span style="">&#123;</span>
<span style="color: #991111;">-					$thisposttitle = $post-&amp;gt;post_title;</span>
<span style="color: #00b000;">+				        // use get_the_title, because this is filtered by qTranslate</span>
<span style="color: #00b000;">+					$thisposttitle = get_the_title<span style="">&#40;</span>$post_ID<span style="">&#41;</span>;</span>
 				<span style="">&#125;</span>
 			<span style="">&#125;</span>
&nbsp;
 			if<span style="">&#40;</span>get_option<span style="">&#40;</span>'oldpost-edited-showlink'<span style="">&#41;</span> == '<span style="">1</span>'<span style="">&#41;</span> <span style="">&#123;</span>
<span style="color: #991111;">-				        if<span style="">&#40;</span>get_option<span style="">&#40;</span>'short-method'<span style="">&#41;</span> == '<span style="">1</span>'<span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #991111;">-                                                $tinyurl = file_get_contents_curl<span style="">&#40;</span>&quot;http://zz.gd/api-create.php?url=&quot;.$thispostlink<span style="">&#41;</span>;</span>
<span style="color: #991111;">-                                                if <span style="">&#40;</span>$tinyurl == ''<span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #991111;">-                                                        $tinyurl = file_get_contents_curl<span style="">&#40;</span>&quot;http://tinyurl.com/create.php?url=&quot;.$thispostlink<span style="">&#41;</span>;                                    </span>
<span style="color: #991111;">-                                                <span style="">&#125;</span></span>
<span style="color: #991111;">-                                        <span style="">&#125;</span></span>
<span style="color: #991111;">-                                        else <span style="">&#123;</span></span>
<span style="color: #991111;">-                                                $tinyurl = file_get_contents<span style="">&#40;</span>&quot;http://zz.gd/api-create.php?url=&quot;.$thispostlink<span style="">&#41;</span>;</span>
<span style="color: #991111;">-                                                if <span style="">&#40;</span>$tinyurl == ''<span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #991111;">-                                                        $tinyurl = file_get_contents<span style="">&#40;</span>&quot;http://tinyurl.com/create.php?url=&quot;.$thispostlink<span style="">&#41;</span>;                                    </span>
<span style="color: #991111;">-                                                <span style="">&#125;</span></span>
<span style="color: #991111;">-                                        <span style="">&#125;</span></span>
<span style="color: #00b000;">+				$tinyurl = get_short_URL<span style="">&#40;</span>$thispostlink<span style="">&#41;</span>;</span>
<span style="color: #00b000;">+				if <span style="">&#40;</span>strlen<span style="">&#40;</span>$thisposttitle<span style="">&#41;</span>+strlen<span style="">&#40;</span>$tinyurl<span style="">&#41;</span>&amp;gt;<span style="">135</span><span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #00b000;">+					$thisposttitle = substr<span style="">&#40;</span> $thisposttitle, 0, <span style="">140</span>-strlen<span style="">&#40;</span>$tinyurl<span style="">&#41;</span>-strlen<span style="">&#40;</span>'... <span style="">&#40;</span>  <span style="">&#41;</span>'<span style="">&#41;</span>-strlen<span style="">&#40;</span>$sentence<span style="">&#41;</span>+strlen<span style="">&#40;</span>'#title#'<span style="">&#41;</span><span style="">&#41;</span> . '...';</span>
<span style="color: #00b000;">+				<span style="">&#125;</span></span>
                                 $thisposttitle = $thisposttitle . ' <span style="">&#40;</span> ' . $tinyurl . ' <span style="">&#41;</span>';
 			<span style="">&#125;</span>
 			$sentence = str_replace <span style="">&#40;</span> '#title#', $thisposttitle, $sentence<span style="">&#41;</span>;
<span style="color: #440088;">@@ -<span style="">158</span>,<span style="">13</span> +<span style="">153</span>,<span style="">28</span> @@</span>
&nbsp;
&nbsp;
 	if<span style="">&#40;</span>$sentence != &quot;&quot;<span style="">&#41;</span><span style="">&#123;</span>
<span style="color: #991111;">-              $urlstatus = 'status='.$sentence;</span>
<span style="color: #00b000;">+              $urlstatus = 'status='.urlencode<span style="">&#40;</span>$sentence<span style="">&#41;</span>;</span>
 		$status = utf8_encode<span style="">&#40;</span>$urlstatus<span style="">&#41;</span>;
 		$sendToTwitter = vc_doTwitterAPIPost<span style="">&#40;</span>$status, $twitterURI<span style="">&#41;</span>;
 	<span style="">&#125;</span>
    return $post_ID;
 <span style="">&#125;</span>
&nbsp;
<span style="color: #00b000;">+function get_short_URL<span style="">&#40;</span>$url<span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #00b000;">+	if<span style="">&#40;</span>get_option<span style="">&#40;</span>'short-method'<span style="">&#41;</span> == '<span style="">1</span>'<span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #00b000;">+		if <span style="">&#40;</span>get_option<span style="">&#40;</span>'use-zz-gd'<span style="">&#41;</span> == '<span style="">1</span>'<span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #00b000;">+			return file_get_contents_curl<span style="">&#40;</span>&quot;http://zz.gd/api-create.php?url=&quot;.$url<span style="">&#41;</span>;</span>
<span style="color: #00b000;">+		<span style="">&#125;</span> else <span style="">&#123;</span></span>
<span style="color: #00b000;">+			return file_get_contents_curl<span style="">&#40;</span>&quot;http://tinyurl.com/api-create.php?url=&quot;.$url<span style="">&#41;</span>;</span>
<span style="color: #00b000;">+		<span style="">&#125;</span></span>
<span style="color: #00b000;">+	<span style="">&#125;</span> else <span style="">&#123;</span></span>
<span style="color: #00b000;">+                if <span style="">&#40;</span>get_option<span style="">&#40;</span>'use-zz-gd'<span style="">&#41;</span> == '<span style="">1</span>'<span style="">&#41;</span> <span style="">&#123;</span></span>
<span style="color: #00b000;">+			return file_get_contents<span style="">&#40;</span>&quot;http://zz.gd/api-create.php?url=&quot;.$url<span style="">&#41;</span>;	</span>
<span style="color: #00b000;">+	        <span style="">&#125;</span> else <span style="">&#123;</span></span>
<span style="color: #00b000;">+			return file_get_contents<span style="">&#40;</span>&quot;http://tinyurl.com/api-create.php?url=&quot;.$url<span style="">&#41;</span>;</span>
<span style="color: #00b000;">+	        <span style="">&#125;</span></span>
<span style="color: #00b000;">+	<span style="">&#125;</span></span>
<span style="color: #00b000;">+<span style="">&#125;</span></span>
&nbsp;
 function file_get_contents_curl<span style="">&#40;</span>$url<span style="">&#41;</span> <span style="">&#123;</span>
       $ch = curl_init<span style="">&#40;</span><span style="">&#41;</span>;
<span style="color: #440088;">@@ -<span style="">192</span>,<span style="">7</span> +<span style="">202</span>,<span style="">7</span> @@</span>
&nbsp;
&nbsp;
 //HOOKIES
<span style="color: #991111;">-add_action <span style="">&#40;</span> 'save_post', 'vc_twit'<span style="">&#41;</span>;</span>
<span style="color: #00b000;">+add_action <span style="">&#40;</span>'wp_insert_post', 'vc_twit'<span style="">&#41;</span>;</span>
 add_action<span style="">&#40;</span>'admin_menu', 'vc_addTwitterAdminPages'<span style="">&#41;</span>;
&nbsp;
 ?&amp;gt;</pre></td></tr></table></div>

<p><strong>twitter_updater_manage.php</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="diff diff" style="font-family:monospace;">--- twitter_updater_manage.php_orig	<span style="">2008</span>-<span style="">10</span>-09 06:<span style="">35</span>:<span style="">23.000000000</span> +0200
<span style="color: #888822;">+++ twitter_updater_manage.php	<span style="">2008</span>-<span style="">10</span>-09 06:<span style="">12</span>:<span style="">40.000000000</span> +0200</span>
<span style="color: #440088;">@@ -<span style="">10</span>,<span style="">6</span> +<span style="">10</span>,<span style="">7</span> @@</span>
 		update_option<span style="">&#40;</span>'oldpost-edited-text', 'Fiddling with my blog post: #title#'<span style="">&#41;</span>;
 		update_option<span style="">&#40;</span>'oldpost-edited-showlink', '<span style="">1</span>'<span style="">&#41;</span>;
 		update_option<span style="">&#40;</span>'short-method', '0'<span style="">&#41;</span>;
<span style="color: #00b000;">+		update_option<span style="">&#40;</span>'use-zz-gd', '<span style="">1</span>'<span style="">&#41;</span>;</span>
 		update_option<span style="">&#40;</span>'twitterInitialised', '<span style="">1</span>'<span style="">&#41;</span>;
 	<span style="">&#125;</span>
&nbsp;
<span style="color: #440088;">@@ -<span style="">24</span>,<span style="">6</span> +<span style="">25</span>,<span style="">7</span> @@</span>
 		update_option<span style="">&#40;</span>'oldpost-edited-text', $_POST<span style="">&#91;</span>'oldpost-edited-text'<span style="">&#93;</span><span style="">&#41;</span>;
 		update_option<span style="">&#40;</span>'oldpost-edited-showlink', $_POST<span style="">&#91;</span>'oldpost-edited-showlink'<span style="">&#93;</span><span style="">&#41;</span>;
 		update_option<span style="">&#40;</span>'short-method', $_POST<span style="">&#91;</span>'short-method'<span style="">&#93;</span><span style="">&#41;</span>;
<span style="color: #00b000;">+		update_option<span style="">&#40;</span>'use-zz-gd', $_POST<span style="">&#91;</span>'use-zz-gd'<span style="">&#93;</span><span style="">&#41;</span>;</span>
&nbsp;
 	<span style="">&#125;</span>else if <span style="">&#40;</span>$_POST<span style="">&#91;</span>'submit-type'<span style="">&#93;</span> == 'login'<span style="">&#41;</span><span style="">&#123;</span>
 		//UPDATE LOGIN
<span style="color: #440088;">@@ -<span style="">91</span>,<span style="">6</span> +<span style="">93</span>,<span style="">10</span> @@</span>
 				&lt;label for=&quot;short-method&quot;&gt;&lt;strong&gt;Attention!&lt;/strong&gt;: only check if the shorturl-generation throws 
 				errors!&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If there's nothing wrong, don't check this checkbox!!!&lt;/label&gt;
 			&lt;/p&gt;
<span style="color: #00b000;">+			&lt;p&gt;</span>
<span style="color: #00b000;">+                                &amp;lt;input type=&quot;checkbox&quot; name=&quot;use-zz-gd&quot; id=&quot;use-zz-gd&quot; value=&quot;<span style="">1</span>&quot;  /&amp;gt;</span>
<span style="color: #00b000;">+                                &lt;label for=&quot;use-zz-gd&quot;&gt;Use &lt;a href=&quot;http://zz.gd&quot;&gt;zz.gd&lt;/a&gt; instead of &lt;a href=&quot;http://tinyurl.com&quot;&gt;tinyurl.com&lt;/a&gt;.&lt;/label&gt;</span>
<span style="color: #00b000;">+															                        &lt;/p&gt;</span>
 		&lt;/fieldset&gt;</pre></td></tr></table></div>

<p>Update 1: Check if it works, when password is reset.<br />
Update 2: After lots of trial and errors, and changing the action hook from publish_post to wp_insert_post, it appears to be working.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2008/10/01/updated-twitter-updater/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Syntax Highlighting with WP-Syntax</title>
		<link>http://blog.karroum.dyndns.org/andreas/2008/09/30/syntax-highlighting-with-wp-syntax/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2008/09/30/syntax-highlighting-with-wp-syntax/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 21:32:36 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Private]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[qtranslate]]></category>

		<category><![CDATA[syntax highlighting]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[wp-syntax]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/?p=78</guid>
		<description><![CDATA[I don&#8217;t know what exactly went wrong earlier, but I could not enable syntax highlighting in wordpress-mu together with an active qTranslate plugin. But after upgrading everything to the latest version (Wordpress-mu to 2.6.2 and qTranslate to 1.1.4) it works with WP-Syntax like a charm! Here are a few examples from the docs. The list [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know what exactly went wrong earlier, but I could not enable syntax highlighting in wordpress-mu together with an active qTranslate plugin. But after upgrading everything to the latest version (Wordpress-mu to 2.6.2 and qTranslate to 1.1.4) it works with <a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> like a charm! Here are a few examples from the docs. The list of supported languages is massive  <img src='http://blog.karroum.dyndns.org/andreas/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;foo&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&amp;</span>lt;?php
  <span style="color: #000000; font-weight: bold;">function</span> foo<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Hello World!<span style="color: #000099; font-weight: bold;">\\</span>n&quot;</span>;
  <span style="color: #009900;">&#125;</span>
?<span style="color: #339933;">&amp;</span>gt;
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="java java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Hello <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Hello World!&quot;</span><span style="color: #009900;">&#41;</span>;
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>18
19
20
21
22
</pre></td><td class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">class</span> Example
  <span style="color:#9966CC; font-weight:bold;">def</span> example<span style="color:#006600; font-weight:bold;">&#40;</span>arg1<span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#0000FF; font-weight:bold;">return</span> <span style="color:#996600;">&quot;Hello: &quot;</span> <span style="color:#006600; font-weight:bold;">+</span> arg1.<span style="color:#9900CC;">to_s</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></td></tr></table></div>

<p>Only Problem is, that the Editor filters out PHP scrips automatically, even when I (in the role of an <a href="http://codex.wordpress.org/Roles_and_Capabilities#Administrator">Administrators</a> have &#8216;<a href="http://codex.wordpress.org/Roles_and_Capabilities#unfiltered_html">unfiltered_html</a>&#8216; permissions and turned off the visual editor. Who knows a solution to that? Maybe I really have to install the Role Manager Plugin, as recommanded in the FAQ for WP-Syntax.</p>
<p>On the other hand, I&#8217;m not going to post a lot of PHP code, so I can live with that.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2008/09/30/syntax-highlighting-with-wp-syntax/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Progress presentes Actional and DataXtend SI at codecentric&#8217;s “Fridaymeeting”</title>
		<link>http://blog.karroum.dyndns.org/andreas/2008/09/03/progress-presentes-actional-and-dataxtend-si-at-codecentrics-%e2%80%9cfridaymeeting%e2%80%9d/</link>
		<comments>http://blog.karroum.dyndns.org/andreas/2008/09/03/progress-presentes-actional-and-dataxtend-si-at-codecentrics-%e2%80%9cfridaymeeting%e2%80%9d/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 12:43:11 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
		
		<category><![CDATA[Business]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[actional]]></category>

		<category><![CDATA[codecentric]]></category>

		<category><![CDATA[dataxtend]]></category>

		<category><![CDATA[javarebel]]></category>

		<category><![CDATA[progress]]></category>

		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://blog.karroum.dyndns.org/andreas/2008/09/03/progress-presentes-actional-and-dataxtend-si-at-codecentrics-%e2%80%9cfridaymeeting%e2%80%9d/</guid>
		<description><![CDATA[On the last Friday of every month codecentric hosts its “Fridaymeeting”. It’s a good opportunity to spend time from everybodys 20%-time contingent for professional development and discuss news in technology, products or other interesting topics. Every now and then we also invite companies to present their newest products.
Last Friday Progress Software was our guest; a [...]]]></description>
			<content:encoded><![CDATA[<p>On the last Friday of every month codecentric hosts its “Fridaymeeting”. It’s a good opportunity to spend time from everybodys 20%-time contingent for professional development and discuss news in technology, products or other interesting topics. Every now and then we also invite companies to present their newest products.</p>
<p>Last Friday <a href="http://www.progress.com/">Progress Software</a> was our guest; a company less known by their name but rather by their products, like the Java Messaging / Enterprise Service Bus “<a href="http://www.sonicsoftware.com/">Sonic MQ/ESB</a>“, or the JDBC/ODBC driver “<a href="http://www.datadirect.com/">DataDirect</a>“. Recently Progress was in the news because of the acquisitions of <a href="http://www.progress.com/news/working-together/index.ssp">IONA</a> and <a href="http://home.mindreef.com/">Mindreef</a>. With these two new companies Progress extends its broad SOA product portfolio, of which Eric Schaumlöffel presented the products “<a href="http://www.actional.com/">Actional</a>” and “<a href="http://www.progress.com/dataxtend/dataxtend_si">DataXtend SI</a>“.</p>
<p>Read the rest of the article on the <a href="http://blog.codecentric.de/en/2008/09/progress-software-prasentiert-actional-und-dataxtend-si-beim-freitagsmeeting/">codecentric blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.karroum.dyndns.org/andreas/2008/09/03/progress-presentes-actional-and-dataxtend-si-at-codecentrics-%e2%80%9cfridaymeeting%e2%80%9d/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
