THE SCRIPT

    I finally managed to create a script that works. It is an implementation of CQL in Python. I spent so many days working on this script, and I encountered errors after errors. I have a total of 17 thousand books that I have to find the country and region of publication for. I am using the library of congress to collect the data with the Search/Retrieve via URL, a Contextual Query Language. With such large data, it is hard to debug as I never know when an issue may occur. Also, CQL is a language that does not really have a big online community, so finding solutions online was hard. Hence, I had to spend at least 2 days fixing a single bug. The biggest issue I had was a title not being supported by CQL even if the title was in string format. After spending hours figuring out why a string is not considered a string, I found out that there is a difference between string and string literal; I do not even understand the difference, but at least I found out that python has a feature called "repr()" that converts a string into a string literal, so it solved my issue.

    So far, working on this particular script made me realize how work is done in the real world. Most of the time, when I do a personal project, I create something based on the knowledge I already have. My end goal is determined by the skills I already have. But with this project, I have an end goal and I have to reach it at all cost. It means that I will have to go through some things that I have never seen before, or things that I do not know. On top of that, I have a deadline, so I have to do the work and learn anything I need to learn in a limited time. This experience helped me strengthen my mindset and allowed me to handle problems calmly and in a professional way no matter how stressful the situation may be.

Comments

Popular posts from this blog

FINAL TASK

FINAL POINT