Three years later, a new Psi

I am quite happy about this announcement of a new Psi release from the Delta XMPP Project. I was afraid my favorite XMPP/Jabber client was dead and I had to look for a new one.

While searching for the project status I also found the OTR plugin I missed for some time now. Now my only remaining problem is the IPv6 support. ;-)

PHP memcached session handler security

One subsystem of a PHP server is its session handling. In multi user systems the choice of handlers requires a tradeoff between performance, persistence, and security/user isolation. Because my setup does not seem to be common I document it here. Read the rest of this entry »

Desktops und Mäuse

Ich würde mal behaupten die Computermaus ist ein ziemlich wichtiges Instrument für eine Desktop-Umgebung. Dennoch gibt es merkwürdig langlebige Bugs dazu.

Read the rest of this entry »

LaTeX minted

The minted package is a possible alternative to listing. It provides syntax highlighting for sourc code in LaTeX documents by calling the Python pygmentize tool.
Read the rest of this entry »

CUnit

As the name says CUnit is an xUnit implementation for the C programming language.

In comparison to dynamic programming languages the test organization requires much more manual glue code. Because C has no introspection one has to register every test case manually. Likewise there is no support for utilities like mock object generation or annotations.

On the other hand unit tests can be very useful in C, for example when implementing data structures. Test cases may isolate null pointer dereferencing and one can use valgrind on them to detect memory leaks at the lowest level.

Read the rest of this entry »

Verhinderte Zukunft

Eine kleine SF-Geschichte: Es ist das 21. Jahrhundert. Praktisch alle besitzen tragbare Computer. Und so gut wie überall in den Städten gibt es freien und kostenlosen Internetzugang, um Nachrichten zu empfangen, nachzusehen wo und wann der nächste Bus fährt, schnell auf den Online-Stadtplan zu schauen. Read the rest of this entry »

certutil

Ich möchte certutil für Unix haben… Dieses Windows-Tool dekodiert und verarbeitet ASN.1-Dateien für kryptographische Protokolle. Dabei kann es mehr als nur X.509-Zertifikate lesen (das geht auch mit den openssl-Tools gut) – ich brauchte es konkret um mir eine PKCS#7 Signatur anzeigen zu lassen.

(Ein Programm gleichen Namens ist übrigens Teil der Mozilla Network Security Services; aber auch das arbeitet „nur“ mit X.509 Zertifikaten.)

PDFs und Spezifikations-Auslegung

Aus einer fixen Idee heraus habe ich mir ein Perlskript geschrieben um PDFs zu signieren. Und wie sich das für einen 750-Seiten-ISO-Standard gehört bleiben im Datenformat so einige Angaben interpretationsbedürftig. %-)
Read the rest of this entry »