<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Keksrolle.de</title>
	
	<link>http://blog.keksrolle.de</link>
	<description>Christoph's Reisetagebuch und Notizblog</description>
	<lastBuildDate>Mon, 01 Mar 2010 15:56:46 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Keksrolle" /><feedburner:info uri="keksrolle" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>SVN ignores file extension .so by default – which corrupted my build</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/fOhSYtEbgyw/svn-ignores-file-extension-so-by-default-which-corrupted-my-build.html</link>
		<comments>http://blog.keksrolle.de/2010/03/01/svn-ignores-file-extension-so-by-default-which-corrupted-my-build.html#comments</comments>
		<pubDate>Mon, 01 Mar 2010 11:05:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software-Development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pde]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=381</guid>
		<description><![CDATA[I was just working on my currently OSGI project which is build with Eclipse PDE headless for multiple platforms.
The Eclipse Deltapack contains a launcher bundle (directory) called org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520  which contains a file called eclipse_1206.so.
This launcher bundle I also committed to my SVN repository for my headless build from the build machine. 
I was wondering [...]]]></description>
			<content:encoded><![CDATA[<p>I was just working on my currently OSGI project which is build with Eclipse PDE headless for multiple platforms.<br />
The Eclipse Deltapack contains a launcher bundle (directory) called <strong>org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520</strong>  which contains a file called <strong>eclipse_1206.so</strong>.<br />
This launcher bundle I also committed to my SVN repository for my headless build from the build machine. </p>
<p>I was wondering why my build was always broken and corrupt and I found out that in my SVN repository the <strong>eclipse_1206.so</strong> file was missing&#8230;and indeed it was <strong>NOT</strong> committed.<br />
I first thought I made a mistake, so I removed and recommitted everything. And again, the eclipse_1206.so wasn&#8217;t there.</p>
<p>So I started googling and I found <a href="http://old.nabble.com/Svn-1.5.3-seems-to-enforce-svn:ignore-on-.so-files-by-default-td21925425.html" onclick="pageTracker._trackPageview('/outgoing/old.nabble.com/Svn-1.5.3-seems-to-enforce-svn_ignore-on-.so-files-by-default-td21925425.html?referer=');">this</a> which directed me to <a href="http://subversion.tigris.org/issues/show_bug.cgi?id=2415" onclick="pageTracker._trackPageview('/outgoing/subversion.tigris.org/issues/show_bug.cgi?id=2415&amp;referer=');">this</a>. Apparently <strong>*.so</strong> files are igored by SVN by default even though there is no <em>svn:ignore</em> property set. </p>
<p><strong>Solution:</strong><br />
In order  to solve this I did the following:</p>
<ol>
<li>Open the file ~/.subversion/config</li>
<li>Remove the comment from the line which starts with <em># global-ignores</em></li>
<li>The line looks like this now: <em>global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store</em></li>
</ol>
<p>As you can see the <em>.so</em>  file extension is not defined anymore and suddenly .so files also show up in my SVN Commit Dialog (I am using svnX on MaxOSX).</p>
<p>This also explains a bit my most recent <a href="http://stackoverflow.com/questions/2333090/eclipse-starting-custom-eclipse-app-under-linux-returns-to-the-command-line-prom" onclick="pageTracker._trackPageview('/outgoing/stackoverflow.com/questions/2333090/eclipse-starting-custom-eclipse-app-under-linux-returns-to-the-command-line-prom?referer=');">issue</a> I was having with a broken Eclipse build.</p>
<p>I am not too sure if this is a good default by SVN to ignore .so files as those are shared objects in Unix Environments which are important for Multi Platform builds in my case. Anyway I found this out and solved the problem. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/aDMBkYeYnIsdUpEtaZEGGXIeTeo/0/da"><img src="http://feedads.g.doubleclick.net/~a/aDMBkYeYnIsdUpEtaZEGGXIeTeo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/aDMBkYeYnIsdUpEtaZEGGXIeTeo/1/da"><img src="http://feedads.g.doubleclick.net/~a/aDMBkYeYnIsdUpEtaZEGGXIeTeo/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/fOhSYtEbgyw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2010/03/01/svn-ignores-file-extension-so-by-default-which-corrupted-my-build.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2010/03/01/svn-ignores-file-extension-so-by-default-which-corrupted-my-build.html</feedburner:origLink></item>
		<item>
		<title>Hibernate Transaction Handling in DWR</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/rBFW4cms1is/hibernate-transaction-handling-in-dwr.html</link>
		<comments>http://blog.keksrolle.de/2010/02/22/hibernate-transaction-handling-in-dwr.html#comments</comments>
		<pubDate>Mon, 22 Feb 2010 09:00:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software-Development]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[dwr]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[osgi]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=370</guid>
		<description><![CDATA[I am currently building a web-application using OSGI (HTTP Service) and Hibernate. I also use DWR  for all the AJAX stuff in the application. DWR uses a special DWRServlet which handles the interaction of the browser with the server side. The other part of my application uses a global dispatcher servlet for all other [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently building a web-application using OSGI (HTTP Service) and Hibernate. I also use <a href="http://directwebremoting.org/dwr/index.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/directwebremoting.org/dwr/index.html?referer=');">DWR </a> for all the AJAX stuff in the application. DWR uses a special DWRServlet which handles the interaction of the browser with the server side. The other part of my application uses a global dispatcher servlet for all other servlet requests.  This global dispatcher servlet also does the Hibernate  transaction handling using a OpenSessionInView &#8211; Pattern. This means the dispatcher servlet begins, commits and rollback the transaction in case of an exception. This works well.</p>
<p>My problem until today was, that this kind of transaction handling was not working in my DWRServlet, because this is a servlet not under my control. My first approach was to create a new servlet which extens DWRServlet so that I could modify the behaviour , but that didn&#8217;t work completely, because DWR does not pass Exceptions to my servlet. DWR handles all exceptions, marshals them so that the Exception can be passed back to the browser to be displayed in your calling Javascript code.  That means I cannot catch the exception in my custom servlet  because it is already caught and handled. Damn!</p>
<p>So I debugged and digged through a complete DWR call and found the <em><a href="http://directwebremoting.org/dwr-javadoc/org/directwebremoting/annotations/GlobalFilter.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/directwebremoting.org/dwr-javadoc/org/directwebremoting/annotations/GlobalFilter.html?referer=');">@GlobalFilter</a></em> annotation. That seems to be exactly what I need. This annotation can be applied to a class and this class also needs to implement the <em>AjaxFilter</em> interface. DWR then applies all filters to each method call made through the DWRServlet. This class needs to be registered the same way as you register your other DWR annotated classes (e.g. the classes annotated with the @RemoteProxy or @RemoteMethod annotation)</p>
<p>So I came up with the following class which borrowed some code of the existing <em><a href="http://kickjava.com/src/org/directwebremoting/hibernate/H3SessionAjaxFilter.java.htm" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kickjava.com/src/org/directwebremoting/hibernate/H3SessionAjaxFilter.java.htm?referer=');">org.directwebremoting.hibernate.H3SessionAjaxFilter </a></em>which does almost exactly what I need, except the rollback() of my transaction in case of an error.</p>
<pre>@GlobalFilter
public class DWRFilter implements AjaxFilter {

	private static final Logger LOGGER = LoggerFactory.getLogger(DWRFilter.class.getName());

	public Object doFilter(Object obj, Method method, Object[] params,
			AjaxFilterChain chain) throws Exception {

        SessionFactory sessionFactory = Activator.getSessionFactory();

        Transaction transaction = null;
        if (sessionFactory != null)
        {
            Session session = sessionFactory.getCurrentSession();
            transaction = session.beginTransaction();
        }
        else
        {
            LOGGER.error("SessionFactory not initialized for this web application.");
        }

        Object reply = null;
		try {
			reply = chain.doFilter(obj, method, params);

			if (transaction != null)
			{
			    transaction.commit();
			}
		} catch (Exception e) {
			LOGGER.error("Error while committing transaction in DWRFilter. Transaction will be rolled back now...",e);
                        if(transaction != null){
			    transaction.rollback();
                        }</pre>
<pre>			throw new InvocationTargetException(e);

		}

        return reply;
	}

}</pre>
<p>This basically does exactly what I want and is basically something like the <a href="https://www.hibernate.org/43.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.hibernate.org/43.html?referer=');">Open Session In View</a> pattern for DWR and Hibernate. For each DWR call it is the following flow:</p>
<ul>
<li>begin transaction</li>
<li>do work</li>
<li>commit transaction</li>
<li>or rollback transaction in case of an exception</li>
</ul>
<p>This way I have a central place for my DWR-Transaction handling.</p>
<p>This is my first solution to this problem and maybe it doesn&#8217;t catch every scenario, e.g. especially when you are using special features of DWR like batch calls etc. I haven&#8217;t used those features and for my current features using simple calls it works very well.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/J6W-nSChGN149pzmarfHDZLarTE/0/da"><img src="http://feedads.g.doubleclick.net/~a/J6W-nSChGN149pzmarfHDZLarTE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/J6W-nSChGN149pzmarfHDZLarTE/1/da"><img src="http://feedads.g.doubleclick.net/~a/J6W-nSChGN149pzmarfHDZLarTE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/rBFW4cms1is" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2010/02/22/hibernate-transaction-handling-in-dwr.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2010/02/22/hibernate-transaction-handling-in-dwr.html</feedburner:origLink></item>
		<item>
		<title>Java Code Snippet: Redirect System.out into a string</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/7leD20DKYsc/code-snippet-redirect-systemout-to-string.html</link>
		<comments>http://blog.keksrolle.de/2010/01/19/code-snippet-redirect-systemout-to-string.html#comments</comments>
		<pubDate>Tue, 19 Jan 2010 10:24:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software-Development]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[system.out]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=363</guid>
		<description><![CDATA[For a simple test application / prototype I just wanted to just dump everything from System.out into a String, which I can output somewhere e.g. in a JSP file so that I see what&#8217;s going on. And yes, I didn&#8217;t want to setup a Logging framework for this&#8230;I want a String. Here it is:


  [...]]]></description>
			<content:encoded><![CDATA[<p>For a simple test application / prototype I just wanted to just dump everything from System.out into a String, which I can output somewhere e.g. in a JSP file so that I see what&#8217;s going on. And yes, I didn&#8217;t want to setup a Logging framework for this&#8230;I want a String. Here it is:</p>
<p><span style="white-space: pre;"><br />
</span></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> OutputStream out = new ByteArrayOutputStream();</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> System.setOut(new PrintStream(out));</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> System.out.println(&#8220;Test&#8221;);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> String sysout_content = out.toString();</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> System.out.println();</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> }</div>
<blockquote><p>public static void main(String[] args) {</p>
<p><span style="white-space:pre"> </span> OutputStream out = new ByteArrayOutputStream();</p>
<p><span style="white-space:pre"> </span> System.setOut(new PrintStream(out));</p>
<p><span style="white-space:pre"> </span> System.out.println(&#8220;Test&#8221;);</p>
<p><span style="white-space:pre"> </span> String sysout_content = out.toString();</p>
<p><span style="white-space:pre"> </span> System.out.println();</p>
<p><span style="white-space:pre"> </span> }</p></blockquote>

<p><a href="http://feedads.g.doubleclick.net/~a/Zmgbp8IcsvR8p0Q1Zdwdfu5Rhyo/0/da"><img src="http://feedads.g.doubleclick.net/~a/Zmgbp8IcsvR8p0Q1Zdwdfu5Rhyo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Zmgbp8IcsvR8p0Q1Zdwdfu5Rhyo/1/da"><img src="http://feedads.g.doubleclick.net/~a/Zmgbp8IcsvR8p0Q1Zdwdfu5Rhyo/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/7leD20DKYsc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2010/01/19/code-snippet-redirect-systemout-to-string.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2010/01/19/code-snippet-redirect-systemout-to-string.html</feedburner:origLink></item>
		<item>
		<title>A software system is only as good as easy it is to setup its development environment</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/lX2xgSMw95E/a-software-system-is-only-as-good-as-easy-it-is-to-setup-its-development-environment.html</link>
		<comments>http://blog.keksrolle.de/2010/01/08/a-software-system-is-only-as-good-as-easy-it-is-to-setup-its-development-environment.html#comments</comments>
		<pubDate>Fri, 08 Jan 2010 19:03:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software-Development]]></category>
		<category><![CDATA[development process]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=357</guid>
		<description><![CDATA[&#8230; you get the idea.
After having spent almost an entire day to help our new developer to get setup his development environment containing the source code, eclipse, svn, appserver, database, user accounts I made a new resolution for every system I will build in the future:
The system about to be built:

has to have a development [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; you get the idea.</p>
<p>After having spent almost an entire day to help our new developer to get setup his development environment containing the source code, eclipse, svn, appserver, database, user accounts I made a new resolution for every system I will build in the future:</p>
<p>The system about to be built:</p>
<ul>
<li>has to have a development environment which can be setup within less than an hour from a single location / disc, automatically</li>
<li>to do this it has to use sensible defaults &#8211;&gt; customization can happen later on a case by case basis</li>
<li>the developer has to start working with it right away</li>
<li>build and deployment on local environment has to happen automatically. required appservers etc. have to be part of the stuff installed ealier</li>
</ul>
<p>I started developing with Ruby On Rails about 3 month ago and launched <a href="http://artistnews.de" target="_blank" onclick="pageTracker._trackPageview('/outgoing/artistnews.de?referer=');">my first project</a> a few days ago, I realized that the ROR already have taken those things into account. Everything is bundled inside the project folder and after checking it out from the SVN you are ready to go by just typing <em>&#8220;script/server&#8221;</em> in the command line. Same for setup &#8220;rails myProject&#8221;</p>
<p>I just started with Rails out of curiosity but I already love the way I can develop my ideas and web-projects. Besides that I love to develop in JAVA and currently in the field of OSGI on the server-side and there we basically need the ease of use and the spirit of Rails.</p>
<p>Ok, I switched a bit between topics, so I try to conclude my new years resolution:</p>
<p><em>&#8220;I want to build systems which solve complex tasks, and are easy to setup, fun to develop and fun to use.&#8221;</em></p>

<p><a href="http://feedads.g.doubleclick.net/~a/bfuAnDsEhFA2B26X68c_LZM44z4/0/da"><img src="http://feedads.g.doubleclick.net/~a/bfuAnDsEhFA2B26X68c_LZM44z4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/bfuAnDsEhFA2B26X68c_LZM44z4/1/da"><img src="http://feedads.g.doubleclick.net/~a/bfuAnDsEhFA2B26X68c_LZM44z4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/lX2xgSMw95E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2010/01/08/a-software-system-is-only-as-good-as-easy-it-is-to-setup-its-development-environment.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2010/01/08/a-software-system-is-only-as-good-as-easy-it-is-to-setup-its-development-environment.html</feedburner:origLink></item>
		<item>
		<title>Stromverbrauch Macbook Arbeitsplatz</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/PE34xdNEqD8/stromverbrauch-macbook-arbeitsplatz.html</link>
		<comments>http://blog.keksrolle.de/2009/10/28/stromverbrauch-macbook-arbeitsplatz.html#comments</comments>
		<pubDate>Wed, 28 Oct 2009 06:47:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software-Development]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=343</guid>
		<description><![CDATA[Letzte Woche hatte ich mir rein aus Interesse mal ein Strommessgeraet von den Stadtwerken geholt, um mal meinen Arbeitsplatz im Arbeitszimmer durchzumessen.

Komponenten:

Macbook 13&#8243; 2.16 GHz Intel Core 2 Duo (gekauft Oktober 2007),2 GB RAM
24&#8243; TFT Samsung SyncMaster 245B
Schreibtischlampe
DENON Verstaerker als Stereoanlage




Geraet
Verbrauch minimal
Verbrauch maximal


Macbook 13&#8243; (gekauft Oktober 2007)
35 Watt
39 Watt


24&#8243; TFT Samsung SyncMaster 245B
23 Watt
73 Watt


Schreibtischlampe [...]]]></description>
			<content:encoded><![CDATA[<p>Letzte Woche hatte ich mir rein aus Interesse mal ein Strommessgeraet von den Stadtwerken geholt, um mal meinen Arbeitsplatz im Arbeitszimmer durchzumessen.</p>
<p style="text-align: center;"><a href="http://blog.keksrolle.de/wp-content/uploads/2009/10/Strommessgeraet1.jpg" onclick="pageTracker._trackPageview('/outgoing/blog.keksrolle.de/wp-content/uploads/2009/10/Strommessgeraet1.jpg?referer=');"><img class="size-medium wp-image-355 aligncenter" title="Strommessgeraet" src="http://blog.keksrolle.de/wp-content/uploads/2009/10/Strommessgeraet1-192x300.jpg" alt="Strommessgeraet1" width="192" height="300" /></a></p>
<h2>Komponenten:</h2>
<ul>
<li>Macbook 13&#8243; 2.16 GHz Intel Core 2 Duo (gekauft Oktober 2007),2 GB RAM</li>
<li>24&#8243; TFT Samsung SyncMaster 245B</li>
<li>Schreibtischlampe</li>
<li>DENON Verstaerker als Stereoanlage</li>
</ul>
<table border="0">
<tbody>
<tr>
<th>Geraet</th>
<th>Verbrauch minimal</th>
<th>Verbrauch maximal</th>
</tr>
<tr>
<td>Macbook 13&#8243; (gekauft Oktober 2007)</td>
<td>35 Watt</td>
<td>39 Watt</td>
</tr>
<tr>
<td>24&#8243; TFT Samsung SyncMaster 245B</td>
<td>23 Watt</td>
<td>73 Watt</td>
</tr>
<tr>
<td>Schreibtischlampe Halogen</td>
<td>15 Watt</td>
<td>15 Watt</td>
</tr>
<tr>
<td>DENON Verstaerker als Stereoanlage</td>
<td>16 Watt</td>
<td>28 Watt</td>
</tr>
</tbody>
<tfoot>
<tr>
<td><strong>Summe</strong></td>
<td>89 Watt</td>
<td>155 Watt</td>
</tr>
</tfoot>
</table>
<p>Durchschnittskosten pro 24h: 0,56 EUR (normale Freizeitarbeit, kein Freelancing)<br />
Durchschnittskosten pro Jahr:  ca. 205 EUR</p>
<p><strong>Minimal / Maximal:</strong></p>
<p>Mit Minimal meine ich, dass der die Helligkeitseinstellungen beim Display bzw. die Lautstaerke der Stereoanlage minimal war. Maximal heisst beim Display volle Helligkeit und Lautstaerke etwas ueber Zimmerlautstaerke.</p>
<h2>Fazit</h2>
<p>Interessant was die Helligkeit allein ausmacht. Auch wenn alle Geraete ausgeschaltet sind, werden noch ca. 5 Watt gezogen. Das gilt auch fuer den Sleep-Modus des Macbooks, wo immer noch 9 Watt messbar waren, auch wenn alle anderen Geraet ausgeschaltet waren.</p>
<p>Aus diesem Grund schalte ich ab jetzt immer die komplette Steckdosenleiste ab, wenn ich das Haus verlasse.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/tkgFg_O8cqykR55mDY27ZejhZeY/0/da"><img src="http://feedads.g.doubleclick.net/~a/tkgFg_O8cqykR55mDY27ZejhZeY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/tkgFg_O8cqykR55mDY27ZejhZeY/1/da"><img src="http://feedads.g.doubleclick.net/~a/tkgFg_O8cqykR55mDY27ZejhZeY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/PE34xdNEqD8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2009/10/28/stromverbrauch-macbook-arbeitsplatz.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2009/10/28/stromverbrauch-macbook-arbeitsplatz.html</feedburner:origLink></item>
		<item>
		<title>Resolving Hibernate exceptions with MySQL on Linux because of case-sensitive table names</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/pCf6rkMRZrE/resolving-hibernate-exceptions-with-mysql-on-linux-because-of-case-sensitive-table-names.html</link>
		<comments>http://blog.keksrolle.de/2009/10/16/resolving-hibernate-exceptions-with-mysql-on-linux-because-of-case-sensitive-table-names.html#comments</comments>
		<pubDate>Fri, 16 Oct 2009 16:11:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software-Development]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=335</guid>
		<description><![CDATA[Today I tried to deploy my application from my OSX dev machine to a server on Amazon EC2.
I was running into exceptions like this:
Caused by: org.hibernate.exception.SQLGrammarException: could not load an entity: [app.model.entities.Jobs#8]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1895)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:207)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:822)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:815)
at org.springframework.orm.hibernate3.HibernateTemplate$3.doInHibernate(HibernateTemplate.java:569)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)
&#8230; 30 more
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table &#8216;database.Files&#8217; doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Today I tried to deploy my application from my OSX dev machine to a server on Amazon EC2.</p>
<p>I was running into exceptions like this:</p>
<blockquote><p>Caused by: org.hibernate.exception.SQLGrammarException: could not load an entity: [app.model.entities.Jobs#8]<br />
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)<br />
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)<br />
at org.hibernate.loader.Loader.loadEntity(Loader.java:1895)<br />
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)<br />
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)<br />
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)<br />
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)<br />
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)<br />
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)<br />
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:207)<br />
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)<br />
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)<br />
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:822)<br />
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:815)<br />
at org.springframework.orm.hibernate3.HibernateTemplate$3.doInHibernate(HibernateTemplate.java:569)<br />
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)<br />
&#8230; 30 more<br />
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table &#8216;database.Files&#8217; doesn&#8217;t exist</p></blockquote>
<p>Although all my table names are lowercase it seems that Hibernate tries to create case-sensitive SQL queries which relate to the name of my POJOs (e.g. MyPojo) .</p>
<p>While this was working on my OSX it didn&#8217;t on Fedora Linux on EC2.</p>
<p><strong>Solution:</strong></p>
<p>In my /etc/my.cnf I had to add the following configuration property:</p>
<blockquote>
<p style="margin: 0.0px 0.0px 10.0px 0.0px; line-height: 19.0px; font: 14.0px 'Lucida Grande';">lower_case_table_names=1</p>
</blockquote>
<p style="margin: 0.0px 0.0px 10.0px 0.0px; line-height: 19.0px; font: 14.0px 'Lucida Grande';">Thanks to the following articles which helped me:</p>
<p style="margin: 0.0px 0.0px 10.0px 0.0px; line-height: 19.0px; font: 14.0px 'Lucida Grande';"><a href="http://www.parkroad.co.za/mysql-case-sensitivity-table-names-between-windows-and-linux-systems" onclick="pageTracker._trackPageview('/outgoing/www.parkroad.co.za/mysql-case-sensitivity-table-names-between-windows-and-linux-systems?referer=');">http://www.parkroad.co.za/mysql-case-sensitivity-table-names-between-windows-and-linux-systems</a></p>
<p style="margin: 0.0px 0.0px 10.0px 0.0px; line-height: 19.0px; font: 14.0px 'Lucida Grande';"><a href="http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html" onclick="pageTracker._trackPageview('/outgoing/dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html?referer=');">http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html</a></p>
<p style="margin: 0.0px 0.0px 10.0px 0.0px; line-height: 19.0px; font: 14.0px 'Lucida Grande';"><a href="https://forum.hibernate.org/viewtopic.php?p=2394017" onclick="pageTracker._trackPageview('/outgoing/forum.hibernate.org/viewtopic.php?p=2394017&amp;referer=');">https://forum.hibernate.org/viewtopic.php?p=2394017</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/PinF-4xGOjMHSdf30Na-qd9Ur08/0/da"><img src="http://feedads.g.doubleclick.net/~a/PinF-4xGOjMHSdf30Na-qd9Ur08/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/PinF-4xGOjMHSdf30Na-qd9Ur08/1/da"><img src="http://feedads.g.doubleclick.net/~a/PinF-4xGOjMHSdf30Na-qd9Ur08/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/pCf6rkMRZrE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2009/10/16/resolving-hibernate-exceptions-with-mysql-on-linux-because-of-case-sensitive-table-names.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2009/10/16/resolving-hibernate-exceptions-with-mysql-on-linux-because-of-case-sensitive-table-names.html</feedburner:origLink></item>
		<item>
		<title>Resolving trouble with Ruby On Rails with MySql on XAMPP on OSX Snow Leopard</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/GbU6Edc7774/resolving-trouble-with-ruby-on-rails-with-mysql-on-xampp-on-osx-snow-leopard.html</link>
		<comments>http://blog.keksrolle.de/2009/10/09/resolving-trouble-with-ruby-on-rails-with-mysql-on-xampp-on-osx-snow-leopard.html#comments</comments>
		<pubDate>Fri, 09 Oct 2009 08:21:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software-Development]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=323</guid>
		<description><![CDATA[I was trying to work through the Get Started guide of Ruby On Rails but I had issues when I was trying to run the command &#8220;rake db:migrate&#8221; the first time.
It was complaining that the mysql gem was not up to date or something and I had to do a &#8220;gem install mysql&#8221;. But that [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to work through the <a href="http://guides.rubyonrails.org/getting_started.html" onclick="pageTracker._trackPageview('/outgoing/guides.rubyonrails.org/getting_started.html?referer=');">Get Started guide of Ruby On Rails</a> but I had issues when I was trying to run the command &#8220;rake db:migrate&#8221; the first time.</p>
<p>It was complaining that the mysql gem was not up to date or something and I had to do a &#8220;gem install mysql&#8221;. But that resulted in errors as decribed in the following blog posts:<br />
<a href="http://wonko.com/post/how-to-install-the-mysqlruby-gem-on-mac-os-x-leopard#comment-5544" onclick="pageTracker._trackPageview('/outgoing/wonko.com/post/how-to-install-the-mysqlruby-gem-on-mac-os-x-leopard_comment-5544?referer=');">http://wonko.com/post/how-to-install-the-mysqlruby-gem-on-mac-os-x-leopard#comment-5544</a></p>
<p><a href="http://boonedocks.net/mike/archives/175-MAMP-and-the-Ruby-MySQL-Gem.html" onclick="pageTracker._trackPageview('/outgoing/boonedocks.net/mike/archives/175-MAMP-and-the-Ruby-MySQL-Gem.html?referer=');">http://boonedocks.net/mike/archives/175-MAMP-and-the-Ruby-MySQL-Gem.html</a></p>
<p>I had issues as I was using XAMPP and &#8220;gem install mysql&#8221; was complaining about missing mysql.h  I had to upgrade my XAMPP and additionally download the XAMPP developer tools.</p>
<p>Go to <a href="http://sourceforge.net/projects/xampp/files/" onclick="pageTracker._trackPageview('/outgoing/sourceforge.net/projects/xampp/files/?referer=');">http://sourceforge.net/projects/xampp/files/</a> and download:<br />
xampp-macosx-1.7.2a.dmg<br />
xampp-macosx-1.7.2a-dev.dmg</p>
<p>Of course first I had to remove/backup my existing XAMPP folder under <strong>/Applications/xampp</strong> Then I installed the new version and after that the <strong>xampp-macosx-1.7.2a-dev.dmg </strong>developer pack.  this xampp-macosx-1.7.2a-dev.dmg contains the <em>mysql.h</em> header files and so on.  After that dev tools installation the XAMPP folder has a new folder called &#8220;include&#8221; which has all the mysql header files like mysql.h  Then the following command line worked for me:</p>
<blockquote><p>sudo ARCHFLAGS=&#8221;-arch i386&#8243; gem install mysql &#8212; &#8211;with-mysql-dir=/Applications/XAMPP/xamppfiles/</p></blockquote>
<p>Note I was pointing to the xamppfiles base-dir as the mysql-dir, because then all the paths are relative as if this would be the mysql root dir.</p>
<p>Update: But as I am writing this, I was running into new trouble. It seems I need to update to the 64bit MySQL Version because of Snow Leopard, because now I am running into new problems:</p>
<blockquote><p>Couldn’t create database for {”username”=&gt;”root”, “adapter”=&gt;”mysql”, “database”=&gt;”mydatabase”, “password”=&gt;nil, “socket”=&gt;”/tmp/mysql.sock”}, charset: utf8, collation: utf8_unicode_ci (if you set the charset manually, make sure you have a matching collation)</p></blockquote>
<p>According to <a href="http://www.techskater.com/ruby-on-rails/problems-with-mysql-gem-and-rake-on-snow-leopard/" onclick="pageTracker._trackPageview('/outgoing/www.techskater.com/ruby-on-rails/problems-with-mysql-gem-and-rake-on-snow-leopard/?referer=');">http://www.techskater.com/ruby-on-rails/problems-with-mysql-gem-and-rake-on-snow-leopard/</a> this seems to be related to Snow Leopard and MySql 32bit vs. 64bit. On Snow Leopard the Gem Mysql needs to be build against a 64bit mysql or so.</p>
<p>I am currently reading <a href="http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard" onclick="pageTracker._trackPageview('/outgoing/weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard?referer=');">http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard</a> to resolve the issues and update MySQL. Let&#8217;s see&#8230;</p>
<p>Update 2: So I have finally installed MySQL 64Bit as suggested on the page above and I can start it. A &#8220;rake db:create&#8221; has also worked now as I could verify via MySQL Query browser. Let&#8217;s see what is the next thing which is not working&#8230;</p>
<p>Update 3: It really looks I am done and I am currently working through the Getting Started Guide.</p>
<p><strong>Conclusion:</strong><strong> </strong>3 hours wasted to get it running on my OSX Snow Leopard. I did the same yesterday on my Windows machine at work and I didn&#8217;t have any such problems. It seems to be only related to Snow Leopard. <strong> </strong>You might just read this page <a href="http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard" onclick="pageTracker._trackPageview('/outgoing/weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard?referer=');">http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard</a> and ignore everything above, but I leave it in this blog post for further reference. The difference is that you might not continue using the MySQL from XAMPP but a standalone mySQL. But you can still use phpMyAdmin from XAMPP or MySQL Query Browser to manage your database.</p>
<p><strong><br />
</strong></p>

<p><a href="http://feedads.g.doubleclick.net/~a/mBuOHeElzkAXdf_ILVaQl20qllc/0/da"><img src="http://feedads.g.doubleclick.net/~a/mBuOHeElzkAXdf_ILVaQl20qllc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mBuOHeElzkAXdf_ILVaQl20qllc/1/da"><img src="http://feedads.g.doubleclick.net/~a/mBuOHeElzkAXdf_ILVaQl20qllc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/GbU6Edc7774" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2009/10/09/resolving-trouble-with-ruby-on-rails-with-mysql-on-xampp-on-osx-snow-leopard.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2009/10/09/resolving-trouble-with-ruby-on-rails-with-mysql-on-xampp-on-osx-snow-leopard.html</feedburner:origLink></item>
		<item>
		<title>Eclipse PDT and XDebug finally working</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/uEZhg128GGg/eclipse-pdt-and-xdebug-finally-working.html</link>
		<comments>http://blog.keksrolle.de/2009/10/05/eclipse-pdt-and-xdebug-finally-working.html#comments</comments>
		<pubDate>Mon, 05 Oct 2009 20:12:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software-Development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xdebug]]></category>
		<category><![CDATA[zendframework]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=291</guid>
		<description><![CDATA[Yesterday I wanted to give myself a little update what&#8217;s going on in the PHP world as I was deeply involved in Java/J2EE in the last 4 years and haven&#8217;t done any PHP work besides maintaining some of my websites.
So I decided to give the Zend Framework a try and started going through the Quickstart [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I wanted to give myself a little update what&#8217;s going on in the PHP world as I was deeply involved in Java/J2EE in the last 4 years and haven&#8217;t done any PHP work besides maintaining some of my websites.<br />
So I decided to give the Zend Framework a try and started going through the Quickstart guide.</p>
<p>Something what always enjoyed in the Java world was the availability of easy debugging. In PHP in the past I have used ugly &#8220;echo &#8230;&#8221; debugging statements and never really digged any deeper. Now the time has come and I read that it is possible too but maybe with some more setup efforts.</p>
<p><strong>Environment</strong></p>
<ul>
<li>Mac OSX 10.6.1 (Snow Leopard)</li>
<li><a href="http://www.apachefriends.org/de/" onclick="pageTracker._trackPageview('/outgoing/www.apachefriends.org/de/?referer=');">XAMMP for Mac OS</a></li>
<li><a href="http://www.eclipse.org/pdt/downloads/" onclick="pageTracker._trackPageview('/outgoing/www.eclipse.org/pdt/downloads/?referer=');">Latest Eclipse PDT Full</a> &#8211; I downloaded the <a href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-php-galileo-SR1-macosx-cocoa.tar.gz" onclick="pageTracker._trackPageview('/outgoing/www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-php-galileo-SR1-macosx-cocoa.tar.gz&amp;referer=');">32bit Cocoa</a></li>
<li><a href="http://xdebug.org/" onclick="pageTracker._trackPageview('/outgoing/xdebug.org/?referer=');">XDebug</a></li>
</ul>
<p>The following articles helped me to get setup:</p>
<ul>
<li><a href="http://debuggable.com/posts/setting-up-xdebug-on-mac-os-x-or-win32-linux:480f4dd6-0240-4a90-8fa1-4e41cbdd56cb" onclick="pageTracker._trackPageview('/outgoing/debuggable.com/posts/setting-up-xdebug-on-mac-os-x-or-win32-linux_480f4dd6-0240-4a90-8fa1-4e41cbdd56cb?referer=');">Setting up Xdebug on Mac OS X (or Win32 / Linux)</a></li>
<li><a href="http://www.eclipse.org/pdt/articles/debugger/os-php-eclipse-pdt-debug-pdf.pdf" onclick="pageTracker._trackPageview('/outgoing/www.eclipse.org/pdt/articles/debugger/os-php-eclipse-pdt-debug-pdf.pdf?referer=');">http://www.eclipse.org/pdt/articles/debugger/os-php-eclipse-pdt-debug-pdf.pdf</a></li>
<li><a href="http://www.oos-shop.de/xdebug-installation/" onclick="pageTracker._trackPageview('/outgoing/www.oos-shop.de/xdebug-installation/?referer=');">http://www.oos-shop.de/xdebug-installation/</a></li>
<li><a href="http://www.eclipse.org/pdt/documents/XDebugGuide.pdf" onclick="pageTracker._trackPageview('/outgoing/www.eclipse.org/pdt/documents/XDebugGuide.pdf?referer=');">http://www.eclipse.org/pdt/documents/XDebugGuide.pdf</a></li>
</ul>
<p>Even though the articles are pretty good I had some minor problems, especially figuring out what exactly I have to add to my <em>php.ini</em>.</p>
<p>That&#8217;s why I give you what I have added to the very bottom of my <em>php.ini</em> which lives in the following path: <em>/Applications/xampp/etc/php.ini</em></p>
<blockquote><p>[xdebug]<br />
zend_extension=/Applications/xampp/xamppfiles/lib/php/php5/extensions/no-debug-non-zts-20060613/xdebug.so<br />
xdebug.auto_trace=1<br />
xdebug.remote_enable=On<br />
xdebug.remote_host=&#8221;localhost&#8221;<br />
xdebug.remote_port=9000<br />
xdebug.remote_handler=&#8221;dbgp&#8221;</p></blockquote>
<p>The <strong>xdebug.so</strong> was mentioned in first tutorial above and I got it from <a href="http://aspn.activestate.com/ASPN/Downloads/Komodo/RemoteDebugging" onclick="pageTracker._trackPageview('/outgoing/aspn.activestate.com/ASPN/Downloads/Komodo/RemoteDebugging?referer=');">here (Komodo IDE: http://aspn.activestate.com/ASPN/Downloads/Komodo/RemoteDebugging)</a></p>
<p>Here are some important infos and screenshots which might be helpful in understanding my setup:</p>
<ul>
<li>php executable: /usr/bin/php</li>
<li>php.ini: /Applications/xampp/etc/php.ini</li>
</ul>
<p>One of the most important things was the Path-Mapping, which maps your Eclipse Project structure to the URLs of your web-application.<br />
<strong> URL of my app in the browser: </strong>http://localhost/zendtest/ZendFramework-1.9.3PL1-minimal/quickstart<br />
<strong>Local-Path: </strong>/Applications/xampp/xamppfiles/htdocs/zendtest/ZendFramework-1.9.3PL1-minimal/quickstart</p>
<p>This mechanism is important, because it tells the debugger when to stop. If those settings are not correct (and they weren&#8217;t correct in my case) then the debugger will not recognize to which file the current URL in the browser belongs to and basically will not stop or will not stop at where you have placed your breakpoint.</p>
<p><a href="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.43.22-PM.png" onclick="pageTracker._trackPageview('/outgoing/blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.43.22-PM.png?referer=');"><img class="alignnone size-medium wp-image-303" title="Screen shot 2009-10-05 at 6.43.22 PM" src="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.43.22-PM-300x90.png" alt="Screen shot 2009-10-05 at 6.43.22 PM" width="300" height="90" /></a></p>
<p>Last but not least some screenshots which show the my setup and configuration:</p>
<p><a href="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.40.32-PM.png" onclick="pageTracker._trackPageview('/outgoing/blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.40.32-PM.png?referer=');"><img class="alignnone size-medium wp-image-300" title="Screen shot 2009-10-05 at 6.40.32 PM" src="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.40.32-PM-300x170.png" alt="Screen shot 2009-10-05 at 6.40.32 PM" width="300" height="170" /></a></p>
<p><a href="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.41.29-PM.png" onclick="pageTracker._trackPageview('/outgoing/blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.41.29-PM.png?referer=');"><img class="alignnone size-medium wp-image-302" title="Screen shot 2009-10-05 at 6.41.29 PM" src="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.41.29-PM-300x250.png" alt="Screen shot 2009-10-05 at 6.41.29 PM" width="300" height="250" /></a></p>
<p><a href="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.48.11-PM.png" onclick="pageTracker._trackPageview('/outgoing/blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.48.11-PM.png?referer=');"><img class="alignnone size-medium wp-image-307" title="Screen shot 2009-10-05 at 6.48.11 PM" src="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.48.11-PM-300x160.png" alt="Screen shot 2009-10-05 at 6.48.11 PM" width="300" height="160" /></a></p>
<p><a href="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.46.41-PM.png" onclick="pageTracker._trackPageview('/outgoing/blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.46.41-PM.png?referer=');"><img class="alignnone size-medium wp-image-306" title="Screen shot 2009-10-05 at 6.46.41 PM" src="http://blog.keksrolle.de/wp-content/uploads/2009/10/Screen-shot-2009-10-05-at-6.46.41-PM-300x177.png" alt="Screen shot 2009-10-05 at 6.46.41 PM" width="300" height="177" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/tBOE0GWyC-5qtYcqYJUkV6XIrnA/0/da"><img src="http://feedads.g.doubleclick.net/~a/tBOE0GWyC-5qtYcqYJUkV6XIrnA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/tBOE0GWyC-5qtYcqYJUkV6XIrnA/1/da"><img src="http://feedads.g.doubleclick.net/~a/tBOE0GWyC-5qtYcqYJUkV6XIrnA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/uEZhg128GGg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2009/10/05/eclipse-pdt-and-xdebug-finally-working.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2009/10/05/eclipse-pdt-and-xdebug-finally-working.html</feedburner:origLink></item>
		<item>
		<title>Migration from Serendipity to Wordpress</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/7-MuEBuTQiw/migration-from-serendipity-to-wordpress.html</link>
		<comments>http://blog.keksrolle.de/2009/08/05/migration-from-serendipity-to-wordpress.html#comments</comments>
		<pubDate>Wed, 05 Aug 2009 10:39:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=254</guid>
		<description><![CDATA[After years of using Serendipity as my blog engine I switched to Wordpress today because I just wanted to try it and get used to it.
Here is a page which helped me a lot with the migration. Pay attention to the &#8220;dummy entries&#8221; which are mentioned there:
https://wiki.nodomain.cc/projekte/blog-migration
One outstanding thing is to migrate the Serendipity permalinks [...]]]></description>
			<content:encoded><![CDATA[<p>After years of using <a href="http://www.s9y.org/" onclick="pageTracker._trackPageview('/outgoing/www.s9y.org/?referer=');">Serendipity </a>as my blog engine I switched to Wordpress today because I just wanted to try it and get used to it.</p>
<p>Here is a page which helped me a lot with the migration. Pay attention to the &#8220;dummy entries&#8221; which are mentioned there:<br />
<a href="https://wiki.nodomain.cc/projekte/blog-migration" onclick="pageTracker._trackPageview('/outgoing/wiki.nodomain.cc/projekte/blog-migration?referer=');">https://wiki.nodomain.cc/projekte/blog-migration</a></p>
<p>One outstanding thing is to migrate the Serendipity permalinks 100% to wordpress. </p>
<p>In Serendipity I had the following structure:</p>
<p>http://www.keksrolle.de/index.php?/archives/139-Freemarker-Templates-Layout-Decorators-with-Shared-Variables-in-Data-Model.html</p>
<p>The problem is the &#8220;index.php<strong>?&#8221;</strong> &#8211;&gt; the question mark spoils the links. I got it working with just /index.php/archives/&#8230; but my pages are indexed with the index.php?/archives. Shouldn&#8217;t be a huge problem as people just get to the homepage.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/cCjpN0Q9MYM-SOmHuVxiDpBZCn0/0/da"><img src="http://feedads.g.doubleclick.net/~a/cCjpN0Q9MYM-SOmHuVxiDpBZCn0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/cCjpN0Q9MYM-SOmHuVxiDpBZCn0/1/da"><img src="http://feedads.g.doubleclick.net/~a/cCjpN0Q9MYM-SOmHuVxiDpBZCn0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/7-MuEBuTQiw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2009/08/05/migration-from-serendipity-to-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2009/08/05/migration-from-serendipity-to-wordpress.html</feedburner:origLink></item>
		<item>
		<title>7 tips how to write better emails that people will understand</title>
		<link>http://feedproxy.google.com/~r/Keksrolle/~3/sTaGjHuDLjE/7-tips-how-to-write-better-emails-that-people-will-understand.html</link>
		<comments>http://blog.keksrolle.de/2009/08/04/7-tips-how-to-write-better-emails-that-people-will-understand.html#comments</comments>
		<pubDate>Tue, 04 Aug 2009 15:10:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Software-Development]]></category>

		<guid isPermaLink="false">http://blog.keksrolle.de/?p=141</guid>
		<description><![CDATA[We all know it: We have a complex problem which we need to solve but we need to explain the problem first to a group of people to look for a solution or give sign-off.
That means we first need  to get the attention of those people, make  them understand the problem.  If [...]]]></description>
			<content:encoded><![CDATA[<p>We all know it: We have a complex problem which we need to solve but we need to explain the problem first to a group of people to look for a solution or give sign-off.<br />
That means we first need  to get the attention of those people, make  them understand the problem.  If the problem you need to explain becomes complex it can be quite hard to do so.<br />
Here are a few tips I try to stick to when I write my emails:</p>
<h2>1. Purpose and Goal</h2>
<p>Make the recipients understand <strong>purpose</strong> and <strong>goal</strong>. You are writing the email for a reason and not for the sake of writing a mail. Make that as short as possible.<br />
Just as you do for your meetings: Give each email an AGENDA. People should know what your email is about before they read it. </p>
<h2>2. Structure is key!</h2>
<p>Structure your email into sections:<br />
- <strong>Introduction &#038; problem description</strong>: Why are you writing this mail and what do you expect.<br />
- <strong>Symptoms</strong>: Say what you did, what you see and believe is wrong <strong>and</strong> what you would have expected to see instead. Never say: &#8220;<em>Software XYZ is not working!</em>&#8220;, because nobody knows what and how you expect it to work.<br />
- <strong>Solution proposal</strong>: If you believe you have an idea what could be the reason for the problem and how it can be solved, then say that. But outline that this is only a guess. If you are wrong, then no problem.<br />
- <strong>Conclusion</strong>: This is most important. After you have written and explained a lot, people are usually more confused than before. Summarize your mail in a few short notes.</p>
<h2>3. Be polite </h2>
<p>Never think your problem is the most important problem. Better always expect that everybody couldn&#8217;t care less about your stupid problem. If you think like that, you spent more thoughts into writing the mail and making a point. Do this in polite words. Remember you are dealing with human beings just like you who all have their own little problems, maybe a bad day and at the end of the day have to do their jobs &#8211; just like you. So just behave like you would expect it from everybody else too. If your colleagues are all assholes, then stand out of the crowd and do NOT be one!</p>
<h2>4. Use screenshots, screenshots and screenshots!</h2>
<p>In the IT and Software Development industry, problems are usually about software which happens on your screen. Instead of writing 10 long sentences about a problem you see on e.g. a Web page, just take a screenshot, add some red arrows and some circles to it and send it. If one screenshot isn&#8217;t enough, send another one.<br />
Don&#8217;t even think of the larger size of your email. That doesn&#8217;t matter. Hard disk space is for free these days and productivity and information is more important!. Time is money.<br />
I use <a href="http://www.techsmith.de/download/snagittrial.asp"  title="SnagIt" onclick="pageTracker._trackPageview('/outgoing/www.techsmith.de/download/snagittrial.asp?referer=');">SnagIt</a>! for Windows or <a href="http://skitch.com/"  title="Skitch" onclick="pageTracker._trackPageview('/outgoing/skitch.com/?referer=');">Skitch</a> on my Mac for taking screenshots and adding annotations and stuff. Some of my mails consist only of screenshots because that might explain the problem without any words and the recipient sees exactly what I see. Make sure you use short keys to make screenshots. I just press the &#8220;Print&#8221; button which brings up SnagIt. It is possible to write a mail with a screenshot within 5 seconds. </p>
<p><strong>Example:</strong><br />
It makes clear that I want to point out that specific part of the text.<br />
<img width='780' height='397' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px; " src="/uploads/screenshots-to-mail.jpg" alt="" /></p>
<div style="clear: both;">&nbsp;</div>
<h2>5. Do NOT use abbreviations</h2>
<p>Instead of <em>don&#8217;t</em>, write <em>do NOT</em>.<br />
Instead of <em>can&#8217;t</em> write <em>cannot</em><br />
Always write the word <em>not </em>in capital letters and maybe <strong>bold</strong>, if you want to highlight that this is important. When reading emails too fast that small word can be missed and maybe it turns the sense of your mail upside down. </p>
<h2>6. Favor notes or bullet points over full sentences</h2>
<p>If you are listing a couple of related thoughts, then just put it into bullet points or a numbered list instead of writing it into full sentences. That has the following advantages:<br />
- people can refer to each bullet point / numbered item which is very exact. You immediately know what they are referring to.<br />
- easier to see what belongs together. In long sentences it can get hard to distinguish between the different things<br />
- they are shorter and people can read it faster. If something needs more explanation, people will ask you.</p>
<h2>7. Summarize your mail</h2>
<p>Always add a conclusion or summary to your mail. After you have written a lot of text, people are usually more confused because of information overload.<br />
Thus summarize your mail at the end in 3-4 bullet points. It helps to get back to the main purpose and goal of your mail. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/UkNr10EZzgjw8y7eOPKp4Z_Xjkc/0/da"><img src="http://feedads.g.doubleclick.net/~a/UkNr10EZzgjw8y7eOPKp4Z_Xjkc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/UkNr10EZzgjw8y7eOPKp4Z_Xjkc/1/da"><img src="http://feedads.g.doubleclick.net/~a/UkNr10EZzgjw8y7eOPKp4Z_Xjkc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Keksrolle/~4/sTaGjHuDLjE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.keksrolle.de/2009/08/04/7-tips-how-to-write-better-emails-that-people-will-understand.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.keksrolle.de/2009/08/04/7-tips-how-to-write-better-emails-that-people-will-understand.html</feedburner:origLink></item>
	</channel>
</rss>
