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

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

Consistency Matters

I didn't post anything last week, which means consistency has been broken. There's a need to reflect the task management skills, otherwise I'm very likely to driving the wrong road Priority changes. A good exercise would be to list the priorities down everyday and assign reasonable time to the tasks. Then never second-doubt. 100% focusing on the task when doing it. Priority changes from time to time.  Human minds are single-threaded, thus, we'll need to keep focused when doing one particular task. Be Grateful. I received the confirmation from NOC Israel that I got admitted by the programme and I'm heading to Israel next Jan:-) Thanks a lot for Prof.Ben and Karl's help. Ultimately, it might be a plan from God. Thanks every one. The additional interview from Google went well, however, I didn't get the winter intern opportunity this time. Though it's a bit too greedy to ask for too much, I still feel a bit sad after informed that I didn't get th

Super Fruitful Weeks

These two weeks are extremely fruitful. Almost all my expectations for coming to Beijing have been met in such a short time-- to form long term relationship with entrepreneurs here, to work with talented designers, to improve my coding skills, to experience the tech entrepreneur life, etc. I'm loving the city. Though not as clean and nice as Singapore, this is a place for young dreamers to pursue their careers. As a famous song writer wrote about Beijing, " 我在这里欢笑(I'm laughing here) 我在这里哭泣(crying here) 我在这里活着(living here) 也在这里死去(dying here) 我在这里祈祷 (praying here) 我在这里迷惘(confusing here) 我在这里寻找(seeking here)  在这里失去(losing here) ". The extreme inequality creates a lot of diversities and opportunities here in Beijing. The youth have a strong desire to be successful and they form active entrepreneurial communities in cafes, meetup groups, incubators,etc(mostly in and around Zhong Guan Cun). Here is a photo taken in Cheku Cafe which is a tech hub for young entrepreneurs