Monday, 17 February 2014

Trees eh.

Ahhh another week, another ADT. Trees was once again something I learned in high school and this week lectures was another review lesson for moi. I mean review isn't too bad because I totally forgot some terms and ways of traversal for trees. Even in high school when I did remember the types of traversals I always got them mixed up, I guess I just have to brute force myself to remember which is which.

Lab this week was pretty striaght forward and I think it was the first time that we actually didn't run into any problems at all. I would say the hardest part was probably just trying to remember matrices and dot products, but once we remembered it was a pretty simple procedure. What I found pretty useful from the lab was practicing the use of test cases and such. Now that I am more familiar with test case classes, I'm not entirely sure what the advantages of it are.

Sunday, 9 February 2014

Mildly Annoying Thursday, but Overall a Fairly Nice Day

As the title states Thursday was mildly annoying. Basically the whole lab kinda went awry. The first section of the lab went fairly well as we breezed through the written on paper parts of the lab. However when we got to the first actual writing code part of the lab my partner and I ran into some problems. At first we assumed the code we were writing just wasn't correct, however with further evaluation from us and our TA we found that the code was 'correct' however Python was not evaluting it properly. We ended up staying the entire lab time.

While it was rather annoying to find that even though the code should work and it didn't, I calmed myself down with the special poutine Caplansky's was putting out for Toronto Poutine Week, which was nice.

Sunday, 2 February 2014

My Life with Recursion and Laziness

More recursion this week. I'm not exactly thrilled to say the bloody least, however that's not to say that I don't think it's not important. While I started recursion in high school I am unbelievably rusty at it. The turtle example in lecture certainly helped me review what I knew about recursion and force me to take the recursion mindset. I guess I should look back on my high school recursion notes.

Tutorial gave us trouble again. Once again my partner and I let a simple mistake in syntax slip us up and made us waste a ton of time trying to find what the hell was wrong. I guess other than that nothing else really bothered us. The assignment on the other hand has given me problems, as in I can't be really bothered to work on it more and it's sticking in the back of my mind. I am really that lazy. I should really start on that.

I should really really really really get on that... Yeah...