Search:

<< >>
   1234
567891011
12131415161718
19202122232425
262728    

view by post / day / month

posts
chelsea musings 2/27/2006
everybody's working for the weekend 2/27/2006
closing notes 2/23/2006
in no particular order 2/22/2006
rain, science, and gardening 2/19/2006
my spirit ... has been berrrrokennnnnnn 2/16/2006
opposite 2/15/2006
sequel? skool? squirrel? 2/14/2006
technology addict 2/9/2006
as for everything else ... 2/6/2006
pooper bowl 2/6/2006
a few closing notes for the evening 2/2/2006
country and western music ... i understand it now 2/2/2006
mechanics 2/1/2006

previous next
 
 
technology addict 3:59pm 2/9/2006  

When i first started fac13/stormy clouds, i made it a point to not use any scripts or other software obtained as a "black box" on the web somewhere. I wanted to program everything, to understand how everything worked inside and out ... to use a Seinfeld-ism i wanted to be "master of my domain". Therefore, as the site evolved i had coded my own version of a lot of common web software ... blogging utilities, photo galleries, music playlist monitors, and on and on.

However, not being a full-time or classically-trained software engineer this approach also caused my solutions to be less than optimal in many instances. Case in point: databases. All my journal, photo, and music databases consist of a series of text files for which i've written a variety of query utilities. This has worked fine for most of my applications, but lately my music database has been screaming to be reworked. Because of limitations of the speed of my implementation i could only store the last 1500 songs in my playlist database, because to store more meant casual queries to the database took too long to execute. Recently i began wondering if perhaps i should make use of a standardized database language, and this week i took it upon myself to learn MySQL. After spending a while learning the Perl DBI interface to the language and even longer reworking my music scripts, my playlist database now exists in SQL form. And what a difference that makes ... complex queries that used to bring my home-grown code to its knees now run in milliseconds. My playlist database is now free to grow at will.

When i get a chance, i'm going to convert most of the site to an SQL implementation. I'm also going to put up a searchable archive of my music library, previously impossible due to size and speed constraints. Onward and upward.

Of course, this also means i've most likely introduced a new set of snafus into previously functioning code, so if you notice anything amiss please beat me over the head with it.

last edited 3:59pm 2/9/2006 back to top

ted (www) 12:38am 2/12/2006
Comments are now in an SQL database too ... testing to see how badly that screwed things up ...

 
 
previous next