<?xml version="1.0" encoding="iso-8859-15"?>
<!-- generator="Kukkaisvoima version 9-pr0.1" -->
<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/"
>
<channel>
<title>datensal.at: Software</title>
<link>http://datensal.at/index.cgi</link>
<description>Jee</description>
<pubDate>Sat, 09 Jan 2010 19:51:57 +0200</pubDate>
<lastBuildDate>Sat, 09 Jan 2010 19:51:57 +0200</lastBuildDate>
<generator>http://23.fi/kukkaisvoima/</generator>
<language>en</language>
<item>
<title>More Weblog Features
</title>
<link>http://datensal.at/index.cgi/morekukkafeatures%3A2010-01-09%3ASoftware%2CWeblog</link>
<comments>http://datensal.at/index.cgi/morekukkafeatures%3A2010-01-09%3ASoftware%2CWeblog#comments</comments>
<pubDate>Sat, 09 Jan 2010 19:51:57 +0200</pubDate>
<dc:creator>Juergen</dc:creator>
<category>Software</category>
<category>Weblog</category>
<guid isPermaLink="false">http://datensal.at/index.cgi/morekukkafeatures%3A2010-01-09%3ASoftware%2CWeblog/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[

<div align="justify">There wasn't much publishing going on here since I switched from <a href="http://drupal.org/" target="_blank">Drupal</a>  to python-based <a href="http://23.fi/kukkaisvoima" target="_blank">Kukkaisvoima</a>. On one hand that was because of a new job situation. Just didn't have the time to write alot. On the other hand I still wasn't satisfied by the security (anti-spam) mechanisms offered by the minimalistic software. So, during the holidays I started enhancing this thing a little with a sweet anti-spam mechanism based on <img src="http://datensal.at/cgi-bin/mimetex.cgi?\LaTeX"> respectively <a href="http://www.forkosh.dreamhost.com/source_mimetex.html" target="_blank">mimetex</a> (I hope you like math! :)). <br/>
Today I finished the second feature which you can see on the right: the microblog badge. It fetches my <a href="http://identi.ca/" target="_blank">identi.ca</a> statuses via <a href="http://status.net/" target="_blank">status.net</a> api using the command line microblogging client <a href="http://code.google.com/p/pytwerp/" target="_blank">pyTwerp</a> written in Python. Since it is developed for output to <b>stdout</b> no HTML is generated. Hence no hyperlinks to users, tags, groups and other locations are formatted. So, I had to refresh my regular expression skills to make the hyperlinks show up. To integrate the script into the blog layout I used the example code snippet of Michael Gangolf's PHP-based <a href="http://migaweb.de/laconica/" target="_blank">laconi.ca badge</a>. Two into one... badge done!<br />
I guess from now on there aren't any more serious reasons to excuse the low frequent blog post situation here... poor me!
</div><br/ > ]]></content:encoded>
<wfw:commentRss>http://datensal.at/index.cgi/morekukkafeatures%3A2010-01-09%3ASoftware%2CWeblog/feed/</wfw:commentRss>
</item>
<item>
<title>Suchen und Ersetzen mit sed
</title>
<link>http://datensal.at/index.cgi/sed%3A2009-10-03%3ASoftware</link>
<comments>http://datensal.at/index.cgi/sed%3A2009-10-03%3ASoftware#comments</comments>
<pubDate>Sat, 03 Oct 2009 03:24:02 +0200</pubDate>
<dc:creator>Juergen</dc:creator>
<category>Software</category>
<guid isPermaLink="false">http://datensal.at/index.cgi/sed%3A2009-10-03%3ASoftware/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[

