<?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>blogadresse &#187; development</title>
	<atom:link href="http://www.blogadresse.de/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blogadresse.de</link>
	<description>Blog von Jan Kampling. Technik, Interessantes und Erwähnenswertes.</description>
	<lastBuildDate>Wed, 04 Aug 2010 11:32:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>AppleScript Log-Funktion</title>
		<link>http://www.blogadresse.de/2008/05/19/applescript-log-funktion/</link>
		<comments>http://www.blogadresse.de/2008/05/19/applescript-log-funktion/#comments</comments>
		<pubDate>Mon, 19 May 2008 12:17:41 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[funktion]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.blogadresse.de/?p=379</guid>
		<description><![CDATA[Ich habe oft Applescript, die sehr lange laufen und keine GUI haben, daher habe ich mir eine kleine Funktion geschrieben, die mir eine Logdatei im Log-Verzeichnis meines aktuell angemeldeten Benutzers schreibt (~/Library/Logs/). Aufgerufen wird die Funktion einfach mit “my logger(my_log, &#8230; <a href="http://www.blogadresse.de/2008/05/19/applescript-log-funktion/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ich habe oft Applescript, die sehr lange laufen und keine GUI haben, daher habe ich mir eine kleine Funktion geschrieben, die mir eine Logdatei im Log-Verzeichnis meines aktuell angemeldeten Benutzers schreibt (~/Library/Logs/).</p>
<p> <span id="more-379"></span></p>
<p>Aufgerufen wird die Funktion einfach mit “my logger(my_log, myFile)” sobei my_log der String ist, der in die Logdatei geschrieben werden soll und myFile, der Dateiname des Logfiles. Die Funktion erstellt automatische eine entsprechende Datei im Log-Verzeichnis und f&#252;gt auch automatisch das aktuelle Datum inklusive Uhrzeit bei jedem Log-Befehl hinzu. Die Logsfiles k&#246;nnen mit jedem Textedior betrachtet werden oder nat&#252;rlich auch Konsole.app.</p>
<pre lang="applescript" line="1" colla="+">
on logger(my_log, myFile)
	set myPath to ((path to home folder as string) &#038; "Library:Logs")
	set myUnixPath to POSIX path of myPath
	try
		do shell script "touch " &#038; myUnixPath &#038; "/" &#038; myFile
	on error errMsg number errNum
		do shell script "mkdir " &#038; myUnixPath
		do shell script "echo ' ' > " &#038; myUnixPath &#038; "/" &#038; myFile
	end try
	set my_log_file to open for access file (myPath &#038; ":" &#038; myFile) with write permission -- this opens the file
	write (((current date) as string) &#038; " " &#038; my_log) to my_log_file starting at eof -- append to the end
	close access my_log_file -- close the file when you're done
end logger
</pre>
<pre lang="applescript" line="1" colla="+">
-- Dies ist ein Beispielaufruf
my logger("Ich habe grade blogadresse.de besucht", "Weblog.log")
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.blogadresse.de/2008/05/19/applescript-log-funktion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mein erstes C Programm &#8211; Trailing Stop Loss Rechner</title>
		<link>http://www.blogadresse.de/2008/04/03/mein-erstes-c-programm-trailing-stop-loss-rechner/</link>
		<comments>http://www.blogadresse.de/2008/04/03/mein-erstes-c-programm-trailing-stop-loss-rechner/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 16:00:13 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.blogadresse.de/?p=360</guid>
		<description><![CDATA[Eine kleine programmier&#252;bung f&#252;r mich, da ich grade C lerne und au&#223;erdem eine kleines Tool f&#252;r alle, die sich f&#252;r Wertpapiere (Aktien) interessieren. <a href="http://www.blogadresse.de/2008/04/03/mein-erstes-c-programm-trailing-stop-loss-rechner/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Da ich grade am C lernen bin und mich ein bisschen f&#252;r den Wertpapierhandel interessiere, habe ich als kleine &#220;bung bei C Programm geschrieben, dass den aktuellen Stop-Kurs einer Trailing Stop Loss Order ausrechnet.<span id="more-360"></span></p>
<p>Ich lerne &#252;bringens mit der Hilfe von <a href="http://www.amazon.de/gp/product/3499600749?ie=UTF8&amp;tag=blogadresse-21&amp;linkCode=as2&amp;camp=1638&amp;creative=6742&amp;creativeASIN=3499600749">C Programmieren von Anfang an</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.de/e/ir?t=blogadresse-21&amp;l=as2&amp;o=3&amp;a=3499600749" border="0" alt="" width="1" height="1" />, das ich nur empfehlen kann. Es ist alles einfach beschrieben und es gibt &#220;bungen, die man machen kann (L&#246;sungen sind im Anhang). Au&#223;erdem kostet es im Gegensatz zu vielen anderen B&#252;chern nur knapp 10 €.</p>
<p>Das kleine Kommandozeilen-Tool habe ich <a href='http://www.blogadresse.de/2008/04/03/mein-erstes-c-programm-trailing-stop-loss-rechner/trailing/' rel='attachment wp-att-361'>hier</a> f&#252;r Mac OS X (Intel) kompiliert und f&#252;r alle andere folgt der Quellcode.</p>
<pre lang="c" line="1">
// Written by Jan Kampling, 2008.

#include <stdio .h>
#include <ctype .h>

main () {
	float kurs, stoplimit, stoploss, summe;
	int auswahl;

	printf("\nT r a i l i n g    S t o p    L o s s    R e c h n e r");
	printf("\n\nGeben Sie den aktuellen Kurswert ein:\n");
	scanf("%f", &#038;kurs);
	printf("\nGeben Sie den Start Stop Loss Wert ein:\n");
	scanf("%f", &#038;stoploss);

	do {
		printf("Geben Sie\n");
		printf("0\t fuer absoluten Trailing Stop Abstand ein");
		printf("\noder\n");
		printf("1\t fuer prozentualen Trailing Stop Abstand\n");
		scanf("%i", &#038;auswahl);
	} while (!(auswahl == 0 || auswahl == 1));

	printf("\nGeben Sie ihr Trailing Stoss Loss Limit ein:\n");
	scanf("%f", &#038;stoplimit);

	if (kurs > stoplimit) {
		if (auswahl) {
			summe = kurs - (kurs * stoplimit / 100);
			if (summe > stoploss) {
				printf("\nIhre aktueller Stop Loss Kurs liegt bei %.2f.\n", summe);
				} else {
				printf("\nIhre aktueller Stop Loss Kurs liegt bei %.2f.\n", stoploss);
				}
		} else {
			summe = kurs - stoplimit;
			if (summe > stoploss) {
				printf("\nIhre aktueller Stop Loss Kurs liegt bei %.2f.\n", summe);
				} else {
				printf("\nIhre aktueller Stop Loss Kurs liegt bei %.2f.\n", stoploss);
				}
		}
	} else {
		printf("\nIhre Wertpapiere wurden bereits verkauft.\n");
	}
}</ctype></stdio></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.blogadresse.de/2008/04/03/mein-erstes-c-programm-trailing-stop-loss-rechner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transmission Nightly Updater</title>
		<link>http://www.blogadresse.de/2006/12/07/transmission-nightly-updater/</link>
		<comments>http://www.blogadresse.de/2006/12/07/transmission-nightly-updater/#comments</comments>
		<pubDate>Thu, 07 Dec 2006 11:08:58 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[transmission]]></category>
		<category><![CDATA[updater]]></category>

		<guid isPermaLink="false">http://www.blogadresse.de/2006/12/07/transmission-nightly-updater/</guid>
		<description><![CDATA[I really like to follow the development of Transmisson so I often download the nightly builds to see what is new. I thought it would be nice if there would be an automatic updater. Transmission uses Sparkle for updates but &#8230; <a href="http://www.blogadresse.de/2006/12/07/transmission-nightly-updater/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img id="image193" alt="Transmission Icon" src="http://www.blogadresse.de/wp-content/uploads/2006/12/transmissionicon.png" /></p>
<p>I really like to follow the development of <a href="http://transmission.m0k.org/">Transmisson</a> so I often download the nightly builds to see what is new. I thought it would be nice if there would be an automatic updater. Transmission uses Sparkle for updates but this is only for the official releases. So I write this applescript updater. Please give me some feedback if it is working for you.</p>
<p>Download: <a id="p195" href="http://www.blogadresse.de/wp-content/uploads/2006/12/updater_transmission.zip">Transmission Nightly Updater</a></p>
<p>You could also use it do build your own nightly updaters for other applications. Comment on this if build your own.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogadresse.de/2006/12/07/transmission-nightly-updater/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>backupbyplaylist will get an update</title>
		<link>http://www.blogadresse.de/2006/11/07/backupbyplaylist-will-get-an-update/</link>
		<comments>http://www.blogadresse.de/2006/11/07/backupbyplaylist-will-get-an-update/#comments</comments>
		<pubDate>Tue, 07 Nov 2006 21:00:41 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[MacMediaCenter]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[preview]]></category>

		<guid isPermaLink="false">http://www.blogadresse.de/2006/11/07/backupbyplaylist-will-get-an-update/</guid>
		<description><![CDATA[I think it is time to update backupbyplaylist. I&#8217;m doing a complete rewrite as an Xcode applescript application. Here is a sneek preview.]]></description>
			<content:encoded><![CDATA[<p>I think it is time to update backupbyplaylist. I&#8217;m doing a complete rewrite as an Xcode applescript application. Here is a sneek preview.</p>
<div><img src="http://www.blogadresse.de/wp-content/uploads/2006/11//backupbyplaylist_preview.jpg" border="0" height="170" width="450" alt="backupbyplaylist_preview.jpg" align="left" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.blogadresse.de/2006/11/07/backupbyplaylist-will-get-an-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TV2iCal</title>
		<link>http://www.blogadresse.de/2006/01/18/tv2ical/</link>
		<comments>http://www.blogadresse.de/2006/01/18/tv2ical/#comments</comments>
		<pubDate>Wed, 18 Jan 2006 19:42:16 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[MacMediaCenter]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[TV-Browser]]></category>

		<guid isPermaLink="false">http://www.blogadresse.de/2006/01/18/tv2ical/</guid>
		<description><![CDATA[TV2iCal adds your favorite tv shows and films to your iCal calender and iTele. It manage the syncing of TV-Browser, iCal and iTele. <a href="http://www.blogadresse.de/2006/01/18/tv2ical/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>iTeleRecord is developed by Jan Weiss.</p>
<p>TV2iCal is a collection of scripts to schedule recordings in iTele with the help of iCal and TV-Browser. It was developed to make use of the great iCal interface for managing scheduled recordings. It goes beyond what iTeleRecord does.</p>
<p>The iCal-iTele integration can also be used without TV-Browser. Just try importing your existing scheduled recordings from iTele, modify them, add new ones and write them back.</p>
<p><strong>Warning: The iCal2iTele script replaces all iTele recordings. Be sure to use iTele2iCal first if you have used iTele itself to schedule recordings perviously.</strong></p>
<p><strong>Requirements</strong></p>
<ul>
<li>TV-Browser < = Version 1.0 (<a href="http://www.tv-browser.org">http://www.tv-browser.org)</li>
<li style="list-style: none">
<ul>
<li>CapturePlugin (http://www.tv-browser.org/plugins.php)</li>
</ul>
</li>
<li>Apple iCal (tested with 1.5.5 and 2.0, may work with previous and later versions)</li>
<li>Property List Tools 1.0.3 (<a href="http://www.latenightsw.com/freeware/PListTools/">http://www.latenightsw.com/freeware/PListTools/</a>)</li>
<li>iTele Software (<a href="http://www.defyne.org/dvb/iTele.html">http://www.defyne.org/dvb/iTele.html</a>)</li>
<li>MultiMedia Input device drivers for Mac (<a href="http://www.defyne.org/dvb/driver.html">http://www.defyne.org/dvb/driver.html</a>)</li>
<li>Any hardware supported by MMInput and iTele</li>
</ul>
<p><strong>Features</strong></p>
<ul>
<li>Deleting a programmed recording in TV-Browser deletes it in iCal. Thisworks even if the recording’s start time and end time were modified.The default tolerance for this is 20 minutes.</li>
<li>Use iTele2iCal to import your schedule recordings from iTele into iCal.</li>
<li>Use iCal2iTele to export your schedule recordings from iCal to iTele. Thispreserves the repeat settings that are supported by iTele: dayly, weekly,weekdays, weekends.The latter two are available in iCal via choosing “Custom…”:or</li>
<li>If you have imported your schedule recordings from iTele into iCal youcan update them with additional information from TV-Browser simply by usingthe captureplug-in with TVB2iCal and schedule that show.</li>
</ul>
<p><strong>Restrictions</strong></p>
<ul>
<li>The iCal2iTele script cannot schedule recordings while iTele is open.</li>
<li>The iCal2iTele script replaces all iTele recordings. Be sure to use iTele2iCalfirst if you have used iTele to schedule recordings prevously.</li>
<li>iCal2iTele works only if iTele is not open. If it is iTele will write overthe exported data and load that upon next being started.</li>
<li>You need to have Property List Tools installed</li>
</ul>
<p>Download latest release: <a id="p79" href="http://www.blogadresse.de/wp-content/uploads/2006/01/tv2ical-1.2.0.zip" name="p79">TV2iCal 1.2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogadresse.de/2006/01/18/tv2ical/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
