For our two VirtualBox users, there existed a single NIS group vboxusers. Later I noticed, the vboxusers gid changed on one of the clients after re-installing it. I didn’t mind an extra NIS group for the second VirtualBox user at the time.

When I began testing a autoYaST-driven installation of openSUSE 11.4 I sometimes noticed different gids for the vboxusers after changing the autoYaST control file. I observed values ranging from 114 to 117. Read the rest of this entry »

In the first part covering the SGMLEntities class of ht://Dig I tried to stop using ht://Dig’s internal dict class by using a STL map of std::string and unsigned int.

Tests showed the resulting code was a bit slower than before. I didn’t believe that using map instead of dict caused this. A more likely suspect is std::string.

In this part I’ll change the original SGMLEntities class to use a map of const char* and unsigned int instead.

Read the rest of this entry »

Last time I looked at some of the development decisions made for ht://Dig some 13 years ago. Today I’ll examine the SGMLEntities class. In this part I’ll look at syntactic issues, leaving semantics for later. Here I will also resolve the 64-bit compilation issue I talked about in the last post.

Read the rest of this entry »

ht://Dig

I’m looking at the ht://Dig source code again. All source code posted here will usually be from version 3.1.6.

It is a nice little search engine you can customize to your needs. In 1995, when ht://Dig development began, the C++ standard template library was available only for a few months and few compilers supported it. Also, C++ itself wasn’t standardized for a couple of years yet. So the designer(s) of ht://Dig decided to or had to write code which today is part of any C++ compiler package. One example is the STL map, implemented as the dictionary class in ht://Dig.

Read the rest of this entry »

New blog. Wonder if it gets anywhere…