Your leaking thatched hut during the restoration of a pre-Enlightenment state.

 

Hello, my name is Judas Gutenberg and this is my blaag (pronounced as you would the vomit noise "hyroop-bleuach").



links

decay & ruin
Biosphere II
Chernobyl
dead malls
Detroit
Irving housing

got that wrong
Paleofuture.com

appropriate tech
Arduino μcontrollers
Backwoods Home
Fractal antenna

fun social media stuff


Like asecular.com
(nobody does!)

Like my brownhouse:
   if(IsAlreadyPlural) {forceSingular}
Wednesday, November 7 2007
Most of what I did today took place in front of my computer. I made a bunch of little changes to my generic database editing system giving it more flexibility for dealing with wild and disorganized databases such as the one underlying X-Cart, a commercial shopping cart I'll be integrating with two different websites over the next several months. Part of the new code allows my system to authenticate an admin from data in any table. Another part inserts a bunch of new knowledge about English into my table-labeling code, allowing it to figure out whether a table name is plural or singular and to then use the correct plural and singular forms when providing options to add or remove rows. New functions include the likes of forceSingular, forcePlural, and IsAlreadyPlural. The code isn't perfect, but it's smart enough to know the singular form of xcart_sessions_data is xcart_sessions_datum.


For linking purposes this article's URL is:
http://asecular.com/blog.php?071107

feedback
previous | next