For the third sprint of the course, I was in charge of merging an environment path fix and updating the version in the docker-compose on the server, demonstrating the working system to OSILD (the department that runs the food pantry), and getting the docker-compose file to run when the server is started up.
These are the links to the tickets related to this sprint:
The task of getting the docker-compose file to run when the server was started required some research on what were the best methods to get this done. During one of the course meetings, we had attempted to create a file in the server that had terminal instructions that would get this done but this was unsuccessful. The simple solution ended up being to add “restart: unless-stopped” for each container in the docker-compose file.
The apprenticeship pattern I chose for this sprint was Record What You Learn. This pattern discusses the frustration of learning something that doesn’t seem to stick, then dealing with the frustration from the deja vu of doing that task and relearning again and again. I chose this apprenticeship pattern because I tend to fall into it relatively often and I have started to develop the habit of writing down new skills to remember them better. Due to the fact that I am in the process of developing this habit, it is further difficult to fall into this pattern of relearning because it is followed with the thought that I really should have written the process down.
This pattern is suitable for this sprint because of how the meeting with OSILD (the department who runs the food pantry) went. I had worked on this issue and it was working right before I went to present and right as I sat in the room with the two women who I was trying to demonstrate the server to, the server would not start up. I was able to joke it off and explain what was supposed to happen but there was something frustrating and on the spot about not being able to start it up that made me wish that I had written down, step by step, how to start up the server and how to troubleshoot it. Once I left the meeting, I sat with the server open and troubleshooted what was going on, using f12 to open the web page and look at the error messages and do some research as to what could have caused the problem. I thought it was because the backend had a new version and wasn’t updated so I updated the container in the docker-compose and it seemed to work. Later we found out that the reason the server wasn’t responsive is because there was a delay and a portion of the code was preventing it from loading if it took too long. I wrote all of this down in my notebook, like the pattern recommended and since then I have referred back to it many times.
If I had read this pattern prior to the this sprint, I would have taken more diligent notes and made sure to better track my steps so I would be able to reproduce them under more stressful conditions.
From the blog CS@Worcester – The Struggle of Being a Female Student in CS by Noam Horn and used with permission of the author. All other rights reserved by the author.
