Welcome

This is a blog sharing what i have learn and experience from my internship in A*Star IHPC
- Zac Kwan

Monday, October 25, 2010

Day 16 - Week 4 Monday

Time flies! Unknowingly, this is my week 4 intern in IHPC. Enjoying everyday here learning new languages. Started the day with watching the lecture video on Multitouch. Seems to understand the demo, but when try to do a example out it start to get complicated.

Soon after, Kevin came and take a look at our previous assignment the Flickr Api. He saw something that is not a good programming style and told us to change it. In the Flickr Api, we retrieve photo from a specific user and it will usually take about more than 7sec. For the 7sec the application will stuck there unresonpive but it is still loading. However if this was to release out in the market user will not know if it hang or it still loading. He want it to be threaded which is the right way of doing stuff.

The thing that i anticipate that it is going to bite back me one day came. When in school, threading was alway briefing teach, and i the lazy 1 didn't make the effort to go and find out more on my own. Although i did some threading before in previous project, but i do not really understand the concept about threading. Kevin then give us a short lesson on threading using more computer science term like blocking method, main program, threading. Within a short while he clear the doubt that i has even since threading was being taught.

After that, modification to the previous assignment Flickr API app was done and threading was implement. In coding wise it is not difficult at all is just where to apply it. But after i understand the concept of this blocking and non blocking style it get a whole lot easier on where to apply it to.

The remaining of the day was left to do the multi touch application. The more difficult 1, still trying to figure how to implement it, although Kevin say that if we can't figure out after a few hour will just move on to do the more simple app.


No comments:

Post a Comment