<div align="justify">Ich bin kein Freund von emacs, vi und eierlegenden Wollmilchsau'ditoren dieser Art. Zweifellos - sie k&ouml;nnen wahrscheinlich alles! Auch das, was ich nun aber mit einem kleinen Bash-Skript realisiert habe. <br/>
Nachdem ich auf mein neues python-befeuertes Blog umgestiegen bin, schreibe ich meine Blogartikel im Texteditor. Da ich die automatische Umwandlung von z.B. Umlauten in HTML-Entities nur von WYSIWYG-HTML-Editoren kenne und diese nicht ausstehen kann, hab ich nach einer L&ouml;sung gesucht, s&auml;mtliche Umlaute in einem Rutsch ersetzen zu lassen. Per Suchen-/Ersetzen-Befehl des Editors mu&szlig; dies f&uuml;r jede Art Umlaut separat ausgef&uuml;hrt werden, was ziemlich nervig ist. <br/>
Doch unixoide Betriebssysteme bieten mit dem Streameditor <a href="http://www.gnu.org/software/sed/manual/sed.html" target="_blank">sed</a> ein m&auml;chtiges Tool, um Text-Str&ouml;me automatisch zu manipulieren. So schreibe ich meine Texte wie gewohnt mit Umlauten und setze danach folgendes Bash-Skript auf die Textdatei an:
<div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace; color: #666;">
 #!/bin/bash<br />
 for item in $*<br />
 do<br />
   &nbsp;&nbsp;&nbsp;cp $item $item.bak<br />
   &nbsp;&nbsp;&nbsp;sed -f ~/scripts/sedfile $item.bak > $item<br />
   &nbsp;&nbsp;&nbsp;rm $item.bak<br />
 done<br />
</pre></div>
Wobei das <em>sedfile</em> folgende regul&auml;ren Ausdr&uuml;cke beinhaltet:
<div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace; color: #666;">
 s/&auml;/\&amp;auml;/g<br />
 s/&ouml;/\&amp;ouml;/g<br />
 s/&uuml;/\&amp;uuml;/g<br />
 s/&Auml;/\&amp;Auml;/g<br />
 s/&Ouml;/\&amp;Ouml;/g<br />
 s/&Uuml;/\&amp;Uuml;/g<br />
 s/&szlig;/\&amp;szlig;/g
</pre></div>
Man beachte, dass die &amp;'s mit Backslashes "escaped" sind. Das kaufm&auml;nnische Und hat f&uuml;r sed normalerweise eine Steuerfunktion. Ohne Backslash geht's schief.
Der Umweg &uuml;ber eine Kopie der zu bearbeitenden Textdatei ist &uuml;brigens notwendig, da die direkte Variante eine leere Datei zur Folge h&auml;tte.<br/>
Als <em>htmlentities.sh</em> abgespeichert kommt das Skript, wer h&auml;tt's gedacht, folgenderma&szlig; zur Anwendung:
<div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">./htmlentities.sh </span>textdatei.txt</pre></div>
</div><br/ >
]]></content:encoded>
<wfw:commentRss>http://datensal.at/index.cgi/sed%3A2009-10-03%3ASoftware/feed/</wfw:commentRss>
</item>
<item>
<title>Transfer EXIF Data
</title>
<link>http://datensal.at/index.cgi/transferexif%3A2009-09-29%3AFotografie%2CSoftware%2CBildbearbeitung</link>
<comments>http://datensal.at/index.cgi/transferexif%3A2009-09-29%3AFotografie%2CSoftware%2CBildbearbeitung#comments</comments>
<pubDate>Tue, 29 Sep 2009 13:38:56 +0200</pubDate>
<dc:creator>Juergen</dc:creator>
<category>Fotografie</category>
<category>Software</category>
<category>Bildbearbeitung</category>
<guid isPermaLink="false">http://datensal.at/index.cgi/transferexif%3A2009-09-29%3AFotografie%2CSoftware%2CBildbearbeitung/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[

