At work, we started using dmake in 1991 (or even earlier) for building the firmware for the Vending Machine Controller Euro'90. The firmware consisted mostly of PL/M and C code and the compilers suffered from the DOS limitation of 127 characters per command line. Dennis Vadura’s dmake 3.70 (hosted by the University of Waterloo and available as DOS version) featured the $(mktmp ) macro that let me create any needed temporary config and response files.
Read More ...
Even before I upgraded to OS X 10.4 (Tiger), I got the report that the Save File dialog in Realpolitik crashes. Now I have applied a quick’n’dirty fix for the next couple of days for all Tiger users and released Realpolitik 1.7.0 Alpha 2 earlier than planned.
Currently I’m revamping the dialogs known to Mac developers as Navigation Services. Already done in Alpha 2 is the Open File dialog:
From the users perspective you have now a working type pop-up, where you can choose Realpolitik Files (.
Read More ...
The four days at the ACCU Conference in Oxford are over. Except Günter nobody seems to have blogged the C++ track.
Apart from the discussions and presentations what should go into the next C++ standard (called C++0x and scheduled for 2009), one of the big topics was concurrency and a new awareness that some new ideas are needed. Herb Sutter presented the points of his recent DDJ article. As an example for an exercise simple to understand and yet far from easy to solve he mentioned the Santa Claus Problem:
Read More ...
After much carbonizing by Ben Hines and some polishing by me a new Realpolitik Release is available on Sourceforge, the first release for OS X.
The release version Realpolitik 1.7.0 Alpha1 is not yet stable (hence Alpha 1), there are still some known (and probably many more unknown) errors like selection and redrawing problems with the orders window, but with some care (backup your .dpy files!) it should be usable.
Read More ...
Every year after christmas the El Niño Cup takes place. It is a tournament where the result is less important than exercising and having fun. There is a team day, where every team plays Volleyball, Basketball and Unihockey, and a single day, where the disciplines are Badminton, Table Tennis and Archery.
Last year I wrote a program to ease the drawing. It is a fairly complex problem:
Every participant must have six matches, two for every discipline, against members of its category (men, women, mixed…) There should be not two matches against the same adversary (except if the category has less than 7 players) Between two matches there should be a break of at least the duration of one match This year I enhanced the program some more.
Read More ...
Im Gegensatz zu PCs ist bei OS X Python bereits vorinstalliert. Leider fehlt jedoch ausgerechnet IDLE, so dass trotzdem noch etwas zu tun bleibt.
Installationsanleitung für IDLE (von PythonMac FAQ abgekupfert) Tcl/Tk Aqua herunterladen und installieren MacPython herunterladen und installieren (für OS X 10.3 sind das die MacPython Panther Addons) Das Programm PackageManager im Ordner /Programme/MacPython-2.3 starten Im PackageManager _tkinter installieren “Neue” Division Damit IDLE sich so benimmt wie im Buch beschrieben (vgl.
Read More ...
(Deutscher Text siehe separater Artikel)
K got the book Python für Kids. To enable him to use the book on OS X, I wanted to setup the Python environment on the Mac as on the PC: Install IDLE and, to hide the differences between integer and floating point math, configure to use the new division.
Installing IDLE on OS X 10.3 is easy with MacPython. IDLE comes as bundle, ready to be launched with the mouse from the Finder.
Read More ...