5 Nov 1999 raph   » (Master)

I added a diary capability to Advogato today. More generally, I did hacked on the "filesystem database" code to add good support for large lists.

Basically, numbers 0-99 just get rendered as _00 to _99. Numbers 100-9999 get rendered as _a/01/00 to _a/99/99. 10000 is rendered as _b/01/00/00.

This lets me do queries such as "what is the maximum numeric key" and "give me the last n" quickly, even for very large numbers. Coincidentally, these are the most common queries.

I plan to use this for posts and comments, but they fit nicely in the account framework, so I did those first.

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!