see also Huckerts page for musicians

If you want to contact me: this is my mail address


Huckerts Page for Programmers

As a professional programmer I have concentrated on the following topics: You find here my professional profile in German or in French. The profile includes a list of all projects I was involved in.

Sample code and Articles

The sample code that you may download is generally portable between UNIX (including LINUX) and Windows. If an application runs only under a specific operating system than this is noted. Please look at the source code headers to see what compiling options you must set on the respective operating system.

PDF and Image Graphics:

RTF: Sockets (TCP/IP): Database and ODBC: A context free parser for natural languages

This is based on very old code that I wrote around the early 80s. The first C compiler I used then was Ron Cains "Small C" for 8080-based processors. The program is totally command-line oriented - no fancy graphics! Here is a description in PDF (by the way generated via the program txtpdf mentioned above). Features include:

A dictionary maintenance program:

This may to be used in context with my old context free parser for natural languages (see above). It can probably used also in other contexts (linguistics):

Miscellaneous Applications:

  • a task scheduler: a command line application that allows the start of applications at specific times under Windows NT or Windows 95/98. The tasks to be started can be defined in an configuraton file. This is a simplified replacement for UNIX crontab. I wrote this application because I had problems with the at command under Windows NT.
     
  • serialcomm: a simple file transfer over serial lines for Windows 32 Bit: this can be used to transfer file from one computer to another. Note: the software is not prepared to use modems- a direct line must be between the two computers

    Code Snippets:

    I collect here small programs I wrote in order to get familiar with specific technical problems. These code snippets are normally very short - they concentrate on the essence of the problems. They may contain code that I found elsewhere on the internet. Note that my snippets do not answer all questions related with the given problem: if you look into the code you will see that very often open questions still exist!

    Waitable timers: This program demonstrates the use of waitable timers in cooperation with callback routines. Context: Microsoft Windows 32/64 Bit, C++, system programming. This technique is used in my MIDI interpreter HUMidi.

    Exception handling in Windows and Linux (in German, German title: "Ausnahmebehandlung in C++ , Windows und Linux", contains 4 larger sample programs): discusses the standard and non standard ways of exeption handling in C++. Tries to distinguish expected and non expected exceptions. Tries also to find an answer to the question: what to do with exceptions in code that you didn't write?

    New Application singletons under Linux. How can I be sure to have only one running instance of an application? I was not very satisfied with the aproaches I found on the Internet and wrote therefor my own solution in C++. This simple approach uses the exclusive lock capability of the fcntl() call under Linux. The zip file includes a simple main() method illustrating the use of my class FILE_Mutex. Note that this works for processes - not threads nor other objects that should show singleton behaviour.

    JAVA samples. Shows simple sample code for the most frequent application classes: IO, exceptions, string handling, GUI (Swing), collections, inheritance (derivation) and XML. I use this sample code if I have to write JAVA programs again after longer projects in C++ or PLSQL or other programming languages when I simply forgot the basic JAVA techniques.

    Copyrights

    I reserve the copyright for commercial use to me. Please don't use this code in commercial contexts.