Had my first issue with Ubuntu today, I guess moreso with the VirtualBox which crashed for the first time. Luckily managed to recover everything. Still having issues getting it to have the correct resolution within VirtualBox though, I don’t remember how I got it into widescreen form last time.
Python proved to be more difficult than last weeks assignment. Getting the parser to work along with the fileinput was more challenging than it originally seemed. At first I had a hard time figuring out how to handle each optional argument in the parser. Eventually figured out you can literally say if argument… and handle it. A lot more intuitive than I thought it would be. After getting that, it still wasn’t working because the optional arguments had dashes within them like –ignore-blanks. Turns out Python converts these dashes to understrikes so the statement became if “ignore_blanks”. Then the fileinput tried to take these optional arguments as files which caused more issues. Finally got all of that working and then learned about the shebang too.
ECE3574 continues to have an overwhelming amount of work. Project 2 is some exercises out of the book that are extremely annoying. The exercises require you to implement the functions listed in the book, and you have to figure out what the book wants you to do with each function and what they want you to do with the parameters passed to each function. One of the exercises you have to use some of the source code given and it’s extremely hard implementing classes and functions that you didn’t design. It would be a lot easier just to write everything on my own rather than trying to figure out how their stuff works and then incorporating it. Gunna have to go see the TA just to understand what the book expects you to do in certain parts. Sure hope there won’t be any more assigments out of the book.