Sie sind hier


The C language

Using the Lua Programming Language to Create a Graphical User Interface

Gespeichert von Marc Balmer am Do., 12/30/2010 - 08:48

Most toolkits for graphical user interfaces organize the elements of the user interface, typically called "widgets", in a hierarchy: Starting with some container like a dialog or window at the top, the elements like push buttons, labels, or layout managers are added. To add new elements a set of C functions is provided which are called with a handle to the parent widget, the class (or type) of widget that is to be added plus any further arguments like e.g. a label string in the case of a push button.

Decoding the DCF77 and HBG Time Signal Stations Using OpenBSD

Gespeichert von Marc Balmer am Sa., 12/22/2007 - 12:19

Marc Balmer , The OpenBSD Project Copyright (C) 2006 Marc Balmer Every computer is equipped with at least a clock chip or a general purpose device to provide a timer function. While these timers are certainly precise enough for measuring relatively short periods of time, they are not well suited for keeping the correct time and date over a longer period, since almost every chip drifts by a few seconds per day. Even so called real-time clocks only approximately meet the real time. Time signal stations can be a solution to this problem as they emit very precise time information using specifically modulated radio frequencies. Time signal stations are available in many countries; while the coding schemes vary from time signal station to time signal station, the decoding principles are similar.