This week I continued working on the series of grok tutorials, I am currently stuck on the car colours exercise in the introduction to programming 2. I'm having trouble formulating a dictionary of the different cars after each input is put in, and how to condense it into a dictionary which is made up of a car colour and its corresponding number based on how many cars were of that colour. I may be able to write the program using lists, but dictionaries seem to be the suggested and possibly more efficient way to do it. As for the quiz assignment, I am still yet to make a start on it as I am trying to complete most of the grok tutorials to be able to write the program the best and most efficient way possible as opposed to writing it with the basic understanding I currently have. Then either leaving it like that and getting fewer marks due to it being inefficient or having to change the program every time I learned something new that would have been a better more efficient way to write the program, which in turn, would lead to more time consumed and an overall more inefficient production method.
This past week I've been working on fixing issues with the program to make it run as smoothly as possible. I didn't think I would get the stats for nerds page done and was going to scrap it so I could focus on getting the documentation done and fixing the minor issues so it would be more polished but I decided to do the stats for nerds page anyway and spent the past day and a half working on it. The notable issues from its development were mainly around gathering the data, in which I found some other errors in how I was collecting data such as not updating the data files when quitting the program. But i managed to finish the page as well as the rest of the program. My final solution was reasonably successful in comparison to my proposal and design, the only main things that I wasn't able to achieve was customisation of genome numbers and generation size and stuff like that, but that would have required a lot of digging through files in the libraries I was using to edit th...
Good work on your blog so far.
ReplyDelete