Thursday, November 8, 2007

Week 3 (5 Nov - 9 Nov)

Monday, 5 November 2007
The day started with us sharing talking about our (JL and mine) integrated code for the application which is the basis of what we will be working on in the future.

It seemed pretty strange to talk to people more experienced and senior than me as colleagues - but I guess that will be pretty often soon huh? Anyway, the code was so hacked that it took quite a while to re-understanding the logic behind it and I explained several things wrongly in the first place. When I realized that the code workings were wrong, I had to rewrite what I had explained. Oh well. After reviewing the product of our work, Kevin and CT deduced some areas of improvement and assigned the inverting and resizing of the image to me and JL.

Next, to facilitate future developers and the rest of our team, we had to draw up a document to talk about the workings of the code (call it a documentation if you want, but its a pretty informal document). And this is the first time I used OpenOffice 2.2 for official purposes. :)

While JL did the initial documentation, I reviewed the code logic, changed variable names and put in more meaningful comments within the code so that people were able to understand it with ease. Well, looks like those points in the assignment specs are integrated in my mind.

Kevin and CT were still setting up the SVN thingy, so we proceeded with our tasks. After rewriting the code, I volunteered to help with the second part of the documentation while JL worked on the code. When I had finished the documentation, he had already finished both tasks for improving the system. Team work, yea!

Soon, CT and Kevin had successfully set up the SVN. The SVN rides on the system's user authentication system and is now using the Mac's SSH as the primary means for authentication. Kevin and CT walked us through on how to use the SVN's basic functions such as checking out, updating, committing, etc.

We ended the day with the two new improvements complete and documentation finished, uploaded to the SVN.




Tuesday, 6 November 2007
Since we had finished the two areas of improvement, we worked on the next one, which is trailing. As the light is drawn, after X amount of time, the images are supposed to fade away, leaving the canvas empty.

Kevin also invited his friend/ex-IHPC employee to talk to us more about Carbon and Cocoa, and how the use of Quartz Composer is able to help improve our coding quality and time. I learnt quite a lot in that short talk about the back end libraries of Mac OS X and the porting over from Carbon to Cocoa. Personally, I feel that Quartz Composer is akin to Expression Blend, but for the Mac - comment me if I'm wrong.

After which, at around 4pm, Dr Eng dropped by to visit us. Really great to see a familiar TP face around. We showed him the project progress as well as the 2x3 tile display.




Wednesday, 7 November 2007
Still working on Tuesday's task.. Very tricky..




Thursday, 8 November 2007
There is no work today as its a public holiday. A day of rest and to catch up on my other things.

"Give the man a break and his productivity will be doubled. Work him through and he will have none"



Friday, 9 November 2007

I arrived at work to find the MakeFile for the project updated - as usual, I had forgotten to SVN Update my project folder. I've gotta remember that next time! Anyway, CT managed to create a dynamic Makefile, which had the capabilities to make various source codes and put their binary output files into the /bin folder automatically. This is great cause now we can have various versions of the code with different names and still use the same MakeFile to compile it.

The last day of the week. Again it is very interesting, with two major improvements done, basically the trailing Effect by JL (its really cool) and first calibration by me (well, not so cool). The first calibration seems to be malfunctioning. The I double checked the code, it seemed to work well, but when on the Mac and the iSight, it didn't really make a difference.

The question was - how do you determine the difference between a white shirt and a white (ceiling/torch) light? If both of them will result in RGB/Lab values of 255, what is the differing nature?

JL said to ask the camera to touch the white object. Interesting thought. Looks like there can be more research about it coming up. Time to combine code on Monday... not?

*lost in thought*



Reflection for the Week:
Week 3 passed equally fast as well. Pretty soon, I'll end up having worked at IHPC for a month now. Lightdraw project seems to be going well, and the various people we meet and the additional things we do outside of the Lightdraw project is fun and entertaining - such as going to talks, exploring NUS, new eating places, etc.

I have also more or less adopted better time management to juggle between work and my other commitments, as well as learnt how to use my time spent on traveling more effectively such as sleeping or reading some things.

Fedora 8 has been released. JL has burnt a disc and is installing on his laptop. I am tempted to do so, but my current laptop has insufficient memory at the moment, with all the stuff that I do. Its hard to focus and specialize in more than one area of technology - confusing/conflicting markers is not the main problem. Its more like the time spent developing in each area is not equal. Perhaps the first step is to set up VNC at home and be able to VNC to the computer in office. (haha)

Last thing I have learnt - The walls have ears, and even if there are no walls, the ears still exist.

No comments: