26 Mar 2003 BenFrantzDale   » (Journeyer)

As part of a web database project, I've started to wonder what the “correct” way is to enter data into a database. It seems to me that having python scripts call SQL insert statements directly isn't good encapsulation, since changes to the database structure would break it. We have been using database functions for this, however they are limited to 16 arguments which isn't great when you are trying to input every possible address field, for example.

How is this done in real life? It seems like there should be something comperable to a view, but for doing insertion.

I set up a gallery (gallery.sf.net) for my photos. I'll try to set it up so it shows the technical information about all of the pictures, but at the moment jhead, the EXIF reader that Gallery supports, doesn't seem to want to show as much metadata as metacam does.

Someone (with too much power) decided that my school is not prepared for terrorism and now all but the "front" door to every building is locked douring business hours. One of my professors posted on a chat list that this measure was tantimount to wearing a tinfoil hat to protect from fallout. To make his point, he has been wearing a tinfoil hat.

I really hate how fast food places think sextuple-thick milikshakes are desireable. I only get milkshakes at places like that when I'm on a driving trip, but really, who wants to suck icecream through a straw. (I wonder what the dynamic viscosity of a triple-thick milkshake is.)

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!