Suchen / SearchNavigation |
New and Updated / Neu und aktualisiertDate Parsing Handlers for AppleScriptThree handlers useful for parsing strings into AppleScript dates are discussed here.
CyberangriffeBeim Lesen der New York Times fand ich den Bericht »APT1: Exposing One of China's Cyber Espionage Units« des Unternehmens Mandiant. Inzwischen habe ich ihn gelesen, rund 60 Seiten ohne Anhänge.
Tolstoi im KnastAls kurze Ergänzung zu meinem letzten Beitrag mit dem Link zur Rassentrennung im Knast: Hier noch ein Link auf einen anderen, verwirrenden Artikel, zum »Beaumont Juvenile Correctional Center«: Crime and punishment: Juvenile offenders study Russian literature. Gruß,
Rassentrennung im GefängnisStrafvollzug gehört sicher zu den ethisch komplexesten Themen. Vor allem, wenn die faktischen Regeln im Alltag dort allem widersprechen, was die Strafe überhaupt legitimiert.
AppleScript to remove Diacritical Marks from TextThe most essential point: Remove diacritical marks. That is: Remove accents (ê to e) or umlauts (ä to a) in (hopefully) all writing systems. I use Python code for this, called by an AppleScript handler. First, the Python code is discussed, the AppleScript handler is at the end. When testing the direct access to the database of the Apple Address Book, I had to deal with the way, text is normalized for searching. Here is some general discussion, how to do this for own database projects. The suggestions here are not compatible to the Address Book!
AppleScript zum Entfernen diakritischer Zeichen aus TextHier geht es um das Entfernen diakritischer Zeichen aus Text. Das heißt: Entfernen von Akzenten (ê zu e) und Umlauten (ä zu a) in (hoffentlich) allen Schriftsystemen. Ich benutze Python-Code dafür, aufgerufen von einem AppleScript-Handler. Zuerst wird der Python-Code beschrieben, der AppleScript-Handler steht am Ende. Beim Testen von »Daten direkt aus der Adressbuch-Datenbank lesen« musste ich mir ansehen, wie Text für die Suche normalisiert ist. Hier steht eine allgemeinere Diskussion, wie man das für eigene Datenbank-Projekte macht. Die Vorschläge hier sind nicht kompatibel zum Adressbuch!
Dokumentation AppleScript KalenderfunktionenKalender-Grundfunktionen © Jürgen Schell 2010 (Diese Seite ist eine alte, archivierte Version, die neue finden Sie hier Dokumentation und Code stehen unter der Lesser GNU Public License. Es wird keinerlei Garantie für das korrekte Verhalten dieser Funktionen übernommen. Betrachten Sie den Code als eine Trainings-Implementation. Die Kalender-Grundfunktionen mögen für einige Leute nützlich sein.
PHP Writer for Apple Property ListsThe code discussed here creates Apple plists in PHP. The main intention for writing it was to get a better mechanism to transfer data from databases to AppleScript – particularly to get the proper data types. The code here basically has been a study for the code for MySQL access via AppleScript. This part of the project may still be helpful for people using a combination of AppleScript and PHP shell scripts. This article is quite technical of course.
Cookies and the European UnionThe content management system I use creates cookies on the machines even for anonymous visitors. This is perfectly useless: Neither are the cookies needed nor is there any software evaluating them for statistics. But it is simply deep in the system, so I never changed it. Here some basic information about cookies and their possible privacy impacts: Directive 2009/136/EC of the European Parliament and of the Council requires to inform visitors of a Web site, if it stores any information on their computer or retrieves information from it.
Unicode Points in AppleScriptAppleScript uses Unicode for the internal representation of text. When using “do shell script”, the communication takes place using the UTF 8 encoding. This page discusses some basic aspects.
|