<div align="justify">To present pictures in my <a href="http://gelbersprudel.de" target="_blank">photoblog</a> I sometimes just cut a certain section out of the original picture. In detail it means that I create a completely new picture with a different size using <a href="http://gimp.org/" target="_blank">The GIMP</a>. The bad thing: EXIF data isn't copied doing that kind of manipulation (of course!).<br />
Since I'm really interested in the camera settings people used to take certain pictures I definetly wanna have a look at the EXIF data. To transfer this data from the original picture to the newly created one GIMP doesn't offer the needed functionality. But there's hope - it's called <a href="http://www.sentex.net/~mwandel/jhead/" target="_blank">jhead</a>, an EXIF jpeg header manipulation tool which is available for all popular platforms like Linux, FreeBSD, OS X and Windows. The debian repositories offer a <a href="http://packages.debian.org/sid/jhead" target="_blank">package</a> as well.<br />
To transfer the EXIF data this simple command line does the job:
<div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">jhead</span> -te ORIGINAL.JPG COPY.JPG</pre></div>
There's even a special command for batch operations. This would be
<div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">jhead</span> -te originals/&i *.JPG</pre></div>
where the parameter <strong>&i</strong> substitutes the original filename for this name.<br/>
Of course this operation invalidates the EXIF size values of the picture but that's not the point in most cases anyway.

</div><br/ > ]]></content:encoded>
<wfw:commentRss>http://datensal.at/index.cgi/transferexif%3A2009-09-29%3AFotografie%2CSoftware%2CBildbearbeitung/feed/</wfw:commentRss>
</item>
<item>
<title>Photoblog
</title>
<link>http://datensal.at/index.cgi/photoblog%3A2009-09-29%3ASoftware%2CWeblog</link>
<comments>http://datensal.at/index.cgi/photoblog%3A2009-09-29%3ASoftware%2CWeblog#comments</comments>
<pubDate>Tue, 29 Sep 2009 12:49:19 +0200</pubDate>
<dc:creator>Juergen</dc:creator>
<category>Software</category>
<category>Weblog</category>
<guid isPermaLink="false">http://datensal.at/index.cgi/photoblog%3A2009-09-29%3ASoftware%2CWeblog/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[

<div align="justify">Finally I started my own photoblog at <a href="http://gelbersprudel.de/" target="_blank">gelbersprudel.de</a> after having found this neat software named "<a href="http://www.pixelpost.org/" target="_blank">pixelpost</a>". <br/>
I'm gonna publish the best shots I took over a longer period. I still consider myself as a bloody beginner concerning photography so I'm looking forward to constructive criticism. 
<a href="http://gelbersprudel.de/" target="_blank">Check it out</a> every once in a while. :)</div><br/> ]]></content:encoded>
<wfw:commentRss>http://datensal.at/index.cgi/photoblog%3A2009-09-29%3ASoftware%2CWeblog/feed/</wfw:commentRss>
</item>
<item>
<title>Weightloss... the Python Style - New Blog Software
</title>
<link>http://datensal.at/index.cgi/kukkaisvoima%3A2009-09-25%3ASoftware%2CWeblog</link>
<comments>http://datensal.at/index.cgi/kukkaisvoima%3A2009-09-25%3ASoftware%2CWeblog#comments</comments>
<pubDate>Fri, 25 Sep 2009 15:34:33 +0200</pubDate>
<dc:creator>Juergen</dc:creator>
<category>Software</category>
<category>Weblog</category>
<guid isPermaLink="false">http://datensal.at/index.cgi/kukkaisvoima%3A2009-09-25%3ASoftware%2CWeblog/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[

