Today started a bit rough. After nearly a year of getting up at 9am or later 4 consecutive days of getting up at 6:30am was brutal so I rolled over and slept (or tired to) for an extra half hour. Gotta love the flexible hours thing! =D
So what did I work on today? Writing a delete function. I had to create a way for the program to delete a directory and all the files within the directory as well as removing the entries for those files from the database where the paths to them was stored. It was brutal. This sort of thing shouldn’t have taken more than half the morning to find the right hooks (spots in the code) to work with and get the thing going but I just couldn’t get it working.
Actually I couldn’t even get the program to get to my new code. It was really driving me crazy. Especially since everything and I mean EVERYTHING deals with SQL and databases and I’m not comfortable yet poking around in there because I don’t really know what I’m doing. I have some idea but the things you can do with the SQL are freaking INSANE! Anywho, I finally asked for some help from my supervisor and he went over some of the code pieces with me and made a couple changes to the SQL (database “language”) so I could continue on. After that I was able to tweak my function and get it working properly and fix a couple of bugs in the code he wrote/changed (that happens when you only take a quick glance…) So all was well.
That’s it…that’s the entire day right there. Oh…I had Chinese for lunch…it was delicious! Got in around 8:30am and left at 5pm.
So while it started a bit rough it was still a challenging but good day. Tomorrow I’ll be spending some time in the morning learning some more SQL and getting better acquainted with what you can do/accomplish and then learning a bit more about the main application that MCG has so it promises to be an interesting one.