Blog: Einträge 08.11.2013–24.08.2014
Been a long time since the last release (back in 2012!). So it was about time: I just uploaded the new version of
serienbrief, the LaTeX form letter creator. From the ChangeLog:
New feature (it's only one ;-):
Added the possibility to define custom output file names via the newly introduced "--outpattern" option.
Skip empty lines in the database file.
Fixed problems with Windows style line ends in database files on Windows.
Overall code cleanup/sanitization.
Thanks to Thorsten Grothe for bug reporting and beta testing!
Have a lot of fun with it!
Just in case anybody searches for a Python pendant of QString::simplified(): This is surprisingly easy to do:
return ' '.join(string.strip().split())
If one wants to subclass a Python string and add the above function, this can be done e. g. like so (subclassing a string is a bit tricky, as one needs to mess with the
__new__ function instead of the "normal" __init__ one):
def __new__(self, value):
return str.__new__(self, value)
return ' '.join(self.strip().split())
This can then be used like so:
>>> someString = NewString(' a lot of tabs and spaces ')
'\ta lot of tabs\tand spaces '
'a lot of tabs and spaces'
I just uploaded the new release 0.6.1 of the PHP spam filter
From the ChangeLog:
Fixed the theoretical possibility for an SQL injection. Thanks to Dirk Stolle for the bug report!
Added a backend for PostgreSQL, written by Tom Regner
Added a MySQL backend using the new mysqli_* functions instead of the legacy mysql_* ones. Thanks to Lorenzo Masetti for the initial port!
Everybody is encouraged to use the new version. Nothing in the configuration or database has been changed, so the new version can be used as a drop-in replacement.
I've just uploaded the new bugfix release 0.1.2 of
From the ChangeLog:
Fixed crash when processing GPX files with empty or no path segments. Thanks to Fabian Seitz for the bug report!
Added exception handler for non-readable or non-existant files or files with no valid GPX data.