<div align="justify">It's done! My weblog is completely ported to the new blog software.<br/>
Under the hood a minimalistic lightning-fast python script with the tongue twisting name <a href="http://23.fi/kukkaisvoima" target="_blank">Kukkaisvoima</a> is doing a fantastic job now.<br/>
While my former choice <a href="http://drupal.org" target="_blank">Drupal</a> came with about 500 files in the default installation Kukkaisvoima consists of just one file. Yes right.. just ONE! And believe me, it isn't packed with 2 millions lines of code (roughly 1000 lines after my modifications!). I wasn't happy with Drupal anymore since it usually took a whole while until some html code was rendered in the browser. It just felt too sluggish for a simple weblog like mine. Though <a href="http://wordpress.org" target="_blank">Wordpress</a> wasn't an option in my opinion. Since everybody uses it the effort put into hacking that software is humongous and I already did my experiences concerning hacked root servers misused as bot drones.<br/>
I'm happy with the new minimalism so I'm writing this article in my favorite text editor <a href="http://kate-editor.org" target="_blank">Kate</a> saving it as a simple text file and uploading it to the scripts data directory. Done! No database, no HTML form editor.<br/>
Anyway, the original software was a little too minimalistic for my taste. So I modified the python sourcecode to make it meet my demands. I wanted to have the opportunity to create static sites that don't show up in the article and category list. In addition to that I tried to port the beautiful Wordpress Theme <a href="http://wpthemes.info/misty-look/" target="_blank">Misty Look</a> which worked not that bad. Though I had to modify the script again since functionality and layout isn't seperated that well. Not even talking of the CSS work that had to be done (I kinda hate that). After some code cosmetics I'm gonna publish the modified source code and the Misty Look Stylesheet file on this site. So be patient.<br/><br/>
Oh, and as you may have figured out at this point I'm partly writing english from now on. Similar to my decision to micro-blog bilingual I'm gonna do that here as well. Germany-related topics are still gonna be posted in german though as well as some more complex ones that are just too tough (for me) to translate into english.</div><br/>

]]></content:encoded>
<wfw:commentRss>http://datensal.at/index.cgi/kukkaisvoima%3A2009-09-25%3ASoftware%2CWeblog/feed/</wfw:commentRss>
</item>
<item>
<title>OpenOffice 3 erkennt Zahlen
</title>
<link>http://datensal.at/index.cgi/openoffice3zahlen%3A2009-07-16%3ASoftware</link>
<comments>http://datensal.at/index.cgi/openoffice3zahlen%3A2009-07-16%3ASoftware#comments</comments>
<pubDate>Thu, 16 Jul 2009 13:03:08 +0200</pubDate>
<dc:creator>Juergen</dc:creator>
<category>Software</category>
<guid isPermaLink="false">http://datensal.at/index.cgi/openoffice3zahlen%3A2009-07-16%3ASoftware/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[

<div align="justify"><br/>...oder auch nicht.<br />
M&ouml;chte man in OpenOffice Writer eine Tabelle mit Inhalt f&uuml;llen, hat man unter Umst&auml;nden richtig Spa&szlig;. Standardm&auml;&szlig;ig versucht OpenOffice n&auml;mlich, Zahlenformate selbst&auml;ndig zu erkennen.<br />
<a href="http://datensal.at/sites/default/files/ooo_zahlenformat.jpeg" class="highslide" onclick="return hs.expand(this,{ captionText: 'OpenOffice.org 3 Writer: Automatische Zahlenerkennung deaktivieren' })"><br />
	<img src="http://datensal.at/sites/default/files/ooo_zahlenformat.jpeg" alt="OpenOffice.org 3 Writer: Automatische Zahlenerkennung deaktivieren" style="width:200px; float:left; margin-right:7px;" title="Klicken, um zu vergr&ouml;ssern" width="200" /></a>Eine Zahlen- und Punktfolge wird da schnell als Datum interpretiert. Ein enthaltenes Komma macht die Zahl zur Dezimalzahl. Soweit, so gut. Von Tabellenkalkulationsprogrammen ist man's ja gewohnt. Doch geht Writer davon aus, dass man grunds&auml;tzlich nur Daten des aktuellen Jahres in Tabellenzellen einfügt. Schlie&szlig;lich leben wir ja auch im Hier und Jetzt. Da kommt es vor, dass ein Datum des Vorjahres kurzerhand in das dementsprechende Datum des aktuellen Jahres umgewandelt wird. Auch werden 0er-Nachkommastellen einfach wegrationalisiert:<br />
