Skip to main content

Weekly Memo

The biggest thing for this week is CS3217 Assignment 1!

I fixed one last bug right around the deadline, which is fortunate.I feel like dying in the first assignment, but it only worths 5%! More tasks are expected to come later. It's not possible to be lucky all the time, thus I'll have to start the assignments earlier next time.

During this week, I did learnt quite a lot of software engineering stuffs.

1. Algorithms
1) 2D rectangle rotation collision using the Separating Axis Theorem
http://www.gamedev.net/page/resources/_/technical/game-programming/2d-rotated-rectangle-collision-r2604
2)Basic matrix rotation
[x,y][cos  -sin]
        sin   cos
3) Determine if two rectangles overlap
http://stackoverflow.com/questions/306316/determine-if-two-rectangles-overlap-each-other

2.Objective C
It's not so hard to understand as a programming language. However, I still got some problems understanding some basic terms like"Protocol(which is like interface in Java)","Delegate Class" etc. Will need more time/ask more to get to know all these.

3.How to Code
1)Do the research on how things can be implemented using a good algorithm before coding.
2)Test cases are important to validate the codes.
3)Good coding styles/clean code is important.
4)Spend more time&effort!
5)Ask peers when something is unclear to me before the last day.
Above all, the 4th principle is the most important. I didn't do well this week. Hopefully will do better and better.


That's it. Anything else seems to be non-important this week...



Comments

Popular posts from this blog

Time to Write sth about the NOC Israel

After more than a month's waiting, I received an email today from the Financial Aid office saying that I am not permitted to go for the NOC Israel programme. 

Dear ShaohuanI refer to your appeal to participate in NUS Overseas College (NOC) Israel.As spoken on 6 November 2012, we understand that you are very eager to attend the NOC and we had submitted your appeal, together with the appeal from NOC to the sponsor.  However, we regret to inform you that your appeal to participate in NOC Israel is not successful.   The sponsor has advised that you look for an internship locally instead, if needed.We wish you all the best. 

Actually, I was informed by the NOC coordinator that she has been informed by her colleagues that the sponsor officially rejected my appeal(together with Prof.Ben's and NOC's appeals) on 21st Nov. She tried to confirm with her colleagues whether the decision is final or not, hoping to help me for the last try. However, I guess the result won't be positive…

Learning Public Speaking

In the past few weeks, I've been exploring the methodologies of public speaking that work for me. It takes a lot of trials and errors until I finally see some progresses. It would be good to share my thoughts and experiences so that people see my posts can have a more confident and effective start for public speaking.

Firstly of all, you need to overcome the fears to public speaking.  The common excuse I take is that I'm an introvert person. You have to be an extrovert person to master public speaking. However, that's not true. Public speaking is a skill, it can be trained and mastered. It may take some natural talents to be a super-influential speaker. But for a normal person to hit a point to deliver your messages clearly and powerfully, it's doable.

One of the inspiring talks I heard from an introvert speaker is Susan Cain's "The Power of Introverts". Susan says that introverts sometimes can deliver deeper thoughts than the extroverts.


Surprisingly, ev…

About Interview

I went for three interviews these two days. Tuesday morning with Microsoft, midnight with Google for the first round, and Wednesday midnight with Google for the second round. Though the intention for applying those internships is not to get the offers but simply to gain some experience for technical interviews, I still prepare hard for the interviews, hoping to learn as much as possible.

The first round Microsoft interview was conducted in NUS where one HR and one technician flew over to Singapore to give the interview. I had 30 mins with both the HR and the technician. The questions with the HR is the standard interview questions like project experiences+ some brain teasers. The questions are not really that challenging. In case you are interested, I attached the questions in appendix1.

For the technical interview, the technician monitored you to write codes on the spot. The technician this year is a tester from Austin-Taxes working 10 years in MS. I did three questions during this i…