Blogs: Week of 11 Oct — 17 Oct

What did you do this past week?

I had two Mid-term exams this week. They are much harder than I thought. I probably not getting the grades that I was expecting. However, the best thing is that I know how to study for the next test. I had a four-day due project and it is difficult. The professor did not talk about this project at all. We have to discover by ourselves which is really annoying.

What’s in your way?

I am struggling in choosing between working or pursuing a master degree. I tend to work but my parents want me to continuing studying and I do have a major that I want to learn. It is really hard for me to choose. This might takes several weeks to think about because I don’t want waste time whether I choose to work or study.

What will you do next week?

Next week I would definitely do the project for this course. I think we waste some of the time this week since we just scraping the data and put it in the database. We will finish coding next week. We don’t have a leader for this phase yet, so I guess that’s the reason we move slowly

If you read it, what did you think of the Paper #8: liskov substitution principle?

The LSP states that in an object-oriented program, if we substitute a superclass object reference with an object of any of its subclasses, the program should not break. This is what we want in the industry. We don’t want to change codes again and again when we just want to do a small change to our structure.

What was your experience of comprehensions, generators, and yield? (this question will vary, week to week)

I have seen map before, but at that time I just thought the map in Python is the same as in Java. However, after Downing taught us, I realized that they are totally different. Dict in Python is the same as Map in Java. In my opinion, map is hard for me to use. I wouldn’t use it unless I have to. I have no experience in yield. I did learn some generators by using C++.

What made you happy this week?

I had some fun with my friends this weekend. Although we all have project or homework due, we still squeezed some time to go shopping. We went to Domain and bought some new clothes.

What’s your pick-of-the-week or tip-of-the-week?

I found this little tool that allows us to extract something from HTML codes. It is just like using jq to extract something from Json. I will post the repo about this if anyone interests:

https://github.com/mgdm/htmlq