What did you do this past week?
I modified my Collatz eval method to work with the given metatable (always autocorrects to metastable, which is *looks it up* a stable state that is not necessarily a state of least energy, like a bowling pin that hasn’t been knocked down yet, or a ball resting at a local minimum that is not the global minimum. Reminds me of machine learning.). I also changed the code to allow for i>j so I could pass the HackerRank tests. Made a program to make some acceptance tests, then made some unit tests that act fairly similar to acceptance tests. Then I did all of the miscellaneous things we had to do, like doxygen, astyle, log, cppcheck, and updating the README!
What’s in your way?
I need to turn in the project on Canvas. I can’t turn in the project on Canvas. It won’t let me until… seven and a half hours from now. I don’t know why. I thought we just submit the URL for our project, which shouldn’t change that much. You can just submit the URL a week in advance and change the project as you go, that way you don’t forget to turn it in. But they locked the assignment until the day before its due, which seems a bit out of the way, so I guess there might be a good reason for doing that.
What will you do next week?
Turn in this project. Then start on the next project, whatever that will be.
What was your experience in learning about Google Test, gcov, exceptions, pointers, and references?
I wouldn’t really call it “learning” Google Test. Really I just copied and modified the tests that were given. gcov just seems to give stats that make no sense (How do you execute 95% of all lines and 100% of all branches, and yet only execute 77% of all calls). I already learned how exceptions work from Software Engineering. I also already knew most of what we learned about pointers and references, except that you can declare references to set up an alias, which I can’t see a use case other than for parameter passing, but I guess uses might exist.
What’s your pick-of-the-week or tip-of-the-week?
There is this YouTube channel called javidx9 (also known as One Lone Coder) that makes a lot of do-it-yourself coding tutorials. Right now I recommend his series on creating your own 3d graphics engine.
