oku is currently certified at Journeyer level.

Name: Oliver Kurth
Member since: 2004-01-28 22:54:43
Last Login: N/A

FOAF RDF Share This

Notes:

I am a Debian Developer (packages). I am also author of masqmail, and I started the Atmel at76c503 driver project. I currently live in Erding, Germany.

Recent blog entries by oku

Syndication: RSS 2.0
Ready for Take-off

I have packed my things together, except for this notebook, and ordered a cab. In a few hours I will take off for San Francisco, via Philadelphia, for a 4 week stay in Fremont. I will be in SF at around 9:30 pm, that's a trip of 18 hours - if I did the maths right. Sigh...

New Project

I am currently working on a new project. It is just an idea, and let's see how far it goes: you all know about the diversity of configuration files in Unix, it seems that every program has its own syntax. This makes it difficult to write configuration editors for web interfaces or GUI configuration editors.I do not think that much can be done about it, it is nearly impossible to convert each program's configuration file to a single, unified format. But still, most, if not all have one thing in common: they can be represented as trees, with the values as its leaves. See eg. /etc/network/interfaces. If it looks like:

auto eth0

iface eth0 inet static address 192.168.1.1 netmask 255.255.255.0 gateway 192.168.1.254

this can be represented in a tree:

auto
  eth0

iface eth0 family 'inet' method 'static' address '192.168.1.1' gateway '192.168.1.254'

So we could write a parser that reads a conf file and represents it internally as a tree. Each entry can than be accessed in a file system like manner, eg. the address of eth0 with

iface/eth0/address

The same can be done with other conf files, eg, XF86Config-4, dhcpd.conf etc. What we then need is a common way to access and modify the tree. This can be simple commands that are called from shell scripts or functions in for example C. To get the address of eth0 in a shell script, we could write:

cnf ifupdown get iface/eth0/address
And the same for XFree86, for example to get the device file for the mouse:
cnf xfree86 get InputDevice/Device
In the latter example, we may have ambiguities, I have two mouse devices. So a real script would have to check the Identifier.

So this way it is possible for shell scripts to get the IP address or other values for an interface easily, and different configuration editors can rely on a unified library to access and modify data.

Of course, this approach does not make it easy as pie: it is still necessary to write a parser, and to change values, also an 'unparser' that writes the data back, without loosing any changes that are not understood, and if possible, also any comments that have been made in the fille. That's why I do not know yet how far this project will get.

weekend is over
Back in Erding since yesterday. For the record: driving took 3:55. I think I should drive more relaxed...

Debian
Updated ifplugd twice a day, because I forgot to put pkg-config into Build-Depends: and of course the buildds failed. Also updated waproamd. So I closed 9 bugs in one day ;-).

Moving to USA
Yes, that's right. More about this later. Anja found a good link for apartment rentals: www.rentnet.com.

Okay, it is weekend, and now I am in Göttingen again. 4hours and 15 minutes drive, not bad for 524km. I am tired, but my little daugher is still awake. It is 00:28.

Just found a strange problem with one of my Debian packages that I maintain, ifplugd. Seems that after some time it does a lot of disk I/O, though it shouldn't - it does not have to do anything with files. My notebook made click-clack all the time, and I tried everything until I did 'killall ifplugd', and then it was quiet. Strange. Wrote upstream about it.

1 older entry...

 

oku certified others as follows:

  • oku certified oku as Journeyer
  • oku certified mbanck as Journeyer
  • oku certified torsten as Journeyer

Others have certified oku as follows:

  • oku certified oku as Journeyer
  • ncm certified oku as Apprentice
  • daverd certified oku as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page