John "The Gneech" Robey (the_gneech) wrote,
John "The Gneech" Robey

  • Mood:

Why Does Progress Always Start at 10:00 p.m.?

So I never did get any databases working; eventually I just gave up on that. I'm sure it will need to be fixed eventually, but I was just grinding my gears and getting frustrated, so once again I used my executive powers as King of the Workaround [1] to slap something awful that works in place, with a note to come back and fix it later.

I saved the tables to comma-delimited TXT files and used the CFFile tag to read those into variables. Then from that variable, I used "#chr(10)#&#chr(13)#" to find the line breaks, looped over the entire file as a list, then for each line I looped over that to find the specific value at any given position. It's an ugly, clunky piece of code that's right out of Fortran or something, but it at least has got me past the "database no worky" issue.

So finally, last night at 10:00 p.m., I was ready to start actually making progress on the actual project. Except the weekend was then over. Le sigh.

The real killer about this is that the whole point of the exercise is to eventually give me practice using C# in .NET ... but I can't be working out the logic and learning syntax at the same time. So I'm writing up the app in ColdFusion first because I can "think" in CF, and then once it's done I'll go back and re-code it in C#.

Why did I become a programmer? I hate programming. :P

Oh yeah. Because cartooning doesn't pay. -.-

-The Gneech

[1] A title I've had for a decade or so, now. If anything, it's my most impressive programming skill.
Tags: i.t.
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment