I had to write a simple Pascal parser in Prolog for my programming course of this semester. The rough specification: print the names and line numbers of the procedures and functions found in the Pascal code to be parsed.
Prolog is a nightmare if you wanna write imperative code. I’ve came up with the following mess (also available on GitHub):
You shouldn’t see anything like this in your future life.
Operational Research Demo
I’ve written another application. Unlike the previous one, it’s a GUI application which i’ve made for the operational research course of the university. It features an incremental UI. I mean on this a kind of UI which the user can incrementally fill out as he/she gives more and more information during the input rather than having to handle tons of pop-ups throughout the process. I think it’s a much more usable interaction model.
See it for yourself:
Operational Research Demo is written in Python using PyGTK and you’re free to download it.
I’ve been dreaming for a long time about a well designed, parallelized init system and finally it seems my dream has come true. I hadn’t have the time to check it out, but the boot charts seem very promising.
I’ve just disabled the comments and pings in every of my posts because I got massively spammed by various WordPress worms. On the other hand it’s not a real pain for me, because my blog is not really popular. Honestly I don’t mind it all, since I write mainly to summarize my thoughts and make a diary of my journeys.