<?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>just another hack &#187; programming</title>
	<atom:link href="http://justanotherhack.net/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://justanotherhack.net</link>
	<description></description>
	<lastBuildDate>Wed, 13 Jan 2010 00:46:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Coder fonts</title>
		<link>http://justanotherhack.net/tech/coder-fonts/</link>
		<comments>http://justanotherhack.net/tech/coder-fonts/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 13:32:12 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[techlink]]></category>

		<guid isPermaLink="false">http://justanotherhack.net/?p=257</guid>
		<description><![CDATA[I was searching for something completely different, but found something quite interesting. Small, readable, great fonts for programmers. And no more problems with l, I and 1 or O and 0.
ProFont and Sheldon
ProFont is great, but I prefer Sheldon for the simple reason that the &#8216;a&#8217; can be easier distinguished from the &#8216;o&#8217;. The only [...]]]></description>
			<content:encoded><![CDATA[<p>I was searching for something completely different, but found something quite interesting. Small, readable, great fonts for programmers. And no more problems with l, I and 1 or O and 0.</p>
<p style="text-align: center;"><a title="External URL: TobiasJung.net: ProFont" href="http://www.tobiasjung.net/profont/index.html">ProFont and Sheldon</a></p>
<p>ProFont is great, but I prefer Sheldon for the simple reason that the &#8216;a&#8217; can be easier distinguished from the &#8216;o&#8217;. The only thing that doesn&#8217;t work well with both fonts is bold highlighting, as some characters become unreadable, but then again I can live without that.</p>
<p>More easy-to-read code on one display, f*ck yeah!</p>
]]></content:encoded>
			<wfw:commentRss>http://justanotherhack.net/tech/coder-fonts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Mobile Calendar Sync</title>
		<link>http://justanotherhack.net/tech/windows-mobile-calendar-sync/</link>
		<comments>http://justanotherhack.net/tech/windows-mobile-calendar-sync/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 17:13:33 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[smartphone]]></category>
		<category><![CDATA[techlink]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://justanotherhack.net/?p=217</guid>
		<description><![CDATA[Till about one week ago, I often had my cellphone and a PDA with me. One for communication, the other for organisation (games, appointments, tasks, notes and stuff). But since the PDA is another gadget I have to carry around, I didn&#8217;t use it as often. And ever since I switched my online calendar, the [...]]]></description>
			<content:encoded><![CDATA[<p>Till about one week ago, I often had my cellphone and a PDA with me. One for communication, the other for organisation (<span style="text-decoration: line-through;">games,</span> appointments, tasks, notes and stuff). But since the PDA is another gadget I have to carry around, I didn&#8217;t use it as often. And ever since I switched my online calendar, the syncing didn&#8217;t work anymore as well (and I was too <span style="text-decoration: line-through;">lazy</span> busy to work on it).</p>
<p>Last week I renewed my plan with the provider and took the chance to get my hands on a <strong>XDA Diamond 2</strong> (a minor variation of the HTC Touch Diamond 2). With this I only need to take one device with me. But to fully use it, I have to work around a few handicaps of the smartphone (i.e. <strong>Windows Mobile</strong>). The major part would be the calendar synchronisation.<span id="more-217"></span></p>
<h4>Initial situation</h4>
<p>Several Calendars: My private calendar (<a title="External Link: Horde Kronolith" href="http://www.horde.org/kronolith/">Horde Kronolith</a>), the calendar at work (<a title="External Link: eGroupWare" href="http://egroupware.org/">eGroupWare</a>) and a few other local iCalender files (ics) at work. All of them are imported as iCal into <a title="External Link: Mozilla: Thunderbird" href="http://www.mozilla.com/thunderbird/">Thunderbird</a>/<a title="External Link: Mozilla: Lightning" href="http://www.mozilla.org/projects/calendar/lightning/">Lightning</a> which manages all of those calendars.</p>
<p>New to that bunch: The smartphone</p>
<h4>Let&#8217;s do it!</h4>
<p>Of course, first comes a little research. Since I manage the calendars in <strong>Lightning</strong> and use the <strong>iCal</strong> format for that, I want to stick to that. But as I feared, Windows Mobile has still no idea how to handle iCal and of course it also has no idea how to handle SyncML. As it seems, <a title="External Link: Funambol" href="http://funambol.com/">Funambol</a> provides still the best solution for my needs. So nothing has changed in the last years. At least the Funambol solution got more advanced and gives me new possibilities.</p>
<p><strong>Everything of Funambol</strong> needs to be installed. The server (for now on the workstation) and the clients/Add-Ons for Windows Mobile and Lightning. (<a title="External Link: Funambol forge: Downloads" href="https://www.forge.funambol.org/download/">Server and Windows Mobile download</a>, <a title="External Link: Funambol forge: Mozilla Funambol Sync Client" href="https://mozilla-plugin.forge.funambol.org/">Lightning Download</a>) The server doesn&#8217;t need to be configured for this simple one-user solution. As for the clients, one needs to enter the same login data and the same remote names.</p>
<p>The local communication with the smartphone under Windows goes over <strong>Active Sync</strong>. One could also just create a network connection, since the Funambol server is running Tomcat, but for now, let&#8217;s stick to local sync.</p>
<p>To my surprise, the synchronisation of the contacts worked immediately and I could use Thunderbird to clean up my contacts (SIM based contacts suck). The calendar somehow worked, but there were still some problems.</p>
<p>The major problem would be that I <strong>can sync only one calendar</strong> with Funambol (probably because Windows Mobile can only handle one), but I have several of those in Lightning. This is where it gets a bit tricky. I need to find a way to merge those calendars into one, without mixing it up with the others.</p>
<p><a title="External Link: Sunbird Kalender DE: Automatic Export" href="http://www.sunbird-kalender.de/extension/autoexport/en/index.html">Automatic Export</a> is an Add-On for Sunbird/Lightning that <strong>saves calendars to ics</strong> files. Now I got all my calendars on my filesystem, but they are still in several files. Searching for a way to merge those didn&#8217;t give me working results. There is a python script out there, which ought to do this, but I didn&#8217;t get it to run. Mostly because it was written in Python 2.6 and I am using 3.1 (the same goes to a library used by the script). Adapting it didn&#8217;t work out, since there seem to be other problems as well. So I used a lunch break to codethe a simple python script myself. Since the files all share the same export source I didn&#8217;t need to give a damn about formats and stuff. The script just parses the ics files, extracts all VEVENTS, puts the iCal header information around it and saves it as a new file. A really <strong>simple makeshift solution</strong>, you can download it, if you want.</p>
<p style="text-align: center;"><strong>Download:</strong> <a href="http://justanotherhack.net/wp-content/uploads/2009/07/merge_icals.py">Simple iCal file (ics) merger</a> (for Python 3)</p>
<p>The Automatic Export Add-On can run a command after saving the files, so just entering the python path and the script as a parameter allows me to do this all in one run.</p>
<p>The file with the merged calendars is integrated as a new calendar into Lightning. (Hidden and not exported.) Now the configuration of the Funambol client has to be set to the new calendar and <strong>ta-da, it works</strong>. Now all my dates/events/appointments are synced onto my smartphone.</p>
<h4>Result</h4>
<p>Well, I got my calendars into Windows Mobile. The only thing that <strong>doesn&#8217;t work</strong> is getting the changes and adds I do on my smartphone <strong>back into the original calendar</strong>. For the moment I can live with that, but of course I will try to find a solution for that as well. But after the update to Windows Mobile 6.5, who knows how that will disrupt my makeshift solution anyway. There also seems to be a little quirk with changing existing entries after the first sync of them. Sometimes the change doesn&#8217;t go onto the phone and some are not deleted, but I will look into that another time as well.</p>
<h4>To do</h4>
<p>Well, this is just the solution for the Windows workstation at work (since right now I can only access my work calendars here). So I still have to adapt this to my Linux system at home. Having a <strong>central server</strong> on the interwebs would be better. Especially if I could do it with CalDAV or even <strong>GroupDAV</strong>. I already got some basic ideas how to do this, but since I cannot do this in a few lunch breaks, I need time. We&#8217;ll see if I can do it before I switch my cellphone again in 2+ years. Oh and I didn&#8217;t try to sync tasks so far.</p>
]]></content:encoded>
			<wfw:commentRss>http://justanotherhack.net/tech/windows-mobile-calendar-sync/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Programming with Alice</title>
		<link>http://justanotherhack.net/tech/programming-with-alice/</link>
		<comments>http://justanotherhack.net/tech/programming-with-alice/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 17:44:52 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://justanotherhack.net/?p=61</guid>
		<description><![CDATA[Speaking of 3D and learning. A few days ago I discoverd Alice, a 3D programming environment. Basically it&#8217;s a tool that let&#8217;s you create/program animations and simple games via an easy GUI, without having to worry about syntax and typing errors. Meaning the student/learner can concentrate on learning the basics of programing or tell a [...]]]></description>
			<content:encoded><![CDATA[<p>Speaking of 3D and learning. A few days ago I discoverd <a title="External Link: Alice.org" href="http://www.alice.org/">Alice</a>, a 3D programming environment. Basically it&#8217;s a tool that let&#8217;s you create/program animations and simple games via an easy <abbr title="Graphical User Interface">GUI</abbr>, without having to worry about syntax and typing errors. Meaning the student/learner can concentrate on learning the basics of programing or tell a story, rather than search for a missing semicolon. According to some numbers the site casts around, it is improving the learning curve extremely. Definitely worth looking at for anyone from a hobby programmer to a <abbr title="Computer Science">CS</abbr> major.</p>
<p>I&#8217;d love to hear if anyone already used it and can share their thoughts. I already gave the link to our <abbr title="Computer Science">CS</abbr> department and am considering to let our trainees work with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://justanotherhack.net/tech/programming-with-alice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP and OOP</title>
		<link>http://justanotherhack.net/tech/php-and-oop/</link>
		<comments>http://justanotherhack.net/tech/php-and-oop/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 18:29:18 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://justanotherhack.net/tech/php-and-oop/</guid>
		<description><![CDATA[Last week, on our way to the sneak preview, I engaged a little conversation regarding object oriented programming in the PHP: Hypertext Preprocessor programming language with the other two geeks (one of them a code-guru). I always wondered if it&#8217;s just me, but I never found a good use for OOP in PHP. The thought [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, on our way to the sneak preview, I engaged a little conversation regarding object oriented programming in the PHP: Hypertext Preprocessor programming language with the other two geeks (one of them a code-guru). I always wondered if it&#8217;s just me, but I never found a good use for OOP in PHP. The thought arose again, when I started to (re)code an old application for public usage (more about that some other day).</p>
<p>Being a scripting language and all, it&#8217;s not really suited for this programming paradigm and leads to a lot of overhead, even in middle complex applications. I&#8217;m well aware of the benefits of OOP, but they never countervailed the work and overhead in my applications. The only real usage I had were my personal libraries for accessing databases, files and other streams. Really nifty and easy to manage several connections at the same time. Ok, and some layouting here and there. But thats it.</p>
<p>In this conversation it occured that this is not only my train of thoughts. This somehow eases me. I&#8217;ll still be looking uses of OOP, but no need to force it, just to have the application look more &#8220;professional&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://justanotherhack.net/tech/php-and-oop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bovine tongue?</title>
		<link>http://justanotherhack.net/net/bovine-tongue/</link>
		<comments>http://justanotherhack.net/net/bovine-tongue/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 09:57:30 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Net Artefacts]]></category>
		<category><![CDATA[cow]]></category>
		<category><![CDATA[infolink]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://justanotherhack.net/net/bovine-tongue/</guid>
		<description><![CDATA[There are thousands of lists out there, that show how one particular word/phrase is spoken in another language. Like happy birthday and other boring stuff. But there are others as well. Original ones. I&#8217;d say the most important one is JUST COWS.
Which reminds me of the days, when I was more into esoteric programming languages. [...]]]></description>
			<content:encoded><![CDATA[<p>There are thousands of lists out there, that show how one particular word/phrase is spoken in another language. Like happy birthday and other boring stuff. But there are others as well. Original ones. I&#8217;d say the most important one is <a href="http://www.arrakis.es/~eledu/justcows.htm" title="External Link: JUST COWS">JUST COWS</a>.</p>
<p>Which reminds me of the days, when I was more into esoteric programming languages. If you&#8217;re interested into those and cows as well, try <a href="http://www.bigzaphod.org/cow/" title="External Link: COW programming language">COW</a>. (In case the server is still unavailable, look it up on <a href="http://esoteric.voxelperfect.net/wiki/COW" title="External Link: Esolang: COW programming language">Esolang</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://justanotherhack.net/net/bovine-tongue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
