12 May 2004 ncm   » (Master)

Running linux-2.6.6-mm1. Works fine on my laptop. I added a line "vm.swappiness = 0" to /etc/sysctl.conf, and now my programs don't all run really, really slow in the morning after "locate" has updated its database, because it hasn't summarily swapped them all out. Really the system ought to figure this out for itself.

About graydon's idea for enforcing good resource management, remember that we don't need to make errors impossible, we only need to make them hard to make accidentally. A function to turn a non-owning pointer into an owning pointer doesn't compromise safety, because nobody would call it accidentally.

On a related note, I just realized that in the last four years of writing C++ code, I have not written a single delete statement. To me they're like goto statements, now; there might be a good reason for one, but they suggest sloppy thinking, and demand explanation. [Addendum for Nafai77: delete statements get run, and frequently; I just don't write 'em. They get run in std::autoptr<>'s destructor and in various counted pointers', and in std::list<>::~list() and std::map<>::remove(). Garbage collection, of course, suggests way more sloppiness than a mere delete statement.]

I just saw an interview in which Miguel says Evolution 2 will depend on Mono. Looks like it's time to fork.

No crashes lately, except Metacity.

Orkut: "Lisp" membership 494, "I hate Java" 531. Some bozo created at least six dozen artificial people personalities just to bulk up apparent membership in his communities, and make them look more popular than the "competition". Real people are marking them "friends" left and right, making themselves look very stupid. When I posted a list of them, with links, in a "Real or fake" community, people are all "where's your proof?", without even poking the damn links. Also stupid.

Latest blog entries     Older blog entries

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!