Andreas Schneider Blog

4

CMake Java Support

At the end of last year I’ve worked on Dogtag PKI, which is enterprise-class open source Certificate Authority. The project is written in serveral different laguages (C, C++ and Java), so I’ve used CMake as the new build system. I know CMake very well and use it since a long time. To be able to build the java project I needed Java support in CMake....

9

Weave for PIM?

Last year I discovered Mozilla Weave (now Sync). Weave is a Firefox addon and they offer the server components to install your own weave server. It offers everything I would like to have for PIM. So lets start with some details… The Firefox Sync addon synchronizes the following things between your browsers/computers: bookmarks history forms prefs tabs passwords The data stored on the weave server...

4

gdb backtrace to file

I wanted a simple command to get a backtrace in a file from gdb. It took me years to finally discover and craft this command! alias bt=’echo 0 | gdb -batch-silent -ex “run” -ex “set logging overwrite on” -ex “set logging file gdb.bt” -ex “set logging on” -ex “set pagination off” -ex “handle SIG33 pass nostop noprint” -ex “echo backtrace:\n” -ex “backtrace full” -ex “echo...

4

The pain of poll(2)?

If you’re working on a multi-platform project which does network communication you will end up thinking about replacing select(2) with poll(2) sooner or later. The problem with select are well known. poll(2) removes the limitations of select(2) and improves speed and features. The problem is that poll(2) isn’t available on all platforms. This means you need a poll(2)-emulation or create wrappers around other similar poll()...

2

Featurecasts

Yesterday I’ve visited the Tokamak4 Sprint. I’ve attended the talks in the evening and then had dinner with some KDE hackers. Today I’ve looked at PlanetKDE and saw the KDE bluetooth screencast from Alex Fiestas. I liked the screencasts in the KDE 4.4 announcement, it should the users what’s cool and new. Yesterday I’ve heard the first time about activities in KDE4. I wondered what...

0

Documenting the Source

As you maybe know I have a new job since last December and I’m working on Samba4 now. Samba4 is a monster so I’ve asked for some simple tasks to get started. The task was to migrate some code to a new Samba library called tsocket. The problem was I didn’t know what to do and how. Some functions of the API were documented but...

0

csync at FOSDEM

I’m currently updating csync to work with libssh 0.4 and I will give a lightning talk about csync at FOSDEM next weekend. csync is a file synchronizer to keep two folders in sync. This can be local or remote. The main purpose of csync is to provide Roaming Home Directories. I will work with Aris on libssh stuff and try to get some small features...

5

kio_sftp updates

openSUSE has backported the new kio_sftp implementation based on libssh to their KDE 4.3 packages. This increased the users and helped to find some bugs in kio_sftp and KDE. The current implementation is working fairly well. As soon as libssh 0.4 will be released (hopefully soon) I will add more features. Users asked for ~/.ssh/config support and I’ve added openssh’s statvfs extension to libssh. This...

4

mlmmj webarchiver

I run mlmmj (mailinglist management made joyful) for my mailing lists. The problem was, that I didn’t have any mailinglist webarchives for a long time. I had to change this so I started on Friday to changes this. It took me the whole day to write the scripts. mlmmj-webarchiver has been written by Sven Michels using hypermail. As hypermail is more or less a dead...

5

undefined reference to “function name”

Since hermes is flooding my mailbox I haven’t looked if all my packages are compiling on Factory. So I had a look for interesting emails today. ctrlproxy (irc proxy/bouncer) didn’t build with undefined reference to ““. I wondered if the libarary packages have been renamed, but everything looked fine. I’ve talked to darix and he told me about the –as-needed flag of the linker which...