- What did you do this past week?
Not nearly as much work as I should have.
2. What’s in your way?
Although I am passing hackerrank test 0, there are some clear bugs in my code because I do not pass user generated acceptance tests. However, because the output is so huge and difficult to read exactly and many simulations have large gaps between outputs, debugging is going to be extremely tedious and largely unsuccessful for many hours.
3. What will you do next week?
I hope to finish Darwin and start writing my test cases for it, but the deadline is very soon so I may not end up finishing it all on time. At the very least I hope to get full points for the Hackerrank contest, but again the bugs in my code have yet to be uncovered, I just know they’re there. Additionally I will continue meeting with my partner for Computer Graphics to try to finish our mad dash to complete that project, including going to every remaining office hours I can. The help we have received has been slightly useful in narrowing down our problems but we have hit several roadblocks that as of yet seem insurmountable.
4. If you read it, what did you think of the Why getter and setter methods are evil?
I did not read the paper this week due to focusing on other deadlines, like Darwin and a project for my graphics class. However, we talked about it in class and I understand why exposing private class data to anybody who asks for it is in general a less object oriented and worse design choice to having discrete units that only rely on each other when they have to (maximally decoupled object relationships).
5. What was your experience of vector, move constructor, move assignment, and allocator? (this question will vary, week to week)
I thought all of the topics this week were relatively straight forward even though I missed one of the quiz questions due to a stupid mistake. I am however having a lot of trouble with Darwin because the testing process is kind of tedious (large grids, large gaps in simulations, etc.)
6. What made you happy this week?
I was happy when I successfully transplanted my graphics card and SSD back into my old desktop machine from the new one I built last year that broke because of a CPU defection. However, that computer crashed after about 3 days so now I’m stuck back with my awful laptop because no joy is permanent and everything is terrible.
7. What’s your pick-of-the-week or tip-of-the-week?
My tip of the week is to create a new header file when you need to resolve a circular dependency because of data shared across multiple files. I spent hours and hours trying to convert my broken hacker-rank code into the multiple file layout I needed, largely for no reason. One of the first fixes I tried was the correct way, but I hadn’t completely solved the problem with the include dependencies and I had another issue with my makefile that were in tandem causing multiple definition and undefined reference errors.