<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ojdo &#187; How-tos</title>
	<atom:link href="http://www.ojdo.de/wp/category/text/how-tos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ojdo.de/wp</link>
	<description>Personal homepage of Johannes Dorfner</description>
	<lastBuildDate>Wed, 28 Jul 2010 03:00:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Optimise nonlinear functions using Matlab or Octave</title>
		<link>http://www.ojdo.de/wp/2010/07/optimise-nonlinear-functions-using-matlab-or-octave/</link>
		<comments>http://www.ojdo.de/wp/2010/07/optimise-nonlinear-functions-using-matlab-or-octave/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 03:00:22 +0000</pubDate>
		<dc:creator>ojdo</dc:creator>
				<category><![CDATA[How-tos]]></category>

		<guid isPermaLink="false">http://www.ojdo.de/wp/?p=958</guid>
		<description><![CDATA[For my diploma thesis I needed an easy-to-use optimisation algorithm which could minimise a given function. I had access to Matlab, but surprisingly, none of the supplied optimisation functions seemed to satisfy my needs: I wanted to globally minimise a non-linear function within boundaries without using gradients. So I did a little research and found [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ojdo.de/wp/wp-content/uploads/2010/07/gbnm-sample-run.png" rel="lightbox[958]" title="gbnm-sample-run"><img class="alignright size-thumbnail wp-image-968" title="gbnm-sample-run" src="http://www.ojdo.de/wp/wp-content/uploads/2010/07/gbnm-sample-run-150x150.png" alt="Contour plot of a test function. In the middle its minimum is shown. White triangles are spread throughout the picture, denoting the locations of the initial simplices." width="150" height="150" /></a></p>
<p>For my diploma thesis I needed an easy-to-use optimisation algorithm which could minimise a given function. I had access to Matlab, but surprisingly, none of the supplied optimisation functions seemed to satisfy my needs: I wanted to globally minimise a non-linear function within boundaries without using gradients.</p>
<p>So I did a little research and found a Globalized Nelder-Mead method, which is a tuned version of the good old <a href="http://en.wikipedia.org/wiki/Downhill_simplex_method">downhill simplex algorithm</a>. Then I implemented it as a Matlab function. By the way: the function also works fine with <a href="http://www.octave.org/">Octave</a>.<span id="more-958"></span></p>
<h3>What does it do?</h3>
<p>The Nelder-Mead algorithm, sometimes also called downhill simplex method, was originally published in 1965. It is an iterative algorithm for local, unconstrained minimisation of a non-linear function <img src='http://s.wordpress.com/latex.php?latex=f%20%3A%20%5Cmathbb%7BR%7D%5En%20%5Cto%20%5Cmathbb%7BR%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='f : \mathbb{R}^n \to \mathbb{R}' title='f : \mathbb{R}^n \to \mathbb{R}' class='latex' />. In contrast to most other iterative algorithms, it does not rely on the derivative of the target function but only evaluates the function itself. This makes it extremely well suited for cases when the target function is not an algebraic term, but a simulation model which cannot be derived directly. It also does not approximate the function&#8217;s gradient but is based on geometrical projections of an n+1-point polygon&#8212;the simplex&#8212;in the n-dimensional parameter space of the target function. A simplex in two dimensions is a triangle, one in three dimensions is a tetrahedron. In general, the simplex can be represented as a matrix <img src='http://s.wordpress.com/latex.php?latex=%5Cmathbf%7BS%7D%20%5Cin%20%5Cmathbb%7BR%7D%5E%7B%28n%29%5Ctimes%28n%2B1%29%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\mathbf{S} \in \mathbb{R}^{(n)\times(n+1)}' title='\mathbf{S} \in \mathbb{R}^{(n)\times(n+1)}' class='latex' /> of its points.</p>
<img src='http://s.wordpress.com/latex.php?latex=%5Cmathbf%7BS%7D%20%3D%20%5Cbegin%7Bbmatrix%7D%20%5Cmathbf%7Bx%7D_0%20%26%20%5Ccdots%26%20%20%5Cmathbf%7Bx%7D_n%20%5Cend%7Bbmatrix%7D%20%5Ctext%7B%20with%20%7D%20%5Cmathbf%7Bx%7D_i%20%5Cin%20%5Cmathbb%7BR%7D%5En%20&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\mathbf{S} = \begin{bmatrix} \mathbf{x}_0 &amp; \cdots&amp;  \mathbf{x}_n \end{bmatrix} \text{ with } \mathbf{x}_i \in \mathbb{R}^n ' title='\mathbf{S} = \begin{bmatrix} \mathbf{x}_0 &amp; \cdots&amp;  \mathbf{x}_n \end{bmatrix} \text{ with } \mathbf{x}_i \in \mathbb{R}^n ' class='latex' />
<p>The basic idea behind the simplex algorithm is that the worst point of <img src='http://s.wordpress.com/latex.php?latex=%5Cmathbf%7BS%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\mathbf{S}' title='\mathbf{S}' class='latex' /> is replaced by a better one with a smaller function value and to repeat this operation iteratively until a local optimum has been found. To achieve this, three different transformations are applied to the simplex which let it move in directions of descent and shrink around a local minimum. These transformations are called <em>reflection</em>, <em>expansion</em> and <em>contraction</em>. </p>
<p>In each iteration, first the worst point is reflected at the centroid of the remaining points. Depending on the quality (good or bad) it then replaces the worst point in the simplex. If the reflected point is not better, it is withdrawn and the other fallback operations are executed.</p>
<p>The <em>globalized</em> Nelder-Mead method just generalizes this idea to find a global minimum. Instead of initialising the simplex once, multiple simplices are initialised and each one finds one local minimum. There are some tweaks to make the location of these simplices better than random, but principally they are spread randomly within the allowed boundaries.</p>
<h3>How do I use it?</h3>
<p>Just copy the file <code>gbnm.m</code> from the download below into a directory where Matlab or Octave can find it. Then just call the function gbnm. A typical usage might look like this:</p>
<pre class="brush: matlabkey;">
% Define test function and optimisation boundaries
f = @(x) norm(x).^2 - cos(norm(x));
xmin = [-10;-10];
xmax = -xmin;

xoptim = gbnm(f,xmin,xmax)
% Expected output: xoptim = [0.00.. ; 0.00..]
</pre>
<p>The function does not only return the found minimum and has an optional argument for tweaking the algorithm parameters:</p>
<pre class="brush: matlabkey; light: true;">
[x, fval, output, options] = gbnm(fun,xmin,xmax[, options])
</pre>
<p>Refer to the output of <code>help gbnm</code> and the research paper for further detail. If something remains unclear or you have found a bug, feel free to comment!</p>
<h3>Download</h3>
<ul>
<li><a href="http://www.ojdo.de/wp/wp-content/uploads/2010/07/gbnm.zip">gbnm.zip</a> (v0.1 [2010-07-19] initial release)</li>
</ul>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.ojdo.de/wp/2010/07/optimise-nonlinear-functions-using-matlab-or-octave/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mathematical Formulas in Microsoft Word</title>
		<link>http://www.ojdo.de/wp/2010/06/mathematical-formulas-in-microsoft-word/</link>
		<comments>http://www.ojdo.de/wp/2010/06/mathematical-formulas-in-microsoft-word/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 03:00:21 +0000</pubDate>
		<dc:creator>ojdo</dc:creator>
				<category><![CDATA[How-tos]]></category>

		<guid isPermaLink="false">http://www.ojdo.de/wp/?p=902</guid>
		<description><![CDATA[Formula typesetting can be a tedious work in most typewriter software. Word (here: Version 2003) is no excuse. When you are &#8212; like me &#8212; forced to use this software for writing technical reports containing formulas, then this tip might be useful for you. The &#8220;typical&#8221; way of writing formulas is creating formula objects which [...]]]></description>
			<content:encoded><![CDATA[<p>Formula typesetting can be a tedious work in most typewriter software. Word (here: Version 2003) is no excuse. When you are &#8212; like me &#8212; forced to use this software for writing technical reports containing formulas, then this tip might be useful for you. The &#8220;typical&#8221; way of writing formulas is creating formula objects which can  be edited by a double click on them. However, as soon as a document contains many of those objects, their handling becomes uncomfortable because they don&#8217;t behave like their surrounding text.</p>
<p>But there is another, almost perfectly hidden feature which allows to typeset easy formulas as real text which respects text formatting styles: Equation fields.<span id="more-902"></span></p>
<h3>Equation fields</h3>
<p>Hit <strong>Ctrl+F9</strong> and add the following construct: <code>{ EQ \f(a;b) }</code>. Then place the cursor on or before this field and hit <strong>Shift+F9</strong>. You should see a fraction like this: <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Ba%7D%7Bb%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\frac{a}{b}' title='\frac{a}{b}' class='latex' />. </p>
<p>The advantage of this technique over Word&#8217;s built-in formula editor is that these formulas are styled according to their surround text automatically. The omits much of the hassle involved in placement and handling of the formula objects.</p>
<p>There is just one thing you should not do: <strong>Don&#8217;t double click on them</strong> because they are converted to formula objects this way. If this happens by accident, use Undo (Ctrl+Z) to repair the damage. To edit an equation field, place the cursor on it and hit Shift+F9 again to unveil its code.</p>
<h3>Commands</h3>
<p>An equation field can contain any sequence of the following commands, mixed with plain text. Nesting is supported. Each command I find useful is presented with a short example of typical use.</p>
<table>
<tbody>
<tr>
<th></th>
<th>Description</th>
<th>Example</th>
</tr>
<tr>
<td>\a</td>
<td><em>Matrix</em>. Available options: co<em>n</em> determines number of columns, hs and vs horizontal and vertical spacing (in pt), the command \al, \ac and \ar allow to determine the horizontal alignment within the cells (\al is default). Example code: <code>\a \co2 \hs3 (a;b;c;d)</code></td>
<td><img src='http://s.wordpress.com/latex.php?latex=%5Cbegin%7Bmatrix%7D%20a%20%26%20b%20%5C%5C%20%20c%26%20d%20%5Cend%7Bmatrix%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\begin{matrix} a &amp; b \\  c&amp; d \end{matrix}' title='\begin{matrix} a &amp; b \\  c&amp; d \end{matrix}' class='latex' /></td>
</tr>
<tr>
<td>\b</td>
<td><em>Braces</em>. Places automatically sized braces around big expressions like fractions or roots. Example code: <code>\b(\f(•;•))</code></td>
<td><img src='http://s.wordpress.com/latex.php?latex=%5Cleft%20%28%20%5Cfrac%7B%5Ccdot%7D%7B%5Ccdot%7D%20%5Cright%20%29&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\left ( \frac{\cdot}{\cdot} \right )' title='\left ( \frac{\cdot}{\cdot} \right )' class='latex' /></td>
</tr>
<tr>
<td>\d</td>
<td><em>Positioning</em>. Creates spaces and indentation. I don&#8217;t use it.</td>
<td></td>
</tr>
<tr>
<td>\f</td>
<td><em>Fraction</em>. Example code: <code>\f(a;b)</code></td>
<td><img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Ba%7D%7Bb%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\frac{a}{b}' title='\frac{a}{b}' class='latex' /></td>
</tr>
<tr>
<td>\i</td>
<td><em>Integral</em>. Example code: <code>\i(a;b;f(x)dx)</code></td>
<td><img src='http://s.wordpress.com/latex.php?latex=%5Cint_a%5Eb%20f%28x%29dx&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\int_a^b f(x)dx' title='\int_a^b f(x)dx' class='latex' /></td>
</tr>
<tr>
<td>\l</td>
<td><em>List</em>. I don&#8217;t use it.</td>
<td></td>
</tr>
<tr>
<td>\o</td>
<td><em>Overwrite</em>. Places text in the second argument over the text in the first argument. Options \al, \ac and \ar determine their alignment. Example code: <code>\o\ac(n;\s\up4(•))</code></td>
<td><img src='http://s.wordpress.com/latex.php?latex=%5Cdot%7Bn%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\dot{n}' title='\dot{n}' class='latex' /></td>
</tr>
<tr>
<td>\r</td>
<td><em>Root</em>. Example code: <code>\r(n;a)</code></td>
<td><img src='http://s.wordpress.com/latex.php?latex=%5Csqrt%5Bn%5D%7Ba%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\sqrt[n]{a}' title='\sqrt[n]{a}' class='latex' /></td>
</tr>
<tr>
<td>\s</td>
<td><em>Super-</em> and <em>subscript</em>. Available options are \do<em>n</em> and up<em>n</em>. The first one creates subscripts, the second one superscripts. Example code: <code>a\s\up4(n) b\s\do4(i)</code></td>
<td><img src='http://s.wordpress.com/latex.php?latex=a%5En%5C%20b_i&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='a^n\ b_i' title='a^n\ b_i' class='latex' /></td>
</tr>
<tr>
<td>\x</td>
<td><em>Frame</em>. Places a framed box around its argument. Example code: <code>\x(a)</code></td>
<td><img src='http://s.wordpress.com/latex.php?latex=%5Cfbox%7Ba%7D&#038;bg=T&#038;fg=ffffff&#038;s=0' alt='\fbox{a}' title='\fbox{a}' class='latex' /></td>
</tr>
</tbody>
</table>
<h3>Golden path</h3>
<p>If you have to write a longer document, like a thesis, which contains vast amounts of formulas, get LaTeX! (Technical remark: the examples above are rendered using a server-based LaTeX-Renderer.)</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.ojdo.de/wp/2010/06/mathematical-formulas-in-microsoft-word/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use custom-made Themes under Windows XP/Vista/7</title>
		<link>http://www.ojdo.de/wp/2009/10/how-to-use-custom-made-themes-under-windows-xpvista7/</link>
		<comments>http://www.ojdo.de/wp/2009/10/how-to-use-custom-made-themes-under-windows-xpvista7/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 02:00:46 +0000</pubDate>
		<dc:creator>ojdo</dc:creator>
				<category><![CDATA[How-tos]]></category>

		<guid isPermaLink="false">http://www.ojdo.de/wp/?p=581</guid>
		<description><![CDATA[Deskmodding is the art or the act of customizing the appearance of the graphical user interface. Usually this is done on the level of the operating system, but there are also single applications that allow to modify their appearance by so-called skins. For the operating system Windows it is not possible to easily change the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ojdo.de/wp/wp-content/uploads/2009/10/2010-04-20-desktop.png" rel="lightbox[581]" title="Theme used: SlanXP3"><img src="http://www.ojdo.de/wp/wp-content/uploads/2009/10/2010-04-20-desktop-150x150.png" alt="" title="Theme used: SlanXP3" width="150" height="150" class="alignright size-thumbnail wp-image-860" /></a></p>
<p>Deskmodding is the art or the act of customizing the appearance of the graphical user interface. Usually this is done on the level of the operating system, but there are also single applications that allow to modify their appearance by so-called <em>skins</em>. For the operating system Windows it is not possible to easily change the default appearance as the selection of <em>themes</em> that can be selected is limited to a handful of designs like the classic Windows interface, Luna for Windows XP and Aero since Vista. Windows Media Center Edition brought a revamped version of Luna which became very popular.</p>
<p>But apart from those designs, Windows does not permit to select user-made themes. This is due to a check in the file uxtheme.dll in the system32 folder. There are dozens of downloads of <em>patches</em> that promise to replace the file with a patched version that permits so select whatever style one prefers. But it is easy to download the wrong patch or even get a virus on one&#8217;s computer this way. But there is an alternative: <a href="http://www.uxstyle.com/">UxStyle</a>.<span id="more-581"></span></p>
<p><a href="http://www.ojdo.de/wp/wp-content/uploads/2009/10/2009-10-26-desktop.png" rel="lightbox[581]" title="Theme used: Ashen"><img src="http://www.ojdo.de/wp/wp-content/uploads/2009/10/2009-10-26-desktop-150x150.png" alt="2009-10-26--desktop" title="Theme used: Ashen" width="150" height="150" class="alignleft size-thumbnail wp-image-616" /></a></p>
<p>UxStyle is an application that installs a small service under Windows that deactivates blocking of custom made themes on-the-fly. No changing of uxtheme.dll is necessary. Final information: A great repository for themes is the section <a href="http://browse.deviantart.com/customization/skins/windows/visualstyle/">Visual Styles</a> on deviantART. Downloaded themes have to be placed in the folder <em>Resources\Themes</em> in the Windows installation folder.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.ojdo.de/wp/2009/10/how-to-use-custom-made-themes-under-windows-xpvista7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Funambol to sync Thunderbird(s) and Windows Mobile phone</title>
		<link>http://www.ojdo.de/wp/2009/10/using-funambol-to-sync-thunderbirds-and-windows-mobile-phone/</link>
		<comments>http://www.ojdo.de/wp/2009/10/using-funambol-to-sync-thunderbirds-and-windows-mobile-phone/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 02:00:25 +0000</pubDate>
		<dc:creator>ojdo</dc:creator>
				<category><![CDATA[How-tos]]></category>

		<guid isPermaLink="false">http://www.ojdo.de/wp/?p=564</guid>
		<description><![CDATA[This is an article explaining how to synchronise one calendar (+tasks) and one address book of two PCs with Thunderbird (Lightning plugin for calendar) and a Windows Mobile phone. It is based on the open source synchronisation server Funambol and needs one of the computers to act as a server. The advantage to other solutions [...]]]></description>
			<content:encoded><![CDATA[<p>This is an article explaining how to synchronise one calendar (+tasks) and one address book of two PCs with Thunderbird (Lightning plugin for calendar) and a Windows Mobile phone. It is based on the open source synchronisation server <a href="https://www.forge.funambol.org/">Funambol</a> and needs one of the computers to act as a server. The advantage to other solutions I tried (like <a href="http://www.finchsync.com/">FinchSync</a> or the <a href="https://addons.mozilla.org/de/thunderbird/addon/2533">Addressbooks Synchroniser</a> add-on) is that it covers all synchronisations even between different device types.</p>
<p>One disadvantage of my how-to is that the data which is synchronised is transmitted without encryption. However, it is possible to somehow use SSL encryption for the data transfer, but so far I am afraid of the effort to reconfigure all again now that it works. Another disadvantage concerns the fact that currently only one calendar and one address book can be synchronised. While this restriction does not bother me now, it might render this solution useless for you.<span id="more-564"></span></p>
<h3>1. Setting up the server</h3>
<p>The first part of this how-to is setting up the funambol server. First <a href="https://www.forge.funambol.org/download/">download the latest version</a> of the installer, then follow the instructions of the setup process. After the installation, the server should have been started (visible by the tray icon). If not, start it manually using the links in the start menu. If you want the server to be started automatically when you launch the computer after each reboot, copy the link into the &#8220;Startup&#8221; folder of your start menu.</p>
<p>Then launch the <em>Administration Tool</em>, click on<em>File > Login</em> and enter the user &#8220;admin&#8221; with the default password &#8220;sa&#8221;. The first thing to do is to change it: Select the <em>$Hostname > Users</em> in the tree on the left. Then click the <em>Search</em> button on the right side to display all users in the list below. Double-click on the entry of the user &#8220;admin&#8221; and enter a new password (two times). Save.</p>
<p>To make your server reachable from other machines it is necessary to setup the URI from which it will be reached. You need to setup a port forwarding on port 8080 from your router to the local IP address of your server computer. In the Administration tool, you then have to enter <em>Server settings</em> the string &#8220;http://%your_ip%:8080/funambol/ds&#8221; while replacing %your_ip% with your external IP address or a domain provided by a service like <a href="https://www.dyndns.com/">DynDNS</a>.</p>
<p>One last addition has to be done before Thunderbird calendars can be synched: Under <em>Modules > foundation > FunambolFoundationConnector > PIM Calendar SyncSource</em> you have to add a new SyncSource. Double click the entry <em>PIM Calendar SyncSource</em> on the left, then enter &#8220;ical&#8221; for both the source URI and the name and select &#8220;iCalendar&#8221; as the default type. All settings are also shown in this image:</p>
<p><a href="http://www.ojdo.de/wp/wp-content/uploads/2009/10/Funambol-Administration-Tool-07.10.2009-204920.jpg" rel="lightbox[564]" title="Funambol Administration Tool"><img src="http://www.ojdo.de/wp/wp-content/uploads/2009/10/Funambol-Administration-Tool-07.10.2009-204920-499x259.jpg" alt="Funambol Administration Tool" title="Funambol Administration Tool" width="499" height="259" class="alignnone size-large wp-image-567" /></a></p>
<p>Then click &#8220;Add&#8221; and check that your entry got also added to the tree on the left. Now your server should be ready for its first synchronisation. You can close the Administration Tool now.</p>
<h3>2. Setting up a Thunderbird client</h3>
<p><a href="http://www.ojdo.de/wp/wp-content/uploads/2009/10/Funambol-Mozilla-Sync-Client-07.10.2009-210634.jpg" rel="lightbox[564]" title="Funambol Mozilla Sync Client"><img src="http://www.ojdo.de/wp/wp-content/uploads/2009/10/Funambol-Mozilla-Sync-Client-07.10.2009-210634-150x150.jpg" alt="Funambol Mozilla Sync Client" title="Funambol Mozilla Sync Client" width="150" height="150" class="alignright size-thumbnail wp-image-572" /></a></p>
<p>Just download the <a href="https://mozilla-plugin.forge.funambol.org/">Funambol Mozilla Sync Client</a> and install it as an add-on from within Thunderbird. The add-on can be accessed in the menu <em>Tools > Funambol sync</em>. Open it and select <em>Tools > Options</em> from the menu:</p>
<p>In the <em>Account</em> pane, enter exactly the URI you entered in your server before. For the username and password you can choose one arbitrarily for the first client you setup. For each new client you want to synchronise with you have to use the same username and password, of course.</p>
<p><a href="http://www.ojdo.de/wp/wp-content/uploads/2009/10/Fullscreen-capture-07.10.2009-211243.jpg" rel="lightbox[564]" title="Fullscreen capture 07.10.2009 211243"><img src="http://www.ojdo.de/wp/wp-content/uploads/2009/10/Fullscreen-capture-07.10.2009-211243-500x347.jpg" alt="Fullscreen capture 07.10.2009 211243" title="Fullscreen capture 07.10.2009 211243" width="500" height="347" class="alignnone size-large wp-image-575" /></a></p>
<p>In the pane <em>Sync</em> you have to select the address book and the calendar to be synchronised with the server and how often you want the synchronisation to be performed automatically. I chose 15 minutes and deactivated the synchronisation on startup. During setup (read: hunt for wrong settings) I stuck to manual synchronisation.</p>
<p>Close the configuration window and bravely click on <em>Synch all</em>. On the first synch, simply all your client&#8217;s data is transmitted to the server. On subsequent runs only changes will be transmitted.</p>
<p>On the second PC you just have to repeat the add-on installation, provide the same username and the synchronisation works.</p>
<h3>3. Setting up the Windows Mobile client</h3>
<p>Get the client *.cab file from the <a href="https://www.forge.funambol.org/download/">download page</a> and transmit it to your phone. Execute it there to install it. The configuration is analogous to the Thunderbird client. I chose manual synchronisation for my mobile phone as I only run it when I have wireless LAN access. I only activated synchronisation of contacts, calendar and tasks &#8212; e-mail is taken care off by the IMAP servers.</p>
<h3>Remarks</h3>
<p>At first Thunderbird froze during each synchronisation. The cause for me was that I had used an *.cal-file for my private calendar. For the synchronisation to work I had to convert it to a calendar that is stored in Thunderbird&#8217;s profile folder (i.e. one with &#8220;moz-profile-calendar://?id=X&#8221; in the address field).</p>
<p><strong>Update:</strong> there is one issue with my setup concerning the synchronisation between both Thunderbird clients: Reminders of events keep popping up on one client after having been confirmed on the other and vice versa. The problem is known to the developers and discussed in the <a href="http://markmail.org/message/jdieu5iqeho4xbqc">developers&#8217; board</a>. As far as I understand the subject, a clean solution would require changes to the server itself which would take a long time to take effect. A &#8220;dirty fix&#8221; in the Thunderbird client could be possible, but so far no one with enough knowledge to do it wrote one. I keep you updated here if a fix is published.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.ojdo.de/wp/2009/10/using-funambol-to-sync-thunderbirds-and-windows-mobile-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