<blockquote>16.07.08 --> 16.07.09<br />
17,00 --> 17</blockquote>
<p>Allerdings kann dem Spuk ein Ende bereitet werden. Unter <strong>Extras/Optionen/OpenOffice.org Writer/Tabellen</strong> deaktiviere man die Zahlenerkennungsfunktion: <strong>Eingabe in Tabellen/Zahlenerkennung</strong>. Fertsch!<br />
Hach, wie sehr ich doch LaTeX mag!</p></br/></div> ]]></content:encoded>
<wfw:commentRss>http://datensal.at/index.cgi/openoffice3zahlen%3A2009-07-16%3ASoftware/feed/</wfw:commentRss>
</item>
<item>
<title>Opera Turbo - Definiere "schnell"
</title>
<link>http://datensal.at/index.cgi/operaturbo%3A2009-06-04%3ASoftware</link>
<comments>http://datensal.at/index.cgi/operaturbo%3A2009-06-04%3ASoftware#comments</comments>
<pubDate>Thu, 04 Jun 2009 13:03:08 +0200</pubDate>
<dc:creator>Juergen</dc:creator>
<category>Software</category>
<guid isPermaLink="false">http://datensal.at/index.cgi/operaturbo%3A2009-06-04%3ASoftware/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[

<div align="justify">
Gestern mal den neuen Opera 10 beta Browser installiert und ich muss sagen: Ich bin begeistert! Die subjektiv empfundene Tr&auml;gheit des Opera 9.6x in der 64-bit Variante, veranlasste mich in letzter Zeit schon fast wieder mit dem Gedanken spielen, zu Mozillas Speicherfresser Firefox bzw. Iceweasel wechseln. Die neue Presto/2.2.15 Rendering Engine f&uuml;hlt sich dagegen locker, leicht und sauschnell an. Selbst Youtube macht Spa&szlig;, bremsten sonst x Flash-Instanzen des Adobe Flashplayer 10 in der 64-bit Version gepaart mit massenhaft Javascript das Surferlebnis ziemlich aus.
<p><a href="http://datensal.at/sites/default/files/opera_turbo.jpeg" class="highslide" onclick="return hs.expand(this,{ captionText: '20 Mbit/s sind zu langsam f&uuml;r Opera' })"><br />
	<img src="http://datensal.at/sites/default/files/opera_turbo.jpeg" alt="Bullshit Science par excellence: Shaka Shaka Technologie! Wie gut, dass ich mit Hirn gebohren wurde." style="width:120px; float:left; margin-right:7px;" title="Klicken, um zu vergr&ouml;ssern" height="90" width="120" /></a>Neben dem <a href="http://www.golem.de/0906/67524.html" target="_blank">neuen Feature</a>, dass die Tabs ab einer gewissen vertikalen Gr&ouml;&szlig;e Snapshots der jeweiligen Webseite anzeigen, besitzt der 10er das sogenannte "Turbo"-Feature. Ist die Bandbreite der Internetverbindung sehr begrenzt - der Breitbandausbau ist im Germanenland derzeit ja wieder r&uuml;ckl&auml;ufig - verspricht das Feature dennoch schnelle Ladezeiten. Der, datenschutztechnisch etwas bedenkliche Clou: Seitens Opera werden firmeneigene Proxyserver zwischengeschaltet, die den Netzverkehr stark komprimieren und an den turbobefeuerten Browser weiterleiten. </p>
<p>Doch an der Netzwerkgeschwindigkeitserkennung sollten die Opera-Entwickler bis zum Final Release noch etwas arbeiten. So ploppte gerade folgender Hinweis ins Blickfeld:<br />
<blockquote>You appear to be on a slow network. Try to enable Opera Turbo to speed up browsing.</blockquote></p>
<p>Sind denn 20 Mbit/s noch nicht genug? Come on, guys! ;)</p></div><br/> ]]></content:encoded>
<wfw:commentRss>http://datensal.at/index.cgi/operaturbo%3A2009-06-04%3ASoftware/feed/</wfw:commentRss>
</item>
</channel>
</rss>
