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 Goes By, So Fast

It's been a week since the last blog entry, time goes by so fast. This week's highlights: 1. Rethought about career development. http://www.douban.com/note/276145923/ 2. Treated my friends a traditional Shaoxing meal. 3. Started to learn Ruby on Rails. http://guides.rubyonrails.org/getting_started.html 4. Started to read the book "Simple and Usable Web, Mobile, and Interaction Design" by Giles Colborne. 5. Recorded some vocals. http://site.douban.com/shaohuan 6. Watched this Ted speech:  http://www.ted.com/talks/angela_lee_duckworth_the_key_to_success_grit.html 7. Followed Ahbei(founder of Douban) on Zhihu(Chinese version of Quora). 8. " 我认为世界上不存在一流的人才,世界上只有存在一流的人才一定是学习能力,谦虚,把自己当平凡的人" --马云(Jack Ma)

InnovFest 2015

I attended the innovFest 2015 event. It was quite eye opening. Besides the booth, some topics in the forums also interested me. The first topic I joined was the Kopi Chat with Yossi Vardi, a famous Israeli entrepreneur and investor. He is straightforward and humorous. When talking about the most important reason why people wake up with a great idea but ended up sleeping without executing anything, he collected answers from the audiences. One answer pretty much fitted his appetite-- "People fear about losing faces". He shared his opinion with the quotes from Theodore Roosevelt, “It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; but who does actually st...

Pause and Retrospect

I recently enjoyed a swift lunch with an old friend, who was once my roommate during our school years. We had an in-depth conversation about life and career. To my mind, his thought process is far more mature than mine, and his decisions seem more future-oriented. Although our conversation was private, I believe certain insights should be shared with a broader audience. 1. The Role of Luck in Life.  His life experiences have significantly highlighted the impact of luck. While I'm not ready to accept this fully, similar sentiments have been echoed by other successful and wise individuals I've interacted with. I also recently watched an informative video that lucidly explains the 80/20 rule and the principle of luck. The video demonstrates through "agent-based modelling" how the wealthiest person isn't necessarily the most talented but is usually someone of average talent who encounters multiple lucky events in life.  I agreed that luck indeed plays a vital role and...